Closed Bug 1875674 Opened 2 years ago Closed 2 years ago

Intermittent /fetch/api/cors/cors-keepalive.any.html | <multiple subtests here are failing with TEST-UNEXPECTED-PASS> | single tracking bug

Categories

(Core :: DOM: Networking, defect, P5)

defect

Tracking

()

RESOLVED FIXED

People

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

References

(Blocks 1 open bug, Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [necko-triaged][stockwell disable-recommended])

Attachments

(4 files)

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


[task 2024-01-21T11:08:41.220Z] 11:08:41     INFO - TEST-PASS | /fetch/api/cors/cors-keepalive.any.html | [keepalive] Cross domain basic usage GET request in unload [cors mode] 
[task 2024-01-21T11:08:41.220Z] 11:08:41     INFO - TEST-FAIL | /fetch/api/cors/cors-keepalive.any.html | [keepalive] Cross domain different port GET request in unload [no-cors mode, server forbid CORS] - assert_equals: token should be on (stashed). expected (string) "on" but got (object) null
[task 2024-01-21T11:08:41.220Z] 11:08:41     INFO - assertStashedTokenAsync/</<@http://web-platform.test:8000/fetch/api/resources/keepalive-helper.js:96:26
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2604:25
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2651:35
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - TEST-FAIL | /fetch/api/cors/cors-keepalive.any.html | [keepalive] Cross domain different port GET request in unload [no-cors mode] - assert_equals: token should be on (stashed). expected (string) "on" but got (object) null
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - assertStashedTokenAsync/</<@http://web-platform.test:8000/fetch/api/resources/keepalive-helper.js:96:26
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2604:25
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:2651:35
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - TEST-UNEXPECTED-PASS | /fetch/api/cors/cors-keepalive.any.html | [keepalive] Cross domain different port GET request in unload [cors mode, server forbid CORS] - expected FAIL
[task 2024-01-21T11:08:41.221Z] 11:08:41     INFO - TEST-INFO | expected FAIL
[task 2024-01-21T11:08:41.234Z] 11:08:41     INFO - .........................
[task 2024-01-21T11:08:41.236Z] 11:08:41     INFO - TEST-OK | /fetch/api/cors/cors-keepalive.any.html | took 12807ms
[task 2024-01-21T11:08:41.238Z] 11:08:41     INFO - PID 9304 | 1705835321200	Marionette	INFO	Stopped listening on port 39023
Keywords: regression
Regressed by: 1875346
Assignee: nobody → imoraru
Status: NEW → ASSIGNED
Attachment #9375654 - Attachment description: Bug 1875674 - marks as intermittent multiple subtests in cors-keepalive.any.html on linux. r=jgraham,aryx,manuel → Bug 1875674 - mark as intermittent multiple subtests in cors-keepalive.any.html on linux. r=jgraham,aryx,manuel
See Also: → 1875702
Flags: needinfo?(james)
Pushed by imoraru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/afef685a0f5e mark as intermittent multiple subtests in cors-keepalive.any.html on linux. r=aryx
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch

Still failing on these subtest:

wpt

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 123 Branch → ---

Malte, could you take a look at these frequent test failures or redirect the request? Thank you.

Flags: needinfo?(mjurgens)

I'll take a look, but I have no experience with WPT. Manuel, do you have any ideas here?

Flags: needinfo?(mjurgens) → needinfo?(manuel)

I don't have any ideas for the reason of failure yet. Maybe some timing changed. Thanks for linking the likely cause. If you are at loss with this bug and want to pass it on, necko can also take over this bug.

Flags: needinfo?(manuel)
Whiteboard: [necko-triaged][necko-priority-new]

That would be appreciated, thanks. I haven't been able to figure out much more, but a good next lead would be this quote from jonathanjlee@google.com in https://crbug.com/1484680:

The fetch/api/*/keepalive WPTs are now consistently flakily timing out upstream [0], even with // META: timeout=long. PTAL and see if there's a way to deflake the tests for firefox.

Prior to https://crrev.com/c/5195267, these tests were written such that they only worked in content_shell (crbug.com/1518022), which masked the timeouts we're seeing now.

Yes. It seems to be a test change rather than a gekco change. If Chrome isn't looking into fixing it, we should either schedule that for ourselves or make sure there's better tests so that we can remain confident in coverage.

See Also: → 1874988
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7886f6e6cbd7 Mark as intermittent multiple subtests in cors-keepalive.any.html on linux. r=aryx
Keywords: leave-open
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b41f15cc1e5f Mark as intermittent multiple subtests in cors-keepalive.any.html on linux. r=aryx
Whiteboard: [necko-triaged][necko-priority-new][stockwell disable-recommended] → [necko-triaged][stockwell disable-recommended]

We should probably disable the keepalive wpts for fetch until we implement it.

Assignee: imoraru → smayya
See Also: → 1875623

These test has been disabled by the patch for Bug 1875702.

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Flags: needinfo?(james)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: