Open Bug 1901623 Opened 9 months ago Updated 8 months ago

Intermittent [TV] dom/security/test/https-first/test_multiple_redirection.html | Test timed out. -

Categories

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

defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox127 --- unaffected
firefox128 --- unaffected
firefox129 --- affected

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail, Whiteboard: [domsecurity-intermittent])

Attachments

(1 file)

Filed by: tszentpeteri [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=461714265&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Uh04TCSKQdOd0LSpZugwXQ/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Uh04TCSKQdOd0LSpZugwXQ/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2024-06-10T18:56:03.195Z] 18:56:03     INFO - TEST-PASS | dom/security/test/https-first/test_multiple_redirection.html | redirect results in test last redirect other HTTP origin gets upgraded 
[task 2024-06-10T18:56:03.195Z] 18:56:03     INFO - Buffered messages finished
[task 2024-06-10T18:56:03.196Z] 18:56:03     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-first/test_multiple_redirection.html | Test timed out. - 
[task 2024-06-10T18:56:03.196Z] 18:56:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:03.196Z] 18:56:03     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | 4 test timeouts, giving up. - 
[task 2024-06-10T18:56:03.196Z] 18:56:03     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:03.197Z] 18:56:03     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | Skipping 1 remaining tests. - 
[task 2024-06-10T18:56:04.129Z] 18:56:04     INFO - GECKO(4354) | MEMORY STAT | vsize 6704MB | residentFast 82MB | heapAllocated 8MB
[task 2024-06-10T18:56:05.182Z] 18:56:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:05.183Z] 18:56:05     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | /tests/dom/security/test/https-first/test_multiple_redirection.html - finished in a non-clean fashion, probably because it didn't call SimpleTest.finish()
[task 2024-06-10T18:56:05.183Z] 18:56:05     INFO - {'loaded_test_url': '/tests/dom/security/test/https-first/test_multiple_redirection.html'}
[task 2024-06-10T18:56:08.537Z] 18:56:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:08.537Z] 18:56:08     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | Test timed out. - 
[task 2024-06-10T18:56:08.538Z] 18:56:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:08.538Z] 18:56:08     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | 4 test timeouts, giving up. - 
[task 2024-06-10T18:56:08.539Z] 18:56:08     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-06-10T18:56:08.539Z] 18:56:08     INFO - TEST-UNEXPECTED-FAIL | (SimpleTest/TestRunner.js) | Skipping 1 remaining tests. - 
[task 2024-06-10T18:56:08.540Z] 18:56:08     INFO - Error: Unable to restore focus, expect failures and timeouts.
[task 2024-06-10T18:56:08.894Z] 18:56:08     INFO - TEST-UNEXPECTED-ERROR | (SimpleTest/TestRunner.js) | Finished in 303026ms
[task 2024-06-10T18:56:08.894Z] 18:56:08     INFO - {'runtime': '303026'}
[task 2024-06-10T18:56:08.894Z] 18:56:08     INFO - TEST-INFO 
[task 2024-06-10T18:56:09.173Z] 18:56:09     INFO - TEST-START | Shutdown

:manuel, since you are the author of the regressor, bug 1747230, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(manuel)
See Also: → 1783503

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

This is hanging on my added test case. Screenshot of failure from CI shows the downgrade url in secure https, which should return

The test case gets initiated with a load to http://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?test5.

# upgraded to https with https-only mode
> HTTP GET https://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?test5
< 302 Found
< Location: https://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?downgrade
# explicit downgrade, should
> HTTP GET https://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?downgrade
< 302 Found
< Location: http://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?downgrade

--- or this is getting displayed

# Downgrade detected, added exception, no further upgrades
> HTTP GET http://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?downgrade
< 302 Found
< Location: http://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?verify
> HTTP GET http://example.com/tests/dom/security/test/https-first/file_multiple_redirection.sjs?verify
< 200 OK
< [...]

From the log: The last test case before my new one passes, but the 5th test case fails: https://searchfox.org/mozilla-central/rev/4582d908c17fbf7924f5699609fe4a12c28ddc4a/dom/security/test/https-first/test_multiple_redirection.html#43,50

[task 2024-06-10T18:56:03.195Z] 18:56:03     INFO - TEST-PASS | dom/security/test/https-first/test_multiple_redirection.html | redirect results in test last redirect other HTTP origin gets upgraded 
[task 2024-06-10T18:56:03.196Z] 18:56:03     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/https-first/test_multiple_redirection.html | Test timed out. - 

Added try push with http log: ./mach try fuzzy dom/security/test/https-first/test_multiple_redirection.html --env "MOZ_LOG=nsHttp:5,CSMLog:5":

https://treeherder.mozilla.org/jobs?repo=try&revision=2063f56f10f2074c353821e18ed812c9c6d68c19

Assignee: nobody → manuel
Flags: needinfo?(manuel)

Cool, an intermittent that goes away with logging. Maybe I also just selected the wrong task? Retrying with all macos tasks: https://treeherder.mozilla.org/jobs?repo=try&revision=f7babd05cd7eeabd5ede0fdecc435c76702b8018

And one with only MOZ_LOG=CSMLog:5 to drastically reduce the amount of log lines: https://treeherder.mozilla.org/jobs?repo=try&revision=e3652721d299eeef0c76c3eec689bad5c70e8061

Unassigning myself for now. I'm unlikely to investigate in near future.

Assignee: manuel → nobody
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: