RESOLVED FIXED288408
NEW-TEST(290386@main): [ Debug ] TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit (api-test) is a flaky failure
https://bugs.webkit.org/show_bug.cgi?id=288408
Summary NEW-TEST(290386@main): [ Debug ] TestWebKitAPI.WKWebsiteDataStore.RemoveDataW...
Dawn Morningstar
Reported 2025-02-24 14:07:15 PST
TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit Is a flaky failure on iOS and MacOS Debug queues since it was added at 290386@main https://commits.webkit.org/290386@main HISTORY: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit TEST-RUN: https://build.webkit.org/#/builders/1392/builds/385 STDIO: https://build.webkit.org/#/builders/1392/builds/385/steps/22/logs/stdio FAILURE: TestWebKitAPI.WKWebsiteDataStore.RemoveDataWaitUntilWebProcessesExit SHOULD NEVER BE REACHED /Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Source/WebKit/Platform/IPC/cocoa/DaemonConnectionCocoa.mm(105) : auto WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(typename ConnectionTraits::MessageType, EncodedMessage &&, CompletionHandler<void (EncodedMessage &&)> &&)::(anonymous class)::operator()(xpc_object_t) [Traits = WebKit::PCM::ConnectionTraits] 1 0x134a34760 WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(WebKit::PCM::MessageType, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&) const::'lambda'(NSObject<OS_xpc_object>*)::operator()(NSObject<OS_xpc_object>*) 2 0x134a34674 WTF::Detail::CallableWrapper<WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(WebKit::PCM::MessageType, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&) const::'lambda'(NSObject<OS_xpc_object>*), void, NSObject<OS_xpc_object>*>::call(NSObject<OS_xpc_object>*) 3 0x132bc1d5c WTF::Function<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) const 4 0x134a2c92c WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) 5 0x134a2c660 WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0::operator()(NSObject<OS_xpc_object>*) 6 0x134a2c854 WTF::BlockPtr<void (NSObject<OS_xpc_object>*)> WTF::BlockPtr<void (NSObject<OS_xpc_object>*)>::fromCallable<WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0)::'lambda'(void*, NSObject<OS_xpc_object>*)::operator()(void*, NSObject<OS_xpc_object>*) const 7 0x134a2c820 WTF::BlockPtr<void (NSObject<OS_xpc_object>*)> WTF::BlockPtr<void (NSObject<OS_xpc_object>*)>::fromCallable<WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0)::'lambda'(void*, NSObject<OS_xpc_object>*)::__invoke(void*, NSObject<OS_xpc_object>*) 8 0x1132f04e8 _xpc_connection_reply_callout 9 0x1132e3da0 _xpc_connection_call_reply_async 10 0x1132e0bf8 do_mach_notify_send_once 11 0x113304848 _Xmach_notify_send_once 12 0x113304930 notify_server 13 0x1132e3b3c _xpc_connection_pass2mig 14 0x110fb7c80 _dispatch_client_callout3 15 0x110fd6850 _dispatch_mach_msg_async_reply_invoke 16 0x110fc6aa4 _dispatch_main_queue_drain 17 0x110fc6720 _dispatch_main_queue_callback_4CF 18 0x10f153dac __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 19 0x10f14e308 __CFRunLoopRun 20 0x10f14d6f4 CFRunLoopRunSpecific 21 0x1090a1438 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 22 0x1090a1608 -[NSRunLoop(NSRunLoop) run] 23 0x1132eca40 _xpc_objc_main 24 0x1132eee38 _xpc_main 25 0x1132eefec _xpc_create_bootstrap_pipe 26 0x1046b4e90 block_destroy_helper.10 27 0x1046b4f38 block_destroy_helper.10 28 0x10464ab80 -[_EXRunningExtension startWithArguments:count:] 29 0x10465d0bc EXExtensionMain 30 0x1090e4684 NSExtensionMain 31 0x104581410 30 dyld 0x0000000104581410 start_sim + 20 ASSERTION FAILED: m_isInitialized /Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Source/WebKit/NetworkProcess/storage/CacheStorageCache.cpp(290) : void WebKit::CacheStorageCache::putRecords(Vector<WebCore::DOMCacheEngine::CrossThreadRecord> &&, WebCore::DOMCacheEngine::RecordIdentifiersCallback &&) SHOULD NEVER BE REACHED /Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Source/WebKit/Platform/IPC/cocoa/DaemonConnectionCocoa.mm(105) : auto WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(typename ConnectionTraits::MessageType, EncodedMessage &&, CompletionHandler<void (EncodedMessage &&)> &&)::(anonymous class)::operator()(xpc_object_t) [Traits = WebKit::PCM::ConnectionTraits] 1 0x135398760 WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(WebKit::PCM::MessageType, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&) const::'lambda'(NSObject<OS_xpc_object>*)::operator()(NSObject<OS_xpc_object>*) 2 0x135398674 WTF::Detail::CallableWrapper<WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(WebKit::PCM::MessageType, WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::CompletionHandler<void (WTF::Vector<unsigned char, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&) const::'lambda'(NSObject<OS_xpc_object>*), void, NSObject<OS_xpc_object>*>::call(NSObject<OS_xpc_object>*) 3 0x133525d5c WTF::Function<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) const 4 0x13539092c WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) 5 0x135390660 WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0::operator()(NSObject<OS_xpc_object>*) 6 0x135390854 WTF::BlockPtr<void (NSObject<OS_xpc_object>*)> WTF::BlockPtr<void (NSObject<OS_xpc_object>*)>::fromCallable<WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0)::'lambda'(void*, NSObject<OS_xpc_object>*)::operator()(void*, NSObject<OS_xpc_object>*) const 7 0x135390820 WTF::BlockPtr<void (NSObject<OS_xpc_object>*)> WTF::BlockPtr<void (NSObject<OS_xpc_object>*)>::fromCallable<WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_0)::'lambda'(void*, NSObject<OS_xpc_object>*)::__invoke(void*, NSObject<OS_xpc_object>*) 8 0x113aa84e8 _xpc_connection_reply_callout 9 0x113a9bda0 _xpc_connection_call_reply_async 10 0x110b4fc80 _dispatch_client_callout3 11 0x110b6e850 _dispatch_mach_msg_async_reply_invoke 12 0x110b5eaa4 _dispatch_main_queue_drain 13 0x110b5e720 _dispatch_main_queue_callback_4CF 14 0x10fc37dac __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 15 0x10fc32308 __CFRunLoopRun 16 0x10fc316f4 CFRunLoopRunSpecific 17 0x109a05438 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 18 0x109a05608 -[NSRunLoop(NSRunLoop) run] 19 0x113aa4a40 _xpc_objc_main 20 0x113aa6e38 _xpc_main 21 0x113aa6fec _xpc_create_bootstrap_pipe 22 0x105018e90 block_destroy_helper.10 23 0x105018f38 block_destroy_helper.10 24 0x104faeb80 -[_EXRunningExtension startWithArguments:count:] 25 0x104fc10bc EXExtensionMain 26 0x109a48684 NSExtensionMain 27 0x104ee5410 26 dyld 0x0000000104ee5410 start_sim + 20 28 0x104dc2274 27 ??? 0x0000000104dc2274 0x0 + 4376502900 /Volumes/Data/worker/Apple-iOS-18-Simulator-Debug-Build/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebsiteDatastore.mm:215 Expected equality of these values: dataRecords.count Which is: 1 0u Which is: 0 LEAK: 1 WebProcessPool
Attachments
Radar WebKit Bug Importer
Comment 1 2025-02-24 14:09:11 PST
EWS
Comment 2 2025-02-27 16:11:43 PST
Test gardening commit 291270@main (ed0f2ace74b6): <https://commits.webkit.org/291270@main> Reviewed commits have been landed. Closing PR #41570 and removing active labels.
Sihui Liu
Comment 3 2025-05-20 14:29:11 PDT
EWS
Comment 4 2025-05-22 09:44:32 PDT
Committed 295279@main (514b03caa617): <https://commits.webkit.org/295279@main> Reviewed commits have been landed. Closing PR #45662 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.