Closed
Bug 1736191
Opened 3 years ago
Closed 3 years ago
Intermittent MacOS /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-alert-None] - AssertionError: invalid cookie domain (400): Document is cookie-averse
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1737286
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: assertion, intermittent-failure)
Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=355046000&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LqqfOVBzR5an91d_Y8O_Pw/runs/0/artifacts/public/logs/live_backing.log
[task 2021-10-16T23:49:19.765Z] 23:49:19 INFO - STDOUT: E WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:181:5
[task 2021-10-16T23:49:19.765Z] 23:49:19 INFO - STDOUT: E InvalidCookieDomainError@chrome://remote/content/shared/webdriver/Errors.jsm:321:5
[task 2021-10-16T23:49:19.766Z] 23:49:19 INFO - STDOUT: E GeckoDriver.prototype.addCookie@chrome://remote/content/marionette/driver.js:1839:11
[task 2021-10-16T23:49:19.766Z] 23:49:19 INFO - STDOUT: E
[task 2021-10-16T23:49:19.767Z] 23:49:19 INFO - STDOUT: E assert 400 == 200
[task 2021-10-16T23:49:19.767Z] 23:49:19 INFO - STDOUT: E +400
[task 2021-10-16T23:49:19.768Z] 23:49:19 INFO - STDOUT: E -200
[task 2021-10-16T23:49:19.768Z] 23:49:19 INFO - STDOUT: response = <Response status=400 error=<InvalidCookieDomainException http_status=400>>
[task 2021-10-16T23:49:19.769Z] 23:49:19 INFO - STDOUT: value = None
[task 2021-10-16T23:49:19.770Z] 23:49:19 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/asserts.py
[task 2021-10-16T23:49:19.770Z] 23:49:19 INFO - STDOUT: :69: AssertionError
[task 2021-10-16T23:49:19.770Z] 23:49:19 INFO - STDOUT: =============================== warnings summary ===============================
[task 2021-10-16T23:49:19.771Z] 23:49:19 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/add_cookie/user_prompts.py::test_accept[capabilities0-alert-None]
[task 2021-10-16T23:49:19.772Z] 23:49:19 INFO - STDOUT: /opt/worker/tasks/task_163442699501770/build/tests/web-platform/tests/webdriver/tests/support/helpers.py:116: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
[task 2021-10-16T23:49:19.772Z] 23:49:19 INFO - if isinstance(value, collections.Mapping) and value:
[task 2021-10-16T23:49:19.773Z] 23:49:19 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/add_cookie/user_prompts.py::test_accept[capabilities0-alert-None]
[task 2021-10-16T23:49:19.773Z] 23:49:19 INFO - STDOUT: /opt/worker/tasks/task_163442699501770/build/tests/web-platform/tests/webdriver/tests/support/sync.py:84: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
[task 2021-10-16T23:49:19.773Z] 23:49:19 INFO - if isinstance(ignored_exceptions, collections.Iterable):
[task 2021-10-16T23:49:19.774Z] 23:49:19 INFO - STDOUT: -- Docs: https://docs.pytest.org/en/stable/warnings.html
[task 2021-10-16T23:49:19.774Z] 23:49:19 INFO - STDOUT: =========================== short test summary info ============================
[task 2021-10-16T23:49:19.775Z] 23:49:19 INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/add_cookie/user_prompts.py::test_dismiss[capabilities0-alert-None]
[task 2021-10-16T23:49:19.776Z] 23:49:19 INFO - STDOUT: ================== 1 failed, 17 passed, 2 warnings in 13.64s ===================
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO -
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept[capabilities0-alert-None]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept[capabilities0-confirm-True]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept[capabilities0-prompt-]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept_and_notify[capabilities0-alert-None]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept_and_notify[capabilities0-prompt-]
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-alert-None] - AssertionError: invalid cookie domain (400): Document is cookie-averse
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception.<locals>.check_user_prompt_closed_without_exception at 0x7fa368f6e5f0>
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO - dialog_type = 'alert', retval = None
[task 2021-10-16T23:49:19.781Z] 23:49:19 INFO -
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss"})
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - @pytest.mark.parametrize("dialog_type, retval", [
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - ("alert", None),
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - ("confirm", False),
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - ("prompt", None),
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - ])
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - def test_dismiss(check_user_prompt_closed_without_exception, dialog_type, retval):
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - > check_user_prompt_closed_without_exception(dialog_type, retval)
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO -
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - check_user_prompt_closed_without_exception = <function check_user_prompt_closed_without_exception.<locals>.check_user_prompt_closed_without_exception at 0x7fa368f6e5f0>
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - dialog_type = 'alert'
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - retval = None
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO -
[task 2021-10-16T23:49:19.782Z] 23:49:19 INFO - tests/web-platform/tests/webdriver/tests/add_cookie/user_prompts.py:112:
Comment hidden (Intermittent Failures Robot) |
Comment 2•3 years ago
|
||
This requires bug 1736323 to be fixed.
status-firefox94:
--- → unaffected
status-firefox95:
--- → affected
Depends on: 1736323
Summary: Intermittent /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-alert-None] - AssertionError: invalid cookie domain (400): Document is cookie-averse → Intermittent MacOS /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-alert-None] - AssertionError: invalid cookie domain (400): Document is cookie-averse
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Updated•3 years ago
|
status-firefox94:
unaffected → ---
status-firefox95:
affected → ---
Comment 5•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
•