Perma Late Beta TEST-UNEXPECTED-FAIL | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | Uncaught exception in test bound - undefined - when Gecko 128 switches from Early Beta to Late Beta on 2024-06-21
Categories
(DevTools :: General, defect)
Tracking
(firefox-esr115 unaffected, firefox126 unaffected, firefox127 unaffected, firefox128+ verified)
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | unaffected |
firefox128 | + | verified |
People
(Reporter: pstanciu, Assigned: jdescottes)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected ServerTimings flag -
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - Buffered messages logged at 11:45:36
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - Console message: [JavaScript Error: "TypeError: NetworkError when attempting to fetch resource."]
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - Enable the auth prompt listener for this network observer
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - Wait for all network events to be received
[task 2024-05-24T11:45:43.149Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | Received the expected number of network events -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | The auth prompt was handled by the network event owner -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected ResponseStart flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected EventTimings flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected AuthPrompt flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected ResponseCache flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected ResponseContent flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected SecurityInfo flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-PASS | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | network event has the expected ServerTimings flag -
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Leaving test bound
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Entering test bound
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Buffered messages logged at 11:45:37
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Console message: [JavaScript Error: "TypeError: NetworkError when attempting to fetch resource."]
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Enable the auth prompt listener for this network observer
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Wait for all network events to be received
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Buffered messages finished
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - TEST-UNEXPECTED-FAIL | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | Uncaught exception in test bound - undefined - timed out after 50 tries.
[task 2024-05-24T11:45:43.150Z] 11:45:43 INFO - Leaving test bound
[task 2024-05-24T11:45:43.391Z] 11:45:43 INFO - GECKO(7531) | MEMORY STAT | vsize 120590904MB | residentFast 1370MB
[task 2024-05-24T11:45:43.393Z] 11:45:43 INFO - TEST-OK | devtools/shared/network-observer/test/browser/browser_networkobserver_auth_listener.js | took 17029ms
[task 2024-05-24T11:45:43.475Z] 11:45:43 INFO - checking window state
[task 2024-05-24T11:45:43.554Z] 11:45:43 INFO - TEST-START | devtools/shared/network-observer/test/browser/browser_networkobserver_invalid_constructor.js
[task 2024-05-24T11:45:43.977Z] 11:45:43 INFO - GECKO(7531) | MEMORY STAT | vsize 120590907MB | residentFast 1057MB
[task 2024-05-24T11:45:43.979Z] 11:45:43 INFO - TEST-OK | devtools/shared/network-observer/test/browser/browser_networkobserver_invalid_constructor.js | took 425ms
[task 2024-05-24T11:45:44.069Z] 11:45:44 INFO - checking window state
[task 2024-05-24T11:45:44.137Z] 11:45:44 INFO - TEST-START | devtools/shared/network-observer/test/browser/browser_networkobserver_override.js
Assignee | ||
Comment 1•2 months ago
|
||
Not sure what causes the issue, but this is related to Bug 1880803 which was since then backed out, so the title should mention Gecko 128 and not Gecko 127?
![]() |
||
Comment 2•2 months ago
|
||
Thanks for catching this
Assignee | ||
Comment 3•2 months ago
|
||
So there is a JS error in the middle of the test, but it's weird that I don't have the same failure locally.
When something auth related fails on late beta it's usually been because of network.auth.use_redirect_for_retries.
Anyway fixing the error in the test seems to make the permafail disappear: https://treeherder.mozilla.org/jobs?repo=try&revision=9786bcea621379a81c6580fa48940ec1f88d299a
I will fold that into Bug 1880803, we can close this bug once we verified it's fixed.
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 5•1 month ago
|
||
Bug 1880803 landed again, the next late beta sim should hopefully no longer have this bug.
![]() |
||
Comment 6•1 month ago
|
||
The issue can still be observed with today's late beta simulation (please ignore the version number, it should be 128.0b12).
Assignee | ||
Comment 7•1 month ago
|
||
I will investigate this in a follow up, but the auth listener is not used in production code by devtools.
It is only used in BiDi with early events, which does not seem to fail on late beta.
Updated•1 month ago
|
Assignee | ||
Comment 8•1 month ago
|
||
(In reply to Sebastian Hengst [:aryx] (needinfo me if it's about an intermittent or backout) from comment #6)
The issue can still be observed with today's late beta simulation (please ignore the version number, it should be 128.0b12).
Thanks for the heads up. This time I can reproduce locally when setting the network.auth.use_redirect_for_retries preference, not sure why I didn't manage to do it previously. Not fully clear why this causes an issue here, but the failing configuration is not currently used in production code, so I will investigate it in a follow up.
Comment hidden (Intermittent Failures Robot) |
Comment 10•1 month ago
|
||
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac7ea322bb65 [devtools] Force network.auth.use_redirect_for_retries in auth listener test r=devtools-reviewers,nchevobbe
Comment 11•1 month ago
|
||
bugherder |
Comment 12•1 month ago
|
||
Fix verified in today's central as late beta simulation.
Description
•