Bug 242509
| Summary: | PROGRESSION (252224@main): [ iOS Debug ][ macOS Debug ] Two TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptions tests are a consistent crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Rackler <rackler> |
| Component: | New Bugs | Assignee: | pascoe <pascoe> |
| Status: | REOPENED | ||
| Severity: | Normal | CC: | pascoe, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Karl Rackler
Description:
TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimun TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMaximumDefault
The first failure and crash that I saw on the dashboard were on 7/7/2022 at 252217@main. These tests were consistently crashing on Debug and consistently failing on Release for iOS and macOS. 252224@main was a progressive fix for the iOS and macOS Release consistent failures, but did not resolve the consistent crashing on iOS and macOS Debug.
REPRODUCTION STEPS
I can reproduce this on 252269@main ToT
Command:
run-api-tests --debug --no-build --verbose TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimun
Result:
* Same as crash log below *
History:
https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimun&test=TestWebKitAPI.WebProcessCache.ReusedCrashedCachedWebProcess&limit=50000
Crash Log:
TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMaximumDefault
ASSERTION FAILED: rpEntity.identifier
/Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm(653) : WebCore::PublicKeyCredentialCreationOptions::RpEntity publicKeyCredentialRpEntity(_WKPublicKeyCredentialRelyingPartyEntity *)
1 0x108d79bd9 WTFCrash
2 0x144386e9b WTFCrashWithInfo(int, char const*, char const*, int)
3 0x145888007 publicKeyCredentialRpEntity(_WKPublicKeyCredentialRelyingPartyEntity*)
4 0x145887955 +[_WKWebAuthenticationPanel convertToCoreCreationOptionsWithOptions:]
5 0x105a46e05 TestWebKitAPI::WebAuthenticationPanel_PublicKeyCredentialCreationOptionsMaximumDefault_Test::TestBody()
6 0x105b8d8cb void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
7 0x105b51d1a void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)
8 0x105b51c63 testing::Test::Run()
9 0x105b52de1 testing::TestInfo::Run()
10 0x105b53e84 testing::TestSuite::Run()
11 0x105b62f9b testing::internal::UnitTestImpl::RunAllTests()
12 0x105b9280b bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
13 0x105b6295a bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
14 0x105b62845 testing::UnitTest::Run()
15 0x105202091 RUN_ALL_TESTS()
16 0x105202026 TestWebKitAPI::TestsController::run(int, char**)
17 0x105b1f812 main
18 0x117db151e
TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimun
* Same as above *
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/96674140>
pascoe@apple.com
Pull request: https://github.com/WebKit/WebKit/pull/2225
EWS
Committed 252274@main (0832284c78b8): <https://commits.webkit.org/252274@main>
Reviewed commits have been landed. Closing PR #2225 and removing active labels.
pascoe@apple.com
Reopening for a fix to re-enable the test.
pascoe@apple.com
Pull request: https://github.com/WebKit/WebKit/pull/2228
EWS
Committed 252280@main (e54af3fce340): <https://commits.webkit.org/252280@main>
Reviewed commits have been landed. Closing PR #2228 and removing active labels.
Karl Rackler
After landing 252280@main I have yet to see new test runs with TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimun and TestWebKitAPI.WebProcessCache.ReusedCrashedCachedWebProcess is a consistent timeout.
pascoe@apple.com
Both are passing: https://results.webkit.org/?suite=api-tests&suite=api-tests&test=TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMinimum&test=TestWebKitAPI.WebAuthenticationPanel.PublicKeyCredentialCreationOptionsMaximumDefault&limit=50000
TestWebKitAPI.WebProcessCache.ReusedCrashedCachedWebProcess is an unrelated test.
pascoe@apple.com
I corrected the typo in one of the test titles, Minimun -> Minimum.