Skip to content

objc StressTestsCleartext failure #19317

@markdroth

Description

@markdroth

https://source.cloud.google.com/results/invocations/157de87b-4720-4282-9fbd-a0102ebc1c14/targets/github%2Fgrpc%2Fobjc_macos_dbg_native/tests

2019-06-11 12:17:41.461365-0700 xctest[56895:426114] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unable to report test assertion failure '((address_removed) is true) failed: throwing "Unable to report test assertion failure '((address_removed) is true) failed' from /Volumes/BuildData/tmpfs/src/github/grpc/workspace_objc_macos_dbg_native/src/objective-c/tests/MacTests/StressTests.m:344 because it was raised inside test case -[StressTestsCleartext testNetworkFlapOnHalfDuplexCallWithV2API] which has no associated XCTestRun object. This may happen when test cases are constructed and invoked independently of standard XCTest infrastructure, or when the test has already finished."' from /Volumes/BuildData/tmpfs/src/github/grpc/workspace_objc_macos_dbg_native/src/objective-c/tests/MacTests/StressTests.m:344 because it was raised inside test case -[StressTestsCleartext testNetworkFlapOnHalfDuplexCallWithV2API] which has no associated XCTestRun object. This may happen when test cases are constructed and invoked independently of standard XCTest infrastructure, or when the test has already finished.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff574b166b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fff7e703942 objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff574b7252 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x00007fff59665a0b -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 165
	4   XCTest                              0x000000010fd521a8 -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:] + 1034
	5   XCTest                              0x000000010fd5c0c0 _XCTFailureHandler + 408
	6   MacTests                            0x0000000112ecf4e6 __55-[StressTests testNetworkFlapOnHalfDuplexCallWithV2API]_block_invoke + 1862
	7   MacTests                            0x0000000112eca07c -[MacTestsBlockCallbacks didCloseWithTrailingMetadata:error:] + 124
	8   MacTests                            0x00000001130cdb20 __61-[GRPCStreamingProtoCall didCloseWithTrailingMetadata:error:]_block_invoke + 135
	9   libdispatch.dylib                   0x00007fff7f2e85fa _dispatch_call_block_and_release + 12
	10  libdispatch.dylib                   0x00007fff7f2e0db8 _dispatch_client_callout + 8
	11  libdispatch.dylib                   0x00007fff7f2f5217 _dispatch_queue_serial_drain + 635
	12  libdispatch.dylib                   0x00007fff7f2e8166 _dispatch_queue_invoke + 373
	13  libdispatch.dylib                   0x00007fff7f2f507a _dispatch_queue_serial_drain + 222
	14  libdispatch.dylib                   0x00007fff7f2e8166 _dispatch_queue_invoke + 373
	15  libdispatch.dylib                   0x00007fff7f2f5f0d _dispatch_root_queue_drain_deferred_wlh + 332
	16  libdispatch.dylib                   0x00007fff7f2f9d21 _dispatch_workloop_worker_thread + 880
	17  libsystem_pthread.dylib             0x00007fff7f631fd2019-06-11 12:17:41.461429-0700 xctest[56895:426331] *** Assertion failure in -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:](), /Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-13764/Sources/XCTestFramework/Core/XCTestCase.m:399
2 _pthread_wqthread + 980
	18  libsystem_pthread.dylib             0x00007fff7f631be9 start_wqthread + 13
)
2019-06-11 12:17:41.462316-0700 xctest[56895:426245] *** Assertion failure in -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:](), /Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-13764/Sources/XCTestFramework/Core/XCTestCase.m:399
2019-06-11 12:17:41.462446-0700 xctest[56895:426245] *** Assertion failure in -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:](), /Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-13764/Sources/XCTestFramework/Core/XCTestCase.m:399
2019-06-11 12:17:41.462580-0700 xctest[56895:426303] *** Assertion failure in -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:](), /Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-13764/Sources/XCTestFramework/Core/XCTestCase.m:399
libc++abi.dylib: 2019-06-11 12:17:41.462700-0700 xctest[56895:426303] *** Assertion failure in -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:breakWhenDequeued:](), /Library/Caches/com.apple.xbs/Sources/XCTest/XCTest-13764/Sources/XCTestFramework/Core/XCTestCase.m:399
terminating with uncaught exception of type NSException
Restarting after unexpected exit or crash in StressTestsCleartext/testNetworkFlapOnUnaryCallWithV1API; summary will include totals from previous launches.
Test Suite 'Selected tests' started at 2019-06-11 12:17:47.291
Test Suite 'MacTests.xctest' started at 2019-06-11 12:17:47.292
Test Suite 'StressTestsCleartext' started at 2019-06-11 12:17:47.292
Test Case '-[StressTestsCleartext testNetworkFlapOnUnaryCallWithV2API]' started.
Test Case '-[StressTestsCleartext testNetworkFlapOnUnaryCallWithV2API]' passed (11.540 seconds).
Test Case '-[StressTestsCleartext testServerStreamingCallSlowClientWithV2API]' started.
Test Case '-[StressTestsCleartext testServerStreamingCallSlowClientWithV2API]' passed (12.934 seconds).
Test Case '-[StressTestsCleartext testTimeoutOnFullDuplexCallWithV2API]' started.
Test Case '-[StressTestsCleartext testTimeoutOnFullDuplexCallWithV2API]' passed (0.511 seconds).
Test Suite 'StressTestsCleartext' failed at 2019-06-11 12:18:12.280.
	 Executed 9 tests, with 3 failures (0 unexpected) in 24.985 (24.988) seconds

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions