Push event #4595.1 failed

  • Ran for
lint
AMD64
Go: 1.18.x
Git
Raw log
Scroll to End of Log
0.00sUpdating gimme0.13s0.09s0.06s
worker_info
1Worker information
2hostname: 4c419424-bf6b-40e1-a316-b5c0f36ea6d5@1.worker-n2-com-779d777f7b-r6ww4.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-315294d0-19cf-4344-acb3-7c56954f92be travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.432593392s
60.14s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: go
9Build dist: xenial
10Build id: 271082094
11Job id: 623233950
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: 3484ecfe
14Build image provisioning date and time
15Thu May 18 10:07:51 UTC 2023
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff
25git version
26git version 2.40.1
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.6
64bats version
65Bats 0.4.0
66shellcheck version
670.7.2
68shfmt version
69v3.2.1
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.1.3 linux-x64 node-v16.19.0
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.3
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 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
120default python version
121Python 3.7.13
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.21
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 6.0.6
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.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
144gradle version
145Gradle 7.5.1!
146lein version
147Leiningen 2.10.0 on Java 11.0.15.1 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.0
155v18.16.0
156v4.9.1
157v6.17.1
158v8.17.0
159phpenv versions
160 system
161 7.4
162* 7.4.30 (set by /home/travis/.phpenv/version)
163 hhvm-stable
164 hhvm
165composer --version
166Composer version 2.3.7 2022-06-06 16:43:28
167Pre-installed Ruby versions
168ruby-2.7.6
169ruby-3.0.4
170ruby-3.1.2
1720.01s0.01s0.88s23.00s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.33sOK
1730.01s0.02s0.00s0.01s0.26s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.87s0.00s0.11s6.03s0.00s3.66s0.00s2.44s
docker_mtu_and_registry_mirrors
resolvconf
services
1740.01s$ sudo systemctl start rabbitmq-server
175Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.
1760.01s$ sudo systemctl start docker
1773.07s$ sudo systemctl start redis-server
git.checkout
1790.00s0.64s$ git clone --depth=10 --branch=kw-updated_worker https://github.com/travis-ci/worker.git travis-ci/worker
180Cloning into 'travis-ci/worker'...
181$ cd travis-ci/worker
182$ git checkout -qf 47a1ee1482e1378510d5d36d9d193183244057b2
184$ travis_export_go 1.18.x github.com/travis-ci/worker
1850.02s
186Setting environment variables from repository settings
187$ export ARTIFACTS_PATHS=./build
188$ export ARTIFACTS_BUCKET=travis-worker-artifacts
189$ export ARTIFACTS_PERMISSIONS=public-read
190$ export ARTIFACTS_KEY=[secure]
191$ export ARTIFACTS_SECRET=[secure]
192$ export PACKAGECLOUD_TOKEN=[secure]
193$ export DOCKER_HUB_TRIGGER_URL=[secure]
194$ export DOCKER_LOGIN_USERNAME=[secure]
195$ export DOCKER_LOGIN_PASSWORD=[secure]
196$ export VAULT_PASS=[secure]
197$ export GCE_PROJECT=[secure]
198$ export VAULT_USERNAME=[secure]
199$ export VAULT_ADDR=[secure]
200$ export CLOUDSDK_CORE_DISABLE_PROMPTS=[secure]
202Setting environment variables from .travis.yml
203$ export AMQP_URI="amqp://"
204$ export GOPATH="$HOME/gopath"
205$ export PATH="bin:$HOME/gopath/bin:$HOME/bin:$PATH"
206$ export CHECKOUT_ROOT="$HOME/gopath/src/github.com/travis-ci/worker"
207$ export GO15VENDOREXPERIMENT='1'
208$ export REDIS_URL="redis://"
2105.67s$ travis_setup_go
211go version go1.18.10 linux/amd64
212$ export GOPATH="/home/travis/gopath"
213$ 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-2.7.6/bin:/home/travis/.rvm/gems/ruby-2.7.6@global/bin:/home/travis/.rvm/rubies/ruby-2.7.6/bin:/home/travis/gopath/bin:/home/travis/.gimme/versions/go1.18.4.linux.amd64/bin:/usr/local/maven-3.8.8/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"
214$ export GO111MODULE="auto"
cache.1
215Setting up build cache
216$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2170.28s$ Installing caching utilities
2180.01s2.83sattempting to download cache archive
219fetching kw-updated_worker/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
220found cache
2210.00s13.34sadding /home/travis/gopath/src/github.com/travis-ci/worker/vendor to cache
222creating directory /home/travis/gopath/src/github.com/travis-ci/worker/vendor
223adding /home/travis/.cache/go-build to cache
224adding /home/travis/gopath/bin to cache
225adding /home/travis/gopath/pkg/mod to cache
226creating directory /home/travis/gopath/pkg/mod
228$ gimme version
229v1.5.4
230$ go version
231go version go1.18.10 linux/amd64
go.env
232$ go env
233GO111MODULE="auto"
234GOARCH="amd64"
235GOBIN=""
236GOCACHE="/home/travis/.cache/go-build"
237GOENV="/home/travis/.config/go/env"
238GOEXE=""
239GOEXPERIMENT=""
240GOFLAGS=""
241GOHOSTARCH="amd64"
242GOHOSTOS="linux"
243GOINSECURE=""
244GOMODCACHE="/home/travis/gopath/pkg/mod"
245GONOPROXY=""
246GONOSUMDB=""
247GOOS="linux"
248GOPATH="/home/travis/gopath"
249GOPRIVATE=""
250GOPROXY="https://proxy.golang.org,direct"
251GOROOT="/home/travis/.gimme/versions/go1.18.10.linux.amd64"
252GOSUMDB="sum.golang.org"
253GOTMPDIR=""
254GOTOOLDIR="/home/travis/.gimme/versions/go1.18.10.linux.amd64/pkg/tool/linux_amd64"
255GOVCS=""
256GOVERSION="go1.18.10"
257GCCGO="gccgo"
258GOAMD64="v1"
259AR="ar"
260CC="gcc"
261CXX="g++"
262CGO_ENABLED="1"
263GOMOD="/home/travis/gopath/src/github.com/travis-ci/worker/go.mod"
264GOWORK=""
265CGO_CFLAGS="-g -O2"
266CGO_CPPFLAGS=""
267CGO_CXXFLAGS="-g -O2"
268CGO_FFLAGS="-g -O2"
269CGO_LDFLAGS="-g -O2"
270PKG_CONFIG="pkg-config"
271GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build840566768=/tmp/go-build -gno-record-gcc-switches"
install
2720.00s$ travis_install_go_dependencies 1.18.x -v
273Makefile detected
2743.18s$ make deps
275if ! shfmt -version 2>/dev/null; then \
276 curl -o /home/travis/gopath/bin/shfmt -sSL https://github.com/mvdan/sh/releases/download/v2.5.0/shfmt_v2.5.0_linux_amd64; \
277 chmod +x /home/travis/gopath/bin/shfmt; \
278 shfmt -version; \
279fi
280v3.2.1
281curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /home/travis/bin
282golangci/golangci-lint info checking GitHub for latest tag
283golangci/golangci-lint info found version: 1.59.1 for v1.59.1/linux/amd64
284golangci/golangci-lint info installed /home/travis/bin/golangci-lint
285if ! command -v /bin/golangci-lint &>/dev/null; then \
286 /home/travis/bin/golangci-lint --version; \
287fi
288golangci-lint has version 1.59.1 built with go1.22.3 from 1a55854a on 2024-06-09T18:08:33Z
289GO111MODULE=on go mod download
290GO111MODULE=on go mod vendor
291touch .deps-fetched
292The command "make deps" exited with 0.
29342.83s$ make lintall
294./script/lintall
295~/gopath/src/github.com/travis-ci/worker ~/gopath/src/github.com/travis-ci/worker
296+/home/travis/bin/golangci-lint run
297image/api_selector_test.go:91:87: too few values in struct literal of type tagSet (typecheck)
298 &tagSet{[]string{"language_ruby:true", "os:linux"}, false, uint64(4), "corp/frob"},
299 ^
300image/api_selector_test.go:92:87: too few values in struct literal of type tagSet (typecheck)
301 &tagSet{[]string{"language_ruby:true", "os:linux"}, false, uint64(4), "corp/frob"},
302 ^
303image/api_selector_test.go:93:74: too few values in struct literal of type tagSet (typecheck)
304 &tagSet{[]string{"language_ruby:true"}, true, uint64(4), "corp/frob"},
305 ^
306Makefile:53: recipe for target 'lintall' failed
307make: *** [lintall] Error 1
308The command "make lintall" exited with 2.
before_cache
3090.13s$ make clean
310./script/clean
cache.2
311store build cache
3120.00s29.42schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/go-build/00/00ca7068ffcd35ac0a15e221669d60dfde51934cd9c72b20e2c61d2c8091f837-a
313/home/travis/.cache/go-build/05/0523b295aed38cee88e733c76cb88ef94b37cd37d19a73803e42425915f587f1-a
314/home/travis/.cache/go-build/07/07ae4344f04c56a24c39c06fecf3c820de09fedc82751c9b61e7fd71c0906a04-a
315/home/travis/.cache/go-build/0b/0b9b7356a16790777560501f68cd5722e35826f297b853a3fa9c2b55815095a8-d
316/home/travis/.cache/go-build/0d/0db6547014ebabbabde0b3e5e94610b931e9f78cd10ef1e14683d9151ab785c0-d
317/home/travis/.cache/go-build/12/1216b4c9e3fbad3fdcc1519429a8f205d667e25726a255c62c7302b4a869c5a6-d
318/home/travis/.cache/go-build/18/18608bf302ce3a2995be57a934eb7b1a05bdf831b7c78a004924c9ec01db03dd-a
319/home/travis/.cache/go-build/1b/1bda59e1e5050cc21d6b4f8ebd9f51c3c250c84cf43467ec15f28dc15ca5d38f-d
320/home/travis/.cache/go-build/1f/1f48dd705e0a00e75a70d625871971079daaf6b89d11353791515eb737b0bdd8-a
321/home/travis/.cache/go-build/29/29a51f2590b39047d5fa814e1f51f625f4a709234a0d0a22c01c790c34fe7f45-a
322/home/trav\n...
323changes detected, packing new archive
324uploading kw-updated_worker/cache--linux-xenial-8e66efc74188d5464db6c5a9d3decd4835ed340208a6ac39f04af14f2f93a35a--go-1.18.x.tgz
325cache uploaded
328Done. Your build exited with 1.
Top