Bug 197071

Summary: [iOS Sim Debug] 4 Layout Tests editing/deleting/smart-delete-00 and editing/deleting/smart-delete-paragraph-00 directories are failing in tandem.
Product: WebKit Reporter: Shawn Roberts <sroberts>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: lforschler, megan_gardner, rniwa, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Shawn Roberts 2019-04-18 13:47:26 PDT
The following layout tests are failing together on iOS Simulator Debug

editing/deleting/smart-delete-001.html 
editing/deleting/smart-delete-002.html 
editing/deleting/smart-delete-003.html 
editing/deleting/smart-delete-004.html 
editing/deleting/smart-delete-paragraph-001.html 
editing/deleting/smart-delete-paragraph-002.html 
editing/deleting/smart-delete-paragraph-003.html 
editing/deleting/smart-delete-paragraph-004.html

Probable cause:

Unsure of how long this has been happening, its in the entire available history of dashboard. The tests by themselves do not have any flaky behavior. It appears by the logs on the runs editing/deleting/smart-delete-001.html is failing first, and the rest time out, and have this error in the stdio "WebKitTestRunnerApp[9062:8604006] XPC connection interrupted" and "failed unexpectedly (test timed out, test was not run)" All tests are in the same test runner worker. 

Last edit on editing/deleting/smart-delete* tests was to enable this for iOS was https://trac.webkit.org/changeset/241719/webkit

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=editing%2Fdeleting%2Fsmart-delete-001.html%20editing%2Fdeleting%2Fsmart-delete-002.html%20editing%2Fdeleting%2Fsmart-delete-003.html%20editing%2Fdeleting%2Fsmart-delete-004.html%20editing%2Fdeleting%2Fsmart-delete-paragraph-001.html%20editing%2Fdeleting%2Fsmart-delete-paragraph-002.html%20editing%2Fdeleting%2Fsmart-delete-paragraph-003.html%20editing%2Fdeleting%2Fsmart-delete-paragraph-004.html

Diff:

--- /Volumes/Data/slave/ios-simulator-12-debug-tests-wk2/build/layout-test-results/editing/deleting/smart-delete-001-expected.txt
+++ /Volumes/Data/slave/ios-simulator-12-debug-tests-wk2/build/layout-test-results/editing/deleting/smart-delete-001-actual.txt
@@ -1,17 +1,10 @@
 EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of DIV > BODY > HTML > #document to 3 of DIV > BODY > HTML > #document
 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of DIV > DIV > BODY > HTML > #document to 0 of DIV > DIV > BODY > HTML > #document toDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: shouldDeleteDOMRange:range from 1 of #text > DIV > DIV > BODY > HTML > #document to 4 of #text > DIV > DIV > BODY > HTML > #document
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
-EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification
 Tests: 
 Smart delete when deleting the first word on a line.
 Expected Results: 
 The first word and the space following the first word should be deleted. It should like this this: 
 bar baz
-bar baz
-execDeleteCommand: <div id="test" class="editing">bar baz </div>
+foo bar baz
+execDeleteCommand: <div id="test" class="editing"> foo bar baz </div>
Comment 1 Radar WebKit Bug Importer 2019-04-18 13:51:39 PDT
<rdar://problem/50027227>