Closed Bug 1791213 Opened 2 years ago Closed 2 years ago

Intermittent /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html | single tracking bug

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox105 --- unaffected
firefox106 --- fixed
firefox107 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: CosminS)

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression)

Attachments

(1 file)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=390682544&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Sn8JSWzDT8iCFXrY3XaeHg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-09-16T19:33:20.258Z] 19:33:20     INFO - TEST-PASS | /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html | Sanity check around top-level Window 
[task 2022-09-16T19:33:20.258Z] 19:33:20     INFO - TEST-UNEXPECTED-FAIL | /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html | Eval: Move success external classic script to createHTMLDocument after-prepare - assert_false: The script must not have executed in source window expected false got "executed too early"
[task 2022-09-16T19:33:20.259Z] 19:33:20     INFO - runTest/</</<@http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/moving-between-documents/resources/moving-between-documents-helper.js:197:21
[task 2022-09-16T19:33:20.259Z] 19:33:20     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2590:25
[task 2022-09-16T19:33:20.259Z] 19:33:20     INFO - Test.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:2665:32
[task 2022-09-16T19:33:20.259Z] 19:33:20     INFO - runTest/</<@http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/moving-between-documents/resources/moving-between-documents-helper.js:201:9
[task 2022-09-16T19:33:20.259Z] 19:33:20     INFO - step_timeout/<@http://web-platform.test:8000/resources/testharness.js:1211:18
[task 2022-09-16T19:33:20.260Z] 19:33:20     INFO - 
[task 2022-09-16T19:33:20.260Z] 19:33:20     INFO - TEST-UNEXPECTED-FAIL | /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html | <script> load: Move success external classic script to createHTMLDocument after-prepare - assert_unreached: Script load event fired unexpectedly Reached unreachable code
[task 2022-09-16T19:33:20.260Z] 19:33:20     INFO - onload@http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/moving-between-documents/resources/moving-between-documents-iframe.py?result=success&inlineOrExternal=external&type=classic&hasBlockingStylesheet=true&cache=0.5438107328110819:1:1
[task 2022-09-16T19:33:20.323Z] 19:33:20     INFO - TEST-OK | /html/semantics/scripting-1/the-script-element/moving-between-documents/after-prepare-createHTMLDocument-success-external-classic.html | took 19324ms
Regressed by: 1780219

:masterwayz, since you are the author of the regressor, bug 1780219, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mgoossens)
Assignee: nobody → csabou
Status: NEW → ASSIGNED
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f348ca1573b2
set some moving-between-documents wpts as intermittent after migration of Android emulator tests from AWS to GCP. r=MasterWayZ

Hi :hsivonen, do you know who may be able to look into this?

Flags: needinfo?(mgoossens) → needinfo?(hsivonen)
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch

(In reply to Michelle Goossens [:masterwayz] from comment #5)

Hi :hsivonen, do you know who may be able to look into this?

Could be me, but I don't have an immediate clue of why anything that I know about this would result in intermittent failure. Perhaps :jonco has ideas?

Flags: needinfo?(hsivonen) → needinfo?(jcoppeard)

Set release status flags based on info from the regressing bug 1780219

Heads up that I have no immediate idea what's happening here.

(In reply to Henri Sivonen (:hsivonen) from comment #7)
The test is timing sensitive, and since this started happening after migrating to a different cloud platform I'd say that is the cause.

In slightly more detail (and I'm probably missing things here), there's a python script that generates a web page which has a one second pause between emitting a specific opening tag and then closing it. After the opening tag has been parsed but before the closing tag has been received, the web platform test attempts to move the DOM node for this tag between documents and checks that the right things happen. Synchronisation is arranged by pauses/timeouts of granularity one second. I'm kind of in awe of this test, but this is an inherently fragile setup.

Flags: needinfo?(jcoppeard)
Duplicate of this bug: 1791240
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: