0
Commit Graph

179 Commits

Author SHA1 Message Date
Robert Ma
cca3b25baf [docs] Do not start run_web_tests.py with xvfb.py
Clarify that there is no need to use `testing/xvfb.py` to start
`run_web_tests.py` on Linux.

Change-Id: Ic589e5b74cfb208995c3bbbf3b5dc6810df38bfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2555262
Commit-Queue: Robert Ma <robertma@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#830287}
2020-11-23 20:11:36 +00:00
Preethi Mohan
6ad00eec25 Trigger CQ try bots in rebaseline-cl in addition to the blink try bots.
See crbug.com/1149035 as well.

Bug: 739522

Change-Id: Iaba40802428c26075162298cbcd013fca3adfc7e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2486482
Commit-Queue: Preethi Mohan <preethim@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828052}
2020-11-17 03:09:42 +00:00
Ben Pastene
0fed3a7542 docs: Update chromeos_debugging_tips.
The doc includes a number of isolate links, but items in isolate expire
after 90 days. So this updates these to a set of new isolate links.
Hopefully by the time these new links expire, we'll be on RDB which will
have a slightly different debugging flow.

This also adds some tips on running the tests locally.

Bug: None
Change-Id: Ib6244f787d2a914b7c3a79aaba2a33b688d346c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2522409
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824965}
2020-11-06 19:25:15 +00:00
Stephen McGruer
5f4af313d3 [docs] Add links to documentation on addressing flake
Bug: 1124430
Change-Id: I69b3f9de37b1331feb8e4bf0462c22e9b2b2a2d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521204
Reviewed-by: Nick Burris <nburris@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824565}
2020-11-05 21:05:52 +00:00
Nick Burris
02eae456ca Add flaky Gtest tips
Add documentation with tips for debugging and reproducing flaky Gtests.

Bug: 1127370
Change-Id: I6b47b31cd109fe1e7bafc3b828221012a9ec95ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508298
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Nick Burris <nburris@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824553}
2020-11-05 20:39:03 +00:00
Stephen McGruer
b71d507f62 Add some documentation on reproducing/debugging flaky web_tests/
This also adds a small section for WPT specifically.

Bug: 1127369, 1127368
Change-Id: Ie74413558fe47bd02f1ae29665327c68bf82ef43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508433
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Nick Burris <nburris@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824542}
2020-11-05 20:18:59 +00:00
Stephen McGruer
5383e3c07e [wptrunner] Update docs to remove obsolete flag
Bug: None
Change-Id: Icc075456c6762fb8ae841ffccb743b3b8e9ddc5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519480
Reviewed-by: Luke Z <lpz@chromium.org>
Commit-Queue: Luke Z <lpz@chromium.org>
Auto-Submit: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#824394}
2020-11-05 13:16:38 +00:00
David Van Cleve
44e5cb5879 Android: Document unit test runner incompatibility with recent versions
Android unit tests don't work on Android R+, but this isn't mentioned
in the docs, and the error message is pretty arcane and hard to
understand. This change updates the docs to mention this problem.

Bug: 1094062
Change-Id: I77b196febde1009eb13b195be937243e96ace1a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495968
Commit-Queue: David Van Cleve <davidvc@chromium.org>
Auto-Submit: David Van Cleve <davidvc@chromium.org>
Reviewed-by: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820493}
2020-10-23 23:57:04 +00:00
Edward Lesmes
afa2f4f7a9 Add DIR_METADATA files to //docs
Add Generate DIR_METADATA files and remove metadata from OWNERS
files for //docs.

Bug: 1113033
Change-Id: Ibd798892dcc522ce2363f85e53860259194eaa7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2454498
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Auto-Submit: Edward Lesmes <ehmaldonado@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815366}
2020-10-08 22:56:59 +00:00
Stephen McGruer
f889c8916a [Documentation] Initial documentation on flaky Web Tests
This lays out a skeleton for the document, plus fills in some details of
how to go from a build results page to the test that flaked.

Bug: 1127369
Change-Id: Icea0ef102d694a61cf8f390c563ce108afee0553
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405418
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#815262}
2020-10-08 19:05:30 +00:00
Dirk Pranke
8b9103aaca Rework disabled tests doc.
In retrospect, my prior attempt at documenting ways of
disabling tests was too ambiguous. This rewrite collapses
a couple of cases and provides clearer examples of the
various mechanisms. Hopefully this will be more useful.

Change-Id: I024ef5398c9a1fe9024e923a367a1b2ad1e23daa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443632
Reviewed-by: Chan Li <chanli@chromium.org>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#814771}
2020-10-07 18:06:29 +00:00
Stephen McGruer
16f7943a4b [wptrunner] Add documentation on using wptrunner in Chromium
This adds some basic documentation laying out what the project is, how
to use it, and the MVP bots. It is intended as a user guide rather than
technical details.

Bug: None
Change-Id: I7d90f542d2aeb33eecfd836693f2741ad91588c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2451505
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814646}
2020-10-07 13:11:05 +00:00
Dirk Pranke
78557c5ac6 Document thoughts on ways to disable tests.
In an email to a Google-internal group a while ago I talked
about the various mechanisms we potentially have for disabling
tests and their advantages and disadvantages. This seems like
something worth preserving, so I'm moving it into a doc checked
into the repo.

Change-Id: If8288eac8704354c92ffe12b9e79c930e0738c72
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419612
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811004}
2020-09-26 19:04:09 +00:00
Dirk Pranke
532b3f340b Clarify location of test_artifacts in json_test_results_format.
The existing documentation for where to put any artifacts produced by a
test wasn't completely clear, so this adds some additional text to
hopefully make it so. Namely, paths should be specified relative to the
location of the results file, which normally is in $ISOLATED_OUTDIR,
meaning that the paths will also be relative to $ISOLATED_OUTDIR).


Change-Id: I7f03b9f31e7141051a4c783c383547e9dd27d286
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426975
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810021}
2020-09-23 23:58:10 +00:00
Johann
f5b3202908 docs: specify run_blink_httpd.py directory
Most of the files served by run_blink_httpd.py are from the git
checkout. A few are not, so make sure developers know they can
specify the checkout directory with -t.

Change-Id: If66ebce1db41e05e46e792e310838ee0ed2741ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2405715
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#806172}
2020-09-11 14:20:22 +00:00
Michael Thiessen
cfe4665c59 Add markdown documentation for test batching.
Bug: 989569
Change-Id: I49c5124ccbbb4b921a65e7b42b7c46d05bfb87d9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363867
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799716}
2020-08-19 18:03:17 +00:00
Dirk Pranke
8744a6783d Add --isolated-outdir flag to test executable API.
This adds an optional --isolated=outdir=PATH flag to the
test executable API; this gives the test runners a stable path
to the output directory from a swarming task, so that we can key
other files off of it without needing to pass them all explicitly
via the command line.

This also adds the arg to the isolated_script wrapper, so that we
those types of tests can handle the flag (by ignoring it for now).

We may need to work through the other cases (like gtest tests)
individually, which will be done in subsequent CLs.

Bug: 816629
Change-Id: Ibff6a47544bf94af5d7693a8446dfb669351cc07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358604
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799378}
2020-08-18 23:11:59 +00:00
Robert Ma
4f6eff17e9 [docs] Document how to use MojoJS in WPT
Also re-organize the structure of the doc to make it a bit more logical.

Bug: 1094512
Change-Id: I230de88902da3d4162af5f10332f7262a8465fcd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363303
Commit-Queue: Robert Ma <robertma@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799367}
2020-08-18 22:44:45 +00:00
Xianzhu Wang
59283af802 Display [ Slow ] expectation in layout tests results.html
This is useful for developers to understand why some tests take
longer time to finish or timeout.

