New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 898572 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-10-29
OS: iOS
Pri: 2
Type: Bug

Blocked on:
issue 898549



Sign in to add a comment

ios_chrome_bookmarks_egtests (iPhone 7 iOS 12.0) failing on chromium.mac/ios-simulator-full-configs

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Oct 24

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of dalecurtis@chromium.org

ios_chrome_bookmarks_egtests (iPhone 7 iOS 12.0) failing on chromium.mac/ios-simulator-full-configs

Builders failed on: 
- ios-simulator-full-configs: 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/ios-simulator-full-configs


 
Components: Infra>Client>iOS
Labels: OS-iOS Type-Bug
Signal caught: Segmentation fault: 11
0   EarlGrey                            0x000000011f488701 grey_signalHandler + 225
1   libsystem_platform.dylib            0x00000001261fff5a _sigtramp + 26
2   ios_chrome_bookmarks_egtests        0x00000001166756b8 _ZN4base5debug21GlobalActivityTracker10g_tracker_E + 0
3   ios_chrome_bookmarks_egtests        0x0000000110b13a31 -[BookmarkHomeMediator generateTableViewData] + 417
4   ios_chrome_bookmarks_egtests        0x0000000110b13861 -[BookmarkHomeMediator computeBookmarkTableViewData] + 801
5   ios_chrome_bookmarks_egtests        0x0000000110b1e6f3 -[BookmarkHomeViewController refreshContents] + 547
6   ios_chrome_bookmarks_egtests        0x0000000110b16dda -[BookmarkHomeMediator bookmarkNodeChanged:] + 282
7   ios_chrome_bookmarks_egtests        0x0000000110b45a58 _ZN9bookmarks19BookmarkModelBridge19BookmarkNodeChangedEPNS_13BookmarkModelEPKNS_12BookmarkNodeE + 88
8   ios_chrome_bookmarks_egtests        0x0000000111b680cb _ZN9bookmarks13BookmarkModel8SetTitleEPKNS_12BookmarkNodeERKNSt3__112basic_stringItN4base18string16_internals20string16_char_traitsENS4_9allocatorItEEEE + 2427
9   ios_chrome_bookmarks_egtests        0x0000000110b240ea -[BookmarkHomeViewController textDidChangeTo:] + 730
10  ios_chrome_bookmarks_egtests        0x0000000110b61575 -[TableViewBookmarkFolderCell stopEdit] + 261
11  ios_chrome_bookmarks_egtests        0x0000000110b38b49 -[BookmarkHomeViewController tableView:didSelectRowAtIndexPath:] + 1737
12  UIKitCore                           0x000000012392ad29 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1813
13  UIKitCore                           0x000000012392af44 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 344
14  UIKitCore                           0x00000001233e197e _runAfterCACommitDeferredBlocks + 318
15  UIKitCore                           0x00000001233d0424 _cleanUpAfterCAFlushAndRunDeferredBlocks + 384
16  UIKitCore                           0x00000001233ff870 _afterCACommitHandler + 135
17  CoreFoundation                      0x000000011d3b5037 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
18  CoreFoundation                      0x000000011d3af4ce __CFRunLoopDoObservers + 430
19  CoreFoundation                      0x000000011d3afb61 __CFRunLoopRun + 1537
20  CoreFoundation                      0x000000011d3af221 CFRunLoopRunSpecific + 625
21  EarlGrey                            0x000000011f4b2f75 -[GREYRunLoopSpinner grey_drainRunLoopInActiveModeAndCheckCondition:forTime:] + 597
22  EarlGrey                            0x000000011f4b29f3 -[GREYRunLoopSpinner spinWithStopConditionBlock:] + 419
23  EarlGrey                            0x000000011f49a89b -[GREYTouchInjector waitUntilAllTouchesAreDeliveredUsingInjector] + 491
24  EarlGrey                            0x000000011f499f04 -[GREYSyntheticEvents grey_endTouchesAtPoints:timeElapsedSinceLastTouchDelivery:] + 180
25  EarlGrey                            0x000000011f4990b6 +[GREYSyntheticEvents touchAlongMultiplePaths:relativeToWindow:forDuration:expendable:] + 934
26  EarlGrey                            0x000000011f498cb6 +[GREYSyntheticEvents touchAlongPath:relativeToWindow:forDuration:expendable:] + 214
27  EarlGrey                            0x000000011f45c657 +[GREYTapper tapOnWindow:numberOfTaps:location:error:] + 407
28  EarlGrey                            0x000000011f45c46b +[GREYTapper tapOnElement:numberOfTaps:location:error:] + 827
29  EarlGrey                            0x000000011f45b773 -[GREYTapAction perform:error:] + 371
30  EarlGrey                            0x000000011f48b96c __46-[GREYElementInteraction performAction:error:]_block_invoke + 956
31  EarlGrey                            0x000000011f4b63e4 __59-[GREYUIThreadExecutor executeSyncWithTimeout:block:error:]_block_invoke + 68
32  EarlGrey                            0x000000011f4b334a __77-[GREYRunLoopSpinner grey_drainRunLoopInActiveModeAndCheckCondition:forTime:]_block_invoke + 314
33  EarlGrey                            0x000000011f4b3d2f __89-[GREYRunLoopSpinner grey_setupObserverInMode:withBeforeSourcesBlock:beforeWaitingBlock:]_block_invoke + 175
34  CoreFoundation                      0x000000011d3b5037 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
35  CoreFoundation                      0x000000011d3af4ce __CFRunLoopDoObservers + 430
36  CoreFoundation                      0x000000011d3afa33 __CFRunLoopRun + 1235
37  CoreFoundation                      0x000000011d3af221 CFRunLoopRunSpecific + 625
38  EarlGrey                            0x000000011f4b2f75 -[GREYRunLoopSpinner grey_drainRunLoopInActiveModeAndCheckCondition:forTime:] + 597
39  EarlGrey                            0x000000011f4b29f3 -[GREYRunLoopSpinner spinWithStopConditionBlock:] + 419
40  EarlGrey                            0x000000011f4b5e69 -[GREYUIThreadExecutor executeSyncWithTimeout:block:error:] + 1001
41  EarlGrey                            0x000000011f48ac1a -[GREYElementInteraction performAction:error:] + 1786
42  EarlGrey                            0x000000011f48a4ef -[GREYElementInteraction performAction:] + 79
43  ios_chrome_bookmarks_egtests        0x000000010efc1bf8 -[BookmarksTestCaseFolders testNewFolderNameCommittedOnNavigatingAway] + 1768
44  CoreFoundation                      0x000000011d45911c __invoking___ + 140
45  CoreFoundation                      0x000000011d4565b5 -[NSInvocation invoke] + 325
46  EarlGrey                            0x000000011f4807f8 -[GREYTestCaseInvocation invoke] + 104
47  XCTest                              0x000000011e8d1b6e __24-[XCTestCase invokeTest]_block_invoke.192 + 78
48  XCTest                              0x000000011e9292e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
49  XCTest                              0x000000011e929205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
50  XCTest                              0x000000011e8d182f __24-[XCTestCase invokeTest]_block_invoke + 848
51  XCTest                              0x000000011e92f1ee -[XCUITestContext performInScope:] + 248
52  XCTest                              0x000000011e8d1424 -[XCTestCase testContextPerformInScope:] + 98
53  XCTest                              0x000000011e8d14d2 -[XCTestCase invokeTest] + 137
54  EarlGrey                            0x000000011f471447 -[XCTestCase(GREYAdditions) grey_invokeTest] + 1079
55  XCTest                              0x000000011e8d300d __26-[XCTestCase performTest:]_block_invoke_2 + 43
56  XCTest                              0x000000011e9292e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
57  XCTest                              0x000000011e929205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
58  XCTest                              0x000000011e8d2f24 __26-[XCTestCase performTest:]_block_invoke.326 + 88
59  XCTest                              0x000000011e939a3b +[XCTContext runInContextForTestCase:block:] + 225
60  XCTest                              0x000000011e8d2653 -[XCTestCase performTest:] + 675
61  XCTest                              0x000000011e915802 -[XCTest runTest] + 57
62  XCTest                              0x000000011e8cd85b __27-[XCTestSuite performTest:]_block_invoke + 365
63  XCTest                              0x000000011e8cd033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
64  XCTest                              0x000000011e8cd2f6 -[XCTestSuite performTest:] + 296
65  XCTest                              0x000000011e915802 -[XCTest runTest] + 57
66  XCTest                              0x000000011e8cd85b __27-[XCTestSuite performTest:]_block_invoke + 365
67  XCTest                              0x000000011e8cd033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
68  XCTest                              0x000000011e8cd2f6 -[XCTestSuite performTest:] + 296
69  XCTest                              0x000000011e915802 -[XCTest runTest] + 57
70  XCTest                              0x000000011e8cd85b __27-[XCTestSuite performTest:]_block_invoke + 365
71  XCTest                              0x000000011e8cd033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
72  XCTest                              0x000000011e8cd2f6 -[XCTestSuite performTest:] + 296
73  XCTest                              0x000000011e915802 -[XCTest runTest] + 57
74  XCTest                              0x000000011e943ea6 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
75  XCTest                              0x000000011e943fc7 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 68
76  XCTest                              0x000000011e8e586a -[XCTestObservationCenter _observeTestExecutionForBlock:] + 594
77  XCTest                              0x000000011e943c1a -[XCTTestRunSession runTestsAndReturnError:] + 623
78  XCTest                              0x000000011e8b225a -[XCTestDriver runTestsAndReturnError:] + 422
79  XCTest                              0x000000011e935fbd _XCTestMain + 1478
80  libXCTestBundleInject.dylib         0x000000011d318bb8 __copy_helper_block_ + 0
81  CoreFoundation                      0x000000011d3b5a3c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
82  CoreFoundation                      0x000000011d3b51f0 __CFRunLoopDoBlocks + 336
83  CoreFoundation                      0x000000011d3afa64 __CFRunLoopRun + 1284
84  CoreFoundation                      0x000000011d3af221 CFRunLoopRunSpecific + 625
85  GraphicsServices                    0x0000000128c3e1dd GSEventRunModal + 62
86  UIKitCore                           0x00000001233d6115 UIApplicationMain + 140
87  ios_chrome_bookmarks_egtests        0x000000010ef5c153 _ZN12_GLOBAL__N_120RunUIApplicationMainEiPPc + 355
88  ios_chrome_bookmarks_egtests        0x000000010ef5bc21 main + 417
89  libdyld.dylib                       0x0000000125e9b551 start + 1
90  ???                                 0x0000000000000005 0x0 + 5
Status: Untriaged (was: Available)
Exception Name: NoMatchingElementException
Exception Reason: Cannot find UI element.
Exception with Action: {
  "Action Name":  "Tap",
  "Element Matcher":  "(kindOfClass('UITableViewCell') && descendantThatMatches(((kindOfClass('UILabel') || kindOfClass('UITextField') || kindOfClass('UITextView')) && hasText('Mobile Bookmarks'))))",
  "Recovery Suggestion":  "Check if the element exists in the UI hierarchy printed below. If it exists, adjust the matcher so that it accurately matches element."
}

