Intermittent test_navigation.py TestTLSNavigation.test_navigate_by_click | InsecureCertificateException:

VERIFIED INCOMPLETE

Status

Testing
Marionette
VERIFIED INCOMPLETE
7 months ago
3 months ago

People

(Reporter: Treeherder Bug Filer, Unassigned)

Tracking

({bulk-close-intermittents, intermittent-failure})

Version 3
bulk-close-intermittents, intermittent-failure
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 months ago
treeherder
Filed by: wkocher [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=96047622&repo=autoland

https://queue.taskcluster.net/v1/task/C-c8AOhEQB2CpIpWsOJP7g/runs/0/artifacts/public/logs/live_backing.log
The test looks like:

        link_url = self.test_page_insecure
        self.marionette.navigate(
            inline("<a href=%s>https is the future</a>" % link_url))
        self.marionette.find_element(By.TAG_NAME, "a").click()
        self.assertIn("https", self.marionette.get_url())

So clicking the link should actually not return an insecure certificate error, given that the tests in this class allow it those certs by default. But such an error is thrown:


1493758041327	Marionette	TRACE	1060 -> [0,4,"clickElement",{"id":"e2e1812e-8014-46cf-b532-4b92862b98a4"}]
1493758041888	Marionette	DEBUG	Received DOM event "pagehide" for "data:text/html;charset=utf-8,%3Ca%20href%3Dhttps%3A//127.0.0.1%3A34245/test.html%3Ehttps%20is%20the%20future%3C/a%3E"
1493758041891	Marionette	DEBUG	Received DOM event "unload" for "data:text/html;charset=utf-8,%3Ca%20href%3Dhttps%3A//127.0.0.1%3A34245/test.html%3Ehttps%20is%20the%20future%3C/a%3E"
1493758042183	Marionette	DEBUG	Received DOM event "DOMContentLoaded" for "about:certerror?e=nssBadCert&u=https%3A//127.0.0.1%3A34245/test.html&c=UTF-8&f=regular&d=127.0.0.1%3A34245%20uses%20an%20invalid%20security%20certificate.%0A%0AThe%20certificate%20is%20not%20trusted%20because%20the%20issuer%20certificate%20is%20unknown.%0AThe%20server%20might%20not%20be%20sending%20the%20appropriate%20intermediate%20certificates.%0AAn%20additional%20root%20certificate%20may%20need%20to%20be%20imported.%0AThe%20certificate%20is%20only%20valid%20for%20the%20following%20names%3A%0A%20%20web-platform.test%2C%20www.web-platform.test%2C%20xn--n8j6ds53lwwkrqhv28a.web-platform.test%2C%20xn--lve-6lad.web-platform.test%2C%20www2.web-platform.test%2C%20www1.web-platform.test%20%20%0A%0AError%20code%3A%20%3Ca%20id%3D%22errorCode%22%20title%3D%22SEC_ERROR_UNKNOWN_ISSUER%22%3ESEC_ERROR_UNKNOWN_ISSUER%3C/a%3E%0A"
1493758042227	Marionette	TRACE	1060 <- [1,4,{"error":"insecure certificate","message":"","stacktrace":"WebDriverError@chrome://marionette/content/error.js:212:5\nInsecureCertificateError@chrome://marionette/content/error.js:308:5\nhandleEvent@chrome://marionette/content/listener.js:240:21\n"},null]
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Keywords: bulk-close-intermittents
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.