Bitrise Build Issue Report template
Description of the issue
My Fastlane Snapshot lane fail on Bitrise after switching to the Xcode 10 + iOS 12 stack.
It is working in my local machine using the same Xcode 10 GM and Fastlane version
Environment:
Where did the issue happen?
Xcode 10.0.x on macOS 10.13
Which build Step causes the issue and which version of the step?
fastlane 2.3.12
Reproducibility
- Does a âRebuildâ help? (You can trigger a rebuild from the Buildâs page, by clicking the âRebuildâ button in the top right corner of a finished build) : YES/NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : YES/NO - Does the issue happen sporadically, or every time? :
- Does upgrading the build Step to the latest version help? : YES/NO
- When did the issue start? :
Local reproduction
Canât reproduce in local environment. The script works in local.
Build log
[00:54:07]: ⸠Linking BrandedUISnapshotsTests
[00:54:07]: ⸠Generating âBrandedUISnapshotsTests.xctest.dSYMâ
[00:54:09]: ⸠2018-09-17 00:54:09.510 xcodebuild[3659:18749] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[00:54:09]: ⸠/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/snapshot_derived20180917-1470-w2ffq4/Logs/Test/Run-BrandedSnapshot-2018.09.17_00-53-23â0700.xcresult/5_Test/Diagnostics/BrandedUISnapshotsTests-8063BD9E-F97B-47BB-9A11-B275C21CCE4E/BrandedUISnapshotsTests-0F2AE3A7-52F5-4273-88D5-2B413654FF83/Session-BrandedUISnapshotsTests-2018-09-17_005409-92ejFO.log
[00:54:09]: ⸠2018-09-17 00:54:09.510 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: (A02E3878-4FBE-44B0-BA2E-3ACF470FB9C0) Beginning test session BrandedUISnapshotsTests-A02E3878-4FBE-44B0-BA2E-3ACF470FB9C0 at 2018-09-17 00:54:09.511 with Xcode 10A254a on target <DVTiPhoneSimulator: 0x7faf4cc6d780> {
[00:54:09]: ⸠SimDevice: iPhone SE (1AAFA13C-E1DD-4974-9CE9-29564AAF444D, iOS 12.0, Shutdown)
[00:54:09]: ⸠} (12.0 (16A366))
[00:54:09]: ⸠2018-09-17 00:54:09.556 xcodebuild[3659:18747] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
[00:54:09]: ⸠/var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/snapshot_derived20180917-1470-w2ffq4/Logs/Test/Run-BrandedSnapshot-2018.09.17_00-53-23â0700.xcresult/4_Test/Diagnostics/BrandedUISnapshotsTests-1BE4DF4D-75EF-45FC-A8A7-EBEE3C95267E/BrandedUISnapshotsTests-B6F4C137-E744-41DA-8AE9-F1959E3E9A59/Session-BrandedUISnapshotsTests-2018-09-17_005409-ZNzN8D.log
[00:54:09]: ⸠2018-09-17 00:54:09.556 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: (7F59DC04-160F-4B37-875C-FCCFF7F3553A) Beginning test session BrandedUISnapshotsTests-7F59DC04-160F-4B37-875C-FCCFF7F3553A at 2018-09-17 00:54:09.556 with Xcode 10A254a on target <DVTiPhoneSimulator: 0x7faf4cc6cb30> {
[00:54:09]: ⸠SimDevice: iPhone 8 Plus (3DFF827D-801F-49F7-9F35-7CD8A31E6CFF, iOS 12.0, Shutdown)
[00:54:09]: ⸠} (12.0 (16A366))
[00:54:09]: ⸠2018-09-17 00:54:09.869 xcodebuild[3659:18762] CoreSimulatorService connection interrupted. Resubscribing to notifications.
[00:54:10]: ⸠2018-09-17 00:54:10.300 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.833 elapsed â Testing started completed.
[00:54:10]: ⸠2018-09-17 00:54:10.300 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec â start
[00:54:10]: ⸠2018-09-17 00:54:10.300 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.833 sec, +0.833 sec â end
[00:54:10]: ⸠2018-09-17 00:54:10.302 xcodebuild[3659:16098] Error Domain=NSPOSIXErrorDomain Code=53 âSoftware caused connection abortâ UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
[00:54:10]: ⸠2018-09-17 00:54:10.302 xcodebuild[3659:16098] Error Domain=IDETestOperationsObserverErrorDomain Code=4 âError returned in reply: Connection interruptedâ UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted, NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/snapshot_derived20180917-1470-w2ffq4/Logs/Test/Run-BrandedSnapshot-2018.09.17_00-53-23â0700.xcresult}
[00:54:10]: ⸠2018-09-17 00:54:10.303 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.836 elapsed â Testing started completed.
[00:54:10]: ⸠2018-09-17 00:54:10.303 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec â start
[00:54:10]: ⸠2018-09-17 00:54:10.303 xcodebuild[3659:16098] [MT] IDETestOperationsObserverDebug: 0.836 sec, +0.836 sec â end
[00:54:10]: ⸠2018-09-17 00:54:10.305 xcodebuild[3659:16098] Error Domain=NSPOSIXErrorDomain Code=53 âSoftware caused connection abortâ UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted}
[00:54:10]: ⸠2018-09-17 00:54:10.305 xcodebuild[3659:16098] Error Domain=IDETestOperationsObserverErrorDomain Code=4 âError returned in reply: Connection interruptedâ UserInfo={NSLocalizedDescription=Error returned in reply: Connection interrupted, NSLocalizedRecoverySuggestion=If you believe this error represents a bug, please attach the result bundle at /var/folders/90/5stft2v13fb_m_gv3c8x9nwc0000gn/T/snapshot_derived20180917-1470-w2ffq4/Logs/Test/Run-BrandedSnapshot-2018.09.17_00-53-23â0700.xcresult}
[00:54:10]: ⸠Testing failed:
[00:54:10]: ⸠BrandedUISnapshotsTests-Runner.app encountered an error (Error returned in reply: Connection interrupted)
[00:54:10]: ⸠** TEST FAILED **
Mapping architecture arm64 to x86_64. Ensure that this targetâs Architectures and Valid Architectures build settings are configured correctly for the iOS Simulator platform. (in target âSchedKitâ)