Change-Id: I6e9e83d2c9645bac338c074fa5f1f856d66552a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334473
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#796664}
2020-08-11 02:32:51 +00:00
Wolfgang Beyer
af543d736e Fix broken links in documentation for writing web tests
Change-Id: I185fd95debae1b80e578fbf061f076cd490938b2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316866
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792165}
2020-07-28 06:30:46 +00:00
Marc Treib
07cf47aafd Remove various references to third_party/cacheinvalidation
The directory was recently deleted (crrev.com/c/2274884).

Bug: 1099672
Change-Id: I5e724a2251654899c8fd861f8796de07d17359b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297640
Reviewed-by: Mikel Astiz <mastiz@chromium.org>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790056}
2020-07-20 19:57:21 +00:00
Xianzhu Wang
adb0670a2f Update docs for runtime enabled features and web tests
Change-Id: I7230bd37e7f9c1c136e1c23b6acdc340eb089121
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303452
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#789247}
2020-07-16 23:04:58 +00:00
Dirk Pranke
31e346e656 Reland "Add a first pass of the desktop test wrapper scripts."
This reverts commit b679821 (change ) and
re-lands commit 956c4dc (change ) (without the addition
of //docs/testing/test_executable_api.md, which
landed separately already). Other changes landed that made
the re-land possible.

Original change's description:
> Add a first pass of the desktop test wrapper scripts.
>
> As described in the linked bug and documented in
> https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
> we want to change how tests are launched under swarming so that
> they all have a consistent API and usage.
>
> We need to do at least some of this work now in order to unblock
> work going on in Swarming to change how a task's command line and
> list of files are specified, but doing all of the work in the linked
> doc and bug will significantly restructure how we configure and launch
> tests, and should bring a lot more consistency to our continuous
> integration infrastructure.
>
> This CL is a first step: a proof of concept that converts
> url_unittests on desktop to the new API in a backwards-compatible
> way (i.e., this will work with the existing chromium recipes).

TBR=tikuta@chromium.org, liaoyuke@chromium.org

Bug: 816629
Change-Id: Ia4d20501783f844fdbc1728ee986724c5301d638
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2280322
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#788424}
2020-07-15 00:54:06 +00:00
Stephen McGruer
a12b34f8c2 Update WPT documentation and add note on wpt_internal
Bug: 852053
Change-Id: I9b3d78fe60361fe1156eb02b396c401584ff15ba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2289399
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Luke Z <lpz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787228}
2020-07-10 16:00:42 +00:00
Stephen McGruer
fe2a9984b8 [WPT Importer] Add documentation for WPT-NOTIFY
Bug: 844671
Change-Id: I27fff20ed7d748a52d1abdf4148df9c448ac7348
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2280224
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785022}
2020-07-03 10:45:21 +00:00
Dirk Pranke
e034e1ef53 Move the Chromium Test Executable API spec into markdown.
This CL moves the bit.ly/chromium-test-runner-api spec from
https://docs.google.com/document/d/1i9kC7xrq0Slfcx8nTjoKT1TQ4_sm3Vx2XpeIVFIidHA/edit
(a Google Docs document) into a (Markdown) file checked into
the repo at //docs/testing/test_executable_api.md.

Change-Id: I1a231afa18bace25e40445673f5b2b997d4427cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278179
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Erik Staab <estaab@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784948}
2020-07-03 00:48:08 +00:00
Guido Urdaneta
b67982158b Revert "Add a first pass of the desktop test wrapper scripts."
This reverts commit 956c4dcc74.

Reason for revert: Suspect of causing consistent failure on Deterministic Linux bot

First failed run:
https://ci.chromium.org/p/chromium/builders/ci/Deterministic%20Linux%20%28dbg%29/17574

