Skip to content

Instantly share code, notes, and snippets.

@michael-martinez
Last active February 17, 2018 22:45
Show Gist options
  • Save michael-martinez/70eb7796e55b9d7726082b6ecb7fc1f4 to your computer and use it in GitHub Desktop.
Save michael-martinez/70eb7796e55b9d7726082b6ecb7fc1f4 to your computer and use it in GitHub Desktop.
Error Travis CI
2018-02-17 21:54:45.363 xcodebuild[9540:25758] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/com.apple.dt.XCTest/IDETestRunSession-923158DE-39B9-4541-A4B9-96011B65D93B/ApplicationNameTests-A5A0B3DC-9966-4B98-81B0-F2CB230F2ECA/Session-ApplicationNameTests-2018-02-17_215445-vBeZBF.log
2018-02-17 21:54:45.435 xcodebuild[9540:25751] [MT] IDETestOperationsObserverDebug: (A30841CE-7786-4605-AEF3-33E6B81DE16E) Beginning test session ApplicationNameTests-A30841CE-7786-4605-AEF3-33E6B81DE16E at 2018-02-17 21:54:45.434 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7f9f68192000> {
SimDevice: iPad Air (FFDCEC43-BE2D-46EA-98AA-5643F6882D39, iOS 10.0, Booted)
} (10.0 (14A345))
2018-02-17 21:54:45.456 xcodebuild[9540:26807] IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/com.apple.dt.XCTest/IDETestRunSession-923158DE-39B9-4541-A4B9-96011B65D93B/ApplicationNameUITests-CA83ABE6-99E3-4B06-918A-BA88F094D4E7/Session-ApplicationNameUITests-2018-02-17_215445-wN9CtO.log
2018-02-17 21:54:45.457 xcodebuild[9540:25751] [MT] IDETestOperationsObserverDebug: (E52ADB37-0EEC-4F9B-9171-479DF588AF7A) Beginning test session ApplicationNameUITests-E52ADB37-0EEC-4F9B-9171-479DF588AF7A at 2018-02-17 21:54:45.457 with Xcode 9B55 on target <DVTiPhoneSimulator: 0x7f9f68192000> {
SimDevice: iPad Air (FFDCEC43-BE2D-46EA-98AA-5643F6882D39, iOS 10.0, Booted)
} (10.0 (14A345))
2018-02-17 21:56:41.496 xcodebuild[9540:25751] Error Domain=IDETestOperationsObserverErrorDomain Code=13 "Failed to background test runner. If you believe this error represents a bug, please attach the log file at /var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/com.apple.dt.XCTest/IDETestRunSession-923158DE-39B9-4541-A4B9-96011B65D93B/ApplicationNameUITests-CA83ABE6-99E3-4B06-918A-BA88F094D4E7/Session-ApplicationNameUITests-2018-02-17_215445-wN9CtO.log" UserInfo={NSLocalizedDescription=Failed to background test runner. If you believe this error represents a bug, please attach the log file at /var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/com.apple.dt.XCTest/IDETestRunSession-923158DE-39B9-4541-A4B9-96011B65D93B/ApplicationNameUITests-CA83ABE6-99E3-4B06-918A-BA88F094D4E7/Session-ApplicationNameUITests-2018-02-17_215445-wN9CtO.log}
Testing failed:
Failed to background test runner. If you believe this error represents a bug, please attach the log file at /var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/com.apple.dt.XCTest/IDETestRunSession-923158DE-39B9-4541-A4B9-96011B65D93B/ApplicationNameUITests-CA83ABE6-99E3-4B06-918A-BA88F094D4E7/Session-ApplicationNameUITests-2018-02-17_215445-wN9CtO.log
** TEST FAILED **
........FF...............
ApplicationNameTests.GameConfigTests
testExerciseFactory, XCTAssertNotNil failed -
/Users/travis/build/michael-martinez/ApplicationName/ApplicationNameTests/ExercisesConstantsTests.swift:66
```
for level in 1..<(totalAvailableExercises+1) {
XCTAssertNotNil(ExerciseFactory.makeExercise(level: level))
}
```
testExerciseFactory, XCTAssertNotNil failed -
/Users/travis/build/michael-martinez/ApplicationName/ApplicationNameTests/ExercisesConstantsTests.swift:66
```
for level in 1..<(totalAvailableExercises+1) {
XCTAssertNotNil(ExerciseFactory.makeExercise(level: level))
}
```
Executed 24 tests, with 2 failures (0 unexpected) in 0.074 (0.099) seconds
The command "xcodebuild -project ApplicationName/ApplicationName.xcodeproj -scheme ApplicationName -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air,OS=10.0' ONLY_ACTIVE_ARCH=NO -configuration Debug build test | xcpretty --test --color" exited with 65.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment