Bug 242119

Summary: [ iOS ] 2X fast/text/accessibility-bold-system-font (Layout-tests) are constant failures
Product: WebKit Reporter: Hercules Hjalmarsson <hhjalmarsson>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: jenner, mmaxfield, rackler, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=242139
Attachments:
Description Flags
Diff images none

Hercules Hjalmarsson
Reported 2022-06-29 10:05:38 PDT
Attachments
Diff images (12.07 KB, application/zip)
2022-06-29 10:09 PDT, Hercules Hjalmarsson
no flags
Hercules Hjalmarsson
Comment 1 2022-06-29 10:09:56 PDT
Created attachment 460545 [details] Diff images
Radar WebKit Bug Importer
Comment 2 2022-06-29 10:11:03 PDT
Hercules Hjalmarsson
Comment 3 2022-06-29 11:45:28 PDT
I was able to reproduce the image failure at both Mac and iOS ToT running the test as follows: run-webkit-tests fast/text/accessibility-bold-system-font/accessibility-bold-system-font-2.html
Hercules Hjalmarsson
Comment 4 2022-06-29 12:03:14 PDT
The test was originally introduced at commit 189770@main, the history shows that it has been disabled for some time and then was re-enabled at commit 251883@main and has been failing ever since being re-enabled.
Ryan Haddad
Comment 5 2022-06-29 12:07:59 PDT
(In reply to Hercules Hjalmarsson from comment #4) > The test was originally introduced at commit 189770@main, the history shows > that it has been disabled for some time and then was re-enabled at commit > 251883@main and has been failing ever since being re-enabled. Based on https://github.com/WebKit/WebKit/commit/3e3f9ab0f79b58eb597037a6de8ebf192ddc1728#diff-0b438e462819a7b0d06250189152c7bcfb07b7c39acd73938bdfccc7b25b8058R5323, I think the intention was for this test to continue failing on macOS. This is surfacing because this is an image failure instead of a text failure, so the [ Pass Fail ] expectation isn't suppressing it. Myles, since these tests aren't expected to pass on macOS, is there any reason we shouldn't just skip them?
Hercules Hjalmarsson
Comment 6 2022-06-29 13:00:11 PDT
Robert Jenner
Comment 7 2022-06-29 13:15:31 PDT
(In reply to Hercules Hjalmarsson from comment #6) > Pull request: https://github.com/WebKit/WebKit/pull/1911 In this Pull Request, we have opted to [ Skip ] these tests for all platforms except iOS. This was because the previously set expectations mentioned that Accessibility Bold only exists on iOS. So in short, we've skipped them for all platforms. Then for iOS we re-enabled them by adding expectations. This one is passing for iOS, so we set the expectation to [ Pass ] for this one: fast/text/accessibility-bold-system-font/accessibility-bold-system-font-3.html The initial test mentioned in this bug is a constant Image Failure for iOS, so we have marked the following test as [ Pass ImageOnlyFailure ] for iOS: fast/text/accessibility-bold-system-font/accessibility-bold-system-font-2.html The final test is a text failure, and has been marked as [ Pass Failure ] for iOS: fast/text/accessibility-bold-system-font/accessibility-bold-system-font.html This is the DIFF for that text failure: https://build.webkit.org/results/Apple-iOS-15-Simulator-Debug-WK2-Tests/251945@main%20(3029)/fast/text/accessibility-bold-system-font/accessibility-bold-system-font-pretty-diff.html -This test makes sure that text using the accessibility bold functionality has the correct weight. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -PASS window.getComputedStyle(target).getPropertyValue('font-weight') is "400" -PASS successfullyParsed is true - -TEST COMPLETE -Hello +CONSOLE MESSAGE: ReferenceError: Can't find variable: description +layer at (0,0) size 800x600 + RenderView at (0,0) size 800x600 +layer at (0,0) size 800x98 + RenderBlock {HTML} at (0,0) size 800x98 + RenderBody {BODY} at (8,8) size 784x82 + RenderBlock {DIV} at (0,0) size 784x82 + RenderText {#text} at (0,0) size 156x82 + text run at (0,0) width 156: "Hello"
EWS
Comment 8 2022-06-29 14:28:21 PDT
Test gardening commit 251963@main (bd97a03885f9): <https://commits.webkit.org/251963@main> Reviewed commits have been landed. Closing PR #1911 and removing active labels.
Myles C. Maxfield
Comment 9 2022-06-29 23:39:41 PDT
*** Bug 242139 has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Comment 10 2022-06-30 00:02:26 PDT
Myles C. Maxfield
Comment 11 2022-06-30 00:09:55 PDT
(In reply to Ryan Haddad from comment #5) > Myles, since these tests aren't expected to pass on macOS, is there any > reason we shouldn't just skip them? In general, it's better to mark flakey rather than skip, because flakey at least makes sure the tests don't crash.
EWS
Comment 12 2022-06-30 00:23:22 PDT
Test gardening commit 251984@main (fa781327fe86): <https://commits.webkit.org/251984@main> Reviewed commits have been landed. Closing PR #1938 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.