Bosh upload release issues


Kara Felix
 

Hello,

I've recently started working with IBM on the bosh-softlayer-cpi pipeline in concourse, in particular trying to add BATS to the pipeline.
Having struggled with various things, in time I have narrowed the problem down to a release file being uploaded--when I run bosh upload release locally on my machine, it works fine, and if I then run bats from the pipeline, it works. However, if I run bosh verify release locally, it fails; likewise, it fails if I run bosh upload release from the pipeline, despite using the same file.

The file in question is bat-2.yml: https://github.com/cloudfoundry/bosh-acceptance-tests/blob/master/spec/system/assets/bat-release/releases/bat-2.yml

I am still very new to using bosh and I don't understand it very well, so I would appreciate if anyone could offer any suggestions as to why it uploads fine from my local machine and fails from the pipeline, or what I need to do in order to fix that.

Thanks.


Dmitriy Kalinin
 

Please include a stacktrace or an error message you are seeing.

On Thu, Oct 15, 2015 at 2:51 PM, Kara Felix <kfelix(a)us.ibm.com> wrote:

Hello,

I've recently started working with IBM on the bosh-softlayer-cpi pipeline
in concourse, in particular trying to add BATS to the pipeline.
Having struggled with various things, in time I have narrowed the problem
down to a release file being uploaded--when I run bosh upload release
locally on my machine, it works fine, and if I then run bats from the
pipeline, it works. However, if I run bosh verify release locally, it
fails; likewise, it fails if I run bosh upload release from the pipeline,
despite using the same file.

The file in question is bat-2.yml:
https://github.com/cloudfoundry/bosh-acceptance-tests/blob/master/spec/system/assets/bat-release/releases/bat-2.yml

I am still very new to using bosh and I don't understand it very well, so
I would appreciate if anyone could offer any suggestions as to why it
uploads fine from my local machine and fails from the pipeline, or what I
need to do in order to fix that.

Thanks.


Kara Felix
 

Running it from the pipeline:
--------------------------------------
Acting as user 'admin' on 'bosh-in-softlayer'
/var/lib/gems/2.1.0/gems/bosh_cli-1.3100.0/lib/cli/commands/release/upload_release.rb:25: warning: Insecure world writable dir /go/bin in PATH, mode 040777
sh: 1: file: not found
sh: 1: file: not found

Verifying release...
File exists and readable OK
Extract tarball FAILED

Release is invalid, please fix, verify and upload again