Intermittent Wd | <random> - setup error: TypeError: argument must be an int, or have a fileno() method
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure, regression)
Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=255857729&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/FLHnsaE4S3OygsCyfO8_Zg/runs/0/artifacts/public/logs/live_backing.log
[task 2019-07-11T02:27:54.596Z] 02:27:54 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_type_with_invalid_type[True]'>>
[task 2019-07-11T02:27:54.596Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/fixtures.py
[task 2019-07-11T02:27:54.597Z] 02:27:54 INFO - STDOUT: :150:
[task 2019-07-11T02:27:54.597Z] 02:27:54 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-07-11T02:27:54.599Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2019-07-11T02:27:54.599Z] 02:27:54 INFO - STDOUT: :421: in start
[task 2019-07-11T02:27:54.600Z] 02:27:54 INFO - STDOUT: value = self.send_command("POST", "session", body=body)
[task 2019-07-11T02:27:54.600Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2019-07-11T02:27:54.601Z] 02:27:54 INFO - STDOUT: :463: in send_command
[task 2019-07-11T02:27:54.602Z] 02:27:54 INFO - STDOUT: session=self)
[task 2019-07-11T02:27:54.603Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2019-07-11T02:27:54.603Z] 02:27:54 INFO - STDOUT: :175: in send
[task 2019-07-11T02:27:54.604Z] 02:27:54 INFO - STDOUT: response = self._request(method, uri, payload, headers)
[task 2019-07-11T02:27:54.604Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2019-07-11T02:27:54.605Z] 02:27:54 INFO - STDOUT: :188: in _request
[task 2019-07-11T02:27:54.606Z] 02:27:54 INFO - STDOUT: if self._has_unread_data():
[task 2019-07-11T02:27:54.606Z] 02:27:54 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-07-11T02:27:54.607Z] 02:27:54 INFO - STDOUT: self = <webdriver.transport.HTTPWireProtocol object at 0x7fe9d5d901d0>
[task 2019-07-11T02:27:54.612Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.612Z] 02:27:54 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/new_window/new.py | test_null_parameter_value - setup error
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO - capabilities = {}
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...rm.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}, 'host': '127.0.0.1', 'port': 35030}
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO - @pytest.fixture(scope="function")
[task 2019-07-11T02:27:54.613Z] 02:27:54 INFO - def session(capabilities, configuration, request):
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - does not demand that we start a new session per test."""
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - global _current_session
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - # Update configuration capabilities with custom ones from the
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - # capabilities fixture, which can be set by tests
[task 2019-07-11T02:27:54.614Z] 02:27:54 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - caps.update(capabilities)
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - caps = {"alwaysMatch": caps}
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - # If there is a session with different capabilities active, end it now
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - if _current_session is not None and (
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - caps != _current_session.requested_capabilities):
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - _current_session.end()
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO - _current_session = None
[task 2019-07-11T02:27:54.615Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - if _current_session is None:
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - _current_session = webdriver.Session(
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - configuration["host"],
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - configuration["port"],
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - capabilities=caps)
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - try:
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - > _current_session.start()
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - capabilities = {}
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs...w.xn--n8j6ds53lwwkrqhv28a.web-platform.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}}
[task 2019-07-11T02:27:54.616Z] 02:27:54 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...rm.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}, 'host': '127.0.0.1', 'port': 35030}
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO -
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:421: in start
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - value = self.send_command("POST", "session", body=body)
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:463: in send_command
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - session=self)
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:175: in send
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - response = self._request(method, uri, payload, headers)
[task 2019-07-11T02:27:54.617Z] 02:27:54 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:190: in _request
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self.connection.request(method, url, payload, headers)
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:1057: in request
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self._send_request(method, url, body, headers)
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:1097: in _send_request
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self.endheaders(body)
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:1053: in endheaders
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self._send_output(message_body)
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:897: in _send_output
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self.send(msg)
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:859: in send
[task 2019-07-11T02:27:54.618Z] 02:27:54 INFO - self.connect()
[task 2019-07-11T02:27:54.619Z] 02:27:54 INFO - /usr/lib/python2.7/httplib.py:836: in connect
[task 2019-07-11T02:27:54.619Z] 02:27:54 INFO - self.timeout, self.source_address)
Comment hidden (Intermittent Failures Robot) |
Comment 2•6 years ago
|
||
Because of the connection problem I also see:
[task 2019-07-11T02:27:54.704Z] 02:27:54 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:194: TypeError
[task 2019-07-11T02:27:54.704Z] 02:27:54 INFO - TEST-OK | /webdriver/tests/new_window/new.py | took 1022ms
[task 2019-07-11T02:27:54.705Z] 02:27:54 INFO - STDOUT: def _has_unread_data(self):
[task 2019-07-11T02:27:54.706Z] 02:27:54 INFO - STDOUT: > return self._conn and select.select([self._conn.sock], [], [], 0)[0]
[task 2019-07-11T02:27:54.707Z] 02:27:54 INFO - STDOUT: E TypeError: argument must be an int, or have a fileno() method.
[task 2019-07-11T02:27:54.707Z] 02:27:54 INFO - STDOUT: self = <webdriver.transport.HTTPWireProtocol object at 0x7fe9d5d901d0>
[task 2019-07-11T02:27:54.707Z] 02:27:54 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2019-07-11T02:27:54.708Z] 02:27:54 INFO - STDOUT: :194: TypeError
So there is indeed a problem with the socket. For now lets call out the 98 error in the bug's summary so that we can track more occurrences.
Comment 3•6 years ago
|
||
Updated•5 years ago
|
Updated•4 years ago
|
Comment 9•2 years ago
|
||
Description
•