Original change's description:
> Add a first pass of the desktop test wrapper scripts.
> 
> As described in the linked bug and documented in
> https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
> we want to change how tests are launched under swarming so that
> they all have a consistent API and usage.
> 
> We need to do at least some of this work now in order to unblock
> work going on in Swarming to change how a task's command line and
> list of files are specified, but doing all of the work in the linked
> doc and bug will significantly restructure how we configure and launch
> tests, and should bring a lot more consistency to our continuous
> integration infrastructure.
> 
> This CL is a first step: a proof of concept that converts
> url_unittests on desktop to the new API in a backwards-compatible
> way (i.e., this will work with the existing chromium recipes).
> 
> R=​tikuta@chromium.org, martiniss@chromium.org, bpastene@chromium.org, estaab@chromium.org, kbr@chromium.org
> 
> Bug: 816629
> Change-Id: I4aaaed9853e451536f21a752d896cf7bef5fff18
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249173
> Commit-Queue: Dirk Pranke <dpranke@google.com>
> Reviewed-by: Nodir Turakulov <nodir@chromium.org>
> Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
> Reviewed-by: Stephen Martinis <martiniss@chromium.org>
> Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
> Reviewed-by: Erik Staab <estaab@chromium.org>
> Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#784653}

TBR=thakis@chromium.org,ynovikov@chromium.org,dpranke@google.com,kbr@chromium.org,nodir@chromium.org,estaab@chromium.org,martiniss@chromium.org,tikuta@chromium.org,bsheedy@chromium.org,bpastene@chromium.org

Change-Id: Ic2277fd08f14119b500917f532f37a2fa46fa3b5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 816629
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275456
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784739}
2020-07-02 08:44:30 +00:00
Dirk Pranke
956c4dcc74 Add a first pass of the desktop test wrapper scripts.
As described in the linked bug and documented in
https://docs.google.com/document/d/19qpDeR2z-8j-WQJC-5waSd134kz94UXgYU_e_N-VplU/edit?usp=sharing
we want to change how tests are launched under swarming so that
they all have a consistent API and usage.

We need to do at least some of this work now in order to unblock
work going on in Swarming to change how a task's command line and
list of files are specified, but doing all of the work in the linked
doc and bug will significantly restructure how we configure and launch
tests, and should bring a lot more consistency to our continuous
integration infrastructure.

This CL is a first step: a proof of concept that converts
url_unittests on desktop to the new API in a backwards-compatible
way (i.e., this will work with the existing chromium recipes).

R=tikuta@chromium.org, martiniss@chromium.org, bpastene@chromium.org, estaab@chromium.org, kbr@chromium.org

Bug: 816629
Change-Id: I4aaaed9853e451536f21a752d896cf7bef5fff18
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249173
Commit-Queue: Dirk Pranke <dpranke@google.com>
Reviewed-by: Nodir Turakulov <nodir@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Erik Staab <estaab@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784653}
2020-07-02 00:54:27 +00:00
Andrew Walbran
ca9cad9467 [docs] Fix path to run JUnit tests.
Change-Id: I1d42c3746af3cc76448f3d8b89a39f76dae527ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247881
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Walbran <qwandor@google.com>
Cr-Commit-Position: refs/heads/master@{#780626}
2020-06-21 14:18:50 +00:00
Robert Ma
7ed1679f1b [docs] Fix instructions for run_web_tests.py
Clarify that you should invoke the script (or the .bat file on Windows)
directly instead of calling it using `python`.

Bug: 1095643
Change-Id: Ie8d5079bf4618f8d2b7f162d879f50da49c0260c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2248120
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#778852}
2020-06-16 16:38:52 +00:00
Johann
5aa23b58db run_blink_wptserve.py: update docs
Contrary to crrev.com/c/2217275 it is possible to specify the directory
which the script uses to serve generated content.

Point users towards --enable-blink-features which is required for some
tests.

Change-Id: I4b9cb454dce3fabdc62c778c810342047f18b539
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2241199
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#777844}
2020-06-12 17:00:52 +00:00
Xianzhu Wang
525fcbc3a1 Mention --flag-specific in the section of flag-specific rebaseline
TBR=pdr@chromium.org

Change-Id: I2f0bb218a194a0c84779c280db753387d62a6698
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2231097
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#775319}
2020-06-04 22:49:46 +00:00
Tim van der Lippe
ae60643b6b Remove usages of debug_devtools in chrome/BUILD.gn
The flag is being removed. Before we can remove the usages in
devtools-frontend itself, we first have to remove the references to them
in Chromium.

R=yangguo@chromium.org

Bug: 1087379
Change-Id: I09650358aba4bc2ec30fe91fe49e7e287d4b205b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2224216
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774636}
2020-06-03 15:30:25 +00:00
Johann
a06b671a53 wptserve: document hardcoded gen dir
run_blink_wptserve.py has no way of knowing which gen/ directory
to serve files from. Document this fact.

