master Merge pull request #673 from travis-ci/kw-updated_worker

Push event #4600.2 failed

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