New issue
Advanced search Search tips

Issue 683807 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Refer to "timeout" field in external/wpt/MANIFEST.json when deciding whether a test is "slow"

Project Member Reported by tkent@chromium.org, Jan 23 2017

Issue description

What steps will reproduce the problem?
(1) Import slow tests from web-platform-tests
(2) Observe webkit_tests build bots
(3)

What is the expected result?
No flaky timeout

What happens instead?
Updated tests might have flaky timeout.
Test owners or sheriffs need to add flaky entries to TestExepctations, or add entries to SlowTests.

Please use labels and text to provide additional information.

MANIFEST.json contains slowness information like:

   "dom/ranges/Range-attributes.html": [
    [
     "/dom/ranges/Range-attributes.html",
     {
      "timeout": "long"
     }
    ]
   ],

run-webkit-tests should refer to the "timeout" fields, should set longer timeout for the test.

 
Cc: jeffcarp@chromium.org
Components: -Blink>Infra Blink>Infra>Predictability
Labels: -Pri-3 Pri-2
Status: Available (was: Untriaged)
Triaging - Quinten, do you have the bandwidth to create a CL for this?
Summary: Refer to "timeout" field in external/wpt/MANIFEST.json when deciding (was: Refer "timeout" field in external/wpt/MANIFEST.json)
Not sure if I'll have time this week, but I agree that this sounds like a good idea.

Note that we ignore the testharness.js timeout ( bug 664268 ), but reading MANIFEST.json to decide how to modify the run-webkit-tests timeout would work.

Fortunately, the testharness timeout mechanism also supports two options for how to set the timeout for a test: "normal" and "long" (slow), according to http://testthewebforward.org/docs/testharness-library.html#harness-timeout.

It looks like the place to change would be Manager._test_is_slow (https://cs.chromium.org/chromium/src/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py), which could access the Port object, which could read the manifest file and check the value for a particular test.
Summary: Refer to "timeout" field in external/wpt/MANIFEST.json when deciding whether a test is "slow" (was: Refer to "timeout" field in external/wpt/MANIFEST.json when deciding)

Comment 4 by tkent@chromium.org, Jan 25 2017

Owner: tkent@chromium.org
Status: Started (was: Available)

Comment 5 by tkent@chromium.org, Jan 26 2017

Cc: caseq@chromium.org
 Issue 577381  has been merged into this issue.

Comment 7 by tkent@chromium.org, Jan 26 2017

Status: Fixed (was: Started)
Components: Blink>Infra>Ecosystem
Components: -Blink>Infra>Predictability

Sign in to add a comment