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

Cred Man: Add fully active checks #46422

Merged
merged 2 commits into from
May 29, 2024

Update tests based on feedback

beaa6e0
Select commit
Loading
Failed to load commit list.
Merged

Cred Man: Add fully active checks #46422

Update tests based on feedback
beaa6e0
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded May 23, 2024 in 1m 56s

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


Failed to read: session.slitlistFile
Setting default value
Failed to read: session.appsFile
Setting default value
Failed to read: session.tabsAttachArea
Setting default value
Failed to read: session.cacheLife
Setting default value
Failed to read: session.cacheMax
Setting default value
Failed to read: session.autoRaiseDelay
Setting default value
Failed to read: session.screen0.opaqueMove
Setting default value
Failed to read: session.screen0.fullMaximization
Setting default value
Failed to read: session.screen0.maxIgnoreIncrement
Setting default value
Failed to read: session.screen0.maxDisableMove
Setting default value
Failed to read: session.screen0.maxDisableResize
Setting default value
Failed to read: session.screen0.workspacewarping
Setting default value
Failed to read: session.screen0.showwindowposition
Setting default value
Failed to read: session.screen0.autoRaise
Setting default value
Failed to read: session.screen0.clickRaises
Setting default value
Failed to read: session.screen0.defaultDeco
Setting default value
Failed to read: session.screen0.tab.placement
Setting default value
Failed to read: session.screen0.windowMenu
Setting default value
Failed to read: session.screen0.noFocusWhileTypingDelay
Setting default value
Failed to read: session.screen0.workspaces
Setting default value
Failed to read: session.screen0.edgeSnapThreshold
Setting default value
Failed to read: session.screen0.window.focus.alpha
Setting default value
Failed to read: session.screen0.window.unfocus.alpha
Setting default value
Failed to read: session.screen0.menu.alpha
Setting default value
Failed to read: session.screen0.menuDelay
Setting default value
Failed to read: session.screen0.tab.width
Setting default value
Failed to read: session.screen0.tooltipDelay
Setting default value
Failed to read: session.screen0.allowRemoteActions
Setting default value
Failed to read: session.screen0.clientMenu.usePixmap
Setting default value
Failed to read: session.screen0.tabs.usePixmap
Setting default value
Failed to read: session.screen0.tabs.maxOver
Setting default value
Failed to read: session.screen0.tabs.intitlebar
Setting default value
Failed to read: session.screen0.focusModel
Setting default value
Failed to read: session.screen0.tabFocusModel
Setting default value
Failed to read: session.screen0.focusNewWindows
Setting default value
Failed to read: session.screen0.focusSameHead
Setting default value
Failed to read: session.screen0.rowPlacementDirection
Setting default value
Failed to read: session.screen0.colPlacementDirection
Setting default value
Failed to read: session.screen0.windowPlacement
Setting default value
Failed to read: session.screen0.slit.acceptKdeDockapps
Setting default value
Failed to read: session.screen0.slit.autoHide
Setting default value
Failed to read: session.screen0.slit.maxOver
Setting default value
Failed to read: session.screen0.slit.placement
Setting default value
Failed to read: session.screen0.slit.alpha
Setting default value
Failed to read: session.screen0.slit.onhead
Setting default value
Failed to read: session.screen0.slit.layer
Setting default value
Failed to read: session.screen0.toolbar.autoHide
Setting default value
Failed to read: session.screen0.toolbar.maxOver
Setting default value
Failed to read: session.screen0.toolbar.visible
Setting default value
Failed to read: session.screen0.toolbar.alpha
Setting default value
Failed to read: session.screen0.toolbar.layer
Setting default value
Failed to read: session.screen0.toolbar.onhead
Setting default value
Failed to read: session.screen0.toolbar.placement
Setting default value
Failed to read: session.screen0.toolbar.height
Setting default value
Failed to read: session.screen0.iconbar.mode
Setting default value
Failed to read: session.screen0.iconbar.alignment
Setting default value
Failed to read: session.screen0.iconbar.iconWidth
Setting default value
Failed to read: session.screen0.iconbar.iconTextPadding
Setting default value
Failed to read: session.screen0.iconbar.usePixmap
Setting default value
  ERROR: Command errored out with exit status 1:
   command: /home/test/web-platform-tests/_venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-17gzi4es/mozdebug/setup.py'"'"'; __file__='"'"'/tmp/pip-install-17gzi4es/mozdebug/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-eszf6tg_
       cwd: /tmp/pip-install-17gzi4es/mozdebug/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for mozdebug
  ERROR: Command errored out with exit status 1:
   command: /home/test/web-platform-tests/_venv3/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-17gzi4es/mozlog/setup.py'"'"'; __file__='"'"'/tmp/pip-install-17gzi4es/mozlog/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_ksafld2
       cwd: /tmp/pip-install-17gzi4es/mozlog/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for mozlog
 0:00.00 INFO Set tests_root to /home/test/web-platform-tests
 0:00.00 INFO Set metadata_root to /home/test/web-platform-tests
 0:00.00 INFO Set manifest_update to True
 0:00.00 INFO Set manifest_download to True
 0:07.92 INFO Identified 1 affected tests
 0:07.92 INFO Installing browser
 0:07.97 INFO Downloading Chrome for Testing from https://storage.googleapis.com/chrome-for-testing-public/127.0.6485.0/linux64/chrome-linux64.zip
 0:10.94 INFO Downloading Mojo bindings from https://storage.googleapis.com/chrome-wpt-mojom/127.0.6485.0/linux64/mojojs.zip
 0:11.01 INFO MojoJS enabled automatically (mojojs_path: /home/test/web-platform-tests/_venv3/mojojs/gen)
 0:11.03 INFO Download info for matching ChromeDriver version found.
 0:11.03 INFO Downloading ChromeDriver from https://storage.googleapis.com/chrome-for-testing-public/127.0.6485.0/linux64/chromedriver-linux64.zip
 0:11.24 INFO Automatically turning on experimental features for Chrome Dev/Canary or Chromium trunk
 0:16.34 INFO Installed font: Ahem.ttf
 0:17.14 wptserve INFO Starting http server on http://127.0.0.1:8002
 0:17.17 wptserve INFO Starting http server on http://127.0.0.1:8001
 0:17.20 wptserve INFO Starting http server on http://127.0.0.1:8000
 0:17.26 wptserve INFO Starting http server on http://127.0.0.1:8003
 0:17.27 wptserve INFO Starting https server on https://127.0.0.1:8445
 0:17.31 wptserve INFO Starting https server on https://127.0.0.1:8443
 0:17.32 wptserve INFO Starting https server on https://127.0.0.1:8444
 0:17.32 wptserve INFO Starting https server on https://127.0.0.1:8446
 0:17.34 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.34 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.34 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:17.34 wptserve INFO Starting http2 server on https://127.0.0.1:9000
 0:17.34 wptserve INFO Create socket on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.34 wptserve INFO Bind on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.34 wptserve INFO Listen on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:17.37 wptserve INFO Starting WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:17.53 SUITE_START: web-platform-test - running 1 tests
 0:23.64 INFO Using 1 child processes
 0:23.65 INFO Starting runner
 0:23.66 pid:2184 Full command: /home/test/web-platform-tests/_venv3/bin/chrome/chromedriver --port=57033 --url-base=/ --enable-chrome-logs --disable-build-check
