{"action":"created","issue":{"url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/20","labels_url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/20/comments","events_url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/20/events","html_url":"https://github.com/bitrise-io/steps-xcode-test/issues/20","id":111807492,"number":20,"title":"UI Testing Failure - Failed to receive completion for <XCDeviceEvent:0x7ff019cee000 page 12 usage 64 duration 0.01s within 2.5s","user":{"login":"ishaq","id":75963,"avatar_url":"https://avatars.githubusercontent.com/u/75963?v=3","gravatar_id":"","url":"https://api.github.com/users/ishaq","html_url":"https://github.com/ishaq","followers_url":"https://api.github.com/users/ishaq/followers","following_url":"https://api.github.com/users/ishaq/following{/other_user}","gists_url":"https://api.github.com/users/ishaq/gists{/gist_id}","starred_url":"https://api.github.com/users/ishaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishaq/subscriptions","organizations_url":"https://api.github.com/users/ishaq/orgs","repos_url":"https://api.github.com/users/ishaq/repos","events_url":"https://api.github.com/users/ishaq/events{/privacy}","received_events_url":"https://api.github.com/users/ishaq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-16T10:53:15Z","updated_at":"2016-01-21T10:52:54Z","closed_at":null,"body":"In one of our builds, we are consistently facing this issue, here's the complete exception (I have already emailed the log for build id `58d215ed26c05a5a` to letsconnect@bitrise.io):\r\n\r\n```\r\n    t =     0.03s         Launch <app bundle identifier>\r\n    t =     2.59s             Assertion Failure: UI Testing Failure - Failed to receive completion for \r\n<test_file_name>:25: error: <test_method_name> : UI Testing Failure - Failed to receive completion for \r\n2015-10-15 11:47:46.092 XCTRunner[2624:11132] *** Terminating app due to uncaught exception '_XCTestCaseInterruptionException', reason: 'Interrupting test'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x000000010efe2f65 __exceptionPreprocess + 165\r\n\t1   libobjc.A.dylib                     0x000000010ea5adeb objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x000000010efe2e9d +[NSException raise:format:] + 205\r\n\t3   XCTest                              0x000000010e51a0a9 -[XCTestCase _dequeueFailures] + 560\r\n\t4   XCTest                              0x000000010e51a385 -[XCTestCase _enqueueFailureWithDescription:inFile:atLine:expected:] + 576\r\n\t5   XCTest                              0x000000010e521b30 _XCTFailureHandler + 1112\r\n\t6   XCTest                              0x000000010e519529 _XCTFailInCurrentTest + 512\r\n\t7   XCTest                              0x000000010e536e53 -[XCUIDevice _dispatchEventWithPage:usage:duration:] + 790\r\n\t8   XCTest                              0x000000010e527fe8 -[XCAXClient_iOS init] + 153\r\n\t9   XCTest                              0x000000010e527f46 __30+[XCAXClient_iOS sharedClient]_block_invoke + 24\r\n\t10  libdispatch.dylib                   0x00000001112ba4a7 _dispatch_client_callout + 8\r\n\t11  libdispatch.dylib                   0x00000001112a7c7b dispatch_once_f + 76\r\n\t12  XCTest                              0x000000010e527f2c +[XCAXClient_iOS sharedClient] + 42\r\n\t13  XCTest                              0x000000010e5383d6 __37-[XCUIApplication _launchUsingXcode:]_block_invoke + 50\r\n\t14  XCTest                              0x000000010e51dc33 -[XCTestCase startActivityWithTitle:block:] + 305\r\n\t15  XCTest                              0x000000010e538395 -[XCUIApplication _launchUsingXcode:] + 309\r\n\t16  mf-ios-appUITests                   0x000000011bc84eaf _TFC17mf_ios_appUITests30<test_class_name>5setUpfS0_FT_T_ + 335\r\n\t17  mf-ios-appUITests                   0x000000011bc85232 _TToFC17mf_ios_appUITests30<test_class_name>5setUpfS0_FT_T_ + 34\r\n\t18  XCTest                              0x000000010e51dc33 -[XCTestCase startActivityWithTitle:block:] + 305\r\n\t19  XCTest                              0x000000010e51a5df __24-[XCTestCase invokeTest]_block_invoke_2 + 118\r\n\t20  XCTest                              0x000000010e549c90 -[XCTestContext performInScope:] + 184\r\n\t21  XCTest                              0x000000010e51a558 -[XCTestCase invokeTest] + 169\r\n\t22  XCTest                              0x000000010e51a9f3 -[XCTestCase performTest:] + 443\r\n\t23  XCTest                              0x000000010e5186b9 -[XCTestSuite performTest:] + 377\r\n\t24  XCTest                              0x000000010e5186b9 -[XCTestSuite performTest:] + 377\r\n\t25  XCTest                              0x000000010e5186b9 -[XCTestSuite performTest:] + 377\r\n\t26  XCTest                              0x000000010e505ec2 __25-[XCTestDriver _runSuite]_block_invoke + 51\r\n\t27  XCTest                              0x000000010e5260cb -[XCTestObservationCenter _observeTestExecutionForBlock:] + 615\r\n\t28  XCTest                              0x000000010e505e0e -[XCTestDriver _runSuite] + 408\r\n\t29  XCTest                              0x000000010e506b6d -[XCTestDriver _checkForTestManager] + 263\r\n\t30  XCTest                              0x000000010e54aff1 _XCTestMain + 628\r\n\t31  libdispatch.dylib                   0x000000011129edf5 _dispatch_call_block_and_release + 12\r\n\t32  libdispatch.dylib                   0x00000001112ba4a7 _dispatch_client_callout + 8\r\n\t33  libdispatch.dylib                   0x00000001112a4fc9 _dispatch_main_queue_callback_4CF + 714\r\n\t34  CoreFoundation                      0x000000010ef433e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n\t35  CoreFoundation                      0x000000010ef04939 __CFRunLoopRun + 2073\r\n\t36  CoreFoundation                      0x000000010ef03e98 CFRunLoopRunSpecific + 488\r\n\t37  GraphicsServices                    0x0000000110ae4ad2 GSEventRunModal + 161\r\n\t38  UIKit                               0x000000010f390676 UIApplicationMain + 171\r\n\t39  XCTRunner                           0x000000010e48d9f8 XCTRunner + 6648\r\n\t40  libdyld.dylib                       0x00000001112ea92d start + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type _XCTestCaseInterruptionException\r\n```"},"comment":{"url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/comments/173536711","html_url":"https://github.com/bitrise-io/steps-xcode-test/issues/20#issuecomment-173536711","issue_url":"https://api.github.com/repos/bitrise-io/steps-xcode-test/issues/20","id":173536711,"user":{"login":"ishaq","id":75963,"avatar_url":"https://avatars.githubusercontent.com/u/75963?v=3","gravatar_id":"","url":"https://api.github.com/users/ishaq","html_url":"https://github.com/ishaq","followers_url":"https://api.github.com/users/ishaq/followers","following_url":"https://api.github.com/users/ishaq/following{/other_user}","gists_url":"https://api.github.com/users/ishaq/gists{/gist_id}","starred_url":"https://api.github.com/users/ishaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishaq/subscriptions","organizations_url":"https://api.github.com/users/ishaq/orgs","repos_url":"https://api.github.com/users/ishaq/repos","events_url":"https://api.github.com/users/ishaq/events{/privacy}","received_events_url":"https://api.github.com/users/ishaq/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T10:52:54Z","updated_at":"2016-01-21T10:52:54Z","body":"This has been replaced with \r\n\r\n```\r\nAssertion Failure: UI Testing Failure - App state for <XCUIApplicationProcess: 0x155659460 (null) (814)> is XCApplicationStateRunningActive (3), still not XCApplicationStateNotRunning (1)\r\n```\r\n\r\nMore info here (might require login to apple forums): https://forums.developer.apple.com/message/96375"}}