Bug 231612

Summary: [ iOS ] imported/blink/fast/dom/importNode-cdata.html is a flaky timeout
Product: WebKit Reporter: ayumi_kojima
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aestes, cdumez, koivisto, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: iPhone / iPad   
OS: Unspecified   

ayumi_kojima
Reported 2021-10-12 13:59:47 PDT
Attachments
Radar WebKit Bug Importer
Comment 1 2021-10-12 14:00:27 PDT
ayumi_kojima
Comment 2 2021-10-12 14:08:20 PDT
ayumi_kojima
Comment 3 2021-10-15 16:13:11 PDT
I was not able to reproduce the failure locally o iOS 15 simulator using run-webkit-tests --force --ios-simulator --iterations 500 --exit-after-n-crashes-or-timeouts 1 imported/blink/fast/dom/importNode-cdata.html
Chris Dumez
Comment 4 2021-10-19 11:02:20 PDT
The test isn't even asynchronous. It is a pretty simple test that runs all its logic synchronously (no need for calling notifyDone).
Chris Dumez
Comment 5 2022-03-07 08:57:40 PST
It seems it isn't just this test. When this test times out on the iOS bot, about 50 other editing tests (e.g. editing/pasteboard/19644-1.html) also time out.
Chris Dumez
Comment 6 2022-03-07 08:58:49 PST
The tests seem to have the following logging on stderr which could be related: objc[83889]: Class _PathPoint is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x121604a78) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x136f028b0). One of the two will be used. Which one is undefined. objc[83889]: Class _PointQueue is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore (0x121604a50) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI (0x136f028d8). One of the two will be used. Which one is undefined.
Wenson Hsieh
Comment 7 2022-03-07 09:05:08 PST
(In reply to Chris Dumez from comment #6) > The tests seem to have the following logging on stderr which could be > related: > > objc[83889]: Class _PathPoint is implemented in both > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/ > UIKitCore (0x121604a78) and > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/ > TextInputUI (0x136f028b0). One of the two will be used. Which one is > undefined. > objc[83889]: Class _PointQueue is implemented in both > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/ > UIKitCore (0x121604a50) and > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/ > TextInputUI (0x136f028d8). One of the two will be used. Which one is > undefined. I think this is benign logging. > When this test times out on the iOS bot, about 50 other editing tests (e.g. editing/pasteboard/19644-1.html) also time out These mass editing failures are a different issue, caused by booted iOS simulators from a previous test run being used for a subsequent run, which means the "Automatically sync pasteboard" setting will be erroneously flipped on (which then causes `pasted` to deadlock when running tests in multiple sims). It looks like this is one example of importNode-cdata.html timing out independently of the editing tests: <https://build.webkit.org/#/builders/369/builds/492/steps/11/logs/stdio>
Chris Dumez
Comment 8 2022-03-07 09:06:26 PST
(In reply to Wenson Hsieh from comment #7) > (In reply to Chris Dumez from comment #6) > > The tests seem to have the following logging on stderr which could be > > related: > > > > objc[83889]: Class _PathPoint is implemented in both > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > > Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/ > > UIKitCore (0x121604a78) and > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > > Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/ > > TextInputUI (0x136f028b0). One of the two will be used. Which one is > > undefined. > > objc[83889]: Class _PointQueue is implemented in both > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > > Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/ > > UIKitCore (0x121604a50) and > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ > > Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/ > > Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/ > > TextInputUI (0x136f028d8). One of the two will be used. Which one is > > undefined. > > I think this is benign logging. > > > When this test times out on the iOS bot, about 50 other editing tests (e.g. editing/pasteboard/19644-1.html) also time out > > These mass editing failures are a different issue, caused by booted iOS > simulators from a previous test run being used for a subsequent run, which > means the "Automatically sync pasteboard" setting will be erroneously > flipped on (which then causes `pasted` to deadlock when running tests in > multiple sims). > > It looks like this is one example of importNode-cdata.html timing out > independently of the editing tests: > > <https://build.webkit.org/#/builders/369/builds/492/steps/11/logs/stdio> Ok, thanks for looking. The imported blink test also doesn't seem to rely on editing at all (no copy/paste like the other tests).
Note You need to log in before you can comment on or make changes to this bug.