R=qyearsley@chromium.org

Change-Id: Ia5caef49b7333e695665ca921790c4dedb30ac22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217275
Commit-Queue: Johann Koenig <johannkoenig@google.com>
Reviewed-by: Kouhei Ueno <kouhei@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774058}
2020-06-02 08:51:35 +00:00
behdad
02325939eb Updated rep perf test documentation
Updates:
- Guides added for adding experimental attribute to a story and when to
do so.
- How to run perf tests locally is added to the document

Bug: none
Change-Id: Ie2c3f34906d185cd3992e4a614c49f43e4c3ad4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2210632
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771156}
2020-05-21 19:52:18 +00:00
Xianzhu Wang
a617a141f0 Let virtual tests also inherit [ Skip ] if no override
This followups crrev.com/c/2173656 which let virtual tests inherit
base tests' expectations except for [ Skip ]. This CL also allows
inheritance of [ Skip ].

In less common cases, we intentionally skip some base tests which is
only meaningful to run with specific flags in virtual tests. In these
cases we need to override the [ Skip ] with [ Pass ], like:

(In NeverFixTests)
# This test run under virtual suites only.
crbug.com/981970 external/wpt/fetch/http-cache/split-cache.tentative.html [ Skip ]
virtual/not-split-http-cache/external/wpt/fetch/http-cache/split-cache.tentative.html [ Pass ]
virtual/split-http-cache/external/wpt/fetch/http-cache/split-cache.tentative.html [ Pass ]

Bug: 1072015
Change-Id: Ie6c5b5472203bd81120dd2c3589a89d9df6fa45b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2178173
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#766598}
2020-05-07 21:57:47 +00:00
Xianzhu Wang
72fb2021fa Fallback mechanism for virtual and flag-specific web tests expectations
This can avoid duplicated entries for virtual tests. This allows
a virtual test without specific expectations inherit the base test
expectations. If a virtual test has specific expectations, they will
override the base test expectations, except that [ Slow ] will be
merged.

This requires flag-specific expectations to use the same override rule.
Previously they always inherit the base test expectations, causing us
unable to override the expectations to e.g. [ Pass ].

Requires https://chromium-review.googlesource.com/c/catapult/+/2173206.

Bug: 1072015
Change-Id: Ie3d1911a96f70799a996b6abbd78f9a5107d7eff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2173656
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Rakib Hasan <rmhasan@google.com>
Reviewed-by: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#765359}
2020-05-05 03:39:13 +00:00
Ben Pastene
48021b47b3 docs: Revise Tast test disabling options.
This should hopefully make it clear to sheriffs that either option is
valid.

Change-Id: Ida41d139dfdb09be3067228d6a05cb3b46806562
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2159605
Reviewed-by: Stephen Martinis <martiniss@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#761076}
2020-04-21 19:18:46 +00:00
Robert Ma
f3089be6ce [docs] Fix the path to content/shell
Change-Id: Idb7edeeb717e11779501e58865ef716295cab04a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131208
Commit-Queue: Robert Ma <robertma@chromium.org>
Commit-Queue: Stephen McGruer <smcgruer@chromium.org>
Auto-Submit: Robert Ma <robertma@chromium.org>
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755152}
2020-03-31 23:01:25 +00:00
Bryce Thomas
c9137cf998 Fix code_coverage.md docs to specify is_debug=false GN arg.
One instance of this was already fixed in
https://chromium-review.googlesource.com/c/chromium/src/+/1874486.  This
CL simply covers the other.