pid:2184 Starting ChromeDriver 127.0.6485.0 (302562c822908ce0e052bd9b93896405a30a62ae-refs/branch-heads/6485@{#1}) on port 57033
 0:23.66 pid:2184 Only local connections are allowed.
 0:23.66 pid:2184 Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
 0:23.66 pid:2184 ChromeDriver was started successfully.
 0:23.97 pid:2184 [2201:2201:0523/084602.278390:WARNING:chrome_main_delegate.cc(742)] This is Chrome version 127.0.6485.0 (not a warning)
 0:23.99 pid:2184 [2201:2201:0523/084602.302833:WARNING:field_trial_util.cc(104)] Field trial config study skipped: CookieSameSiteConsidersRedirectChainDesktop.Enabled (some of its features are already overridden)
 0:24.15 pid:2184 [2236:2236:0523/084602.465067:WARNING:gpu_memory_buffer_support_x11.cc(49)] dri3 extension not supported.
 0:24.16 pid:2184 [2236:2236:0523/084602.467724:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process.
 0:24.57 pid:2184 
 0:24.57 pid:2184 DevTools listening on ws://127.0.0.1:46297/devtools/browser/2dca1631-57c0-44ec-82e7-50df92390d8f
 0:24.62 pid:2184 [2201:2201:0523/084602.931861:WARNING:browser_management_service.cc(128)] EnterpriseLogoUrl fetch failed with error code -1 and MIME type
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value
 0:24.64 pid:2184 [2201:2201:0523/084602.952632:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
 0:24.65 pid:2184 [1716453962.965][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:24.66 pid:2184 [2201:2292:0523/084602.970891: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:24.66 pid:2184 [2201:2292:0523/084602.970908:WARNING:property.cc(144)] DaemonVersion: GetAndBlock: failed.
 0:24.66 pid:2184 [2201:2292:0523/084602.971064: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:24.66 pid:2184 [2201:2292:0523/084602.971216: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:24.69 pid:2184 [2201:2201:0523/084602.997676:WARNING:idle_linux.cc(105)] None of the known D-Bus ScreenSaver services could be used.
 0:24.77 TEST_START: /credential-management/non-fully-active.https.html
 0:24.98 TEST_END: Test OK. Subtests passed 0/1. Unexpected 1
FAIL non-fully active document behavior for CredentialsContainer - promise_rejects_dom: Expected NotAllowedError for get() on non-fully-active document function "function() { throw e }" threw object "InvalidStateError: Failed to execute 'get' on 'CredentialsContainer': Context is detached" that is not a DOMException NotAllowedError: property "code" is equal to 11, expected 0
    at async Test.<anonymous> (https://web-platform.test:8443/credential-management/non-fully-active.https.html:43:5)

 0:24.98 INFO No more tests
 0:24.98 INFO No more tests
 0:24.99 pid:2184 [2201:2201:0523/084603.296168:ERROR:zygote_communication_linux.cc(292)] Failed to send GetTerminationStatus message to zygote
 0:24.99 pid:2184 [2201:2201:0523/084603.296184:WARNING:zygote_communication_linux.cc(304)] Socket closed prematurely.
 0:24.99 pid:2184 [2201:2201:0523/084603.296416:ERROR:zygote_communication_linux.cc(292)] Failed to send GetTerminationStatus message to zygote
 0:24.99 pid:2184 [2201:2201:0523/084603.296424:WARNING:zygote_communication_linux.cc(304)] Socket closed prematurely.
 0:24.99 pid:2184 [2201:2201:0523/084603.297095:ERROR:zygote_communication_linux.cc(292)] Failed to send GetTerminationStatus message to zygote
 0:24.99 pid:2184 [2201:2201:0523/084603.297104:WARNING:zygote_communication_linux.cc(304)] Socket closed prematurely.
 0:24.99 pid:2184 [2201:2216:0523/084603.298356:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 0:25.00 pid:2184 [2201:2267:0523/084603.299164:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
 0:25.00 pid:2184 [0523/084603.312806:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
 0:25.00 pid:2184 [0523/084603.312847:ERROR:file_io_posix.cc(145)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
 0:24.99 INFO Closing logging queue
 0:24.99 INFO queue closed
 0:25.11 SUITE_END

web-platform-test
~~~~~~~~~~~~~~~~~
Ran 2 checks (1 subtests, 1 tests)
Expected results: 1
Unexpected results: 1
  subtest: 1 (1 fail)

Unexpected Results
------------------
/credential-management/non-fully-active.https.html
  FAIL non-fully active document behavior for CredentialsContainer - promise_rejects_dom: Expected NotAllowedError for get() on non-fully-active document function "function() { throw e }" threw object "InvalidStateError: Failed to execute 'get' on 'CredentialsContainer': Context is detached" that is not a DOMException NotAllowedError: property "code" is equal to 11, expected 0
    at async Test.<anonymous> (https://web-platform.test:8443/credential-management/non-fully-active.https.html:43:5)
 0:25.11 INFO Got 1 unexpected results, with 0 unexpected passes
 0:25.11 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
 0:25.23 wptserve INFO Stopped http server on 127.0.0.1:8000
 0:25.40 wptserve INFO Stopped http server on 127.0.0.1:8443
 0:25.54 wptserve INFO Stopped http server on 127.0.0.1:8001
 0:25.54 wptserve INFO Stopped http server on 127.0.0.1:8446
 0:25.55 wptserve INFO Stopped http server on 127.0.0.1:8002
 0:25.55 wptserve INFO Stopped http server on 127.0.0.1:8445
 0:25.55 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
 0:25.55 wptserve INFO Stopped http server on 127.0.0.1:8444
 0:25.55 wptserve INFO Stopped http server on 127.0.0.1:8003
 0:25.55 wptserve INFO Stopped http server on 127.0.0.1:9000
 0:25.55 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
 0:25.64 INFO Removed font: Ahem.ttf
 0:25.66 INFO Closing logging queue
 0:25.66 INFO queue closed
 0:25.66 INFO Tolerating 1 unexpected results
[taskcluster 2024-05-23 08:46:08.715Z] === Task Finished ===
[taskcluster 2024-05-23 08:46:09.642Z] Successful task run with exit code: 0 completed in 112.022 seconds