Closed
Bug 1312632
Opened 8 years ago
Closed 6 years ago
Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script one|stylesheet} has been unblocked
Categories
(Testing :: Firefox UI Tests, defect)
Tracking
(firefox52 wontfix, firefox56 affected)
RESOLVED
INVALID
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: bulk-close-intermittents, intermittent-failure)
Comment 1•8 years ago
|
||
Looks like disabling protection by clicking the button didn't work in this case and protection is still enabled:
[task 2016-10-25T01:40:58.426243Z] 01:40:58 INFO - TEST-UNEXPECTED-ERROR | test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure script one has been unblocked
[task 2016-10-25T01:40:58.426448Z] 01:40:58 INFO - Traceback (most recent call last):
[task 2016-10-25T01:40:58.426640Z] 01:40:58 INFO - File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test/testcases.py", line 163, in run
[task 2016-10-25T01:40:58.426708Z] 01:40:58 INFO - testMethod()
[task 2016-10-25T01:40:58.426855Z] 01:40:58 INFO - File "/home/worker/workspace/build/tests/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py", line 86, in test_mixed_content_page
[task 2016-10-25T01:40:58.426948Z] 01:40:58 INFO - self.expect_protection_disabled()
[task 2016-10-25T01:40:58.427164Z] 01:40:58 INFO - File "/home/worker/workspace/build/tests/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py", line 70, in expect_protection_disabled
[task 2016-10-25T01:40:58.427293Z] 01:40:58 INFO - self._expect_protection_status(False)
[task 2016-10-25T01:40:58.427484Z] 01:40:58 INFO - File "/home/worker/workspace/build/tests/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py", line 63, in _expect_protection_status
[task 2016-10-25T01:40:58.427564Z] 01:40:58 INFO - message=("%s has been %s" % (description, state))
[task 2016-10-25T01:40:58.427726Z] 01:40:58 INFO - File "/home/worker/workspace/build/venv/local/lib/python2.7/site-packages/marionette_driver/wait.py", line 151, in until
Updated•8 years ago
|
status-firefox52:
--- → affected
Summary: Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure script one has been unblocked → Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script one} has been unblocked
Comment 2•8 years ago
|
||
Mass wontfix for bugs affecting firefox 52.
Status: NEW → RESOLVED
Closed: 8 years ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
Comment hidden (Intermittent Failures Robot) |
Updated•8 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 6•7 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 8 years ago → 7 years ago
Resolution: --- → INCOMPLETE
![]() |
||
Comment 7•7 years ago
|
||
Hit yesterday's central-as-beta simulation: https://treeherder.mozilla.org/logviewer.html#?job_id=177900515&repo=try
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Comment 8•7 years ago
|
||
Yesterday the patch for bug 1414776 was still on central, but got backed out later. So we should keep an eye on that failure before trying to land the patch again.
Blocks: 1414776
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Summary: Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script one} has been unblocked → Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script|stylesheet} has been unblocked
Updated•6 years ago
|
Summary: Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script|stylesheet} has been unblocked → Intermittent test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page | TimeoutException: Timed out after 5.0 seconds with message: Insecure {plugin|script one|stylesheet} has been unblocked
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 20•6 years ago
|
||
The problem in all those cases is that the browser doens't display any content inside the tab. It's just a gray area. See this screenshot for example: https://taskcluster-artifacts.net/TQYjAyqLQEu9_a6dcGHrxQ/0/public/test_info/report.html
So the test is clicking the "Disable protection for now" button (https://searchfox.org/mozilla-central/source/testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/browser/toolbars.py#570), which then triggers a page load. This works fine, and the tab shows the document title, but the page stays empty, see above. At this state we can still access the DOM and retrieve the element under test:
https://treeherder.mozilla.org/logviewer.html#?job_id=200337336&repo=try&lineNumber=7279-7280
But checking for it's color CSS property it always returns `rgb(0, 136, 0)`, which indicates that the content blocking hasn't been disabled.
Maybe this action sometimes ends-up in a weird state? Johann, do you have an idea?
Flags: needinfo?(jhofmann)
Comment hidden (Intermittent Failures Robot) |
Comment 22•6 years ago
|
||
I'm not sure if the "gray area" in that screenshot has a lot of significance, I often see that in mochitest screenshots from automation. Is there a way to locally reproduce this?
Flags: needinfo?(jhofmann)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•6 years ago
|
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•