Closed Bug 1772800 Opened 3 years ago Closed 3 years ago

Intermittent mozilla/tests/webdriver/bidi/websocket_upgrade.py | <test-name> - ValueError: invalid literal for int() with base 10: 'None'

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1785891

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=380326304&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SjQS-QFGTuW41wrlfn-O9A/runs/0/artifacts/public/logs/live_backing.log


[task 2022-06-06T08:10:37.826Z] 08:10:37     INFO - STDOUT: PASSED
[task 2022-06-06T08:10:37.944Z] 08:10:37     INFO - STDOUT: =================================== FAILURES ===================================
[task 2022-06-06T08:10:37.945Z] 08:10:37     INFO - STDOUT: __________ test_host_header[localhost with same port as RemoteAgent] ___________
[task 2022-06-06T08:10:37.946Z] 08:10:37     INFO - STDOUT: browser = <function browser.<locals>._browser at 0x7f57977b5e18>
[task 2022-06-06T08:10:37.947Z] 08:10:37     INFO - STDOUT: hostname = 'localhost', port_type = 'server_port', status = 101
[task 2022-06-06T08:10:37.948Z] 08:10:37     INFO - STDOUT:     @pytest.mark.parametrize(
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:         "hostname, port_type, status",
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:         [
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:             # Valid hosts
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:             ("localhost", "server_port", 101),
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:             ("localhost", "default_port", 101),
[task 2022-06-06T08:10:37.953Z] 08:10:37     INFO - STDOUT:             ("127.0.0.1", "server_port", 101),
[task 2022-06-06T08:10:38.023Z] 08:10:38     INFO - 
[task 2022-06-06T08:10:38.023Z] 08:10:38     INFO - TEST-UNEXPECTED-FAIL | /_mozilla/webdriver/bidi/websocket_upgrade.py | test_host_header[localhost with same port as RemoteAgent] - ValueError: invalid literal for int() with base 10: ''
[task 2022-06-06T08:10:38.023Z] 08:10:38     INFO - browser = <function browser.<locals>._browser at 0x7f57977b5e18>
[task 2022-06-06T08:10:38.023Z] 08:10:38     INFO - hostname = 'localhost', port_type = 'server_port', status = 101

Most of the tests actually fail when reading the WebDriverBiDiActivePort file within Browser.start():

[task 2022-06-06T08:10:38.085Z] 08:10:38     INFO -             # Read the port from the WebDriverBiDiActivePort file
[task 2022-06-06T08:10:38.085Z] 08:10:38     INFO - >           self.remote_agent_port = int(open(self.bidi_port_file).read())
[task 2022-06-06T08:10:38.085Z] 08:10:38     INFO - E           ValueError: invalid literal for int() with base 10: `None`

Maybe we should make this line more failure proof but for now this failed only once. So lets observe.

Summary: Intermittent mozilla/tests/webdriver/bidi/websocket_upgrade.py | test_host_header[localhost with same port as RemoteAgent] - ValueError: invalid literal for int() with base 10: '' → Intermittent mozilla/tests/webdriver/bidi/websocket_upgrade.py | <test-name> - ValueError: invalid literal for int() with base 10: 'None'
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 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.