Closed Bug 1737286 Opened 3 years ago Closed 3 years ago

Intermittent Wd | <random>[capabilities0-<random>] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(firefox-esr91 unaffected, firefox94 unaffected, firefox95 fixed, firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox94 --- unaffected
firefox95 --- fixed
firefox96 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=355751178&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fcCy1Sb3TN-OX_HJYU0dyw/runs/0/artifacts/public/logs/live_backing.log


[task 2021-10-22T13:21:27.785Z] 13:21:27     INFO - STDOUT: >           raise err
[task 2021-10-22T13:21:27.785Z] 13:21:27     INFO - STDOUT: E           webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse
[task 2021-10-22T13:21:27.786Z] 13:21:27     INFO - STDOUT: E           
[task 2021-10-22T13:21:27.786Z] 13:21:27     INFO - STDOUT: E           Remote-end stacktrace:
[task 2021-10-22T13:21:27.787Z] 13:21:27     INFO - STDOUT: E           
[task 2021-10-22T13:21:27.787Z] 13:21:27     INFO - STDOUT: E           WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:181:5
[task 2021-10-22T13:21:27.788Z] 13:21:27     INFO - STDOUT: E           InvalidCookieDomainError@chrome://remote/content/shared/webdriver/Errors.jsm:321:5
[task 2021-10-22T13:21:27.788Z] 13:21:27     INFO - STDOUT: E           GeckoDriver.prototype.addCookie@chrome://remote/content/marionette/driver.js:1839:11
[task 2021-10-22T13:21:27.788Z] 13:21:27     INFO - STDOUT: body       = {'cookie': {'name': 'foo', 'path': '/common/blank.html', 'value': 'bar'}}
[task 2021-10-22T13:21:27.789Z] 13:21:27     INFO - STDOUT: err        = <InvalidCookieDomainException http_status=400>
[task 2021-10-22T13:21:27.789Z] 13:21:27     INFO - STDOUT: method     = 'POST'
[task 2021-10-22T13:21:27.790Z] 13:21:27     INFO - STDOUT: response   = <Response status=400 error=<InvalidCookieDomainException http_status=400>>
[task 2021-10-22T13:21:27.790Z] 13:21:27     INFO - STDOUT: self       = <Session d41655f8-2f3b-40c6-ad68-4cb72d2f500b>
[task 2021-10-22T13:21:27.790Z] 13:21:27     INFO - STDOUT: timeout    = None
[task 2021-10-22T13:21:27.791Z] 13:21:27     INFO - STDOUT: url        = 'session/d41655f8-2f3b-40c6-ad68-4cb72d2f500b/cookie'
[task 2021-10-22T13:21:27.791Z] 13:21:27     INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2021-10-22T13:21:27.791Z] 13:21:27     INFO - STDOUT: :618: InvalidCookieDomainException
[task 2021-10-22T13:21:27.792Z] 13:21:27     INFO - STDOUT: =============================== warnings summary ===============================
[task 2021-10-22T13:21:27.792Z] 13:21:27     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/delete_all_cookies/user_prompts.py::test_accept[capabilities0-alert-None]
[task 2021-10-22T13:21:27.793Z] 13:21:27     INFO - STDOUT:   /opt/worker/tasks/task_163490869278263/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-22T13:21:27.793Z] 13:21:27     INFO -     if isinstance(value, collections.Mapping) and value:
[task 2021-10-22T13:21:27.794Z] 13:21:27     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/delete_all_cookies/user_prompts.py::test_accept[capabilities0-alert-None]
[task 2021-10-22T13:21:27.794Z] 13:21:27     INFO - STDOUT:   /opt/worker/tasks/task_163490869278263/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-22T13:21:27.794Z] 13:21:27     INFO -     if isinstance(ignored_exceptions, collections.Iterable):
[task 2021-10-22T13:21:27.795Z] 13:21:27     INFO - STDOUT: -- Docs: https://docs.pytest.org/en/stable/warnings.html
[task 2021-10-22T13:21:27.795Z] 13:21:27     INFO - STDOUT: =========================== short test summary info ============================
[task 2021-10-22T13:21:27.796Z] 13:21:27     INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/delete_all_cookies/user_prompts.py::test_dismiss[capabilities0-alert-None]
[task 2021-10-22T13:21:27.797Z] 13:21:27     INFO - STDOUT: ================== 1 failed, 17 passed, 2 warnings in 12.65s ===================
[task 2021-10-22T13:21:27.798Z] 13:21:27     INFO - PID 1160 | 1634908887702	webdriver::server	DEBUG	-> GET /session/8721464a-e20c-4d19-8aca-274efe82173a/window/handles
[task 2021-10-22T13:21:27.798Z] 13:21:27     INFO - PID 1160 | 1634908887703	Marionette	DEBUG	0 -> [0,73,"WebDriver:GetWindowHandles",{}]
[task 2021-10-22T13:21:27.806Z] 13:21:27     INFO - 
[task 2021-10-22T13:21:27.806Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept[capabilities0-alert-None] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept[capabilities0-confirm-True] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept[capabilities0-prompt-] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept_and_notify[capabilities0-alert-None] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-PASS | /webdriver/tests/delete_all_cookies/user_prompts.py | test_accept_and_notify[capabilities0-prompt-] 
[task 2021-10-22T13:21:27.807Z] 13:21:27     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/delete_all_cookies/user_prompts.py | test_dismiss[capabilities0-alert-None] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse
Summary: Intermittent /webdriver/tests/delete_all_cookies/user_prompts.py | test_dismiss[capabilities0-alert-None] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse → Intermittent /webdriver/tests/delete_all_cookies/user_prompts.py | <random>[capabilities0-<random>] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse

This is fixed on mozilla-central but still affected on beta. It needs the upcoming fix from bug 1739008.

Summary: Intermittent /webdriver/tests/delete_all_cookies/user_prompts.py | <random>[capabilities0-<random>] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse → Intermittent Wd | <random>[capabilities0-<random>] - webdriver.error.InvalidCookieDomainException: invalid cookie domain (400): Document is cookie-averse

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #3)

This is fixed on mozilla-central but still affected on beta. It needs the upcoming fix from bug 1739008.

Well, my patch from bug 1736323 didn't land on beta yet. As such this is still occurring on beta. We will uplift the patches soon.

Assignee: nobody → hskupin
Status: NEW → RESOLVED
Closed: 3 years ago
No longer depends on: 1739008
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
See Also: → 1834217
You need to log in before you can comment on or make changes to this bug.