Closed Bug 1827682 Opened 2 years ago Closed 1 year ago

Intermittent /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html | single tracking bug

Categories

(Testing :: web-platform-tests, defect, P5)

defect

Tracking

(firefox-esr102 unaffected, firefox112 unaffected, firefox113 unaffected, firefox114 wontfix, firefox120 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox112 --- unaffected
firefox113 --- unaffected
firefox114 --- wontfix
firefox120 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, intermittent-testcase, regression, Whiteboard: [stockwell unknown])

Attachments

(1 file)

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


[task 2023-04-12T17:01:40.076Z] 17:01:40     INFO - TEST-START | /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html
[task 2023-04-12T17:01:40.099Z] 17:01:40     INFO - Closing window c9b7a188-0325-4832-99e9-40f3306c0eb8
[task 2023-04-12T17:01:41.677Z] 17:01:41  WARNING - Action set_permission not implemented
[task 2023-04-12T17:01:41.873Z] 17:01:41  WARNING - Action set_permission not implemented
[task 2023-04-12T17:01:42.077Z] 17:01:42  WARNING - Action set_permission not implemented
[task 2023-04-12T17:01:42.271Z] 17:01:42  WARNING - Action set_permission not implemented
[task 2023-04-12T17:02:11.036Z] 17:02:11     INFO - TEST-UNEXPECTED-TIMEOUT | /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html | expected OK
[task 2023-04-12T17:02:11.036Z] 17:02:11     INFO - TEST-INFO took 30961ms
[task 2023-04-12T17:02:11.325Z] 17:02:11     INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2023-04-12T17:02:11.422Z] 17:02:11     INFO - STDOUT: cleanup aborted: Unable to remount device
[task 2023-04-12T17:02:11.425Z] 17:02:11     INFO - Closing logging queue
[task 2023-04-12T17:02:11.425Z] 17:02:11     INFO - queue closed
[task 2023-04-12T17:02:11.434Z] 17:02:11     INFO - Setting up ssl
[task 2023-04-12T17:02:11.450Z] 17:02:11     INFO - certutil | b''
[task 2023-04-12T17:02:11.466Z] 17:02:11     INFO - certutil | b''
[task 2023-04-12T17:02:11.476Z] 17:02:11     INFO - certutil | b'\nCertificate Nickname                                         Trust Attributes\n                                                             SSL,S/MIME,JAR/XPI\n\nweb-platform-tests                                           CT,, \n'
[task 2023-04-12T17:02:12.026Z] 17:02:12     INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test_runner
[task 2023-04-12T17:02:13.122Z] 17:02:13     INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test_runner/org.mozilla.geckoview.test_runner.TestRunnerActivity -a android.intent.action.MAIN --es env0 MOZ_CRASHREPORTER=1 --es env1 MOZ_CRASHREPORTER_NO_REPORT=1 --es env2 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env4 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4 --es env6 R_LOG_LEVEL=6 --es env7 R_LOG_DESTINATION=stderr --es env8 R_LOG_VERBOSE=1 --es env9 MOZ_PROCESS_LOG=/tmp/tmpj607eqxnpidlog --es env10 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env11 STYLO_THREADS=1 --es arg0 -no-remote --es arg1 -profile --es arg2 /data/local/tmp/test_root/profile --es arg3 --marionette --es arg4 about:blank --ez use_multiprocess True
[task 2023-04-12T17:02:14.235Z] 17:02:14     INFO - Starting runner
Keywords: regression
Regressed by: 1823709

Set release status flags based on info from the regressing bug 1823709

Update

There have been 36 total failures within the last 7 days:

  • 4 failures on Android 7.0 x86-64 Lite WebRender opt
  • 27 failures on Android 7.0 x86-64 WebRender debug/opt
  • 3 failures on Android 7.0 x86-64 Lite WebRender Shippable opt
  • 2 failures on Android 7.0 x86-64 Shippable WebRender opt

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=430896983&repo=mozilla-central&lineNumber=3903

