Closed Bug 1622273 Opened 6 years ago Closed 2 years ago

Intermittent TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/new_session/default_values.py | expected OK

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(firefox-esr115 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox-esr115 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=293033872&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/C3Jow4vvSmyn_hkz0H1Zxg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-03-13T13:28:26.219Z] 13:28:26     INFO - PID 10076 | 1584106106214	Marionette	TRACE	[16] Frame script registered
[task 2020-03-13T13:28:26.236Z] 13:28:26     INFO - STDOUT: PASSED
[task 2020-03-13T13:28:26.236Z] 13:28:26     INFO - PID 10076 | 1584106106224	Marionette	DEBUG	0 <- [1,1,null,{"sessionId":"4ea0b3dd-85fa-46fb-9e85-33ec20d408c7","capabilities":{"browserName":"firefox","browserVersion":"76.0" ... /rust_mozprofileURVTu1","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2020-03-13T13:28:26.238Z] 13:28:26     INFO - PID 10076 | 1584106106230	webdriver::server	DEBUG	<- 200 OK {"value":{"sessionId":"4ea0b3dd-85fa-46fb-9e85-33ec20d408c7","capabilities":{"acceptInsecureCerts":false,"browserName":"firefox","browserVersion":"76.0","moz:accessibilityChecks":false,"moz:buildID":"20200313103407","moz:geckodriverVersion":"0.26.0","moz:headless":false,"moz:processID":12144,"moz:profile":"/tmp/rust_mozprofileURVTu1","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"pageLoadStrategy":"normal","platformName":"linux","platformVersion":"4.4.0-1014-aws","rotatable":false,"setWindowRect":true,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify"}}}
[task 2020-03-13T13:28:26.239Z] 13:28:26     INFO - PID 10076 | 1584106106234	webdriver::server	DEBUG	-> DELETE /session/4ea0b3dd-85fa-46fb-9e85-33ec20d408c7
[task 2020-03-13T13:28:26.242Z] 13:28:26     INFO - PID 10076 | 1584106106237	Marionette	DEBUG	0 -> [0,2,"Marionette:Quit",{"flags":["eForceQuit"]}]
[task 2020-03-13T13:28:26.244Z] 13:28:26     INFO - PID 10076 | 1584106106238	Marionette	INFO	Stopped listening on port 2828
[task 2020-03-13T13:28:26.614Z] 13:28:26     INFO - PID 10076 | 1584106106607	Marionette	TRACE	Received observer notification quit-application
[task 2020-03-13T13:28:26.622Z] 13:28:26     INFO - PID 10076 | 1584106106613	Marionette	DEBUG	0 <- [1,2,null,{"cause":"shutdown"}]
[task 2020-03-13T13:28:26.659Z] 13:28:26     INFO - PID 10076 | 1584106106646	webdriver::server	DEBUG	Deleting session
[task 2020-03-13T13:28:26.661Z] 13:28:26     INFO - PID 10076 | 1584106106652	Marionette	DEBUG	0 -> [0,3,"Marionette:Quit",{"flags":["eForceQuit"]}]
[task 2020-03-13T13:28:26.662Z] 13:28:26     INFO - PID 10076 | 1584106106652	Marionette	DEBUG	0 <- [1,3,{"error":"invalid session id","message":"Tried to run command without establishing a connection","stacktrace":"WebDriver ... t@chrome://marionette/content/server.js:249:9\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:501:20\n"},null]
[task 2020-03-13T13:28:26.678Z] 13:28:26     INFO - PID 10076 | 1584106106669	Marionette	DEBUG	Closed connection 0
[task 2020-03-13T13:28:41.656Z] 13:28:41     INFO - PID 10076 | console.error: (new Error("SessionFile is closed", "resource:///modules/sessionstore/SessionFile.jsm", 433))
[task 2020-03-13T13:28:52.026Z] 13:28:52     INFO - TEST-UNEXPECTED-TIMEOUT | /webdriver/tests/new_session/default_values.py | expected OK
[task 2020-03-13T13:28:52.026Z] 13:28:52     INFO - TEST-INFO took 185019ms
[task 2020-03-13T13:28:52.092Z] 13:28:52     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_session/default_values.py::test_ignore_non_spec_fields_in_capabilities 
[task 2020-03-13T13:28:52.092Z] 13:28:52     INFO - STDOUT: ERROR
[task 2020-03-13T13:28:52.093Z] 13:28:52     INFO - STDOUT: ==================================== ERRORS ====================================
[task 2020-03-13T13:28:52.094Z] 13:28:52     INFO - STDOUT: _______ ERROR at teardown of test_ignore_non_spec_fields_in_capabilities _______
[task 2020-03-13T13:28:52.094Z] 13:28:52     INFO - STDOUT: request = <SubRequest 'new_session' for <Function 'test_ignore_non_spec_fields_in_capabilities'>>
[task 2020-03-13T13:28:52.095Z] 13:28:52     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 57266}
[task 2020-03-13T13:28:52.095Z] 13:28:52     INFO - STDOUT: current_session = None
[task 2020-03-13T13:28:52.096Z] 13:28:52     INFO - STDOUT:     @pytest.fixture(name="new_session")
[task 2020-03-13T13:28:52.096Z] 13:28:52     INFO - STDOUT:     def fixture_new_session(request, configuration, current_session):
[task 2020-03-13T13:28:52.097Z] 13:28:52     INFO - STDOUT:         """Start a new session for tests which themselves test creating new sessions.
[task 2020-03-13T13:28:52.097Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.098Z] 13:28:52     INFO - STDOUT:         :param body: The content of the body for the new session POST request.
[task 2020-03-13T13:28:52.098Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.099Z] 13:28:52     INFO - STDOUT:         :param delete_existing_session: Allows the fixture to delete an already
[task 2020-03-13T13:28:52.100Z] 13:28:52     INFO - STDOUT:          created custom session before the new session is getting created. This
[task 2020-03-13T13:28:52.101Z] 13:28:52     INFO - STDOUT:          is useful for tests which call this fixture multiple times within the
[task 2020-03-13T13:28:52.101Z] 13:28:52     INFO - STDOUT:          same test.
[task 2020-03-13T13:28:52.102Z] 13:28:52     INFO - STDOUT:         """
[task 2020-03-13T13:28:52.102Z] 13:28:52     INFO - STDOUT:         custom_session = {}
[task 2020-03-13T13:28:52.103Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.103Z] 13:28:52     INFO - STDOUT:         transport = HTTPWireProtocol(
[task 2020-03-13T13:28:52.108Z] 13:28:52     INFO - STDOUT:             configuration["host"], configuration["port"], url_prefix="/",
[task 2020-03-13T13:28:52.109Z] 13:28:52     INFO - Closing logging queue
[task 2020-03-13T13:28:52.109Z] 13:28:52     INFO - STDOUT:         )
[task 2020-03-13T13:28:52.109Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.110Z] 13:28:52     INFO - STDOUT:         def _delete_session(session_id):
[task 2020-03-13T13:28:52.110Z] 13:28:52     INFO - STDOUT:             transport.send("DELETE", "session/{}".format(session_id))
[task 2020-03-13T13:28:52.111Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.112Z] 13:28:52     INFO - STDOUT:         def new_session(body, delete_existing_session=False):
[task 2020-03-13T13:28:52.113Z] 13:28:52     INFO - STDOUT:             # If there is an active session from the global session fixture,
[task 2020-03-13T13:28:52.113Z] 13:28:52     INFO - STDOUT:             # delete that one first
[task 2020-03-13T13:28:52.113Z] 13:28:52     INFO - STDOUT:             if current_session is not None:
[task 2020-03-13T13:28:52.114Z] 13:28:52     INFO - STDOUT:                 current_session.end()
[task 2020-03-13T13:28:52.114Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.115Z] 13:28:52     INFO - STDOUT:             if delete_existing_session:
[task 2020-03-13T13:28:52.116Z] 13:28:52     INFO - STDOUT:                 _delete_session(custom_session["session"]["sessionId"])
[task 2020-03-13T13:28:52.116Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.116Z] 13:28:52     INFO - STDOUT:             response = transport.send("POST", "session", body)
[task 2020-03-13T13:28:52.120Z] 13:28:52     INFO - STDOUT:             if response.status == 200:
[task 2020-03-13T13:28:52.121Z] 13:28:52     INFO - STDOUT:                 custom_session["session"] = response.body["value"]
[task 2020-03-13T13:28:52.121Z] 13:28:52     INFO - STDOUT:             return response, custom_session.get("session", None)
[task 2020-03-13T13:28:52.121Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.121Z] 13:28:52     INFO - STDOUT:         yield new_session
[task 2020-03-13T13:28:52.121Z] 13:28:52     INFO - STDOUT:     
[task 2020-03-13T13:28:52.122Z] 13:28:52     INFO - STDOUT:         if custom_session.get("session") is not None:
[task 2020-03-13T13:28:52.122Z] 13:28:52     INFO - STDOUT: >           _delete_session(custom_session["session"]["sessionId"])
[task 2020-03-13T13:28:52.122Z] 13:28:52     INFO - STDOUT: _delete_session = <function _delete_session at 0x7fd0619e3650>
[task 2020-03-13T13:28:52.122Z] 13:28:52     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 57266}
[task 2020-03-13T13:28:52.122Z] 13:28:52     INFO - STDOUT: current_session = None
[task 2020-03-13T13:28:52.123Z] 13:28:52     INFO - STDOUT: custom_session = {'session': {'capabilities': {'acceptInsecureCerts': False, 'browserName': 'firefox', 'browserVersion': '76.0', 'moz:accessibilityChecks': False, ...}, 'sessionId': '4ea0b3dd-85fa-46fb-9e85-33ec20d408c7'}}
[task 2020-03-13T13:28:52.123Z] 13:28:52     INFO - STDOUT: new_session = <function new_session at 0x7fd0619e38d0>
[task 2020-03-13T13:28:52.123Z] 13:28:52     INFO - STDOUT: request    = <SubRequest 'new_session' for <Function 'test_ignore_non_spec_fields_in_capabilities'>>
[task 2020-03-13T13:28:52.123Z] 13:28:52     INFO - STDOUT: transport  = <webdriver.transport.HTTPWireProtocol object at 0x7fd061ef3310>
[task 2020-03-13T13:28:52.123Z] 13:28:52     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_session/conftest.py
[task 2020-03-13T13:28:52.124Z] 13:28:52     INFO - STDOUT: :78: 
[task 2020-03-13T13:28:52.124Z] 13:28:52     INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-03-13T13:28:52.124Z] 13:28:52     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_session/conftest.py
[task 2020-03-13T13:28:52.124Z] 13:28:52     INFO - STDOUT: :59: in _delete_session
[task 2020-03-13T13:28:52.124Z] 13:28:52     INFO - STDOUT:     transport.send("DELETE", "session/{}".format(session_id))
[task 2020-03-13T13:28:52.125Z] 13:28:52     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2020-03-13T13:28:52.125Z] 13:28:52     INFO - STDOUT: :182: in send
[task 2020-03-13T13:28:52.125Z] 13:28:52     INFO - STDOUT:     response = self._request(method, uri, payload, headers, timeout=None)
[task 2020-03-13T13:28:52.125Z] 13:28:52     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2020-03-13T13:28:52.125Z] 13:28:52     INFO - STDOUT: :207: in _request
[task 2020-03-13T13:28:52.126Z] 13:28:52     INFO - STDOUT:     response = self.connection.getresponse()
[task 2020-03-13T13:28:52.126Z] 13:28:52     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-03-13T13:28:52.126Z] 13:28:52     INFO - STDOUT: :1148: in getresponse
[task 2020-03-13T13:28:52.126Z] 13:28:52     INFO - STDOUT:     response.begin()
[task 2020-03-13T13:28:52.126Z] 13:28:52     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-03-13T13:28:52.127Z] 13:28:52     INFO - STDOUT: :448: in begin
[task 2020-03-13T13:28:52.127Z] 13:28:52     INFO - STDOUT:     version, status, reason = self._read_status()
[task 2020-03-13T13:28:52.127Z] 13:28:52     INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-03-13T13:28:52.127Z] 13:28:52     INFO - STDOUT: self = <httplib.HTTPResponse instance at 0x7fd061fcad70>
[task 2020-03-13T13:28:52.127Z] 13:28:52     INFO - STDOUT:     def _read_status(self):
[task 2020-03-13T13:28:52.128Z] 13:28:52     INFO - STDOUT:         # Initialize with Simple-Response defaults
[task 2020-03-13T13:28:52.128Z] 13:28:52     INFO - STDOUT:         line = self.fp.readline(_MAXLINE + 1)
[task 2020-03-13T13:28:52.129Z] 13:28:52     INFO - STDOUT:         if len(line) > _MAXLINE:
[task 2020-03-13T13:28:52.129Z] 13:28:52     INFO - STDOUT:             raise LineTooLong("header line")
[task 2020-03-13T13:28:52.129Z] 13:28:52     INFO - STDOUT:         if self.debuglevel > 0:
[task 2020-03-13T13:28:52.129Z] 13:28:52     INFO - queue closed
[task 2020-03-13T13:28:52.130Z] 13:28:52     INFO - Starting runner
[task 2020-03-13T13:28:52.143Z] 13:28:52     INFO - PID 12484 | 1584106132140	geckodriver	DEBUG	Listening on 127.0.0.1:56043
[task 2020-03-13T13:28:52.643Z] 13:28:52     INFO - WebDriver HTTP server listening at http://127.0.0.1:56043/
[task 2020-03-13T13:28:52.644Z] 13:28:52     INFO - TEST-START | /webdriver/tests/new_session/invalid_capabilities.py
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago → 2 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

It's probably only esr115 which is affected.

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