Frequent mostly win /navigation-timing/nav2_test_redirect_server.html | Navigation Timing 2 WPT - uncaught exception: Error: assert_true: Expected startTime to be no greater than redirectStart. expected true got false
Categories
(Core :: DOM: Performance, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox87 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, leave-open, Whiteboard: [retriggered][stockwell unknown])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=335659834&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/U_byr93qTS21qmV8Nnv9hg/runs/0/artifacts/public/logs/live_backing.log
[task 2021-04-07T04:06:37.119Z] 04:06:37 INFO - TEST-OK | /navigation-timing/nav2_test_redirect_none.html | took 66ms
[task 2021-04-07T04:06:37.120Z] 04:06:37 INFO - TEST-START | /navigation-timing/nav2_test_redirect_server.html
[task 2021-04-07T04:06:37.121Z] 04:06:37 INFO - Closing window 8589934639
[task 2021-04-07T04:06:37.195Z] 04:06:37 INFO - PID 7780 | JavaScript error: http://web-platform.test:8000/resources/testharness.js, line 1211: uncaught exception: Error: assert_true: Expected startTime to be no greater than redirectStart. expected true got false
[task 2021-04-07T04:06:37.201Z] 04:06:37 INFO -
[task 2021-04-07T04:06:37.201Z] 04:06:37 INFO - TEST-UNEXPECTED-FAIL | /navigation-timing/nav2_test_redirect_server.html | Navigation Timing 2 WPT - uncaught exception: Error: assert_true: Expected startTime to be no greater than redirectStart. expected true got false
[task 2021-04-07T04:06:37.201Z] 04:06:37 INFO - verifyTimingEventOrder@http://web-platform.test:8000/navigation-timing/nav2_test_redirect_server.html:16:32
[task 2021-04-07T04:06:37.202Z] 04:06:37 INFO - onload_test@http://web-platform.test:8000/navigation-timing/nav2_test_redirect_server.html:36:39
[task 2021-04-07T04:06:37.202Z] 04:06:37 INFO - onload@http://web-platform.test:8000/navigation-timing/nav2_test_redirect_server.html:1:1
[task 2021-04-07T04:06:37.202Z] 04:06:37 INFO - TEST-OK | /navigation-timing/nav2_test_redirect_server.html | took 82ms```
Comment hidden (Intermittent Failures Robot) |
Comment 2•4 years ago
|
||
occurs on non-fission too: https://treeherder.mozilla.org/logviewer?job_id=335688287&repo=mozilla-central&lineNumber=8492
Comment 3•4 years ago
|
||
Comment hidden (Intermittent Failures Robot) |
Comment 5•4 years ago
|
||
Set release status flags based on info from the regressing bug 1701668
Comment 6•4 years ago
|
||
The change I made in bug 1701668 doesn't have anything to do with this test, so it is much more likely to be something wrong with the test, or the dom/performance code. From a brief look at what the test code does, it seems to assume that the 'start time' is less than the 'redirect time' but will fail if they are equal.
There some code for the properties of the performance objects that the test is comparing that reduces the precision of the return values based on some randomly generated numbers. I found it difficult to reproduce, but if I simply moved the nav2_test_redirect_server.html test to a different directory, this randomness caused the rounding of redirectStart to result in zero, and failed the test.
I don't know if that is the problem here, but someone more familiar with the performance timing code might want to take a look.
Comment 7•4 years ago
|
||
Hi Kim, can you assign someone to take a look at this?
Comment hidden (Intermittent Failures Robot) |
Comment 10•4 years ago
|
||
Sean is this something in your area of expertise? If not, let me know and I can redirect.
Comment 11•4 years ago
|
||
This is not my area of expertise, I think Andrew knows necko stuff quite well?
Comment hidden (Intermittent Failures Robot) |
Comment 13•4 years ago
|
||
Are there instructions for running these locally?
Comment 14•4 years ago
|
||
You can run the test locally with './mach wpt navigation-timing/nav2_test_redirect_server.html', but it doesn't fail for me locally.
Updated•4 years ago
|
Comment 15•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
Comment hidden (Intermittent Failures Robot) |
Updated•4 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 21•3 years ago
|
||
Sorry, didn't get to this for a bit.
What I believe is happening is that we're reporting 0
for both startTime
and redirectStart
but the test will fail unless startTime
is strictly less than redirectStart
:
https://searchfox.org/mozilla-central/rev/98a9257ca2847fad9a19631ac76199474516b31e/testing/web-platform/tests/navigation-timing/nav2_test_redirect_server.html#16
This seems like the test is incorrect as I think timing of 0 for each entry is valid.
I found it easiest to reproduce using the the w3c-test:
http://w3c-test.org/navigation-timing/nav2_test_redirect_server.html
Not sure what the next best step is here.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 25•3 years ago
|
||
If we agree on my hypothesis from Comment 21, can we push for a change to the w3c test?
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Description
•