AMD64
no language set
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.21s0.12s0.07s
worker_info
1Worker information
2hostname: ba848b41-ea98-4197-a13c-070ef8831ed4@1.worker-n2-com-696d86f5d9-8n8g2.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-2357b652-c987-4e13-8f86-a99d532c92f3 travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)
5startup: 6.250256731s
60.16s0.01s0.01s0.00s0.00s
system_info
7Build system information
8Build language: go
9Build dist: xenial
10Build id: 271632851
11Job id: 624534583
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: a002bad0
14Build image provisioning date and time
15Fri Jun 21 19:33:06 UTC 2024
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
2488b04db https://github.com/travis-ci/travis-cookbooks/tree/88b04db
25git version
26git version 2.43.0
27bash version
28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
31docker version
32Client: Docker Engine - Community
33 Version: 20.10.7
34 API version: 1.41
35 Go version: go1.13.15
36 Git commit: f0df350
37 Built: Wed Jun 2 11:56:47 2021
38 OS/Arch: linux/amd64
39 Context: default
40 Experimental: true
42Server: Docker Engine - Community
43 Engine:
44 Version: 20.10.7
45 API version: 1.41 (minimum version 1.12)
46 Go version: go1.13.15
47 Git commit: b0f5bc3
48 Built: Wed Jun 2 11:54:58 2021
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.4.6
53 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
54 runc:
55 Version: 1.0.0-rc95
56 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
57 docker-init:
58 Version: 0.19.0
59 GitCommit: de40ad0
60clang version
61clang version 7.0.0 (tags/RELEASE_700/final)
62jq version
63jq-1.7.1
64bats version
65Bats 1.11.0
66shellcheck version
670.10.0
68shfmt version
69v3.8.0
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.11.5 linux-x64 node-v16.20.2
76imagemagick version
77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
78md5deep version
794.4
80mercurial version
81version 5.9.3
82mysql version
83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper
84openssl version
85OpenSSL 1.0.2g 1 Mar 2016
86packer version
871.7.5
88postgresql client version
89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)
90ragel version
91Ragel State Machine Compiler version 6.8 Feb 2013
92sudo version
931.8.16
94gzip version
95gzip 1.6
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)
100iptables version
101iptables v1.6.0
102curl version
103curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
104wget version
105GNU Wget 1.17.1 built on linux-gnu.
106rsync version
107rsync version 3.1.1 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.39.7
112perlbrew version
113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
114phpenv version
115rbenv 1.2.0
116rvm version
117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
118default ruby version
119ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
120default python version
121Python 3.7.17
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.29
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 7.0.11
138Pre-installed Go versions
1391.18.4
140ant version
141Apache Ant(TM) version 1.9.6 compiled on July 20 2018
142mvn version
143Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
144gradle version
145Gradle 8.3!
146lein version
147Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM
148Pre-installed Node.js versions
149v10.24.1
150v12.22.12
151v14.21.3
152v16.15
153v16.16.0
154v16.20.2
155v18.20.3
156v20.15.0
157v4.9.1
158v6.17.1
159v8.17.0
160phpenv versions
161 system
162 7.4
163* 7.4.30 (set by /home/travis/.phpenv/version)
164 hhvm-stable
165 hhvm
166composer --version
167Composer version 2.3.7 2022-06-06 16:43:28
168Pre-installed Ruby versions
169ruby-2.7.6
170ruby-3.3.0
1720.01s0.01s32.96sTimeout waiting for network availability.
1730.18s0.06s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.27sOK
1740.00s0.02s0.00s0.01s0.24s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.81s0.00s0.10s6.03s0.00s3.52s0.00s2.27s
docker_mtu_and_registry_mirrors
resolvconf
apt
1759.19s$ travis_apt_get_update
176Installing APT Packages
1770.57s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install rabbitmq-server
178Reading package lists...
179Building dependency tree...
180Reading state information...
181rabbitmq-server is already the newest version (3.5.7-1ubuntu0.16.04.4).
1820 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
services
1840.01s$ sudo systemctl start rabbitmq-server
1850.01s$ sudo systemctl start docker
1863.07s$ sudo systemctl start redis-server
git.checkout
1880.01s0.58s$ git clone --depth=10 https://github.com/travis-ci/worker.git travis-ci/worker
189Cloning into 'travis-ci/worker'...
190$ cd travis-ci/worker
1910.37s$ git fetch origin +refs/pull/674/merge: --depth=10
192From https://github.com/travis-ci/worker
193 * branch refs/pull/674/merge -> FETCH_HEAD
194$ git checkout -qf FETCH_HEAD
196$ travis_export_go 1.18.x github.com/travis-ci/worker
1970.02s
198Setting environment variables from repository settings
199$ export ARTIFACTS_PATHS=./build
200$ export ARTIFACTS_BUCKET=travis-worker-artifacts
201$ export ARTIFACTS_PERMISSIONS=public-read
202$ export ARTIFACTS_KEY=[secure]
203$ export ARTIFACTS_SECRET=[secure]
204$ export PACKAGECLOUD_TOKEN=[secure]
205$ export DOCKER_HUB_TRIGGER_URL=[secure]
206$ export DOCKER_LOGIN_USERNAME=[secure]
207$ export DOCKER_LOGIN_PASSWORD=[secure]
208$ export VAULT_PASS=[secure]
209$ export GCE_PROJECT=[secure]
210$ export VAULT_USERNAME=[secure]
211$ export VAULT_ADDR=[secure]
212$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
214Setting environment variables from .travis.yml
215$ export AMQP_URI="amqp://"
216$ export GOPATH="$HOME/gopath"
217$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
218$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
219$ export GO15VENDOREXPERIMENT='1'
220$ export REDIS_URL="redis://"
2224.48s$ travis_setup_go
223go version go1.18.10 linux/amd64
224$ export GOPATH="/home/travis/gopath"
225$ export PATH="/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.18.10.linux.amd64/bin:bin:/home/travis/gopath/bin:/home/travis/bin:/home/travis/bin:/home/travis/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/perl5/perlbrew/perls/5.34.1/bin:/home/travis/.nvm/versions/node/v16.16.0/bin:/home/travis/.rvm/gems/ruby-3.3.0/bin:/home/travis/.rvm/gems/ruby-3.3.0@global/bin:/home/travis/.rvm/rubies/ruby-3.3.0/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.18.4.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.26.3/bin:/usr/local/clang-7.0.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"
226$ export GO111MODULE="auto"
cache.1
227Setting up build cache
228$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2290.27s$ Installing caching utilities
2300.00s6.10sattempting to download cache archive
231fetching PR.674/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
232fetching PR.674/cache-linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
233fetching PR.674/cache--go-1.18.x.tgz
234fetching master/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
235found cache
2360.00s30.91sadding /home/travis/gopath/src/github.com/travis-ci/worker/vendor to cache
237creating directory /home/travis/gopath/src/github.com/travis-ci/worker/vendor
238adding /home/travis/.cache/go-build to cache
239adding /home/travis/gopath/bin to cache
240adding /home/travis/gopath/pkg/mod to cache
241creating directory /home/travis/gopath/pkg/mod
243$ gimme version
244v1.5.4
245$ go version
246go version go1.18.10 linux/amd64
go.env
247$ go env
248GO111MODULE="auto"
249GOARCH="amd64"
250GOBIN=""
251GOCACHE="/home/travis/.cache/go-build"
252GOENV="/home/travis/.config/go/env"
253GOEXE=""
254GOEXPERIMENT=""
255GOFLAGS=""
256GOHOSTARCH="amd64"
257GOHOSTOS="linux"
258GOINSECURE=""
259GOMODCACHE="/home/travis/gopath/pkg/mod"
260GONOPROXY=""
261GONOSUMDB=""
262GOOS="linux"
263GOPATH="/home/travis/gopath"
264GOPRIVATE=""
265GOPROXY="https://proxy.golang.org,direct"
266GOROOT="/home/travis/.gimme/versions/go1.18.10.linux.amd64"
267GOSUMDB="sum.golang.org"
268GOTMPDIR=""
269GOTOOLDIR="/home/travis/.gimme/versions/go1.18.10.linux.amd64/pkg/tool/linux_amd64"
270GOVCS=""
271GOVERSION="go1.18.10"
272GCCGO="gccgo"
273GOAMD64="v1"
274AR="ar"
275CC="gcc"
276CXX="g++"
277CGO_ENABLED="1"
278GOMOD="/home/travis/gopath/src/github.com/travis-ci/worker/go.mod"
279GOWORK=""
280CGO_CFLAGS="-g -O2"
281CGO_CPPFLAGS=""
282CGO_CXXFLAGS="-g -O2"
283CGO_FFLAGS="-g -O2"
284CGO_LDFLAGS="-g -O2"
285PKG_CONFIG="pkg-config"
286GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1600078593=/tmp/go-build -gno-record-gcc-switches"
install
2870.00s$ travis_install_go_dependencies 1.18.x -v
288Makefile detected
2893.73s$ make deps
290if ! shfmt -version 2>/dev/null; then \
291 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \
292 chmod +x /home/travis/gopath/bin/shfmt; \
293 shfmt -version; \
294fi
295v3.8.0
296curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin
297golangci/golangci-lint info checking GitHub for latest tag
298golangci/golangci-lint info found version: 1.59.1 for v1.59.1/linux/amd64
299golangci/golangci-lint info installed /home/travis/bin/golangci-lint
300if ! command -v /bin/golangci-lint &>/dev/null; then \
301 /home/travis/bin/golangci-lint --version; \
302fi
303golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
304GO111MODULE=on go mod download
305GO111MODULE=on go mod vendor
306touch .deps-fetched
307The command "make deps" exited with 0.
30867.66s$ GO111MODULE=on make build
309go install -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-8-g9738834' -X 'github.com/travis-ci/worker.RevisionString=9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-29T07:42:12+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" github.com/travis-ci/worker github.com/travis-ci/worker/remote github.com/travis-ci/worker/image github.com/travis-ci/worker/ssh github.com/travis-ci/worker/metrics github.com/travis-ci/worker/config github.com/travis-ci/worker/context github.com/travis-ci/worker/winrm github.com/travis-ci/worker/errors github.com/travis-ci/worker/ratelimit github.com/travis-ci/worker/backend github.com/travis-ci/worker/cmd/...
310# github.com/travis-ci/worker/cmd/travis-worker
311/tmp/go-link-1357408696/000003.o: In function `mygetgrouplist':
312/_/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
313/tmp/go-link-1357408696/000002.o: In function `mygetgrgid_r':
314/_/os/user/cgo_lookup_unix.go:37: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
315/tmp/go-link-1357408696/000002.o: In function `mygetgrnam_r':
316/_/os/user/cgo_lookup_unix.go:42: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
317/tmp/go-link-1357408696/000002.o: In function `mygetpwnam_r':
318/_/os/user/cgo_lookup_unix.go:32: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
319/tmp/go-link-1357408696/000002.o: In function `mygetpwuid_r':
320/_/os/user/cgo_lookup_unix.go:27: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
321The command "GO111MODULE=on make build" exited with 0.
3220.00s$ mkdir -p build/linux/amd64
323The command "mkdir -p build/linux/amd64" exited with 0.
3240.04s$ cp ${GOPATH%%:*}/bin/travis-worker build/linux/amd64
325The command "cp ${GOPATH%%:*}/bin/travis-worker build/linux/amd64" exited with 0.
32698.87s$ make test-no-cover
327go test -race -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-8-g9738834' -X 'github.com/travis-ci/worker.RevisionString=9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-29T07:43:20+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" github.com/travis-ci/worker github.com/travis-ci/worker/remote github.com/travis-ci/worker/image github.com/travis-ci/worker/ssh github.com/travis-ci/worker/metrics github.com/travis-ci/worker/config github.com/travis-ci/worker/context github.com/travis-ci/worker/winrm github.com/travis-ci/worker/errors github.com/travis-ci/worker/ratelimit github.com/travis-ci/worker/backend github.com/travis-ci/worker/cmd/...
328# github.com/travis-ci/worker.test
329/tmp/go-link-1280828956/000003.o: In function `mygetgrouplist':
330/_/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
331/tmp/go-link-1280828956/000002.o: In function `mygetgrgid_r':
332/_/os/user/cgo_lookup_unix.go:37: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
333/tmp/go-link-1280828956/000002.o: In function `mygetgrnam_r':
334/_/os/user/cgo_lookup_unix.go:42: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
335/tmp/go-link-1280828956/000002.o: In function `mygetpwnam_r':
336/_/os/user/cgo_lookup_unix.go:32: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
337/tmp/go-link-1280828956/000002.o: In function `mygetpwuid_r':
338/_/os/user/cgo_lookup_unix.go:27: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
339# github.com/travis-ci/worker/image [github.com/travis-ci/worker/image.test]
340image/api_selector_test.go:91:87: too few values in struct literal
341image/api_selector_test.go:92:87: too few values in struct literal
342image/api_selector_test.go:93:74: too few values in struct literal
343image/api_selector_test.go:94:64: too few values in struct literal
344image/api_selector_test.go:97:103: too few values in struct literal
345image/api_selector_test.go:98:91: too few values in struct literal
346image/api_selector_test.go:99:85: too few values in struct literal
347image/api_selector_test.go:100:72: too few values in struct literal
348image/api_selector_test.go:101:70: too few values in struct literal
349image/api_selector_test.go:102:64: too few values in struct literal
350image/api_selector_test.go:102:64: too many errors
351note: module requires Go 1.19
352# github.com/docker/docker/pkg/ioutils
353vendor/github.com/docker/docker/pkg/ioutils/readers.go:23:16: undefined: atomic.Bool
354vendor/github.com/docker/docker/pkg/ioutils/readers.go:99:16: undefined: atomic.Bool
355vendor/github.com/docker/docker/pkg/ioutils/writers.go:35:16: undefined: atomic.Bool
356# github.com/travis-ci/worker/cmd/travis-worker.test
357/tmp/go-link-2507632776/000003.o: In function `mygetgrouplist':
358/_/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
359/tmp/go-link-2507632776/000002.o: In function `mygetgrgid_r':
360/_/os/user/cgo_lookup_unix.go:37: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
361/tmp/go-link-2507632776/000002.o: In function `mygetgrnam_r':
362/_/os/user/cgo_lookup_unix.go:42: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
363/tmp/go-link-2507632776/000002.o: In function `mygetpwnam_r':
364/_/os/user/cgo_lookup_unix.go:32: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
365/tmp/go-link-2507632776/000002.o: In function `mygetpwuid_r':
366/_/os/user/cgo_lookup_unix.go:27: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
367ok github.com/travis-ci/worker 4.999s
368? github.com/travis-ci/worker/remote [no test files]
369FAIL github.com/travis-ci/worker/image [build failed]
370? github.com/travis-ci/worker/ssh [no test files]
371? github.com/travis-ci/worker/metrics [no test files]
372ok github.com/travis-ci/worker/config 0.032s
373? github.com/travis-ci/worker/context [no test files]
374? github.com/travis-ci/worker/winrm [no test files]
375? github.com/travis-ci/worker/errors [no test files]
376ok github.com/travis-ci/worker/ratelimit 0.072s
377FAIL github.com/travis-ci/worker/backend [build failed]
378ok github.com/travis-ci/worker/cmd/travis-worker 0.144s
379FAIL
380Makefile:66: recipe for target 'test-no-cover' failed
381make: *** [test-no-cover] Error 2
382The command "make test-no-cover" exited with 2.
38325.28s$ make test-cover
384go test -covermode=count -coverprofile=root-coverage.coverprofile \
385 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-8-g9738834' -X 'github.com/travis-ci/worker.RevisionString=9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-29T07:44:59+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
386 github.com/travis-ci/worker/
387# github.com/travis-ci/worker.test
388/tmp/go-link-2232843410/000003.o: In function `mygetgrouplist':
389/_/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
390/tmp/go-link-2232843410/000002.o: In function `mygetgrgid_r':
391/_/os/user/cgo_lookup_unix.go:37: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
392/tmp/go-link-2232843410/000002.o: In function `mygetgrnam_r':
393/_/os/user/cgo_lookup_unix.go:42: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
394/tmp/go-link-2232843410/000002.o: In function `mygetpwnam_r':
395/_/os/user/cgo_lookup_unix.go:32: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
396/tmp/go-link-2232843410/000002.o: In function `mygetpwuid_r':
397/_/os/user/cgo_lookup_unix.go:27: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
398ok github.com/travis-ci/worker 4.804s coverage: 29.3% of statements
399go test -covermode=count -coverprofile=backend-coverage.coverprofile \
400 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-8-g9738834' -X 'github.com/travis-ci/worker.RevisionString=9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/9738834464daae5de694f80d41be24a0c535b5fd' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-29T07:45:23+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
401 github.com/travis-ci/worker/backend
402# github.com/docker/docker/pkg/ioutils
403vendor/github.com/docker/docker/pkg/ioutils/readers.go:23:16: undefined: atomic.Bool
404vendor/github.com/docker/docker/pkg/ioutils/readers.go:99:16: undefined: atomic.Bool
405vendor/github.com/docker/docker/pkg/ioutils/writers.go:35:16: undefined: atomic.Bool
406FAIL github.com/travis-ci/worker/backend [build failed]
407FAIL
408Makefile:47: recipe for target 'backend-coverage.coverprofile' failed
409make: *** [backend-coverage.coverprofile] Error 2
410The command "make test-cover" exited with 2.
4110.55s$ make smoke
412./script/smoke
413Updated 0 paths from d3815dc
414travis-worker v=v6.2.24-8-g9738834 rev=9738834464daae5de694f80d41be24a0c535b5fd d=2024-07-29T07:42:12+0000 go=go1.18.10
415travis-worker v=v6.2.24-8-g9738834 rev=9738834464daae5de694f80d41be24a0c535b5fd d=2024-07-29T07:42:12+0000 go=go1.18.10
416NAME:
417 travis-worker - Travis Worker
419USAGE:
420 travis-worker [global options] command [command options] [arguments...]
422VERSION:
423 v6.2.24-8-g9738834
425AUTHOR:
426 Travis CI GmbH <contact+travis-worker@travis-ci.com>
428COMMANDS:
429 help, h Shows a list of commands or help for one command
431GLOBAL OPTIONS:
432 --provider-name value The name of the provider to use. See below for provider-specific configuration (default: "docker") [$TRAVIS_WORKER_PROVIDER_NAME, $PROVIDER_NAME]
433 --queue-type value The name of the queue type to use ("amqp", "http", or "file") (default: "amqp") [$TRAVIS_WORKER_QUEUE_TYPE, $QUEUE_TYPE]
434 --amqp-heartbeat value The heartbeat timeout value defines after what time the peer TCP connection should be considered unreachable (default: 10s) [$TRAVIS_WORKER_AMQP_HEARTBEAT, $AMQP_HEARTBEAT]
435 --amqp-consumer-priority value The consumer priority to set when consuming jobs (default: 0) [$TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY, $AMQP_CONSUMER_PRIORITY]
436 --amqp-uri value The URI to the AMQP server to connect to (only valid for "amqp" queue type) (default: "amqp://") [$TRAVIS_WORKER_AMQP_URI, $AMQP_URI]
437 --logs-amqp-uri value The URI to the Logs AMQP server to connect to (only valid for "amqp" queue type) [$TRAVIS_WORKER_LOGS_AMQP_URI, $LOGS_AMQP_URI]
438 --amqp-insecure Whether to connect to the AMQP server without verifying TLS certificates (only valid for "amqp" queue type) [$TRAVIS_WORKER_AMQP_INSECURE, $AMQP_INSECURE]
439 --amqp-tls-cert value The TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT, $AMQP_TLS_CERT]
440 --amqp-tls-cert-path value Path to the TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT_PATH, $AMQP_TLS_CERT_PATH]
441 --logs-amqp-tls-cert value The TLS certificate used to connet to the logs AMQP server [$TRAVIS_WORKER_LOGS_AMQP_TLS_CERT, $LOGS_AMQP_TLS_CERT]
442 --logs-amqp-tls-cert-path value Path to the TLS certificate used to connet to the logs AMQP server [$TRAVIS_WORKER_LOGS_AMQP_TLS_CERT_PATH, $LOGS_AMQP_TLS_CERT_PATH]
443 --base-dir value The base directory for file-based queues (only valid for "file" queue type) (default: ".") [$TRAVIS_WORKER_BASE_DIR, $BASE_DIR]
444 --file-polling-interval value The interval at which file-based queues are checked (only valid for "file" queue type) (default: 5s) [$TRAVIS_WORKER_FILE_POLLING_INTERVAL, $FILE_POLLING_INTERVAL]
445 --pool-size value The size of the processor pool, affecting the number of jobs this worker can run in parallel (default: 1) [$TRAVIS_WORKER_POOL_SIZE, $POOL_SIZE]
446 --build-api-uri value The full URL to the build API endpoint to use. Note that this also requires the path of the URL. If a username is included in the URL, this will be translated to a token passed in the Authorization header [$TRAVIS_WORKER_BUILD_API_URI, $BUILD_API_URI]
447 --queue-name value The AMQP queue to subscribe to for jobs [$TRAVIS_WORKER_QUEUE_NAME, $QUEUE_NAME]
448 --http-polling-interval value Sleep interval between new job requests (only valid for "http" queue type) (default: 3s) [$TRAVIS_WORKER_HTTP_POLLING_INTERVAL, $HTTP_POLLING_INTERVAL]
449 --http-refresh-claim-interval value Sleep interval between job claim refresh requests (only valid for "http" queue type) (default: 5s) [$TRAVIS_WORKER_HTTP_REFRESH_CLAIM_INTERVAL, $HTTP_REFRESH_CLAIM_INTERVAL]
450 --librato-email value Librato metrics account email [$TRAVIS_WORKER_LIBRATO_EMAIL, $LIBRATO_EMAIL]
451 --librato-token value Librato metrics account token [$TRAVIS_WORKER_LIBRATO_TOKEN, $LIBRATO_TOKEN]
452 --librato-source value Librato metrics source name (default: "travis-job-2357b652-c987-4e13-8f86-a99d532c92f3") [$TRAVIS_WORKER_LIBRATO_SOURCE, $LIBRATO_SOURCE]
453 --sentry-dsn value The DSN to send Sentry events to [$TRAVIS_WORKER_SENTRY_DSN, $SENTRY_DSN]
454 --sentry-hook-errors Add logrus.ErrorLevel to logrus sentry hook [$TRAVIS_WORKER_SENTRY_HOOK_ERRORS, $SENTRY_HOOK_ERRORS]
455 --hostname value Host name used in log output to identify the source of a job (default: "travis-job-2357b652-c987-4e13-8f86-a99d532c92f3") [$TRAVIS_WORKER_HOSTNAME, $HOSTNAME]
456 --default-language value Default "language" value for each job (default: "default") [$TRAVIS_WORKER_DEFAULT_LANGUAGE, $DEFAULT_LANGUAGE]
457 --default-dist value Default "dist" value for each job (default: "xenial") [$TRAVIS_WORKER_DEFAULT_DIST, $DEFAULT_DIST]
458 --default-arch value Default "arch" value for each job (default: "amd64") [$TRAVIS_WORKER_DEFAULT_ARCH, $DEFAULT_ARCH]
459 --default-group value Default "group" value for each job (default: "stable") [$TRAVIS_WORKER_DEFAULT_GROUP, $DEFAULT_GROUP]
460 --default-os value Default "os" value for each job (default: "linux") [$TRAVIS_WORKER_DEFAULT_OS, $DEFAULT_OS]
461 --hard-timeout value The outermost (maximum) timeout for a given job, at which time the job is cancelled (default: 50m0s) [$TRAVIS_WORKER_HARD_TIMEOUT, $HARD_TIMEOUT]
462 --initial-sleep value The time to sleep prior to opening log and starting job (default: 1s) [$TRAVIS_WORKER_INITIAL_SLEEP, $INITIAL_SLEEP]
463 --log-timeout value The timeout for a job that's not outputting anything (default: 10m0s) [$TRAVIS_WORKER_LOG_TIMEOUT, $LOG_TIMEOUT]
464 --script-upload-timeout value The timeout for the script upload step (default: 3m30s) [$TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT, $SCRIPT_UPLOAD_TIMEOUT]
465 --startup-timeout value The timeout for execution environment to be ready (default: 4m0s) [$TRAVIS_WORKER_STARTUP_TIMEOUT, $STARTUP_TIMEOUT]
466 --max-log-length value The maximum length of a log in bytes (default: 4500000) [$TRAVIS_WORKER_MAX_LOG_LENGTH, $MAX_LOG_LENGTH]
467 --job-board-url value The base URL for job-board used with http queue [$TRAVIS_WORKER_JOB_BOARD_URL, $JOB_BOARD_URL]
468 --travis-site value Either 'org' or 'com', used for job-board [$TRAVIS_WORKER_TRAVIS_SITE, $TRAVIS_SITE]
469 --state-update-pool-size value The pool size for state update workers (default: 3) [$TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE, $STATE_UPDATE_POOL_SIZE]
470 --log-pool-size value The pool size for log workers (default: 3) [$TRAVIS_WORKER_LOG_POOL_SIZE, $LOG_POOL_SIZE]
471 --rabbitmq-sharding Enable sharding for the logs AMQP queue [$TRAVIS_WORKER_RABBITMQ_SHARDING, $RABBITMQ_SHARDING]
472 --build-cache-fetch-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT, $BUILD_CACHE_FETCH_TIMEOUT]
473 --build-cache-push-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT, $BUILD_CACHE_PUSH_TIMEOUT]
474 --build-apt-cache value [$TRAVIS_WORKER_BUILD_APT_CACHE, $BUILD_APT_CACHE]
475 --build-npm-cache value [$TRAVIS_WORKER_BUILD_NPM_CACHE, $BUILD_NPM_CACHE]
476 --build-paranoid [$TRAVIS_WORKER_BUILD_PARANOID, $BUILD_PARANOID]
477 --build-fix-resolv-conf [$TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF, $BUILD_FIX_RESOLV_CONF]
478 --build-fix-etc-hosts [$TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS, $BUILD_FIX_ETC_HOSTS]
479 --build-cache-type value [$TRAVIS_WORKER_BUILD_CACHE_TYPE, $BUILD_CACHE_TYPE]
480 --build-cache-s3-scheme value [$TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME, $BUILD_CACHE_S3_SCHEME]
481 --build-cache-s3-region value [$TRAVIS_WORKER_BUILD_CACHE_S3_REGION, $BUILD_CACHE_S3_REGION]
482 --build-cache-s3-bucket value [$TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET, $BUILD_CACHE_S3_BUCKET]
483 --build-cache-s3-access-key-id value [$TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID, $BUILD_CACHE_S3_ACCESS_KEY_ID]
484 --build-cache-s3-secret-access-key value [$TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY, $BUILD_CACHE_S3_SECRET_ACCESS_KEY]
485 --build-trace-enabled Enable downloading build traces [$TRAVIS_WORKER_BUILD_TRACE_ENABLED, $BUILD_TRACE_ENABLED]
486 --build-trace-s3-bucket value [$TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET, $BUILD_TRACE_S3_BUCKET]
487 --build-trace-s3-key-prefix value [$TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX, $BUILD_TRACE_S3_KEY_PREFIX]
488 --build-trace-s3-region value [$TRAVIS_WORKER_BUILD_TRACE_S3_REGION, $BUILD_TRACE_S3_REGION]
489 --payload-filter-executable value External executable which will be called to filter the json to be sent to the build script generator [$TRAVIS_WORKER_PAYLOAD_FILTER_EXECUTABLE, $PAYLOAD_FILTER_EXECUTABLE]
490 --skip-shutdown-on-log-timeout Special-case mode to aid with debugging timed out jobs [$TRAVIS_WORKER_SKIP_SHUTDOWN_ON_LOG_TIMEOUT, $SKIP_SHUTDOWN_ON_LOG_TIMEOUT]
491 --build-api-insecure-skip-verify Skip build API TLS verification (useful for Enterprise and testing) [$TRAVIS_WORKER_BUILD_API_INSECURE_SKIP_VERIFY, $BUILD_API_INSECURE_SKIP_VERIFY]
492 --progress-type value Report progress for supported backends (valid values "text" or unset) [$TRAVIS_WORKER_PROGRESS_TYPE, $PROGRESS_TYPE]
493 --remote-controller-addr value enable remote controller http api (and pprof) at address [$TRAVIS_WORKER_REMOTE_CONTROLLER_ADDR, $REMOTE_CONTROLLER_ADDR]
494 --remote-controller-auth value username:password for http api basic auth for remote controller [$TRAVIS_WORKER_REMOTE_CONTROLLER_AUTH, $REMOTE_CONTROLLER_AUTH]
495 --silence-metrics deprecated flag [$TRAVIS_WORKER_SILENCE_METRICS, $SILENCE_METRICS]
496 --log-metrics periodically print metrics to the stdout [$TRAVIS_WORKER_LOG_METRICS, $LOG_METRICS]
497 --echo-config echo parsed config and exit [$TRAVIS_WORKER_ECHO_CONFIG, $ECHO_CONFIG]
498 --list-backend-providers echo backend provider list and exit [$TRAVIS_WORKER_LIST_BACKEND_PROVIDERS, $LIST_BACKEND_PROVIDERS]
499 --update-images update images for LXD backend from job-board [$TRAVIS_WORKER_UPDATE_IMAGES, $UPDATE_IMAGES]
500 --debug set log level to debug [$TRAVIS_WORKER_DEBUG, $DEBUG]
501 --start-hook value executable to run just before starting [$TRAVIS_WORKER_START_HOOK, $START_HOOK]
502 --stop-hook value executable to run just before exiting [$TRAVIS_WORKER_STOP_HOOK, $STOP_HOOK]
503 --heartbeat-url value health check and/or supervisor check URL (expects response: {"state": "(up|down)"}) [$TRAVIS_WORKER_HEARTBEAT_URL, $HEARTBEAT_URL]
504 --heartbeat-url-auth-token value auth token for health check and/or supervisor check URL (may be "file://path/to/file") [$TRAVIS_WORKER_HEARTBEAT_URL_AUTH_TOKEN, $HEARTBEAT_URL_AUTH_TOKEN]
505 --infra value infra tag, e.g. gce or ec2 [$TRAVIS_WORKER_INFRA, $INFRA]
506 --stackdriver-trace-account-json value file path or JSON to stackdriver trace on Google Cloud [$TRAVIS_WORKER_STACKDRIVER_TRACE_ACCOUNT_JSON, $STACKDRIVER_TRACE_ACCOUNT_JSON]
507 --stackdriver-project-id value google cloud project ID where where traces are exported and viewed [$TRAVIS_WORKER_STACKDRIVER_PROJECT_ID, $STACKDRIVER_PROJECT_ID]
508 --opencensus-tracing-enabled enable tracing for worker with google stackdriver client [$TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED, $OPENCENSUS_TRACING_ENABLED]
509 --opencensus-sampling-rate value sample rate for trace as an inverse fraction - for sample rate n, every nth event will be sampled (default: 1) [$TRAVIS_WORKER_OPENCENSUS_SAMPLING_RATE, $OPENCENSUS_SAMPLING_RATE]
510 --help, -h show help
511 --version, -v print the version
513COPYRIGHT:
514 © 2018 Travis CI GmbH
516All provider options must be given as environment variables of the form:
518 $[TRAVIS_WORKER_]{UPCASE_PROVIDER_NAME}_{UPCASE_UNDERSCORED_KEY}
519 ^------------^
520 optional namespace
522e.g.:
524 TRAVIS_WORKER_DOCKER_HOST='tcp://127.0.0.1:4243'
525 TRAVIS_WORKER_DOCKER_PRIVILEGED='true'
528Docker provider help:
530 BINDS - Bind mount a volume (example: "/var/run/docker.sock:/var/run/docker.sock", default "")
531 CERT_PATH - directory where ca.pem, cert.pem, and key.pem are located (default "")
532 CMD - command (CMD) to run when creating containers (default "/sbin/init")
533 CONTAINER_LABELS - comma- or space-delimited key:value pairs of labels to apply to each container (default "")
534 CPUS - cpu count to allocate to each container (0 disables allocation, default 2)
535 CPU_SET_SIZE - size of available cpu set (default detected locally via runtime.NumCPU)
536 ENDPOINT / HOST - [REQUIRED] tcp or unix address for connecting to Docker
537 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
538 IMAGE_SELECTOR_TYPE - image selector type ("tag", "api", or "env", default "tag")
539 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
540 INSPECT_INTERVAL - time to wait between container inspections as duration (default "500ms")
541 MEMORY - memory to allocate to each container (0 disables allocation, default "4G")
542 NATIVE - upload and run build script via docker API instead of over ssh (default false)
543 PRIVILEGED - run containers in privileged mode (default false)
544 SECURITY_OPT - Security configuration (example: "seccomp=unconfined") to turn off seccomp confinement for the container
545 SHM - /dev/shm to allocate to each container (0 disables allocation, default "64MiB")
546 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
547 TMPFS_MAP - "+"-delimited key:value map of tmpfs mounts (example "/run:rw,exec+/run/lock:rw,exec", default map["/run":"rw,nosuid,nodev,exec,noatime,size=65536k"])
549EC2 provider help:
551 AWS_ACCESS_KEY_ID - AWS Access Key ID
552 AWS_SECRET_ACCESS_KEY - AWS Secret Access Key
553 CPU_CREDIT_SPECIFICATION - standard|unlimited (for faster boots)
554 CUSTOM_TAGS - Custom tags to set for the EC2 instance. Comma separated list with format key1=value1,key2=value2.....keyN=valueN
555 DISK_SIZE - Disk size in GB (default 100)
556 EBS_OPTIMIZED - Whether or not to use EBS-optimized instances (Default: false)
557 IAM_INSTANCE_PROFILE - This is not a good idea... for security, builds should provice API keys
558 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
559 IMAGE_DEFAULT - default image name to use when none found
560 IMAGE_MAP - Map of which image to use for which language
561 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
562 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
563 IMAGE_[ALIAS_]{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
564 INSTANCE_TYPE - Instance type to use for builds
565 KEY_NAME - Key name to use for the admin user, this is in case you need login access to instances. The travis user has a auto generated key.
566 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
567 PUBLIC_IP_CONNECT - connect to the public ip of the instance instead of the internal, only takes effect if PUBLIC_IP is true (default true)
568 REGION - Which region to run workers in
569 SECURITY_GROUPS - Security groups to assign
570 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
571 SUBNET_ID - Subnet ID to launch instances into
572 TAGS - Tags, how to deal with key value?
573 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
574 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
575 USER_DATA - User data, needs to be URL safe base64 encoded format (RFC 4648)
577Fake provider help:
579 ERROR - error out all jobs (useful for testing requeue storms)
580 LOG_OUTPUT - faked log output to write
581 RUN_SLEEP - faked runtime sleep duration
583Google Compute Engine provider help:
585 ACCOUNT_JSON - [REQUIRED] account JSON config
586 AUTO_IMPLODE - schedule a poweroff at HARD_TIMEOUT_MINUTES in the future (default true)
587 BACKOFF_RETRY_MAX - Maximum allowed duration of generic exponential backoff retries (default 1m)
588 BOOT_POLL_SLEEP - sleep interval between polling server for instance ready status (default 3s)
589 BOOT_PRE_POLL_SLEEP - time to sleep prior to polling server for instance ready status (default 15s)
590 DEFAULT_LANGUAGE - default language to use when looking up image (default "minimal")
591 DETERMINISTIC_HOSTNAME - assign deterministic hostname based on repo slug and job id (default false)
592 DISK_SIZE - disk size in GB (default 20)
593 DISK_SIZE_WINDOWS - disk size in GB for windows OS (defaults to DISK_SIZE value)
594 GPU_COUNT - number of GPUs to use (default 0)
595 GPU_TYPE - type of GPU to use (default "nvidia-tesla-p100")
596 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
597 IMAGE_DEFAULT - default image name to use when none found (default "travis-ci.+")
598 IMAGE_PROJECT_ID - GCE project id to use for images, will use PROJECT_ID if not specified
599 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
600 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
601 IMAGE_[ALIAS_]{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
602 MACHINE_TYPE - machine name (default "n1-standard-2")
603 NETWORK - network name (default "default")
604 PREEMPTIBLE - boot job instances with preemptible flag enabled (default false)
605 PREMIUM_MACHINE_TYPE - premium machine type (default "n1-standard-4")
606 PROJECT_ID - [REQUIRED] GCE project id
607 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
608 PUBLIC_IP_CONNECT - connect to the public ip of the instance instead of the internal, only takes effect if PUBLIC_IP is true (default true)
609 RATE_LIMIT_DURATION - interval in which to let max-calls through to the GCE API (default 1s)
610 RATE_LIMIT_DYNAMIC_CONFIG - get max-calls and duration dynamically through redis (default false)
611 RATE_LIMIT_DYNAMIC_CONFIG_TTL - time to cache dynamic config for (default 1m0s)
612 RATE_LIMIT_MAX_CALLS - number of calls per duration to let through to the GCE API (default 10)
613 RATE_LIMIT_PREFIX - prefix for the rate limit key in Redis
614 RATE_LIMIT_REDIS_URL - URL to Redis instance to use for rate limiting
615 REGION - only takes effect when SUBNETWORK is defined; region in which to deploy (default us-central1)
616 SKIP_STOP_POLL - immediately return after issuing first instance deletion request (default false)
617 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
618 STOP_POLL_SLEEP - sleep interval between polling server for instance stop status (default 3s)
619 STOP_PRE_POLL_SLEEP - time to sleep prior to polling server for instance stop status (default 15s)
620 SUBNETWORK - the subnetwork in which to launch build instances (gce internal default "default")
621 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
622 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
623 WARMER_SSH_PASSPHRASE - The passphrase used to decipher instace SSH keys
624 WARMER_TIMEOUT - timeout for requests to warmer service (default 5s)
625 WARMER_URL - URL for warmer service
626 ZONE - [DEPRECATED] Use ZONES instead. Zone name (default "us-central1-a")
627 ZONES - comma-delimited list of zone names (default "us-central1-a")
629Jupiter Brain provider help:
631 BOOT_POLL_DIAL_TIMEOUT - how long to wait for a TCP connection to be made when polling SSH port (default 3s)
632 BOOT_POLL_SLEEP - sleep interval between polling server for instance status (default 3s)
633 BOOT_POLL_WAIT_FOR_ERROR - time to wait for an error message after cancelling the boot polling (default 2s)
634 ENDPOINT - [REQUIRED] url to Jupiter Brain server, including auth
635 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
636 IMAGE_ALIAS_{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
637 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
638 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
639 KEYCHAIN_PASSWORD - [REQUIRED] password used ... somehow
640 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
641 SSH_KEY_PASSPHRASE - [REQUIRED] passphrase for SSH key given as SSH_KEY_PATH
642 SSH_KEY_PATH - [REQUIRED] path to SSH key used to access job VMs
644Local provider help:
646 SCRIPTS_DIR - directory where generated scripts will be written
648LXD provider help:
650 ARCH_OVERRIDE - override arch value from job config (default "")
651 CPUS - CPU count to allocate to each container (default "2")
652 CPUS_BURST - allow using all CPUs when not in use (default false)
653 DISK - disk size (default "10GB")
654 DOCKER_DISK - disk size to use for Docker (default "10GB")
655 DOCKER_POOL - storage pool to use for Docker (default "")
656 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
657 EXEC_UID - UID of travis user (default 1000)
658 IMAGE - image to use for the containers (default "ubuntu:18.04")
659 IMAGE_AUTO_DOWNLOAD - automatically try to download lxc image if it's missing (default false)
660 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
661 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
662 IMAGE_SERVER_URL - base URL for images auto download
663 MEMORY - memory to allocate to each container (default "4GB")
664 NETWORK - network bandwidth (default "500Mbit")
665 NETWORK_DNS - comma separated list of DNS servers (requires NETWORK_STATIC) (default "1.1.1.1,1.0.0.1")
666 NETWORK_IPV6_FILTERING - prevent the containers from spoofing another's IPv6 address (default true)
667 NETWORK_STATIC - whether to statically set network configuration (default false)
668 POOL - storage pool to use for the instances
669 PROCESS - maximum number of processes (default "5000")
670 SECURITY_PRIVILEGED - request a container to run without a UID mapping when set true (default false)
672OpenStack provider help:
674 AUTO_SSH_KEY_GEN - If SSH key generation is to be generated automatically (default false)
675 BOOT_POLL_DIAL_SLEEP - sleep interval between connection dials (default 10s)
676 BOOT_POLL_SLEEP - sleep interval between polling server for instance ACTIVE status (default 1m30s)
677 ENDPOINT - [REQUIRED] Keystone/Identity Service Endpoint
678 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
679 IMAGE_DEFAULT - default image name to use when none found (default "")
680 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
681 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
682 INSTANCE_KEYPAIR - Key Pair Name to be used for instance creation
683 INSTANCE_NAME - Name of the VM to be created (default travis- followed by timeStamp)
684 MACHINE_TYPE - machine type/flavor (default "m1.small")
685 NETWORK - Network to which instance is to be attached.
686 OS_DOMAIN - [REQUIRED] Openstack domain name only in case using v3 Identity service API
687 OS_PASSWORD - [REQUIRED] Openstack user password
688 OS_REGION - Openstack region (default RegionOne)
689 OS_USERNAME - [REQUIRED] Openstack user name
690 OS_ZONE - Openstack zone (default nova)
691 SECURITY_GROUP - Instance Security Group Name (default default)
692 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 20s)
693 SSH_KEY_PATH - path to SSH key used to access job VMs
694 SSH_PASSWORD - SSH password to login into the VM
695 SSH_POLL_TIMEOUT - Timeout after which VM is marked not sshable (default 20s)
696 SSH_USER - SSH username to login into the VM
697 TENANT_NAME - [REQUIRED] Openstack tenant name
699NAME:
700 travis-worker - Travis Worker
702USAGE:
703 travis-worker [global options] command [command options] [arguments...]
705VERSION:
706 v6.2.24-8-g9738834
708AUTHOR:
709 Travis CI GmbH <contact+travis-worker@travis-ci.com>
711COMMANDS:
712 help, h Shows a list of commands or help for one command
714GLOBAL OPTIONS:
715 --provider-name value The name of the provider to use. See below for provider-specific configuration (default: "docker") [$TRAVIS_WORKER_PROVIDER_NAME, $PROVIDER_NAME]
716 --queue-type value The name of the queue type to use ("amqp", "http", or "file") (default: "amqp") [$TRAVIS_WORKER_QUEUE_TYPE, $QUEUE_TYPE]
717 --amqp-heartbeat value The heartbeat timeout value defines after what time the peer TCP connection should be considered unreachable (default: 10s) [$TRAVIS_WORKER_AMQP_HEARTBEAT, $AMQP_HEARTBEAT]
718 --amqp-consumer-priority value The consumer priority to set when consuming jobs (default: 0) [$TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY, $AMQP_CONSUMER_PRIORITY]
719 --amqp-uri value The URI to the AMQP server to connect to (only valid for "amqp" queue type) (default: "amqp://") [$TRAVIS_WORKER_AMQP_URI, $AMQP_URI]
720 --logs-amqp-uri value The URI to the Logs AMQP server to connect to (only valid for "amqp" queue type) [$TRAVIS_WORKER_LOGS_AMQP_URI, $LOGS_AMQP_URI]
721 --amqp-insecure Whether to connect to the AMQP server without verifying TLS certificates (only valid for "amqp" queue type) [$TRAVIS_WORKER_AMQP_INSECURE, $AMQP_INSECURE]
722 --amqp-tls-cert value The TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT, $AMQP_TLS_CERT]
723 --amqp-tls-cert-path value Path to the TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT_PATH, $AMQP_TLS_CERT_PATH]
724 --logs-amqp-tls-cert value The TLS certificate used to connet to the logs AMQP server [$TRAVIS_WORKER_LOGS_AMQP_TLS_CERT, $LOGS_AMQP_TLS_CERT]
725 --logs-amqp-tls-cert-path value Path to the TLS certificate used to connet to the logs AMQP server [$TRAVIS_WORKER_LOGS_AMQP_TLS_CERT_PATH, $LOGS_AMQP_TLS_CERT_PATH]
726 --base-dir value The base directory for file-based queues (only valid for "file" queue type) (default: ".") [$TRAVIS_WORKER_BASE_DIR, $BASE_DIR]
727 --file-polling-interval value The interval at which file-based queues are checked (only valid for "file" queue type) (default: 5s) [$TRAVIS_WORKER_FILE_POLLING_INTERVAL, $FILE_POLLING_INTERVAL]
728 --pool-size value The size of the processor pool, affecting the number of jobs this worker can run in parallel (default: 1) [$TRAVIS_WORKER_POOL_SIZE, $POOL_SIZE]
729 --build-api-uri value The full URL to the build API endpoint to use. Note that this also requires the path of the URL. If a username is included in the URL, this will be translated to a token passed in the Authorization header [$TRAVIS_WORKER_BUILD_API_URI, $BUILD_API_URI]
730 --queue-name value The AMQP queue to subscribe to for jobs [$TRAVIS_WORKER_QUEUE_NAME, $QUEUE_NAME]
731 --http-polling-interval value Sleep interval between new job requests (only valid for "http" queue type) (default: 3s) [$TRAVIS_WORKER_HTTP_POLLING_INTERVAL, $HTTP_POLLING_INTERVAL]
732 --http-refresh-claim-interval value Sleep interval between job claim refresh requests (only valid for "http" queue type) (default: 5s) [$TRAVIS_WORKER_HTTP_REFRESH_CLAIM_INTERVAL, $HTTP_REFRESH_CLAIM_INTERVAL]
733 --librato-email value Librato metrics account email [$TRAVIS_WORKER_LIBRATO_EMAIL, $LIBRATO_EMAIL]
734 --librato-token value Librato metrics account token [$TRAVIS_WORKER_LIBRATO_TOKEN, $LIBRATO_TOKEN]
735 --librato-source value Librato metrics source name (default: "travis-job-2357b652-c987-4e13-8f86-a99d532c92f3") [$TRAVIS_WORKER_LIBRATO_SOURCE, $LIBRATO_SOURCE]
736 --sentry-dsn value The DSN to send Sentry events to [$TRAVIS_WORKER_SENTRY_DSN, $SENTRY_DSN]
737 --sentry-hook-errors Add logrus.ErrorLevel to logrus sentry hook [$TRAVIS_WORKER_SENTRY_HOOK_ERRORS, $SENTRY_HOOK_ERRORS]
738 --hostname value Host name used in log output to identify the source of a job (default: "travis-job-2357b652-c987-4e13-8f86-a99d532c92f3") [$TRAVIS_WORKER_HOSTNAME, $HOSTNAME]
739 --default-language value Default "language" value for each job (default: "default") [$TRAVIS_WORKER_DEFAULT_LANGUAGE, $DEFAULT_LANGUAGE]
740 --default-dist value Default "dist" value for each job (default: "xenial") [$TRAVIS_WORKER_DEFAULT_DIST, $DEFAULT_DIST]
741 --default-arch value Default "arch" value for each job (default: "amd64") [$TRAVIS_WORKER_DEFAULT_ARCH, $DEFAULT_ARCH]
742 --default-group value Default "group" value for each job (default: "stable") [$TRAVIS_WORKER_DEFAULT_GROUP, $DEFAULT_GROUP]
743 --default-os value Default "os" value for each job (default: "linux") [$TRAVIS_WORKER_DEFAULT_OS, $DEFAULT_OS]
744 --hard-timeout value The outermost (maximum) timeout for a given job, at which time the job is cancelled (default: 50m0s) [$TRAVIS_WORKER_HARD_TIMEOUT, $HARD_TIMEOUT]
745 --initial-sleep value The time to sleep prior to opening log and starting job (default: 1s) [$TRAVIS_WORKER_INITIAL_SLEEP, $INITIAL_SLEEP]
746 --log-timeout value The timeout for a job that's not outputting anything (default: 10m0s) [$TRAVIS_WORKER_LOG_TIMEOUT, $LOG_TIMEOUT]
747 --script-upload-timeout value The timeout for the script upload step (default: 3m30s) [$TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT, $SCRIPT_UPLOAD_TIMEOUT]
748 --startup-timeout value The timeout for execution environment to be ready (default: 4m0s) [$TRAVIS_WORKER_STARTUP_TIMEOUT, $STARTUP_TIMEOUT]
749 --max-log-length value The maximum length of a log in bytes (default: 4500000) [$TRAVIS_WORKER_MAX_LOG_LENGTH, $MAX_LOG_LENGTH]
750 --job-board-url value The base URL for job-board used with http queue [$TRAVIS_WORKER_JOB_BOARD_URL, $JOB_BOARD_URL]
751 --travis-site value Either 'org' or 'com', used for job-board [$TRAVIS_WORKER_TRAVIS_SITE, $TRAVIS_SITE]
752 --state-update-pool-size value The pool size for state update workers (default: 3) [$TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE, $STATE_UPDATE_POOL_SIZE]
753 --log-pool-size value The pool size for log workers (default: 3) [$TRAVIS_WORKER_LOG_POOL_SIZE, $LOG_POOL_SIZE]
754 --rabbitmq-sharding Enable sharding for the logs AMQP queue [$TRAVIS_WORKER_RABBITMQ_SHARDING, $RABBITMQ_SHARDING]
755 --build-cache-fetch-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT, $BUILD_CACHE_FETCH_TIMEOUT]
756 --build-cache-push-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT, $BUILD_CACHE_PUSH_TIMEOUT]
757 --build-apt-cache value [$TRAVIS_WORKER_BUILD_APT_CACHE, $BUILD_APT_CACHE]
758 --build-npm-cache value [$TRAVIS_WORKER_BUILD_NPM_CACHE, $BUILD_NPM_CACHE]
759 --build-paranoid [$TRAVIS_WORKER_BUILD_PARANOID, $BUILD_PARANOID]
760 --build-fix-resolv-conf [$TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF, $BUILD_FIX_RESOLV_CONF]
761 --build-fix-etc-hosts [$TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS, $BUILD_FIX_ETC_HOSTS]
762 --build-cache-type value [$TRAVIS_WORKER_BUILD_CACHE_TYPE, $BUILD_CACHE_TYPE]
763 --build-cache-s3-scheme value [$TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME, $BUILD_CACHE_S3_SCHEME]
764 --build-cache-s3-region value [$TRAVIS_WORKER_BUILD_CACHE_S3_REGION, $BUILD_CACHE_S3_REGION]
765 --build-cache-s3-bucket value [$TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET, $BUILD_CACHE_S3_BUCKET]
766 --build-cache-s3-access-key-id value [$TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID, $BUILD_CACHE_S3_ACCESS_KEY_ID]
767 --build-cache-s3-secret-access-key value [$TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY, $BUILD_CACHE_S3_SECRET_ACCESS_KEY]
768 --build-trace-enabled Enable downloading build traces [$TRAVIS_WORKER_BUILD_TRACE_ENABLED, $BUILD_TRACE_ENABLED]
769 --build-trace-s3-bucket value [$TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET, $BUILD_TRACE_S3_BUCKET]
770 --build-trace-s3-key-prefix value [$TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX, $BUILD_TRACE_S3_KEY_PREFIX]
771 --build-trace-s3-region value [$TRAVIS_WORKER_BUILD_TRACE_S3_REGION, $BUILD_TRACE_S3_REGION]
772 --payload-filter-executable value External executable which will be called to filter the json to be sent to the build script generator [$TRAVIS_WORKER_PAYLOAD_FILTER_EXECUTABLE, $PAYLOAD_FILTER_EXECUTABLE]
773 --skip-shutdown-on-log-timeout Special-case mode to aid with debugging timed out jobs [$TRAVIS_WORKER_SKIP_SHUTDOWN_ON_LOG_TIMEOUT, $SKIP_SHUTDOWN_ON_LOG_TIMEOUT]
774 --build-api-insecure-skip-verify Skip build API TLS verification (useful for Enterprise and testing) [$TRAVIS_WORKER_BUILD_API_INSECURE_SKIP_VERIFY, $BUILD_API_INSECURE_SKIP_VERIFY]
775 --progress-type value Report progress for supported backends (valid values "text" or unset) [$TRAVIS_WORKER_PROGRESS_TYPE, $PROGRESS_TYPE]
776 --remote-controller-addr value enable remote controller http api (and pprof) at address [$TRAVIS_WORKER_REMOTE_CONTROLLER_ADDR, $REMOTE_CONTROLLER_ADDR]
777 --remote-controller-auth value username:password for http api basic auth for remote controller [$TRAVIS_WORKER_REMOTE_CONTROLLER_AUTH, $REMOTE_CONTROLLER_AUTH]
778 --silence-metrics deprecated flag [$TRAVIS_WORKER_SILENCE_METRICS, $SILENCE_METRICS]
779 --log-metrics periodically print metrics to the stdout [$TRAVIS_WORKER_LOG_METRICS, $LOG_METRICS]
780 --echo-config echo parsed config and exit [$TRAVIS_WORKER_ECHO_CONFIG, $ECHO_CONFIG]
781 --list-backend-providers echo backend provider list and exit [$TRAVIS_WORKER_LIST_BACKEND_PROVIDERS, $LIST_BACKEND_PROVIDERS]
782 --update-images update images for LXD backend from job-board [$TRAVIS_WORKER_UPDATE_IMAGES, $UPDATE_IMAGES]
783 --debug set log level to debug [$TRAVIS_WORKER_DEBUG, $DEBUG]
784 --start-hook value executable to run just before starting [$TRAVIS_WORKER_START_HOOK, $START_HOOK]
785 --stop-hook value executable to run just before exiting [$TRAVIS_WORKER_STOP_HOOK, $STOP_HOOK]
786 --heartbeat-url value health check and/or supervisor check URL (expects response: {"state": "(up|down)"}) [$TRAVIS_WORKER_HEARTBEAT_URL, $HEARTBEAT_URL]
787 --heartbeat-url-auth-token value auth token for health check and/or supervisor check URL (may be "file://path/to/file") [$TRAVIS_WORKER_HEARTBEAT_URL_AUTH_TOKEN, $HEARTBEAT_URL_AUTH_TOKEN]
788 --infra value infra tag, e.g. gce or ec2 [$TRAVIS_WORKER_INFRA, $INFRA]
789 --stackdriver-trace-account-json value file path or JSON to stackdriver trace on Google Cloud [$TRAVIS_WORKER_STACKDRIVER_TRACE_ACCOUNT_JSON, $STACKDRIVER_TRACE_ACCOUNT_JSON]
790 --stackdriver-project-id value google cloud project ID where where traces are exported and viewed [$TRAVIS_WORKER_STACKDRIVER_PROJECT_ID, $STACKDRIVER_PROJECT_ID]
791 --opencensus-tracing-enabled enable tracing for worker with google stackdriver client [$TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED, $OPENCENSUS_TRACING_ENABLED]
792 --opencensus-sampling-rate value sample rate for trace as an inverse fraction - for sample rate n, every nth event will be sampled (default: 1) [$TRAVIS_WORKER_OPENCENSUS_SAMPLING_RATE, $OPENCENSUS_SAMPLING_RATE]
793 --help, -h show help
794 --version, -v print the version
796COPYRIGHT:
797 © 2018 Travis CI GmbH
799All provider options must be given as environment variables of the form:
801 $[TRAVIS_WORKER_]{UPCASE_PROVIDER_NAME}_{UPCASE_UNDERSCORED_KEY}
802 ^------------^
803 optional namespace
805e.g.:
807 TRAVIS_WORKER_DOCKER_HOST='tcp://127.0.0.1:4243'
808 TRAVIS_WORKER_DOCKER_PRIVILEGED='true'
811Docker provider help:
813 BINDS - Bind mount a volume (example: "/var/run/docker.sock:/var/run/docker.sock", default "")
814 CERT_PATH - directory where ca.pem, cert.pem, and key.pem are located (default "")
815 CMD - command (CMD) to run when creating containers (default "/sbin/init")
816 CONTAINER_LABELS - comma- or space-delimited key:value pairs of labels to apply to each container (default "")
817 CPUS - cpu count to allocate to each container (0 disables allocation, default 2)
818 CPU_SET_SIZE - size of available cpu set (default detected locally via runtime.NumCPU)
819 ENDPOINT / HOST - [REQUIRED] tcp or unix address for connecting to Docker
820 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
821 IMAGE_SELECTOR_TYPE - image selector type ("tag", "api", or "env", default "tag")
822 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
823 INSPECT_INTERVAL - time to wait between container inspections as duration (default "500ms")
824 MEMORY - memory to allocate to each container (0 disables allocation, default "4G")
825 NATIVE - upload and run build script via docker API instead of over ssh (default false)
826 PRIVILEGED - run containers in privileged mode (default false)
827 SECURITY_OPT - Security configuration (example: "seccomp=unconfined") to turn off seccomp confinement for the container
828 SHM - /dev/shm to allocate to each container (0 disables allocation, default "64MiB")
829 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
830 TMPFS_MAP - "+"-delimited key:value map of tmpfs mounts (example "/run:rw,exec+/run/lock:rw,exec", default map["/run":"rw,nosuid,nodev,exec,noatime,size=65536k"])
832EC2 provider help:
834 AWS_ACCESS_KEY_ID - AWS Access Key ID
835 AWS_SECRET_ACCESS_KEY - AWS Secret Access Key
836 CPU_CREDIT_SPECIFICATION - standard|unlimited (for faster boots)
837 CUSTOM_TAGS - Custom tags to set for the EC2 instance. Comma separated list with format key1=value1,key2=value2.....keyN=valueN
838 DISK_SIZE - Disk size in GB (default 100)
839 EBS_OPTIMIZED - Whether or not to use EBS-optimized instances (Default: false)
840 IAM_INSTANCE_PROFILE - This is not a good idea... for security, builds should provice API keys
841 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
842 IMAGE_DEFAULT - default image name to use when none found
843 IMAGE_MAP - Map of which image to use for which language
844 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
845 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
846 IMAGE_[ALIAS_]{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
847 INSTANCE_TYPE - Instance type to use for builds
848 KEY_NAME - Key name to use for the admin user, this is in case you need login access to instances. The travis user has a auto generated key.
849 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
850 PUBLIC_IP_CONNECT - connect to the public ip of the instance instead of the internal, only takes effect if PUBLIC_IP is true (default true)
851 REGION - Which region to run workers in
852 SECURITY_GROUPS - Security groups to assign
853 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
854 SUBNET_ID - Subnet ID to launch instances into
855 TAGS - Tags, how to deal with key value?
856 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
857 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
858 USER_DATA - User data, needs to be URL safe base64 encoded format (RFC 4648)
860Fake provider help:
862 ERROR - error out all jobs (useful for testing requeue storms)
863 LOG_OUTPUT - faked log output to write
864 RUN_SLEEP - faked runtime sleep duration
866Google Compute Engine provider help:
868 ACCOUNT_JSON - [REQUIRED] account JSON config
869 AUTO_IMPLODE - schedule a poweroff at HARD_TIMEOUT_MINUTES in the future (default true)
870 BACKOFF_RETRY_MAX - Maximum allowed duration of generic exponential backoff retries (default 1m)
871 BOOT_POLL_SLEEP - sleep interval between polling server for instance ready status (default 3s)
872 BOOT_PRE_POLL_SLEEP - time to sleep prior to polling server for instance ready status (default 15s)
873 DEFAULT_LANGUAGE - default language to use when looking up image (default "minimal")
874 DETERMINISTIC_HOSTNAME - assign deterministic hostname based on repo slug and job id (default false)
875 DISK_SIZE - disk size in GB (default 20)
876 DISK_SIZE_WINDOWS - disk size in GB for windows OS (defaults to DISK_SIZE value)
877 GPU_COUNT - number of GPUs to use (default 0)
878 GPU_TYPE - type of GPU to use (default "nvidia-tesla-p100")
879 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
880 IMAGE_DEFAULT - default image name to use when none found (default "travis-ci.+")
881 IMAGE_PROJECT_ID - GCE project id to use for images, will use PROJECT_ID if not specified
882 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
883 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
884 IMAGE_[ALIAS_]{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
885 MACHINE_TYPE - machine name (default "n1-standard-2")
886 NETWORK - network name (default "default")
887 PREEMPTIBLE - boot job instances with preemptible flag enabled (default false)
888 PREMIUM_MACHINE_TYPE - premium machine type (default "n1-standard-4")
889 PROJECT_ID - [REQUIRED] GCE project id
890 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
891 PUBLIC_IP_CONNECT - connect to the public ip of the instance instead of the internal, only takes effect if PUBLIC_IP is true (default true)
892 RATE_LIMIT_DURATION - interval in which to let max-calls through to the GCE API (default 1s)
893 RATE_LIMIT_DYNAMIC_CONFIG - get max-calls and duration dynamically through redis (default false)
894 RATE_LIMIT_DYNAMIC_CONFIG_TTL - time to cache dynamic config for (default 1m0s)
895 RATE_LIMIT_MAX_CALLS - number of calls per duration to let through to the GCE API (default 10)
896 RATE_LIMIT_PREFIX - prefix for the rate limit key in Redis
897 RATE_LIMIT_REDIS_URL - URL to Redis instance to use for rate limiting
898 REGION - only takes effect when SUBNETWORK is defined; region in which to deploy (default us-central1)
899 SKIP_STOP_POLL - immediately return after issuing first instance deletion request (default false)
900 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
901 STOP_POLL_SLEEP - sleep interval between polling server for instance stop status (default 3s)
902 STOP_PRE_POLL_SLEEP - time to sleep prior to polling server for instance stop status (default 15s)
903 SUBNETWORK - the subnetwork in which to launch build instances (gce internal default "default")
904 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
905 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
906 WARMER_SSH_PASSPHRASE - The passphrase used to decipher instace SSH keys
907 WARMER_TIMEOUT - timeout for requests to warmer service (default 5s)
908 WARMER_URL - URL for warmer service
909 ZONE - [DEPRECATED] Use ZONES instead. Zone name (default "us-central1-a")
910 ZONES - comma-delimited list of zone names (default "us-central1-a")
912Jupiter Brain provider help:
914 BOOT_POLL_DIAL_TIMEOUT - how long to wait for a TCP connection to be made when polling SSH port (default 3s)
915 BOOT_POLL_SLEEP - sleep interval between polling server for instance status (default 3s)
916 BOOT_POLL_WAIT_FOR_ERROR - time to wait for an error message after cancelling the boot polling (default 2s)
917 ENDPOINT - [REQUIRED] url to Jupiter Brain server, including auth
918 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
919 IMAGE_ALIAS_{ALIAS} - full name for a given alias given via IMAGE_ALIASES, where the alias form in the key is uppercased and normalized by replacing non-alphanumerics with _
920 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
921 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
922 KEYCHAIN_PASSWORD - [REQUIRED] password used ... somehow
923 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
924 SSH_KEY_PASSPHRASE - [REQUIRED] passphrase for SSH key given as SSH_KEY_PATH
925 SSH_KEY_PATH - [REQUIRED] path to SSH key used to access job VMs
927Local provider help:
929 SCRIPTS_DIR - directory where generated scripts will be written
931LXD provider help:
933 ARCH_OVERRIDE - override arch value from job config (default "")
934 CPUS - CPU count to allocate to each container (default "2")
935 CPUS_BURST - allow using all CPUs when not in use (default false)
936 DISK - disk size (default "10GB")
937 DOCKER_DISK - disk size to use for Docker (default "10GB")
938 DOCKER_POOL - storage pool to use for Docker (default "")
939 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
940 EXEC_UID - UID of travis user (default 1000)
941 IMAGE - image to use for the containers (default "ubuntu:18.04")
942 IMAGE_AUTO_DOWNLOAD - automatically try to download lxc image if it's missing (default false)
943 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
944 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
945 IMAGE_SERVER_URL - base URL for images auto download
946 MEMORY - memory to allocate to each container (default "4GB")
947 NETWORK - network bandwidth (default "500Mbit")
948 NETWORK_DNS - comma separated list of DNS servers (requires NETWORK_STATIC) (default "1.1.1.1,1.0.0.1")
949 NETWORK_IPV6_FILTERING - prevent the containers from spoofing another's IPv6 address (default true)
950 NETWORK_STATIC - whether to statically set network configuration (default false)
951 POOL - storage pool to use for the instances
952 PROCESS - maximum number of processes (default "5000")
953 SECURITY_PRIVILEGED - request a container to run without a UID mapping when set true (default false)
955OpenStack provider help:
957 AUTO_SSH_KEY_GEN - If SSH key generation is to be generated automatically (default false)
958 BOOT_POLL_DIAL_SLEEP - sleep interval between connection dials (default 10s)
959 BOOT_POLL_SLEEP - sleep interval between polling server for instance ACTIVE status (default 1m30s)
960 ENDPOINT - [REQUIRED] Keystone/Identity Service Endpoint
961 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
962 IMAGE_DEFAULT - default image name to use when none found (default "")
963 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
964 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
965 INSTANCE_KEYPAIR - Key Pair Name to be used for instance creation
966 INSTANCE_NAME - Name of the VM to be created (default travis- followed by timeStamp)
967 MACHINE_TYPE - machine type/flavor (default "m1.small")
968 NETWORK - Network to which instance is to be attached.
969 OS_DOMAIN - [REQUIRED] Openstack domain name only in case using v3 Identity service API
970 OS_PASSWORD - [REQUIRED] Openstack user password
971 OS_REGION - Openstack region (default RegionOne)
972 OS_USERNAME - [REQUIRED] Openstack user name
973 OS_ZONE - Openstack zone (default nova)
974 SECURITY_GROUP - Instance Security Group Name (default default)
975 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 20s)
976 SSH_KEY_PATH - path to SSH key used to access job VMs
977 SSH_PASSWORD - SSH password to login into the VM
978 SSH_POLL_TIMEOUT - Timeout after which VM is marked not sshable (default 20s)
979 SSH_USER - SSH username to login into the VM
980 TENANT_NAME - [REQUIRED] Openstack tenant name
982export TRAVIS_WORKER_FOO_N="11235"
983# travis-worker env config generated 2024-07-29 07:45:25.239842589 +0000 UTC
984export TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY="0"
985export TRAVIS_WORKER_AMQP_HEARTBEAT="10s"
986export TRAVIS_WORKER_AMQP_INSECURE="false"
987export TRAVIS_WORKER_AMQP_TLS_CERT=""
988export TRAVIS_WORKER_AMQP_TLS_CERT_PATH=""
989export TRAVIS_WORKER_AMQP_URI="amqp://"
990export TRAVIS_WORKER_BASE_DIR="."
991export TRAVIS_WORKER_BUILD_API_INSECURE_SKIP_VERIFY="false"
992export TRAVIS_WORKER_BUILD_API_URI=""
993export TRAVIS_WORKER_BUILD_APT_CACHE=""
994export TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT="5m0s"
995export TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT="5m0s"
996export TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID=""
997export TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET=""
998export TRAVIS_WORKER_BUILD_CACHE_S3_REGION=""
999export TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME=""
1000export TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY=""
1001export TRAVIS_WORKER_BUILD_CACHE_TYPE=""
1002export TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS="false"
1003export TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF="false"
1004export TRAVIS_WORKER_BUILD_NPM_CACHE=""
1005export TRAVIS_WORKER_BUILD_PARANOID="false"
1006export TRAVIS_WORKER_BUILD_TRACE_ENABLED="false"
1007export TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET=""
1008export TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX=""
1009export TRAVIS_WORKER_BUILD_TRACE_S3_REGION=""
1010export TRAVIS_WORKER_DEFAULT_ARCH="amd64"
1011export TRAVIS_WORKER_DEFAULT_DIST="xenial"
1012export TRAVIS_WORKER_DEFAULT_GROUP="stable"
1013export TRAVIS_WORKER_DEFAULT_LANGUAGE="default"
1014export TRAVIS_WORKER_DEFAULT_OS="linux"
1015export TRAVIS_WORKER_FILE_POLLING_INTERVAL="5s"
1016export TRAVIS_WORKER_HARD_TIMEOUT="50m0s"
1017export TRAVIS_WORKER_HOSTNAME="travis-job-2357b652-c987-4e13-8f86-a99d532c92f3"
1018export TRAVIS_WORKER_HTTP_POLLING_INTERVAL="3s"
1019export TRAVIS_WORKER_HTTP_REFRESH_CLAIM_INTERVAL="5s"
1020export TRAVIS_WORKER_INFRA=""
1021export TRAVIS_WORKER_INITIAL_SLEEP="1s"
1022export TRAVIS_WORKER_JOB_BOARD_URL=""
1023export TRAVIS_WORKER_LIBRATO_EMAIL=""
1024export TRAVIS_WORKER_LIBRATO_SOURCE="travis-job-2357b652-c987-4e13-8f86-a99d532c92f3"
1025export TRAVIS_WORKER_LIBRATO_TOKEN=""
1026export TRAVIS_WORKER_LOG_POOL_SIZE="3"
1027export TRAVIS_WORKER_LOG_TIMEOUT="10m0s"
1028export TRAVIS_WORKER_LOGS_AMQP_TLS_CERT=""
1029export TRAVIS_WORKER_LOGS_AMQP_TLS_CERT_PATH=""
1030export TRAVIS_WORKER_LOGS_AMQP_URI=""
1031export TRAVIS_WORKER_MAX_LOG_LENGTH="4500000"
1032export TRAVIS_WORKER_OPENCENSUS_SAMPLING_RATE="1"
1033export TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED="false"
1034export TRAVIS_WORKER_PAYLOAD_FILTER_EXECUTABLE=""
1035export TRAVIS_WORKER_POOL_SIZE="1"
1036export TRAVIS_WORKER_PROGRESS_TYPE=""
1037export TRAVIS_WORKER_PROVIDER_NAME="docker"
1038export TRAVIS_WORKER_QUEUE_NAME=""
1039export TRAVIS_WORKER_QUEUE_TYPE="amqp"
1040export TRAVIS_WORKER_RABBITMQ_SHARDING="false"
1041export TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT="3m30s"
1042export TRAVIS_WORKER_SENTRY_DSN=""
1043export TRAVIS_WORKER_SENTRY_HOOK_ERRORS="false"
1044export TRAVIS_WORKER_SKIP_SHUTDOWN_ON_LOG_TIMEOUT="false"
1045export TRAVIS_WORKER_STACKDRIVER_PROJECT_ID=""
1046export TRAVIS_WORKER_STACKDRIVER_TRACE_ACCOUNT_JSON=""
1047export TRAVIS_WORKER_STARTUP_TIMEOUT="4m0s"
1048export TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE="3"
1049export TRAVIS_WORKER_TRAVIS_SITE=""
1051# travis-worker provider config:
1052export TRAVIS_WORKER_DOCKER_DEST="[secure].io/[secure]/worker:v6.2.24-8-g9738834"
1053export TRAVIS_WORKER_DOCKER_HUB_TRIGGER_URL="[secure]"
1054export TRAVIS_WORKER_DOCKER_LOGIN_PASSWORD="[secure]"
1055export TRAVIS_WORKER_DOCKER_LOGIN_USERNAME="[secure]"
1056# end travis-worker env config
1057docker
1058ec2
1059fake
1060gce
1061jupiterbrain
1062local
1063lxd
1064openstack
1065The command "make smoke" exited with 0.
before_cache
10660.64s$ make clean
1067./script/clean
1068removed '/home/travis/gopath/bin/travis-worker'
1069removed './backend-coverage.coverprofile'
1070removed './root-coverage.coverprofile'
1071removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker.a'
1072removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/winrm.a'
1073removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/remote.a'
1074removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/metrics.a'
1075removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/backend.a'
1076removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/config.a'
1077removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/errors.a'
1078removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/context.a'
1079removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/image.a'
1080removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/ratelimit.a'
1081removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/ssh.a'
cache.2
1082store build cache
10830.00s76.67schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/go-build/00/0006b7168b4664011994df1b0f50e1acde0017e6f92fedea4224b0ca5981059f-a
1084/home/travis/.cache/go-build/00/0006dd760aa095772db14fa13654ce5f04a00690b1ae7ba8460708118b07342c-d
1085/home/travis/.cache/go-build/00/000c7465b7f851c23d0bdee2258656c5d8141d5ebc78af1283e03fe4dfe2f499-d
1086/home/travis/.cache/go-build/00/0012033541d74e1b40a030b03a8b4b0763b7127eaec15ac251e957c7fb043822-a
1087/home/travis/.cache/go-build/00/0026dfe515f8d7f51d51f8e589c1182853bd6a3455ed99e333d061b8df166d80-a
1088/home/travis/.cache/go-build/00/00335d3e681ce4b1c767515122a6b12c5bc41e9a3a22f0c60ee5ce171771e716-a
1089/home/travis/.cache/go-build/00/0039029287ec535e3c1d61abcf443367b296686f61bed7bfa752199eed17ea20-a
1090/home/travis/.cache/go-build/00/0042530893255de6f8b67528158c59b5f0209112a5a78ae6a076182d0228ee33-d
1091/home/travis/.cache/go-build/00/0045f6f1b866e80b205a103bbb9b0442ddd3ab5f934afac9d1a31b61562ec2f5-a
1092/home/travis/.cache/go-build/00/004bf29865dc742c7ef0b036793915a388e1521f270ff89e6ebc5d99cf62e1cb-a
1093/home/trav\n...
1094changes detected, packing new archive
1095uploading PR.674/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
1096cache uploaded
1099Artifacts support disabled for pull requests
1102Done. Your build exited with 1.
Top