Closed Bug 2000385 Opened 6 months ago Closed 5 months ago

Perma [tier 2] /cookies/partitioned-cookies/partitioned-cookies.tentative.https.html | Unhandled rejection: assert_equals: Sanity check: __Host-pccookiestore has been deleted. expected false but got true

Categories

(Core :: Networking: Cookies, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [collect_confirm_failure])

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


task 2025-11-15T11:14:45.405+00:00] 11:14:45     INFO - TEST-START | /compute-pressure/compute_pressure_timestamp_continuously_increasing.https.window.html?globalScope=dedicated_worker
[task 2025-11-15T11:14:45.405+00:00] 11:14:45     INFO - Closing window 88b2a8b3-26fd-447c-90c6-5c727d350bb0
[task 2025-11-15T11:14:45.652+00:00] 11:14:45  WARNING - Action create_virtual_pressure_source not implemented
[task 2025-11-15T11:14:45.653+00:00] 11:14:45     INFO - PID 80305 | JavaScript error: , line 0: uncaught exception: error: Action create_virtual_pressure_source not implemented
[task 2025-11-15T11:15:40.460+00:00] 11:15:40     INFO - TEST-UNEXPECTED-ERROR | /cookies/partitioned-cookies/partitioned-cookies.tentative.https.html | Unhandled rejection: assert_equals: Sanity check: __Host-pccookiestore has been deleted. expected false but got true
[task 2025-11-15T11:15:40.460+00:00] 11:15:40     INFO - erase_cookie_from_js@https://web-platform.test:8443/cookies/resources/cookie-helper.sub.js:285:16
[task 2025-11-15T11:15:40.460+00:00] 11:15:40     INFO - document.body.onload@https://web-platform.test:8443/cookies/partitioned-cookies/partitioned-cookies.tentative.https.html:71:25
[task 2025-11-15T11:15:40.460+00:00] 11:15:40     INFO - TEST-INFO took 65125ms
[task 2025-11-15T11:15:40.460+00:00] 11:15:40     INFO - Restarting browser for new test group
[task 2025-11-15T11:15:40.462+00:00] 11:15:40     INFO - PID 107634 | 1763205340457	Marionette	INFO	Stopped listening on port 43747
[task 2025-11-15T11:15:40.973+00:00] 11:15:40     INFO - Browser exited with return code -15
[task 2025-11-15T11:15:40.974+00:00] 11:15:40     INFO - Closing logging queue
[task 2025-11-15T11:15:40.974+00:00] 11:15:40     INFO - queue closed
[task 2025-11-15T11:15:40.991+00:00] 11:15:40     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox --marionette --remote-allow-system-access about:blank -profile /tmp/tmpfqa3dffa
[task 2025-11-15T11:15:41.018+00:00] 11:15:41     INFO - Starting runner
[task 2025-11-15T11:15:41.376+00:00] 11:15:41     INFO - PID 108384 | libEGL warning: DRI3: Screen seems not DRI3 capable
[task 2025-11-15T11:15:41.377+00:00] 11:15:41     INFO - PID 108384 | libEGL warning: DRI3: Screen seems not DRI3 capable
[task 2025-11-15T11:15:41.393+00:00] 11:15:41     INFO - PID 108384 | MESA: error: ZINK: failed to choose pdev
[task 2025-11-15T11:15:41.394+00:00] 11:15:41     INFO - PID 108384 | libEGL warning: egl: failed to create dri2 screen
[task 2025-11-15T11:15:41.402+00:00] 11:15:41     INFO - PID 108384 | 1763205341401	Marionette	INFO	Marionette enabled
[task 2025-11-15T11:15:41.488+00:00] 11:15:41     INFO - PID 108384 | 1763205341487	Marionette	INFO	Listening on port 51827
[task 2025-11-15T11:15:42.297+00:00] 11:15:42     INFO - PID 108384 | console.error: services.settings:
[task 2025-11-15T11:15:42.297+00:00] 11:15:42     INFO - PID 108384 |   Message: EmptyDatabaseError: "main/nimbus-desktop-experiments" has not been synced yet
[task 2025-11-15T11:15:42.298+00:00] 11:15:42     INFO - PID 108384 |   Stack:
[task 2025-11-15T11:15:42.298+00:00] 11:15:42     INFO - PID 108384 |     EmptyDatabaseError@resource://services-settings/Database.sys.mjs:19:5
[task 2025-11-15T11:15:42.299+00:00] 11:15:42     INFO - PID 108384 | list@resource://services-settings/Database.sys.mjs:96:13

Alexandra, could this failure be from wptsync?
I did some backfills here .

Flags: needinfo?(aborovova)

I don't think it's directly wptsync, I don't see any changes in the test or metadata. It might be that wptsync update added some tests which moved this test to a different chunk and this uncovered some side effects. But in this case, I wouldn't just update metadata. Looks like general expectation is that this test should be passing.

Valentin, could you have a look?

Flags: needinfo?(aborovova) → needinfo?(valentin.gosu)

This seems to be the same as bug 1919651 which has been failing with this error for many months now.
I think it's become a rough permafail in the past 3 months? see bug 1919651 comment 38.

The error is coming from erase_cookie_from_js called from partitioned-cookies.tentative.https.html
I assume the problem is that we have both a partitioned and unpartitioned cookie with the same name, and we only delete one of them?

Note the problem only happens under nofis runs - I haven't been able to repro locally.
I think this may have started / message might have changed in bug 1980997.

Andrea, you have any ideas why clearing the cookie would fail?

Flags: needinfo?(valentin.gosu) → needinfo?(amarchesini)
See Also: → 1919651, 1980997

I don't have a good answer. I know that when we run WPTs, sometimes we see funny failures related to cookies left by previous tests. This was a serious issue for CookieStore WPTs. I wonder if the problem is in how we run WPTs in general. Maybe we should reset the profile more often, because this seems to be a mozilla specific bug.

Flags: needinfo?(amarchesini)
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.