Perma [tier 2] testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | marionette_driver.errors.TimeoutException: Timed out after 300.0 seconds
Categories
(Testing :: Firefox UI Tests, defect, P5)
Tracking
(firefox-esr128 unaffected, firefox-esr140 unaffected, firefox141 unaffected, firefox142 unaffected, firefox143 fixed, firefox144 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox141 | --- | unaffected |
| firefox142 | --- | unaffected |
| firefox143 | --- | fixed |
| firefox144 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: smayya)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [webdriver:m17][webdriver:external])
Attachments
(4 files)
Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=519644121&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/G0GZ6rYoQNeB27oO-0qgFg/runs/0/artifacts/public/logs/live_backing.log
[task 2025-07-26T23:24:45.700+00:00] 23:24:45 INFO - 1753572285700 Marionette DEBUG 3 -> [0,3066,"Marionette:SetContext",{"value":"content"}]
[task 2025-07-26T23:24:45.700+00:00] 23:24:45 INFO - 1753572285700 Marionette DEBUG 3 <- [1,3066,null,{"value":null}]
[task 2025-07-26T23:24:45.798+00:00] 23:24:45 INFO - TEST-UNEXPECTED-ERROR | testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py TestSafeBrowsingWarningPages.test_warning_pages | marionette_driver.errors.TimeoutException: Timed out after 300.0 seconds
[task 2025-07-26T23:24:45.798+00:00] 23:24:45 INFO - Traceback (most recent call last):
[task 2025-07-26T23:24:45.798+00:00] 23:24:45 INFO - File "/task_175357140997779/build/venv/lib/python3.10/site-packages/marionette_harness/marionette_test/testcases.py", line 193, in run
[task 2025-07-26T23:24:45.798+00:00] 23:24:45 INFO - testMethod()
[task 2025-07-26T23:24:45.798+00:00] 23:24:45 INFO - File "/task_175357140997779/build/tests/firefox-ui/tests/testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py", line 63, in test_warning_pages
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - self.check_report_link(unsafe_page)
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - File "/task_175357140997779/build/tests/firefox-ui/tests/testing/firefox-ui/tests/functional/safebrowsing/test_warning_pages.py", line 111, in check_report_link
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - Wait(self.marionette, timeout=self.marionette.timeout.page_load).until(
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - File "/task_175357140997779/build/venv/lib/python3.10/site-packages/marionette_driver/wait.py", line 152, in until
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - raise errors.TimeoutException(
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - TEST-INFO took 311647ms
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - 1753572285763 Marionette DEBUG 3 -> [0,3067,"Marionette:GetContext",{}]
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - 1753572285764 Marionette DEBUG 3 <- [1,3067,null,{"value":"content"}]
[task 2025-07-26T23:24:45.799+00:00] 23:24:45 INFO - 1753572285764 Marionette DEBUG 3 -> [0,3068,"Marionette:SetContext",{"value":"chrome"}]
Comment 1•6 months ago
|
||
:smayya, since you are the author of the regressor, bug 1972350, could you take a look?
For more information, please visit BugBot documentation.
Comment 2•6 months ago
|
||
Set release status flags based on info from the regressing bug 1972350
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 6•5 months ago
|
||
There are 518 failures in the last 7 days.
Whimboo, can you please check and assign this bug to someone since smayya haven't answered and it's failing pretty frequent?
Comment 7•5 months ago
|
||
Updated•5 months ago
|
Comment 8•5 months ago
|
||
Until a fix is in place, I've made a disable patch
| Comment hidden (Intermittent Failures Robot) |
Comment 10•5 months ago
|
||
Comment 11•5 months ago
|
||
Hey Sunil, I've taken another look to provide more information. So looks like we hit:
[Parent 93097, Socket Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x804B005D (NS_ERROR_LOCAL_NETWORK_ACCESS_DENIED): file /builds/worker/checkouts/gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp:1591
and navigation to "http://127.0.0.1:55946/support.html?topic=phishing-malware" times out.
That seems to be happening when we:
- try to navigate to "https://www.itisatrap.org/firefox/unwanted.html", we see the "about:blocked" page;
- click "See details";
- click "support.mozilla.org";
- navigate to "http://127.0.0.1:56087/support.html?topic=phishing-malware"
- try to navigate to "https://www.itisatrap.org/firefox/unwanted.html", we see the "about:blocked" page;
- click "See details";
- click "ignore the risk";
- removing safe browsing permission for "https://www.itisatrap.org"
- navigate to actual "https://www.itisatrap.org/firefox/unwanted.html";
- navigate to "https://www.itisatrap.org/firefox/its-a-trap.html";
- click "See details";
- click "support.mozilla.org";
- navigation to "http://127.0.0.1:56087/support.html?topic=phishing-malware" times out.
Looking at the bug 1972350, not sure if we should set now some extra permissions. Could you help us here?
Updated•5 months ago
|
Comment 12•5 months ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 15•5 months ago
|
||
| Comment hidden (Intermittent Failures Robot) |
Comment 17•5 months ago
|
||
Comment 18•5 months ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Assignee | ||
Updated•5 months ago
|
Comment 20•5 months ago
|
||
Hey Sunil,
I've seen that you removed needinfo, did you not find anything?
Updated•5 months ago
|
| Assignee | ||
Comment 21•5 months ago
|
||
Hey Alexandra,
I've seen that you removed needinfo, did you not find anything?
Sorry for missing this, it was by accident.
We have introduced LNA feature recently and any navigation to localhost (127.0.0.1) would prompt user for permission.
My guess is that we are experiencing timeout because the request is waiting on the user prompt.
Can you please confirm this?
I did not reproduce the issue locally, please let me know if you want me to have a look at it further.
Comment 22•5 months ago
|
||
I don't see the prompt :( The navigation is just pending. I've attached the screenshot from the test in case I'm missing something.
In case you want to run the test locally, not sure if you've seen that the test is disabled now. To enable it again, you need to remove this metadata: https://searchfox.org/mozilla-central/source/testing/firefox-ui/tests/functional/safebrowsing/manifest.toml#15-21.
Updated•5 months ago
|
| Assignee | ||
Updated•5 months ago
|
Comment 23•5 months ago
|
||
Hi Sunil, I wanted to check if you have an update for us regarding a potential fix for this perma test failure. Thanks!
| Assignee | ||
Comment 24•5 months ago
|
||
| Assignee | ||
Comment 25•5 months ago
|
||
Hey henrik, sorry for the delay, I have posted the patch for review.
Updated•5 months ago
|
Comment 26•5 months ago
|
||
Comment 27•5 months ago
|
||
| bugherder | ||
Comment 28•5 months ago
|
||
Sunil, it would be good to get this fix uplifted to beta so that we can run the test there as well. Mind doing an uplift request? Thanks!
| Assignee | ||
Comment 29•5 months ago
|
||
Comment on attachment 9504208 [details]
Bug 1979540 - Disable 'test_warning_pages.py' for frequent failures. r=#intermittent-reviewers
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: UI safe browsing tests wont be run for beta..
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Changes are modifications to test
- String changes made/needed:
- Is Android affected?: No
Comment 30•5 months ago
|
||
Sunil, as it looks like you requested the uplift on the wrong patch. Can you please double check? Thanks.
| Assignee | ||
Updated•5 months ago
|
| Assignee | ||
Comment 31•5 months ago
|
||
Comment on attachment 9509015 [details]
Bug 1979540 - grant local network access for test_warning_pages.py tests. r=whimboo
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: UI tests for safebrowsing wont be run for beta
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch only modifies test files
- String changes made/needed:
- Is Android affected?: No
| Assignee | ||
Comment 32•5 months ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #30)
Sunil, as it looks like you requested the uplift on the wrong patch. Can you please double check? Thanks.
My Bad. Thanks for flagging this.
Comment 33•5 months ago
|
||
Comment on attachment 9509015 [details]
Bug 1979540 - grant local network access for test_warning_pages.py tests. r=whimboo
Approved for 143.0b5.
Updated•5 months ago
|
Comment 34•5 months ago
|
||
| uplift | ||
Description
•