Crash in TabManagerTests testTabManagerStoresChangesInDB

RESOLVED DUPLICATE of bug 1232554

Status

()

Firefox for iOS
Build & Test
RESOLVED DUPLICATE of bug 1232554
2 years ago
2 years ago

People

(Reporter: rnewman, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
getTabsForClientWithGUID > Found 0 tabs for client with guid: nil
/Users/rnewman/dev/firefox-ios/ClientTests/XCTestCaseExtensions.swift:15: error: -[FennecAurora.TabManagerTests testTabManagerStoresChangesInDB] : failed: caught "NSInternalInconsistencyException", "Completion handler passed to -[Client.TabManagerNavDelegate webView:didReceiveAuthenticationChallenge:completionHandler:] was not called"
(
	0   CoreFoundation                      0x000000010cc0fe65 __exceptionPreprocess + 165
	1   libobjc.A.dylib                     0x000000010bf2fdeb objc_exception_throw + 48
	2   CoreFoundation                      0x000000010cc0fd9d +[NSException raise:format:] + 205
	3   WebKit                              0x000000010eed59f0 _ZN6WebKit28CompletionHandlerCallCheckerD2Ev + 130
	4   WebKit                              0x000000010f11e66c _ZN3WTF20ThreadSafeRefCountedIN6WebKit28CompletionHandlerCallCheckerEE5derefEv + 36
	5   WebKit                              0x000000010ef1b616 _ZN6WebKit15NavigationState16NavigationClient33didReceiveAuthenticationChallengeERNS_12WebPageProxyEPNS_28AuthenticationChallengeProxyE + 362
	6   WebKit                              0x000000010f04c5b2 _ZN6WebKit12WebPageProxy38didReceiveAuthenticationChallengeProxyEyN3WTF10PassRefPtrINS_28AuthenticationChallengeProxyEEE + 64
	7   WebKit                              0x000000010ef40acf _ZN6WebKit19NetworkProcessProxy33didReceiveAuthenticationChallengeEyyRKN7WebCore23AuthenticationChallengeEy + 105
	8   WebKit                              0x000000010ef4253e _ZN3IPC13handleMessageIN8Messages19NetworkProcessProxy33DidReceiveAuthenticationChallengeEN6WebKit19NetworkProcessProxyEMS5_FvyyRKN7WebCore23AuthenticationChallengeEyEEEvRNS_14MessageDecoderEPT0_T1_ + 159
	9   WebKit                              0x000000010eed5dca _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_14MessageDecoderENS1_14default_deleteIS3_EEEE + 102
	10  WebKit                              0x000000010eed8092 _ZN3IPC10Connection18dispatchOneMessageEv + 114
	11  JavaScriptCore                      0x0000000119570b05 _ZN3WTF7RunLoop11performWorkEv + 437
	12  JavaScriptCore                      0x00000001195711e2 _ZN3WTF7RunLoop11performWorkEPv + 34
	13  CoreFoundation                      0x000000010cb3ba31 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	14  CoreFoundation                      0x000000010cb3195c __CFRunLoopDoSources0 + 556
	15  CoreFoundation                      0x000000010cb30e13 __CFRunLoopRun + 867
	16  CoreFoundation                      0x000000010cb30828 CFRunLoopRunSpecific + 488
	17  Foundation                          0x000000010bb1c2f1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 267
	18  XCTest                              0x000000011cb1fb1d -[XCTestCase(AsynchronousTesting) waitForExpectationsWithTimeout:handler:] + 921
	19  FennecAurora                        0x000000012238d765 _TFE12FennecAuroraCSo10XCTestCase4waitfS0_FSdT_ + 1157
	20  FennecAurora                        0x000000012238d96c _TToFE12FennecAuroraCSo10XCTestCase4waitfS0_FSdT_ + 44
	21  FennecAurora                        0x000000012238db1a _TFE12FennecAuroraCSo10XCTestCase16waitForConditionfS0_FT7timeoutSd9conditionFT_Sb_T_ + 394
	22  FennecAurora                        0x000000012238dbbd _TToFE12FennecAuroraCSo10XCTestCase16waitForConditionfS0_FT7timeoutSd9conditionFT_Sb_T_ + 125
	23  FennecAurora                        0x0000000122391aca _TFC12FennecAurora15TabManagerTests31testTabManagerStoresChangesInDBfS0_FT_T_ + 2250
	24  FennecAurora                        0x0000000122392a02 _TToFC12FennecAurora15TabManagerTests31testTabManagerStoresChangesInDBfS0_FT_T_ + 34
	25  CoreFoundation                      0x000000010cafe1cc __invoking___ + 140
	26  CoreFoundation                      0x000000010cafe01e -[NSInvocation invoke] + 286
	27  XCTest                              0x000000011cad8080 __24-[XCTestCase invokeTest]_block_invoke_2 + 159
	28  XCTest                              0x000000011cb0bb14 -[XCTestContext performInScope:] + 184
	29  XCTest                              0x000000011cad7fd0 -[XCTestCase invokeTest] + 169
	30  XCTest                              0x000000011cad846b -[XCTestCase performTest:] + 443
	31  XCTest                              0x000000011cad6131 -[XCTestSuite performTest:] + 377
	32  XCTest                              0x000000011cad6131 -[XCTestSuite performTest:] + 377
	33  XCTest                              0x000000011cac3181 __25-[XCTestDriver _runSuite]_block_invoke + 51
	34  XCTest                              0x000000011cae3b5b -[XCTestObservationCenter _observeTestExecutionForBlock:] + 615
	35  XCTest                              0x000000011cac30cd -[XCTestDriver _runSuite] + 408
	36  XCTest                              0x000000011cac3e2c -[XCTestDriver _checkForTestManager] + 263
	37  XCTest                              0x000000011cb0ce99 _XCTestMain + 628
	38  CoreFoundation                      0x000000010cb3ba1c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	39  CoreFoundation                      0x000000010cb316a5 __CFRunLoopDoBlocks + 341
	40  CoreFoundation                      0x000000010cb30e02 __CFRunLoopRun + 850
	41  CoreFoundation                      0x000000010cb30828 CFRunLoopRunSpecific + 488
	42  GraphicsServices                    0x0000000112f06ad2 GSEventRunModal + 161
	43  UIKit                               0x000000010d998610 UIApplicationMain + 171
	44  Client                              0x0000000109f94ea7 main + 487
	45  libdyld.dylib                       0x000000010fcab92d start + 1
)
Test Case '-[FennecAurora.TabManagerTests testTabManagerStoresChangesInDB]' failed (1.250 seconds).
Test Suite 'TabManagerTests' failed at 2016-02-18 14:53:06.158.
	 Executed 1 test, with 1 failure (1 unexpected) in 1.250 (1.251) seconds
Test Suite 'Selected tests' failed at 2016-02-18 14:53:06.159.
	 Executed 10 tests, with 1 failure (1 unexpected) in 1.565 (1.704) seconds
Fixed as part of https://bugzilla.mozilla.org/show_bug.cgi?id=1232554
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1232554
You need to log in before you can comment on or make changes to this bug.