Closed
Bug 1479593
Opened 6 years ago
Closed 6 years ago
Intermittent testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py TestSSLDisabledErrorPage.test_ssl_disabled_error_page | StaleElementException: The element reference of <h1 class="title-text"> is stale;
Categories
(Testing :: Firefox UI Tests, defect, P5)
Tracking
(firefox63 affected)
RESOLVED
DUPLICATE
of bug 1478848
Tracking | Status | |
---|---|---|
firefox63 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: ccoroiu [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=190953700&repo=autoland https://queue.taskcluster.net/v1/task/DGmVKbsnS1S92jag4I5_og/runs/0/artifacts/public/logs/live_backing.log [task 2018-07-30T20:02:50.220Z] 20:02:50 INFO - 1532980970209 Marionette TRACE 16 -> [0,60,"WebDriver:FindElement",{"using":"class name","value":"title-text"}] [task 2018-07-30T20:02:50.297Z] 20:02:50 INFO - 1532980970286 Marionette TRACE 16 <- [1,60,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"a36406cb-f954-4235-ba32-fe28034dfcc3"}}] [task 2018-07-30T20:02:50.300Z] 20:02:50 INFO - 1532980970298 Marionette TRACE 16 -> [0,61,"L10n:LocalizeEntity",{"id":"nssFailure2.title","urls":["chrome://branding/locale/brand.dtd","chrome://browser/locale/aboutPrivateBrowsing.dtd","chrome://browser/locale/browser.dtd","chrome://browser/locale/netError.dtd"]}] [task 2018-07-30T20:02:50.321Z] 20:02:50 INFO - 1532980970315 Marionette TRACE 16 <- [1,61,null,{"value":"Secure Connection Failed"}] [task 2018-07-30T20:02:50.326Z] 20:02:50 INFO - 1532980970323 Marionette TRACE 16 -> [0,62,"WebDriver:GetElementProperty",{"id":"a36406cb-f954-4235-ba32-fe28034dfcc3","name":"textContent"}] [task 2018-07-30T20:02:50.383Z] 20:02:50 INFO - 1532980970376 Marionette TRACE 16 <- [1,62,null,{"value":"Secure Connection Failed"}] [task 2018-07-30T20:02:50.399Z] 20:02:50 INFO - 1532980970383 Marionette TRACE 16 -> [0,63,"WebDriver:FindElement",{"using":"id","value":"errorShortDescText"}] [task 2018-07-30T20:02:50.416Z] 20:02:50 INFO - 1532980970407 Marionette TRACE 16 <- [1,63,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"44e37f8c-6d0d-499b-9dfa-834d8cef9ffa"}}] [task 2018-07-30T20:02:50.418Z] 20:02:50 INFO - 1532980970412 Marionette TRACE 16 -> [0,64,"WebDriver:GetElementProperty",{"id":"44e37f8c-6d0d-499b-9dfa-834d8cef9ffa","name":"textContent"}] [task 2018-07-30T20:02:50.435Z] 20:02:50 INFO - 1532980970429 Marionette TRACE 16 <- [1,64,null,{"value":"An error occurred during a connection to tls-v1-0.badssl.com:1010. Peer using unsupported version of security protocol.\n\nError code: SSL_ERROR_UNSUPPORTED_VERSION\n"}] [task 2018-07-30T20:02:50.452Z] 20:02:50 INFO - --DOMWINDOW == 29 (0xe1721c00) [pid = 802] [serial = 58] [outer = (nil)] [url = about:blank] [task 2018-07-30T20:02:50.453Z] 20:02:50 INFO - --DOMWINDOW == 28 (0xe00ab400) [pid = 802] [serial = 59] [outer = (nil)] [url = about:blank] [task 2018-07-30T20:02:50.454Z] 20:02:50 INFO - --DOMWINDOW == 27 (0xe00b2000) [pid = 802] [serial = 54] [outer = (nil)] [url = about:blank] [task 2018-07-30T20:02:50.455Z] 20:02:50 INFO - --DOMWINDOW == 26 (0xe04e0800) [pid = 802] [serial = 55] [outer = (nil)] [url = about:blank] [task 2018-07-30T20:02:50.456Z] 20:02:50 INFO - --DOMWINDOW == 25 (0xde10bc00) [pid = 802] [serial = 56] [outer = (nil)] [url = about:about] [task 2018-07-30T20:02:50.457Z] 20:02:50 INFO - --DOMWINDOW == 24 (0xde102800) [pid = 802] [serial = 52] [outer = (nil)] [url = about:about] [task 2018-07-30T20:02:50.465Z] 20:02:50 INFO - 1532980970455 Marionette TRACE 16 -> [0,65,"WebDriver:FindElement",{"using":"id","value":"prefResetButton"}] [task 2018-07-30T20:02:50.487Z] 20:02:50 INFO - 1532980970484 Marionette TRACE 16 <- [1,65,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"fcc5348b-4be9-40b6-8672-8562c8624641"}}] [task 2018-07-30T20:02:50.496Z] 20:02:50 INFO - 1532980970490 Marionette TRACE 16 -> [0,66,"WebDriver:ElementClick",{"id":"fcc5348b-4be9-40b6-8672-8562c8624641"}] [task 2018-07-30T20:02:50.848Z] 20:02:50 INFO - 1532980970840 Marionette DEBUG [30064771073] Canceled page load listener because no navigation has been detected [task 2018-07-30T20:02:51.095Z] 20:02:51 INFO - 1532980971091 Marionette TRACE 16 <- [1,66,null,{"value":null}] [task 2018-07-30T20:02:51.152Z] 20:02:51 INFO - 1532980971147 Marionette TRACE 16 -> [0,67,"WebDriver:GetTimeouts",{}] [task 2018-07-30T20:02:51.154Z] 20:02:51 INFO - 1532980971149 Marionette TRACE 16 <- [1,67,null,{"implicit":0,"pageLoad":300000,"script":30000}] [task 2018-07-30T20:02:51.231Z] 20:02:51 INFO - 1532980971225 Marionette TRACE 16 -> [0,68,"WebDriver:FindElement",{"using":"tag name","value":"h1"}] [task 2018-07-30T20:02:51.288Z] 20:02:51 INFO - 1532980971283 Marionette TRACE 16 <- [1,68,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"a36406cb-f954-4235-ba32-fe28034dfcc3"}}] [task 2018-07-30T20:02:51.336Z] 20:02:51 INFO - 1532980971327 Marionette TRACE 16 -> [0,69,"WebDriver:GetElementProperty",{"id":"a36406cb-f954-4235-ba32-fe28034dfcc3","name":"innerText"}] [task 2018-07-30T20:02:51.357Z] 20:02:51 INFO - ++DOMWINDOW == 4 (0xe915e000) [pid = 1195] [serial = 4] [outer = 0xf7068d90] [task 2018-07-30T20:02:51.459Z] 20:02:51 INFO - 1532980971453 Marionette TRACE 16 <- [1,69,{"error":"stale element reference","message":"The element reference of <h1 class=\"title-text\"> is stale; either the e ... :534:3\nregisterSelf@chrome://marionette/content/listener.js:458:5\n@chrome://marionette/content/listener.js:1681:1\n"},null] [task 2018-07-30T20:02:51.519Z] 20:02:51 INFO - 1532980971516 Marionette TRACE 16 -> [0,70,"Marionette:SetContext",{"value":"chrome"}] [task 2018-07-30T20:02:51.529Z] 20:02:51 INFO - 1532980971523 Marionette TRACE 16 <- [1,70,null,{"value":null}] [task 2018-07-30T20:02:51.566Z] 20:02:51 INFO - 1532980971556 Marionette TRACE 16 -> [0,71,"Marionette:GetContext",{}] [task 2018-07-30T20:02:51.567Z] 20:02:51 INFO - 1532980971559 Marionette TRACE 16 <- [1,71,null,{"value":"chrome"}] [task 2018-07-30T20:02:51.569Z] 20:02:51 INFO - --DOCSHELL 0xe00b0400 == 6 [pid = 802] [id = {a2cd1e77-4add-4e98-b18e-f22ef4c0ddb3}] [task 2018-07-30T20:02:51.569Z] 20:02:51 INFO - --DOMWINDOW == 23 (0xdfc038e0) [pid = 802] [serial = 61] [outer = (nil)] [url = about:about] [task 2018-07-30T20:02:51.570Z] 20:02:51 INFO - --DOMWINDOW == 22 (0xdfc03680) [pid = 802] [serial = 57] [outer = (nil)] [url = about:about] [task 2018-07-30T20:02:51.573Z] 20:02:51 INFO - 1532980971571 Marionette TRACE 16 -> [0,72,"Marionette:SetContext",{"value":"chrome"}] [task 2018-07-30T20:02:51.581Z] 20:02:51 INFO - 1532980971575 Marionette TRACE 16 <- [1,72,null,{"value":null}] [task 2018-07-30T20:02:51.597Z] 20:02:51 INFO - 1532980971593 Marionette TRACE 16 -> [0,73,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}] [task 2018-07-30T20:02:51.633Z] 20:02:51 INFO - [Parent 802, Main Thread] WARNING: Remote iframe not rendered: file /builds/worker/workspace/build/src/layout/ipc/RenderFrameParent.cpp, line 182 [task 2018-07-30T20:02:51.736Z] 20:02:51 INFO - 1532980971734 Marionette TRACE 16 <- [1,73,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQQCAYAAAC9RfbYAAAgAElEQVR4nOzd3Ytc95ng8b4cyMUO+QfWVwENE5yQwWtwsk4Y2AEjSMYX ... D9bAZAnkejd48BqgRAAAAAWE8A3LH1NUlgLQEQAAAA1hMAD5j5qiowTgAEAACA9QRA4DYEQAAAAFhPAARuQwAEAACA9f4Hx4AjpPTW4yEAAAAASUVORK5CYII="}] [task 2018-07-30T20:02:51.835Z] 20:02:51 INFO - 1532980971829 Marionette TRACE 16 -> [0,74,"Marionette:SetContext",{"value":"chrome"}] [task 2018-07-30T20:02:51.836Z] 20:02:51 INFO - 1532980971830 Marionette TRACE 16 <- [1,74,null,{"value":null}] [task 2018-07-30T20:02:51.840Z] 20:02:51 INFO - 1532980971836 Marionette TRACE 16 -> [0,75,"Marionette:GetContext",{}] [task 2018-07-30T20:02:51.843Z] 20:02:51 INFO - 1532980971838 Marionette TRACE 16 <- [1,75,null,{"value":"chrome"}] [task 2018-07-30T20:02:51.844Z] 20:02:51 INFO - 1532980971842 Marionette TRACE 16 -> [0,76,"Marionette:SetContext",{"value":"content"}] [task 2018-07-30T20:02:51.848Z] 20:02:51 INFO - 1532980971845 Marionette TRACE 16 <- [1,76,null,{"value":null}] [task 2018-07-30T20:02:51.865Z] 20:02:51 INFO - 1532980971858 Marionette TRACE 16 -> [0,77,"WebDriver:GetPageSource",{}] [task 2018-07-30T20:02:51.867Z] 20:02:51 INFO - 1532980971864 Marionette TRACE 16 <- [1,77,null,{"value":"<html><head>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <link rel=\" ... div id=\"content\">\n <h1 style=\"font-size: 12vw;\">\n tls-v1-0.<br>badssl.com\n </h1>\n</div>\n\n\n\n</body></html>"}] [task 2018-07-30T20:02:51.871Z] 20:02:51 INFO - 1532980971869 Marionette TRACE 16 -> [0,78,"Marionette:SetContext",{"value":"chrome"}] [task 2018-07-30T20:02:51.892Z] 20:02:51 INFO - TEST-UNEXPECTED-ERROR | testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py TestSSLDisabledErrorPage.test_ssl_disabled_error_page | StaleElementException: The element reference of <h1 class="title-text"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed [task 2018-07-30T20:02:51.894Z] 20:02:51 INFO - stacktrace: [task 2018-07-30T20:02:51.895Z] 20:02:51 INFO - WebDriverError@chrome://marionette/content/error.js:178:5 [task 2018-07-30T20:02:51.895Z] 20:02:51 INFO - StaleElementReferenceError@chrome://marionette/content/error.js:437:5 [task 2018-07-30T20:02:51.896Z] 20:02:51 INFO - get@chrome://marionette/content/element.js:240:13 [task 2018-07-30T20:02:51.897Z] 20:02:51 INFO - evaluate.fromJSON@chrome://marionette/content/evaluate.js:187:18 [task 2018-07-30T20:02:51.898Z] 20:02:51 INFO - evaluate.fromJSON/<@chrome://marionette/content/evaluate.js:181:29 [task 2018-07-30T20:02:51.899Z] 20:02:51 INFO - evaluate.fromJSON@chrome://marionette/content/evaluate.js:181:16 [task 2018-07-30T20:02:51.900Z] 20:02:51 INFO - dispatch/</req<@chrome://marionette/content/listener.js:478:20 [task 2018-07-30T20:02:51.901Z] 20:02:51 INFO - dispatch/<@chrome://marionette/content/listener.js:477:15 [task 2018-07-30T20:02:51.901Z] 20:02:51 INFO - MessageListener.receiveMessage*startListeners@chrome://marionette/content/listener.js:534:3 [task 2018-07-30T20:02:51.902Z] 20:02:51 INFO - registerSelf@chrome://marionette/content/listener.js:458:5 [task 2018-07-30T20:02:51.903Z] 20:02:51 INFO - @chrome://marionette/content/listener.js:1681:1 [task 2018-07-30T20:02:51.904Z] 20:02:51 INFO - Traceback (most recent call last): [task 2018-07-30T20:02:51.905Z] 20:02:51 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run [task 2018-07-30T20:02:51.906Z] 20:02:51 INFO - testMethod() [task 2018-07-30T20:02:51.907Z] 20:02:51 INFO - File "/builds/worker/workspace/build/tests/firefox-ui/tests/testing/firefox-ui/tests/functional/security/test_ssl_disabled_error_page.py", line 60, in test_ssl_disabled_error_page [task 2018-07-30T20:02:51.908Z] 20:02:51 INFO - self.assertIn('tls-v1-0', el.get_property('innerText')) [task 2018-07-30T20:02:51.909Z] 20:02:51 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 84, in get_property [task 2018-07-30T20:02:51.910Z] 20:02:51 INFO - body, key="value") [task 2018-07-30T20:02:51.911Z] 20:02:51 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _ [task 2018-07-30T20:02:51.912Z] 20:02:51 INFO - return func(*args, **kwargs) [task 2018-07-30T20:02:51.912Z] 20:02:51 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 757, in _send_message [task 2018-07-30T20:02:51.913Z] 20:02:51 INFO - self._handle_error(err) [task 2018-07-30T20:02:51.914Z] 20:02:51 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 777, in _handle_error [task 2018-07-30T20:02:51.915Z] 20:02:51 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace) [task 2018-07-30T20:02:51.916Z] 20:02:51 INFO - TEST-INFO took 5447ms
Comment 1•6 years ago
|
||
The page has not been finished loading. But not sure why we get a stale reference error here, given that the get property command is directly called after find element:
> [task 2018-07-30T20:02:51.231Z] 20:02:51 INFO - 1532980971225 Marionette TRACE 16 -> [0,68,"WebDriver:FindElement",{"using":"tag name","value":"h1"}]
> [task 2018-07-30T20:02:51.288Z] 20:02:51 INFO - 1532980971283 Marionette TRACE 16 <- [1,68,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"a36406cb-f954-4235-ba32-fe28034dfcc3"}}]
> [task 2018-07-30T20:02:51.336Z] 20:02:51 INFO - 1532980971327 Marionette TRACE 16 -> [0,69,"WebDriver:GetElementProperty",{"id":"a36406cb-f954-4235-ba32-fe28034dfcc3","name":"innerText"}]
> [task 2018-07-30T20:02:51.459Z] 20:02:51 INFO - 1532980971453 Marionette TRACE 16 <- [1,69,{"error":"stale element reference","message":"The element reference of <h1 class=\"title-text\"> is stale; either the e ...
Blocks: 1414776
status-firefox63:
--- → affected
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 4•6 years ago
|
||
This is just a dupe of bug 1478848 because we do not correctly handle the page load after clicking the restore button.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•