Closed Bug 1699980 Opened 4 years ago Closed 4 years ago

Intermittent /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[browserVersion-None] - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1630132

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2021-03-21T12:02:59.847Z] 12:02:59     INFO - PID 10828 | DEBUG: Starting phase xpcom-will-shutdown
[task 2021-03-21T12:02:59.848Z] 12:02:59     INFO - PID 10828 | DEBUG: Spinning the event loop
[task 2021-03-21T12:02:59.848Z] 12:02:59     INFO - PID 10828 | DEBUG: Completed blocker OS.File: flush pending requests, warn about unclosed files, shut down service. for phase xpcom-will-shutdown
[task 2021-03-21T12:02:59.900Z] 12:02:59     INFO - PID 10828 | DEBUG: Finished phase xpcom-will-shutdown
[task 2021-03-21T12:02:59.903Z] 12:02:59     INFO - PID 10828 | DEBUG: Starting phase web-workers-shutdown
[task 2021-03-21T12:02:59.904Z] 12:02:59     INFO - PID 10828 | DEBUG: Spinning the event loop
[task 2021-03-21T12:02:59.905Z] 12:02:59     INFO - PID 10828 | DEBUG: Finished phase web-workers-shutdown
[task 2021-03-21T12:02:59.970Z] 12:02:59     INFO - PID 10828 | 1616328179969	geckodriver::marionette	DEBUG	Browser process stopped: exit code: 0
[task 2021-03-21T12:03:00.237Z] 12:03:00     INFO - PID 10828 | 1616328180233	webdriver::server	DEBUG	<- 200 OK {"value":null}
[task 2021-03-21T12:03:00.239Z] 12:03:00     INFO - STDOUT: ================================== FAILURES ===================================
[task 2021-03-21T12:03:00.240Z] 12:03:00     INFO - STDOUT: _______________________ test_valid[browserVersion-None] _______________________
[task 2021-03-21T12:03:00.241Z] 12:03:00     INFO - STDOUT: new_session = <function fixture_new_session.<locals>.new_session at 0x00000185FA5E69D8>
[task 2021-03-21T12:03:00.242Z] 12:03:00     INFO - STDOUT: add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x00000185FB5201E0>
[task 2021-03-21T12:03:00.243Z] 12:03:00     INFO - STDOUT: key = 'browserVersion', value = None
[task 2021-03-21T12:03:00.243Z] 12:03:00     INFO - STDOUT:     @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[acceptInsecureCerts-False] 
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[acceptInsecureCerts-None] 
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[browserName-None] 
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[browserVersion-None] - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x00000185FA5E69D8>
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x00000185FB5201E0>
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - key = 'browserVersion', value = None
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.248Z] 12:03:00     INFO -     @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO -     def test_valid(new_session, add_browser_capabilities, key, value):
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO -         response, _ = new_session({"capabilities": {
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO -             "alwaysMatch": add_browser_capabilities({key: value})}})
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - >       assert_success(response)
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - _          = None
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x00000185FB5201E0>
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - key        = 'browserVersion'
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x00000185FA5E69D8>
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - response   = <Response status=500 error=<TimeoutException http_status=500>>
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - value      = None
[task 2021-03-21T12:03:00.249Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - tests\web-platform\tests\webdriver\tests\new_session\create_alwaysMatch.py:15: 
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - value = None
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -     def assert_success(response, value=None):
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         """
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         Verify that the provided webdriver.Response instance described
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         a valid success response as defined by `dfn-send-a-response` and
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         the provided response value.
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -     
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         :param response: ``webdriver.Response`` instance.
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         :param value: Expected value of the response body, if any.
[task 2021-03-21T12:03:00.250Z] 12:03:00     INFO -         """
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - >       assert response.status == 200, str(response.error)
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - E       AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - E         
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - E       assert 500 == 200
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - E         +500
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - E         -200
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - response   = <Response status=500 error=<TimeoutException http_status=500>>
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - value      = None
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - 
[task 2021-03-21T12:03:00.251Z] 12:03:00     INFO - tests\web-platform\tests\webdriver\tests\support\asserts.py:74: AssertionError
[task 2021-03-21T12:03:00.261Z] 12:03:00     INFO - .......................
[task 2021-03-21T12:03:00.261Z] 12:03:00     INFO - TEST-OK | /webdriver/tests/new_session/create_alwaysMatch.py | took 151432ms```
Status: NEW → RESOLVED
Closed: 4 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.