Travis builds are broken
rafa-munoz opened this issue · 0 comments
rafa-munoz commented
When doing a sample provision, Travis CI shows the following errors:
TASK: [go | Register the current Go version (if any)] *************************
<localhost> REMOTE_MODULE command /usr/local/go/bin/go version
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804 && echo $HOME/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804']
<localhost> PUT /tmp/tmpTz8dnU TO /home/travis/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804/command
<localhost> EXEC /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=eugrjnbotjpbhmarzajewmlqonulvyzh] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-eugrjnbotjpbhmarzajewmlqonulvyzh; LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/travis/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804/command; rm -rf /home/travis/.ansible/tmp/ansible-tmp-1445268469.26-239011738322804/ >/dev/null 2>&1'"'"''
failed: [localhost] => {"changed": false, "cmd": "/usr/local/go/bin/go version", "failed": true, "rc": 2}
msg: [Errno 2] No such file or directory
...ignoring
I'm not sure if this is also related to that:
TASK: [tooling | Forego is installed] *****************************************
<localhost> REMOTE_MODULE command export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$PATH:$GOROOT/bin:$GOPATH/bin && go get -u github.com/ddollar/forego #USE_SHELL
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712 && echo $HOME/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712']
<localhost> PUT /tmp/tmp3TRJvI TO /home/travis/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712/command
<localhost> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /home/travis/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712/command; rm -rf /home/travis/.ansible/tmp/ansible-tmp-1445268472.95-210667012243712/ >/dev/null 2>&1']
failed: [localhost] => {"changed": true, "cmd": "export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$PATH:$GOROOT/bin:$GOPATH/bin && go get -u github.com/ddollar/forego", "delta": "0:00:00.884325", "end": "2015-10-19 15:27:53.925261", "rc": 3, "start": "2015-10-19 15:27:53.040936", "warnings": []}
stderr: go tool: no such tool "6g"
Greetings.