Skip to content

Instantly share code, notes, and snippets.

@iriberri
Created April 26, 2018 15:36
Show Gist options
  • Save iriberri/207e35d0dafb0d19ccc2115b7ad207a4 to your computer and use it in GitHub Desktop.
Save iriberri/207e35d0dafb0d19ccc2115b7ad207a4 to your computer and use it in GitHub Desktop.
os: osx
language: go
go: 1.9.3
matrix:
include:
- os: osx
osx_image: xcode9.3
install: sw_vers -productVersion
script:
- chmod +x artifacts.sh # this is https://github.com/travis-ci/travis-build/blob/ef82e82457f82c6518d090544bb533dc0faf0063/lib/travis/build/addons/artifacts/templates/artifacts.sh
- source artifacts.sh
- travis_artifacts_install
- wget https://github.com/travis-ci/artifacts/archive/v0.7.8.tar.gz
- tar -xf v0.7.8.tar.gz
- cd artifacts-0.7.8
- go get
- cd /Users/travis/gopath/src/github.com/travis-ci/artifacts
- go build artifacts.go
- ./artifacts upload # recently recompiled artifacts
- artifacts upload # artifacts from the amazon bucket
KWorker information
hostname: cf85e7b2-0a98-4005-a2c4-f7a067690fb2@1690.wjb-1
version: v3.6.0 https://github.com/travis-ci/worker/tree/170b2a0bb43234479fd1911ba9e4dbcc36dadfad
instance: 26382f18-dda6-4035-a4b1-dcfcb911e393 travis-ci-macos10.13-xcode9.3-1522983573 (via amqp)
startup: 1m14.62172969s
KIgnoring bigdecimal-1.3.4 because its extensions are not built. Try: gem pristine bigdecimal --version 1.3.4
KBuild system information
Build language: go
Build id: 71899035
Job id: 121289692
Runtime kernel version: 17.4.0
travis-build version: 3ece7855c
K
Network availability confirmed.
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost Traviss-Mac-1044.local
255.255.255.255 broadcasthost
::1 localhost
Fix WWDRCA Certificate
Unable to delete certificate matching "0950B6CD3D2F37EA246A1AAA20DFAADBD6FE1F75"security: AppleWWDRCA.cer: already in /Library/Keychains/System.keychain
$ rvm use
Using /Users/travis/.rvm/gems/ruby-2.4.2
/Users/travis/.travis/job_stages: line 573: yarn: command not found
sudo: apt-get: command not found
Installing an SSH key from: default repository key
Key fingerprint: 9b:ef:9b:90:8b:3c:a1:41:51:f0:aa:85:e0:56:c8:63
K$ git clone --depth=50 --branch=mac git@github.com:iriberri/travis-experiments.git iriberri/travis-experiments
Cloning into 'iriberri/travis-experiments'...
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
K$ cd iriberri/travis-experiments
$ git checkout -qf 3f1327e76a43cd951e5897740ae1a95103c284d9
KUpdating gimme
Setting environment variables from repository settings
$ export GITHUB_APP_PEM=[secure]
$ export FOO22=[secure]
$ export GITHUB_TOKEN_2=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export FOO22=[secure]
$ export encrypted_6536537e5a01_key=[secure]
$ export encrypted_6536537e5a01_iv=[secure]
$ export GITHUB_TOKEN=[secure]
$ export TRAVIS_TAG=pupuupu2
K$ GIMME_OUTPUT="$(gimme 1.9.3 | tee -a $HOME/.bashrc)" && eval "$GIMME_OUTPUT"
go version go1.9.3 darwin/amd64
K$ export GOPATH=$HOME/gopath
$ export PATH=$HOME/gopath/bin:$PATH
$ mkdir -p $HOME/gopath/src/github.com/iriberri/travis-experiments
$ rsync -az ${TRAVIS_BUILD_DIR}/ $HOME/gopath/src/github.com/iriberri/travis-experiments/
$ export TRAVIS_BUILD_DIR=$HOME/gopath/src/github.com/iriberri/travis-experiments
$ cd $HOME/gopath/src/github.com/iriberri/travis-experiments
K
K$ gimme version
v1.3.0
$ go version
go version go1.9.3 darwin/amd64
K$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/travis/gopath"
GORACE=""
GOROOT="/Users/travis/.gimme/versions/go1.9.3.darwin.amd64"
GOTOOLDIR="/Users/travis/.gimme/versions/go1.9.3.darwin.amd64/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/bb/n7t3rs157850byt_jfdcq9k80000gn/T/go-build059815017=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
K$ sw_vers -productVersion
10.13.3
K$ echo $GOROOT
/Users/travis/.gimme/versions/go1.9.3.darwin.amd64
K
The command "echo $GOROOT" exited with 0.
K$ ./test upload
/Users/travis/.travis/job_stages: line 57: ./test: No such file or directory
K
The command "./test upload" exited with 127.
K$ chmod +x artifacts.sh
K
The command "chmod +x artifacts.sh" exited with 0.
K$ source artifacts.sh
K
The command "source artifacts.sh" exited with 0.
K$ travis_artifacts_install
https://s3.amazonaws.com/travis-ci-gmbh/artifacts/stable/build/darwin/amd64/artifacts
artifacts version v0.7.8-28-g3ead995 revision=3ead995bf707922f454600ca5674271f0d624189
K
The command "travis_artifacts_install" exited with 0.
K$ which artifacts
/Users/travis/bin/artifacts
K
The command "which artifacts" exited with 0.
K$ wget https://github.com/travis-ci/artifacts/archive/v0.7.8.tar.gz
--2018-04-26 15:28:15-- https://github.com/travis-ci/artifacts/archive/v0.7.8.tar.gz
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/travis-ci/artifacts/tar.gz/v0.7.8 [following]
--2018-04-26 15:28:15-- https://codeload.github.com/travis-ci/artifacts/tar.gz/v0.7.8
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20651 (20K) [application/x-gzip]
Saving to: ‘v0.7.8.tar.gz’
0K .......... .......... 100% 1.16M=0.02s
2018-04-26 15:28:15 (1.16 MB/s) - ‘v0.7.8.tar.gz’ saved [20651/20651]
K
The command "wget https://github.com/travis-ci/artifacts/archive/v0.7.8.tar.gz" exited with 0.
K$ tar -xf v0.7.8.tar.gz
K
The command "tar -xf v0.7.8.tar.gz" exited with 0.
K$ cd artifacts-0.7.8
K
The command "cd artifacts-0.7.8" exited with 0.
K$ go get
K
The command "go get" exited with 0.
K$ cd /Users/travis/gopath/src/github.com/travis-ci/artifacts
K
The command "cd /Users/travis/gopath/src/github.com/travis-ci/artifacts" exited with 0.
K$ go build artifacts.go
K
The command "go build artifacts.go" exited with 0.
K$ ./artifacts upload
time="2018-04-26T15:28:26Z" level=fatal msg="no bucket name given"
K
The command "./artifacts upload" exited with 1.
K$ artifacts upload
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x161d738a0b pc=0xc9f80]
goroutine 1 [running]:
runtime.throw(0x4cc1e0, 0x2a)
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/runtime/panic.go:527 +0x90 fp=0xc8200cafb8 sp=0xc8200cafa0
runtime.sigpanic()
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/runtime/sigpanic_unix.go:12 +0x5a fp=0xc8200cb008 sp=0xc8200cafb8
sync.(*Pool).Get(0x64eab0, 0x0, 0x0)
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/sync/pool.go:101 +0x40 fp=0xc8200cb058 sp=0xc8200cb008
fmt.newPrinter(0x673718)
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/fmt/print.go:133 +0x27 fp=0xc8200cb098 sp=0xc8200cb058
fmt.Fprintf(0x8978c8, 0xc820050ee0, 0x44bf20, 0x6, 0xc8200cb188, 0x2, 0x2, 0x1, 0x0, 0x0)
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/fmt/print.go:187 +0x30 fp=0xc8200cb0e0 sp=0xc8200cb098
github.com/Sirupsen/logrus.(*TextFormatter).AppendKeyValue(0xc8200be820, 0xc820050ee0, 0x32ca40, 0xc8200beef0, 0x32ca40, 0xc8200bef00)
/home/travis/gopath/src/github.com/Sirupsen/logrus/text_formatter.go:82 +0x151 fp=0xc8200cb1b0 sp=0xc8200cb0e0
github.com/Sirupsen/logrus.(*TextFormatter).Format(0xc8200be820, 0xc820017d80, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/Sirupsen/logrus/text_formatter.go:65 +0x263 fp=0xc8200cb498 sp=0xc8200cb1b0
github.com/Sirupsen/logrus.(*Entry).Reader(0xc820017d80, 0xc800000001, 0x0, 0x0)
/home/travis/gopath/src/github.com/Sirupsen/logrus/entry.go:43 +0x67 fp=0xc8200cb530 sp=0xc8200cb498
github.com/Sirupsen/logrus.(*Entry).log(0xc820017d80, 0x1, 0xc8200c2240, 0x14, 0x0, 0x0)
/home/travis/gopath/src/github.com/Sirupsen/logrus/entry.go:84 +0x227 fp=0xc8200cb688 sp=0xc8200cb530
github.com/Sirupsen/logrus.(*Entry).Fatal(0xc820017d80, 0xc8200cb788, 0x1, 0x1)
/home/travis/gopath/src/github.com/Sirupsen/logrus/entry.go:130 +0x78 fp=0xc8200cb6d0 sp=0xc8200cb688
github.com/Sirupsen/logrus.(*Logger).Fatal(0xc820017c80, 0xc8200cb788, 0x1, 0x1)
/home/travis/gopath/src/github.com/Sirupsen/logrus/logger.go:124 +0xe0 fp=0xc8200cb718 sp=0xc8200cb6d0
main.runUpload(0xc8200c00b0)
/home/travis/gopath/src/github.com/travis-ci/artifacts/artifacts.go:68 +0x144 fp=0xc8200cb7b8 sp=0xc8200cb718
github.com/codegangsta/cli.Command.Run(0x451350, 0x6, 0x451268, 0x1, 0x49d150, 0x16, 0x5085e0, 0x1db, 0x0, 0x0, ...)
/home/travis/gopath/src/github.com/codegangsta/cli/command.go:101 +0xdbc fp=0xc8200cbbd0 sp=0xc8200cb7b8
github.com/codegangsta/cli.(*App).Run(0xc8200bc000, 0xc82000a4e0, 0x2, 0x2, 0x0, 0x0)
/home/travis/gopath/src/github.com/codegangsta/cli/app.go:125 +0xa9f fp=0xc8200cbf08 sp=0xc8200cbbd0
main.main()
/home/travis/gopath/src/github.com/travis-ci/artifacts/artifacts.go:22 +0x49 fp=0xc8200cbf40 sp=0xc8200cbf08
runtime.main()
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/runtime/proc.go:111 +0x2b0 fp=0xc8200cbf90 sp=0xc8200cbf40
runtime.goexit()
/home/travis/.gimme/versions/go1.5.1.linux.amd64/src/runtime/asm_amd64.s:1696 +0x1 fp=0xc8200cbf98 sp=0xc8200cbf90
K
The command "artifacts upload" exited with 2.
Done. Your build exited with 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment