Pull request event #7800 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.13s0.06s0.00s
worker_info
1Worker information
2hostname: a8957e16-8575-4019-ac80-976070dac39e@1.worker-n2-com-f8c4bb956-zjhwc.gce-production-1
3version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c
4instance: travis-job-b270392d-407b-454a-9e15-c2cd69f7f24d travis-ci-ubuntu-2004-1737724207-d0e199ee-dirty (via amqp)
5startup: 6.26800922s
60.30s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build group: stable
10Build dist: focal
11Build id: 274054568
12Job id: 630198407
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.69s0.33s0.06s0.01s0.04s0.00s0.03s0.01s0.02s0.01s0.01s0.00s0.39sOK
1670.00s0.05s0.00s0.01s0.18s0.00s0.00s0.00s0.01s0.00s0.13s0.00s1.00s0.00s0.00s6.04s0.00s4.05s0.00s2.26s
docker_mtu_and_registry_mirrors
Docker
resolvconf
services
1686.03s$ travis_setup_postgresql
169Starting PostgreSQL v13
170sudo systemctl start postgresql@13-main
git.checkout
1710.01s0.57s$ 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.36 MiB/s, done.
178Resolving deltas: 100% (1109/1109), done.
179$ cd travis-ci/packer-templates
1800.33s$ git fetch origin +refs/pull/875/merge: --depth=50
181remote: Enumerating objects: 287, done.
182remote: Counting objects: 100% (287/287), done.
183remote: Compressing objects: 100% (89/89), done.
184remote: Total 223 (delta 155), reused 167 (delta 106), pack-reused 0 (from 0)
185Receiving objects: 100% (223/223), 38.47 KiB | 12.82 MiB/s, done.
186Resolving deltas: 100% (155/155), completed with 40 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.74s$ 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.59sattempting to download cache archive
236fetching PR.875/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
237found cache
2380.00s2.95sadding /home/travis/bin to cache
cache.bundler
2410.00s2.87sadding /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.73s$ rvm use 3.3.5 --install --binary --fuzzy
255Using /home/travis/.rvm/gems/ruby-3.3.5
install.4
2560.92s$ 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.70s$ 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.45s$ ./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
27771dbab1
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.
28149.51s$ 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
349In packer-scripts/ant-install line 14:
350 echo 'ANT_HOME="/usr/local/ant"
351 ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
354In packer-scripts/pre-chef-bootstrap line 76:
355 ${APT_GET_INSTALL_PRE_CHEF}
356 ^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
358Did you mean:
359 "${APT_GET_INSTALL_PRE_CHEF}"
362In packer-scripts/pre-chef-bootstrap-bionic line 71:
363 ${APT_GET_INSTALL_PRE_CHEF}
364 ^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
366Did you mean:
367 "${APT_GET_INSTALL_PRE_CHEF}"
370In packer-scripts/pre-chef-bootstrap-focal line 64:
371 ${APT_GET_INSTALL_PRE_CHEF}
372 ^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
374Did you mean:
375 "${APT_GET_INSTALL_PRE_CHEF}"
378In packer-scripts/pre-chef-bootstrap-jammy line 66:
379 ${APT_GET_INSTALL_PRE_CHEF}
380 ^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
382Did you mean:
383 "${APT_GET_INSTALL_PRE_CHEF}"
386In packer-scripts/pyenv-install line 12:
387 git clone https://github.com/pyenv/pyenv-update.git $(pyenv root)/plugins/pyenv-update
388 ^-----------^ SC2046 (warning): Quote this to prevent word splitting.
391In packer-scripts/updates line 18:
392 source ~/.bashrc
393 ^-------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
396In packer-scripts/updates line 33:
397 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
398 ^-------------^ SC1091 (info): Not following: /etc/os-release was not specified as input (see shellcheck -x).
401In packer-scripts/updates line 46:
402 dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n '/'`uname -r`'/q;p' | xargs sudo apt-get -y purge
403 ^--------^ SC2046 (warning): Quote this to prevent word splitting.
404 ^--------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
406Did you mean:
407 dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n '/'$(uname -r)'/q;p' | xargs sudo apt-get -y purge
410In packer-scripts/updates line 47:
411 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)
412 ^-- SC2046 (warning): Quote this to prevent word splitting.
413 ^-------------------------^ SC2046 (warning): Quote this to prevent word splitting.
416In packer-scripts/updates line 55:
417 source ~/.bashrc
418 ^-------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
421In packer-scripts/updates line 97:
422 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
423 ^-------------^ SC1091 (info): Not following: /etc/os-release was not specified as input (see shellcheck -x).
425For more information:
426 https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
427 https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
428 https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/os-release wa...
429make: *** [Makefile:68: test] Error 123
430The command "bundle exec make test" exited with 2.
4313.96s$ make update-gce-images
432bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)
433ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
434Please run:
436 $ gcloud auth login
438to obtain new credentials.
440If you have already logged in with a different account, run:
442 $ gcloud config set account ACCOUNT
444to select an already authenticated account to use.
445ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
446Please run:
448 $ gcloud auth login
450to obtain new credentials.
452If you have already logged in with a different account, run:
454 $ gcloud config set account ACCOUNT
456to select an already authenticated account to use.
457ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
458Please run:
460 $ gcloud auth login
462to obtain new credentials.
464If you have already logged in with a different account, run:
466 $ gcloud config set account ACCOUNT
468to select an already authenticated account to use.
469The command "make update-gce-images" exited with 0.
4700.01s$ git diff --exit-code
471The command "git diff --exit-code" exited with 0.
4720.01s$ git diff --cached --exit-code
473The command "git diff --cached --exit-code" exited with 0.
4740.16s$ sudo lsof | grep dpkg || true
475The command "sudo lsof | grep dpkg || true" exited with 0.
47644.26s$ travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'
477+sudo packer-scripts/run-serverspecs
478+ shopt -s nullglob
479+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
480+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
481+ export CHEF_LICENSE=accept-silent
482+ CHEF_LICENSE=accept-silent
483+ 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
484+ 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
485+ export DEBIAN_FRONTEND=noninteractive
486+ DEBIAN_FRONTEND=noninteractive
487+ export RUBYOPT=-W0
488+ RUBYOPT=-W0
489+ : /home/travis/build/travis-ci/packer-templates/tmp
490+ : 'bash -lc'
491+ : docker
492+ [[ docker == \d\o\c\k\e\r ]]
493+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'
494+ SPEC_ARGS='--tag ~dev --tag ~docker:false'
495+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp
496+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]
497+ curl -sSL https://omnitruck.chef.io/install.sh
498+ sudo bash -s -- -P chef-workstation -v 22.5.923
499ubuntu 20.04 x86_64
500Getting information for chef-workstation stable 22.5.923 for ubuntu...
501downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_64
502 to file /tmp/install.sh.9390/metadata.txt
503trying wget...
504sha1 b8c582336804d5986f0f6d3dddeb9bf300d2d2bd
505sha256 b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c
506url https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
507version 22.5.923
508downloaded metadata file looks valid...
509downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
510 to file /tmp/install.sh.9390/chef-workstation_22.5.923-1_amd64.deb
511trying wget...
512Comparing checksum with sha256sum...
513Installing chef-workstation 22.5.923
514installing with dpkg...
515Selecting previously unselected package chef-workstation.
516(Reading database ... 153602 files and directories currently installed.)
517Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...
518Unpacking chef-workstation (22.5.923-1) ...
519Setting up chef-workstation (22.5.923-1) ...
521The Chef Workstation App is available.
523Launch the App by running 'chef-workstation-app'.
524The App will then be available in the system tray.
526Thank you for installing Chef Workstation!
527You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/
529+ __run_retry 2 30 apt-get update -y
530+ local retries=2
531+ shift
532+ local retry_delay=30
533+ shift
534+ cmd=("${@}")
535+ local cmd
536+ local i=0
537+ true
538+ [[ 0 -gt 2 ]]
539+ apt-get update -y
540Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
541Hit:2 https://download.docker.com/linux/ubuntu focal InRelease
542Get:3 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]
543Get:4 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]
544Hit:5 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease
545Hit:6 https://packages.redis.io/deb focal InRelease
546Get:7 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]
547Get:8 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]
548Get:9 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
549Get:10 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease [5,172 B]
550Get:11 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]
551Get:12 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [5,117 B]
552Ign:13 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages
553Get:14 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [45.9 kB]
554Get:13 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]
555Get:15 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]
556Get:16 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,217 kB]
557Get:17 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
558Get:18 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
559Get:19 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,046 kB]
560Get:20 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [742 kB]
561Get:21 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,327 kB]
562Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [600 kB]
563Get:23 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [860 kB]
564Get:24 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,297 kB]
565Ign:25 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages
566Get:25 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]
567Get:26 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [574 kB]
568Get:27 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]
569Get:28 http://archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]
570Get:29 http://archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]
571Get:30 http://archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]
572Get:31 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
573Get:32 http://archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]
574Get:33 http://archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]
575Get:34 http://archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]
576Get:35 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
577Get:36 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]
578Get:37 http://archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]
579Get:38 http://archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]
580Get:39 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
581Get:40 http://archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]
582Get:41 http://archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]
583Get:42 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]
584Get:43 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,693 kB]
585Get:44 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,326 kB]
586Get:45 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [856 kB]
587Get:46 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]
588Get:47 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,515 kB]
589Get:48 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [49.0 kB]
590Get:49 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [625 kB]
591Get:50 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]
592Get:51 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,020 kB]
593Get:52 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,589 kB]
594Get:53 http://archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [421 kB]
595Get:54 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]
596Get:55 http://archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]
597Get:56 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [34.6 kB]
598Get:57 http://archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,635 B]
599Get:58 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [612 B]
600Get:59 http://archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]
601Get:60 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
602Get:61 http://archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]
603Get:62 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]
604Get:63 http://archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]
605Get:64 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
606Get:65 http://archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]
607Get:66 http://archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]
608Get:67 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]
609Get:68 http://archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]
610Fetched 58.4 MB in 5s (12.2 MB/s)
611Reading package lists... Done
612N: 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'
613+ return
614+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client
615+ local retries=2
616+ shift
617+ local retry_delay=30
618+ shift
619+ cmd=("${@}")
620+ local cmd
621+ local i=0
622+ true
623+ [[ 0 -gt 2 ]]
624+ apt-get install libc-client2007e-dev mysql-client
625Reading package lists... Done
626Building dependency tree
627Reading state information... Done
628libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).
629The following packages were automatically installed and are no longer required:
630 amd64-microcode bubblewrap dictionaries-common hunspell-en-us
631 intel-microcode iucode-tool libaspell15 libenchant-2-2 libglu1-mesa
632 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libgudev-1.0-0
633 libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 libjavascriptcoregtk-4.0-18
634 libnotify4 libopengl0 libopenjp2-7 liborc-0.4-0 libsecret-1-0
635 libsecret-common libwebkit2gtk-4.0-37 libwebpdemux2 libwoff1
636 libwxbase3.0-0v5 libwxgtk-webview3.0-gtk3-0v5 libwxgtk3.0-gtk3-0v5
637 linux-image-unsigned-5.4.0-204-generic linux-modules-5.4.0-204-generic
638 xdg-dbus-proxy
639Use 'sudo apt autoremove' to remove them.
640The following packages will be upgraded:
641 mysql-client
6421 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
643Need to get 9,368 B of archives.
644After this operation, 0 B of additional disk space will be used.
645Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 mysql-client all 8.0.41-0ubuntu0.20.04.1 [9,368 B]
646Fetched 9,368 B in 0s (39.7 kB/s)
647(Reading database ... 201004 files and directories currently installed.)
648Preparing to unpack .../mysql-client_8.0.41-0ubuntu0.20.04.1_all.deb ...
649Unpacking mysql-client (8.0.41-0ubuntu0.20.04.1) over (8.0.40-0ubuntu0.20.04.1) ...
650Setting up mysql-client (8.0.41-0ubuntu0.20.04.1) ...
651+ return
652+ __create_sudo_bash
653+ cat
654+ chmod 0755 /tmp/sudo-bash
655+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp
656+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp
657+ for suite in ${SPEC_SUITES/,/ }
658+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'
659+ local suite=travis_packer_templates
660+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
661+ local 'runner=bash -lc'
662+ local cookbook_dir
663++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp
664++ local suite=travis_packer_templates
665++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
666++ local spec_dir
667+++ head -1
668+++ 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
669++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
670++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
671+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
672+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
673+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'
674+ local suite=travis_packer_templates
675+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
676+ local 'runner=bash -lc'
677+ set +o errexit
678+ bash -lc '
679set -o xtrace
680export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"
681export TERM=xterm
682export PACKER_BUILDER_TYPE=docker
683export RUBYOPT=-W0
684chef gem install serverspec
685unset GEM_PATH
686cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
687sudo systemctl start xvfb.service
688set -o errexit
690+ 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
691+ 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
692+ export TERM=xterm
693+ TERM=xterm
694+ export PACKER_BUILDER_TYPE=docker
695+ PACKER_BUILDER_TYPE=docker
696+ export RUBYOPT=-W0
697+ RUBYOPT=-W0
698+ chef gem install serverspec
699Fetching serverspec-2.42.3.gem
700WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,
701 gem executables will not run.
702Successfully installed serverspec-2.42.3
7031 gem installed
704+ unset GEM_PATH
705+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
706+ sudo systemctl start xvfb.service
707+ set -o errexit
708+ local exit_code=0
709+ [[ 0 != 0 ]]
710+ set -o errexit
711+ popd
712+ [[ -z 1 ]]
713The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 0.
7140.01s$ for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done
715checking /home/travis/.*_rspec.json
716/home/travis/.travis/functions: line 109: /home/travis/.*_rspec.json: No such file or directory
717The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 1.
cache.2
718store build cache
719$ bundle clean
7200.00s1.55snothing changed
723Done. Your build exited with 1.
Top