Closed Bug 1735650 Opened 3 years ago Closed 3 years ago

Intermittent /webdriver/tests/execute_script/collections.py | test_arguments - AssertionError: assert None == ['foo', 'bar']

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(firefox-esr78 unaffected, firefox-esr91 unaffected, firefox93 unaffected, firefox94 unaffected, firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox93 --- unaffected
firefox94 --- unaffected
firefox95 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: assertion, intermittent-failure)

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


[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/execute_script/collections.py | test_arguments - AssertionError: assert None == ['foo', 'bar']
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - session = <Session c23056a2-c186-3e43-853d-91247db40dab>
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -     def test_arguments(session):
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -         response = execute_script(session, """
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -             function func() {
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -                 return arguments;
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -             }
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -             return func("foo", "bar");
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO -             """)
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - >       assert_success(response, [u"foo", u"bar"])
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - response   = <Responsetatus=200 body={"value": null}>
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - session    = <Session c23056a2-c186-3e43-853d-91247db40dab>
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.560Z] 20:41:26     INFO - tests/web-platform/tests/webdriver/tests/execute_script/collections.py:23: 
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - response = <Responsetatus=200 body={"value": null}>, value = ['foo', 'bar']
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -     def assert_success(response, value=None):
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         """
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         Verify that the provided webdriver.Response instance described
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         a valid success response as defined by `dfn-send-a-response` and
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         the provided response value.
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -     
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         :param response: ``webdriver.Response`` instance.
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         :param value: Expected value of the response body, if any.
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         """
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         assert response.status == 200, str(response.error)
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -     
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO -         if value is not None:
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - >           assert response.body["value"] == value
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - E           AssertionError: assert None == ['foo', 'bar']
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - E             +None
[task 2021-10-13T20:41:26.561Z] 20:41:26     INFO - E             -['foo', 'bar']
[task 2021-10-13T20:41:26.562Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.562Z] 20:41:26     INFO - response   = <Responsetatus=200 body={"value": null}>
[task 2021-10-13T20:41:26.562Z] 20:41:26     INFO - value      = ['foo', 'bar']
[task 2021-10-13T20:41:26.562Z] 20:41:26     INFO - 
[task 2021-10-13T20:41:26.562Z] 20:41:26     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:72: AssertionError
[task 2021-10-13T20:41:26.567Z] 20:41:26     INFO - .......
[task 2021-10-13T20:41:26.567Z] 20:41:26     INFO - TEST-OK | /webdriver/tests/execute_script/collections.py | took 2393ms

Seems to be related to bug 1735649.

See Also: → 1735649
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
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.