Intermittent /webdriver/tests/get_title/get.py | test_no_browsing_context - setup error [CannotSendRequest]
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: aciure [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=280810476&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RAcDHAaiQX6Juy4blrzO_g/runs/0/artifacts/public/logs/live_backing.log
[task 2019-12-12T06:37:49.969Z] 06:37:49 INFO - STDOUT: self = <httplib.HTTPConnection instance at 0x7fa3e510ac20>, method = 'POST'
[task 2019-12-12T06:37:49.970Z] 06:37:49 INFO - STDOUT: url = '/session', skip_host = 0, skip_accept_encoding = 0
[task 2019-12-12T06:37:49.970Z] 06:37:49 INFO - STDOUT: def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
[task 2019-12-12T06:37:49.971Z] 06:37:49 INFO - STDOUT: """Send a request to the server.
[task 2019-12-12T06:37:49.971Z] 06:37:49 INFO - STDOUT:
[task 2019-12-12T06:37:49.973Z] 06:37:49 INFO - STDOUT: method' specifies an HTTP request method, e.g. 'GET'. [task 2019-12-12T06:37:49.973Z] 06:37:49 INFO - STDOUT:
url' specifies the object being requested, e.g. '/index.html'.
[task 2019-12-12T06:37:49.974Z] 06:37:49 INFO - STDOUT: skip_host' if True does not add automatically a 'Host:' header [task 2019-12-12T06:37:49.974Z] 06:37:49 INFO - STDOUT:
skip_accept_encoding' if True does not add automatically an
[task 2019-12-12T06:37:49.975Z] 06:37:49 INFO - STDOUT: 'Accept-Encoding:' header
[task 2019-12-12T06:37:49.976Z] 06:37:49 INFO - STDOUT: """
[task 2019-12-12T06:37:49.976Z] 06:37:49 INFO - STDOUT:
[task 2019-12-12T06:37:49.977Z] 06:37:49 INFO - STDOUT: # if a prior response has been completed, then forget about it.
[task 2019-12-12T06:37:49.977Z] 06:37:49 INFO - STDOUT: if self.__response and self.__response.isclosed():
[task 2019-12-12T06:37:49.978Z] 06:37:49 INFO - STDOUT: self.__response = None
[task 2019-12-12T06:37:49.978Z] 06:37:49 INFO - STDOUT:
[task 2019-12-12T06:37:49.979Z] 06:37:49 INFO - STDOUT:
[task 2019-12-12T06:37:49.980Z] 06:37:49 INFO - STDOUT: # in certain cases, we cannot issue another request on this connection.
[task 2019-12-12T06:37:49.980Z] 06:37:49 INFO - STDOUT: # this occurs when:
[task 2019-12-12T06:37:49.981Z] 06:37:49 INFO - STDOUT: # 1) we are in the process of sending a request. (_CS_REQ_STARTED)
[task 2019-12-12T06:37:49.981Z] 06:37:49 INFO - STDOUT: # 2) a response to a previous request has signalled that it is going
[task 2019-12-12T06:37:49.982Z] 06:37:49 INFO - STDOUT: # to close the connection upon completion.
[task 2019-12-12T06:37:49.983Z] 06:37:49 INFO - STDOUT: # 3) the headers for the previous response have not been read, thus
[task 2019-12-12T06:37:49.983Z] 06:37:49 INFO - STDOUT: # we cannot determine whether point (2) is true. (_CS_REQ_SENT)
[task 2019-12-12T06:37:49.984Z] 06:37:49 INFO - STDOUT: #
[task 2019-12-12T06:37:49.985Z] 06:37:49 INFO - STDOUT: # if there is no prior response, then we can request at will.
[task 2019-12-12T06:37:49.986Z] 06:37:49 INFO - STDOUT: #
[task 2019-12-12T06:37:49.987Z] 06:37:49 INFO - STDOUT: # if point (2) is true, then we will have passed the socket to the
[task 2019-12-12T06:37:49.987Z] 06:37:49 INFO - STDOUT: # response (effectively meaning, "there is no prior response"), and
[task 2019-12-12T06:37:49.987Z] 06:37:49 INFO - STDOUT: # will open a new one when a new request is made.
[task 2019-12-12T06:37:49.988Z] 06:37:49 INFO - STDOUT: #
[task 2019-12-12T06:37:49.989Z] 06:37:49 INFO - STDOUT: # Note: if a prior response exists, then we can start a new request.
[task 2019-12-12T06:37:49.990Z] 06:37:49 INFO - STDOUT: # We are not allowed to begin fetching the response to this new
[task 2019-12-12T06:37:49.990Z] 06:37:49 INFO - STDOUT: # request, however, until that prior response is complete.
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: #
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: if self.__state == _CS_IDLE:
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: self.__state = _CS_REQ_STARTED
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: else:
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: > raise CannotSendRequest()
[task 2019-12-12T06:37:49.994Z] 06:37:49 INFO - STDOUT: E CannotSendRequest
[task 2019-12-12T06:37:49.995Z] 06:37:49 INFO - STDOUT: method = 'POST'
[task 2019-12-12T06:37:49.996Z] 06:37:49 INFO - STDOUT: self = <httplib.HTTPConnection instance at 0x7fa3e510ac20>
[task 2019-12-12T06:37:49.996Z] 06:37:49 INFO - STDOUT: skip_accept_encoding = 0
[task 2019-12-12T06:37:49.997Z] 06:37:49 INFO - STDOUT: skip_host = 0
[task 2019-12-12T06:37:49.998Z] 06:37:49 INFO - STDOUT: url = '/session'
[task 2019-12-12T06:37:49.999Z] 06:37:49 INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2019-12-12T06:37:49.999Z] 06:37:49 INFO - STDOUT: :939: CannotSendRequest
[task 2019-12-12T06:37:50.000Z] 06:37:50 INFO - STDOUT: =============================== warnings summary ===============================
[task 2019-12-12T06:37:50.001Z] 06:37:50 INFO - STDOUT: <undetermined location>
[task 2019-12-12T06:37:50.001Z] 06:37:50 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
[task 2019-12-12T06:37:50.002Z] 06:37:50 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2019-12-12T06:37:50.004Z] 06:37:50 INFO - STDOUT: ===================== 1 warnings, 7 error in 0.75 seconds ======================
[task 2019-12-12T06:37:50.008Z] 06:37:50 INFO -
[task 2019-12-12T06:37:50.008Z] 06:37:50 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_title/get.py | test_no_browsing_context - setup error
[task 2019-12-12T06:37:50.008Z] 06:37:50 INFO - capabilities = {}
[task 2019-12-12T06:37:50.009Z] 06:37:50 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': 59502}
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO -
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - @pytest.fixture(scope="function")
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - def session(capabilities, configuration, request):
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO -
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - does not demand that we start a new session per test."""
[task 2019-12-12T06:37:50.009Z] 06:37:50 INFO - global _current_session
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 3•2 years ago
|
||
Description
•