Bug: NONE
Change-Id: Ic0dc4ce2fdc1ca0daa414b50d2f9cf5a59f676ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2130667
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Sajjad Mirza <sajjadm@chromium.org>
Commit-Queue: Sajjad Mirza <sajjadm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755064}
2020-03-31 19:47:17 +00:00
Andrew Grieve
17a59653c6 Reland : Make java_deobfuscate not require being built first
This reverts commit 036098e4d0.

Reason for revert: No changes to this commit.
Fixed by: 02aeb6b215

Original change's description:
> Revert "Reland "Make java_deobfuscate not require being built first""
> 
> This reverts commit d80699f215.
> 
> Reason for revert: Broke swarming again:
> https://ci.chromium.org/p/chromium/builders/ci/android-lollipop-arm-rel/783
> 
> Original change's description:
> > Reland "Make java_deobfuscate not require being built first"
> > 
> > This reverts commit 0b8c0e6a09.
> > 
> > Reason for revert: Fixed runtime deps
> > 
> > Original change's description:
> > > Revert "Make java_deobfuscate not require being built first"
> > >
> > > This reverts commit 962e70305e.
> > >
> > > Reason for revert: Failing on swarming
> > > https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
> > >
> > > Original change's description:
> > > > Make java_deobfuscate not require being built first
> > > >
> > > > Makes the tool easier to use, and easier to document how to use by not
> > > > requiring it to be built first. We have only a single non-prebuilt .java
> > > > file, so it's easy enough to just check in the .class file for it.
> > 
> > Bug: 995290
> > Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
> > Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> > Reviewed-by: Sam Maier <smaier@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#751322}
> 
> TBR=agrieve@chromium.org,smaier@chromium.org
> 
> Change-Id: I7510d193931940176178ad6f68122f634ed59e93
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 995290
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108612
> Reviewed-by: Andrew Grieve <agrieve@chromium.org>
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#751394}

TBR=agrieve@chromium.org,smaier@chromium.org

Bug: 995290
Change-Id: Ia51d50638d859d27e081ff0689b4c5877a02e8c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109817
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751713}
2020-03-19 18:14:53 +00:00
Andrew Grieve
036098e4d0 Revert "Reland "Make java_deobfuscate not require being built first""
This reverts commit d80699f215.

Reason for revert: Broke swarming again:
https://ci.chromium.org/p/chromium/builders/ci/android-lollipop-arm-rel/783

Original change's description:
> Reland "Make java_deobfuscate not require being built first"
> 
> This reverts commit 0b8c0e6a09.
> 
> Reason for revert: Fixed runtime deps
> 
> Original change's description:
> > Revert "Make java_deobfuscate not require being built first"
> >
> > This reverts commit 962e70305e.
> >
> > Reason for revert: Failing on swarming
> > https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
> >
> > Original change's description:
> > > Make java_deobfuscate not require being built first
> > >
> > > Makes the tool easier to use, and easier to document how to use by not
> > > requiring it to be built first. We have only a single non-prebuilt .java
> > > file, so it's easy enough to just check in the .class file for it.
> 
> Bug: 995290
> Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Sam Maier <smaier@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#751322}

TBR=agrieve@chromium.org,smaier@chromium.org

Change-Id: I7510d193931940176178ad6f68122f634ed59e93
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 995290
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108612
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751394}
2020-03-18 17:50:03 +00:00
Andrew Grieve
d80699f215 Reland "Make java_deobfuscate not require being built first"
This reverts commit 0b8c0e6a09.

Reason for revert: Fixed runtime deps

Original change's description:
> Revert "Make java_deobfuscate not require being built first"
>
> This reverts commit 962e70305e.
>
> Reason for revert: Failing on swarming
> https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747
>
> Original change's description:
> > Make java_deobfuscate not require being built first
> >
> > Makes the tool easier to use, and easier to document how to use by not
> > requiring it to be built first. We have only a single non-prebuilt .java
> > file, so it's easy enough to just check in the .class file for it.

