Closed Bug 1372020 Opened 7 years ago Closed 5 years ago

Intermittent testing/firefox-ui/tests/functional/security/test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'expired.badssl.com' not found in u''

Categories

(Testing :: Firefox UI Tests, defect)

Version 3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: bulk-close-intermittents, intermittent-failure)

Filed by: archaeopteryx [at] coole-files.de

https://treeherder.mozilla.org/logviewer.html#?job_id=106181583&repo=mozilla-inbound

[object Object]
14:05:19     INFO -  1497189919570	Marionette	TRACE	48 -> [0,136,"clickElement",{"id":"4f4febcc-278b-47cb-b799-ae7f02c685e8"}]
14:05:19     INFO -  1497189919718	Marionette	DEBUG	Received DOM event "beforeunload" for "about:blocked?e=unwantedBlocked&u=https%3A//www.itisatrap.org/firefox/unwanted.html&o=1&s=blacklist&c=UTF-8&f=regular&d=The%20site%20at%20www.itisatrap.org%20has%20been%20reported%20as%20serving%20unwanted%20software%20and%20has%20been%20blocked%20based%20on%20your%20security%20preferences."
14:05:19     INFO -  [Parent 1520] WARNING: We should have hit the document element...: file z:/build/build/src/layout/xul/BoxObject.cpp, line 174
14:05:24     INFO -  1497189924919	Marionette	DEBUG	Canceled page load listener because no navigation has been detected

Something didn't actually trigger a page load or it exceeded our timeout due to a slow build. Not sure if the BoxObject warning plays into here.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
The domain has been changed by bug 1414776, and a failure just happened since its landing.
Blocks: 1414776
Status: VERIFIED → REOPENED
Resolution: INCOMPLETE → ---
Summary: Intermittent test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'ssl-expired.mozqa.com' not found in u'' → Intermittent test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'expired.badssl.com' not found in u''

Failure didn't occur again in the last 7 months.

Status: REOPENED → RESOLVED
Closed: 7 years ago5 years ago
Resolution: --- → WORKSFORME
Summary: Intermittent test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'expired.badssl.com' not found in u'' → Intermittent testing/firefox-ui/tests/functional/security/test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'expired.badssl.com' not found in u''

Recent failure https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&resultStatus=testfailed%2Cbusted%2Cexception&revision=7e5e1c5a692dc2a43d51c385445d31c3f796831e&searchStr=linux%2Cx64%2Cpgo%2Cfirefox%2Cfunctional%2Ctests%2C%28remote%29%2Cwith%2Ce10s%2Ctest-linux64-pgo%2Fopt-firefox-ui-functional-remote-e10s%2Cfxfn-r-e10s%28en-us%29

Failure log https://treeherder.mozilla.org/logviewer.html#?job_id=232501278&repo=mozilla-inbound

Part of that log
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199366 Marionette DEBUG 7 -> [0,84,"Marionette:SetContext",{"value":"chrome"}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199366 Marionette DEBUG 7 <- [1,84,null,{"value":null}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199367 Marionette DEBUG 7 -> [0,85,"Marionette:GetContext",{}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199367 Marionette DEBUG 7 <- [1,85,null,{"value":"chrome"}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199368 Marionette DEBUG 7 -> [0,86,"Marionette:SetContext",{"value":"content"}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199369 Marionette DEBUG 7 <- [1,86,null,{"value":null}]
[task 2019-03-07T20:23:19.375Z] 20:23:19 INFO - 1551990199370 Marionette DEBUG 7 -> [0,87,"WebDriver:GetPageSource",{}]
[task 2019-03-07T20:23:19.376Z] 20:23:19 INFO - 1551990199373 Marionette DEBUG 7 <- [1,87,null,{"value":"<html xmlns="http://www.w3.org/1999/xhtml">\n <head>\n <meta http-equiv="Content-Security-Policy\ ... n </body>\n <script type="application/javascript" src="chrome://browser/content/aboutNetError.js"></script>\n</html>"}]
[task 2019-03-07T20:23:19.411Z] 20:23:19 INFO - TEST-UNEXPECTED-FAIL | testing/firefox-ui/tests/functional/security/test_security_notification.py TestSecurityNotification.test_invalid_cert | AssertionError: 'expired.badssl.com' not found in u''
[task 2019-03-07T20:23:19.412Z] 20:23:19 INFO - Traceback (most recent call last):
[task 2019-03-07T20:23:19.413Z] 20:23:19 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2019-03-07T20:23:19.418Z] 20:23:19 INFO - testMethod()
[task 2019-03-07T20:23:19.419Z] 20:23:19 INFO - File "/builds/worker/workspace/build/tests/firefox-ui/tests/testing/firefox-ui/tests/functional/security/test_security_notification.py", line 39, in test_invalid_cert
[task 2019-03-07T20:23:19.420Z] 20:23:19 INFO - self.assertIn(self.urls[0][8:], text.get_property('textContent'))
[task 2019-03-07T20:23:19.420Z] 20:23:19 INFO - TEST-INFO took 54838ms

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

<script type="application/javascript" src="chrome://browser/content/aboutNetError.js">

The internet temporarily failed. There's not much anyone can do about that with this old finished bug. If you'd like to improve these tests to be more resilient to random internet failures, please open a new bug for the release team and reference this bug as the historical record for how we ended up here.

Re-closing oldbug, please do not reopen.

Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.