Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dtdebugger:omega davide$ DYLD_LIBRARY_PATH=/usr/lib/swift lldb -- /Users/davide/Downloads/Xcode.app/Contents/Developer/usr/bin/xctest -XCTest IntegrationTests.IntegrationTests/testKillContent /Users/davide/omega/omega/.build/x86_64-apple-macosx/debug/OmegaPackageTests.xctest
(lldb) target create "/Users/davide/Downloads/Xcode.app/Contents/Developer/usr/bin/xctest"
Current executable set to '/Users/davide/Downloads/Xcode.app/Contents/Developer/usr/bin/xctest' (x86_64).
(lldb) settings set -- target.run-args "-XCTest" "IntegrationTests.IntegrationTests/testKillContent" "/Users/davide/omega/omega/.build/x86_64-apple-macosx/debug/OmegaPackageTests.xctest"
(lldb) r
Process 27933 launched: '/Users/davide/Downloads/Xcode.app/Contents/Developer/usr/bin/xctest' (x86_64)
Test Suite 'Selected tests' started at 2019-02-11 13:11:30.525
Test Suite 'OmegaPackageTests.xctest' started at 2019-02-11 13:11:30.525
Test Suite 'IntegrationTests' started at 2019-02-11 13:11:30.525
Test Case '-[IntegrationTests.IntegrationTests testKillContent]' started.
2019-02-11 13:11:30.597 WARN com.apple.dt.foray.mocal - deleteInstance("simple-direct-connected-2-omega-coordinator", pid=27922, dirName="?"): wasn't running
2019-02-11 13:11:30.598 WARN com.apple.dt.foray.mocal - deleteInstance("simple-direct-connected-2-omega-worker", pid=27923, dirName="?"): wasn't running
2019-02-11 13:11:30.598 WARN com.apple.dt.foray.mocal - deleteInstance("simple-direct-connected-2-omega-worker", pid=27924, dirName="?"): wasn't running
2019-02-11 13:11:30.598 WARN com.apple.dt.foray.mocal - deleteInstance("simple-direct-connected-2-omega-content", pid=27921, dirName="?"): wasn't running
2019-02-11 13:11:30.600 WARN com.apple.dt.omega.integration.mocalCluster - Prevented simple-direct-connected-2's "omega-worker" instantiating the same port "external" 2 times.
2019-02-11 13:11:30.658698-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C1:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.673896-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C2:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.687993-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C3:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.699939-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C4:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.713988-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C5:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.727978-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C6:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.740969-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C7:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.754266-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C8:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.767353-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C9:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.781444-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C10:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.793614-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C11:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.805231-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C12:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.817305-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C13:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.828579-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C14:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.839966-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C15:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.851333-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C16:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.863135-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C17:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.874407-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C18:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.885936-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C19:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.899860-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C20:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.913001-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C21:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.924483-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C22:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.938327-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C23:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.952309-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C24:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.965213-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C25:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.976530-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C26:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:30.990404-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C27:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.004182-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C28:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.017867-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C29:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.031762-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C30:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.045461-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C31:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.056963-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C32:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.070888-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C33:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.082229-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C34:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.095898-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C35:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.109554-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C36:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.123477-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C37:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.137564-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C38:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.151373-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C39:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.165325-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C40:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.179163-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C41:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.190780-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C42:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.204496-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C43:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.217129-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C44:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.229974-0800 xctest[27933:302023] [] nw_socket_handle_socket_event [C45:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.243634-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C46:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.257558-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C47:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.271452-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C48:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.284561-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C49:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.295561-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C50:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.307207-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C51:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.321023-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C52:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.334725-0800 xctest[27933:302031] [] nw_socket_handle_socket_event [C53:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.348443-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C54:1] Socket SO_ERROR [61: Connection refused]
2019-02-11 13:11:31.362164-0800 xctest[27933:302009] [] nw_socket_handle_socket_event [C55:1] Socket SO_ERROR [61: Connection refused]
Process 27933 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff6dffdf42 libsystem_kernel.dylib`__semwait_signal + 10
libsystem_kernel.dylib`__semwait_signal:
-> 0x7fff6dffdf42 <+10>: jae 0x7fff6dffdf4c ; <+20>
0x7fff6dffdf44 <+12>: movq %rax, %rdi
0x7fff6dffdf47 <+15>: jmp 0x7fff6dffa431 ; cerror
0x7fff6dffdf4c <+20>: retq
Target 0: (xctest) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff6dffdf42 libsystem_kernel.dylib`__semwait_signal + 10
frame #1: 0x00007fff6df89914 libsystem_c.dylib`nanosleep + 199
frame #2: 0x00007fff6df89808 libsystem_c.dylib`usleep + 53
frame #3: 0x0000000108403e24 OmegaPackageTests`Cluster.waitUntilClusterOperational(self=<unavailable>) at MocalCluster.swift:264:17
frame #4: 0x00000001083fc440 OmegaPackageTests`Cluster.init(group=0x000000010091f400 -> 0x0000000108e826d0 type metadata for NIOTransportServices.NIOTSEventLoopGroup, config=<unavailable>, assignPorts=Swift.Dictionary<Swift.String, Swift.Int> @ 0x00007ffeefbfd500, env=Swift.Dictionary<Swift.String, Swift.String> @ 0x00007ffeefbfd4f8, waitUntilEstablished=true, self=<unavailable>) at MocalCluster.swift:182:17
frame #5: 0x00000001083fabf9 OmegaPackageTests`Cluster.__allocating_init(group:config:assignPorts:environment:waitUntilEstablished:) at MocalCluster.swift:0
frame #6: 0x00000001083caa49 OmegaPackageTests`IntegrationTests.withCluster(testName="testKillContent()", config=<unavailable>, assignPorts=Swift.Dictionary<Swift.String, Swift.Int> @ 0x00007ffeefbfda00, environment=Swift.Dictionary<Swift.String, Swift.String> @ 0x00007ffeefbfd9f8, waitUntilEstablished=true, body=0x00000001083d67d0 OmegaPackageTests`partial apply forwarder for closure #1 (IntegrationTests.Cluster) throws -> () in IntegrationTests.IntegrationTests.testKillContent() throws -> () at <compiler-generated>, self=<unavailable>) at IntegrationTests+Extensions.swift:66:27
frame #7: 0x00000001083cb9f8 OmegaPackageTests`IntegrationTests.withCluster(testName="testKillContent()", name="simple-direct-connected-2", assignPorts=Swift.Dictionary<Swift.String, Swift.Int> @ 0x00007ffeefbfdde8, override=Swift.Dictionary<Swift.String, Swift.String> @ 0x00007ffeefbfdde0, waitUntilEstablished=true, body=0x00000001083d67d0 OmegaPackageTests`partial apply forwarder for closure #1 (IntegrationTests.Cluster) throws -> () in IntegrationTests.IntegrationTests.testKillContent() throws -> () at <compiler-generated>, self=<unavailable>) at IntegrationTests+Extensions.swift:85:17
frame #8: 0x00000001083d60ca OmegaPackageTests`IntegrationTests.testKillContent(self=<unavailable>) at IntegrationTests.swift:216:13
frame #9: 0x00000001083d6875 OmegaPackageTests`@objc IntegrationTests.testKillContent() at <compiler-generated>:0
frame #10: 0x00007fff4149202c CoreFoundation`__invoking___ + 140
frame #11: 0x00007fff41491eff CoreFoundation`-[NSInvocation invoke] + 311
frame #12: 0x00000001001841fc XCTest`__24-[XCTestCase invokeTest]_block_invoke_2.197 + 65
frame #13: 0x0000000100208d27 XCTest`-[XCTMemoryChecker _assertInvalidObjectsDeallocatedAfterScope:] + 51
frame #14: 0x000000010018d010 XCTest`-[XCTestCase assertInvalidObjectsDeallocatedAfterScope:] + 116
frame #15: 0x000000010018418c XCTest`__24-[XCTestCase invokeTest]_block_invoke.191 + 207
frame #16: 0x00000001001f6793 XCTest`-[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
frame #17: 0x00000001001f66b0 XCTest`-[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
frame #18: 0x0000000100183da5 XCTest`__24-[XCTestCase invokeTest]_block_invoke + 856
frame #19: 0x00000001001fcb06 XCTest`-[XCUITestContext performInScope:] + 128
frame #20: 0x0000000100183994 XCTest`-[XCTestCase testContextPerformInScope:] + 104
frame #21: 0x0000000100183a40 XCTest`-[XCTestCase invokeTest] + 137
frame #22: 0x00000001001855b2 XCTest`__26-[XCTestCase performTest:]_block_invoke_2 + 43
frame #23: 0x00000001001f6793 XCTest`-[XCTestCase(Failures) performFailableBlock:testCaseRun:shouldInterruptTest:] + 57
frame #24: 0x00000001001f66b0 XCTest`-[XCTestCase(Failures) _performTurningExceptionsIntoFailuresInterruptAfterHandling:block:] + 96
frame #25: 0x00000001001854c9 XCTest`__26-[XCTestCase performTest:]_block_invoke.321 + 88
frame #26: 0x0000000100204fa2 XCTest`+[XCTContext runInContextForTestCase:block:] + 225
frame #27: 0x0000000100184c3b XCTest`-[XCTestCase performTest:] + 676
frame #28: 0x00000001001d626f XCTest`-[XCTest runTest] + 57
frame #29: 0x000000010017f73e XCTest`__27-[XCTestSuite performTest:]_block_invoke + 365
frame #30: 0x000000010017ef1a XCTest`-[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
frame #31: 0x000000010017f1d6 XCTest`-[XCTestSuite performTest:] + 290
frame #32: 0x00000001001d626f XCTest`-[XCTest runTest] + 57
frame #33: 0x000000010017f73e XCTest`__27-[XCTestSuite performTest:]_block_invoke + 365
frame #34: 0x000000010017ef1a XCTest`-[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
frame #35: 0x000000010017f1d6 XCTest`-[XCTestSuite performTest:] + 290
frame #36: 0x00000001001d626f XCTest`-[XCTest runTest] + 57
frame #37: 0x000000010017f73e XCTest`__27-[XCTestSuite performTest:]_block_invoke + 365
frame #38: 0x000000010017ef1a XCTest`-[XCTestSuite _performProtectedSectionForTest:testSection:] + 54
frame #39: 0x000000010017f1d6 XCTest`-[XCTestSuite performTest:] + 290
frame #40: 0x00000001001d626f XCTest`-[XCTest runTest] + 57
frame #41: 0x0000000100219781 XCTest`__44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 171
frame #42: 0x000000010021984b XCTest`__44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke.80 + 68
frame #43: 0x00000001001a399c XCTest`-[XCTestObservationCenter _observeTestExecutionForBlock:] + 594
frame #44: 0x0000000100219537 XCTest`-[XCTTestRunSession runTestsAndReturnError:] + 623
frame #45: 0x0000000100162f46 XCTest`-[XCTestDriver runTestsAndReturnError:] + 460
frame #46: 0x0000000100201240 XCTest`_XCTestMain + 2326
frame #47: 0x0000000100002094 xctest`main + 245
frame #48: 0x00007fff6dec53d5 libdyld.dylib`start + 1
frame #49: 0x00007fff6dec53d5 libdyld.dylib`start + 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.