GO update

Konrad Wrzos authored and committed

Nothing here #4598.2 failed

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