Exception Details: Error Trace: [
  {
    "Description":  "Interaction cannot continue because the desired element was not found.",
    "Error Domain":  "com.google.earlgrey.ElementInteractionErrorDomain",
    "Error Code":  "0",
    "File Name":  "GREYElementInteraction.m",
    "Function Name":  "-[GREYElementInteraction matchedElementsWithTimeout:error:]",
    "Line":  "124",
    "TestCase Class":  "BookmarksTestCaseFolders",
    "TestCase Method":  "testStickyDefaultFolder"
  }
]

Bundle ID: org.chromium.gtest.generic-unit-test

Stack Trace: (
	0   EarlGrey                            0x000000011529c446 -[GREYDefaultFailureHandler handleException:details:] + 1302
	1   EarlGrey                            0x000000011528dd56 -[GREYElementInteraction grey_handleFailureOfAction:actionError:userProvidedOutError:] + 4198
	2   EarlGrey                            0x000000011528ac0f __46-[GREYElementInteraction performAction:error:]_block_invoke + 1631
	3   EarlGrey                            0x00000001152b53e4 __59-[GREYUIThreadExecutor executeSyncWithTimeout:block:error:]_block_invoke + 68
	4   EarlGrey                            0x00000001152b299f __54-[GREYRunLoopSpinner grey_checkConditionInActiveMode:]_block_invoke + 271
	5   CoreFoundation                      0x00000001131b4a3c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	6   CoreFoundation                      0x00000001131b41f0 __CFRunLoopDoBlocks + 336
	7   CoreFoundation                      0x00000001131aea3e __CFRunLoopRun + 1246
	8   CoreFoundation                      0x00000001131ae221 CFRunLoopRunSpecific + 625
	9   EarlGrey                            0x00000001152b279e -[GREYRunLoopSpinner grey_checkConditionInActiveMode:] + 350
	10  EarlGrey                            0x00000001152b1977 -[GREYRunLoopSpinner spinWithStopConditionBlock:] + 295
	11  EarlGrey                            0x00000001152b4e69 -[GREYUIThreadExecutor executeSyncWithTimeout:block:error:] + 1001
	12  EarlGrey                            0x0000000115289c1a -[GREYElementInteraction performAction:error:] + 1786
	13  EarlGrey                            0x00000001152894ef -[GREYElementInteraction performAction:] + 79
	14  ios_chrome_bookmarks_egtests        0x0000000104d72e08 +[BookmarksTestCase openBookmarkFolder:] + 552
	15  ios_chrome_bookmarks_egtests        0x0000000104d74159 +[BookmarksTestCase openMobileBookmarks] + 57
	16  ios_chrome_bookmarks_egtests        0x0000000104dbeb82 -[BookmarksTestCaseFolders testStickyDefaultFolder] + 130
	17  CoreFoundation                      0x000000011325811c __invoking___ + 140
	18  CoreFoundation                      0x00000001132555b5 -[NSInvocation invoke] + 325
	19  EarlGrey                            0x000000011527f7f8 -[GREYTestCaseInvocation invoke] + 104
	20  XCTest                              0x00000001146d0b6e __24-[XCTestCase invokeTest]_block_invoke.192 + 78
	21  XCTest                              0x00000001147282e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
	22  XCTest                              0x0000000114728205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
	23  XCTest                              0x00000001146d082f __24-[XCTestCase invokeTest]_block_invoke + 848
	24  XCTest                              0x000000011472e1ee -[XCUITestContext performInScope:] + 248
	25  XCTest                              0x00000001146d0424 -[XCTestCase testContextPerformInScope:] + 98
	26  XCTest                              0x00000001146d04d2 -[XCTestCase invokeTest] + 137
	27  EarlGrey                            0x0000000115270447 -[XCTestCase(GREYAdditions) grey_invokeTest] + 1079
	28  XCTest                              0x00000001146d200d __26-[XCTestCase performTest:]_block_invoke_2 + 43
	29  XCTest                              0x00000001147282e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
	30  XCTest                              0x0000000114728205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
	31  XCTest                              0x00000001146d1f24 __26-[XCTestCase performTest:]_block_invoke.326 + 88
	32  XCTest                              0x0000000114738a3b +[XCTContext runInContextForTestCase:block:] + 225
	33  XCTest                              0x00000001146d1653 -[XCTestCase performTest:] + 675
	34  XCTest                              0x0000000114714802 -[XCTest runTest] + 57
	35  XCTest                              0x00000001146cc85b __27-[XCTestSuite performTest:]_block_invoke + 365
	36  XCTest                              0x00000001146cc033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
	37  XCTest                              0x00000001146cc2f6 -[XCTestSuite performTest:] + 296
	38  XCTest                              0x0000000114714802 -[XCTest runTest] + 57
	39  XCTest                              0x00000001146cc85b __27-[XCTestSuite performTest:]_block_invoke + 365
	40  XCTest                              0x00000001146cc033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
	41  XCTest                              0x00000001146cc2f6 -[XCTestSuite performTest:] + 296
	42  XCTest                              0x0000000114714802 -[XCTest runTest] + 57
	43  XCTest                              0x00000001146cc85b __27-[XCTestSuite performTest:]_block_invoke + 365
	44  XCTest                              0x00000001146cc033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
	45  XCTest                              0x00000001146cc2f6 -[XCTestSuite performTest:] + 296
	46  XCTest                              0x0000000114714802 -[XCTest runTest] + 57
	47  XCTest                              0x0000000114742ea6 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
	48  XCTest                              0x0000000114742fc7 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 68
	49  XCTest                              0x00000001146e486a -[XCTestObservationCenter _observeTestExecutionForBlock:] + 594
	50  XCTest                              0x0000000114742c1a -[XCTTestRunSession runTestsAndReturnError:] + 623
	51  XCTest                              0x00000001146b125a -[XCTestDriver runTestsAndReturnError:] + 422
	52  XCTest                              0x0000000114734fbd _XCTestMain + 1478
	53  libXCTestBundleInject.dylib         0x0000000113117bb8 __copy_helper_block_ + 0
	54  CoreFoundation                      0x00000001131b4a3c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	55  CoreFoundation                      0x00000001131b41f0 __CFRunLoopDoBlocks + 336
	56  CoreFoundation                      0x00000001131aea64 __CFRunLoopRun + 1284
	57  CoreFoundation                      0x00000001131ae221 CFRunLoopRunSpecific + 625
	58  GraphicsServices                    0x000000011ea271dd GSEventRunModal + 62
	59  UIKitCore                           0x00000001191d5115 UIApplicationMain + 140
	60  ios_chrome_bookmarks_egtests        0x0000000104d5b153 _ZN12_GLOBAL__N_120RunUIApplicationMainEiPPc + 355
	61  ios_chrome_bookmarks_egtests        0x0000000104d5ac21 main + 417
	62  libdyld.dylib                       0x000000011bc9a551 start + 1
	63  ???                                 0x0000000000000005 0x0 + 5
Cc: noyau@chromium.org sczs@chromium.org
Components: UI>Browser>Bookmarks
Looks like a bunch of iOS bookmarks tests are slightly flaky:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=ios_chrome_bookmarks_egtests&tests=BookmarksTestCase
NextAction: 2018-10-29
Owner: sczs@chromium.org
Status: Assigned (was: Untriaged)
So far I only see one failure almost a day ago, I'll monitor this to see how it goes
The NextAction date has arrived: 2018-10-29
Cc: yzjr@chromium.org
I only see some flake on testEditFunctionalityOnSingleURL, but whenever I click the failure link from https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=ios_chrome_bookmarks_egtests&tests=BookmarksTestCase i get a 404.

+yzjr@ do you know how I can get access to those logs? I'd like to investigate why that test is that flaky


Cc: jbudorick@chromium.org
+jbudorick

I hit the same error, even for passed logs. 
Cc: seanmccullough@chromium.org
+seanmccullough

It looks flakiness dashboard provided wrong links. For example, 
"https://ci.chromium.org/buildbot/tryserver.chromium.mac/ios-simulator-full-configs-iPad%20Air%202-11.4/7371" return 404 error,  "ios-simulator-full-configs-iPad%20Air%202-11.4" looks strange.

Sean, Does the flakiness dashboard have update?

#7: you'll need to go to the build page; attempting to go through the flakiness dashboard is likely a fool's errand.
Created https://crrev.com/c/1311799 to address some of the flakyness
Project Member

Comment 12 by bugdroid1@chromium.org, Nov 1

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/be4ce96bba8812d51dd5d0897ca6246c725c8b42

commit be4ce96bba8812d51dd5d0897ca6246c725c8b42
Author: sczs <sczs@chromium.org>
Date: Thu Nov 01 21:32:10 2018

[ios] Splits testEditFunctionalityOnSingleURL EG Test

Currently there's some flakiness for testEditFunctionalityOnSingleURL,
since this is one of the longest test cases we have I'm hoping that
splitting it in two will reduce the flakiness.

Bug: 898572
Change-Id: Ifd623dada4a369c9b1af3586e750e34f31f5dc52
Reviewed-on: https://chromium-review.googlesource.com/c/1311799
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#604710}
[modify] https://crrev.com/be4ce96bba8812d51dd5d0897ca6246c725c8b42/ios/chrome/browser/ui/bookmarks/bookmarks_egtest.mm

Blockedon: 898549
It seems that this timing out might be related to https://crbug.com/898549 since its failing right after all tests have been completed successfully
Here's another time-out example where all tests have been completed successfully but it still timed_out 
https://ci.chromium.org/p/chromium/builders/luci.chromium.try/ios-simulator-full-configs/7612
Labels: -Sheriff-Chromium
Owner: ericale@chromium.org
Assign to ericale@chromium.org since it seems it is caused by https://crbug.com/898549 and ericale@ is working it.

Sign in to add a comment