Bug: 995290
Change-Id: Ib1f396e07d6b0737133f03f1bded1a2d312ebfc8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106972
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751322}
2020-03-18 14:14:30 +00:00
Andrew Grieve
0b8c0e6a09 Revert "Make java_deobfuscate not require being built first"
This reverts commit 962e70305e.

Reason for revert: Failing on swarming
https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-fyi-rel/747

Original change's description:
> Make java_deobfuscate not require being built first
> 
> Makes the tool easier to use, and easier to document how to use by not
> requiring it to be built first. We have only a single non-prebuilt .java
> file, so it's easy enough to just check in the .class file for it.
> 
> Bug: 995290
> Change-Id: I7b934b3337eccb044a470dd92270ce7338b1fd20
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106257
> Commit-Queue: Andrew Grieve <agrieve@chromium.org>
> Reviewed-by: Sam Maier <smaier@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#750855}

TBR=agrieve@chromium.org,smaier@chromium.org

Change-Id: Ic279958503760f08a5a4885391705a89db8f982f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 995290
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107680
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#751026}
2020-03-17 17:46:07 +00:00
Andrew Grieve
962e70305e Make java_deobfuscate not require being built first
Makes the tool easier to use, and easier to document how to use by not
requiring it to be built first. We have only a single non-prebuilt .java
file, so it's easy enough to just check in the .class file for it.

Bug: 995290
Change-Id: I7b934b3337eccb044a470dd92270ce7338b1fd20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106257
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750855}
2020-03-17 04:04:03 +00:00
Peter Kasting
c6fd7f2db7 Convert MaterialDesignController to a true singleton.
This involves
* Moving non-MD-related code out of Initialize into LinearAnimation
* Moving other Initialize() code into the constructor
* Removing all Initialize() calls
* Replacing other static methods with instance methods
* Adding GetInstance() calls to callers to get the instance
* Converting the TestAPI class to a scoping object
* Other assorted #include removal etc. in the process

Bug: 940773
Change-Id: Ieb8d44eabae63b014a90ff452010eb4c067e5e90
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090877
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#748895}
2020-03-10 21:21:08 +00:00
behdad
ed363bfe4b Add guides on investigating the rep perf failures
The guides for investigating the representative perf tests are added:
- Common failures listed
- accessing the traces and benchmark logs are documented

Bug: none
Change-Id: Ic087fb97ee362e04d839414f1396165f111b9934
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087220
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747732}
2020-03-06 16:33:32 +00:00
Anastasiia Nikolaienko
f95b35f63e Update saml_password_attributes_test.unitjs path
The file was moved to chrome/browser/resources/gaia_auth_host/
saml_password_attributes_test.unitjs

Change-Id: Ie4763473632202a383a058ed9858a364d779cfac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073765
Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Anastasiia Nikolaienko <anastasiian@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744623}
2020-02-26 12:39:22 +00:00
behdad
05fd6c6ed3 Updated documentation for representative perf tests
Added more instructions on skipping representative perf tests stories.

Bug: chromium:1044705
Change-Id: Ic17b8ccbf345f4be207e0aa25c9a4fdfb0b1350c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2035855
Commit-Queue: Behdad Bakhshinategh <behdadb@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Reviewed-by: Sadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741213}
2020-02-13 21:51:09 +00:00
Xianzhu Wang
c5e2eaf13f Update docs/testing/web_test_expectations.md
- Remove an extra heading under "Rebaselining using try jobs" >
  "Options".
- Add doc for '--patchset=n'.
- Add link to local manual rebaselining.

TBR=robertma@chromium.org

Change-Id: I54d1daf6754707009c08cbc53791a70262bca206
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2005408
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Robert Ma <robertma@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732573}
2020-01-16 22:13:09 +00:00