github web-platform-tests/wpt merge_pr_48570

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
11 months ago

[reporting][wpt] Isolate stashed reports

Several reporting/ tests use the same wptserve stash entry (report ID
d0d517bf-891b-457a-b970-8b2b2c81a0bf 0). If at least two such tests
are unlucky enough to run in parallel, the first one to poll report.py
will cannibalize all of the reports and get too many, while the others
will get too few.

Fix this by regenerating different IDs for all but one of the tests. For
the external WPTs that embed on middle-frame.https.sub.html, plumb the
report ID to same-origin-report.https.sub.html as a query parameter,
where it can be substituted into the Reporting-Endpoints response
header 1.

Continue using hardcoded IDs instead of randomly generated ones so that
reports can be matched with their tests.

Bug: 338470458
Test: run_web_tests.py external/wpt/reporting wpt_internal/reporting --fully-parallel -j 36
Change-Id: I46d4d9de954d853615b067725a136a65a6df622b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5922396
Reviewed-by: Ian Clelland iclelland@chromium.org
Commit-Queue: Jonathan Lee jonathanjlee@google.com
Cr-Commit-Position: refs/heads/main@{#1367116}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.