Closed csantanapr closed 6 years ago
Travis is failing to build swift 4 image
gpg: no ultimately trusted keys found gpg: Total number processed: 3 gpg: imported: 3 (RSA: 3) gpg: keyserver timed out gpg: keyserver receive failed: keyserver error The command '/bin/sh -c wget https://swift.org/builds/$SWIFT_SNAPSHOT_LOWERCASE/$UBUNTU_VERSION_NO_DOTS/$SWIFT_SNAPSHOT/$SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz https://swift.org/builds/$SWIFT_SNAPSHOT_LOWERCASE/$UBUNTU_VERSION_NO_DOTS/$SWIFT_SNAPSHOT/$SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz.sig && gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys '7463 A81A 4B2E EA1B 551F FBCF D441 C977 412B 37AD' '1BE1 E29A 084C B305 F397 D62A 9F59 7F4D 21A5 6D5F' 'A3BA FD35 56A5 9079 C068 94BD 63BC 1CFE 91D3 06C6' '5E4D F843 FB06 5D7F 7E24 FBA2 EF54 30F0 71E1 B235' '8513 444E 2DA3 6B7C 1659 AF4D 7638 F1FB 2B2B 08C4' && gpg --keyserver hkp://pool.sks-keyservers.net --refresh-keys && gpg --verify $SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz.sig && tar xzvf $SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz --strip-components=1 && rm $SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz && rm $SWIFT_SNAPSHOT-$UBUNTU_VERSION.tar.gz.sig && chmod -R go+r /usr/lib/swift && swift --version' returned a non-zero code: 2 [0m Wed Aug 15 15:22:42 UTC 2018: Command 'docker build -t action-swift-v4.1 /home/travis/build/apache/incubator-openwhisk-runtime-swift/core/swift41Action' failed with exitCode 2, no more retries left, aborting... :core:swift41Action:distDocker FAILED :core:swift41Action:tagImage Wed Aug 15 15:22:42 UTC 2018: Executing 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' Error response from daemon: no such id: action-swift-v4.1 Wed Aug 15 15:22:42 UTC 2018: Command 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' failed with exitCode 1, 2 retries left, retrying... Wed Aug 15 15:22:42 UTC 2018: Executing 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' Error response from daemon: no such id: action-swift-v4.1 Wed Aug 15 15:22:42 UTC 2018: Command 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' failed with exitCode 1, 1 retries left, retrying... Wed Aug 15 15:22:42 UTC 2018: Executing 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' Error response from daemon: no such id: action-swift-v4.1 Wed Aug 15 15:22:42 UTC 2018: Command 'docker tag action-swift-v4.1 testing/action-swift-v4.1:latest' failed with exitCode 1, no more retries left, aborting... :core:swift41Action:tagImage FAILED FAILURE: Build completed with 2 failures. 1: Task failed with an exception. ----------- * Where: Script '/home/travis/build/apache/incubator-openwhisk-runtime-swift/gradle/docker.gradle' line: 113
The solution is to implement the TODO, to extend the official swift 4 image instead https://github.com/apache/incubator-openwhisk-runtime-swift/blob/master/core/swift41Action/Dockerfile#L18
# TODO Replace this dockerfile and extend from official image when 4.1 is released
Travis is failing to build swift 4 image
The solution is to implement the TODO, to extend the official swift 4 image instead https://github.com/apache/incubator-openwhisk-runtime-swift/blob/master/core/swift41Action/Dockerfile#L18