lint
AMD64
Go: 1.22.x
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.20s0.13s0.07s0.00s
worker_info
1Worker information
2hostname: 778ef504-f0ec-4829-81a3-2adc9b038a4c@1.worker-n2-com-f8c4bb956-pk6nj.gce-production-1
3version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c
4instance: travis-job-e12748da-3a8e-4272-a2d1-9485804687ef travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)
5startup: 5.665778916s
60.25s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: go
9Build dist: focal
10Build id: 273517237
11Job id: 628972584
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.77s0.42s0.06s0.01s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.36sOK
1650.00s0.03s0.00s0.02s0.14s0.00s0.00s0.00s0.01s0.00s0.14s0.00s1.03s0.00s0.13s6.04s0.00s4.22s0.00s2.28s
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.55s$ git clone --depth=10 https://github.com/travis-ci/worker.git travis-ci/worker
171Cloning into 'travis-ci/worker'...
172$ cd travis-ci/worker
1730.28s$ git fetch origin +refs/pull/677/merge: --depth=10
174From https://github.com/travis-ci/worker
175 * branch refs/pull/677/merge -> FETCH_HEAD
176$ git checkout -qf FETCH_HEAD
178$ travis_export_go 1.22.x github.com/travis-ci/worker
1790.01s
180Setting environment variables from repository settings
181$ export ARTIFACTS_PATHS=./build
182$ export ARTIFACTS_BUCKET=travis-worker-artifacts
183$ export ARTIFACTS_PERMISSIONS=public-read
184$ export ARTIFACTS_KEY=[secure]
185$ export ARTIFACTS_SECRET=[secure]
186$ export PACKAGECLOUD_TOKEN=[secure]
187$ export DOCKER_HUB_TRIGGER_URL=[secure]
188$ export DOCKER_LOGIN_USERNAME=[secure]
189$ export DOCKER_LOGIN_PASSWORD=[secure]
190$ export VAULT_PASS=[secure]
191$ export GCE_PROJECT=[secure]
192$ export VAULT_USERNAME=[secure]
193$ export VAULT_ADDR=[secure]
194$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
196Setting environment variables from .travis.yml
197$ export AMQP_URI="amqp://"
198$ export GOPATH="$HOME/gopath"
199$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
200$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
201$ export GO15VENDOREXPERIMENT='1'
202$ export REDIS_URL="redis://"
2040.38s$ travis_setup_go
205$ export GOPATH="/home/travis/gopath"
206$ 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"
207$ export GO111MODULE="auto"
208go: downloading golang.org/dl v0.0.0-20241203173033-893f8de435ad
209go: golang.org/dl/go1.22.x@latest: module golang.org/dl@latest found (v0.0.0-20241203173033-893f8de435ad), but does not contain package golang.org/dl/go1.22.x
210go1.22.x: command not found
211go1.22.x: command not found
212$ export GOROOT=
213$ 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
214Setting up build cache
215$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2160.17s$ Installing caching utilities
2170.00s4.51sattempting to download cache archive
218fetching PR.677/cache--linux-focal-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.22.x.tgz
219found cache
2200.00s26.85sadding /home/travis/build/travis-ci/worker/vendor to cache
221creating directory /home/travis/build/travis-ci/worker/vendor
222adding /home/travis/.cache/go-build to cache
223adding /home/travis/gopath/bin to cache
224adding /home/travis/gopath/pkg/mod to cache
226$ gimme version
227v1.5.4
228$ go version
229go version go1.23.0 linux/amd64
go.env
230$ go env
231GO111MODULE='auto'
232GOARCH='amd64'
233GOBIN=''
234GOCACHE='/home/travis/.cache/go-build'
235GOENV='/home/travis/.config/go/env'
236GOEXE=''
237GOEXPERIMENT=''
238GOFLAGS=''
239GOHOSTARCH='amd64'
240GOHOSTOS='linux'
241GOINSECURE=''
242GOMODCACHE='/home/travis/gopath/pkg/mod'
243GONOPROXY=''
244GONOSUMDB=''
245GOOS='linux'
246GOPATH='/home/travis/gopath'
247GOPRIVATE=''
248GOPROXY='https://proxy.golang.org,direct'
249GOROOT='/home/travis/.gimme/versions/go1.23.0.linux.amd64'
250GOSUMDB='sum.golang.org'
251GOTMPDIR=''
252GOTOOLCHAIN='auto'
253GOTOOLDIR='/home/travis/.gimme/versions/go1.23.0.linux.amd64/pkg/tool/linux_amd64'
254GOVCS=''
255GOVERSION='go1.23.0'
256GODEBUG=''
257GOTELEMETRY='local'
258GOTELEMETRYDIR='/home/travis/.config/go/telemetry'
259GCCGO='gccgo'
260GOAMD64='v1'
261AR='ar'
262CC='gcc'
263CXX='g++'
264CGO_ENABLED='1'
265GOMOD='/home/travis/build/travis-ci/worker/go.mod'
266GOWORK=''
267CGO_CFLAGS='-O2 -g'
268CGO_CPPFLAGS=''
269CGO_CXXFLAGS='-O2 -g'
270CGO_FFLAGS='-O2 -g'
271CGO_LDFLAGS='-O2 -g'
272PKG_CONFIG='pkg-config'
273GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2246923950=/tmp/go-build -gno-record-gcc-switches'
install
2740.01s$ travis_install_go_dependencies 1.22.x -v
275Makefile detected
2762.60s$ make deps
277if ! shfmt -version 2>/dev/null; then \
278 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \
279 chmod +x /home/travis/gopath/bin/shfmt; \
280 shfmt -version; \
281fi
282v3.8.0
283curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin
284golangci/golangci-lint info checking GitHub for latest tag
285golangci/golangci-lint info found version: 1.62.2 for v1.62.2/linux/amd64
286golangci/golangci-lint info installed /home/travis/bin/golangci-lint
287if ! command -v /bin/golangci-lint &>/dev/null; then \
288 /home/travis/bin/golangci-lint --version; \
289fi
290golangci-lint has version 1.62.2 built with go1.23.3 from 89476e7a on 2024-11-25T14:16:01Z
291GO111MODULE=on go mod download
292GO111MODULE=on go mod vendor
293touch .deps-fetched
294The command "make deps" exited with 0.
29549.60s$ make lintall
296./script/lintall
297~/build/travis-ci/worker ~/build/travis-ci/worker
298+/home/travis/bin/golangci-lint run
299+git grep -l '^#!/usr/bin/env bash'
300+xargs shfmt -i 2 -w
301+git grep -l '^#!/usr/bin/env bash'
302+xargs shellcheck
303The command "make lintall" exited with 0.
before_cache
3040.18s$ make clean
305./script/clean
cache.2
306store build cache
3070.00s58.64schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/go-build/00/00634dfb4613ebb3814e112428d4439597c0b81599bcb3164b5b5656166fa49e-d
308/home/travis/.cache/go-build/00/0079e538b27d9bebd42da13511d9ea342a2e7d4a29935e1a9e7c71961199b6c0-d
309/home/travis/.cache/go-build/00/00946af1040b34ad6d7b17e3ff09c198bdd4f157e941704bf2e28ae7b9875867-d
310/home/travis/.cache/go-build/02/020002528c1012bf70ccdba21fd90fd10c02a7f3f5c84c65903670c6c3ce3a23-a
311/home/travis/.cache/go-build/03/031082654e50dbbf51df2573701b0166522ae5a2f9ef58f4028a06ded7892d7d-a
312/home/travis/.cache/go-build/06/06372fed13d9f10105f2505041c0750695a147e05fa466df2bd77f28719403f0-a
313/home/travis/.cache/go-build/0e/0ee030c1dfac61a3094913319bc4ba36f9e8ad6d5d678822d92674ef8d744aad-a
314/home/travis/.cache/go-build/10/10751955d6d442a0e85391acbbc022398c95ad0fb1917064696081360a856170-a
315/home/travis/.cache/go-build/10/109c365d1fc2b6384e7d47c79cf27a82a5621c89bcf900692a3320d2f803f3c7-a
316/home/travis/.cache/go-build/10/10b0709935bbdb5a308b97bf016d1e23cff5cf54085cee4ba61fdba366ee9a09-d
317/home/trav\n...
318changes detected, packing new archive
319gzip: warning: GZIP environment variable is deprecated; use an alias or script
320uploading PR.677/cache--linux-focal-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.22.x.tgz
321cache uploaded
324Done. Your build exited with 0.
Top