It leads to this test and its following test to fail on some build bots.
../../ios/chrome/browser/ui/autofill/save_card_infobar_egtest.mm:176: error: -[SaveCardInfobarEGTest testUMA_Upstream_UserAccepts] : Exception: AssertionFailedException
Exception Name: AssertionFailedException
Exception Reason: ((event_waiter_->Wait()) is true) failed
Exception Details: One or more events were not observed.
Bundle ID: org.chromium.gtest.generic-unit-test
Stack Trace: (
0 EarlGrey 0x0000000115830119 -[GREYDefaultFailureHandler handleException:details:] + 1305
1 ios_chrome_ui_egtests 0x000000010625b139 -[SaveCardInfobarEGTest waitForEvents] + 1753
2 ios_chrome_ui_egtests 0x00000001062640f5 -[SaveCardInfobarEGTest testUMA_Upstream_UserAccepts] + 4261
3 CoreFoundation 0x0000000113b83c6c __invoking___ + 140
4 CoreFoundation 0x0000000113b83b40 -[NSInvocation invoke] + 320
5 EarlGrey 0x00000001158130c8 -[GREYTestCaseInvocation invoke] + 104
6 XCTest 0x0000000114e38b6e __24-[XCTestCase invokeTest]_block_invoke.192 + 78
7 XCTest 0x0000000114e902e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
8 XCTest 0x0000000114e90205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
9 XCTest 0x0000000114e3882f __24-[XCTestCase invokeTest]_block_invoke + 848
10 XCTest 0x0000000114e961ee -[XCUITestContext performInScope:] + 248
11 XCTest 0x0000000114e38424 -[XCTestCase testContextPerformInScope:] + 98
12 XCTest 0x0000000114e384d2 -[XCTestCase invokeTest] + 137
13 EarlGrey 0x0000000115803c67 -[XCTestCase(GREYAdditions) grey_invokeTest] + 1079
14 XCTest 0x0000000114e3a00d __26-[XCTestCase performTest:]_block_invoke_2 + 43
15 XCTest 0x0000000114e902e8 -[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
16 XCTest 0x0000000114e90205 -[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
17 XCTest 0x0000000114e39f24 __26-[XCTestCase performTest:]_block_invoke.326 + 88
18 XCTest 0x0000000114ea0a3b +[XCTContext runInContextForTestCase:block:] + 225
19 XCTest 0x0000000114e39653 -[XCTestCase performTest:] + 675
20 XCTest 0x0000000114e7c802 -[XCTest runTest] + 57
21 XCTest 0x0000000114e3485b __27-[XCTestSuite performTest:]_block_invoke + 365
22 XCTest 0x0000000114e34033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
23 XCTest 0x0000000114e342f6 -[XCTestSuite performTest:] + 296
24 XCTest 0x0000000114e7c802 -[XCTest runTest] + 57
25 XCTest 0x0000000114e3485b __27-[XCTestSuite performTest:]_block_invoke + 365
26 XCTest 0x0000000114e34033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
27 XCTest 0x0000000114e342f6 -[XCTestSuite performTest:] + 296
28 XCTest 0x0000000114e7c802 -[XCTest runTest] + 57
29 XCTest 0x0000000114e3485b __27-[XCTestSuite performTest:]_block_invoke + 365
30 XCTest 0x0000000114e34033 -[XCTestSuite _performProtectedSectionForTest:testSection:] + 55
31 XCTest 0x0000000114e342f6 -[XCTestSuite performTest:] + 296
32 XCTest 0x0000000114e7c802 -[XCTest runTest] + 57
33 XCTest 0x0000000114eaaea6 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
34 XCTest 0x0000000114eaafc7 __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 68
35 XCTest 0x0000000114e4c86a -[XCTestObservationCenter _observeTestExecutionForBlock:] + 594
36 XCTest 0x0000000114eaac1a -[XCTTestRunSession runTestsAndReturnError:] + 623
37 XCTest 0x0000000114e1925a -[XCTestDriver runTestsAndReturnError:] + 422
38 XCTest 0x0000000114e9cfbd _XCTestMain + 1478
39 libXCTestBundleInject.dylib 0x0000000112275bb8 __copy_helper_block_ + 0
40 CoreFoundation 0x0000000113ba1b5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
41 CoreFoundation 0x0000000113b86e54 __CFRunLoopDoBlocks + 356
42 CoreFoundation 0x0000000113b865ee __CFRunLoopRun + 894
43 CoreFoundation 0x0000000113b86016 CFRunLoopRunSpecific + 406
44 GraphicsServices 0x0000000118f03a24 GSEventRunModal + 62
45 UIKit 0x00000001122a9134 UIApplicationMain + 159
46 ios_chrome_ui_egtests 0x0000000103db4af3 _ZN12_GLOBAL__N_120RunUIApplicationMainEiPPc + 355
47 ios_chrome_ui_egtests 0x0000000103db45c1 main + 417
48 libdyld.dylib 0x000000011b64265d start + 1
49 ??? 0x0000000000000005 0x0 + 5
)