WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222825
[Big Sur arm64] TestWebKitAPI.AppleLanguagesTest.UpdateAppleLanguages is timing out
https://bugs.webkit.org/show_bug.cgi?id=222825
Summary
[Big Sur arm64] TestWebKitAPI.AppleLanguagesTest.UpdateAppleLanguages is timi...
Ryan Haddad
Reported
2021-03-05 14:00:03 PST
TestWebKitAPI.AppleLanguagesTest.UpdateAppleLanguages is timing out on the (new) Big Sur Apple Silicon bots
https://build.webkit.org/#/builders/103/builds/19/steps/11/logs/stdio
https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.AppleLanguagesTest.UpdateAppleLanguages
Attachments
Add attachment
proposed patch, testcase, etc.
Ryan Haddad
Comment 1
2021-03-05 14:00:43 PST
This test was recently added with
https://trac.webkit.org/changeset/273904/webkit
, it does not appear to be timing out on the intel-based bots.
Radar WebKit Bug Importer
Comment 2
2021-03-05 14:01:34 PST
<
rdar://problem/75110764
>
Chris Dumez
Comment 3
2021-03-09 20:54:18 PST
I have temporarily disabled the test on Apple Silicon in
https://commits.webkit.org/235113
because it was causing trouble on the bots.
Chris Dumez
Comment 4
2021-03-10 10:38:45 PST
ENABLE_CFPREFS_DIRECT_MODE seems to be enabled on Apple Silicon too so I don't see why the preference observer would not observe the AppleLanguages preference changing...
Chris Dumez
Comment 5
2021-05-04 15:30:02 PDT
Tentatively re-enabling the test in
http://trac.webkit.org/r276985
to see if the test is still failing and what its output looks like.
Chris Dumez
Comment 6
2021-05-05 07:52:53 PDT
It is still failing, this time with this error: ``` /Volumes/Data/worker/bigsur-release/build/Tools/TestWebKitAPI/Tests/WebKit/OverrideAppleLanguagesPreference.mm:131 Value of: didChangeLanguage Actual: false Expected: true TestWebKitAPI.AppleLanguagesTest.UpdateAppleLanguages Failed ```
Chris Dumez
Comment 7
2021-05-05 11:34:41 PDT
My bet is that this is a WebContent sandboxing issue. I see in our sandbox profile that some rules are CPU-specific. Sadly, I do not have a M1 to debug this.
Chris Dumez
Comment 8
2021-05-05 18:48:05 PDT
Note that the test is flaky on Apple Silicon rather than 100% failing. As a result, this seems to be a potential timing issue.
Chris Dumez
Comment 9
2021-05-05 18:49:50 PDT
(In reply to Chris Dumez from
comment #8
)
> Note that the test is flaky on Apple Silicon rather than 100% failing. As a > result, this seems to be a potential timing issue.
According to the flakiness dashboard, the test is also flaky on Intel. However, due to timing, the test is almost always passing on Intel and almost always failing on Apple Silicon.
Chris Dumez
Comment 10
2021-05-05 20:05:43 PDT
With some extra logging and Alexey's help, I was able to figure out that the WKPreferenceObserver does get constructed WKPreferenceObserver.preferenceDidChange does not get called when I update AppleLanguages. Something seems unreliable with the WKPreferenceObserver. Now that I have found
Bug 221848
, maybe this is not too surprising. It seems many of the WKPreferenceObserver API tests are currently disabled due to flakiness.
Eric Hutchison
Comment 11
2021-07-21 09:24:41 PDT
This test is now flaky failing on Intel almost always since 7/12/21,
r279855
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug