RESOLVED DUPLICATE of bug 257235 257239
[ iPhone XS + ] TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=257239
Summary [ iPhone XS + ] TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot is a const...
Robert Jenner
Reported 2023-05-23 16:28:07 PDT
TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot is a constant failure on iOS 16 Debug, when running on an iPhone XS and higher. HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot The history indicates that this is constantly passing, and that's true. However, we are currently set to use an iPhone SE (3rd gen) as the set simulator for API-test. This test passes there, but it fails on iPhone XS and higher. The test will need to be updated so that it doesn't become a constant failure, because we would like to move our simulator to iPhone 12 from iPhone SE. STDIO TEXT FAILURE: TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot 2023-05-23 13:46:32.476 TestWebKitAPI[48887:8262975] Loading file:///Volumes/Data/Builds/iOS/SydneyE/Debug/debugbuild264422@main/TestWebKitAPI.resources/large-red-square-image.html No leak checking done: At least one WebView is still open. /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:103 Expected equality of these values: 255 value Which is: '\xBD' (189) /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:104 Expected equality of these values: 0 pixelBuffer[pixelIndex + 1] Which is: '\xBD' (189) /Volumes/Data/worker/trunk-sydneye-ios-simulator-debug-archive/build/OpenSource/Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm:105 Expected equality of these values: 0 pixelBuffer[pixelIndex + 2] Which is: '\xC2' (194)
Attachments
Radar WebKit Bug Importer
Comment 1 2023-05-23 16:28:53 PDT
Robert Jenner
Comment 2 2023-05-23 16:29:54 PDT
This test is very easily reproducible at iOS 16 Debug ToT running the test as follows: run-api-tests --iOS-simulator TestWebKitAPI.WebKitLegacy.RenderInContextSnapshot You will specifically need to boot an iPhone XS or higher simulator to reproduce the failure. After you have chosen your booted simulator it will choose to run on that simulated device, and not the one that we have set for our testing.
Robert Jenner
Comment 3 2023-05-24 17:10:28 PDT
*** This bug has been marked as a duplicate of bug 257235 ***
Note You need to log in before you can comment on or make changes to this bug.