Closed Bug 1560522 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error: TypeError: argument must be an int, or have a fileno() method

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

Filed by: malexandru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=252780461&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/X8JKbI2oTPqR3JkrKJGC_w/runs/0/artifacts/public/logs/live_backing.log


[task 2019-06-21T11:09:46.576Z] 11:09:46 INFO - STDOUT: response = self._request(method, uri, payload, headers)
[task 2019-06-21T11:09:46.576Z] 11:09:46 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2019-06-21T11:09:46.577Z] 11:09:46 INFO - STDOUT: :188: in _request
[task 2019-06-21T11:09:46.578Z] 11:09:46 INFO - STDOUT: if self._has_unread_data():
[task 2019-06-21T11:09:46.579Z] 11:09:46 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-06-21T11:09:46.579Z] 11:09:46 INFO - STDOUT: self = <webdriver.transport.HTTPWireProtocol object at 0x7fc24a8da390>
[task 2019-06-21T11:09:46.580Z] 11:09:46 INFO - STDOUT: def _has_unread_data(self):
[task 2019-06-21T11:09:46.580Z] 11:09:46 INFO - STDOUT: > return self._conn and select.select([self._conn.sock], [], [], 0)[0]
[task 2019-06-21T11:09:46.581Z] 11:09:46 INFO - STDOUT: E TypeError: argument must be an int, or have a fileno() method.
[task 2019-06-21T11:09:46.582Z] 11:09:46 INFO - STDOUT: self = <webdriver.transport.HTTPWireProtocol object at 0x7fc24a8da390>
[task 2019-06-21T11:09:46.582Z] 11:09:46 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2019-06-21T11:09:46.591Z] 11:09:46 INFO -
[task 2019-06-21T11:09:46.591Z] 11:09:46 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error
[task 2019-06-21T11:09:46.591Z] 11:09:46 INFO - capabilities = {}
[task 2019-06-21T11:09:46.592Z] 11:09:46 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': 37352}
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO -
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - @pytest.fixture(scope="function")
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - def session(capabilities, configuration, request):
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO -
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - does not demand that we start a new session per test."""
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - global _current_session
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO -
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - # Update configuration capabilities with custom ones from the
[task 2019-06-21T11:09:46.592Z] 11:09:46 INFO - # capabilities fixture, which can be set by tests
[task 2019-06-21T11:09:46.593Z] 11:09:46 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2019-06-21T11:09:46.593Z] 11:09:46 INFO - caps.update(capabilities)
[task 2019-06-21T11:09:46.593Z] 11:09:46 INFO - caps = {"alwaysMatch": caps}

Perhaps self._conn is not properly initialised?

Summary: Intermittent /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error → Intermittent /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error: TypeError: argument must be an int, or have a fileno() method
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.