Closed Bug 1486170 Opened 7 years ago Closed 7 years ago

Intermittent /webdriver/tests/new_session/create_firstMatch.py | test_valid[timeouts-value13] - AssertionError: unknown error (500): connection refused

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: apavel [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=195845637&repo=autoland https://queue.taskcluster.net/v1/task/E3t8IU7QQjSR58PC18MVLA/runs/0/artifacts/public/logs/live_backing.log [task 2018-08-24T23:18:37.082Z] 23:18:37 INFO - STDOUT: value = None [task 2018-08-24T23:18:37.082Z] 23:18:37 INFO - STDOUT: def assert_success(response, value=None): [task 2018-08-24T23:18:37.083Z] 23:18:37 INFO - STDOUT: """ [task 2018-08-24T23:18:37.083Z] 23:18:37 INFO - STDOUT: Verify that the provided webdriver.Response instance described [task 2018-08-24T23:18:37.084Z] 23:18:37 INFO - STDOUT: a valid error response as defined by `dfn-send-an-error` and [task 2018-08-24T23:18:37.084Z] 23:18:37 INFO - STDOUT: the provided error code. [task 2018-08-24T23:18:37.084Z] 23:18:37 INFO - STDOUT: [task 2018-08-24T23:18:37.085Z] 23:18:37 INFO - STDOUT: :param response: ``webdriver.Response`` instance. [task 2018-08-24T23:18:37.085Z] 23:18:37 INFO - STDOUT: :param value: Expected value of the response body, if any. [task 2018-08-24T23:18:37.086Z] 23:18:37 INFO - STDOUT: """ [task 2018-08-24T23:18:37.086Z] 23:18:37 INFO - STDOUT: > assert response.status == 200, str(response.error) [task 2018-08-24T23:18:37.088Z] 23:18:37 INFO - STDOUT: E AssertionError: unknown error (500): connection refused [task 2018-08-24T23:18:37.089Z] 23:18:37 INFO - STDOUT: E [task 2018-08-24T23:18:37.089Z] 23:18:37 INFO - STDOUT: E assert 500 == 200 [task 2018-08-24T23:18:37.090Z] 23:18:37 INFO - STDOUT: E + where 500 = <Response status=500 error=<UnknownErrorException http_status=500>>.status [task 2018-08-24T23:18:37.090Z] 23:18:37 INFO - STDOUT: response = <Response status=500 error=<UnknownErrorException http_status=500>> [task 2018-08-24T23:18:37.090Z] 23:18:37 INFO - STDOUT: value = None [task 2018-08-24T23:18:37.090Z] 23:18:37 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/asserts.py [task 2018-08-24T23:18:37.091Z] 23:18:37 INFO - STDOUT: :62: AssertionError [task 2018-08-24T23:18:37.091Z] 23:18:37 INFO - STDOUT: =============================== warnings summary =============================== [task 2018-08-24T23:18:37.091Z] 23:18:37 INFO - STDOUT: <undetermined location> [task 2018-08-24T23:18:37.093Z] 23:18:37 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog [task 2018-08-24T23:18:37.093Z] 23:18:37 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html [task 2018-08-24T23:18:37.093Z] 23:18:37 INFO - STDOUT: ============== 1 failed, 23 passed, 1 warnings in 253.50 seconds =============== [task 2018-08-24T23:18:37.128Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.128Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[browserVersion-None] [task 2018-08-24T23:18:37.128Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[platformName-None] [task 2018-08-24T23:18:37.128Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-None] [task 2018-08-24T23:18:37.128Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-none] [task 2018-08-24T23:18:37.129Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-eager] [task 2018-08-24T23:18:37.129Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-normal] [task 2018-08-24T23:18:37.130Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[proxy-None] [task 2018-08-24T23:18:37.130Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[timeouts-None] [task 2018-08-24T23:18:37.131Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[timeouts-value11] [task 2018-08-24T23:18:37.131Z] 23:18:37 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[timeouts-value12] [task 2018-08-24T23:18:37.131Z] 23:18:37 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_session/create_firstMatch.py | test_valid[timeouts-value13] - AssertionError: unknown error (500): connection refused [task 2018-08-24T23:18:37.131Z] 23:18:37 INFO - new_session = <function new_session at 0x7fa03836dde8> [task 2018-08-24T23:18:37.132Z] 23:18:37 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x7fa03836de60> [task 2018-08-24T23:18:37.132Z] 23:18:37 INFO - key = 'timeouts', value = {'pageLoad': 25, 'script': 50} [task 2018-08-24T23:18:37.132Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.132Z] 23:18:37 INFO - @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data)) [task 2018-08-24T23:18:37.133Z] 23:18:37 INFO - def test_valid(new_session, add_browser_capabilities, key, value): [task 2018-08-24T23:18:37.133Z] 23:18:37 INFO - response, _ = new_session({"capabilities": { [task 2018-08-24T23:18:37.133Z] 23:18:37 INFO - "firstMatch": [add_browser_capabilities({key: value})]}}) [task 2018-08-24T23:18:37.133Z] 23:18:37 INFO - > assert_success(response) [task 2018-08-24T23:18:37.134Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.134Z] 23:18:37 INFO - _ = None [task 2018-08-24T23:18:37.134Z] 23:18:37 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x7fa03836de60> [task 2018-08-24T23:18:37.135Z] 23:18:37 INFO - key = 'timeouts' [task 2018-08-24T23:18:37.135Z] 23:18:37 INFO - new_session = <function new_session at 0x7fa03836dde8> [task 2018-08-24T23:18:37.135Z] 23:18:37 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>> [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - value = {'pageLoad': 25, 'script': 50} [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - tests/web-platform/tests/webdriver/tests/new_session/create_firstMatch.py:16: [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>> [task 2018-08-24T23:18:37.136Z] 23:18:37 INFO - value = None [task 2018-08-24T23:18:37.137Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.137Z] 23:18:37 INFO - def assert_success(response, value=None): [task 2018-08-24T23:18:37.137Z] 23:18:37 INFO - """ [task 2018-08-24T23:18:37.137Z] 23:18:37 INFO - Verify that the provided webdriver.Response instance described [task 2018-08-24T23:18:37.137Z] 23:18:37 INFO - a valid error response as defined by `dfn-send-an-error` and [task 2018-08-24T23:18:37.138Z] 23:18:37 INFO - the provided error code. [task 2018-08-24T23:18:37.138Z] 23:18:37 INFO - [task 2018-08-24T23:18:37.138Z] 23:18:37 INFO - :param response: ``webdriver.Response`` instance. [task 2018-08-24T23:18:37.138Z] 23:18:37 INFO - :param value: Expected value of the response body, if any. [task 2018-08-24T23:18:37.139Z] 23:18:37 INFO - """ [task 2018-08-24T23:18:37.139Z] 23:18:37 INFO - > assert response.status == 200, str(response.error) [task 2018-08-24T23:18:37.139Z] 23:18:37 INFO - E AssertionError: unknown error (500): connection refused
There are several IPC errors visible during shutdown of Firefox. As such I assume it is somewhat related to bug 1482029.
Depends on: 1482029
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
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.