Pull request event #7810 failed

  • Ran for
  • New branch build
AMD64
Ruby
Git
TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"
Raw log
Scroll to End of Log
0.00s0.22s0.12s0.07s0.00s
worker_info
1Worker information
2hostname: 61f824b5-e665-4b7b-b740-8a548512760b@1.worker-n2-com-f8c4bb956-cnsdw.gce-production-1
3version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c
4instance: travis-job-513efd10-e925-451f-8de1-4636659d1136 travis-ci-ubuntu-2004-1737724207-d0e199ee-dirty (via amqp)
5startup: 5.831026866s
60.31s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build group: stable
10Build dist: focal
11Build id: 274057036
12Job id: 630203634
13Runtime kernel version: 5.15.0-1074-gcp
14VM: default
15travis-build version: 6b157a1c
16Build image provisioning date and time
17Fri 24 Jan 2025 01:35:36 PM UTC
18Operating System Details
19Distributor ID: Ubuntu
20Description: Ubuntu 20.04.6 LTS
21Release: 20.04
22Codename: focal
23Systemd Version
24systemd 245 (245.4-4ubuntu3.24)
25Cookbooks Version
26fd4012d https://github.com/travis-ci/travis-cookbooks/tree/fd4012d
27git version
28git version 2.48.1
29bash version
30GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
31gcc version
32gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
33docker version
34Client:
35 Version: 24.0.7
36 API version: 1.43
37 Go version: go1.21.1
38 Git commit: 24.0.7-0ubuntu2~20.04.1
39 Built: Wed Mar 13 20:29:24 2024
40 OS/Arch: linux/amd64
41 Context: default
43Server:
44 Engine:
45 Version: 24.0.7
46 API version: 1.43 (minimum version 1.12)
47 Go version: go1.21.1
48 Git commit: 24.0.7-0ubuntu2~20.04.1
49 Built: Wed Mar 13 20:29:24 2024
50 OS/Arch: linux/amd64
51 Experimental: false
52 containerd:
53 Version: 1.7.12
54 GitCommit:
55 runc:
56 Version: 1.1.12-0ubuntu2~20.04.1
57 GitCommit:
58 docker-init:
59 Version: 0.19.0
60 GitCommit:
61clang version
62clang version 18.1.8
63jq version
64jq-1.7.1
65bats version
66Bats 1.11.1
67shellcheck version
680.10.0
69shfmt version
70v3.8.0
71ccache version
723.7.7
73cmake version
74cmake version 3.29.0
75heroku version
76heroku/10.0.2 linux-x64 node-v20.17.0
77imagemagick version
78Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
79md5deep version
804.4
81mercurial version
82version 6.5.2
83mysql version
84mysql Ver 8.0.40-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
85openssl version
86OpenSSL 1.1.1f 31 Mar 2020
87packer version
88Packer v1.11.2
89postgresql client version
90psql (PostgreSQL) 13.18 (Ubuntu 13.18-1.pgdg20.04+1)
91ragel version
92Ragel State Machine Compiler version 6.10 March 2017
93sudo version
941.8.31
95gzip version
96gzip 1.10
97zip version
98Zip 3.0
99vim version
100VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan 20 2025 13:56:30)
101iptables version
102iptables v1.8.4 (legacy)
103curl version
104curl 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
105wget version
106GNU Wget 1.20.3 built on linux-gnu.
107rsync version
108rsync version 3.1.3 protocol version 31
109go version
110go version go1.23.5 linux/amd64
111nvm version
1120.40.1
113perlbrew version
114/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
115phpenv version
116rbenv 1.3.2
117rvm version
118rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
119default ruby version
120ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
121default python version
122Python 3.7.17
123ElasticSearch version
1247.16.3
125Installed Firefox version
126firefox 99.0
127MongoDB version
128MongoDB 4.4.29
129PhantomJS version
1302.1.1
131Redis version
132redis-server 7.4.2
133Pre-installed Go versions
134go version go1.23.5 linux/amd64
135mvn version
136Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
137gradle version
138Gradle 8.3!
139lein version
140Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM
141Pre-installed Node.js versions
142v10.24.1
143v12.22.12
144v14.21.3
145v16.15
146v16.20.2
147v18.20.3
148v18.20.6
149v20.18.2
150v22.13.1
151v4.9.1
152v6.17.1
153v8.17.0
154phpenv versions
155 system
156 7.4
157* 7.4.6 (set by /home/travis/.phpenv/version)
158 hhvm-stable
159 hhvm
160composer --version
161Composer version 1.10.6 2020-05-06 10:28:10
162Pre-installed Ruby versions
163ruby-2.7.6
164ruby-3.3.5
1660.02s0.01s0.70s0.33s0.06s0.01s0.04s0.00s0.04s0.01s0.03s0.01s0.01s0.00s0.38sOK
1670.00s0.06s0.00s0.01s0.19s0.00s0.00s0.00s0.01s0.00s0.14s0.00s1.02s0.00s0.00s6.04s0.00s4.03s0.00s2.30s
docker_mtu_and_registry_mirrors
Docker
resolvconf
services
1686.00s$ travis_setup_postgresql
169Starting PostgreSQL v13
170sudo systemctl start postgresql@13-main
git.checkout
1710.01s0.55s$ git clone --depth=50 https://github.com/travis-ci/packer-templates.git travis-ci/packer-templates
172Cloning into 'travis-ci/packer-templates'...
173remote: Enumerating objects: 1780, done.
174remote: Counting objects: 100% (1780/1780), done.
175remote: Compressing objects: 100% (880/880), done.
176remote: Total 1780 (delta 1109), reused 1219 (delta 737), pack-reused 0 (from 0)
177Receiving objects: 100% (1780/1780), 353.14 KiB | 4.41 MiB/s, done.
178Resolving deltas: 100% (1109/1109), done.
179$ cd travis-ci/packer-templates
1800.36s$ git fetch origin +refs/pull/875/merge: --depth=50
181remote: Enumerating objects: 350, done.
182remote: Counting objects: 100% (350/350), done.
183remote: Compressing objects: 100% (124/124), done.
184remote: Total 279 (delta 200), reused 193 (delta 122), pack-reused 0 (from 0)
185Receiving objects: 100% (279/279), 46.02 KiB | 4.18 MiB/s, done.
186Resolving deltas: 100% (200/200), completed with 49 local objects.
187From https://github.com/travis-ci/packer-templates
188 * branch refs/pull/875/merge -> FETCH_HEAD
189$ git checkout -qf FETCH_HEAD
1910.01s
192Setting environment variables from repository settings
193$ export DOCKER_LOGIN_EMAIL=[secure]
194$ export DOCKER_LOGIN_PASSWORD=[secure]
195$ export DOCKER_LOGIN_SERVER=[secure]
196$ export DOCKER_LOGIN_USERNAME=[secure]
197$ export GCE_PROJECT_ID=[secure]
198$ export JOB_BOARD_IMAGES_URL=[secure]
199$ export GCE_ACCOUNT_FILE=[secure]
200$ export GCE_ACCOUNT_FILE_B64_BZ2=[secure]
201$ export GCR_LOGIN_SERVER=[secure]
202$ export GCR_AUTH_TOKEN=[secure]
203$ export QUAY_DOCKER_LOGIN_EMAIL=[secure]
204$ export QUAY_DOCKER_LOGIN_PASSWORD=[secure]
205$ export QUAY_DOCKER_LOGIN_SERVER=[secure]
206$ export QUAY_DOCKER_LOGIN_USERNAME=[secure]
207$ export TRAVIS_WORKER_VERSION=[secure]
208$ export GCE_ACCOUNT_ID=[secure]
209$ export GCE_SERVICE_ACCOUNT_ID=[secure]
210$ export GCE_SERVICE_ACCOUNT_FILE_BZ2_B64=[secure]
211$ export GITHUB_API_TOKEN=[secure]
213Setting environment variables from .travis.yml
214$ export DPKG_MANIFEST_JSON="${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json"
215$ export LANG=en_US.UTF-8
216$ export NODE_ATTRIBUTES_YML="${TRAVIS_BUILD_DIR}/.example-node-attributes.yml"
217$ export PACKER_CHEF_PREFIX="${TRAVIS_BUILD_DIR}/tmp"
218$ export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}"
219$ export REQUEST_INTERVAL=5
220$ export SKIP_CHEF_REMOVAL='1'
221$ export SPEC_ARGS='--tag ~dev'
222$ export SPEC_RUNNER='bash -lc'
223$ export SPEC_SUITES='travis_packer_templates'
224$ export SYSTEM_INFO_JSON="${TRAVIS_BUILD_DIR}/.example_system_info.json"
225$ export TRAVIS_SOURCE_AMI="ami-01eefcaf0edcc4cf0"
226$ export TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"
rvm
2280.76s$ rvm use default
229Using /home/travis/.rvm/gems/ruby-3.3.5
231$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
232Setting up build cache
233$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2340.17s$ Installing caching utilities
2350.00s1.69sattempting to download cache archive
236fetching PR.875/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
237found cache
2380.00s2.92sadding /home/travis/bin to cache
cache.bundler
2410.00s2.85sadding /home/travis/build/travis-ci/packer-templates/vendor/bundle to cache
242creating directory /home/travis/build/travis-ci/packer-templates/vendor/bundle
ruby.versions
243$ ruby --version
244ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
245$ rvm --version
246rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
247$ bundle --version
248Bundler version 2.5.16
249$ gem --version
2503.5.16
install.1
2520.00s$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fi
install.2
2530.01s$ export GIT_DESC="$(git describe --always --dirty --tags)"
install.3
2540.72s$ rvm use 3.3.5 --install --binary --fuzzy
255Using /home/travis/.rvm/gems/ruby-3.3.5
install.4
2560.69s$ gem install bundler:2.5.21
257Fetching bundler-2.5.21.gem
258GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundler.lock
259GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundle.lock
260Successfully installed bundler-2.5.21
2611 gem installed
install.5
2621.68s$ bundle install --jobs=3 --retry=2 --path=vendor/bundle
263[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
264Bundler 2.5.21 is running, but your lockfile was generated with 2.6.2. Installing Bundler 2.6.2 and restarting using that version.
265Fetching gem metadata from https://rubygems.org/.
266Fetching bundler 2.6.2
267Installing bundler 2.6.2
268[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/bundle'`, and stop using this flag
269Bundle complete! 7 Gemfile dependencies, 56 gems now installed.
270Bundled gems are installed into `./vendor/bundle`
install.6
2710.42s$ ./bin/packer-build-install
install.7
2720.00s$ ln -sv "${TRAVIS_BUILD_DIR}" "${TRAVIS_BUILD_DIR}/tmp/packer-chef-local"
273'/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local' -> '/home/travis/build/travis-ci/packer-templates'
2740.05s$ make
275./bin/dump-git-meta ./tmp/git-meta
276HEAD
277f81a5e9
278./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/docker-meta 'DOCKER_LOGIN_(USERNAME|PASSWORD|SERVER)'
279./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/job-board-env 'JOB_BOARD'
280The command "make" exited with 0.
28154.16s$ bundle exec make test
282./runtests --env .example.env
283Running isolated with env .example.env
284.example-job-board-register-sardonyx.yml ✓
285.example-node-attributes.yml ✓
286.packer-build-pull-request-false-tmpl.yml ✓
287.packer-build-pull-request-tmpl.yml ✓
288.rubocop.yml ✓
289.rubocop_todo.yml ✓
290.travis.yml ✓
291ci-freebsd-12.yml (packer validate ...) The configuration is valid.
292`--> ✓
293ci-opal.yml (packer validate ...) The configuration is valid.
294`--> ✓
295ci-sardonyx.yml (packer validate ...) The configuration is valid.
296`--> ✓
297ci-stevonnie.yml (packer validate ...) The configuration is valid.
298`--> ✓
299ci-ubuntu-1804-minimal.yml (packer validate ...) The configuration is valid.
300`--> ✓
301ci-ubuntu-1804.yml (packer validate ...) The configuration is valid.
302`--> ✓
303ci-ubuntu-2004-minimal.yml (packer validate ...) The configuration is valid.
304`--> ✓
305ci-ubuntu-2004.yml (packer validate ...) The configuration is valid.
306`--> ✓
307ci-ubuntu-2204-minimal.yml (packer validate ...) The configuration is valid.
308`--> ✓
309ci-ubuntu-2204.yml (packer validate ...) The configuration is valid.
310`--> ✓
311ci-windows-1803.yml (packer validate ...) The configuration is valid.
312`--> ✓
313jupiter-brain.yml ✓
314packer-assets/opal-system-info-commands.yml ✓
315packer-assets/sardonyx-system-info-commands.yml ✓
316packer-assets/stevonnie-system-info-commands.yml ✓
317packer-assets/system-info.d/android.yml ✓
318packer-assets/system-info.d/basic.yml ✓
319packer-assets/system-info.d/cassandra.yml ✓
320packer-assets/system-info.d/couchdb.yml ✓
321packer-assets/system-info.d/elasticsearch.yml ✓
322packer-assets/system-info.d/erlang.yml ✓
323packer-assets/system-info.d/firefox.yml ✓
324packer-assets/system-info.d/go.yml ✓
325packer-assets/system-info.d/haskell.yml ✓
326packer-assets/system-info.d/java.yml ✓
327packer-assets/system-info.d/mongodb.yml ✓
328packer-assets/system-info.d/mysql.yml ✓
329packer-assets/system-info.d/neo4j.yml ✓
330packer-assets/system-info.d/node_js.yml ✓
331packer-assets/system-info.d/perl.yml ✓
332packer-assets/system-info.d/phantomjs.yml ✓
333packer-assets/system-info.d/php.yml ✓
334packer-assets/system-info.d/postgresql.yml ✓
335packer-assets/system-info.d/redis.yml ✓
336packer-assets/system-info.d/ruby.yml ✓
337packer-assets/system-info.d/sphinxsearch.yml ✓
338packer-assets/ubuntu-1804-minimal-system-info-commands.yml ✓
339packer-assets/ubuntu-1804-system-info-commands.yml ✓
340packer-assets/ubuntu-2004-minimal-system-info-commands.yml ✓
341packer-assets/ubuntu-2004-system-info-commands.yml ✓
342packer-assets/ubuntu-2204-minimal-system-info-commands.yml ✓
343packer-assets/ubuntu-2204-system-info-commands.yml ✓
344tfw.yml ✓
345vault-consul-server.yml (packer validate ...) The configuration is valid.
346`--> ✓
347Running shellcheck
348Running shfmt
349Inspecting 131 files
350..C...........C..................................W.C.C.......C.CCC..C..C..C..C..C..C..C.C..C.....C.C..C..C...............C.........
352Offenses:
354bin/assert-job-board-tags:65:3: C: [Correctable] Style/BitwisePredicate: Replace with loaded_base.allbits?(loaded_other) for comparison with bit flags.
355 (loaded_base & loaded_other) == loaded_other
356 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
357cookbooks/lib/features/basic_spec.rb:513:19: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
358 describe file(::File.expand_path("~/.ssh/#{basename}")) do
359 ^^
360cookbooks/lib/languages/python_spec.rb:33:3: W: Lint/DuplicateBranch: Duplicate branch body detected.
361 elsif 'focal'.include?(Support.distro) ...
362 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
363cookbooks/lib/support.rb:27:15: C: [Correctable] Style/RedundantRegexpArgument: Use string "\n" as argument instead of regexp /\n/.
364 ).split(/\n/).map(&:strip).reject { |l| l =~ /^#/ }
365 ^^^^
366cookbooks/lib/support/helpers.rb:28:32: C: [Correctable] Style/RedundantRegexpArgument: Use string "\n" as argument instead of regexp /\n/.
367 procs = `ps aux`.split(/\n/).map(&:strip)
368 ^^^^
369cookbooks/lib/support/helpers.rb:36:27: C: [Correctable] Style/FileNull: Use File::NULL instead of /dev/null.
370 def sh(command, out = '/dev/null', err = '/dev/null')
371 ^^^^^^^^^^^
372cookbooks/lib/support/helpers.rb:36:46: C: [Correctable] Style/FileNull: Use File::NULL instead of /dev/null.
373 def sh(command, out = '/dev/null', err = '/dev/null')
374 ^^^^^^^^^^^
375cookbooks/travis_ci_freebsd_12/recipes/create_bash_profile.rb:3:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
376file ::File.join(
377 ^^
378cookbooks/travis_ci_freebsd_12/recipes/jdk_switcher.rb:10:20: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
379jdk_switcher_dir = ::File.dirname(node['travis_java']['jdk_switcher_path'])
380 ^^
381cookbooks/travis_ci_freebsd_12/recipes/jdk_switcher.rb:11:28: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
382jdk_switcher_source_path = ::File.join(
383 ^^
384cookbooks/travis_ci_freebsd_12/recipes/pyenv.rb:3:24: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
385pyenv_installer_path = ::File.join(
386 ^^
387cookbooks/travis_ci_freebsd_12/recipes/pyenv.rb:30:16: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
388bash_profile = ::File.join(
389 ^^
390cookbooks/travis_ci_opal/attributes/default.rb:11:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
391override['travis_system_info']['commands_file'] = \ ...
392 ^
393cookbooks/travis_ci_opal/attributes/default.rb:96:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
394 override['travis_build_environment']['python_aliases'][full_name] = \ ...
395 ^
396cookbooks/travis_ci_sardonyx/attributes/default.rb:15:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
397override['travis_system_info']['commands_file'] = \ ...
398 ^
399cookbooks/travis_ci_sardonyx/attributes/default.rb:80:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
400override['travis_build_environment']['clang']['download_url'] = ::File.join(
401 ^^
402cookbooks/travis_ci_sardonyx/attributes/default.rb:104:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
403 override['travis_build_environment']['python_aliases'][full_name] = \ ...
404 ^
405cookbooks/travis_ci_stevonnie/attributes/default.rb:57:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
406 override['travis_build_environment']['python_aliases'][full_name] = \ ...
407 ^
408cookbooks/travis_ci_stevonnie/attributes/default.rb:61:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
409override['travis_system_info']['commands_file'] = \ ...
410 ^
411cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
412override['travis_system_info']['commands_file'] = \ ...
413 ^
414cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:119:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
415override['travis_build_environment']['packer']['amd64']['checksum'] = \ ...
416 ^
417cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:125:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
418override['travis_build_environment']['clang']['download_url'] = ::File.join(
419 ^^
420cookbooks/travis_ci_ubuntu_1804_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
421override['travis_system_info']['commands_file'] = \ ...
422 ^
423cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
424override['travis_system_info']['commands_file'] = \ ...
425 ^
426cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:69:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
427override['travis_build_environment']['cmake']['download_url'] = ::File.join(
428 ^^
429cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:111:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
430override['travis_build_environment']['packer']['amd64']['checksum'] = \ ...
431 ^
432cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:115:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
433override['travis_build_environment']['clang']['download_url'] = ::File.join(
434 ^^
435cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:5:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
436 not_if { ::File.exist?('/etc/apt/trusted.gpg.d/erlang_solutions.gpg') }
437 ^^
438cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:10:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
439 not_if { ::File.exist?('/etc/apt/trusted.gpg.d/erlang_solutions.gpg') }
440 ^^
441cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:15:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
442 not_if { ::File.exist?('/etc/apt/sources.list.d/rabbitmq.list') }
443 ^^
444cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:20:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
445 not_if { ::File.exist?('/etc/apt/sources.list.d/rabbitmq.list') }
446 ^^
447cookbooks/travis_ci_ubuntu_2004/recipes/mysql.rb:29:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
448file ::File.join(
449 ^^
450cookbooks/travis_ci_ubuntu_2004_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
451override['travis_system_info']['commands_file'] = \ ...
452 ^
453cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
454override['travis_system_info']['commands_file'] = \ ...
455 ^
456cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:48:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
457override['travis_build_environment']['clang']['download_url'] = ::File.join(
458 ^^
459cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:74:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
460override['travis_build_environment']['cmake']['download_url'] = ::File.join(
461 ^^
462cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:115:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
463override['travis_build_environment']['packer']['amd64']['checksum'] = \ ...
464 ^
465cookbooks/travis_ci_ubuntu_2204/recipes/mysql.rb:38:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.
466file ::File.join(
467 ^^
468cookbooks/travis_ci_ubuntu_2204_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
469override['travis_system_info']['commands_file'] = \ ...
470 ^
471cookbooks/travis_ci_windows_1803/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
472override['travis_system_info']['commands_file'] = \ ...
473 ^
474cookbooks/travis_packer_templates/attributes/default.rb:8:69: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.
475default['travis_packer_templates']['env']['TRAVIS_COOKBOOKS_DIR'] = \ ...
476 ^
477lib/stack_promotion_hydrator.rb:122:17: C: [Correctable] Style/ZeroLengthPredicate: Use empty? instead of length.zero?.
478 unless urls.length.zero?
479 ^^^^^^^^^^^^
480lib/stack_promotion_hydrator.rb:129:25: C: [Correctable] Style/ZeroLengthPredicate: Use empty? instead of length.zero?.
481 unless output_files.length.zero?
482 ^^^^^^^^^^^^
484131 files inspected, 43 offenses detected, 42 offenses autocorrectable
485make: *** [Makefile:68: test] Error 1
486The command "bundle exec make test" exited with 2.
4873.92s$ make update-gce-images
488bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)
489ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
490Please run:
492 $ gcloud auth login
494to obtain new credentials.
496If you have already logged in with a different account, run:
498 $ gcloud config set account ACCOUNT
500to select an already authenticated account to use.
501ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
502Please run:
504 $ gcloud auth login
506to obtain new credentials.
508If you have already logged in with a different account, run:
510 $ gcloud config set account ACCOUNT
512to select an already authenticated account to use.
513ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
514Please run:
516 $ gcloud auth login
518to obtain new credentials.
520If you have already logged in with a different account, run:
522 $ gcloud config set account ACCOUNT
524to select an already authenticated account to use.
525The command "make update-gce-images" exited with 0.
5260.01s$ git diff --exit-code
527diff --git a/packer-scripts/cleanup b/packer-scripts/cleanup
528index d017045..be4240e 100755
529--- a/packer-scripts/cleanup
530+++ b/packer-scripts/cleanup
531@@ -71,5 +71,5 @@ if test -f /etc/cloud/cloud.cfg >&/dev/null; then
532 sed -i '/package-update-upgrade-install/d' /etc/cloud/cloud.cfg
533 fi
535-echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/sshd_config
536-echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/sshd_config
537\ No newline at end of file
538+echo "PubkeyAcceptedKeyTypes +ssh-rsa" >>/etc/ssh/sshd_config
539+echo "HostKeyAlgorithms +ssh-rsa" >>/etc/ssh/sshd_config
540diff --git a/packer-scripts/pre-chef-bootstrap-jammy b/packer-scripts/pre-chef-bootstrap-jammy
541index fee9e8d..67fc980 100644
542--- a/packer-scripts/pre-chef-bootstrap-jammy
543+++ b/packer-scripts/pre-chef-bootstrap-jammy
544@@ -150,8 +150,8 @@ __setup_travis_ssh() {
545 cat "${f}" >>/home/travis/.ssh/authorized_keys
546 done
547 chmod 0600 /home/travis/.ssh/authorized_keys
548- echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config
549- echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/ssh_config
550+ echo "PubkeyAcceptedKeyTypes +ssh-rsa" >>/etc/ssh/ssh_config
551+ echo "HostKeyAlgorithms +ssh-rsa" >>/etc/ssh/ssh_config
552 }
554 __write_pre_chef_env() {
555diff --git a/packer-scripts/pyenv-install b/packer-scripts/pyenv-install
556index 9309903..4b6cb07 100644
557--- a/packer-scripts/pyenv-install
558+++ b/packer-scripts/pyenv-install
559@@ -5,13 +5,13 @@ set -o xtrace
561 main() {
563-# Install pyenv-update plugin
564-git config --global --add safe.directory /opt/pyenv
565-cd /opt/pyenv/bin/
566-git checkout master
567-git clone https://github.com/pyenv/pyenv-update.git "$(pyenv root)"/plugins/pyenv-update
568-pyenv update
569-pyenv rehash && hash -r
570+ # Install pyenv-update plugin
571+ git config --global --add safe.directory /opt/pyenv
572+ cd /opt/pyenv/bin/
573+ git checkout master
574+ git clone https://github.com/pyenv/pyenv-update.git "$(pyenv root)"/plugins/pyenv-update
575+ pyenv update
576+ pyenv rehash && hash -r
578 }
580diff --git a/packer-scripts/updates b/packer-scripts/updates
581index e3ebaab..454581f 100644
582--- a/packer-scripts/updates
583+++ b/packer-scripts/updates
584@@ -8,112 +8,112 @@ set -o xtrace
586 main() {
588-dist=$(lsb_release -cs)
590-if [[ "${dist}" = "jammy" ]]; then
591- apt install linux-headers-generic -y
593- echo "Installing pip-review"
595- # Install rustc (needed for python updates)
596- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
597- export PATH="$HOME/.cargo/bin:$PATH"
598- source ~/.bashrc
599- rustc --version
601- sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources
603- #sudo chown -R $USER:$USER /home/packer/.cache/pip
605- pip install --upgrade pip
606- #pip install pip-review
607- #pip-review --auto
609- echo "Appling docker buildx fix"
610- sudo install -m 0755 -d /etc/apt/keyrings
611- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
612- sudo chmod a+r /etc/apt/keyrings/docker.gpg
613- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
614- sudo apt-get update -y
615- sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
617- # Update composer
618- /home/travis/.phpenv/shims/composer self-update
620- # Update bundler
621- gem install bundler
622-else
623- echo "Appling main updates"
624- apt update -yqq --fix-missing
625- echo "Uninstalling old kernel modules"
626- dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n "/$(uname -r)/q;p" | xargs sudo apt-get -y purge
627- apt purge "$(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c="$(uname -r | cut -d- -f1,2)"; done)"
629- apt full-upgrade -y
630- apt install linux-headers-generic -y
632- # Install rustc (needed for python updates)
633- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
634- export PATH="$HOME/.cargo/bin:$PATH"
635- source ~/.bashrc
636- rustc --version
638- # Uninstall old kernels (yes they are still there) - use it to uninstall when needed only DOCKER
640- # if [[ "${dist}" = "focal" ]]; then
641- # apt remove -y linux-gcp-headers-5.4.0-1080 linux-modules-5.15.0-1006-gcp linux-modules-5.15.0-1060-gcp
642- # echo "Installing updated kernel modules"
643- # apt install -y --no-install-suggests --no-install-recommends linux-gcp-headers-5.4.0-1129 linux-modules-5.15.0-1060-gcp
644- # elif [[ "${dist}" = "bionic" ]]; then
645- # apt remove -y linux-modules-5.4.0-1080
646- # apt install -yqq --no-install-suggests --no-install-recommends \
647- # linux-modules-5.4.0-1106
648- # fi
649- # # Remove system-package installed python packages
650- # apt remove --purge python3-setuptools -y
652- echo "Appling python updates"
654- sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources
656- pip3 install --upgrade pip
657- pip3 install pip-review
658- pip-review --auto
660- # # Focal install python modules
661- # if [[ "${dist}" = "focal" ]]; then
662- # echo "Installing pip-review"
663- # # Focal docker issue with pip-review - docker will fail with these
664- # pip install importlib_metadata --force-reinstall
665- # # pip install pip-review
666- # # pip-review --auto
667- # else
668- # echo "Installing pip-review"
669- # pip install --upgrade pip-review
670- # pip-review --auto
671- # fi
673- echo "Appling docker buildx fix"
674- sudo install -m 0755 -d /etc/apt/keyrings
675- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
676- sudo chmod a+r /etc/apt/keyrings/docker.gpg
677- # shellcheck source=/etc/os-release
678- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
679- sudo apt update -y
680- sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
681- #pip install --upgrade pip pyopenssl certifi rsa pytest oauthlib testresources setuptools numpy
683- # Bionic install git
684- if [[ "${dist}" = "bionic" ]]; then
685- sudo apt install git-all
686- fi
688- # Update composer
689- /home/travis/.phpenv/shims/composer self-update
691- # # Update bundler - to fix in the future
692- # /home/travis/.rvm/bin/rvm use 3.3.1
693-fi
694+ dist=$(lsb_release -cs)
696+ if [[ "${dist}" = "jammy" ]]; then
697+ apt install linux-headers-generic -y
699+ echo "Installing pip-review"
701+ # Install rustc (needed for python updates)
702+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
703+ export PATH="$HOME/.cargo/bin:$PATH"
704+ source ~/.bashrc
705+ rustc --version
707+ sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources
709+ #sudo chown -R $USER:$USER /home/packer/.cache/pip
711+ pip install --upgrade pip
712+ #pip install pip-review
713+ #pip-review --auto
715+ echo "Appling docker buildx fix"
716+ sudo install -m 0755 -d /etc/apt/keyrings
717+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
718+ sudo chmod a+r /etc/apt/keyrings/docker.gpg
719+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
720+ sudo apt-get update -y
721+ sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
723+ # Update composer
724+ /home/travis/.phpenv/shims/composer self-update
726+ # Update bundler
727+ gem install bundler
728+ else
729+ echo "Appling main updates"
730+ apt update -yqq --fix-missing
731+ echo "Uninstalling old kernel modules"
732+ dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n "/$(uname -r)/q;p" | xargs sudo apt-get -y purge
733+ apt purge "$(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c="$(uname -r | cut -d- -f1,2)"; done)"
735+ apt full-upgrade -y
736+ apt install linux-headers-generic -y
738+ # Install rustc (needed for python updates)
739+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
740+ export PATH="$HOME/.cargo/bin:$PATH"
741+ source ~/.bashrc
742+ rustc --version
744+ # Uninstall old kernels (yes they are still there) - use it to uninstall when needed only DOCKER
746+ # if [[ "${dist}" = "focal" ]]; then
747+ # apt remove -y linux-gcp-headers-5.4.0-1080 linux-modules-5.15.0-1006-gcp linux-modules-5.15.0-1060-gcp
748+ # echo "Installing updated kernel modules"
749+ # apt install -y --no-install-suggests --no-install-recommends linux-gcp-headers-5.4.0-1129 linux-modules-5.15.0-1060-gcp
750+ # elif [[ "${dist}" = "bionic" ]]; then
751+ # apt remove -y linux-modules-5.4.0-1080
752+ # apt install -yqq --no-install-suggests --no-install-recommends \
753+ # linux-modules-5.4.0-1106
754+ # fi
755+ # # Remove system-package installed python packages
756+ # apt remove --purge python3-setuptools -y
758+ echo "Appling python updates"
760+ sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources
762+ pip3 install --upgrade pip
763+ pip3 install pip-review
764+ pip-review --auto
766+ # # Focal install python modules
767+ # if [[ "${dist}" = "focal" ]]; then
768+ # echo "Installing pip-review"
769+ # # Focal docker issue with pip-review - docker will fail with these
770+ # pip install importlib_metadata --force-reinstall
771+ # # pip install pip-review
772+ # # pip-review --auto
773+ # else
774+ # echo "Installing pip-review"
775+ # pip install --upgrade pip-review
776+ # pip-review --auto
777+ # fi
779+ echo "Appling docker buildx fix"
780+ sudo install -m 0755 -d /etc/apt/keyrings
781+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
782+ sudo chmod a+r /etc/apt/keyrings/docker.gpg
783+ # shellcheck source=/etc/os-release
784+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null
785+ sudo apt update -y
786+ sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
787+ #pip install --upgrade pip pyopenssl certifi rsa pytest oauthlib testresources setuptools numpy
789+ # Bionic install git
790+ if [[ "${dist}" = "bionic" ]]; then
791+ sudo apt install git-all
792+ fi
794+ # Update composer
795+ /home/travis/.phpenv/shims/composer self-update
797+ # # Update bundler - to fix in the future
798+ # /home/travis/.rvm/bin/rvm use 3.3.1
799+ fi
801 }
803The command "git diff --exit-code" exited with 1.
8040.01s$ git diff --cached --exit-code
805The command "git diff --cached --exit-code" exited with 0.
8060.16s$ sudo lsof | grep dpkg || true
807The command "sudo lsof | grep dpkg || true" exited with 0.
80845.52s$ travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'
809+sudo packer-scripts/run-serverspecs
810+ shopt -s nullglob
811+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
812+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
813+ export CHEF_LICENSE=accept-silent
814+ CHEF_LICENSE=accept-silent
815+ export PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
816+ PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
817+ export DEBIAN_FRONTEND=noninteractive
818+ DEBIAN_FRONTEND=noninteractive
819+ export RUBYOPT=-W0
820+ RUBYOPT=-W0
821+ : /home/travis/build/travis-ci/packer-templates/tmp
822+ : 'bash -lc'
823+ : docker
824+ [[ docker == \d\o\c\k\e\r ]]
825+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'
826+ SPEC_ARGS='--tag ~dev --tag ~docker:false'
827+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp
828+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]
829+ curl -sSL https://omnitruck.chef.io/install.sh
830+ sudo bash -s -- -P chef-workstation -v 22.5.923
831ubuntu 20.04 x86_64
832Getting information for chef-workstation stable 22.5.923 for ubuntu...
833downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_64
834 to file /tmp/install.sh.9425/metadata.txt
835trying wget...
836sha1 b8c582336804d5986f0f6d3dddeb9bf300d2d2bd
837sha256 b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c
838url https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
839version 22.5.923
840downloaded metadata file looks valid...
841downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
842 to file /tmp/install.sh.9425/chef-workstation_22.5.923-1_amd64.deb
843trying wget...
844Comparing checksum with sha256sum...
845Installing chef-workstation 22.5.923
846installing with dpkg...
847Selecting previously unselected package chef-workstation.
848(Reading database ... 153602 files and directories currently installed.)
849Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...
850Unpacking chef-workstation (22.5.923-1) ...
851Setting up chef-workstation (22.5.923-1) ...
853The Chef Workstation App is available.
855Launch the App by running 'chef-workstation-app'.
856The App will then be available in the system tray.
858Thank you for installing Chef Workstation!
859You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/
861+ __run_retry 2 30 apt-get update -y
862+ local retries=2
863+ shift
864+ local retry_delay=30
865+ shift
866+ cmd=("${@}")
867+ local cmd
868+ local i=0
869+ true
870+ [[ 0 -gt 2 ]]
871+ apt-get update -y
872Get:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]
873Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
874Hit:3 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
875Get:4 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]
876Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
877Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
878Get:7 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]
879Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]
880Hit:9 https://packages.redis.io/deb focal InRelease
881Get:10 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]
882Get:11 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease [5,172 B]
883Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
884Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
885Get:14 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]
886Get:15 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [574 kB]
887Get:16 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [5,117 B]
888Get:17 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [45.9 kB]
889Get:18 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,217 kB]
890Ign:19 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages
891Get:19 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]
892Get:20 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,046 kB]
893Get:21 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [742 kB]
894Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,327 kB]
895Ign:23 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages
896Get:24 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [600 kB]
897Get:25 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,297 kB]
898Get:23 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]
899Get:26 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [860 kB]
900Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]
901Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]
902Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]
903Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
904Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
905Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]
906Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]
907Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
908Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]
909Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
910Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]
911Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
912Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
913Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]
914Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]
915Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]
916Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,326 kB]
917Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,693 kB]
918Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [856 kB]
919Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]
920Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,515 kB]
921Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [49.0 kB]
922Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [625 kB]
923Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]
924Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,020 kB]
925Get:52 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,589 kB]
926Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [421 kB]
927Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]
928Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [34.6 kB]
929Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]
930Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,635 B]
931Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [612 B]
932Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]
933Get:60 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
934Get:61 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]
935Get:62 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]
936Get:63 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
937Get:64 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]
938Get:65 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
939Get:66 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]
940Get:67 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]
941Get:68 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
942Fetched 58.4 MB in 4s (13.8 MB/s)
943Reading package lists... Done
944N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease' doesn't support architecture 'i386'
945+ return
946+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client
947+ local retries=2
948+ shift
949+ local retry_delay=30
950+ shift
951+ cmd=("${@}")
952+ local cmd
953+ local i=0
954+ true
955+ [[ 0 -gt 2 ]]
956+ apt-get install libc-client2007e-dev mysql-client
957Reading package lists... Done
958Building dependency tree
959Reading state information... Done
960libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).
961The following packages were automatically installed and are no longer required:
962 amd64-microcode bubblewrap dictionaries-common hunspell-en-us
963 intel-microcode iucode-tool libaspell15 libenchant-2-2 libglu1-mesa
964 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libgudev-1.0-0
965 libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 libjavascriptcoregtk-4.0-18
966 libnotify4 libopengl0 libopenjp2-7 liborc-0.4-0 libsecret-1-0
967 libsecret-common libwebkit2gtk-4.0-37 libwebpdemux2 libwoff1
968 libwxbase3.0-0v5 libwxgtk-webview3.0-gtk3-0v5 libwxgtk3.0-gtk3-0v5
969 linux-image-unsigned-5.4.0-204-generic linux-modules-5.4.0-204-generic
970 xdg-dbus-proxy
971Use 'sudo apt autoremove' to remove them.
972The following packages will be upgraded:
973 mysql-client
9741 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
975Need to get 9,368 B of archives.
976After this operation, 0 B of additional disk space will be used.
977Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 mysql-client all 8.0.41-0ubuntu0.20.04.1 [9,368 B]
978Fetched 9,368 B in 0s (78.0 kB/s)
979(Reading database ... 201004 files and directories currently installed.)
980Preparing to unpack .../mysql-client_8.0.41-0ubuntu0.20.04.1_all.deb ...
981Unpacking mysql-client (8.0.41-0ubuntu0.20.04.1) over (8.0.40-0ubuntu0.20.04.1) ...
982Setting up mysql-client (8.0.41-0ubuntu0.20.04.1) ...
983+ return
984+ __create_sudo_bash
985+ cat
986+ chmod 0755 /tmp/sudo-bash
987+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp
988+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp
989+ for suite in ${SPEC_SUITES/,/ }
990+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'
991+ local suite=travis_packer_templates
992+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
993+ local 'runner=bash -lc'
994+ local cookbook_dir
995++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp
996++ local suite=travis_packer_templates
997++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
998++ local spec_dir
999+++ head -1
1000+++ find /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/bin /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/chef-solo.rb.tmpl /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-freebsd-12.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-opal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-sardonyx.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-stevonnie.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-1804-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-1804.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2004-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2004.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2204-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2204.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-windows-1803.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/CODE_OF_CONDUCT.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Gemfile /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Gemfile.lock /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/jupiter-brain.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/lib /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/LICENSE.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Makefile /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/packer-assets /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/packer-scripts /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/README.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/run-foodcritic /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/runtests /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/spec /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/tfw.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/tmp /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/vault-consul-server.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/vendor -wholename '*travis_packer_templates/spec' -type d
1001++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
1002++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
1003+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
1004+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
1005+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'
1006+ local suite=travis_packer_templates
1007+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
1008+ local 'runner=bash -lc'
1009+ set +o errexit
1010+ bash -lc '
1011set -o xtrace
1012export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"
1013export TERM=xterm
1014export PACKER_BUILDER_TYPE=docker
1015export RUBYOPT=-W0
1016chef gem install serverspec
1017unset GEM_PATH
1018cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
1019sudo systemctl start xvfb.service
1020set -o errexit
1022+ export PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/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/.phpenv/shims:/home/travis/gopath/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin
1023+ PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/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/.phpenv/shims:/home/travis/gopath/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin
1024+ export TERM=xterm
1025+ TERM=xterm
1026+ export PACKER_BUILDER_TYPE=docker
1027+ PACKER_BUILDER_TYPE=docker
1028+ export RUBYOPT=-W0
1029+ RUBYOPT=-W0
1030+ chef gem install serverspec
1031Fetching serverspec-2.42.3.gem
1032WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,
1033 gem executables will not run.
1034Successfully installed serverspec-2.42.3
10351 gem installed
1036+ unset GEM_PATH
1037+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
1038+ sudo systemctl start xvfb.service
1039+ set -o errexit
1040+ local exit_code=0
1041+ [[ 0 != 0 ]]
1042+ set -o errexit
1043+ popd
1044+ [[ -z 1 ]]
1045The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 0.
10460.01s$ for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done
1047checking /home/travis/.*_rspec.json
1048/home/travis/.travis/functions: line 109: /home/travis/.*_rspec.json: No such file or directory
1049The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 1.
cache.2
1050store build cache
1051$ bundle clean
10520.00s1.52snothing changed
1055Done. Your build exited with 1.
Top