[task 2023-09-30T22:01:23.068Z] 22:01:23     INFO - TEST-START | /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html
[task 2023-09-30T22:01:23.069Z] 22:01:23     INFO - Clearing pref marionette.setpermission.enabled
[task 2023-09-30T22:01:23.104Z] 22:01:23     INFO - Setting pref dom.storage_access.auto_grants to true
[task 2023-09-30T22:01:23.138Z] 22:01:23     INFO - Clearing pref dom.storage_access.prompt.testing
[task 2023-09-30T22:01:23.169Z] 22:01:23     INFO - Clearing pref dom.storage_access.prompt.testing.allow
[task 2023-09-30T22:01:23.229Z] 22:01:23     INFO - Setting pref marionette.setpermission.enabled to true
[task 2023-09-30T22:01:23.291Z] 22:01:23     INFO - Setting pref dom.storage_access.auto_grants to false
[task 2023-09-30T22:01:23.355Z] 22:01:23     INFO - Setting pref dom.storage_access.prompt.testing to true
[task 2023-09-30T22:01:23.420Z] 22:01:23     INFO - Setting pref dom.storage_access.prompt.testing.allow to false
[task 2023-09-30T22:01:23.479Z] 22:01:23     INFO - Closing window a040351a-ec33-4d8a-8a88-e4b7e63a0ab2
[task 2023-09-30T22:01:25.612Z] 22:01:25     INFO - Deleting all cookies
[task 2023-09-30T22:01:54.871Z] 22:01:54     INFO - TEST-UNEXPECTED-TIMEOUT | /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html | expected OK
[task 2023-09-30T22:01:54.871Z] 22:01:54     INFO - TEST-INFO took 31803ms

James, can you assign this to someone?
Thank you.

Flags: needinfo?(james)
Whiteboard: [stockwell needswork:owner]
Assignee: nobody → smolnar
Status: NEW → ASSIGNED
Flags: needinfo?(james)

asuth: Is the underlying issue here something that you know about / need to investigate?

Flags: needinfo?(bugmail)

(In reply to James Graham [:jgraham] from comment #8)

asuth: Is the underlying issue here something that you know about / need to investigate?

Thank you for raising this question! The StorageAccess API is an anti-tracking API, and it looks like :bvandersloot has touched it most recently, so redirecting needinfo there. (DOM Storage APIs defer all core decisions about storage permissions to StorageAccess checks which are subsystems owned by the anti-tracking team. In bug 1776271 we hope to change the abstraction around how the permission is expressed and policies inferred, but the underlying checks and their interaction with StorageAccess will still be owned by anti-tracking.)

(Aside for bvandersloot: If the WPT should ideally be (indirectly) setting preferences via webdriver to avoid the UI showing a prompt like we experience for navigator.storage.persist() in bug 1837282, bug 1524074 is the right bug for that. We can of course directly set prefs in our meta files, but that doesn't help wpt.fyi since it doesn't use our meta files. There is some additional context in bug 1855037.)

Flags: needinfo?(bugmail) → needinfo?(bvandersloot)

This is something I am aware of. I've been working on passing these WPT the last few months, and this is one of the cases that may take some work.

(Aside for bvandersloot: If the WPT should ideally be (indirectly) setting preferences via webdriver to avoid the UI showing a prompt like we experience for navigator.storage.persist() in bug 1837282, bug 1524074 is the right bug for that. We can of course directly set prefs in our meta files, but that doesn't help wpt.fyi since it doesn't use our meta files. There is some additional context in bug 1855037.)

I noticed that they weren't greening up in wpt.fyi. I'll need to talk to the developers that wrote the tests over on Chrome. They seem to be written with an assumption that any shown prompt is rejected immediately. I may have a question in the future about what preferences are appropriate to put in web-platform/user.js, but I'll cross that bridge when I come to it. Thank you!

Flags: needinfo?(bvandersloot)
Pushed by smolnar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c52cb3d248f0 Adjust requestStorageAccess-ABA.tentative.sub.https.window.js.ini manifest file. r=jgraham,intermittent-reviewers DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: