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

Stop mixing test and promise_test usage in SAA tests #39311

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

It's not clear that the test harness supports mixing these two kinds of
tests safely, without concurrency issues.

Bug: 1427180
Change-Id: Ib9d060bb52477ce99697d559cfb1f1d6e30f468c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4386517
Commit-Queue: Shuran Huang <[email protected]>
Auto-Submit: Chris Fredrickson <[email protected]>
Reviewed-by: Shuran Huang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1124445}

It's not clear that the test harness supports mixing these two kinds of
tests safely, without concurrency issues.

Bug: 1427180
Change-Id: Ib9d060bb52477ce99697d559cfb1f1d6e30f468c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4386517
Commit-Queue: Shuran Huang <[email protected]>
Auto-Submit: Chris Fredrickson <[email protected]>
Reviewed-by: Shuran Huang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1124445}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@WeizhongX
Copy link
Contributor

python3 ./wpt run --channel=nightly --verify --verify-no-chaos-mode --verify-repeat-loop=0 --verify-repeat-restart=10 --github-checks-text-file=/home/test/artifacts/checkrun.md --affected base_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

Some affected tests had inconsistent (flaky) results:

Unstable results

Test Subtest Results Messages
/top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.html [top-level-context] document.requestStorageAccessFor() should be rejected when called in an insecure context FAIL: 8/10, NOTRUN: 2/10 promise_test: Unhandled rejection with value: object "TypeError: document.requestStorageAccessFor is not a function"

These may be pre-existing or new flakes. Please try to reproduce (see the above WPT command, though some flags may not be needed when running locally) and determine if your change introduced the flake. If you are unable to reproduce the problem, please tag @web-platform-tests/wpt-core-team in a comment for help.

@WeizhongX
Copy link
Contributor

@jcscottiii
created crbug.com/1429782, pls help admin merge, thanks!

@cfredric
Copy link
Contributor

cfredric commented Apr 3, 2023

Can someone help me understand why 8 failures and 2 "not run" results mean this test is considered flaky? I would've thought that some mix of pass/fail would be required for a flaky determination. AFAICT, this test just doesn't pass on Firefox, since Firefox doesn't implement/expose the document.requestStorageAccessFor API.

@past
Copy link
Member

past commented Apr 4, 2023

@cfredric I would recommend pinging jgraham in the WPT matrix channel.

@WeizhongX
Copy link
Contributor

@cfredric FAIL and NOTRUN are different results, so make sense to say it is flaky. My question is why that subtest is the only flaky one. Supposedly another subtest should also be flaky between Timeout and something else to cause this to happen.

Sorry for not looking closely to this earlier. Pls still check with jgraham@ as suggested.

@past past merged commit f853785 into master Apr 4, 2023
@past past deleted the chromium-export-d3716a1ece branch April 4, 2023 20:01
@cfredric
Copy link
Contributor

cfredric commented Apr 5, 2023

Thank you, @past!

cookiecrook pushed a commit to cookiecrook/wpt that referenced this pull request Apr 8, 2023
…sts#39311)

It's not clear that the test harness supports mixing these two kinds of
tests safely, without concurrency issues.

Bug: 1427180
Change-Id: Ib9d060bb52477ce99697d559cfb1f1d6e30f468c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4386517
Commit-Queue: Shuran Huang <[email protected]>
Auto-Submit: Chris Fredrickson <[email protected]>
Reviewed-by: Shuran Huang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1124445}

Co-authored-by: Chris Fredrickson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants