Closed Bug 1581010 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1498944

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

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


[task 2019-09-12T23:01:15.426Z] 23:01:15 INFO - STDOUT: self = <httplib.HTTPConnection instance at 0x7fb828611098>, method = 'POST'
[task 2019-09-12T23:01:15.426Z] 23:01:15 INFO - STDOUT: url = '/session', skip_host = 0, skip_accept_encoding = 0
[task 2019-09-12T23:01:15.427Z] 23:01:15 INFO - STDOUT: def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
[task 2019-09-12T23:01:15.427Z] 23:01:15 INFO - STDOUT: """Send a request to the server.
[task 2019-09-12T23:01:15.429Z] 23:01:15 INFO - STDOUT:
[task 2019-09-12T23:01:15.429Z] 23:01:15 INFO - STDOUT: method' specifies an HTTP request method, e.g. 'GET'. [task 2019-09-12T23:01:15.429Z] 23:01:15 INFO - STDOUT:url' specifies the object being requested, e.g. '/index.html'.
[task 2019-09-12T23:01:15.430Z] 23:01:15 INFO - STDOUT: skip_host' if True does not add automatically a 'Host:' header [task 2019-09-12T23:01:15.430Z] 23:01:15 INFO - STDOUT:skip_accept_encoding' if True does not add automatically an
[task 2019-09-12T23:01:15.432Z] 23:01:15 INFO - STDOUT: 'Accept-Encoding:' header
[task 2019-09-12T23:01:15.432Z] 23:01:15 INFO - STDOUT: """
[task 2019-09-12T23:01:15.433Z] 23:01:15 INFO - STDOUT:
[task 2019-09-12T23:01:15.433Z] 23:01:15 INFO - STDOUT: # if a prior response has been completed, then forget about it.
[task 2019-09-12T23:01:15.433Z] 23:01:15 INFO - STDOUT: if self.__response and self.__response.isclosed():
[task 2019-09-12T23:01:15.435Z] 23:01:15 INFO - STDOUT: self.__response = None
[task 2019-09-12T23:01:15.435Z] 23:01:15 INFO - STDOUT:
[task 2019-09-12T23:01:15.436Z] 23:01:15 INFO - STDOUT:
[task 2019-09-12T23:01:15.436Z] 23:01:15 INFO - STDOUT: # in certain cases, we cannot issue another request on this connection.
[task 2019-09-12T23:01:15.437Z] 23:01:15 INFO - STDOUT: # this occurs when:
[task 2019-09-12T23:01:15.437Z] 23:01:15 INFO - STDOUT: # 1) we are in the process of sending a request. (_CS_REQ_STARTED)
[task 2019-09-12T23:01:15.439Z] 23:01:15 INFO - STDOUT: # 2) a response to a previous request has signalled that it is going
[task 2019-09-12T23:01:15.439Z] 23:01:15 INFO - STDOUT: # to close the connection upon completion.
[task 2019-09-12T23:01:15.439Z] 23:01:15 INFO - STDOUT: # 3) the headers for the previous response have not been read, thus
[task 2019-09-12T23:01:15.440Z] 23:01:15 INFO - STDOUT: # we cannot determine whether point (2) is true. (_CS_REQ_SENT)
[task 2019-09-12T23:01:15.440Z] 23:01:15 INFO - STDOUT: #
[task 2019-09-12T23:01:15.442Z] 23:01:15 INFO - STDOUT: # if there is no prior response, then we can request at will.
[task 2019-09-12T23:01:15.442Z] 23:01:15 INFO - STDOUT: #
[task 2019-09-12T23:01:15.443Z] 23:01:15 INFO - STDOUT: # if point (2) is true, then we will have passed the socket to the
[task 2019-09-12T23:01:15.443Z] 23:01:15 INFO - STDOUT: # response (effectively meaning, "there is no prior response"), and
[task 2019-09-12T23:01:15.443Z] 23:01:15 INFO - STDOUT: # will open a new one when a new request is made.
[task 2019-09-12T23:01:15.444Z] 23:01:15 INFO - STDOUT: #
[task 2019-09-12T23:01:15.449Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.449Z] 23:01:15 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/set_timeouts/set.py | test_null_parameter_value - setup error
[task 2019-09-12T23:01:15.449Z] 23:01:15 INFO - capabilities = {}
[task 2019-09-12T23:01:15.449Z] 23:01:15 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 45850}
[task 2019-09-12T23:01:15.449Z] 23:01:15 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - @pytest.fixture(scope="function")
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - def session(capabilities, configuration, request):
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - does not demand that we start a new session per test."""
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO - global _current_session
[task 2019-09-12T23:01:15.450Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - # Update configuration capabilities with custom ones from the
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - # capabilities fixture, which can be set by tests
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - caps.update(capabilities)
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - caps = {"alwaysMatch": caps}
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - # If there is a session with different capabilities active, end it now
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - if _current_session is not None and (
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - caps != _current_session.requested_capabilities):
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - _current_session.end()
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - _current_session = None
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.451Z] 23:01:15 INFO - if _current_session is None:
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - _current_session = webdriver.Session(
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - configuration["host"],
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - configuration["port"],
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - capabilities=caps)
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - try:
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - > _current_session.start()
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - capabilities = {}
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs...form.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}}
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 45850}
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO -
[task 2019-09-12T23:01:15.452Z] 23:01:15 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
[task 2019-09-12T23:01:15.453Z] 23:01:15 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Flags: needinfo?(james)
Regressed by: 1580017

It's a single failure only, so I don't see why this should have been regressed by bug 1580017, also because it's a known Wd spec issue during the last weeks.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(james) → needinfo?(nerli)
Resolution: --- → DUPLICATE
No longer regressed by: 1580017
Flags: needinfo?(nerli)
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.