linux
AMD64
Go: 1.18.x
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.23s0.11s0.06s
worker_info
1Worker information
2hostname: e3c17bc5-b083-4fca-b8a9-94257255836b@1.worker-n2-com-5bd78b4b68-6274z.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2 travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)
5startup: 6.128650247s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: go
9Build dist: xenial
10Build id: 271398916
11Job id: 623991841
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: a5a2839d
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.02s0.01s0.92s0.17s0.05s0.00s0.04s0.00s0.04s0.01s0.01s0.01s0.01s0.00s0.27sOK
1730.01s0.03s0.00s0.01s0.29s0.00s0.00s0.00s0.01s0.00s0.09s0.01s0.89s0.00s0.11s6.03s0.00s3.41s0.00s2.48s
docker_mtu_and_registry_mirrors
resolvconf
apt
1748.91s$ travis_apt_get_update
175Installing APT Packages
1760.52s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install rabbitmq-server
177Reading package lists...
178Building dependency tree...
179Reading state information...
180rabbitmq-server is already the newest version (3.5.7-1ubuntu0.16.04.4).
1810 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
services
1830.01s$ sudo systemctl start rabbitmq-server
1840.01s$ sudo systemctl start docker
1853.08s$ sudo systemctl start redis-server
git.checkout
1870.01s0.59s$ git clone --depth=10 https://github.com/travis-ci/worker.git travis-ci/worker
188Cloning into 'travis-ci/worker'...
189$ cd travis-ci/worker
1900.44s$ git fetch origin +refs/pull/673/merge: --depth=10
191From https://github.com/travis-ci/worker
192 * branch refs/pull/673/merge -> FETCH_HEAD
193$ git checkout -qf FETCH_HEAD
195$ travis_export_go 1.18.x github.com/travis-ci/worker
1960.04s
197Setting environment variables from repository settings
198$ export ARTIFACTS_PATHS=./build
199$ export ARTIFACTS_BUCKET=travis-worker-artifacts
200$ export ARTIFACTS_PERMISSIONS=public-read
201$ export ARTIFACTS_KEY=[secure]
202$ export ARTIFACTS_SECRET=[secure]
203$ export PACKAGECLOUD_TOKEN=[secure]
204$ export DOCKER_HUB_TRIGGER_URL=[secure]
205$ export DOCKER_LOGIN_USERNAME=[secure]
206$ export DOCKER_LOGIN_PASSWORD=[secure]
207$ export VAULT_PASS=[secure]
208$ export GCE_PROJECT=[secure]
209$ export VAULT_USERNAME=[secure]
210$ export VAULT_ADDR=[secure]
211$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
213Setting environment variables from .travis.yml
214$ export AMQP_URI="amqp://"
215$ export GOPATH="$HOME/gopath"
216$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
217$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
218$ export GO15VENDOREXPERIMENT='1'
219$ export REDIS_URL="redis://"
2214.58s$ travis_setup_go
222go version go1.18.10 linux/amd64
223$ export GOPATH="/home/travis/gopath"
224$ 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"
225$ export GO111MODULE="auto"
cache.1
226Setting up build cache
227$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2280.27s$ Installing caching utilities
2290.00s1.68sattempting to download cache archive
230fetching PR.673/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
231fetching PR.673/cache-linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
232fetching PR.673/cache--go-1.18.x.tgz
233fetching master/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
234fetching master/cache-linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
235fetching master/cache--go-1.18.x.tgz
236could not download cache
2370.00s1.20sadding /home/travis/gopath/src/github.com/travis-ci/worker/vendor to cache
238creating directory /home/travis/gopath/src/github.com/travis-ci/worker/vendor
239adding /home/travis/.cache/go-build to cache
240adding /home/travis/gopath/bin to cache
241adding /home/travis/gopath/pkg/mod to cache
242creating directory /home/travis/gopath/pkg/mod
244$ gimme version
245v1.5.4
246$ go version
247go version go1.18.10 linux/amd64
go.env
248$ go env
249GO111MODULE="auto"
250GOARCH="amd64"
251GOBIN=""
252GOCACHE="/home/travis/.cache/go-build"
253GOENV="/home/travis/.config/go/env"
254GOEXE=""
255GOEXPERIMENT=""
256GOFLAGS=""
257GOHOSTARCH="amd64"
258GOHOSTOS="linux"
259GOINSECURE=""
260GOMODCACHE="/home/travis/gopath/pkg/mod"
261GONOPROXY=""
262GONOSUMDB=""
263GOOS="linux"
264GOPATH="/home/travis/gopath"
265GOPRIVATE=""
266GOPROXY="https://proxy.golang.org,direct"
267GOROOT="/home/travis/.gimme/versions/go1.18.10.linux.amd64"
268GOSUMDB="sum.golang.org"
269GOTMPDIR=""
270GOTOOLDIR="/home/travis/.gimme/versions/go1.18.10.linux.amd64/pkg/tool/linux_amd64"
271GOVCS=""
272GOVERSION="go1.18.10"
273GCCGO="gccgo"
274GOAMD64="v1"
275AR="ar"
276CC="gcc"
277CXX="g++"
278CGO_ENABLED="1"
279GOMOD="/home/travis/gopath/src/github.com/travis-ci/worker/go.mod"
280GOWORK=""
281CGO_CFLAGS="-g -O2"
282CGO_CPPFLAGS=""
283CGO_CXXFLAGS="-g -O2"
284CGO_FFLAGS="-g -O2"
285CGO_LDFLAGS="-g -O2"
286PKG_CONFIG="pkg-config"
287GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1935446638=/tmp/go-build -gno-record-gcc-switches"
install
2880.02s$ travis_install_go_dependencies 1.18.x -v
289Makefile detected
29037.32s$ make deps
291if ! shfmt -version 2>/dev/null; then \
292 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \
293 chmod +x /home/travis/gopath/bin/shfmt; \
294 shfmt -version; \
295fi
296v3.8.0
297curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin
298golangci/golangci-lint info checking GitHub for latest tag
299golangci/golangci-lint info found version: 1.59.1 for v1.59.1/linux/amd64
300golangci/golangci-lint info installed /home/travis/bin/golangci-lint
301if ! command -v /bin/golangci-lint &>/dev/null; then \
302 /home/travis/bin/golangci-lint --version; \
303fi
304golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
305GO111MODULE=on go mod download
306GO111MODULE=on go mod vendor
307touch .deps-fetched
308The command "make deps" exited with 0.
30972.34s$ GO111MODULE=on make build
310go install -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:11: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/...
311# github.com/travis-ci/worker/cmd/travis-worker
312/tmp/go-link-3126769052/000003.o: In function `mygetgrouplist':
313/_/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
314/tmp/go-link-3126769052/000002.o: In function `mygetgrgid_r':
315/_/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
316/tmp/go-link-3126769052/000002.o: In function `mygetgrnam_r':
317/_/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
318/tmp/go-link-3126769052/000002.o: In function `mygetpwnam_r':
319/_/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
320/tmp/go-link-3126769052/000002.o: In function `mygetpwuid_r':
321/_/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
322The command "GO111MODULE=on make build" exited with 0.
3230.01s$ mkdir -p build/linux/amd64
324The command "mkdir -p build/linux/amd64" exited with 0.
3250.05s$ cp ${GOPATH%%:*}/bin/travis-worker build/linux/amd64
326The command "cp ${GOPATH%%:*}/bin/travis-worker build/linux/amd64" exited with 0.
327164.69s$ make test-no-cover
328go test -race -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:12:33+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/...
329# github.com/travis-ci/worker.test
330/tmp/go-link-697304735/000003.o: In function `mygetgrouplist':
331/_/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
332/tmp/go-link-697304735/000002.o: In function `mygetgrgid_r':
333/_/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
334/tmp/go-link-697304735/000002.o: In function `mygetgrnam_r':
335/_/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
336/tmp/go-link-697304735/000002.o: In function `mygetpwnam_r':
337/_/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
338/tmp/go-link-697304735/000002.o: In function `mygetpwuid_r':
339/_/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
340# github.com/travis-ci/worker/image [github.com/travis-ci/worker/image.test]
341image/api_selector_test.go:91:87: too few values in struct literal
342image/api_selector_test.go:92:87: too few values in struct literal
343image/api_selector_test.go:93:74: too few values in struct literal
344image/api_selector_test.go:94:64: too few values in struct literal
345image/api_selector_test.go:97:103: too few values in struct literal
346image/api_selector_test.go:98:91: too few values in struct literal
347image/api_selector_test.go:99:85: too few values in struct literal
348image/api_selector_test.go:100:72: too few values in struct literal
349image/api_selector_test.go:101:70: too few values in struct literal
350image/api_selector_test.go:102:64: too few values in struct literal
351image/api_selector_test.go:102:64: too many errors
352# github.com/travis-ci/worker/backend.test
353/tmp/go-link-1015207781/000003.o: In function `mygetgrouplist':
354/_/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
355/tmp/go-link-1015207781/000002.o: In function `mygetgrgid_r':
356/_/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
357/tmp/go-link-1015207781/000002.o: In function `mygetgrnam_r':
358/_/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
359/tmp/go-link-1015207781/000002.o: In function `mygetpwnam_r':
360/_/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
361/tmp/go-link-1015207781/000002.o: In function `mygetpwuid_r':
362/_/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
363ok github.com/travis-ci/worker 4.943s
364? github.com/travis-ci/worker/remote [no test files]
365FAIL github.com/travis-ci/worker/image [build failed]
366? github.com/travis-ci/worker/ssh [no test files]
367? github.com/travis-ci/worker/metrics [no test files]
368ok github.com/travis-ci/worker/config 0.031s
369? github.com/travis-ci/worker/context [no test files]
370? github.com/travis-ci/worker/winrm [no test files]
371? github.com/travis-ci/worker/errors [no test files]
372ok github.com/travis-ci/worker/ratelimit 0.072s
373# github.com/travis-ci/worker/cmd/travis-worker.test
374/tmp/go-link-4245764202/000003.o: In function `mygetgrouplist':
375/_/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
376/tmp/go-link-4245764202/000002.o: In function `mygetgrgid_r':
377/_/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
378/tmp/go-link-4245764202/000002.o: In function `mygetgrnam_r':
379/_/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
380/tmp/go-link-4245764202/000002.o: In function `mygetpwnam_r':
381/_/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
382/tmp/go-link-4245764202/000002.o: In function `mygetpwuid_r':
383/_/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
384ok github.com/travis-ci/worker/backend 66.979s
385ok github.com/travis-ci/worker/cmd/travis-worker 0.113s
386FAIL
387Makefile:66: recipe for target 'test-no-cover' failed
388make: *** [test-no-cover] Error 2
389The command "make test-no-cover" exited with 2.
390103.14s$ make test-cover
391go test -covermode=count -coverprofile=root-coverage.coverprofile \
392 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:15:17+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
393 github.com/travis-ci/worker/
394# github.com/travis-ci/worker.test
395/tmp/go-link-3340006609/000003.o: In function `mygetgrouplist':
396/_/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
397/tmp/go-link-3340006609/000002.o: In function `mygetgrgid_r':
398/_/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
399/tmp/go-link-3340006609/000002.o: In function `mygetgrnam_r':
400/_/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
401/tmp/go-link-3340006609/000002.o: In function `mygetpwnam_r':
402/_/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
403/tmp/go-link-3340006609/000002.o: In function `mygetpwuid_r':
404/_/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
405ok github.com/travis-ci/worker 5.414s coverage: 29.3% of statements
406go test -covermode=count -coverprofile=backend-coverage.coverprofile \
407 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:15:42+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
408 github.com/travis-ci/worker/backend
409# github.com/travis-ci/worker/backend.test
410/tmp/go-link-2888938617/000003.o: In function `mygetgrouplist':
411/_/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
412/tmp/go-link-2888938617/000002.o: In function `mygetgrgid_r':
413/_/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
414/tmp/go-link-2888938617/000002.o: In function `mygetgrnam_r':
415/_/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
416/tmp/go-link-2888938617/000002.o: In function `mygetpwnam_r':
417/_/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
418/tmp/go-link-2888938617/000002.o: In function `mygetpwuid_r':
419/_/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
420ok github.com/travis-ci/worker/backend 72.694s coverage: 16.5% of statements
421go test -covermode=count -coverprofile=config-coverage.coverprofile \
422 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:16:59+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
423 github.com/travis-ci/worker/config
424ok github.com/travis-ci/worker/config 0.005s coverage: 63.2% of statements
425go test -covermode=count -coverprofile=image-coverage.coverprofile \
426 -tags netgo -ldflags "-extldflags '-static' -X 'github.com/travis-ci/worker.VersionString=v6.2.24-6-g4cad8cb' -X 'github.com/travis-ci/worker.RevisionString=4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.RevisionURLString=https://github.com/travis-ci/worker/tree/4cad8cb72a9e73ce6dc92a53c91646e852e991de' -X 'github.com/travis-ci/worker.GeneratedString=2024-07-12T10:17:00+0000' -X 'github.com/travis-ci/worker.CopyrightString=© 2018 Travis CI GmbH'" \
427 github.com/travis-ci/worker/image
428# github.com/travis-ci/worker/image [github.com/travis-ci/worker/image.test]
429image/api_selector_test.go:91:87: too few values in struct literal
430image/api_selector_test.go:92:87: too few values in struct literal
431image/api_selector_test.go:93:74: too few values in struct literal
432image/api_selector_test.go:94:64: too few values in struct literal
433image/api_selector_test.go:97:103: too few values in struct literal
434image/api_selector_test.go:98:91: too few values in struct literal
435image/api_selector_test.go:99:85: too few values in struct literal
436image/api_selector_test.go:100:72: too few values in struct literal
437image/api_selector_test.go:101:70: too few values in struct literal
438image/api_selector_test.go:102:64: too few values in struct literal
439image/api_selector_test.go:102:64: too many errors
440FAIL github.com/travis-ci/worker/image [build failed]
441FAIL
442Makefile:47: recipe for target 'image-coverage.coverprofile' failed
443make: *** [image-coverage.coverprofile] Error 2
444The command "make test-cover" exited with 2.
4450.69s$ make smoke
446./script/smoke
447Updated 0 paths from d58afec
448travis-worker v=v6.2.24-6-g4cad8cb rev=4cad8cb72a9e73ce6dc92a53c91646e852e991de d=2024-07-12T10:11:20+0000 go=go1.18.10
449travis-worker v=v6.2.24-6-g4cad8cb rev=4cad8cb72a9e73ce6dc92a53c91646e852e991de d=2024-07-12T10:11:20+0000 go=go1.18.10
450NAME:
451 travis-worker - Travis Worker
453USAGE:
454 travis-worker [global options] command [command options] [arguments...]
456VERSION:
457 v6.2.24-6-g4cad8cb
459AUTHOR:
460 Travis CI GmbH <contact+travis-worker@travis-ci.com>
462COMMANDS:
463 help, h Shows a list of commands or help for one command
465GLOBAL OPTIONS:
466 --provider-name value The name of the provider to use. See below for provider-specific configuration (default: "docker") [$TRAVIS_WORKER_PROVIDER_NAME, $PROVIDER_NAME]
467 --queue-type value The name of the queue type to use ("amqp", "http", or "file") (default: "amqp") [$TRAVIS_WORKER_QUEUE_TYPE, $QUEUE_TYPE]
468 --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]
469 --amqp-consumer-priority value The consumer priority to set when consuming jobs (default: 0) [$TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY, $AMQP_CONSUMER_PRIORITY]
470 --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]
471 --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]
472 --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]
473 --amqp-tls-cert value The TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT, $AMQP_TLS_CERT]
474 --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]
475 --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]
476 --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]
477 --base-dir value The base directory for file-based queues (only valid for "file" queue type) (default: ".") [$TRAVIS_WORKER_BASE_DIR, $BASE_DIR]
478 --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]
479 --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]
480 --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]
481 --queue-name value The AMQP queue to subscribe to for jobs [$TRAVIS_WORKER_QUEUE_NAME, $QUEUE_NAME]
482 --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]
483 --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]
484 --librato-email value Librato metrics account email [$TRAVIS_WORKER_LIBRATO_EMAIL, $LIBRATO_EMAIL]
485 --librato-token value Librato metrics account token [$TRAVIS_WORKER_LIBRATO_TOKEN, $LIBRATO_TOKEN]
486 --librato-source value Librato metrics source name (default: "travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2") [$TRAVIS_WORKER_LIBRATO_SOURCE, $LIBRATO_SOURCE]
487 --sentry-dsn value The DSN to send Sentry events to [$TRAVIS_WORKER_SENTRY_DSN, $SENTRY_DSN]
488 --sentry-hook-errors Add logrus.ErrorLevel to logrus sentry hook [$TRAVIS_WORKER_SENTRY_HOOK_ERRORS, $SENTRY_HOOK_ERRORS]
489 --hostname value Host name used in log output to identify the source of a job (default: "travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2") [$TRAVIS_WORKER_HOSTNAME, $HOSTNAME]
490 --default-language value Default "language" value for each job (default: "default") [$TRAVIS_WORKER_DEFAULT_LANGUAGE, $DEFAULT_LANGUAGE]
491 --default-dist value Default "dist" value for each job (default: "xenial") [$TRAVIS_WORKER_DEFAULT_DIST, $DEFAULT_DIST]
492 --default-arch value Default "arch" value for each job (default: "amd64") [$TRAVIS_WORKER_DEFAULT_ARCH, $DEFAULT_ARCH]
493 --default-group value Default "group" value for each job (default: "stable") [$TRAVIS_WORKER_DEFAULT_GROUP, $DEFAULT_GROUP]
494 --default-os value Default "os" value for each job (default: "linux") [$TRAVIS_WORKER_DEFAULT_OS, $DEFAULT_OS]
495 --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]
496 --initial-sleep value The time to sleep prior to opening log and starting job (default: 1s) [$TRAVIS_WORKER_INITIAL_SLEEP, $INITIAL_SLEEP]
497 --log-timeout value The timeout for a job that's not outputting anything (default: 10m0s) [$TRAVIS_WORKER_LOG_TIMEOUT, $LOG_TIMEOUT]
498 --script-upload-timeout value The timeout for the script upload step (default: 3m30s) [$TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT, $SCRIPT_UPLOAD_TIMEOUT]
499 --startup-timeout value The timeout for execution environment to be ready (default: 4m0s) [$TRAVIS_WORKER_STARTUP_TIMEOUT, $STARTUP_TIMEOUT]
500 --max-log-length value The maximum length of a log in bytes (default: 4500000) [$TRAVIS_WORKER_MAX_LOG_LENGTH, $MAX_LOG_LENGTH]
501 --job-board-url value The base URL for job-board used with http queue [$TRAVIS_WORKER_JOB_BOARD_URL, $JOB_BOARD_URL]
502 --travis-site value Either 'org' or 'com', used for job-board [$TRAVIS_WORKER_TRAVIS_SITE, $TRAVIS_SITE]
503 --state-update-pool-size value The pool size for state update workers (default: 3) [$TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE, $STATE_UPDATE_POOL_SIZE]
504 --log-pool-size value The pool size for log workers (default: 3) [$TRAVIS_WORKER_LOG_POOL_SIZE, $LOG_POOL_SIZE]
505 --rabbitmq-sharding Enable sharding for the logs AMQP queue [$TRAVIS_WORKER_RABBITMQ_SHARDING, $RABBITMQ_SHARDING]
506 --build-cache-fetch-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT, $BUILD_CACHE_FETCH_TIMEOUT]
507 --build-cache-push-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT, $BUILD_CACHE_PUSH_TIMEOUT]
508 --build-apt-cache value [$TRAVIS_WORKER_BUILD_APT_CACHE, $BUILD_APT_CACHE]
509 --build-npm-cache value [$TRAVIS_WORKER_BUILD_NPM_CACHE, $BUILD_NPM_CACHE]
510 --build-paranoid [$TRAVIS_WORKER_BUILD_PARANOID, $BUILD_PARANOID]
511 --build-fix-resolv-conf [$TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF, $BUILD_FIX_RESOLV_CONF]
512 --build-fix-etc-hosts [$TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS, $BUILD_FIX_ETC_HOSTS]
513 --build-cache-type value [$TRAVIS_WORKER_BUILD_CACHE_TYPE, $BUILD_CACHE_TYPE]
514 --build-cache-s3-scheme value [$TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME, $BUILD_CACHE_S3_SCHEME]
515 --build-cache-s3-region value [$TRAVIS_WORKER_BUILD_CACHE_S3_REGION, $BUILD_CACHE_S3_REGION]
516 --build-cache-s3-bucket value [$TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET, $BUILD_CACHE_S3_BUCKET]
517 --build-cache-s3-access-key-id value [$TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID, $BUILD_CACHE_S3_ACCESS_KEY_ID]
518 --build-cache-s3-secret-access-key value [$TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY, $BUILD_CACHE_S3_SECRET_ACCESS_KEY]
519 --build-trace-enabled Enable downloading build traces [$TRAVIS_WORKER_BUILD_TRACE_ENABLED, $BUILD_TRACE_ENABLED]
520 --build-trace-s3-bucket value [$TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET, $BUILD_TRACE_S3_BUCKET]
521 --build-trace-s3-key-prefix value [$TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX, $BUILD_TRACE_S3_KEY_PREFIX]
522 --build-trace-s3-region value [$TRAVIS_WORKER_BUILD_TRACE_S3_REGION, $BUILD_TRACE_S3_REGION]
523 --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]
524 --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]
525 --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]
526 --progress-type value Report progress for supported backends (valid values "text" or unset) [$TRAVIS_WORKER_PROGRESS_TYPE, $PROGRESS_TYPE]
527 --remote-controller-addr value enable remote controller http api (and pprof) at address [$TRAVIS_WORKER_REMOTE_CONTROLLER_ADDR, $REMOTE_CONTROLLER_ADDR]
528 --remote-controller-auth value username:password for http api basic auth for remote controller [$TRAVIS_WORKER_REMOTE_CONTROLLER_AUTH, $REMOTE_CONTROLLER_AUTH]
529 --silence-metrics deprecated flag [$TRAVIS_WORKER_SILENCE_METRICS, $SILENCE_METRICS]
530 --log-metrics periodically print metrics to the stdout [$TRAVIS_WORKER_LOG_METRICS, $LOG_METRICS]
531 --echo-config echo parsed config and exit [$TRAVIS_WORKER_ECHO_CONFIG, $ECHO_CONFIG]
532 --list-backend-providers echo backend provider list and exit [$TRAVIS_WORKER_LIST_BACKEND_PROVIDERS, $LIST_BACKEND_PROVIDERS]
533 --update-images update images for LXD backend from job-board [$TRAVIS_WORKER_UPDATE_IMAGES, $UPDATE_IMAGES]
534 --debug set log level to debug [$TRAVIS_WORKER_DEBUG, $DEBUG]
535 --start-hook value executable to run just before starting [$TRAVIS_WORKER_START_HOOK, $START_HOOK]
536 --stop-hook value executable to run just before exiting [$TRAVIS_WORKER_STOP_HOOK, $STOP_HOOK]
537 --heartbeat-url value health check and/or supervisor check URL (expects response: {"state": "(up|down)"}) [$TRAVIS_WORKER_HEARTBEAT_URL, $HEARTBEAT_URL]
538 --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]
539 --infra value infra tag, e.g. gce or ec2 [$TRAVIS_WORKER_INFRA, $INFRA]
540 --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]
541 --stackdriver-project-id value google cloud project ID where where traces are exported and viewed [$TRAVIS_WORKER_STACKDRIVER_PROJECT_ID, $STACKDRIVER_PROJECT_ID]
542 --opencensus-tracing-enabled enable tracing for worker with google stackdriver client [$TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED, $OPENCENSUS_TRACING_ENABLED]
543 --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]
544 --help, -h show help
545 --version, -v print the version
547COPYRIGHT:
548 © 2018 Travis CI GmbH
550All provider options must be given as environment variables of the form:
552 $[TRAVIS_WORKER_]{UPCASE_PROVIDER_NAME}_{UPCASE_UNDERSCORED_KEY}
553 ^------------^
554 optional namespace
556e.g.:
558 TRAVIS_WORKER_DOCKER_HOST='tcp://127.0.0.1:4243'
559 TRAVIS_WORKER_DOCKER_PRIVILEGED='true'
562Docker provider help:
564 BINDS - Bind mount a volume (example: "/var/run/docker.sock:/var/run/docker.sock", default "")
565 CERT_PATH - directory where ca.pem, cert.pem, and key.pem are located (default "")
566 CMD - command (CMD) to run when creating containers (default "/sbin/init")
567 CONTAINER_LABELS - comma- or space-delimited key:value pairs of labels to apply to each container (default "")
568 CPUS - cpu count to allocate to each container (0 disables allocation, default 2)
569 CPU_SET_SIZE - size of available cpu set (default detected locally via runtime.NumCPU)
570 ENDPOINT / HOST - [REQUIRED] tcp or unix address for connecting to Docker
571 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
572 IMAGE_SELECTOR_TYPE - image selector type ("tag", "api", or "env", default "tag")
573 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
574 INSPECT_INTERVAL - time to wait between container inspections as duration (default "500ms")
575 MEMORY - memory to allocate to each container (0 disables allocation, default "4G")
576 NATIVE - upload and run build script via docker API instead of over ssh (default false)
577 PRIVILEGED - run containers in privileged mode (default false)
578 SECURITY_OPT - Security configuration (example: "seccomp=unconfined") to turn off seccomp confinement for the container
579 SHM - /dev/shm to allocate to each container (0 disables allocation, default "64MiB")
580 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
581 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"])
583EC2 provider help:
585 AWS_ACCESS_KEY_ID - AWS Access Key ID
586 AWS_SECRET_ACCESS_KEY - AWS Secret Access Key
587 CPU_CREDIT_SPECIFICATION - standard|unlimited (for faster boots)
588 CUSTOM_TAGS - Custom tags to set for the EC2 instance. Comma separated list with format key1=value1,key2=value2.....keyN=valueN
589 DISK_SIZE - Disk size in GB (default 100)
590 EBS_OPTIMIZED - Whether or not to use EBS-optimized instances (Default: false)
591 IAM_INSTANCE_PROFILE - This is not a good idea... for security, builds should provice API keys
592 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
593 IMAGE_DEFAULT - default image name to use when none found
594 IMAGE_MAP - Map of which image to use for which language
595 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
596 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
597 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 _
598 INSTANCE_TYPE - Instance type to use for builds
599 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.
600 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
601 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)
602 REGION - Which region to run workers in
603 SECURITY_GROUPS - Security groups to assign
604 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
605 SUBNET_ID - Subnet ID to launch instances into
606 TAGS - Tags, how to deal with key value?
607 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
608 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
609 USER_DATA - User data, needs to be URL safe base64 encoded format (RFC 4648)
611Fake provider help:
613 ERROR - error out all jobs (useful for testing requeue storms)
614 LOG_OUTPUT - faked log output to write
615 RUN_SLEEP - faked runtime sleep duration
617Google Compute Engine provider help:
619 ACCOUNT_JSON - [REQUIRED] account JSON config
620 AUTO_IMPLODE - schedule a poweroff at HARD_TIMEOUT_MINUTES in the future (default true)
621 BACKOFF_RETRY_MAX - Maximum allowed duration of generic exponential backoff retries (default 1m)
622 BOOT_POLL_SLEEP - sleep interval between polling server for instance ready status (default 3s)
623 BOOT_PRE_POLL_SLEEP - time to sleep prior to polling server for instance ready status (default 15s)
624 DEFAULT_LANGUAGE - default language to use when looking up image (default "minimal")
625 DETERMINISTIC_HOSTNAME - assign deterministic hostname based on repo slug and job id (default false)
626 DISK_SIZE - disk size in GB (default 20)
627 DISK_SIZE_WINDOWS - disk size in GB for windows OS (defaults to DISK_SIZE value)
628 GPU_COUNT - number of GPUs to use (default 0)
629 GPU_TYPE - type of GPU to use (default "nvidia-tesla-p100")
630 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
631 IMAGE_DEFAULT - default image name to use when none found (default "travis-ci.+")
632 IMAGE_PROJECT_ID - GCE project id to use for images, will use PROJECT_ID if not specified
633 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
634 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
635 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 _
636 MACHINE_TYPE - machine name (default "n1-standard-2")
637 NETWORK - network name (default "default")
638 PREEMPTIBLE - boot job instances with preemptible flag enabled (default false)
639 PREMIUM_MACHINE_TYPE - premium machine type (default "n1-standard-4")
640 PROJECT_ID - [REQUIRED] GCE project id
641 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
642 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)
643 RATE_LIMIT_DURATION - interval in which to let max-calls through to the GCE API (default 1s)
644 RATE_LIMIT_DYNAMIC_CONFIG - get max-calls and duration dynamically through redis (default false)
645 RATE_LIMIT_DYNAMIC_CONFIG_TTL - time to cache dynamic config for (default 1m0s)
646 RATE_LIMIT_MAX_CALLS - number of calls per duration to let through to the GCE API (default 10)
647 RATE_LIMIT_PREFIX - prefix for the rate limit key in Redis
648 RATE_LIMIT_REDIS_URL - URL to Redis instance to use for rate limiting
649 REGION - only takes effect when SUBNETWORK is defined; region in which to deploy (default us-central1)
650 SKIP_STOP_POLL - immediately return after issuing first instance deletion request (default false)
651 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
652 STOP_POLL_SLEEP - sleep interval between polling server for instance stop status (default 3s)
653 STOP_PRE_POLL_SLEEP - time to sleep prior to polling server for instance stop status (default 15s)
654 SUBNETWORK - the subnetwork in which to launch build instances (gce internal default "default")
655 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
656 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
657 WARMER_SSH_PASSPHRASE - The passphrase used to decipher instace SSH keys
658 WARMER_TIMEOUT - timeout for requests to warmer service (default 5s)
659 WARMER_URL - URL for warmer service
660 ZONE - [DEPRECATED] Use ZONES instead. Zone name (default "us-central1-a")
661 ZONES - comma-delimited list of zone names (default "us-central1-a")
663Jupiter Brain provider help:
665 BOOT_POLL_DIAL_TIMEOUT - how long to wait for a TCP connection to be made when polling SSH port (default 3s)
666 BOOT_POLL_SLEEP - sleep interval between polling server for instance status (default 3s)
667 BOOT_POLL_WAIT_FOR_ERROR - time to wait for an error message after cancelling the boot polling (default 2s)
668 ENDPOINT - [REQUIRED] url to Jupiter Brain server, including auth
669 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
670 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 _
671 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
672 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
673 KEYCHAIN_PASSWORD - [REQUIRED] password used ... somehow
674 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
675 SSH_KEY_PASSPHRASE - [REQUIRED] passphrase for SSH key given as SSH_KEY_PATH
676 SSH_KEY_PATH - [REQUIRED] path to SSH key used to access job VMs
678Local provider help:
680 SCRIPTS_DIR - directory where generated scripts will be written
682LXD provider help:
684 ARCH_OVERRIDE - override arch value from job config (default "")
685 CPUS - CPU count to allocate to each container (default "2")
686 CPUS_BURST - allow using all CPUs when not in use (default false)
687 DISK - disk size (default "10GB")
688 DOCKER_DISK - disk size to use for Docker (default "10GB")
689 DOCKER_POOL - storage pool to use for Docker (default "")
690 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
691 EXEC_UID - UID of travis user (default 1000)
692 IMAGE - image to use for the containers (default "ubuntu:18.04")
693 IMAGE_AUTO_DOWNLOAD - automatically try to download lxc image if it's missing (default false)
694 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
695 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
696 IMAGE_SERVER_URL - base URL for images auto download
697 MEMORY - memory to allocate to each container (default "4GB")
698 NETWORK - network bandwidth (default "500Mbit")
699 NETWORK_DNS - comma separated list of DNS servers (requires NETWORK_STATIC) (default "1.1.1.1,1.0.0.1")
700 NETWORK_IPV6_FILTERING - prevent the containers from spoofing another's IPv6 address (default true)
701 NETWORK_STATIC - whether to statically set network configuration (default false)
702 POOL - storage pool to use for the instances
703 PROCESS - maximum number of processes (default "5000")
704 SECURITY_PRIVILEGED - request a container to run without a UID mapping when set true (default false)
706OpenStack provider help:
708 AUTO_SSH_KEY_GEN - If SSH key generation is to be generated automatically (default false)
709 BOOT_POLL_DIAL_SLEEP - sleep interval between connection dials (default 10s)
710 BOOT_POLL_SLEEP - sleep interval between polling server for instance ACTIVE status (default 1m30s)
711 ENDPOINT - [REQUIRED] Keystone/Identity Service Endpoint
712 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
713 IMAGE_DEFAULT - default image name to use when none found (default "")
714 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
715 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
716 INSTANCE_KEYPAIR - Key Pair Name to be used for instance creation
717 INSTANCE_NAME - Name of the VM to be created (default travis- followed by timeStamp)
718 MACHINE_TYPE - machine type/flavor (default "m1.small")
719 NETWORK - Network to which instance is to be attached.
720 OS_DOMAIN - [REQUIRED] Openstack domain name only in case using v3 Identity service API
721 OS_PASSWORD - [REQUIRED] Openstack user password
722 OS_REGION - Openstack region (default RegionOne)
723 OS_USERNAME - [REQUIRED] Openstack user name
724 OS_ZONE - Openstack zone (default nova)
725 SECURITY_GROUP - Instance Security Group Name (default default)
726 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 20s)
727 SSH_KEY_PATH - path to SSH key used to access job VMs
728 SSH_PASSWORD - SSH password to login into the VM
729 SSH_POLL_TIMEOUT - Timeout after which VM is marked not sshable (default 20s)
730 SSH_USER - SSH username to login into the VM
731 TENANT_NAME - [REQUIRED] Openstack tenant name
733NAME:
734 travis-worker - Travis Worker
736USAGE:
737 travis-worker [global options] command [command options] [arguments...]
739VERSION:
740 v6.2.24-6-g4cad8cb
742AUTHOR:
743 Travis CI GmbH <contact+travis-worker@travis-ci.com>
745COMMANDS:
746 help, h Shows a list of commands or help for one command
748GLOBAL OPTIONS:
749 --provider-name value The name of the provider to use. See below for provider-specific configuration (default: "docker") [$TRAVIS_WORKER_PROVIDER_NAME, $PROVIDER_NAME]
750 --queue-type value The name of the queue type to use ("amqp", "http", or "file") (default: "amqp") [$TRAVIS_WORKER_QUEUE_TYPE, $QUEUE_TYPE]
751 --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]
752 --amqp-consumer-priority value The consumer priority to set when consuming jobs (default: 0) [$TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY, $AMQP_CONSUMER_PRIORITY]
753 --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]
754 --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]
755 --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]
756 --amqp-tls-cert value The TLS certificate used to connet to the jobs AMQP server [$TRAVIS_WORKER_AMQP_TLS_CERT, $AMQP_TLS_CERT]
757 --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]
758 --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]
759 --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]
760 --base-dir value The base directory for file-based queues (only valid for "file" queue type) (default: ".") [$TRAVIS_WORKER_BASE_DIR, $BASE_DIR]
761 --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]
762 --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]
763 --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]
764 --queue-name value The AMQP queue to subscribe to for jobs [$TRAVIS_WORKER_QUEUE_NAME, $QUEUE_NAME]
765 --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]
766 --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]
767 --librato-email value Librato metrics account email [$TRAVIS_WORKER_LIBRATO_EMAIL, $LIBRATO_EMAIL]
768 --librato-token value Librato metrics account token [$TRAVIS_WORKER_LIBRATO_TOKEN, $LIBRATO_TOKEN]
769 --librato-source value Librato metrics source name (default: "travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2") [$TRAVIS_WORKER_LIBRATO_SOURCE, $LIBRATO_SOURCE]
770 --sentry-dsn value The DSN to send Sentry events to [$TRAVIS_WORKER_SENTRY_DSN, $SENTRY_DSN]
771 --sentry-hook-errors Add logrus.ErrorLevel to logrus sentry hook [$TRAVIS_WORKER_SENTRY_HOOK_ERRORS, $SENTRY_HOOK_ERRORS]
772 --hostname value Host name used in log output to identify the source of a job (default: "travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2") [$TRAVIS_WORKER_HOSTNAME, $HOSTNAME]
773 --default-language value Default "language" value for each job (default: "default") [$TRAVIS_WORKER_DEFAULT_LANGUAGE, $DEFAULT_LANGUAGE]
774 --default-dist value Default "dist" value for each job (default: "xenial") [$TRAVIS_WORKER_DEFAULT_DIST, $DEFAULT_DIST]
775 --default-arch value Default "arch" value for each job (default: "amd64") [$TRAVIS_WORKER_DEFAULT_ARCH, $DEFAULT_ARCH]
776 --default-group value Default "group" value for each job (default: "stable") [$TRAVIS_WORKER_DEFAULT_GROUP, $DEFAULT_GROUP]
777 --default-os value Default "os" value for each job (default: "linux") [$TRAVIS_WORKER_DEFAULT_OS, $DEFAULT_OS]
778 --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]
779 --initial-sleep value The time to sleep prior to opening log and starting job (default: 1s) [$TRAVIS_WORKER_INITIAL_SLEEP, $INITIAL_SLEEP]
780 --log-timeout value The timeout for a job that's not outputting anything (default: 10m0s) [$TRAVIS_WORKER_LOG_TIMEOUT, $LOG_TIMEOUT]
781 --script-upload-timeout value The timeout for the script upload step (default: 3m30s) [$TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT, $SCRIPT_UPLOAD_TIMEOUT]
782 --startup-timeout value The timeout for execution environment to be ready (default: 4m0s) [$TRAVIS_WORKER_STARTUP_TIMEOUT, $STARTUP_TIMEOUT]
783 --max-log-length value The maximum length of a log in bytes (default: 4500000) [$TRAVIS_WORKER_MAX_LOG_LENGTH, $MAX_LOG_LENGTH]
784 --job-board-url value The base URL for job-board used with http queue [$TRAVIS_WORKER_JOB_BOARD_URL, $JOB_BOARD_URL]
785 --travis-site value Either 'org' or 'com', used for job-board [$TRAVIS_WORKER_TRAVIS_SITE, $TRAVIS_SITE]
786 --state-update-pool-size value The pool size for state update workers (default: 3) [$TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE, $STATE_UPDATE_POOL_SIZE]
787 --log-pool-size value The pool size for log workers (default: 3) [$TRAVIS_WORKER_LOG_POOL_SIZE, $LOG_POOL_SIZE]
788 --rabbitmq-sharding Enable sharding for the logs AMQP queue [$TRAVIS_WORKER_RABBITMQ_SHARDING, $RABBITMQ_SHARDING]
789 --build-cache-fetch-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT, $BUILD_CACHE_FETCH_TIMEOUT]
790 --build-cache-push-timeout value (default: 5m0s) [$TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT, $BUILD_CACHE_PUSH_TIMEOUT]
791 --build-apt-cache value [$TRAVIS_WORKER_BUILD_APT_CACHE, $BUILD_APT_CACHE]
792 --build-npm-cache value [$TRAVIS_WORKER_BUILD_NPM_CACHE, $BUILD_NPM_CACHE]
793 --build-paranoid [$TRAVIS_WORKER_BUILD_PARANOID, $BUILD_PARANOID]
794 --build-fix-resolv-conf [$TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF, $BUILD_FIX_RESOLV_CONF]
795 --build-fix-etc-hosts [$TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS, $BUILD_FIX_ETC_HOSTS]
796 --build-cache-type value [$TRAVIS_WORKER_BUILD_CACHE_TYPE, $BUILD_CACHE_TYPE]
797 --build-cache-s3-scheme value [$TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME, $BUILD_CACHE_S3_SCHEME]
798 --build-cache-s3-region value [$TRAVIS_WORKER_BUILD_CACHE_S3_REGION, $BUILD_CACHE_S3_REGION]
799 --build-cache-s3-bucket value [$TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET, $BUILD_CACHE_S3_BUCKET]
800 --build-cache-s3-access-key-id value [$TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID, $BUILD_CACHE_S3_ACCESS_KEY_ID]
801 --build-cache-s3-secret-access-key value [$TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY, $BUILD_CACHE_S3_SECRET_ACCESS_KEY]
802 --build-trace-enabled Enable downloading build traces [$TRAVIS_WORKER_BUILD_TRACE_ENABLED, $BUILD_TRACE_ENABLED]
803 --build-trace-s3-bucket value [$TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET, $BUILD_TRACE_S3_BUCKET]
804 --build-trace-s3-key-prefix value [$TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX, $BUILD_TRACE_S3_KEY_PREFIX]
805 --build-trace-s3-region value [$TRAVIS_WORKER_BUILD_TRACE_S3_REGION, $BUILD_TRACE_S3_REGION]
806 --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]
807 --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]
808 --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]
809 --progress-type value Report progress for supported backends (valid values "text" or unset) [$TRAVIS_WORKER_PROGRESS_TYPE, $PROGRESS_TYPE]
810 --remote-controller-addr value enable remote controller http api (and pprof) at address [$TRAVIS_WORKER_REMOTE_CONTROLLER_ADDR, $REMOTE_CONTROLLER_ADDR]
811 --remote-controller-auth value username:password for http api basic auth for remote controller [$TRAVIS_WORKER_REMOTE_CONTROLLER_AUTH, $REMOTE_CONTROLLER_AUTH]
812 --silence-metrics deprecated flag [$TRAVIS_WORKER_SILENCE_METRICS, $SILENCE_METRICS]
813 --log-metrics periodically print metrics to the stdout [$TRAVIS_WORKER_LOG_METRICS, $LOG_METRICS]
814 --echo-config echo parsed config and exit [$TRAVIS_WORKER_ECHO_CONFIG, $ECHO_CONFIG]
815 --list-backend-providers echo backend provider list and exit [$TRAVIS_WORKER_LIST_BACKEND_PROVIDERS, $LIST_BACKEND_PROVIDERS]
816 --update-images update images for LXD backend from job-board [$TRAVIS_WORKER_UPDATE_IMAGES, $UPDATE_IMAGES]
817 --debug set log level to debug [$TRAVIS_WORKER_DEBUG, $DEBUG]
818 --start-hook value executable to run just before starting [$TRAVIS_WORKER_START_HOOK, $START_HOOK]
819 --stop-hook value executable to run just before exiting [$TRAVIS_WORKER_STOP_HOOK, $STOP_HOOK]
820 --heartbeat-url value health check and/or supervisor check URL (expects response: {"state": "(up|down)"}) [$TRAVIS_WORKER_HEARTBEAT_URL, $HEARTBEAT_URL]
821 --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]
822 --infra value infra tag, e.g. gce or ec2 [$TRAVIS_WORKER_INFRA, $INFRA]
823 --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]
824 --stackdriver-project-id value google cloud project ID where where traces are exported and viewed [$TRAVIS_WORKER_STACKDRIVER_PROJECT_ID, $STACKDRIVER_PROJECT_ID]
825 --opencensus-tracing-enabled enable tracing for worker with google stackdriver client [$TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED, $OPENCENSUS_TRACING_ENABLED]
826 --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]
827 --help, -h show help
828 --version, -v print the version
830COPYRIGHT:
831 © 2018 Travis CI GmbH
833All provider options must be given as environment variables of the form:
835 $[TRAVIS_WORKER_]{UPCASE_PROVIDER_NAME}_{UPCASE_UNDERSCORED_KEY}
836 ^------------^
837 optional namespace
839e.g.:
841 TRAVIS_WORKER_DOCKER_HOST='tcp://127.0.0.1:4243'
842 TRAVIS_WORKER_DOCKER_PRIVILEGED='true'
845Docker provider help:
847 BINDS - Bind mount a volume (example: "/var/run/docker.sock:/var/run/docker.sock", default "")
848 CERT_PATH - directory where ca.pem, cert.pem, and key.pem are located (default "")
849 CMD - command (CMD) to run when creating containers (default "/sbin/init")
850 CONTAINER_LABELS - comma- or space-delimited key:value pairs of labels to apply to each container (default "")
851 CPUS - cpu count to allocate to each container (0 disables allocation, default 2)
852 CPU_SET_SIZE - size of available cpu set (default detected locally via runtime.NumCPU)
853 ENDPOINT / HOST - [REQUIRED] tcp or unix address for connecting to Docker
854 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
855 IMAGE_SELECTOR_TYPE - image selector type ("tag", "api", or "env", default "tag")
856 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
857 INSPECT_INTERVAL - time to wait between container inspections as duration (default "500ms")
858 MEMORY - memory to allocate to each container (0 disables allocation, default "4G")
859 NATIVE - upload and run build script via docker API instead of over ssh (default false)
860 PRIVILEGED - run containers in privileged mode (default false)
861 SECURITY_OPT - Security configuration (example: "seccomp=unconfined") to turn off seccomp confinement for the container
862 SHM - /dev/shm to allocate to each container (0 disables allocation, default "64MiB")
863 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
864 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"])
866EC2 provider help:
868 AWS_ACCESS_KEY_ID - AWS Access Key ID
869 AWS_SECRET_ACCESS_KEY - AWS Secret Access Key
870 CPU_CREDIT_SPECIFICATION - standard|unlimited (for faster boots)
871 CUSTOM_TAGS - Custom tags to set for the EC2 instance. Comma separated list with format key1=value1,key2=value2.....keyN=valueN
872 DISK_SIZE - Disk size in GB (default 100)
873 EBS_OPTIMIZED - Whether or not to use EBS-optimized instances (Default: false)
874 IAM_INSTANCE_PROFILE - This is not a good idea... for security, builds should provice API keys
875 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
876 IMAGE_DEFAULT - default image name to use when none found
877 IMAGE_MAP - Map of which image to use for which language
878 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
879 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
880 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 _
881 INSTANCE_TYPE - Instance type to use for builds
882 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.
883 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
884 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)
885 REGION - Which region to run workers in
886 SECURITY_GROUPS - Security groups to assign
887 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
888 SUBNET_ID - Subnet ID to launch instances into
889 TAGS - Tags, how to deal with key value?
890 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
891 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
892 USER_DATA - User data, needs to be URL safe base64 encoded format (RFC 4648)
894Fake provider help:
896 ERROR - error out all jobs (useful for testing requeue storms)
897 LOG_OUTPUT - faked log output to write
898 RUN_SLEEP - faked runtime sleep duration
900Google Compute Engine provider help:
902 ACCOUNT_JSON - [REQUIRED] account JSON config
903 AUTO_IMPLODE - schedule a poweroff at HARD_TIMEOUT_MINUTES in the future (default true)
904 BACKOFF_RETRY_MAX - Maximum allowed duration of generic exponential backoff retries (default 1m)
905 BOOT_POLL_SLEEP - sleep interval between polling server for instance ready status (default 3s)
906 BOOT_PRE_POLL_SLEEP - time to sleep prior to polling server for instance ready status (default 15s)
907 DEFAULT_LANGUAGE - default language to use when looking up image (default "minimal")
908 DETERMINISTIC_HOSTNAME - assign deterministic hostname based on repo slug and job id (default false)
909 DISK_SIZE - disk size in GB (default 20)
910 DISK_SIZE_WINDOWS - disk size in GB for windows OS (defaults to DISK_SIZE value)
911 GPU_COUNT - number of GPUs to use (default 0)
912 GPU_TYPE - type of GPU to use (default "nvidia-tesla-p100")
913 IMAGE_ALIASES - comma-delimited strings used as stable names for images, used only when image selector type is "env"
914 IMAGE_DEFAULT - default image name to use when none found (default "travis-ci.+")
915 IMAGE_PROJECT_ID - GCE project id to use for images, will use PROJECT_ID if not specified
916 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
917 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
918 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 _
919 MACHINE_TYPE - machine name (default "n1-standard-2")
920 NETWORK - network name (default "default")
921 PREEMPTIBLE - boot job instances with preemptible flag enabled (default false)
922 PREMIUM_MACHINE_TYPE - premium machine type (default "n1-standard-4")
923 PROJECT_ID - [REQUIRED] GCE project id
924 PUBLIC_IP - boot job instances with a public ip, disable this for NAT (default true)
925 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)
926 RATE_LIMIT_DURATION - interval in which to let max-calls through to the GCE API (default 1s)
927 RATE_LIMIT_DYNAMIC_CONFIG - get max-calls and duration dynamically through redis (default false)
928 RATE_LIMIT_DYNAMIC_CONFIG_TTL - time to cache dynamic config for (default 1m0s)
929 RATE_LIMIT_MAX_CALLS - number of calls per duration to let through to the GCE API (default 10)
930 RATE_LIMIT_PREFIX - prefix for the rate limit key in Redis
931 RATE_LIMIT_REDIS_URL - URL to Redis instance to use for rate limiting
932 REGION - only takes effect when SUBNETWORK is defined; region in which to deploy (default us-central1)
933 SKIP_STOP_POLL - immediately return after issuing first instance deletion request (default false)
934 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
935 STOP_POLL_SLEEP - sleep interval between polling server for instance stop status (default 3s)
936 STOP_PRE_POLL_SLEEP - time to sleep prior to polling server for instance stop status (default 15s)
937 SUBNETWORK - the subnetwork in which to launch build instances (gce internal default "default")
938 UPLOAD_RETRIES - number of times to attempt to upload script before erroring (default 120)
939 UPLOAD_RETRY_SLEEP - sleep interval between script upload attempts (default 1s)
940 WARMER_SSH_PASSPHRASE - The passphrase used to decipher instace SSH keys
941 WARMER_TIMEOUT - timeout for requests to warmer service (default 5s)
942 WARMER_URL - URL for warmer service
943 ZONE - [DEPRECATED] Use ZONES instead. Zone name (default "us-central1-a")
944 ZONES - comma-delimited list of zone names (default "us-central1-a")
946Jupiter Brain provider help:
948 BOOT_POLL_DIAL_TIMEOUT - how long to wait for a TCP connection to be made when polling SSH port (default 3s)
949 BOOT_POLL_SLEEP - sleep interval between polling server for instance status (default 3s)
950 BOOT_POLL_WAIT_FOR_ERROR - time to wait for an error message after cancelling the boot polling (default 2s)
951 ENDPOINT - [REQUIRED] url to Jupiter Brain server, including auth
952 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
953 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 _
954 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
955 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
956 KEYCHAIN_PASSWORD - [REQUIRED] password used ... somehow
957 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 5s)
958 SSH_KEY_PASSPHRASE - [REQUIRED] passphrase for SSH key given as SSH_KEY_PATH
959 SSH_KEY_PATH - [REQUIRED] path to SSH key used to access job VMs
961Local provider help:
963 SCRIPTS_DIR - directory where generated scripts will be written
965LXD provider help:
967 ARCH_OVERRIDE - override arch value from job config (default "")
968 CPUS - CPU count to allocate to each container (default "2")
969 CPUS_BURST - allow using all CPUs when not in use (default false)
970 DISK - disk size (default "10GB")
971 DOCKER_DISK - disk size to use for Docker (default "10GB")
972 DOCKER_POOL - storage pool to use for Docker (default "")
973 EXEC_CMD - command to run via exec/ssh (default "bash /home/travis/build.sh")
974 EXEC_UID - UID of travis user (default 1000)
975 IMAGE - image to use for the containers (default "ubuntu:18.04")
976 IMAGE_AUTO_DOWNLOAD - automatically try to download lxc image if it's missing (default false)
977 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
978 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
979 IMAGE_SERVER_URL - base URL for images auto download
980 MEMORY - memory to allocate to each container (default "4GB")
981 NETWORK - network bandwidth (default "500Mbit")
982 NETWORK_DNS - comma separated list of DNS servers (requires NETWORK_STATIC) (default "1.1.1.1,1.0.0.1")
983 NETWORK_IPV6_FILTERING - prevent the containers from spoofing another's IPv6 address (default true)
984 NETWORK_STATIC - whether to statically set network configuration (default false)
985 POOL - storage pool to use for the instances
986 PROCESS - maximum number of processes (default "5000")
987 SECURITY_PRIVILEGED - request a container to run without a UID mapping when set true (default false)
989OpenStack provider help:
991 AUTO_SSH_KEY_GEN - If SSH key generation is to be generated automatically (default false)
992 BOOT_POLL_DIAL_SLEEP - sleep interval between connection dials (default 10s)
993 BOOT_POLL_SLEEP - sleep interval between polling server for instance ACTIVE status (default 1m30s)
994 ENDPOINT - [REQUIRED] Keystone/Identity Service Endpoint
995 IMAGE_ALIASES - comma-delimited strings used as stable names for images (default: "")
996 IMAGE_DEFAULT - default image name to use when none found (default "")
997 IMAGE_SELECTOR_TYPE - image selector type ("env" or "api", default "env")
998 IMAGE_SELECTOR_URL - URL for image selector API, used only when image selector is "api"
999 INSTANCE_KEYPAIR - Key Pair Name to be used for instance creation
1000 INSTANCE_NAME - Name of the VM to be created (default travis- followed by timeStamp)
1001 MACHINE_TYPE - machine type/flavor (default "m1.small")
1002 NETWORK - Network to which instance is to be attached.
1003 OS_DOMAIN - [REQUIRED] Openstack domain name only in case using v3 Identity service API
1004 OS_PASSWORD - [REQUIRED] Openstack user password
1005 OS_REGION - Openstack region (default RegionOne)
1006 OS_USERNAME - [REQUIRED] Openstack user name
1007 OS_ZONE - Openstack zone (default nova)
1008 SECURITY_GROUP - Instance Security Group Name (default default)
1009 SSH_DIAL_TIMEOUT - connection timeout for ssh connections (default 20s)
1010 SSH_KEY_PATH - path to SSH key used to access job VMs
1011 SSH_PASSWORD - SSH password to login into the VM
1012 SSH_POLL_TIMEOUT - Timeout after which VM is marked not sshable (default 20s)
1013 SSH_USER - SSH username to login into the VM
1014 TENANT_NAME - [REQUIRED] Openstack tenant name
1016export TRAVIS_WORKER_FOO_N="6196"
1017# travis-worker env config generated 2024-07-12 10:17:01.474167353 +0000 UTC
1018export TRAVIS_WORKER_AMQP_CONSUMER_PRIORITY="0"
1019export TRAVIS_WORKER_AMQP_HEARTBEAT="10s"
1020export TRAVIS_WORKER_AMQP_INSECURE="false"
1021export TRAVIS_WORKER_AMQP_TLS_CERT=""
1022export TRAVIS_WORKER_AMQP_TLS_CERT_PATH=""
1023export TRAVIS_WORKER_AMQP_URI="amqp://"
1024export TRAVIS_WORKER_BASE_DIR="."
1025export TRAVIS_WORKER_BUILD_API_INSECURE_SKIP_VERIFY="false"
1026export TRAVIS_WORKER_BUILD_API_URI=""
1027export TRAVIS_WORKER_BUILD_APT_CACHE=""
1028export TRAVIS_WORKER_BUILD_CACHE_FETCH_TIMEOUT="5m0s"
1029export TRAVIS_WORKER_BUILD_CACHE_PUSH_TIMEOUT="5m0s"
1030export TRAVIS_WORKER_BUILD_CACHE_S3_ACCESS_KEY_ID=""
1031export TRAVIS_WORKER_BUILD_CACHE_S3_BUCKET=""
1032export TRAVIS_WORKER_BUILD_CACHE_S3_REGION=""
1033export TRAVIS_WORKER_BUILD_CACHE_S3_SCHEME=""
1034export TRAVIS_WORKER_BUILD_CACHE_S3_SECRET_ACCESS_KEY=""
1035export TRAVIS_WORKER_BUILD_CACHE_TYPE=""
1036export TRAVIS_WORKER_BUILD_FIX_ETC_HOSTS="false"
1037export TRAVIS_WORKER_BUILD_FIX_RESOLV_CONF="false"
1038export TRAVIS_WORKER_BUILD_NPM_CACHE=""
1039export TRAVIS_WORKER_BUILD_PARANOID="false"
1040export TRAVIS_WORKER_BUILD_TRACE_ENABLED="false"
1041export TRAVIS_WORKER_BUILD_TRACE_S3_BUCKET=""
1042export TRAVIS_WORKER_BUILD_TRACE_S3_KEY_PREFIX=""
1043export TRAVIS_WORKER_BUILD_TRACE_S3_REGION=""
1044export TRAVIS_WORKER_DEFAULT_ARCH="amd64"
1045export TRAVIS_WORKER_DEFAULT_DIST="xenial"
1046export TRAVIS_WORKER_DEFAULT_GROUP="stable"
1047export TRAVIS_WORKER_DEFAULT_LANGUAGE="default"
1048export TRAVIS_WORKER_DEFAULT_OS="linux"
1049export TRAVIS_WORKER_FILE_POLLING_INTERVAL="5s"
1050export TRAVIS_WORKER_HARD_TIMEOUT="50m0s"
1051export TRAVIS_WORKER_HOSTNAME="travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2"
1052export TRAVIS_WORKER_HTTP_POLLING_INTERVAL="3s"
1053export TRAVIS_WORKER_HTTP_REFRESH_CLAIM_INTERVAL="5s"
1054export TRAVIS_WORKER_INFRA=""
1055export TRAVIS_WORKER_INITIAL_SLEEP="1s"
1056export TRAVIS_WORKER_JOB_BOARD_URL=""
1057export TRAVIS_WORKER_LIBRATO_EMAIL=""
1058export TRAVIS_WORKER_LIBRATO_SOURCE="travis-job-be83eb65-9963-4cdc-95ea-99c85e4703a2"
1059export TRAVIS_WORKER_LIBRATO_TOKEN=""
1060export TRAVIS_WORKER_LOG_POOL_SIZE="3"
1061export TRAVIS_WORKER_LOG_TIMEOUT="10m0s"
1062export TRAVIS_WORKER_LOGS_AMQP_TLS_CERT=""
1063export TRAVIS_WORKER_LOGS_AMQP_TLS_CERT_PATH=""
1064export TRAVIS_WORKER_LOGS_AMQP_URI=""
1065export TRAVIS_WORKER_MAX_LOG_LENGTH="4500000"
1066export TRAVIS_WORKER_OPENCENSUS_SAMPLING_RATE="1"
1067export TRAVIS_WORKER_OPENCENSUS_TRACING_ENABLED="false"
1068export TRAVIS_WORKER_PAYLOAD_FILTER_EXECUTABLE=""
1069export TRAVIS_WORKER_POOL_SIZE="1"
1070export TRAVIS_WORKER_PROGRESS_TYPE=""
1071export TRAVIS_WORKER_PROVIDER_NAME="docker"
1072export TRAVIS_WORKER_QUEUE_NAME=""
1073export TRAVIS_WORKER_QUEUE_TYPE="amqp"
1074export TRAVIS_WORKER_RABBITMQ_SHARDING="false"
1075export TRAVIS_WORKER_SCRIPT_UPLOAD_TIMEOUT="3m30s"
1076export TRAVIS_WORKER_SENTRY_DSN=""
1077export TRAVIS_WORKER_SENTRY_HOOK_ERRORS="false"
1078export TRAVIS_WORKER_SKIP_SHUTDOWN_ON_LOG_TIMEOUT="false"
1079export TRAVIS_WORKER_STACKDRIVER_PROJECT_ID=""
1080export TRAVIS_WORKER_STACKDRIVER_TRACE_ACCOUNT_JSON=""
1081export TRAVIS_WORKER_STARTUP_TIMEOUT="4m0s"
1082export TRAVIS_WORKER_STATE_UPDATE_POOL_SIZE="3"
1083export TRAVIS_WORKER_TRAVIS_SITE=""
1085# travis-worker provider config:
1086export TRAVIS_WORKER_DOCKER_DEST="[secure].io/[secure]/worker:v6.2.24-6-g4cad8cb"
1087export TRAVIS_WORKER_DOCKER_HUB_TRIGGER_URL="[secure]"
1088export TRAVIS_WORKER_DOCKER_LOGIN_PASSWORD="[secure]"
1089export TRAVIS_WORKER_DOCKER_LOGIN_USERNAME="[secure]"
1090# end travis-worker env config
1091docker
1092ec2
1093fake
1094gce
1095jupiterbrain
1096local
1097lxd
1098openstack
1099The command "make smoke" exited with 0.
before_cache
11000.81s$ make clean
1101./script/clean
1102removed '/home/travis/gopath/bin/travis-worker'
1103removed './backend-coverage.coverprofile'
1104removed './config-coverage.coverprofile'
1105removed './image-coverage.coverprofile'
1106removed './root-coverage.coverprofile'
1107removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker.a'
1108removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/winrm.a'
1109removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/remote.a'
1110removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/metrics.a'
1111removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/backend.a'
1112removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/config.a'
1113removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/errors.a'
1114removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/context.a'
1115removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/image.a'
1116removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/ratelimit.a'
1117removed '/home/travis/gopath/pkg/linux_amd64/github.com/travis-ci/worker/ssh.a'
cache.2
1118store build cache
11190.00s69.69schanges detected, packing new archive
1120uploading PR.673/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
1121cache uploaded
1124Artifacts support disabled for pull requests
1127Done. Your build exited with 1.
Top