TestWebKitAPI.ResourceLoadStatistics.GrandfatherCallback Is failing on iOS 15 Debug. History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.ResourceLoadStatistics.GrandfatherCallback https://build.webkit.org/#/builders/267/builds/371/steps/17/logs/stdio Stdio: Failed TestWebKitAPI.ResourceLoadStatistics.GrandfatherCallback 2021-11-03 01:13:42.527 TestWebKitAPI[5299:59766207] Writing analzed variants. Failed to connect to mach service com.apple.webkit.adattributiond.service, reason: failed at lookup with error 3 - No such process SHOULD NEVER BE REACHED /Volumes/Data/worker/ios-simulator-15-debug/build/Source/WebKit/Platform/IPC/cocoa/DaemonConnectionCocoa.mm(101) : auto WebKit::Daemon::ConnectionToMachService<WebKit::PCM::ConnectionTraits>::sendWithReply(typename ConnectionTraits::MessageType, WebKit::Daemon::EncodedMessage &&, CompletionHandler<void (WebKit::Daemon::EncodedMessage &&)> &&)::(anonymous class)::operator()(xpc_object_t) [Traits = WebKit::PCM::ConnectionTraits] 1 0x139d13349 WTFCrash 2 0x11eabddfb WTFCrashWithInfo(int, char const*, char const*, int) 3 0x11f6cd399 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>*) 4 0x11f6cd271 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>*) 5 0x11f6c6d27 WTF::Function<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) const 6 0x11f6c6b87 WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>::operator()(NSObject<OS_xpc_object>*) 7 0x11f6c67ed WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_7::operator()(NSObject<OS_xpc_object>*) 8 0x11f6c6a15 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::$_7>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_7)::'lambda'(void*, NSObject<OS_xpc_object>*)::operator()(void*, NSObject<OS_xpc_object>*) const 9 0x11f6c69cd 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::$_7>(WebKit::Daemon::Connection::sendWithReply(NSObject<OS_xpc_object>*, WTF::CompletionHandler<void (NSObject<OS_xpc_object>*)>&&) const::$_7)::'lambda'(void*, NSObject<OS_xpc_object>*)::__invoke(void*, NSObject<OS_xpc_object>*) 10 0x101e130f1 _xpc_connection_reply_callout 11 0x101e0853c _xpc_connection_call_reply_async 12 0x101ad2abc _dispatch_client_callout3 13 0x101aedc95 _dispatch_mach_msg_async_reply_invoke 14 0x101adfd3d _dispatch_main_queue_callback_4CF 15 0x1009cf85d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ 16 0x1009ca0ba __CFRunLoopRun 17 0x1009c9103 CFRunLoopRunSpecific 18 0x10131141c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] 19 0x101311638 -[NSRunLoop(NSRunLoop) run] 20 0x101e1005f _xpc_objc_main 21 0x101e12050 xpc_main 22 0x11f9ef26a WebKit::XPCServiceMain(int, char const**) 23 0x12135645b WKXPCServiceMain 24 0x10048bd42 main 25 0x10049de1e 26 0x1 27 0x1 LEAK: 1 WebProcessPool /Volumes/Data/worker/ios-simulator-15-debug/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:98 Value of: [message isEqualToString:@"Grandfathered"] Actual: false Expected: true
Looking at the history, it started somewhere between r284661 and 284651.
<rdar://problem/84984801>
Created attachment 443232 [details] Patch
Committed r285230 (243851@main): <https://commits.webkit.org/243851@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 443232 [details].