Closed Bug 1642110 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-value26] - 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.html#?job_id=304382335&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Lp07eOmOTTWORQM0dGmRVw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[strictFileInteractability-False]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[strictFileInteractability-None]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[unhandledPromptBehavior-dismiss]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[unhandledPromptBehavior-accept]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[unhandledPromptBehavior-None]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-None]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-False]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-abc]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-123]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-PASS | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-value25]
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_session/create_alwaysMatch.py | test_valid[test:extension-value26] - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - new_session = <function new_session at 0x0000000004E54F98>
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x0000000004EF8048>
[task 2020-05-30T10:54:46.046Z] 10:54:46 INFO - key = 'test:extension', value = {'key': 'value'}
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - def test_valid(new_session, add_browser_capabilities, key, value):
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - response, _ = new_session({"capabilities": {
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - "alwaysMatch": add_browser_capabilities({key: value})}})
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - > assert_success(response)
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - _ = None
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x0000000004EF8048>
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - key = 'test:extension'
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - new_session = <function new_session at 0x0000000004E54F98>
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - value = {'key': 'value'}
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - tests\web-platform\tests\webdriver\tests\new_session\create_alwaysMatch.py:15:
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.047Z] 10:54:46 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - value = None
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - def assert_success(response, value=None):
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - """
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - Verify that the provided webdriver.Response instance described
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - a valid success response as defined by dfn-send-a-response and
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - the provided response value.
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - :param response: webdriver.Response instance.
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - :param value: Expected value of the response body, if any.
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - """
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - > assert response.status == 200, str(response.error)
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - E AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - E
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - E assert 500 == 200
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - E + where 500 = <Response status=500 error=<TimeoutException http_status=500>>.status
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - value = None
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO -
[task 2020-05-30T10:54:46.048Z] 10:54:46 INFO - tests\web-platform\tests\webdriver\tests\support\asserts.py:69: AssertionError
[task 2020-05-30T10:54:46.049Z] 10:54:46 INFO - TEST-OK | /webdriver/tests/new_session/create_alwaysMatch.py | took 153503ms
[task 2020-05-30T10:54:46.090Z] 10:54:46 INFO - Closing logging queue
[task 2020-05-30T10:54:46.091Z] 10:54:46 INFO - queue closed
[task 2020-05-30T10:54:46.091Z] 10:54:46 INFO - Starting runner
[task 2020-05-30T10:54:46.524Z] 10:54:46 INFO - PID 6704 | 1590836086514 geckodriver DEBUG Listening on 127.0.0.1:59756
[task 2020-05-30T10:54:47.015Z] 10:54:47 INFO - WebDriver HTTP server listening at http://127.0.0.1:59756/

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.