Bitrise Build Issue Report template
Description of the issue
My project is composed of an app, and two local SPM Packages, 1 for Domain Layer, 1 for Data Layer.
I run Unit tests on Bitrise, and everything was OK, until I tried to add Firebase.
To be able to do that, I had to add some Firebase Frameworks to my Test Target.
On the branch where I did that, unit test of Data Layer SPM Package and Domain Layer Package still pass.
But the unit tests of the main app fail only on Bitrise, not when I launch them with Xcode build locally.
The error message I get is (replaced name of the app with XXX) :
Exit code: -1
Automatic retry reason found in log: Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
Automatic retry is disabled, no more retry, stopping the test!
Last lines of the build log:
Test Case â-[DataLayerTests.TarmakUserRepositoryTests testUpdateUserFailWhenUpdateUserLocalFail]â passed (0.002 seconds).
Test Case â-[DataLayerTests.TarmakUserRepositoryTests testUpdateUserSuccess]â started.
Test Case â-[DataLayerTests.TarmakUserRepositoryTests testUpdateUserSuccess]â passed (0.002 seconds).
Test Suite âTarmakUserRepositoryTestsâ passed at 2023-07-19 16:33:45.235.
Executed 7 tests, with 0 failures (0 unexpected) in 0.010 (0.011) seconds
Test Suite âDataLayerTests.xctestâ passed at 2023-07-19 16:33:45.235.
Executed 119 tests, with 0 failures (0 unexpected) in 0.531 (0.682) seconds
Test Suite âAll testsâ passed at 2023-07-19 16:33:45.235.
Executed 119 tests, with 0 failures (0 unexpected) in 0.531 (0.683) seconds
2023-07-19 16:34:27.640 xcodebuild[10898:46014] [MT] IDETestOperationsObserverDebug: 135.487 elapsed â Testing started completed.
2023-07-19 16:34:27.640 xcodebuild[10898:46014] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec â start
2023-07-19 16:34:27.640 xcodebuild[10898:46014] [MT] IDETestOperationsObserverDebug: 135.487 sec, +135.487 sec â end
Testing failed:
Test session results, code coverage, and logs:
/var/folders/69/qgnyrbkx23dbp0p6p_b6bc9m0000gn/T/XCUITestOutput37161207/Test-TarmakPlay.xcresult
TarmakPlay (12374) encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted. (Underlying Error: Test crashed with signal abrt before starting test execution. If you believe this error represents a bug, please attach the result bundle at /var/folders/69/qgnyrbkx23dbp0p6p_b6bc9m0000gn/T/XCUITestOutput37161207/Test-TarmakPlay.xcresult))
** TEST FAILED **
Environment:
Where did the issue happen?
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
Xcode 14.3.1, on macOS 13.2 (Ventura) M1 Medium
Which build Step causes the issue and which version of the step?
Xcode Test for iOS v4.7.2
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) : 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. : NO - Does the issue happen sporadically, or every time? : every time on this branch, no problem on other ones
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : July 17th 2023
Local reproduction
NO