Intermittent /webdriver/tests/get_element_tag_name/get.py | test_no_browsing_context - setup error [Address already in use]
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=288281481&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TgLXuA-YQu-B9rik2I7rUw/runs/0/artifacts/public/logs/live_backing.log
[task 2020-02-10T23:58:16.447Z] 23:58:16 INFO - STDOUT: > raise CannotSendRequest()
[task 2020-02-10T23:58:16.448Z] 23:58:16 INFO - STDOUT: E CannotSendRequest
[task 2020-02-10T23:58:16.450Z] 23:58:16 INFO - STDOUT: method = 'POST'
[task 2020-02-10T23:58:16.450Z] 23:58:16 INFO - STDOUT: self = <httplib.HTTPConnection instance at 0x7f5254d20050>
[task 2020-02-10T23:58:16.451Z] 23:58:16 INFO - STDOUT: skip_accept_encoding = 0
[task 2020-02-10T23:58:16.451Z] 23:58:16 INFO - STDOUT: skip_host = 0
[task 2020-02-10T23:58:16.453Z] 23:58:16 INFO - STDOUT: url = '/session'
[task 2020-02-10T23:58:16.454Z] 23:58:16 INFO - STDOUT: /usr/lib/python2.7/httplib.py
[task 2020-02-10T23:58:16.454Z] 23:58:16 INFO - STDOUT: :939: CannotSendRequest
[task 2020-02-10T23:58:16.455Z] 23:58:16 INFO - STDOUT: =============================== warnings summary ===============================
[task 2020-02-10T23:58:16.456Z] 23:58:16 INFO - STDOUT: <undetermined location>
[task 2020-02-10T23:58:16.457Z] 23:58:16 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
[task 2020-02-10T23:58:16.458Z] 23:58:16 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2020-02-10T23:58:16.458Z] 23:58:16 INFO - STDOUT: ===================== 1 warnings, 4 error in 0.61 seconds ======================
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_element_tag_name/get.py | test_no_browsing_context - setup error
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO - capabilities = {}
[task 2020-02-10T23:58:16.468Z] 23:58:16 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': 54608}
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.468Z] 23:58:16 INFO - @pytest.fixture(scope="function")
[task 2020-02-10T23:58:16.469Z] 23:58:16 INFO - def session(capabilities, configuration, request):
[task 2020-02-10T23:58:16.469Z] 23:58:16 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2020-02-10T23:58:16.469Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.470Z] 23:58:16 INFO - By default the session will stay open after each test, but we always try to start a
[task 2020-02-10T23:58:16.470Z] 23:58:16 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2020-02-10T23:58:16.470Z] 23:58:16 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2020-02-10T23:58:16.471Z] 23:58:16 INFO - does not demand that we start a new session per test."""
[task 2020-02-10T23:58:16.471Z] 23:58:16 INFO - global _current_session
[task 2020-02-10T23:58:16.471Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.471Z] 23:58:16 INFO - # Update configuration capabilities with custom ones from the
[task 2020-02-10T23:58:16.472Z] 23:58:16 INFO - # capabilities fixture, which can be set by tests
[task 2020-02-10T23:58:16.472Z] 23:58:16 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2020-02-10T23:58:16.472Z] 23:58:16 INFO - caps.update(capabilities)
[task 2020-02-10T23:58:16.472Z] 23:58:16 INFO - caps = {"alwaysMatch": caps}
[task 2020-02-10T23:58:16.473Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.473Z] 23:58:16 INFO - # If there is a session with different capabilities active, end it now
[task 2020-02-10T23:58:16.474Z] 23:58:16 INFO - if _current_session is not None and (
[task 2020-02-10T23:58:16.474Z] 23:58:16 INFO - caps != _current_session.requested_capabilities):
[task 2020-02-10T23:58:16.474Z] 23:58:16 INFO - _current_session.end()
[task 2020-02-10T23:58:16.474Z] 23:58:16 INFO - _current_session = None
[task 2020-02-10T23:58:16.474Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.475Z] 23:58:16 INFO - if _current_session is None:
[task 2020-02-10T23:58:16.475Z] 23:58:16 INFO - _current_session = webdriver.Session(
[task 2020-02-10T23:58:16.475Z] 23:58:16 INFO - configuration["host"],
[task 2020-02-10T23:58:16.475Z] 23:58:16 INFO - configuration["port"],
[task 2020-02-10T23:58:16.475Z] 23:58:16 INFO - capabilities=caps)
[task 2020-02-10T23:58:16.476Z] 23:58:16 INFO - try:
[task 2020-02-10T23:58:16.476Z] 23:58:16 INFO - > _current_session.start()
[task 2020-02-10T23:58:16.476Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.476Z] 23:58:16 INFO - capabilities = {}
[task 2020-02-10T23:58:16.476Z] 23:58:16 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 2020-02-10T23:58:16.477Z] 23:58:16 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': 54608}
[task 2020-02-10T23:58:16.477Z] 23:58:16 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2020-02-10T23:58:16.477Z] 23:58:16 INFO -
[task 2020-02-10T23:58:16.477Z] 23:58:16 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 3•2 years ago
|
||
Description
•