Closed
Bug 1774901
Opened 2 years ago
Closed 2 years ago
Intermittent /webdriver/tests/new_window/new_window.py | test_sets_no_window_name - AssertionError: assert None == ''
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: assertion, intermittent-failure)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=381756048&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Gb6Nk2GURUe7G-tBp46VmQ/runs/0/artifacts/public/logs/live_backing.log
[task 2022-06-17T22:50:55.218Z] 22:50:55 INFO - STDOUT: =========================== short test summary info ============================
[task 2022-06-17T22:50:55.219Z] 22:50:55 INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/new_window/new_window.py::test_sets_no_window_name
[task 2022-06-17T22:50:55.220Z] 22:50:55 INFO - STDOUT: ========================= 1 failed, 4 passed in 11.51s =========================
[task 2022-06-17T22:50:55.222Z] 22:50:55 INFO -
[task 2022-06-17T22:50:55.223Z] 22:50:55 INFO - TEST-PASS | /webdriver/tests/new_window/new_window.py | test_payload
[task 2022-06-17T22:50:55.223Z] 22:50:55 INFO - TEST-PASS | /webdriver/tests/new_window/new_window.py | test_keeps_current_window_handle
[task 2022-06-17T22:50:55.223Z] 22:50:55 INFO - TEST-PASS | /webdriver/tests/new_window/new_window.py | test_opens_about_blank_in_new_window
[task 2022-06-17T22:50:55.224Z] 22:50:55 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_window/new_window.py | test_sets_no_window_name - AssertionError: assert None == ''
[task 2022-06-17T22:50:55.224Z] 22:50:55 INFO - session = <Session b5bffd2c-1a19-44aa-9366-13a6e874f3d7>
[task 2022-06-17T22:50:55.225Z] 22:50:55 INFO -
[task 2022-06-17T22:50:55.225Z] 22:50:55 INFO - def test_sets_no_window_name(session):
[task 2022-06-17T22:50:55.225Z] 22:50:55 INFO - response = new_window(session, type_hint="window")
[task 2022-06-17T22:50:55.225Z] 22:50:55 INFO - value = assert_success(response)
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - assert value["type"] == "window"
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO -
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - session.window_handle = value["handle"]
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - > assert window_name(session) == ""
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - E AssertionError: assert None == ''
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - E +None
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - E -''
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO -
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - response = <[ValueError('Sign not allowed in string format specifier',) raised in repr()] Response object at 0x7ff94b489d30>
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - session = <Session b5bffd2c-1a19-44aa-9366-13a6e874f3d7>
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - value = {'handle': 'da763997-e590-479f-aa89-0f78dd105104', 'type': 'window'}
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO -
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - tests/web-platform/tests/webdriver/tests/new_window/new_window.py:54: AssertionError
[task 2022-06-17T22:50:55.226Z] 22:50:55 INFO - .
[task 2022-06-17T22:50:55.227Z] 22:50:55 INFO - TEST-OK | /webdriver/tests/new_window/new_window.py | took 11580ms
Comment hidden (Intermittent Failures Robot) |
Comment 2•2 years ago
|
||
The failure comes from:
https://treeherder.mozilla.org/logviewer?job_id=381756048&repo=mozilla-central&lineNumber=47890-47894
[task 2022-06-17T22:50:51.148Z] 22:50:51 INFO - PID 18459 | 1655506251142 webdriver::server DEBUG -> POST /session/b5bffd2c-1a19-44aa-9366-13a6e874f3d7/execute/sync {"script": "\n return window.name;\n ", "args": []}
[task 2022-06-17T22:50:51.153Z] 22:50:51 INFO - PID 18459 | 1655506251152 Marionette DEBUG 0 -> [0,80,"WebDriver:ExecuteScript",{"args":[],"script":"\n return window.name;\n "}]
[task 2022-06-17T22:50:51.161Z] 22:50:51 INFO - PID 18459 | 1655506251159 Marionette TRACE [43] Querying "executeScript" failed with AbortError, returning "null" as fallback
[task 2022-06-17T22:50:51.162Z] 22:50:51 INFO - PID 18459 | 1655506251161 Marionette DEBUG 0 <- [1,80,null,{"value":null}]
[task 2022-06-17T22:50:51.171Z] 22:50:51 INFO - PID 18459 | 1655506251170 webdriver::server DEBUG <- 200 OK {"value":null}
That means this failure depends on bug
Depends on: 1761634
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 5•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Comment 6•2 years ago
|
||
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.
Description
•