Skip to content

Instantly share code, notes, and snippets.

@Syerram
Created July 1, 2019 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Syerram/4bd48df7e8f9e4bb4baba5f6d087e920 to your computer and use it in GitHub Desktop.
Save Syerram/4bd48df7e8f9e4bb4baba5f6d087e920 to your computer and use it in GitHub Desktop.
Setup failure - Option A
• Failure in Spec Setup (BeforeEach) [85.028 seconds]
[routing]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:164
Zipkin Tracing
/go/src/github.com/cloudfoundry/cf-acceptance-tests/cats_suite_helpers/cats_suite_helpers.go:174
when zipkin tracing is enabled [BeforeEach]
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:44
when zipkin headers are not in the request
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:45
the sleuth error response has no error
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:46
Expected
<int>: 1
to match exit code:
<int>: 0
/go/src/github.com/cloudfoundry/cf-acceptance-tests/routing/zipkin_tracing.go:34
[2019-06-05 21:23:42.58 (UTC)]> cf push CATS-5-APP-011f71a758676748 -b java_buildpack -m 1024M -p assets/spring-sleuth/spring-sleuth.jar -d trelawney.cf-app.com
Pushing app CATS-5-APP-011f71a758676748 to org CATS-5-ORG-96f7ab8656260c96 / space CATS-5-SPACE-157dc3ec57b4f84b as CATS-5-USER-274b8ea40f90d989...
Getting app info...
Creating app with these attributes...
+ name: CATS-5-APP-011f71a758676748
path: /go/src/github.com/cloudfoundry/cf-acceptance-tests/assets/spring-sleuth/spring-sleuth.jar
buildpacks:
+ java_buildpack
+ memory: 1G
routes:
+ cats-5-app-011f71a758676748.trelawney.cf-app.com
Creating app CATS-5-APP-011f71a758676748...
Mapping routes...
Comparing local files to remote cache...
Packaging files to upload...
Uploading files...
863.97 KiB / 863.97 KiB [==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================] 100.00% 1s
Waiting for API to complete processing files...
Staging app and tracing logs...
Downloading java_buildpack...
Downloaded java_buildpack
Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 creating container for instance c9e36a06-a676-415e-8105-ac89f84a1900
Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 successfully created container for instance c9e36a06-a676-415e-8105-ac89f84a1900
Downloading app package...
Downloaded app package (31.7M)
[DownloadCache] WARN Unable to download https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml into cache /tmp/cache/final: execution expired
[Buildpack] ERROR Finalize failed with exception #<RuntimeError: Container Security Provider error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml>
Container Security Provider error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml
Failed to compile droplet: Failed to run finalize script: exit status 1
Exit status 223
Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 stopping instance c9e36a06-a676-415e-8105-ac89f84a1900
Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 destroying container for instance c9e36a06-a676-415e-8105-ac89f84a1900
Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 successfully destroyed container for instance c9e36a06-a676-415e-8105-ac89f84a1900
FAILED
Error staging application: App staging failed in the buildpack compile phase
***************************************************
***** APP REPORT: CATS-5-APP-011f71a758676748 *****
***************************************************
[2019-06-05 21:24:59.61 (UTC)]> cf app CATS-5-APP-011f71a758676748 --guid
702d687d-651b-4944-ae49-58edca0bd76d
[2019-06-05 21:25:00.61 (UTC)]> cf tail --envelope-class=logs CATS-5-APP-011f71a758676748 --lines 125
2019-06-05T21:23:43.21+0000 [API/1] OUT Created app with guid 702d687d-651b-4944-ae49-58edca0bd76d
2019-06-05T21:23:47.65+0000 [API/1] OUT Uploading bits for app with guid 702d687d-651b-4944-ae49-58edca0bd76d
2019-06-05T21:23:53.97+0000 [API/1] OUT Creating build for app with guid 702d687d-651b-4944-ae49-58edca0bd76d
2019-06-05T21:23:54.22+0000 [API/1] OUT Updated app with guid 702d687d-651b-4944-ae49-58edca0bd76d ({"state"=>"STARTED"})
2019-06-05T21:23:54.24+0000 [STG/0] OUT Downloading java_buildpack...
2019-06-05T21:23:54.28+0000 [STG/0] OUT Downloaded java_buildpack
2019-06-05T21:23:54.28+0000 [STG/0] OUT Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 creating container for instance c9e36a06-a676-415e-8105-ac89f84a1900
2019-06-05T21:23:54.73+0000 [STG/0] OUT Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 successfully created container for instance c9e36a06-a676-415e-8105-ac89f84a1900
2019-06-05T21:23:54.84+0000 [STG/0] OUT Downloading app package...
2019-06-05T21:23:56.10+0000 [STG/0] OUT Downloaded app package (31.7M)
2019-06-05T21:24:57.02+0000 [STG/0] ERR [DownloadCache] WARN Unable to download https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml into cache /tmp/cache/final: execution expired
2019-06-05T21:24:57.02+0000 [STG/0] ERR [Buildpack] ERROR Finalize failed with exception #<RuntimeError: Container Security Provider error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml>
2019-06-05T21:24:57.02+0000 [STG/0] ERR Container Security Provider error: Unable to find cached file for https://java-buildpack.cloudfoundry.org/container-security-provider/index.yml
2019-06-05T21:24:57.03+0000 [STG/0] ERR Failed to compile droplet: Failed to run finalize script: exit status 1
2019-06-05T21:24:57.05+0000 [STG/0] OUT Exit status 223
2019-06-05T21:24:57.30+0000 [STG/0] OUT Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 stopping instance c9e36a06-a676-415e-8105-ac89f84a1900
2019-06-05T21:24:57.30+0000 [STG/0] OUT Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 destroying container for instance c9e36a06-a676-415e-8105-ac89f84a1900
2019-06-05T21:24:57.89+0000 [STG/0] OUT Cell 750e0cdc-47d0-4a1c-a1f9-d41055d9fc18 successfully destroyed container for instance c9e36a06-a676-415e-8105-ac89f84a1900
***************************************************
*** END APP REPORT: CATS-5-APP-011f71a758676748 ***
***************************************************
[2019-06-05 21:25:01.61 (UTC)]> cf delete CATS-5-APP-011f71a758676748 -f -r
Deleting app CATS-5-APP-011f71a758676748 in org CATS-5-ORG-96f7ab8656260c96 / space CATS-5-SPACE-157dc3ec57b4f84b as CATS-5-USER-274b8ea40f90d989...
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment