Closed Bug 1630132 Opened 6 years ago Closed 2 years ago

Intermittent Wd | setup error: AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)

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: ccoroiu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=297628042&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/WkiBR6-CQS6gOn0Qer58Fg/runs/0/artifacts/public/logs/live_backing.log


[task 2020-04-14T23:57:47.810Z] 23:57:47 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[platformName-None]
[task 2020-04-14T23:57:47.810Z] 23:57:47 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-None] - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2020-04-14T23:57:47.811Z] 23:57:47 INFO - new_session = <function new_session at 0x0000000005089DD8>
[task 2020-04-14T23:57:47.811Z] 23:57:47 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x0000000005089CF8>
[task 2020-04-14T23:57:47.811Z] 23:57:47 INFO - key = 'pageLoadStrategy', value = None
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO - @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO - def test_valid(new_session, add_browser_capabilities, key, value):
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO - response, _ = new_session({"capabilities": {
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO - "firstMatch": [add_browser_capabilities({key: value})]}})
[task 2020-04-14T23:57:47.812Z] 23:57:47 INFO - > assert_success(response)
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - _ = None
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - add_browser_capabilities = <function add_browser_capabilities at 0x0000000005089CF8>
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - key = 'pageLoadStrategy'
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - new_session = <function new_session at 0x0000000005089DD8>
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - value = None
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - tests\web-platform\tests\webdriver\tests\new_session\create_firstMatch.py:16:
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - value = None
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - def assert_success(response, value=None):
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - """
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - Verify that the provided webdriver.Response instance described
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - a valid success response as defined by dfn-send-a-response and
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO - the provided response value.
[task 2020-04-14T23:57:47.813Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - :param response: webdriver.Response instance.
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - :param value: Expected value of the response body, if any.
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - """
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - > assert response.status == 200, str(response.error)
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - E AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - E
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - E assert 500 == 200
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - E + where 500 = <Response status=500 error=<TimeoutException http_status=500>>.status
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - response = <Response status=500 error=<TimeoutException http_status=500>>
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - value = None
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO -
[task 2020-04-14T23:57:47.814Z] 23:57:47 INFO - tests\web-platform\tests\webdriver\tests\support\asserts.py:67: AssertionError
[task 2020-04-14T23:57:47.815Z] 23:57:47 INFO - .....................

There are failures across various tests here. Updating the summary for a better classification for sheriffs.

Summary: Intermittent /webdriver/tests/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-None] - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061) → Intermittent Wd | <random> - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
Summary: Intermittent Wd | <random> - AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061) → Intermittent Wd | <random> - TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
Summary: Intermittent Wd | <random> - TimeoutException: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061) → Intermittent Wd | setup error [TimeoutException: timeout (500): No connection could be made because the target machine actively refused it]
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE
Summary: Intermittent Wd | setup error [TimeoutException: timeout (500): No connection could be made because the target machine actively refused it] → Intermittent Wd | setup error: AssertionError: timeout (500): No connection could be made because the target machine actively refused it. (os error 10061)
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Thank you for the report. Would you mind filing a new bug instead? You can use the geckodriver component to do that. When doing that please also attach a trace log for the failing run. Thank you.

Flags: needinfo?(boni.garcia)

I just created a new bug report about this: https://bugzilla.mozilla.org/show_bug.cgi?id=1732076

Flags: needinfo?(boni.garcia)

Thanks! Lets see if we can use your bug to also get this intermittent fixed.

Depends on: 1732076
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 4 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.