master Update .travis.yml

Commenting google-cloud-sdk snap since it's available on Focal dist

Konrad Wrzos avatar Konrad Wrzos

Push event #4610.1 passed

  • Ran for
lint
AMD64
Go: 1.22.x
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.19s0.11s0.06s0.00s
worker_info
1Worker information
2hostname: f1f30b32-2c39-441e-9fab-bbdab7ddcc50@1.worker-n2-com-696d86f5d9-6fb76.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-5fdc0f1e-ae18-46d5-a789-78f8b19727c1 travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)
5startup: 6.035649873s
60.21s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: go
9Build dist: focal
10Build id: 272603751
11Job id: 626809900
12Runtime kernel version: 5.15.0-1068-gcp
13VM: default
14travis-build version: 6b157a1c
15Build image provisioning date and time
16Fri 13 Sep 2024 09:58:48 AM UTC
17Operating System Details
18Distributor ID: Ubuntu
19Description: Ubuntu 20.04.6 LTS
20Release: 20.04
21Codename: focal
22Systemd Version
23systemd 245 (245.4-4ubuntu3.23)
24Cookbooks Version
2539734fe https://github.com/travis-ci/travis-cookbooks/tree/39734fe
26git version
27git version 2.46.0
28bash version
29GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
30gcc version
31gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
32docker version
33Client:
34 Version: 24.0.7
35 API version: 1.43
36 Go version: go1.21.1
37 Git commit: 24.0.7-0ubuntu2~20.04.1
38 Built: Wed Mar 13 20:29:24 2024
39 OS/Arch: linux/amd64
40 Context: default
42Server:
43 Engine:
44 Version: 24.0.7
45 API version: 1.43 (minimum version 1.12)
46 Go version: go1.21.1
47 Git commit: 24.0.7-0ubuntu2~20.04.1
48 Built: Wed Mar 13 20:29:24 2024
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.7.12
53 GitCommit:
54 runc:
55 Version: 1.1.12-0ubuntu2~20.04.1
56 GitCommit:
57 docker-init:
58 Version: 0.19.0
59 GitCommit:
60clang version
61clang version 18.1.8
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.7.7
72cmake version
73cmake version 3.29.0
74heroku version
75heroku/9.2.1 linux-x64 node-v16.20.2
76imagemagick version
77Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
78md5deep version
794.4
80mercurial version
81version 6.5.2
82mysql version
83mysql Ver 8.0.39-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
84openssl version
85OpenSSL 1.1.1f 31 Mar 2020
86packer version
87Packer v1.11.2
88postgresql client version
89psql (PostgreSQL) 13.16 (Ubuntu 13.16-1.pgdg20.04+1)
90ragel version
91Ragel State Machine Compiler version 6.10 March 2017
92sudo version
931.8.31
94gzip version
95gzip 1.10
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 04 2024 03:11:27)
100iptables version
101iptables v1.8.4 (legacy)
102curl version
103curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
104wget version
105GNU Wget 1.20.3 built on linux-gnu.
106rsync version
107rsync version 3.1.3 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.40.1
112perlbrew version
113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
114phpenv version
115rbenv 1.3.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.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
120default python version
121Python 3.7.17
122ElasticSearch version
1237.16.3
124Installed Firefox version
125firefox 99.0
126MongoDB version
127MongoDB 4.4.29
128PhantomJS version
1292.1.1
130Redis version
131redis-server 7.4.0
132Pre-installed Go versions
1331.23.0
134mvn version
135Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
136gradle version
137Gradle 8.3!
138lein version
139Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM
140Pre-installed Node.js versions
141v10.24.1
142v12.22.12
143v14.21.3
144v16.15
145v16.20.2
146v18.20.3
147v18.20.4
148v20.17.0
149v4.9.1
150v6.17.1
151v8.17.0
152phpenv versions
153 system
154 7.4
155* 7.4.6 (set by /home/travis/.phpenv/version)
156 hhvm-stable
157 hhvm
158composer --version
159Composer version 1.10.6 2020-05-06 10:28:10
160Pre-installed Ruby versions
161ruby-2.7.6
162ruby-3.3.5
1640.02s0.01s0.91s0.29s0.05s0.01s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.48sOK
1650.00s0.04s0.01s0.02s0.19s0.00s0.00s0.00s0.01s0.00s0.16s0.01s0.97s0.00s0.12s6.04s0.00s3.95s0.00s2.17s
docker_mtu_and_registry_mirrors
Docker
resolvconf
services
1660.01s$ sudo systemctl start rabbitmq-server
1670.01s$ sudo systemctl start docker
1683.09s$ sudo systemctl start redis-server
git.checkout
1700.01s0.56s$ git clone --depth=10 --branch=master https://github.com/travis-ci/worker.git travis-ci/worker
171Cloning into 'travis-ci/worker'...
172$ cd travis-ci/worker
173$ git checkout -qf c32b553e81363378d09787f52103ea9bcadf253c
175$ travis_export_go 1.22.x github.com/travis-ci/worker
1760.01s
177Setting environment variables from repository settings
178$ export ARTIFACTS_PATHS=./build
179$ export ARTIFACTS_BUCKET=travis-worker-artifacts
180$ export ARTIFACTS_PERMISSIONS=public-read
181$ export ARTIFACTS_KEY=[secure]
182$ export ARTIFACTS_SECRET=[secure]
183$ export PACKAGECLOUD_TOKEN=[secure]
184$ export DOCKER_HUB_TRIGGER_URL=[secure]
185$ export DOCKER_LOGIN_USERNAME=[secure]
186$ export DOCKER_LOGIN_PASSWORD=[secure]
187$ export VAULT_PASS=[secure]
188$ export GCE_PROJECT=[secure]
189$ export VAULT_USERNAME=[secure]
190$ export VAULT_ADDR=[secure]
191$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
193Setting environment variables from .travis.yml
194$ export AMQP_URI="amqp://"
195$ export GOPATH="$HOME/gopath"
196$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
197$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
198$ export GO15VENDOREXPERIMENT='1'
199$ export REDIS_URL="redis://"
2010.36s$ travis_setup_go
202$ export GOPATH="/home/travis/gopath"
203$ export PATH="/home/travis/gopath/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/.nvm/versions/node/v18.20.3/bin:/home/travis/.kiex/elixirs/elixir-1.7.4/bin:/home/travis/.kiex/bin:/home/travis/.rvm/gems/ruby-3.3.5/bin:/home/travis/.rvm/gems/ruby-3.3.5@global/bin:/home/travis/.rvm/rubies/ruby-3.3.5/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin"
204$ export GO111MODULE="auto"
205go: downloading golang.org/dl v0.0.0-20241001165935-bedb0f791d00
206go: golang.org/dl/go1.22.x@latest: module golang.org/dl@latest found (v0.0.0-20241001165935-bedb0f791d00), but does not contain package golang.org/dl/go1.22.x
207go1.22.x: command not found
208go1.22.x: command not found
209$ export GOROOT=
210$ export PATH=/bin:/home/travis/gopath/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/.nvm/versions/node/v18.20.3/bin:/home/travis/.kiex/elixirs/elixir-1.7.4/bin:/home/travis/.kiex/bin:/home/travis/.rvm/gems/ruby-3.3.5/bin:/home/travis/.rvm/gems/ruby-3.3.5@global/bin:/home/travis/.rvm/rubies/ruby-3.3.5/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin:/home/travis/.yarn/bin
cache.1
211Setting up build cache
212$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2130.16s$ Installing caching utilities
2140.00s3.18sattempting to download cache archive
215fetching master/cache--linux-focal-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.22.x.tgz
216found cache
2170.00s21.05sadding /home/travis/build/travis-ci/worker/vendor to cache
218creating directory /home/travis/build/travis-ci/worker/vendor
219adding /home/travis/.cache/go-build to cache
220adding /home/travis/gopath/bin to cache
221adding /home/travis/gopath/pkg/mod to cache
223$ gimme version
224v1.5.4
225$ go version
226go version go1.23.0 linux/amd64
go.env
227$ go env
228GO111MODULE='auto'
229GOARCH='amd64'
230GOBIN=''
231GOCACHE='/home/travis/.cache/go-build'
232GOENV='/home/travis/.config/go/env'
233GOEXE=''
234GOEXPERIMENT=''
235GOFLAGS=''
236GOHOSTARCH='amd64'
237GOHOSTOS='linux'
238GOINSECURE=''
239GOMODCACHE='/home/travis/gopath/pkg/mod'
240GONOPROXY=''
241GONOSUMDB=''
242GOOS='linux'
243GOPATH='/home/travis/gopath'
244GOPRIVATE=''
245GOPROXY='https://proxy.golang.org,direct'
246GOROOT='/home/travis/.gimme/versions/go1.23.0.linux.amd64'
247GOSUMDB='sum.golang.org'
248GOTMPDIR=''
249GOTOOLCHAIN='auto'
250GOTOOLDIR='/home/travis/.gimme/versions/go1.23.0.linux.amd64/pkg/tool/linux_amd64'
251GOVCS=''
252GOVERSION='go1.23.0'
253GODEBUG=''
254GOTELEMETRY='local'
255GOTELEMETRYDIR='/home/travis/.config/go/telemetry'
256GCCGO='gccgo'
257GOAMD64='v1'
258AR='ar'
259CC='gcc'
260CXX='g++'
261CGO_ENABLED='1'
262GOMOD='/home/travis/build/travis-ci/worker/go.mod'
263GOWORK=''
264CGO_CFLAGS='-O2 -g'
265CGO_CPPFLAGS=''
266CGO_CXXFLAGS='-O2 -g'
267CGO_FFLAGS='-O2 -g'
268CGO_LDFLAGS='-O2 -g'
269PKG_CONFIG='pkg-config'
270GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1392986438=/tmp/go-build -gno-record-gcc-switches'
install
2710.00s$ travis_install_go_dependencies 1.22.x -v
272Makefile detected
2732.82s$ make deps
274if ! shfmt -version 2>/dev/null; then \
275 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \
276 chmod +x /home/travis/gopath/bin/shfmt; \
277 shfmt -version; \
278fi
279v3.8.0
280curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin
281golangci/golangci-lint info checking GitHub for latest tag
282golangci/golangci-lint info found version: 1.61.0 for v1.61.0/linux/amd64
283golangci/golangci-lint info installed /home/travis/bin/golangci-lint
284if ! command -v /bin/golangci-lint &>/dev/null; then \
285 /home/travis/bin/golangci-lint --version; \
286fi
287golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z
288GO111MODULE=on go mod download
289GO111MODULE=on go mod vendor
290touch .deps-fetched
291The command "make deps" exited with 0.
29244.57s$ make lintall
293./script/lintall
294~/build/travis-ci/worker ~/build/travis-ci/worker
295+/home/travis/bin/golangci-lint run
296+git grep -l '^#!/usr/bin/env bash'
297+xargs shfmt -i 2 -w
298+git grep -l '^#!/usr/bin/env bash'
299+xargs shellcheck
300The command "make lintall" exited with 0.
before_cache
3010.14s$ make clean
302./script/clean
cache.2
303store build cache
3040.00s46.47schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/go-build/00/00634dfb4613ebb3814e112428d4439597c0b81599bcb3164b5b5656166fa49e-d
305/home/travis/.cache/go-build/00/0079e538b27d9bebd42da13511d9ea342a2e7d4a29935e1a9e7c71961199b6c0-d
306/home/travis/.cache/go-build/07/0704b1f159609c5ad511552b514e7b2bfafe0f47fcf174114b40a0d025c3d78f-a
307/home/travis/.cache/go-build/09/09a3347a4c7f8e33b8fe7ab69d5a0e662957740281f728f58d83af99a3024ae9-d
308/home/travis/.cache/go-build/0e/0e978f34f931274db9f037fff853f2fe2b22686650e456f2cc5c8b33335b3c2c-a
309/home/travis/.cache/go-build/10/10b0709935bbdb5a308b97bf016d1e23cff5cf54085cee4ba61fdba366ee9a09-d
310/home/travis/.cache/go-build/10/10ec2dc35944d54ff6088736f817b9e720640278948457958087329b5b2cd0da-a
311/home/travis/.cache/go-build/11/1108a81b2e696181901466f105d16f00021e80f8c6fac9659c0eef956dae1fe1-a
312/home/travis/.cache/go-build/11/111d4225e78f18c7d9184d8b02bb47384275f07090f0dde82849e2623d8dc994-a
313/home/travis/.cache/go-build/14/1431e4c248180a9239f8da60f6ec72bb1a8f53231ee3387a9037a256aed10249-d
314/home/trav\n...
315changes detected, packing new archive
316gzip: warning: GZIP environment variable is deprecated; use an alias or script
317uploading master/cache--linux-focal-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.22.x.tgz
318cache uploaded
321Done. Your build exited with 0.
Top