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

Push event #4600.4 passed

  • Ran for
AMD64
no language set
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.22s0.12s0.06s
worker_info
1Worker information
2hostname: 05fd4f9f-f2dc-41c5-a528-d4d1d238057e@1.worker-n2-com-5bd78b4b68-h4r7w.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-906630e0-aead-4683-8c7e-b79c5b22240a travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)
5startup: 6.134744804s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: go
9Build dist: xenial
10Build id: 271424320
11Job id: 624052196
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.01s0.74s0.18s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.26sOK
1730.00s0.02s0.00s0.01s0.24s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.83s0.00s0.11s14.92s0.00s3.55s0.00s3.62s
docker_mtu_and_registry_mirrors
resolvconf
apt
1747.06s$ travis_apt_get_update
175Installing APT Packages
1760.56s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install docker-ce
177Reading package lists...
178Building dependency tree...
179Reading state information...
180docker-ce is already the newest version (5:20.10.7~3-0~ubuntu-xenial).
1810 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
snap
183Installing 2 Snaps
1849.22s$ sudo snap install core
1852024-07-15T11:52:14Z INFO Waiting for automatic snapd restart...
186core 16-2.61.4-20240607 from Canonical* installed
18717.50s$ sudo snap install google-cloud-sdk --classic
188google-cloud-sdk 483.0.0 from Cloud SDK (google-cloud-sdk**) installed
18911.04s$ sudo snap install vault
190vault (1.16/stable) 1.16.3 from Canonical** installed
1910.05s$ sudo snap list
192Name Version Rev Tracking Publisher Notes
193core 16-2.61.4-20240607 17200 latest/stable canonical** core
194core20 20240416 2318 latest/stable canonical** base
195core22 20240408 1380 latest/stable canonical** base
196google-cloud-sdk 483.0.0 464 latest/stable google-cloud-sdk** classic
197vault 1.16.3 2300 1.16/stable canonical** -
services
2000.01s$ sudo systemctl start rabbitmq-server
2010.01s$ sudo systemctl start docker
2023.07s$ sudo systemctl start redis-server
git.checkout
2040.01s0.59s$ git clone --depth=10 --branch=master https://github.com/travis-ci/worker.git travis-ci/worker
205Cloning into 'travis-ci/worker'...
206$ cd travis-ci/worker
207$ git checkout -qf 098ca78612c4c91c488169d6a2c94fbeee1fb89d
209$ travis_export_go 1.18.x github.com/travis-ci/worker
2100.01s
211Setting environment variables from repository settings
212$ export ARTIFACTS_PATHS=./build
213$ export ARTIFACTS_BUCKET=travis-worker-artifacts
214$ export ARTIFACTS_PERMISSIONS=public-read
215$ export ARTIFACTS_KEY=[secure]
216$ export ARTIFACTS_SECRET=[secure]
217$ export PACKAGECLOUD_TOKEN=[secure]
218$ export DOCKER_HUB_TRIGGER_URL=[secure]
219$ export DOCKER_LOGIN_USERNAME=[secure]
220$ export DOCKER_LOGIN_PASSWORD=[secure]
221$ export VAULT_PASS=[secure]
222$ export GCE_PROJECT=[secure]
223$ export VAULT_USERNAME=[secure]
224$ export VAULT_ADDR=[secure]
225$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
227Setting environment variables from .travis.yml
228$ export AMQP_URI="amqp://"
229$ export GOPATH="$HOME/gopath"
230$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
231$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
232$ export GO15VENDOREXPERIMENT='1'
233$ export REDIS_URL="redis://"
2354.47s$ travis_setup_go
236go version go1.18.10 linux/amd64
237$ export GOPATH="/home/travis/gopath"
238$ 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"
239$ export GO111MODULE="auto"
cache.1
240Setting up build cache
241$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2420.26s$ Installing caching utilities
2430.00s1.35sattempting to download cache archive
244fetching master/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
245fetching master/cache-linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
246fetching master/cache--go-1.18.x.tgz
247could not download cache
2480.01s1.19sadding /home/travis/gopath/src/github.com/travis-ci/worker/vendor to cache
249creating directory /home/travis/gopath/src/github.com/travis-ci/worker/vendor
250adding /home/travis/.cache/go-build to cache
251adding /home/travis/gopath/bin to cache
252adding /home/travis/gopath/pkg/mod to cache
253creating directory /home/travis/gopath/pkg/mod
255$ gimme version
256v1.5.4
257$ go version
258go version go1.18.10 linux/amd64
go.env
259$ go env
260GO111MODULE="auto"
261GOARCH="amd64"
262GOBIN=""
263GOCACHE="/home/travis/.cache/go-build"
264GOENV="/home/travis/.config/go/env"
265GOEXE=""
266GOEXPERIMENT=""
267GOFLAGS=""
268GOHOSTARCH="amd64"
269GOHOSTOS="linux"
270GOINSECURE=""
271GOMODCACHE="/home/travis/gopath/pkg/mod"
272GONOPROXY=""
273GONOSUMDB=""
274GOOS="linux"
275GOPATH="/home/travis/gopath"
276GOPRIVATE=""
277GOPROXY="https://proxy.golang.org,direct"
278GOROOT="/home/travis/.gimme/versions/go1.18.10.linux.amd64"
279GOSUMDB="sum.golang.org"
280GOTMPDIR=""
281GOTOOLDIR="/home/travis/.gimme/versions/go1.18.10.linux.amd64/pkg/tool/linux_amd64"
282GOVCS=""
283GOVERSION="go1.18.10"
284GCCGO="gccgo"
285GOAMD64="v1"
286AR="ar"
287CC="gcc"
288CXX="g++"
289CGO_ENABLED="1"
290GOMOD="/home/travis/gopath/src/github.com/travis-ci/worker/go.mod"
291GOWORK=""
292CGO_CFLAGS="-g -O2"
293CGO_CPPFLAGS=""
294CGO_CXXFLAGS="-g -O2"
295CGO_FFLAGS="-g -O2"
296CGO_LDFLAGS="-g -O2"
297PKG_CONFIG="pkg-config"
298GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2212995029=/tmp/go-build -gno-record-gcc-switches"
install
2990.03s$ travis_install_go_dependencies 1.18.x -v
300Makefile detected
3013.92s$ vault login --no-print -method=userpass username=$VAULT_USERNAME password=$VAULT_PASS
302The command "vault login --no-print -method=userpass username=$VAULT_USERNAME password=$VAULT_PASS" exited with 0.
3030.35s$ vault kv get -field=secret gcp/[secure]-sa-key > /tmp/[secure]_key.json;
304The command "vault kv get -field=secret gcp/[secure]-sa-key > /tmp/[secure]_key.json;" exited with 0.
3051.83s$ gcloud -q auth activate-service-account --key-file /tmp/[secure]_key.json;
306Activated service account credentials for: [sa-docker-images@[secure].iam.gserviceaccount.com]
307The command "gcloud -q auth activate-service-account --key-file /tmp/[secure]_key.json;" exited with 0.
3081.32s$ gcloud -q config set project ${GCE_PROJECT}
309Updated property [core/project].
310WARNING: You do not appear to have access to project [[secure]] or it does not exist.
311The command "gcloud -q config set project ${GCE_PROJECT}" exited with 0.
3121.45s$ gcloud auth configure-docker
313Adding credentials for all GCR repositories.
314WARNING: A long list of credential helpers may cause delays running 'docker build'. We recommend passing the registry name to configure only the registry you are using.
315Docker configuration file updated.
316The command "gcloud auth configure-docker" exited with 0.
317187.95s$ make docker-build
318docker build -t [secure].io/[secure]/worker:v6.2.24-6-g098ca78 .
319Sending build context to Docker daemon 1.246MB
320Step 1/16 : FROM golang:1.18 as builder
3211.18: Pulling from library/golang
322bbeef03cda1f: Pulling fs layer
323f049f75f014e: Pulling fs layer
32456261d0e6b05: Pulling fs layer
3259bd150679dbd: Pulling fs layer
326bfcb68b5bd10: Pulling fs layer
32706d0c5d18ef4: Pulling fs layer
328cc7973a07a5b: Pulling fs layer
3299bd150679dbd: Waiting
330bfcb68b5bd10: Waiting
33106d0c5d18ef4: Waiting
332cc7973a07a5b: Waiting
333f049f75f014e: Verifying Checksum
334f049f75f014e: Download complete
33556261d0e6b05: Verifying Checksum
33656261d0e6b05: Download complete
337bbeef03cda1f: Verifying Checksum
338bbeef03cda1f: Download complete
3399bd150679dbd: Verifying Checksum
3409bd150679dbd: Download complete
341cc7973a07a5b: Verifying Checksum
342cc7973a07a5b: Download complete
343bfcb68b5bd10: Verifying Checksum
344bfcb68b5bd10: Download complete
34506d0c5d18ef4: Verifying Checksum
34606d0c5d18ef4: Download complete
347bbeef03cda1f: Pull complete
348f049f75f014e: Pull complete
34956261d0e6b05: Pull complete
3509bd150679dbd: Pull complete
351bfcb68b5bd10: Pull complete
35206d0c5d18ef4: Pull complete
353cc7973a07a5b: Pull complete
354Digest: sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da
355Status: Downloaded newer image for golang:1.18
356 ---> c37a56a6d654
357Step 2/16 : MAINTAINER Travis CI GmbH <support+travis-worker-docker-image@travis-ci.org>
358 ---> Running in 2826f9e1a64e
359Removing intermediate container 2826f9e1a64e
360 ---> 183408b2131d
361Step 3/16 : COPY . /go/src/github.com/travis-ci/worker
362 ---> 4611320ca635
363Step 4/16 : WORKDIR /go/src/github.com/travis-ci/worker
364 ---> Running in 4f7e4007d8c9
365Removing intermediate container 4f7e4007d8c9
366 ---> d7dd2d190ecc
367Step 5/16 : ENV CGO_ENABLED 0
368 ---> Running in 8288af0d4186
369Removing intermediate container 8288af0d4186
370 ---> a9fcbe226c25
371Step 6/16 : RUN make build
372 ---> Running in 7fd15adbca63
373GO111MODULE=on go mod download
374GO111MODULE=on go mod vendor
375touch .deps-fetched
376go 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:54:13+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/...
377Removing intermediate container 7fd15adbca63
378 ---> f6b50f477de4
379Step 7/16 : FROM alpine:latest
380latest: Pulling from library/alpine
381ec99f8b99825: Pulling fs layer
382ec99f8b99825: Download complete
383ec99f8b99825: Pull complete
384Digest: sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
385Status: Downloaded newer image for alpine:latest
386 ---> a606584aa9aa
387Step 8/16 : RUN apk --no-cache add ca-certificates curl bash
388 ---> Running in ace7197f4927
389fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
390fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
391(1/14) Installing ncurses-terminfo-base (6.4_p20240420-r0)
392(2/14) Installing libncursesw (6.4_p20240420-r0)
393(3/14) Installing readline (8.2.10-r0)
394(4/14) Installing bash (5.2.26-r0)
395Executing bash-5.2.26-r0.post-install
396(5/14) Installing ca-certificates (20240705-r0)
397(6/14) Installing brotli-libs (1.1.0-r2)
398(7/14) Installing c-ares (1.28.1-r0)
399(8/14) Installing libunistring (1.2-r0)
400(9/14) Installing libidn2 (2.3.7-r0)
401(10/14) Installing nghttp2-libs (1.62.1-r0)
402(11/14) Installing libpsl (0.21.5-r1)
403(12/14) Installing zstd-libs (1.5.6-r0)
404(13/14) Installing libcurl (8.8.0-r0)
405(14/14) Installing curl (8.8.0-r0)
406Executing busybox-1.36.1-r29.trigger
407Executing ca-certificates-20240705-r0.trigger
408OK: 15 MiB in 28 packages
409Removing intermediate container ace7197f4927
410 ---> 6830343583c7
411Step 9/16 : COPY --from=builder /go/bin/travis-worker /usr/local/bin/travis-worker
412 ---> 21dc446ba48d
413Step 10/16 : COPY --from=builder /go/src/github.com/travis-ci/worker/systemd.service /app/systemd.service
414 ---> 2363731dc5d4
415Step 11/16 : COPY --from=builder /go/src/github.com/travis-ci/worker/systemd-wrapper /app/systemd-wrapper
416 ---> 741c1b156a3b
417Step 12/16 : COPY --from=builder /go/src/github.com/travis-ci/worker/.docker-entrypoint.sh /docker-entrypoint.sh
418 ---> e5d17760f304
419Step 13/16 : VOLUME ["/var/tmp"]
420 ---> Running in 06ea653fa7ae
421Removing intermediate container 06ea653fa7ae
422 ---> 178d0c3bc057
423Step 14/16 : STOPSIGNAL SIGINT
424 ---> Running in c6e5afca269e
425Removing intermediate container c6e5afca269e
426 ---> ffa6e006bc09
427Step 15/16 : ENTRYPOINT ["/docker-entrypoint.sh"]
428 ---> Running in 8ac2231b1998
429Removing intermediate container 8ac2231b1998
430 ---> ea612dba6dca
431Step 16/16 : CMD ["/usr/local/bin/travis-worker"]
432 ---> Running in 9d86233a40a7
433Removing intermediate container 9d86233a40a7
434 ---> 143ccd774248
435Successfully built 143ccd774248
436Successfully tagged [secure].io/[secure]/worker:v6.2.24-6-g098ca78
437The command "make docker-build" exited with 0.
4386.14s$ make docker-push
439./script/docker-push
440time=2024-07-15T11:56:19Z msg="docker login"
441WARNING! Your password will be stored unencrypted in /home/travis/.docker/config.json.
442Configure a credential helper to remove this warning. See
443https://docs.docker.com/engine/reference/commandline/login/#credentials-store
445Login Succeeded
446time=2024-07-15T11:56:20Z msg="docker push" dest=[secure].io/[secure]/worker:v6.2.24-6-g098ca78 attempt=1
447The push refers to repository [[secure].io/[secure]/worker]
4487164427b7230: Preparing
449bdbcc5c676b3: Preparing
45069a85193b373: Preparing
451f0094c0ff7ae: Preparing
452e629e2ea9a00: Preparing
45394e5f06ff8e3: Preparing
45494e5f06ff8e3: Waiting
455bdbcc5c676b3: Pushed
4567164427b7230: Pushed
45769a85193b373: Pushed
45894e5f06ff8e3: Layer already exists
459e629e2ea9a00: Pushed
460f0094c0ff7ae: Pushed
461v6.2.24-6-g098ca78: digest: sha256:646d6fb8b6765654e485520de4d53f8b691809f5469c64f81a821802542340cd size: 1572
462time=2024-07-15T11:56:25Z msg="docker push complete" dest=[secure].io/[secure]/worker:v6.2.24-6-g098ca78 duration=5s
463The command "make docker-push" exited with 0.
before_cache
4640.05s$ make clean
465./script/clean
cache.2
466store build cache
4670.00s1.41schanges detected, packing new archive
468uploading master/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
469cache uploaded
472Done. Your build exited with 0.
Top