DOM: Implement the first()
Observable operator
#45479
Merged
Community-TC Integration / wpt-chrome-dev-results
succeeded
Apr 3, 2024 in 4m 47s
Community-TC (pull_request)
Collect results for all tests affected by a pull request in chrome.
Details
View task in Taskcluster
View logs in Taskcluster
WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome
0:00.00 INFO Set manifest_download to True
0:11.59 INFO Identified 1 affected tests
0:11.59 INFO Installing browser
0:11.67 INFO Downloading Chrome for Testing from https://storage.googleapis.com/chrome-for-testing-public/125.0.6368.2/linux64/chrome-linux64.zip
0:14.79 INFO Downloading Mojo bindings from https://storage.googleapis.com/chrome-wpt-mojom/125.0.6368.2/linux64/mojojs.zip
0:14.85 INFO MojoJS enabled automatically (mojojs_path: /home/test/web-platform-tests/_venv3/mojojs/gen)
0:14.88 INFO Download info for matching ChromeDriver version found.
0:14.88 INFO Downloading ChromeDriver from https://storage.googleapis.com/chrome-for-testing-public/125.0.6368.2/linux64/chromedriver-linux64.zip
0:15.13 INFO Automatically turning on experimental features for Chrome Dev/Canary or Chromium trunk
0:21.80 INFO Installed font: Ahem.ttf
0:22.73 wptserve INFO Starting http server on http://127.0.0.1:8000
0:22.75 wptserve INFO Starting http server on http://127.0.0.1:8002
0:22.78 wptserve INFO Starting http server on http://127.0.0.1:8001
0:22.79 wptserve INFO Starting https server on https://127.0.0.1:8445
0:22.84 wptserve INFO Starting https server on https://127.0.0.1:8443
0:22.86 wptserve INFO Starting http server on http://127.0.0.1:8003
0:22.87 wptserve INFO Starting http2 server on https://127.0.0.1:9000
0:22.90 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:22.90 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:22.90 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:22.91 wptserve INFO Starting https server on https://127.0.0.1:8444
0:22.91 wptserve INFO Starting https server on https://127.0.0.1:8446
0:22.91 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:22.92 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:22.92 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:22.96 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
0:24.50 SUITE_START: web-platform-test - running 2 tests
mem avail: 14490 of 15806 MiB (91 %), swap free: 0 of 0 MiB ( 0 %)
0:31.40 INFO Using 1 child processes
0:31.91 pid:2169 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=52583 --url-base=/ --enable-chrome-logs --disable-build-check
pid:2169 Starting ChromeDriver 125.0.6368.2 (29de32c3a773d5be395c2a6d8981d108e970332e-refs/branch-heads/6368@{#5}) on port 52583
0:31.91 pid:2169 Only local connections are allowed.
0:31.91 pid:2169 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
0:31.91 pid:2169 ChromeDriver was started successfully.
0:31.91 INFO Starting runner
0:32.27 pid:2169 [2186:2186:0403/040012.358221:WARNING:chrome_main_delegate.cc(750)] This is Chrome version 125.0.6368.2 (not a warning)
0:33.11 pid:2169 [2186:2186:0403/040013.200013:INFO:config_dir_policy_loader.cc(118)] Skipping mandatory platform policies because no policy file was found at: /etc/opt/chrome_for_testing/policies/managed
0:33.11 pid:2169 [2186:2186:0403/040013.200046:INFO:config_dir_policy_loader.cc(118)] Skipping recommended platform policies because no policy file was found at: /etc/opt/chrome_for_testing/policies/recommended
0:33.11 pid:2169 [2186:2186:0403/040013.201897:WARNING:field_trial_util.cc(104)] Field trial config study skipped: CookieSameSiteConsidersRedirectChainDesktop.Enabled (some of its features are already overridden)
0:33.11 pid:2169 [2186:2186:0403/040013.202580:WARNING:field_trial_util.cc(104)] Field trial config study skipped: PendingBeaconAPI.EnabledOnlyForOriginTrial (some of its features are already overridden)
0:33.27 pid:2169 [2216:2216:0403/040013.362402:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
0:33.27 pid:2169 [2216:2216:0403/040013.365448:WARNING:sandbox_linux.cc(420)] InitializeSandbox() called with multiple threads in process gpu-process.
0:33.75 pid:2169 [2186:2186:0403/040013.838423:ERROR:chrome_browser_cloud_management_controller.cc(161)] Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.
0:33.78 pid:2169
0:33.78 pid:2169 DevTools listening on ws://127.0.0.1:37691/devtools/browser/aadba512-7cc8-48e1-9d42-ab8f2dd47933
0:33.87 pid:2169 [2186:2186:0403/040013.963187:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
0:33.90 pid:2169 [2186:2186:0403/040013.991289:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
0:33.91 pid:2169 [1712116813.999][WARNING]: You are using an unsupported command-line switch: --disable-build-check. Please don't report bugs that cannot be reproduced with this switch removed.
0:33.91 pid:2169 [2186:2282:0403/040014.003202:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
0:33.91 pid:2169 [2186:2282:0403/040014.003221:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed.
0:33.91 pid:2169 [2186:2282:0403/040014.003387:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
0:33.91 pid:2169 [2186:2282:0403/040014.003548:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
0:33.92 pid:2169 [2186:2186:0403/040014.016688:WARNING:idle_linux.cc(105)] None of the known D-Bus ScreenSaver services could be used.
0:52.33 TEST_START: /dom/observable/tentative/observable-first.any.worker.html
0:52.95 TEST_END: Test OK. Subtests passed 0/5. Unexpected 5
FAIL first(): Promise resolves with the first value from the source Observable - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Promise rejects with the error emitted from the source Observable - assert_equals: Promise rejects with source Observable error expected object "Error: error from source" but got object "TypeError: source.first is not a function"
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:35:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Promise rejects with RangeError when source Observable completes without emitting any values - assert_true: Upon complete(), first() Promise rejects with RangeError expected true got false
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:50:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Aborting a signal rejects the Promise with an AbortError DOMException - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Lifecycle - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
0:52.95 TEST_START: /dom/observable/tentative/observable-first.any.html
0:53.13 TEST_END: Test OK. Subtests passed 0/5. Unexpected 5
FAIL first(): Promise resolves with the first value from the source Observable - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Promise rejects with the error emitted from the source Observable - assert_equals: Promise rejects with source Observable error expected object "Error: error from source" but got object "TypeError: source.first is not a function"
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:35:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Promise rejects with RangeError when source Observable completes without emitting any values - assert_true: Upon complete(), first() Promise rejects with RangeError expected true got false
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:50:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Aborting a signal rejects the Promise with an AbortError DOMException - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Lifecycle - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
0:53.13 INFO No more tests
0:53.13 INFO No more tests
0:53.13 pid:2169 [2186:2186:0403/040033.221900:ERROR:zygote_communication_linux.cc(290)] Failed to send GetTerminationStatus message to zygote
0:53.13 pid:2169 [2186:2186:0403/040033.222115:WARNING:zygote_communication_linux.cc(302)] Socket closed prematurely.
0:53.13 pid:2169 [2186:2186:0403/040033.222880:ERROR:zygote_communication_linux.cc(290)] Failed to send GetTerminationStatus message to zygote
0:53.13 pid:2169 [2186:2186:0403/040033.223057:WARNING:zygote_communication_linux.cc(302)] Socket closed prematurely.
0:53.13 pid:2169 [2186:2186:0403/040033.223887:ERROR:zygote_communication_linux.cc(290)] Failed to send GetTerminationStatus message to zygote
0:53.13 pid:2169 [2186:2186:0403/040033.224061:WARNING:zygote_communication_linux.cc(302)] Socket closed prematurely.
0:53.13 pid:2169 [2186:2310:0403/040033.225643:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
0:53.14 pid:2169 [2186:2201:0403/040033.225734:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
0:55.41 pid:2169 [0403/040035.500872:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
0:55.41 pid:2169 [0403/040035.500932:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
0:53.13 INFO Closing logging queue
0:53.14 INFO queue closed
0:56.70 SUITE_END
web-platform-test
~~~~~~~~~~~~~~~~~
Ran 12 checks (10 subtests, 2 tests)
Expected results: 2
Unexpected results: 10
subtest: 10 (10 fail)
Unexpected Results
------------------
/dom/observable/tentative/observable-first.any.worker.html
FAIL first(): Promise resolves with the first value from the source Observable - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Promise rejects with the error emitted from the source Observable - assert_equals: Promise rejects with source Observable error expected object "Error: error from source" but got object "TypeError: source.first is not a function"
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:35:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Promise rejects with RangeError when source Observable completes without emitting any values - assert_true: Upon complete(), first() Promise rejects with RangeError expected true got false
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:50:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Aborting a signal rejects the Promise with an AbortError DOMException - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Lifecycle - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
/dom/observable/tentative/observable-first.any.html
FAIL first(): Promise resolves with the first value from the source Observable - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Promise rejects with the error emitted from the source Observable - assert_equals: Promise rejects with source Observable error expected object "Error: error from source" but got object "TypeError: source.first is not a function"
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:35:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Promise rejects with RangeError when source Observable completes without emitting any values - assert_true: Upon complete(), first() Promise rejects with RangeError expected true got false
at Test.<anonymous> (http://web-platform.test:8000/dom/observable/tentative/observable-first.any.js:50:3)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:738:36
at new Promise (<anonymous>)
at http://web-platform.test:8000/resources/testharness.js:737:20
FAIL first(): Aborting a signal rejects the Promise with an AbortError DOMException - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
FAIL first(): Lifecycle - promise_test: Unhandled rejection with value: object "TypeError: source.first is not a function"
Error
at get_stack (http://web-platform.test:8000/resources/testharness.js:4571:21)
at new AssertionError (http://web-platform.test:8000/resources/testharness.js:4564:22)
at assert (http://web-platform.test:8000/resources/testharness.js:4548:19)
at Test.<anonymous> (http://web-platform.test:8000/resources/testharness.js:764:29)
at Test.step (http://web-platform.test:8000/resources/testharness.js:2622:25)
at http://web-platform.test:8000/resources/testharness.js:2669:35
0:56.70 INFO Got 2 unexpected results, with 0 unexpected passes
0:56.70 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
0:56.92 wptserve INFO Stopped http server on 127.0.0.1:8445
0:56.92 wptserve INFO Stopped http server on 127.0.0.1:8443
0:56.92 wptserve INFO Stopped http server on 127.0.0.1:8002
0:56.93 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
0:56.93 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
0:56.93 wptserve INFO Stopped http server on 127.0.0.1:8001
0:56.93 wptserve INFO Stopped http server on 127.0.0.1:8446
0:56.93 wptserve INFO Stopped http server on 127.0.0.1:9000
0:56.94 wptserve INFO Stopped http server on 127.0.0.1:8003
0:56.94 wptserve INFO Stopped http server on 127.0.0.1:8444
0:57.03 wptserve INFO Stopped http server on 127.0.0.1:8000
0:57.09 INFO Removed font: Ahem.ttf
0:57.11 INFO Closing logging queue
0:57.11 INFO queue closed
0:57.11 INFO Tolerating 2 unexpected results
[taskcluster 2024-04-03 04:01:33.568Z] === Task Finished ===
[taskcluster 2024-04-03 04:01:34.473Z] Successful task run with exit code: 0 completed in 261.498 seconds
Loading