Bug 276150

Summary: REGRESSION(280553@main?): [macOS iOS wk2]: Multiple tests in imported/w3c/web-platform-tests/upgrade-insecure-requests/gen are flaky failure
Product: WebKit Reporter: Marta Darbinyan <darbinyan>
Component: New BugsAssignee: Charlie Wolfe <charliew>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Marta Darbinyan 2024-07-02 14:56:18 PDT
The following tests are flaky failing on macOS Sonoma, Ventura and iOS17 wk2 queues after commit 280554@main.

imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/fetch.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/img-tag.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/sharedworker-classic.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/sharedworker-module.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/worklet-audio-import-data.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/srcdoc-inherit.meta/unset/worklet-audio.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/fetch.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/img-tag.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/sharedworker-classic.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/sharedworker-module.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/worklet-audio-import-data.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/worklet-audio.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/xhr.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-classic-data.meta/unset/fetch.https.html
imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/worker-module-data.meta/unset/fetch.https.html

Diff logs:
@@ -3,7 +3,7 @@
 PASS Upgrade-Insecure-Requests: Expects blocked for fetch to cross-http-downgrade origin and downgrade redirection from https context.
 PASS Upgrade-Insecure-Requests: Expects blocked for fetch to cross-http-downgrade origin and no-redirect redirection from https context.
 PASS Upgrade-Insecure-Requests: Expects blocked for fetch to cross-https origin and downgrade redirection from https context.
-PASS Upgrade-Insecure-Requests: Expects blocked for fetch to same-http-downgrade origin and downgrade redirection from https context.
-PASS Upgrade-Insecure-Requests: Expects blocked for fetch to same-http-downgrade origin and no-redirect redirection from https context.
-PASS Upgrade-Insecure-Requests: Expects blocked for fetch to same-https origin and downgrade redirection from https context.
+FAIL Upgrade-Insecure-Requests: Expects blocked for fetch to same-http-downgrade origin and downgrade redirection from https context. assert_equals: The resource request should be 'blocked'. expected "blocked" but got "allowed"
+FAIL Upgrade-Insecure-Requests: Expects blocked for fetch to same-http-downgrade origin and no-redirect redirection from https context. assert_equals: The resource request should be 'blocked'. expected "blocked" but got "allowed"
+FAIL Upgrade-Insecure-Requests: Expects blocked for fetch to same-https origin and downgrade redirection from https context. assert_equals: The resource request should be 'blocked'. expected "blocked" but got "allowed"


History:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fsrcdoc-inherit.meta%2Funset%2Fimg-tag.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fsrcdoc-inherit.meta%2Funset%2Fsharedworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fsrcdoc-inherit.meta%2Funset%2Fworklet-audio-import-data.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Ftop.meta%2Funset%2Fimg-tag.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Ftop.meta%2Funset%2Fsharedworker-classic.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Ftop.meta%2Funset%2Fworklet-audio-import-data.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Ftop.meta%2Funset%2Fxhr.https.html&test=imported%2Fw3c%2Fweb-platform-tests%2Fupgrade-insecure-requests%2Fgen%2Fworker-module-data.meta%2Funset%2Ffetch.https.html&flavor=wk2


Link:
https://build.webkit.org/results/Apple-iOS-17-Simulator-Release-WK2-Tests/280581@main%20(4210)/imported/w3c/web-platform-tests/upgrade-insecure-requests/gen/top.meta/unset/fetch.https-pretty-diff.html
Comment 1 Radar WebKit Bug Importer 2024-07-02 14:58:04 PDT
<rdar://problem/130999971>
Comment 2 Charlie Wolfe 2024-07-02 22:35:12 PDT
Pull request: https://github.com/WebKit/WebKit/pull/30430
Comment 3 EWS 2024-07-03 02:42:18 PDT
Committed 280617@main (6334f658e515): <https://commits.webkit.org/280617@main>

Reviewed commits have been landed. Closing PR #30430 and removing active labels.