Closed Bug 1635964 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/delete_all_cookies/delete.py | test_null_response_value - setup error [Address already in use]

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1565127

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-05-06T21:36:15.839Z] 21:36:15     INFO - STDOUT: collected 2 items
[task 2020-05-06T21:36:15.841Z] 21:36:15     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/delete_all_cookies/delete.py::test_null_response_value 
[task 2020-05-06T21:36:15.958Z] 21:36:15     INFO - STDOUT: ERROR
[task 2020-05-06T21:36:15.958Z] 21:36:15     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/delete_all_cookies/delete.py::test_no_browsing_context 
[task 2020-05-06T21:36:16.014Z] 21:36:16     INFO - STDOUT: ERROR
[task 2020-05-06T21:36:16.019Z] 21:36:16     INFO - STDOUT: ==================================== ERRORS ====================================
[task 2020-05-06T21:36:16.019Z] 21:36:16     INFO - STDOUT: __________________ ERROR at setup of test_null_response_value __________________
[task 2020-05-06T21:36:16.020Z] 21:36:16     INFO - STDOUT: capabilities = {}
[task 2020-05-06T21:36:16.021Z] 21:36:16     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 34054}
[task 2020-05-06T21:36:16.021Z] 21:36:16     INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_null_response_value'>>
[task 2020-05-06T21:36:16.022Z] 21:36:16     INFO - STDOUT:     @pytest.fixture(scope="function")
[task 2020-05-06T21:36:16.022Z] 21:36:16     INFO - STDOUT:     def session(capabilities, configuration, request):
[task 2020-05-06T21:36:16.023Z] 21:36:16     INFO - STDOUT:         """Create and start a session for a test that does not itself test session creation.
[task 2020-05-06T21:36:16.023Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.037Z] 21:36:16     INFO - STDOUT:         By default the session will stay open after each test, but we always try to start a
[task 2020-05-06T21:36:16.037Z] 21:36:16     INFO - STDOUT:         new one and assume that if that fails there is already a valid session. This makes it
[task 2020-05-06T21:36:16.038Z] 21:36:16     INFO - STDOUT:         possible to recover from some errors that might leave the session in a bad state, but
[task 2020-05-06T21:36:16.038Z] 21:36:16     INFO - STDOUT:         does not demand that we start a new session per test."""
[task 2020-05-06T21:36:16.038Z] 21:36:16     INFO - STDOUT:         global _current_session
[task 2020-05-06T21:36:16.039Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.039Z] 21:36:16     INFO - STDOUT:         # Update configuration capabilities with custom ones from the
[task 2020-05-06T21:36:16.040Z] 21:36:16     INFO - STDOUT:         # capabilities fixture, which can be set by tests
[task 2020-05-06T21:36:16.040Z] 21:36:16     INFO - STDOUT:         caps = copy.deepcopy(configuration["capabilities"])
[task 2020-05-06T21:36:16.040Z] 21:36:16     INFO - STDOUT:         caps.update(capabilities)
[task 2020-05-06T21:36:16.041Z] 21:36:16     INFO - STDOUT:         caps = {"alwaysMatch": caps}
[task 2020-05-06T21:36:16.041Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.042Z] 21:36:16     INFO - STDOUT:         # If there is a session with different capabilities active, end it now
[task 2020-05-06T21:36:16.042Z] 21:36:16     INFO - STDOUT:         if _current_session is not None and (
[task 2020-05-06T21:36:16.043Z] 21:36:16     INFO - STDOUT:                 caps != _current_session.requested_capabilities):
[task 2020-05-06T21:36:16.043Z] 21:36:16     INFO - STDOUT:             _current_session.end()
[task 2020-05-06T21:36:16.043Z] 21:36:16     INFO - STDOUT:             _current_session = None
[task 2020-05-06T21:36:16.044Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.044Z] 21:36:16     INFO - STDOUT:         if _current_session is None:
[task 2020-05-06T21:36:16.044Z] 21:36:16     INFO - STDOUT:             _current_session = webdriver.Session(
[task 2020-05-06T21:36:16.045Z] 21:36:16     INFO - STDOUT:                 configuration["host"],
[task 2020-05-06T21:36:16.045Z] 21:36:16     INFO - STDOUT:                 configuration["port"],
[task 2020-05-06T21:36:16.046Z] 21:36:16     INFO - STDOUT:                 capabilities=caps)
[task 2020-05-06T21:36:16.046Z] 21:36:16     INFO - STDOUT:         try:
[task 2020-05-06T21:36:16.046Z] 21:36:16     INFO - STDOUT: >           _current_session.start()
[task 2020-05-06T21:36:16.046Z] 21:36:16     INFO - STDOUT: capabilities = {}
[task 2020-05-06T21:36:16.047Z] 21:36:16     INFO - STDOUT: caps       = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs....test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}}
[task 2020-05-06T21:36:16.048Z] 21:36:16     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 34054}
[task 2020-05-06T21:36:16.048Z] 21:36:16     INFO - STDOUT: request    = <SubRequest 'session' for <Function 'test_null_response_value'>>
[task 2020-05-06T21:36:16.049Z] 21:36:16     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/fixtures.py
[task 2020-05-06T21:36:16.049Z] 21:36:16     INFO - STDOUT: :153: 
[task 2020-05-06T21:36:16.049Z] 21:36:16     INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-05-06T21:36:16.050Z] 21:36:16     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2020-05-06T21:36:16.050Z] 21:36:16     INFO - STDOUT: :426: in start
[task 2020-05-06T21:36:16.051Z] 21:36:16     INFO - STDOUT:     value = self.send_command("POST", "session", body=body)
[task 2020-05-06T21:36:16.051Z] 21:36:16     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2020-05-06T21:36:16.052Z] 21:36:16     INFO - STDOUT: :468: in send_command
[task 2020-05-06T21:36:16.056Z] 21:36:16     INFO - STDOUT:     session=self, timeout=timeout)
[task 2020-05-06T21:36:16.057Z] 21:36:16     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2020-05-06T21:36:16.057Z] 21:36:16     INFO - STDOUT: :182: in send
[task 2020-05-06T21:36:16.058Z] 21:36:16     INFO - STDOUT:     response = self._request(method, uri, payload, headers, timeout=None)
[task 2020-05-06T21:36:16.059Z] 21:36:16     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2020-05-06T21:36:16.059Z] 21:36:16     INFO - STDOUT: :199: in _request
[task 2020-05-06T21:36:16.060Z] 21:36:16     INFO - STDOUT:     self.connection.request(method, url, payload, headers)
[task 2020-05-06T21:36:16.060Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-05-06T21:36:16.061Z] 21:36:16     INFO - STDOUT: :1082: in request
[task 2020-05-06T21:36:16.061Z] 21:36:16     INFO - STDOUT:     self._send_request(method, url, body, headers)
[task 2020-05-06T21:36:16.062Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-05-06T21:36:16.062Z] 21:36:16     INFO - STDOUT: :1122: in _send_request
[task 2020-05-06T21:36:16.063Z] 21:36:16     INFO - STDOUT:     self.endheaders(body)
[task 2020-05-06T21:36:16.063Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT: :1078: in endheaders
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT:     self._send_output(message_body)
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT: :894: in _send_output
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT:     self.send(msg)
[task 2020-05-06T21:36:16.064Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-05-06T21:36:16.065Z] 21:36:16     INFO - STDOUT: :856: in send
[task 2020-05-06T21:36:16.066Z] 21:36:16     INFO - STDOUT:     self.connect()
[task 2020-05-06T21:36:16.066Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/htt
plib.py
[task 2020-05-06T21:36:16.067Z] 21:36:16     INFO - STDOUT: :833: in connect
[task 2020-05-06T21:36:16.067Z] 21:36:16     INFO - STDOUT:     self.timeout, self.source_address)
[task 2020-05-06T21:36:16.068Z] 21:36:16     INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-05-06T21:36:16.068Z] 21:36:16     INFO - STDOUT: address = ('127.0.0.1', 34054), timeout = <object object at 0x7fd4a2ec3a00>
[task 2020-05-06T21:36:16.069Z] 21:36:16     INFO - STDOUT: source_address = None
[task 2020-05-06T21:36:16.069Z] 21:36:16     INFO - STDOUT:     def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
[task 2020-05-06T21:36:16.070Z] 21:36:16     INFO - STDOUT:                           source_address=None):
[task 2020-05-06T21:36:16.070Z] 21:36:16     INFO - STDOUT:         """Connect to *address* and return the socket object.
[task 2020-05-06T21:36:16.071Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.071Z] 21:36:16     INFO - STDOUT:         Convenience function.  Connect to *address* (a 2-tuple ``(host,
[task 2020-05-06T21:36:16.072Z] 21:36:16     INFO - STDOUT:         port)``) and return the socket object.  Passing the optional
[task 2020-05-06T21:36:16.072Z] 21:36:16     INFO - STDOUT:         *timeout* parameter will set the timeout on the socket instance
[task 2020-05-06T21:36:16.073Z] 21:36:16     INFO - STDOUT:         before attempting to connect.  If no *timeout* is supplied, the
[task 2020-05-06T21:36:16.073Z] 21:36:16     INFO - STDOUT:         global default timeout setting returned by :func:`getdefaulttimeout`
[task 2020-05-06T21:36:16.074Z] 21:36:16     INFO - STDOUT:         is used.  If *source_address* is set it must be a tuple of (host, port)
[task 2020-05-06T21:36:16.074Z] 21:36:16     INFO - STDOUT:         for the socket to bind as a source address before making the connection.
[task 2020-05-06T21:36:16.075Z] 21:36:16     INFO - STDOUT:         A host of '' or port 0 tells the OS to use the default.
[task 2020-05-06T21:36:16.075Z] 21:36:16     INFO - STDOUT:         """
[task 2020-05-06T21:36:16.075Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.077Z] 21:36:16     INFO - STDOUT:         host, port = address
[task 2020-05-06T21:36:16.077Z] 21:36:16     INFO - STDOUT:         err = None
[task 2020-05-06T21:36:16.078Z] 21:36:16     INFO - STDOUT:         for res in getaddrinfo(host, port, 0, SOCK_STREAM):
[task 2020-05-06T21:36:16.078Z] 21:36:16     INFO - STDOUT:             af, socktype, proto, canonname, sa = res
[task 2020-05-06T21:36:16.079Z] 21:36:16     INFO - STDOUT:             sock = None
[task 2020-05-06T21:36:16.079Z] 21:36:16     INFO - STDOUT:             try:
[task 2020-05-06T21:36:16.080Z] 21:36:16     INFO - STDOUT:                 sock = socket(af, socktype, proto)
[task 2020-05-06T21:36:16.081Z] 21:36:16     INFO - STDOUT:                 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
[task 2020-05-06T21:36:16.081Z] 21:36:16     INFO - STDOUT:                     sock.settimeout(timeout)
[task 2020-05-06T21:36:16.081Z] 21:36:16     INFO - STDOUT:                 if source_address:
[task 2020-05-06T21:36:16.082Z] 21:36:16     INFO - STDOUT:                     sock.bind(source_address)
[task 2020-05-06T21:36:16.083Z] 21:36:16     INFO - STDOUT:                 sock.connect(sa)
[task 2020-05-06T21:36:16.084Z] 21:36:16     INFO - STDOUT:                 return sock
[task 2020-05-06T21:36:16.084Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.084Z] 21:36:16     INFO - STDOUT:             except error as _:
[task 2020-05-06T21:36:16.085Z] 21:36:16     INFO - STDOUT:                 err = _
[task 2020-05-06T21:36:16.085Z] 21:36:16     INFO - STDOUT:                 if sock is not None:
[task 2020-05-06T21:36:16.086Z] 21:36:16     INFO - STDOUT:                     sock.close()
[task 2020-05-06T21:36:16.087Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.088Z] 21:36:16     INFO - STDOUT:         if err is not None:
[task 2020-05-06T21:36:16.088Z] 21:36:16     INFO - STDOUT: >           raise err
[task 2020-05-06T21:36:16.089Z] 21:36:16     INFO - STDOUT: E           error: [Errno 111] Connection refused
[task 2020-05-06T21:36:16.089Z] 21:36:16     INFO - STDOUT: _          = error(111, 'Connection refused')
[task 2020-05-06T21:36:16.091Z] 21:36:16     INFO - STDOUT: address    = ('127.0.0.1', 34054)
[task 2020-05-06T21:36:16.091Z] 21:36:16     INFO - STDOUT: af         = 2
[task 2020-05-06T21:36:16.092Z] 21:36:16     INFO - STDOUT: canonname  = ''
[task 2020-05-06T21:36:16.092Z] 21:36:16     INFO - STDOUT: err        = error(111, 'Connection refused')
[task 2020-05-06T21:36:16.093Z] 21:36:16     INFO - STDOUT: host       = '127.0.0.1'
[task 2020-05-06T21:36:16.095Z] 21:36:16     INFO - STDOUT: port       = 34054
[task 2020-05-06T21:36:16.096Z] 21:36:16     INFO - STDOUT: proto      = 6
[task 2020-05-06T21:36:16.097Z] 21:36:16     INFO - STDOUT: res        = (2, 1, 6, '', ('127.0.0.1', 34054))
[task 2020-05-06T21:36:16.098Z] 21:36:16     INFO - STDOUT: sa         = ('127.0.0.1', 34054)
[task 2020-05-06T21:36:16.098Z] 21:36:16     INFO - STDOUT: sock       = <socket._socketobject object at 0x7fd497c33d70>
[task 2020-05-06T21:36:16.099Z] 21:36:16     INFO - STDOUT: socktype   = 1
[task 2020-05-06T21:36:16.100Z] 21:36:16     INFO - STDOUT: source_address = None
[task 2020-05-06T21:36:16.100Z] 21:36:16     INFO - STDOUT: timeout    = <object object at 0x7fd4a2ec3a00>
[task 2020-05-06T21:36:16.101Z] 21:36:16     INFO - STDOUT: /usr/lib/python2.7/socket.py
[task 2020-05-06T21:36:16.101Z] 21:36:16     INFO - STDOUT: :575: error
[task 2020-05-06T21:36:16.101Z] 21:36:16     INFO - STDOUT: __________________ ERROR at setup of test_no_browsing_context __________________
[task 2020-05-06T21:36:16.103Z] 21:36:16     INFO - STDOUT: capabilities = {}
[task 2020-05-06T21:36:16.104Z] 21:36:16     INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 34054}
[task 2020-05-06T21:36:16.105Z] 21:36:16     INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2020-05-06T21:36:16.106Z] 21:36:16     INFO - STDOUT:     @pytest.fixture(scope="function")
[task 2020-05-06T21:36:16.106Z] 21:36:16     INFO - STDOUT:     def session(capabilities, configuration, request):
[task 2020-05-06T21:36:16.107Z] 21:36:16     INFO - STDOUT:         """Create and start a session for a test that does not itself test session creation.
[task 2020-05-06T21:36:16.107Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.109Z] 21:36:16     INFO - STDOUT:         By default the session will stay open after each test, but we always try to start a
[task 2020-05-06T21:36:16.109Z] 21:36:16     INFO - STDOUT:         new one and assume that if that fails there is already a valid session. This makes it
[task 2020-05-06T21:36:16.110Z] 21:36:16     INFO - STDOUT:         possible to recover from some errors that might leave the session in a bad state, but
[task 2020-05-06T21:36:16.111Z] 21:36:16     INFO - STDOUT:         does not demand that we start a new session per test."""
[task 2020-05-06T21:36:16.112Z] 21:36:16     INFO - STDOUT:         global _current_session
[task 2020-05-06T21:36:16.112Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.113Z] 21:36:16     INFO - STDOUT:         # Update configuration capabilities with custom ones from the
[task 2020-05-06T21:36:16.113Z] 21:36:16     INFO - STDOUT:         # capabilities fixture, which can be set by tests
[task 2020-05-06T21:36:16.114Z] 21:36:16     INFO - STDOUT:         caps = copy.deepcopy(configuration["capabilities"])
[task 2020-05-06T21:36:16.115Z] 21:36:16     INFO - STDOUT:         caps.update(capabilities)
[task 2020-05-06T21:36:16.116Z] 21:36:16     INFO - STDOUT:         caps = {"alwaysMatch": caps}
[task 2020-05-06T21:36:16.117Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.118Z] 21:36:16     INFO - STDOUT:         # If there is a session with different capabilities active, end it now
[task 2020-05-06T21:36:16.119Z] 21:36:16     INFO - STDOUT:         if _current_session is not None and (
[task 2020-05-06T21:36:16.119Z] 21:36:16     INFO - STDOUT:                 caps != _current_session.requested_capabilities):
[task 2020-05-06T21:36:16.119Z] 21:36:16     INFO - STDOUT:             _current_session.end()
[task 2020-05-06T21:36:16.120Z] 21:36:16     INFO - STDOUT:             _current_session = None
[task 2020-05-06T21:36:16.120Z] 21:36:16     INFO - STDOUT:     
[task 2020-05-06T21:36:16.122Z] 21:36:16     INFO - STDOUT:         if _current_session is None:
[task 2020-05-06T21:36:16.122Z] 21:36:16     INFO - STDOUT:             _current_session = webdriver.Session(
[task 2020-05-06T21:36:16.122Z] 21:36:16     INFO - STDOUT:                 configuration["host"],
[task 2020-05-06T21:36:16.124Z] 21:36:16     INFO - STDOUT:                 configuration["port"],
[task 2020-05-06T21:36:16.124Z] 21:36:16     INFO - STDOUT:                 capabilities=caps)
[task 2020-05-06T21:36:16.125Z] 21:36:16     INFO - STDOUT:         try:
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/delete_all_cookies/delete.py | test_null_response_value - setup error
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - capabilities = {}
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 34054}
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - request = <SubRequest 'session' for <Function 'test_null_response_value'>>
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.129Z] 21:36:16     INFO -     @pytest.fixture(scope="function")
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -     def session(capabilities, configuration, request):
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         """Create and start a session for a test that does not itself test session creation.
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         By default the session will stay open after each test, but we always try to start a
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         new one and assume that if that fails there is already a valid session. This makes it
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         possible to recover from some errors that might leave the session in a bad state, but
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         does not demand that we start a new session per test."""
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         global _current_session
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.130Z] 21:36:16     INFO -         # Update configuration capabilities with custom ones from the
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         # capabilities fixture, which can be set by tests
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         caps = copy.deepcopy(configuration["capabilities"])
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         caps.update(capabilities)
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         caps = {"alwaysMatch": caps}
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         # If there is a session with different capabilities active, end it now
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -         if _current_session is not None and (
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -                 caps != _current_session.requested_capabilities):
[task 2020-05-06T21:36:16.131Z] 21:36:16     INFO -             _current_session.end()
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -             _current_session = None
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -         if _current_session is None:
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -             _current_session = webdriver.Session(
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -                 configuration["host"],
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -                 configuration["port"],
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -                 capabilities=caps)
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO -         try:
[task 2020-05-06T21:36:16.132Z] 21:36:16     INFO - >           _current_session.start()
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - capabilities = {}
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - caps       = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs....test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}}
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...form.test', 'network.process.enabled': False, 'toolkit.asyncshutdown.log': True}}}, 'host': '127.0.0.1', 'port': 34054}
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - request    = <SubRequest 'session' for <Function 'test_null_response_value'>>
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:153: 
[task 2020-05-06T21:36:16.133Z] 21:36:16     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:426: in start
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     value = self.send_command("POST", "session", body=body)
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:468: in send_command
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     session=self, timeout=timeout)
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:182: in send
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     response = self._request(method, uri, payload, headers, timeout=None)
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:199: in _request
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     self.connection.request(method, url, payload, headers)
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:1082: in request
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     self._send_request(method, url, body, headers)
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:1122: in _send_request
[task 2020-05-06T21:36:16.134Z] 21:36:16     INFO -     self.endheaders(body)
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:1078: in endheaders
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO -     self._send_output(message_body)
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:894: in _send_output
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO -     self.send(msg)
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:856: in send
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO -     self.connect()
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - /usr/lib/python2.7/httplib.py:833: in connect
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO -     self.timeout, self.source_address)
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2020-05-06T21:36:16.135Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO - address = ('127.0.0.1', 34054), timeout = <object object at 0x7fd4a2ec3a00>
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO - source_address = None
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -     def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -                           source_address=None):
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -         """Connect to *address* and return the socket object.
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -         Convenience function.  Connect to *address* (a 2-tuple ``(host,
[task 2020-05-06T21:36:16.136Z] 21:36:16     INFO -         port)``) and return the socket object.  Passing the optional
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         *timeout* parameter will set the timeout on the socket instance
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         before attempting to connect.  If no *timeout* is supplied, the
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         global default timeout setting returned by :func:`getdefaulttimeout`
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         is used.  If *source_address* is set it must be a tuple of (host, port)
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         for the socket to bind as a source address before making the connection.
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         A host of '' or port 0 tells the OS to use the default.
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         """
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         host, port = address
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         err = None
[task 2020-05-06T21:36:16.137Z] 21:36:16     INFO -         for res in getaddrinfo(host, port, 0, SOCK_STREAM):
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -             af, socktype, proto, canonname, sa = res
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -             sock = None
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -             try:
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                 sock = socket(af, socktype, proto)
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                     sock.settimeout(timeout)
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                 if source_address:
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                     sock.bind(source_address)
[task 2020-05-06T21:36:16.138Z] 21:36:16     INFO -                 sock.connect(sa)
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -                 return sock
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -             except error as _:
task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -                 err = _
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -                 if sock is not None:
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -                     sock.close()
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -     
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO -         if err is not None:
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO - >           raise err
[task 2020-05-06T21:36:16.139Z] 21:36:16     INFO - E           error: [Errno 111] Connection refused
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - _          = error(111, 'Connection refused')
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - address    = ('127.0.0.1', 34054)
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - af         = 2
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - canonname  = ''
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - err        = error(111, 'Connection refused')
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - host       = '127.0.0.1'
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - port       = 34054
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - proto      = 6
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - res        = (2, 1, 6, '', ('127.0.0.1', 34054))
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - sa         = ('127.0.0.1', 34054)
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - sock       = <socket._socketobject object at 0x7fd497c33d70>
[task 2020-05-06T21:36:16.140Z] 21:36:16     INFO - socktype   = 1
[task 2020-05-06T21:36:16.141Z] 21:36:16     INFO - source_address = None
[task 2020-05-06T21:36:16.141Z] 21:36:16     INFO - timeout    = <object object at 0x7fd4a2ec3a00>
[task 2020-05-06T21:36:16.141Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.141Z] 21:36:16     INFO - /usr/lib/python2.7/socket.py:575: error
[task 2020-05-06T21:36:16.144Z] 21:36:16     INFO - 
[task 2020-05-06T21:36:16.144Z] 21:36:16     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/delete_all_cookies/delete.py | test_no_browsing_context - setup error
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/delete_all_cookies/delete.py | test_null_response_value - setup error → Intermittent /webdriver/tests/delete_all_cookies/delete.py | test_null_response_value - setup error [Address already in use]
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.