Closed drnic closed 5 years ago
I've never seen a bosh cpi release fail like this before. Suggestions?
$ bosh create-env jumpbox.yml -o alicloud/cpi.yml --state tmp/alicloud/state.json --vars-store tmp/alicloud/creds.yml -l tmp/alicloud/vars.yml ... Started installing CPI Compiling package 'golang/b8d6209032116aba77d5bd2564bb3158f20498dc'... Finished (00:00:00) Compiling package 'bosh-alicloud-cpi/81754d11d5d32a7bc1637c14840f173190103729'... Failed (00:00:00) Failed installing CPI (00:00:00) Installing CPI: Compiling job package dependencies for installation: Compiling job package dependencies: Compiling package: Running command: 'bash -x packaging', stdout: ' ========================================== Source Patch: /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404 Installed in: /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/packages/bosh-alicloud-cpi ========================================== rm -f /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/bin/* mkdir -p /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/bin go build -a -o /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/bin/alicloud_cpi /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/src/bosh-alicloud-cpi/main/main.go ', stderr: '+ set -e + set -u + PACKAGES_DIR=/Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/packages ++ uname ++ tr '[:upper:]' '[:lower:]' + PLATFORM=darwin + '[' darwin = linux ']' + echo ' ========================================== ' + echo ' Source Patch: ' /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404 + echo ' Installed in: ' /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/packages/bosh-alicloud-cpi + echo ' ========================================== ' + mkdir -p /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/src + mv /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/Makefile /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/ + mv /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/bosh-alicloud-cpi /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go/src/ + export GOPATH=/Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go + GOPATH=/Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go + mkdir -p /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/packages/bosh-alicloud-cpi/bin + cd /Users/drnic/.bosh/installations/ba07516a-7025-4028-4da3-74a9c5df213b/tmp/bosh-release-pkg871548404/go + make build cache is required, but could not be located: GOCACHE is not defined and $HOME is not defined
Related to #36?
I'm using v22:
- type: replace path: /releases/- value: name: bosh-alicloud-cpi version: 22 url: https://github.com/cloudfoundry-incubator/bosh-alicloud-cpi-release/releases/download/v22/bosh-alicloud-cpi-release-r22.tgz sha1: fef59c26858c21e27916766ce21aafc0fce5da91
I've never seen a bosh cpi release fail like this before. Suggestions?
Related to #36?
I'm using v22: