Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie Store API - Add tests for creation url, control characters, default secure #50129

Merged
merged 1 commit into from
Jan 16, 2025

Cookie Store API - Add tests for creation url, control characters, de…

0d7dcd7
Select commit
Loading
Failed to load commit list.
Merged

Cookie Store API - Add tests for creation url, control characters, default secure #50129

Cookie Store API - Add tests for creation url, control characters, de…
0d7dcd7
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-firefox-nightly-results-without-changes succeeded Jan 16, 2025 in 2m 31s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in firefox but without the changes in the PR.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-01-16T22:18:30.488Z
Resolved: 2025-01-16T22:20:09.152Z
Task Execution Time: 1 minute, 38 seconds, 664 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=nightly --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected task_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --binary=/home/test/build/firefox/firefox firefox


[taskcluster 2025-01-16 22:18:30.545Z] Task ID: aITnuuzySJW6TE0AY95Ojw
[taskcluster 2025-01-16 22:18:30.545Z] Worker ID: 4054540175246899794
[taskcluster 2025-01-16 22:18:30.545Z] Worker Group: us-east4-c
[taskcluster 2025-01-16 22:18:30.545Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2025-01-16 22:18:30.545Z] Worker Pool: proj-wpt/ci
[taskcluster 2025-01-16 22:18:30.545Z] Worker Version: 46.1.0
[taskcluster 2025-01-16 22:18:30.545Z] Public IP: 35.236.235.76
[taskcluster 2025-01-16 22:18:30.545Z] Hostname: proj-wpt-ci-jew-v4c2tiwnaba9prlcxq

[taskcluster 2025-01-16 22:18:31.316Z] === Task Starting ===
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/01-locale-fix.sh ']'
+ . /etc/profile.d/01-locale-fix.sh
+++ /usr/bin/locale-check C.UTF-8
++ eval
+ for i in /etc/profile.d/*.sh
+ '[' -r /etc/profile.d/libvirt-uri.sh ']'
+ . /etc/profile.d/libvirt-uri.sh

...(385 lines hidden)...

 0:13.53 mozversion INFO application_version: 136.0a1
 0:13.53 mozversion INFO platform_buildid: 20250115215720
 0:13.53 mozversion INFO platform_changeset: f7524feb52aa820a5e877b14b4a0a02815cf3ae8
 0:13.53 mozversion INFO platform_repository: https://hg.mozilla.org/mozilla-central
 0:13.53 mozversion INFO platform_version: 136.0a1
 0:18.73 INFO Installed font: Ahem.ttf
 0:19.40 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:19.40 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:19.55 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:19.57 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:19.63 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:19.64 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:19.65 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:19.70 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:19.71 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:19.71 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:19.71 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:19.71 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:19.74 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:19.74 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:19.74 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:19.75 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:20.25 SUITE_START: web-platform-test - running 6 tests
 0:27.96 INFO Using 1 child processes
 0:27.98 INFO Setting up ssl
 0:28.00 certutil Full command: /usr/bin/certutil -N -d /tmp/tmprr0ogqcn.mozrunner -f /tmp/tmprr0ogqcn.mozrunner/.crtdbpw
certutil b''
 0:28.02 certutil b''
 0:28.03 certutil b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
 0:28.03 INFO Application command: /home/test/build/firefox/firefox --marionette about:blank -profile /tmp/tmpreyu8wr7
 0:28.04 INFO Starting runner
 0:28.48 pid:1375 Full command: /home/test/build/firefox/firefox --marionette about:blank
pid:1375 [GFX1-]: glxtest: libpci missing
 0:28.48 pid:1375 ATTENTION: default value of option mesa_glthread overridden by environment.
 0:28.56 pid:1375 1737065999400	Marionette	INFO	Marionette enabled
 0:28.64 pid:1375 1737065999482	Marionette	INFO	Listening on port 49413
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:30.49 pid:1375 console.error: ({})
 0:31.21 TEST_START: /cookie-store/cookieListItem_attributes.https.any.serviceworker.html
 0:31.66 TEST_END: Test OK. Subtests passed 0/10. Unexpected 10
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18

 0:31.66 TEST_START: /cookie-store/cookieListItem_attributes.https.any.html
 0:31.66 INFO Closing window fc8d360c-3e9d-44a9-a1cd-eae3f4f46990
 0:31.98 TEST_END: Test OK. Subtests passed 0/10. Unexpected 10
FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18

 0:31.98 TEST_START: /cookie-store/cookieStore_delete_arguments.https.any.html
 0:31.98 INFO Closing window 727a042f-83a8-4662-b3af-94463ebc606f
 0:32.31 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
 0:32.31 TEST_START: /cookie-store/cookieStore_delete_arguments.https.any.serviceworker.html
 0:32.32 INFO Closing window 1e586d2c-3fb5-4fed-b2dd-2d7d31c4fdf4
 0:32.74 TEST_END: Test OK. Subtests passed 14/14. Unexpected 0
 0:32.74 TEST_START: /cookie-store/cookieStore_set_arguments.https.any.html
 0:32.75 INFO Closing window 08470b78-11a4-43d0-9138-a795f8aec631
 0:33.16 TEST_END: Test OK. Subtests passed 20/22. Unexpected 2
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:180:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:258:16

 0:33.16 TEST_START: /cookie-store/cookieStore_set_arguments.https.any.serviceworker.html
 0:33.16 INFO Closing window af982e2b-38e4-483b-8425-a3129f8309a0
 0:33.42 pid:1375 [Parent 1375, IPC I/O Parent] WARNING: failed to send SIGKILL to process 1606: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:153
 0:33.59 TEST_END: Test OK. Subtests passed 20/22. Unexpected 2
FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:180:16
FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:258:16

 0:33.59 INFO No more tests
 0:33.60 pid:1375 1737066004438	Marionette	INFO	Stopped listening on port 49413
 0:34.05 pid:1375 [Parent 1375, IPC I/O Parent] WARNING: failed to send SIGKILL to process 1746: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:153
 0:34.20 INFO Browser exited with return code -15
 0:34.09 INFO Closing logging queue
 0:34.09 INFO queue closed
 0:34.21 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 98 checks (92 subtests, 6 tests)
Expected results: 74
Unexpected results: 24
  subtest: 24 (24 fail)

Unexpected Results
------------------
/cookie-store/cookieListItem_attributes.https.any.serviceworker.html
  FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
  FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
  FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
  FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
  FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
  FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
  FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
  FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
  FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
  FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
/cookie-store/cookieListItem_attributes.https.any.html
  FAIL CookieListItem - cookieStore.set defaults with positional name and value - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:28:16
  FAIL CookieListItem - cookieStore.set defaults with name and value in options - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:49:16
  FAIL CookieListItem - cookieStore.set with expires set to a timestamp 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:71:16
  FAIL CookieListItem - cookieStore.set with expires set to a Date 10 years in the future - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:94:16
  FAIL CookieListItem - cookieStore.set with domain set to the current hostname - assert_equals: expected (string) "web-platform.test" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:112:16
  FAIL CookieListItem - cookieStore.set with path set to the current directory - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:138:16
  FAIL CookieListItem - cookieStore.set adds / to path if it does not end with / - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:163:16
  FAIL CookieListItem - cookieStore.set with sameSite set to strict - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
  FAIL CookieListItem - cookieStore.set with sameSite set to lax - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
  FAIL CookieListItem - cookieStore.set with sameSite set to none - assert_equals: expected (object) null but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieListItem_attributes.https.any.js:186:18
/cookie-store/cookieStore_set_arguments.https.any.html
  FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:180:16
  FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:258:16
/cookie-store/cookieStore_set_arguments.https.any.serviceworker.html
  FAIL cookieStore.set default domain is null and differs from current hostname - assert_equals: expected 2 but got 1
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:180:16
  FAIL cookieStore.set adds / to path that does not end with / - assert_equals: expected (string) "/cookie-store/" but got (undefined) undefined
@https://web-platform.test:8443/cookie-store/cookieStore_set_arguments.https.any.js:258:16
 0:34.21 INFO Got 4 unexpected results, with 0 unexpected passes
 0:34.22 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:34.26 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:34.26 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:34.27 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:34.27 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:34.27 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:34.28 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:34.28 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:34.28 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:34.28 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:34.31 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:34.66 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:34.70 INFO Removed font: Ahem.ttf
 0:34.72 INFO Closing logging queue
 0:34.72 INFO queue closed
 0:34.72 INFO Tolerating 4 unexpected results
[taskcluster 2025-01-16 22:20:07.306Z] === Task Finished ===
[taskcluster 2025-01-16 22:20:08.281Z] Successful task run with exit code: 0 completed in 97.737 seconds