Closed Bug 1581444 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/new_window/new.py | test_null_parameter_value - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1576061

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

Filed by: apavel [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=266791571&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/C-WG-V2sRfCwsGqssr2RvQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-09-16T01:18:13.046Z] 01:18:13 INFO - TEST-START | /webdriver/tests/new_window/new.py
[task 2019-09-16T01:18:13.047Z] 01:18:13 INFO - PID 4698 | /builds/worker/workspace/build/tests/bin/geckodriver: error: Address already in use (os error 98)
[task 2019-09-16T01:18:13.047Z] 01:18:13 INFO - PID 4698 | geckodriver 0.25.0 (0b9d726f1402 2019-09-15 17:39 +0000)
[task 2019-09-16T01:18:13.049Z] 01:18:13 INFO - PID 4698 | WebDriver implementation for Firefox
[task 2019-09-16T01:18:13.050Z] 01:18:13 INFO - PID 4698 |
[task 2019-09-16T01:18:13.051Z] 01:18:13 INFO - PID 4698 | USAGE:
[task 2019-09-16T01:18:13.052Z] 01:18:13 INFO - PID 4698 | geckodriver [FLAGS] [OPTIONS]
[task 2019-09-16T01:18:13.052Z] 01:18:13 INFO - PID 4698 |
[task 2019-09-16T01:18:13.053Z] 01:18:13 INFO - PID 4698 | FLAGS:
[task 2019-09-16T01:18:13.054Z] 01:18:13 INFO - PID 4698 | --connect-existing Connect to an existing Firefox instance
[task 2019-09-16T01:18:13.056Z] 01:18:13 INFO - PID 4698 | -h, --help Prints this message
[task 2019-09-16T01:18:13.057Z] 01:18:13 INFO - PID 4698 | --jsdebugger Attach browser toolbox debugger for Firefox
[task 2019-09-16T01:18:13.058Z] 01:18:13 INFO - PID 4698 | -v Log level verbosity (-v for debug and -vv for trace level)
[task 2019-09-16T01:18:13.060Z] 01:18:13 INFO - PID 4698 | -V, --version Prints version and copying information
[task 2019-09-16T01:18:13.060Z] 01:18:13 INFO - PID 4698 |
[task 2019-09-16T01:18:13.064Z] 01:18:13 INFO - PID 4698 | OPTIONS:
[task 2019-09-16T01:18:13.065Z] 01:18:13 INFO - PID 4698 | -b, --binary <BINARY> Path to the Firefox binary
[task 2019-09-16T01:18:13.085Z] 01:18:13 INFO - PID 4698 | --log <LEVEL> Set Gecko log level [possible values: fatal, error, warn, info, config, debug,
[task 2019-09-16T01:18:13.087Z] 01:18:13 INFO - PID 4698 | trace]
[task 2019-09-16T01:18:13.088Z] 01:18:13 INFO - PID 4698 | --marionette-host <HOST> Host to use to connect to Gecko [default: 127.0.0.1]
[task 2019-09-16T01:18:13.090Z] 01:18:13 INFO - PID 4698 | --marionette-port <PORT> Port to use to connect to Gecko [default: system-allocated port]
[task 2019-09-16T01:18:13.091Z] 01:18:13 INFO - PID 4698 | --host <HOST> Host IP to use for WebDriver server [default: 127.0.0.1]
[task 2019-09-16T01:18:13.092Z] 01:18:13 INFO - PID 4698 | -p, --port <PORT> Port to use for WebDriver server [default: 4444]
[task 2019-09-16T01:18:13.415Z] 01:18:13 INFO - STDOUT: ============================= test session starts ==============================
[task 2019-09-16T01:18:13.416Z] 01:18:13 INFO - STDOUT: platform linux2 -- Python 2.7.12, pytest-unknown, py-1.5.2, pluggy-0.5.3.dev -- /builds/worker/workspace/build/venv/bin/python
[task 2019-09-16T01:18:13.416Z] 01:18:13 INFO - STDOUT: rootdir: /builds/worker/workspace/build, inifile:
[task 2019-09-16T01:18:13.416Z] 01:18:13 INFO - STDOUT: collecting ...
[task 2019-09-16T01:18:13.457Z] 01:18:13 INFO - STDOUT: collected 9 items
[task 2019-09-16T01:18:13.457Z] 01:18:13 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_null_parameter_value
[task 2019-09-16T01:18:13.594Z] 01:18:13 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:13.594Z] 01:18:13 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_no_browsing_context
[task 2019-09-16T01:18:13.893Z] 01:18:13 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:13.893Z] 01:18:13 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_invalid_type[True]
[task 2019-09-16T01:18:13.934Z] 01:18:13 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:13.935Z] 01:18:13 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_invalid_type[42]
[task 2019-09-16T01:18:13.979Z] 01:18:13 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:13.981Z] 01:18:13 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_invalid_type[4.2]
[task 2019-09-16T01:18:14.025Z] 01:18:14 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:14.028Z] 01:18:14 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_invalid_type[type_hint3]
[task 2019-09-16T01:18:14.071Z] 01:18:14 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:14.072Z] 01:18:14 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_invalid_type[type_hint4]
[task 2019-09-16T01:18:14.113Z] 01:18:14 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:14.117Z] 01:18:14 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_null_value
[task 2019-09-16T01:18:14.158Z] 01:18:14 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:14.159Z] 01:18:14 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/new_window/new.py::test_type_with_unknown_value
[task 2019-09-16T01:18:14.201Z] 01:18:14 INFO - STDOUT: ERROR
[task 2019-09-16T01:18:14.206Z] 01:18:14 INFO - STDOUT: ==================================== ERRORS ====================================
[task 2019-09-16T01:18:14.208Z] 01:18:14 INFO - STDOUT: _________________ ERROR at setup of test_null_parameter_value __________________
[task 2019-09-16T01:18:14.209Z] 01:18:14 INFO - STDOUT: capabilities = {}
[task 2019-09-16T01:18:14.210Z] 01:18:14 INFO - STDOUT: 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': 38180}
[task 2019-09-16T01:18:14.211Z] 01:18:14 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-09-16T01:18:14.212Z] 01:18:14 INFO - STDOUT: @pytest.fixture(scope="function")
[task 2019-09-16T01:18:14.214Z] 01:18:14 INFO - STDOUT: def session(capabilities, configuration, request):
[task 2019-09-16T01:18:14.222Z] 01:18:14 INFO - STDOUT: """Create and start a session for a test that does not itself test session creation.
[task 2019-09-16T01:18:14.223Z] 01:18:14 INFO - STDOUT:
[task 2019-09-16T01:18:14.224Z] 01:18:14 INFO - STDOUT: By default the session will stay open after each test, but we always try to start a
[task 2019-09-16T01:18:14.225Z] 01:18:14 INFO - STDOUT: new one and assume that if that fails there is already a valid session. This makes it
[task 2019-09-16T01:18:14.232Z] 01:18:14 INFO - STDOUT: possible to recover from some errors that might leave the session in a bad state, but
[task 2019-09-16T01:18:14.233Z] 01:18:14 INFO - STDOUT: does not demand that we start a new session per test."""
[task 2019-09-16T01:18:14.234Z] 01:18:14 INFO - STDOUT: global _current_session
[task 2019-09-16T01:18:14.235Z] 01:18:14 INFO - STDOUT:
[task 2019-09-16T01:18:14.235Z] 01:18:14 INFO - STDOUT: # Update configuration capabilities with custom ones from the
[task 2019-09-16T01:18:14.236Z] 01:18:14 INFO - STDOUT: # capabilities fixture, which can be set by tests
[task 2019-09-16T01:18:14.236Z] 01:18:14 INFO - STDOUT: caps = copy.deepcopy(configuration["capabilities"])
[task 2019-09-16T01:18:14.237Z] 01:18:14 INFO - STDOUT: caps.update(capabilities)
[task 2019-09-16T01:18:14.238Z] 01:18:14 INFO - STDOUT: caps = {"alwaysMatch": caps}
[task 2019-09-16T01:18:14.239Z] 01:18:14 INFO - STDOUT:
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: # If there is a session with different capabilities active, end it now
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: if _current_session is not None and (
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: caps != _current_session.requested_capabilities):
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: _current_session.end()
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: _current_session = None
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT:
[task 2019-09-16T01:18:14.240Z] 01:18:14 INFO - STDOUT: if _current_session is None:
[task 2019-09-16T01:18:14.242Z] 01:18:14 INFO - STDOUT: _current_session = webdriver.Session(
[task 2019-09-16T01:18:14.243Z] 01:18:14 INFO - STDOUT: configuration["host"],
[task 2019-09-16T01:18:14.243Z] 01:18:14 INFO - STDOUT: configuration["port"],
[task 2019-09-16T01:18:14.253Z] 01:18:14 INFO - STDOUT: capabilities=caps)
[task 2019-09-16T01:18:14.253Z] 01:18:14 INFO - STDOUT: try:
[task 2019-09-16T01:18:14.254Z] 01:18:14 INFO - STDOUT: > _current_session.start()
[task 2019-09-16T01:18:14.254Z] 01:18:14 INFO - STDOUT: capabilities = {}
[task 2019-09-16T01:18:14.255Z] 01:18:14 INFO - STDOUT: 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-16T01:18:14.255Z] 01:18:14 INFO - STDOUT: 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': 38180}
[task 2019-09-16T01:18:14.255Z] 01:18:14 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-09-16T01:18:14.256Z] 01:18:14 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/fixtures.py

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
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.