travis_fold:start:worker_info
Worker information
hostname: 00815f25-30ed-4af4-b483-2cd0ea153155@1.worker-n2-com-f8c4bb956-vwsbv.gce-production-1
version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c
instance: travis-job-3b3da989-b801-411a-898b-7331bba81d70 travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)
startup: 5.917562995s
travis_fold:end:worker_info
travis_time:start:1ca58f00
travis_time:end:1ca58f00:start=1729078795762351175,finish=1729078795977393472,duration=215042297,event=no_world_writable_dirs
travis_time:start:02c58a80
travis_time:end:02c58a80:start=1729078795980197344,finish=1729078795988166615,duration=7969271,event=agent
travis_time:start:00a1328a
travis_time:end:00a1328a:start=1729078795990855323,finish=1729078795992770692,duration=1915369,event=check_unsupported
travis_time:start:174d00ec
travis_fold:start:system_info
Build system information
Build language: ruby
Build group: stable
Build dist: focal
Build id: 272754968
Job id: 627169211
Runtime kernel version: 5.15.0-1068-gcp
VM: default
travis-build version: 6b157a1c
Build image provisioning date and time
Fri 13 Sep 2024 09:58:48 AM UTC
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.6 LTS
Release:	20.04
Codename:	focal
Systemd Version
systemd 245 (245.4-4ubuntu3.23)
Cookbooks Version
39734fe https://github.com/travis-ci/travis-cookbooks/tree/39734fe
git version
git version 2.46.0
bash version
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
gcc version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
docker version
Client:
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.21.1
 Git commit:        24.0.7-0ubuntu2~20.04.1
 Built:             Wed Mar 13 20:29:24 2024
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          24.0.7
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.21.1
  Git commit:       24.0.7-0ubuntu2~20.04.1
  Built:            Wed Mar 13 20:29:24 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.12
  GitCommit:        
 runc:
  Version:          1.1.12-0ubuntu2~20.04.1
  GitCommit:        
 docker-init:
  Version:          0.19.0
  GitCommit:        
clang version
clang version 18.1.8
jq version
jq-1.7.1
bats version
Bats 1.11.0
shellcheck version
0.10.0
shfmt version
v3.8.0
ccache version
3.7.7
cmake version
cmake version 3.29.0
heroku version
heroku/9.2.1 linux-x64 node-v16.20.2
imagemagick version
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
md5deep version
4.4
mercurial version
version 6.5.2
mysql version
mysql  Ver 8.0.39-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
openssl version
OpenSSL 1.1.1f  31 Mar 2020
packer version
Packer v1.11.2
postgresql client version
psql (PostgreSQL) 13.16 (Ubuntu 13.16-1.pgdg20.04+1)
ragel version
Ragel State Machine Compiler version 6.10 March 2017
sudo version
1.8.31
gzip version
gzip 1.10
zip version
Zip 3.0
vim version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 04 2024 03:11:27)
iptables version
iptables v1.8.4 (legacy)
curl version
curl 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
wget version
GNU Wget 1.20.3 built on linux-gnu.
rsync version
rsync  version 3.1.3  protocol version 31
gimme version
v1.5.4
nvm version
0.40.1
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.95
phpenv version
rbenv 1.3.0
rvm version
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
default python version
Python 3.7.17
ElasticSearch version
7.16.3
Installed Firefox version
firefox 99.0
MongoDB version
MongoDB 4.4.29
PhantomJS version
2.1.1
Redis version
redis-server 7.4.0
Pre-installed Go versions
1.23.0
mvn version
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
gradle version
Gradle 8.3!
lein version
Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.24.1
v12.22.12
v14.21.3
v16.15
v16.20.2
v18.20.3
v18.20.4
v20.17.0
v4.9.1
v6.17.1
v8.17.0
phpenv versions
  system
  7.4
* 7.4.6 (set by /home/travis/.phpenv/version)
  hhvm-stable
  hhvm
composer --version
Composer version 1.10.6 2020-05-06 10:28:10
Pre-installed Ruby versions
ruby-2.7.6
ruby-3.3.5
travis_fold:end:system_info

travis_time:end:174d00ec:start=1729078795995298998,finish=1729078796002232321,duration=6933323,event=show_system_info
travis_time:start:0162b53b
travis_time:end:0162b53b:start=1729078796006001548,finish=1729078796023133113,duration=17131565,event=rm_riak_source
travis_time:start:08e33f7a
travis_time:end:08e33f7a:start=1729078796025924978,finish=1729078796031522671,duration=5597693,event=fix_rwky_redis
travis_time:start:1a4b4800
travis_time:end:1a4b4800:start=1729078796035475218,finish=1729078796862713333,duration=827238115,event=wait_for_network
travis_time:start:1238cfa0
travis_time:end:1238cfa0:start=1729078796865823599,finish=1729078797156745074,duration=290921475,event=update_apt_keys
travis_time:start:0433b4b4
travis_time:end:0433b4b4:start=1729078797159651036,finish=1729078797210103042,duration=50452006,event=fix_hhvm_source
travis_time:start:00c25ce0
travis_time:end:00c25ce0:start=1729078797213484210,finish=1729078797224329690,duration=10845480,event=update_mongo_arch
travis_time:start:167b31dc
travis_time:end:167b31dc:start=1729078797227349514,finish=1729078797264142261,duration=36792747,event=fix_sudo_enabled_trusty
travis_time:start:2ee19c21
travis_time:end:2ee19c21:start=1729078797267527295,finish=1729078797269762686,duration=2235391,event=update_glibc
travis_time:start:027389db
travis_time:end:027389db:start=1729078797272678101,finish=1729078797302128144,duration=29450043,event=clean_up_path
travis_time:start:09595db8
travis_time:end:09595db8:start=1729078797304951368,finish=1729078797313727337,duration=8775969,event=fix_resolv_conf
travis_time:start:1801f6fe
travis_time:end:1801f6fe:start=1729078797316428986,finish=1729078797326314950,duration=9885964,event=fix_etc_hosts
travis_time:start:04510fb4
travis_time:end:04510fb4:start=1729078797328980732,finish=1729078797337914285,duration=8933553,event=fix_mvn_settings_xml
travis_time:start:00207f34
travis_time:end:00207f34:start=1729078797340769863,finish=1729078797351890234,duration=11120371,event=no_ipv6_localhost
travis_time:start:059a9575
travis_time:end:059a9575:start=1729078797355455022,finish=1729078797357485247,duration=2030225,event=fix_etc_mavenrc
travis_time:start:0dfc1914
OK
travis_time:end:0dfc1914:start=1729078797360100802,finish=1729078797779641425,duration=419540623,event=fix_perforce_key
travis_time:start:0218028e
travis_time:end:0218028e:start=1729078797782912853,finish=1729078797785817721,duration=2904868,event=fix_wwdr_certificate
travis_time:start:092f6634
travis_time:end:092f6634:start=1729078797788436536,finish=1729078797815567287,duration=27130751,event=put_localhost_first
travis_time:start:02a930c4
travis_time:end:02a930c4:start=1729078797818230589,finish=1729078797821102373,duration=2871784,event=home_paths
travis_time:start:22c1b02c
travis_time:end:22c1b02c:start=1729078797823779568,finish=1729078797836445680,duration=12666112,event=disable_initramfs
travis_time:start:0c7dfe20
travis_time:end:0c7dfe20:start=1729078797839070320,finish=1729078797981396633,duration=142326313,event=disable_ssh_roaming
travis_time:start:03fcde98
travis_time:end:03fcde98:start=1729078797984745786,finish=1729078797986912686,duration=2166900,event=debug_tools
travis_time:start:25f12d1f
travis_time:end:25f12d1f:start=1729078797989797452,finish=1729078797992661422,duration=2863970,event=uninstall_oclint
travis_time:start:33557d0c
travis_time:end:33557d0c:start=1729078797995549408,finish=1729078797998357656,duration=2808248,event=rvm_use
travis_time:start:16cbf328
travis_time:end:16cbf328:start=1729078798001296131,finish=1729078798009232115,duration=7935984,event=rm_etc_boto_cfg
travis_time:start:2b775a8a
travis_time:end:2b775a8a:start=1729078798011915379,finish=1729078798013863136,duration=1947757,event=rm_oraclejdk8_symlink
travis_time:start:00df8074
travis_time:end:00df8074:start=1729078798016451327,finish=1729078798164754078,duration=148302751,event=enable_i386
travis_time:start:00751b60
travis_time:end:00751b60:start=1729078798168794527,finish=1729078798173342848,duration=4548321,event=update_rubygems
travis_time:start:0697c10c
travis_time:end:0697c10c:start=1729078798177045334,finish=1729078799323384561,duration=1146339227,event=ensure_path_components
travis_time:start:329d45c2
travis_time:end:329d45c2:start=1729078799326996281,finish=1729078799329729996,duration=2733715,event=redefine_curl
travis_time:start:2f22af4a
travis_time:end:2f22af4a:start=1729078799332856346,finish=1729078799335206076,duration=2349730,event=nonblock_pipe
travis_time:start:0447980c
travis_time:end:0447980c:start=1729078799338376473,finish=1729078805380137845,duration=6041761372,event=apt_get_update
travis_time:start:05c194b3
travis_time:end:05c194b3:start=1729078805383110948,finish=1729078805385107207,duration=1996259,event=deprecate_xcode_64
travis_time:start:09115b84
curl: (56) OpenSSL SSL_read: Connection timed out, errno 110
xz: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Failed to update Heroku CLI
travis_time:end:09115b84:start=1729078805387772958,finish=1729079418869866851,duration=613482093893,event=update_heroku
travis_time:start:03fd6308
travis_time:end:03fd6308:start=1729079418872948783,finish=1729079418875099674,duration=2150891,event=shell_session_update
travis_time:start:09d92bb8
travis_fold:start:docker_mtu_and_registry_mirrors
travis_fold:end:docker_mtu_and_registry_mirrors
travis_time:end:09d92bb8:start=1729079418877870552,finish=1729079419943952269,duration=1066081717,event=set_docker_mtu_and_registry_mirrors
travis_time:start:0694b729
travis_fold:start:Docker
travis_fold:end:Docker
travis_time:end:0694b729:start=1729079419947489414,finish=1729079419950017442,duration=2528028,event=docker_config
travis_time:start:098c4510
travis_fold:start:resolvconf
travis_fold:end:resolvconf
travis_time:end:098c4510:start=1729079419953091226,finish=1729079420017461826,duration=64370600,event=resolvconf
travis_time:start:079173c6
travis_time:end:079173c6:start=1729079420020523256,finish=1729079420224255390,duration=203732134,event=maven_central_mirror
travis_time:start:1a41185e
travis_time:end:1a41185e:start=1729079420227221612,finish=1729079420345494329,duration=118272717,event=maven_https
travis_time:start:0a31cc30
travis_fold:start:services
travis_time:start:02366350
$ travis_setup_postgresql
Starting PostgreSQL v13
sudo systemctl start postgresql@13-main
travis_time:end:02366350:start=1729079420352496920,finish=1729079423327473609,duration=2974976689,event=prepare
travis_fold:end:services
travis_time:end:02366350:start=1729079420352496920,finish=1729079426332448590,duration=5979951670,event=services
travis_time:start:11d0e6f4
travis_time:end:11d0e6f4:start=1729079426335461738,finish=1729079426337569088,duration=2107350,event=fix_ps4
travis_time:start:0d2b00cf

travis_fold:start:git.checkout
travis_time:start:05039416
travis_time:end:05039416:start=1729079426343559169,finish=1729079426353111120,duration=9551951,event=checkout
travis_time:start:2d533bab
$ git clone --depth=50 https://github.com/travis-ci/packer-templates.git travis-ci/packer-templates
Cloning into 'travis-ci/packer-templates'...
remote: Enumerating objects: 1806, done.
remote: Counting objects:   0% (1/1806)
remote: Counting objects:   1% (19/1806)
remote: Counting objects:   2% (37/1806)
remote: Counting objects:   3% (55/1806)
remote: Counting objects:   4% (73/1806)
remote: Counting objects:   5% (91/1806)
remote: Counting objects:   6% (109/1806)
remote: Counting objects:   7% (127/1806)
remote: Counting objects:   8% (145/1806)
remote: Counting objects:   9% (163/1806)
remote: Counting objects:  10% (181/1806)
remote: Counting objects:  11% (199/1806)
remote: Counting objects:  12% (217/1806)
remote: Counting objects:  13% (235/1806)
remote: Counting objects:  14% (253/1806)
remote: Counting objects:  15% (271/1806)
remote: Counting objects:  16% (289/1806)
remote: Counting objects:  17% (308/1806)
remote: Counting objects:  18% (326/1806)
remote: Counting objects:  19% (344/1806)
remote: Counting objects:  20% (362/1806)
remote: Counting objects:  21% (380/1806)
remote: Counting objects:  22% (398/1806)
remote: Counting objects:  23% (416/1806)
remote: Counting objects:  24% (434/1806)
remote: Counting objects:  25% (452/1806)
remote: Counting objects:  26% (470/1806)
remote: Counting objects:  27% (488/1806)
remote: Counting objects:  28% (506/1806)
remote: Counting objects:  29% (524/1806)
remote: Counting objects:  30% (542/1806)
remote: Counting objects:  31% (560/1806)
remote: Counting objects:  32% (578/1806)
remote: Counting objects:  33% (596/1806)
remote: Counting objects:  34% (615/1806)
remote: Counting objects:  35% (633/1806)
remote: Counting objects:  36% (651/1806)
remote: Counting objects:  37% (669/1806)
remote: Counting objects:  38% (687/1806)
remote: Counting objects:  39% (705/1806)
remote: Counting objects:  40% (723/1806)
remote: Counting objects:  41% (741/1806)
remote: Counting objects:  42% (759/1806)
remote: Counting objects:  43% (777/1806)
remote: Counting objects:  44% (795/1806)
remote: Counting objects:  45% (813/1806)
remote: Counting objects:  46% (831/1806)
remote: Counting objects:  47% (849/1806)
remote: Counting objects:  48% (867/1806)
remote: Counting objects:  49% (885/1806)
remote: Counting objects:  50% (903/1806)
remote: Counting objects:  51% (922/1806)
remote: Counting objects:  52% (940/1806)
remote: Counting objects:  53% (958/1806)
remote: Counting objects:  54% (976/1806)
remote: Counting objects:  55% (994/1806)
remote: Counting objects:  56% (1012/1806)
remote: Counting objects:  57% (1030/1806)
remote: Counting objects:  58% (1048/1806)
remote: Counting objects:  59% (1066/1806)
remote: Counting objects:  60% (1084/1806)
remote: Counting objects:  61% (1102/1806)
remote: Counting objects:  62% (1120/1806)
remote: Counting objects:  63% (1138/1806)
remote: Counting objects:  64% (1156/1806)
remote: Counting objects:  65% (1174/1806)
remote: Counting objects:  66% (1192/1806)
remote: Counting objects:  67% (1211/1806)
remote: Counting objects:  68% (1229/1806)
remote: Counting objects:  69% (1247/1806)
remote: Counting objects:  70% (1265/1806)
remote: Counting objects:  71% (1283/1806)
remote: Counting objects:  72% (1301/1806)
remote: Counting objects:  73% (1319/1806)
remote: Counting objects:  74% (1337/1806)
remote: Counting objects:  75% (1355/1806)
remote: Counting objects:  76% (1373/1806)
remote: Counting objects:  77% (1391/1806)
remote: Counting objects:  78% (1409/1806)
remote: Counting objects:  79% (1427/1806)
remote: Counting objects:  80% (1445/1806)
remote: Counting objects:  81% (1463/1806)
remote: Counting objects:  82% (1481/1806)
remote: Counting objects:  83% (1499/1806)
remote: Counting objects:  84% (1518/1806)
remote: Counting objects:  85% (1536/1806)
remote: Counting objects:  86% (1554/1806)
remote: Counting objects:  87% (1572/1806)
remote: Counting objects:  88% (1590/1806)
remote: Counting objects:  89% (1608/1806)
remote: Counting objects:  90% (1626/1806)
remote: Counting objects:  91% (1644/1806)
remote: Counting objects:  92% (1662/1806)
remote: Counting objects:  93% (1680/1806)
remote: Counting objects:  94% (1698/1806)
remote: Counting objects:  95% (1716/1806)
remote: Counting objects:  96% (1734/1806)
remote: Counting objects:  97% (1752/1806)
remote: Counting objects:  98% (1770/1806)
remote: Counting objects:  99% (1788/1806)
remote: Counting objects: 100% (1806/1806)
remote: Counting objects: 100% (1806/1806), done.
remote: Compressing objects:   0% (1/901)
remote: Compressing objects:   1% (10/901)
remote: Compressing objects:   2% (19/901)
remote: Compressing objects:   3% (28/901)
remote: Compressing objects:   4% (37/901)
remote: Compressing objects:   5% (46/901)
remote: Compressing objects:   6% (55/901)
remote: Compressing objects:   7% (64/901)
remote: Compressing objects:   8% (73/901)
remote: Compressing objects:   9% (82/901)
remote: Compressing objects:  10% (91/901)
remote: Compressing objects:  11% (100/901)
remote: Compressing objects:  12% (109/901)
remote: Compressing objects:  13% (118/901)
remote: Compressing objects:  14% (127/901)
remote: Compressing objects:  15% (136/901)
remote: Compressing objects:  16% (145/901)
remote: Compressing objects:  17% (154/901)
remote: Compressing objects:  18% (163/901)
remote: Compressing objects:  19% (172/901)
remote: Compressing objects:  20% (181/901)
remote: Compressing objects:  21% (190/901)
remote: Compressing objects:  22% (199/901)
remote: Compressing objects:  23% (208/901)
remote: Compressing objects:  24% (217/901)
remote: Compressing objects:  25% (226/901)
remote: Compressing objects:  26% (235/901)
remote: Compressing objects:  27% (244/901)
remote: Compressing objects:  28% (253/901)
remote: Compressing objects:  29% (262/901)
remote: Compressing objects:  30% (271/901)
remote: Compressing objects:  31% (280/901)
remote: Compressing objects:  32% (289/901)
remote: Compressing objects:  33% (298/901)
remote: Compressing objects:  34% (307/901)
remote: Compressing objects:  35% (316/901)
remote: Compressing objects:  36% (325/901)
remote: Compressing objects:  37% (334/901)
remote: Compressing objects:  38% (343/901)
remote: Compressing objects:  39% (352/901)
remote: Compressing objects:  40% (361/901)
remote: Compressing objects:  41% (370/901)
remote: Compressing objects:  42% (379/901)
remote: Compressing objects:  43% (388/901)
remote: Compressing objects:  44% (397/901)
remote: Compressing objects:  45% (406/901)
remote: Compressing objects:  46% (415/901)
remote: Compressing objects:  47% (424/901)
remote: Compressing objects:  48% (433/901)
remote: Compressing objects:  49% (442/901)
remote: Compressing objects:  50% (451/901)
remote: Compressing objects:  51% (460/901)
remote: Compressing objects:  52% (469/901)
remote: Compressing objects:  53% (478/901)
remote: Compressing objects:  54% (487/901)
remote: Compressing objects:  55% (496/901)
remote: Compressing objects:  56% (505/901)
remote: Compressing objects:  57% (514/901)
remote: Compressing objects:  58% (523/901)
remote: Compressing objects:  59% (532/901)
remote: Compressing objects:  60% (541/901)
remote: Compressing objects:  61% (550/901)
remote: Compressing objects:  62% (559/901)
remote: Compressing objects:  63% (568/901)
remote: Compressing objects:  64% (577/901)
remote: Compressing objects:  65% (586/901)
remote: Compressing objects:  66% (595/901)
remote: Compressing objects:  67% (604/901)
remote: Compressing objects:  68% (613/901)
remote: Compressing objects:  69% (622/901)
remote: Compressing objects:  70% (631/901)
remote: Compressing objects:  71% (640/901)
remote: Compressing objects:  72% (649/901)
remote: Compressing objects:  73% (658/901)
remote: Compressing objects:  74% (667/901)
remote: Compressing objects:  75% (676/901)
remote: Compressing objects:  76% (685/901)
remote: Compressing objects:  77% (694/901)
remote: Compressing objects:  78% (703/901)
remote: Compressing objects:  79% (712/901)
remote: Compressing objects:  80% (721/901)
remote: Compressing objects:  81% (730/901)
remote: Compressing objects:  82% (739/901)
remote: Compressing objects:  83% (748/901)
remote: Compressing objects:  84% (757/901)
remote: Compressing objects:  85% (766/901)
remote: Compressing objects:  86% (775/901)
remote: Compressing objects:  87% (784/901)
remote: Compressing objects:  88% (793/901)
remote: Compressing objects:  89% (802/901)
remote: Compressing objects:  90% (811/901)
remote: Compressing objects:  91% (820/901)
remote: Compressing objects:  92% (829/901)
remote: Compressing objects:  93% (838/901)
remote: Compressing objects:  94% (847/901)
remote: Compressing objects:  95% (856/901)
remote: Compressing objects:  96% (865/901)
remote: Compressing objects:  97% (874/901)
remote: Compressing objects:  98% (883/901)
remote: Compressing objects:  99% (892/901)
remote: Compressing objects: 100% (901/901)
remote: Compressing objects: 100% (901/901), done.
Receiving objects:   0% (1/1806)
Receiving objects:   1% (19/1806)
Receiving objects:   2% (37/1806)
Receiving objects:   3% (55/1806)
Receiving objects:   4% (73/1806)
Receiving objects:   5% (91/1806)
Receiving objects:   6% (109/1806)
Receiving objects:   7% (127/1806)
Receiving objects:   8% (145/1806)
Receiving objects:   9% (163/1806)
Receiving objects:  10% (181/1806)
Receiving objects:  11% (199/1806)
Receiving objects:  12% (217/1806)
Receiving objects:  13% (235/1806)
Receiving objects:  14% (253/1806)
Receiving objects:  15% (271/1806)
Receiving objects:  16% (289/1806)
Receiving objects:  17% (308/1806)
Receiving objects:  18% (326/1806)
Receiving objects:  19% (344/1806)
Receiving objects:  20% (362/1806)
Receiving objects:  21% (380/1806)
Receiving objects:  22% (398/1806)
Receiving objects:  23% (416/1806)
Receiving objects:  24% (434/1806)
Receiving objects:  25% (452/1806)
Receiving objects:  26% (470/1806)
Receiving objects:  27% (488/1806)
Receiving objects:  28% (506/1806)
Receiving objects:  29% (524/1806)
Receiving objects:  30% (542/1806)
Receiving objects:  31% (560/1806)
Receiving objects:  32% (578/1806)
Receiving objects:  33% (596/1806)
Receiving objects:  34% (615/1806)
Receiving objects:  35% (633/1806)
Receiving objects:  36% (651/1806)
Receiving objects:  37% (669/1806)
Receiving objects:  38% (687/1806)
Receiving objects:  39% (705/1806)
Receiving objects:  40% (723/1806)
Receiving objects:  41% (741/1806)
Receiving objects:  42% (759/1806)
Receiving objects:  43% (777/1806)
Receiving objects:  44% (795/1806)
Receiving objects:  45% (813/1806)
Receiving objects:  46% (831/1806)
Receiving objects:  47% (849/1806)
Receiving objects:  48% (867/1806)
Receiving objects:  49% (885/1806)
Receiving objects:  50% (903/1806)
Receiving objects:  51% (922/1806)
Receiving objects:  52% (940/1806)
Receiving objects:  53% (958/1806)
Receiving objects:  54% (976/1806)
Receiving objects:  55% (994/1806)
Receiving objects:  56% (1012/1806)
Receiving objects:  57% (1030/1806)
Receiving objects:  58% (1048/1806)
remote: Total 1806 (delta 1132), reused 1229 (delta 742), pack-reused 0 (from 0)
Receiving objects:  59% (1066/1806)
Receiving objects:  60% (1084/1806)
Receiving objects:  61% (1102/1806)
Receiving objects:  62% (1120/1806)
Receiving objects:  63% (1138/1806)
Receiving objects:  64% (1156/1806)
Receiving objects:  65% (1174/1806)
Receiving objects:  66% (1192/1806)
Receiving objects:  67% (1211/1806)
Receiving objects:  68% (1229/1806)
Receiving objects:  69% (1247/1806)
Receiving objects:  70% (1265/1806)
Receiving objects:  71% (1283/1806)
Receiving objects:  72% (1301/1806)
Receiving objects:  73% (1319/1806)
Receiving objects:  74% (1337/1806)
Receiving objects:  75% (1355/1806)
Receiving objects:  76% (1373/1806)
Receiving objects:  77% (1391/1806)
Receiving objects:  78% (1409/1806)
Receiving objects:  79% (1427/1806)
Receiving objects:  80% (1445/1806)
Receiving objects:  81% (1463/1806)
Receiving objects:  82% (1481/1806)
Receiving objects:  83% (1499/1806)
Receiving objects:  84% (1518/1806)
Receiving objects:  85% (1536/1806)
Receiving objects:  86% (1554/1806)
Receiving objects:  87% (1572/1806)
Receiving objects:  88% (1590/1806)
Receiving objects:  89% (1608/1806)
Receiving objects:  90% (1626/1806)
Receiving objects:  91% (1644/1806)
Receiving objects:  92% (1662/1806)
Receiving objects:  93% (1680/1806)
Receiving objects:  94% (1698/1806)
Receiving objects:  95% (1716/1806)
Receiving objects:  96% (1734/1806)
Receiving objects:  97% (1752/1806)
Receiving objects:  98% (1770/1806)
Receiving objects:  99% (1788/1806)
Receiving objects: 100% (1806/1806)
Receiving objects: 100% (1806/1806), 356.70 KiB | 6.04 MiB/s, done.
Resolving deltas:   0% (0/1132)
Resolving deltas:   1% (12/1132)
Resolving deltas:   2% (23/1132)
Resolving deltas:   3% (34/1132)
Resolving deltas:   4% (46/1132)
Resolving deltas:   5% (57/1132)
Resolving deltas:   6% (68/1132)
Resolving deltas:   7% (80/1132)
Resolving deltas:   8% (91/1132)
Resolving deltas:   9% (102/1132)
Resolving deltas:  10% (114/1132)
Resolving deltas:  11% (125/1132)
Resolving deltas:  12% (136/1132)
Resolving deltas:  13% (148/1132)
Resolving deltas:  14% (159/1132)
Resolving deltas:  15% (170/1132)
Resolving deltas:  16% (182/1132)
Resolving deltas:  17% (193/1132)
Resolving deltas:  18% (204/1132)
Resolving deltas:  19% (216/1132)
Resolving deltas:  20% (227/1132)
Resolving deltas:  21% (238/1132)
Resolving deltas:  22% (250/1132)
Resolving deltas:  23% (261/1132)
Resolving deltas:  24% (272/1132)
Resolving deltas:  25% (283/1132)
Resolving deltas:  26% (295/1132)
Resolving deltas:  27% (306/1132)
Resolving deltas:  28% (317/1132)
Resolving deltas:  29% (329/1132)
Resolving deltas:  30% (340/1132)
Resolving deltas:  31% (351/1132)
Resolving deltas:  32% (363/1132)
Resolving deltas:  33% (374/1132)
Resolving deltas:  34% (385/1132)
Resolving deltas:  35% (397/1132)
Resolving deltas:  36% (408/1132)
Resolving deltas:  37% (420/1132)
Resolving deltas:  38% (431/1132)
Resolving deltas:  39% (442/1132)
Resolving deltas:  40% (453/1132)
Resolving deltas:  41% (465/1132)
Resolving deltas:  42% (476/1132)
Resolving deltas:  43% (487/1132)
Resolving deltas:  44% (499/1132)
Resolving deltas:  45% (510/1132)
Resolving deltas:  46% (521/1132)
Resolving deltas:  47% (533/1132)
Resolving deltas:  48% (544/1132)
Resolving deltas:  49% (555/1132)
Resolving deltas:  50% (566/1132)
Resolving deltas:  51% (578/1132)
Resolving deltas:  52% (589/1132)
Resolving deltas:  53% (600/1132)
Resolving deltas:  54% (612/1132)
Resolving deltas:  55% (623/1132)
Resolving deltas:  56% (634/1132)
Resolving deltas:  57% (646/1132)
Resolving deltas:  58% (657/1132)
Resolving deltas:  59% (668/1132)
Resolving deltas:  60% (680/1132)
Resolving deltas:  61% (691/1132)
Resolving deltas:  62% (702/1132)
Resolving deltas:  63% (714/1132)
Resolving deltas:  64% (725/1132)
Resolving deltas:  65% (736/1132)
Resolving deltas:  66% (748/1132)
Resolving deltas:  67% (760/1132)
Resolving deltas:  68% (770/1132)
Resolving deltas:  69% (782/1132)
Resolving deltas:  70% (793/1132)
Resolving deltas:  71% (804/1132)
Resolving deltas:  72% (816/1132)
Resolving deltas:  73% (827/1132)
Resolving deltas:  74% (838/1132)
Resolving deltas:  75% (849/1132)
Resolving deltas:  76% (861/1132)
Resolving deltas:  77% (873/1132)
Resolving deltas:  78% (883/1132)
Resolving deltas:  79% (895/1132)
Resolving deltas:  80% (906/1132)
Resolving deltas:  81% (917/1132)
Resolving deltas:  82% (929/1132)
Resolving deltas:  83% (940/1132)
Resolving deltas:  84% (951/1132)
Resolving deltas:  85% (963/1132)
Resolving deltas:  86% (974/1132)
Resolving deltas:  87% (985/1132)
Resolving deltas:  88% (997/1132)
Resolving deltas:  89% (1008/1132)
Resolving deltas:  90% (1019/1132)
Resolving deltas:  91% (1031/1132)
Resolving deltas:  92% (1042/1132)
Resolving deltas:  93% (1053/1132)
Resolving deltas:  94% (1065/1132)
Resolving deltas:  95% (1076/1132)
Resolving deltas:  96% (1087/1132)
Resolving deltas:  97% (1099/1132)
Resolving deltas:  98% (1110/1132)
Resolving deltas:  99% (1121/1132)
Resolving deltas: 100% (1132/1132)
Resolving deltas: 100% (1132/1132), done.
travis_time:end:2d533bab:start=1729079426356457478,finish=1729079426850806772,duration=494349294,event=checkout
$ cd travis-ci/packer-templates
travis_time:start:26db39c0
$ git fetch origin +refs/pull/873/merge: --depth=50
remote: Enumerating objects: 55, done.
remote: Counting objects:   1% (1/53)
remote: Counting objects:   3% (2/53)
remote: Counting objects:   5% (3/53)
remote: Counting objects:   7% (4/53)
remote: Counting objects:   9% (5/53)
remote: Counting objects:  11% (6/53)
remote: Counting objects:  13% (7/53)
remote: Counting objects:  15% (8/53)
remote: Counting objects:  16% (9/53)
remote: Counting objects:  18% (10/53)
remote: Counting objects:  20% (11/53)
remote: Counting objects:  22% (12/53)
remote: Counting objects:  24% (13/53)
remote: Counting objects:  26% (14/53)
remote: Counting objects:  28% (15/53)
remote: Counting objects:  30% (16/53)
remote: Counting objects:  32% (17/53)
remote: Counting objects:  33% (18/53)
remote: Counting objects:  35% (19/53)
remote: Counting objects:  37% (20/53)
remote: Counting objects:  39% (21/53)
remote: Counting objects:  41% (22/53)
remote: Counting objects:  43% (23/53)
remote: Counting objects:  45% (24/53)
remote: Counting objects:  47% (25/53)
remote: Counting objects:  49% (26/53)
remote: Counting objects:  50% (27/53)
remote: Counting objects:  52% (28/53)
remote: Counting objects:  54% (29/53)
remote: Counting objects:  56% (30/53)
remote: Counting objects:  58% (31/53)
remote: Counting objects:  60% (32/53)
remote: Counting objects:  62% (33/53)
remote: Counting objects:  64% (34/53)
remote: Counting objects:  66% (35/53)
remote: Counting objects:  67% (36/53)
remote: Counting objects:  69% (37/53)
remote: Counting objects:  71% (38/53)
remote: Counting objects:  73% (39/53)
remote: Counting objects:  75% (40/53)
remote: Counting objects:  77% (41/53)
remote: Counting objects:  79% (42/53)
remote: Counting objects:  81% (43/53)
remote: Counting objects:  83% (44/53)
remote: Counting objects:  84% (45/53)
remote: Counting objects:  86% (46/53)
remote: Counting objects:  88% (47/53)
remote: Counting objects:  90% (48/53)
remote: Counting objects:  92% (49/53)
remote: Counting objects:  94% (50/53)
remote: Counting objects:  96% (51/53)
remote: Counting objects:  98% (52/53)
remote: Counting objects: 100% (53/53)
remote: Counting objects: 100% (53/53), done.
remote: Compressing objects:  10% (1/10)
remote: Compressing objects:  20% (2/10)
remote: Compressing objects:  30% (3/10)
remote: Compressing objects:  40% (4/10)
remote: Compressing objects:  50% (5/10)
remote: Compressing objects:  60% (6/10)
remote: Compressing objects:  70% (7/10)
remote: Compressing objects:  80% (8/10)
remote: Compressing objects:  90% (9/10)
remote: Compressing objects: 100% (10/10)
remote: Compressing objects: 100% (10/10), done.
remote: Total 25 (delta 15), reused 20 (delta 11), pack-reused 0 (from 0)
Unpacking objects:   4% (1/25)
Unpacking objects:   8% (2/25)
Unpacking objects:  12% (3/25)
Unpacking objects:  16% (4/25)
Unpacking objects:  20% (5/25)
Unpacking objects:  24% (6/25)
Unpacking objects:  28% (7/25)
Unpacking objects:  32% (8/25)
Unpacking objects:  36% (9/25)
Unpacking objects:  40% (10/25)
Unpacking objects:  44% (11/25)
Unpacking objects:  48% (12/25)
Unpacking objects:  52% (13/25)
Unpacking objects:  56% (14/25)
Unpacking objects:  60% (15/25)
Unpacking objects:  64% (16/25)
Unpacking objects:  68% (17/25)
Unpacking objects:  72% (18/25)
Unpacking objects:  76% (19/25)
Unpacking objects:  80% (20/25)
Unpacking objects:  84% (21/25)
Unpacking objects:  88% (22/25)
Unpacking objects:  92% (23/25)
Unpacking objects:  96% (24/25)
Unpacking objects: 100% (25/25)
Unpacking objects: 100% (25/25), 3.01 KiB | 342.00 KiB/s, done.
From https://github.com/travis-ci/packer-templates
 * branch            refs/pull/873/merge -> FETCH_HEAD
travis_time:end:26db39c0:start=1729079426854648786,finish=1729079427106693800,duration=252045014,event=checkout
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

travis_time:end:26db39c0:start=1729079426854648786,finish=1729079427119140348,duration=264491562,event=checkout
travis_time:start:01170baa

Setting environment variables from repository settings
$ export DOCKER_LOGIN_EMAIL=[secure]
$ export DOCKER_LOGIN_PASSWORD=[secure]
$ export DOCKER_LOGIN_SERVER=[secure]
$ export DOCKER_LOGIN_USERNAME=[secure]
$ export GCE_PROJECT_ID=[secure]
$ export JOB_BOARD_IMAGES_URL=[secure]
$ export GCE_ACCOUNT_FILE=[secure]
$ export GCE_ACCOUNT_FILE_B64_BZ2=[secure]
$ export GCR_LOGIN_SERVER=[secure]
$ export GCR_AUTH_TOKEN=[secure]
$ export QUAY_DOCKER_LOGIN_EMAIL=[secure]
$ export QUAY_DOCKER_LOGIN_PASSWORD=[secure]
$ export QUAY_DOCKER_LOGIN_SERVER=[secure]
$ export QUAY_DOCKER_LOGIN_USERNAME=[secure]
$ export TRAVIS_WORKER_VERSION=[secure]
$ export GCE_ACCOUNT_ID=[secure]
$ export GCE_SERVICE_ACCOUNT_ID=[secure]
$ export GCE_SERVICE_ACCOUNT_FILE_BZ2_B64=[secure]
$ export GITHUB_API_TOKEN=[secure]

Setting environment variables from .travis.yml
$ export DPKG_MANIFEST_JSON="${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json"
$ export LANG=en_US.UTF-8
$ export NODE_ATTRIBUTES_YML="${TRAVIS_BUILD_DIR}/.example-node-attributes.yml"
$ export PACKER_CHEF_PREFIX="${TRAVIS_BUILD_DIR}/tmp"
$ export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}"
$ export REQUEST_INTERVAL=5
$ export SKIP_CHEF_REMOVAL='1'
$ export SPEC_ARGS='--tag ~dev'
$ export SPEC_RUNNER='bash -lc'
$ export SPEC_SUITES='travis_packer_templates'
$ export SYSTEM_INFO_JSON="${TRAVIS_BUILD_DIR}/.example_system_info.json"
$ export TRAVIS_SOURCE_AMI="ami-01eefcaf0edcc4cf0"
$ export TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"

travis_time:end:01170baa:start=1729079427122031081,finish=1729079427130920852,duration=8889771,event=env
travis_fold:start:rvm
travis_time:start:16c48506
$ rvm use default
Using /home/travis/.rvm/gems/ruby-3.3.5
travis_time:end:16c48506:start=1729079427137969802,finish=1729079427848755416,duration=710785614,event=setup
travis_fold:end:rvm

$ export BUNDLE_GEMFILE=$PWD/Gemfile
travis_fold:start:cache.1
Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
travis_time:start:06d4ac38
$ Installing caching utilities
travis_time:end:06d4ac38:start=1729079428637967962,finish=1729079428795526970,duration=157559008,event=setup_casher
travis_time:start:0ceea570
travis_time:end:0ceea570:start=1729079428801519917,finish=1729079428804787221,duration=3267304,event=setup_casher
travis_time:start:00074081
attempting to download cache archive
fetching PR.873/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching PR.873/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching PR.873/cache--rvm-default--gemfile-Gemfile.tgz
fetching master/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching master/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching master/cache--rvm-default--gemfile-Gemfile.tgz
could not download cache
travis_time:end:00074081:start=1729079428809274543,finish=1729079430304074332,duration=1494799789,event=setup_casher
travis_time:start:2d2f6976
travis_time:end:2d2f6976:start=1729079430308630109,finish=1729079430312103612,duration=3473503,event=setup_casher
travis_time:start:088a94d8
adding /home/travis/bin to cache
travis_time:end:088a94d8:start=1729079430316328199,finish=1729079431455994436,duration=1139666237,event=setup_casher
travis_fold:end:cache.1


travis_fold:start:cache.bundler
travis_time:start:06e3dee2
travis_time:end:06e3dee2:start=1729079431460858101,finish=1729079431464179453,duration=3321352,event=setup_cache
travis_time:start:08737023
adding /home/travis/build/travis-ci/packer-templates/vendor/bundle to cache
creating directory /home/travis/build/travis-ci/packer-templates/vendor/bundle
travis_time:end:08737023:start=1729079431468308703,finish=1729079432602642090,duration=1134333387,event=setup_cache
travis_fold:end:cache.bundler
travis_fold:start:ruby.versions
$ ruby --version
ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]
$ rvm --version
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ bundle --version
Bundler version 2.5.16
$ gem --version
3.5.16
travis_fold:end:ruby.versions

travis_fold:start:install.1
travis_time:start:18c708bc
$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fi
travis_time:end:18c708bc:start=1729079433128677076,finish=1729079433132275534,duration=3598458,event=install
travis_fold:end:install.1
travis_fold:start:install.2
travis_time:start:0310342e
$ export GIT_DESC="$(git describe --always --dirty --tags)"
travis_time:end:0310342e:start=1729079433137397840,finish=1729079433148036433,duration=10638593,event=install
travis_fold:end:install.2
travis_fold:start:install.3
travis_time:start:003a6169
$ rvm use 3.3.5 --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-3.3.5
travis_time:end:003a6169:start=1729079433152646069,finish=1729079433845806038,duration=693159969,event=install
travis_fold:end:install.3
travis_fold:start:install.4
travis_time:start:3280a1ba
$ gem install bundler:2.5.21
Fetching bundler-2.5.21.gem
GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundler.lock
GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundle.lock
Successfully installed bundler-2.5.21
1 gem installed
travis_time:end:3280a1ba:start=1729079433851087042,finish=1729079434534880300,duration=683793258,event=install
travis_fold:end:install.4
travis_fold:start:install.5
travis_time:start:12bf0d10
$ bundle install --jobs=3 --retry=2 --path=vendor/bundle
[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
Bundler 2.5.21 is running, but your lockfile was generated with 2.5.13. Installing Bundler 2.5.13 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.5.13
Installing bundler 2.5.13
[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
Fetching https://github.com/travis-ci/travis-packer-build
Fetching gem metadata from https://rubygems.org/.........
Fetching https://github.com/travis-ci/travis-packer-build
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching concurrent-ruby 1.3.4
Fetching minitest 5.25.1
Fetching thread_safe 0.3.6
Installing concurrent-ruby 1.3.4
Installing minitest 5.25.1
Installing thread_safe 0.3.6
Fetching public_suffix 6.0.1
Installing public_suffix 6.0.1
Fetching ast 2.4.2
Fetching coderay 1.1.3
Installing ast 2.4.2
Fetching diff-lcs 1.5.1
Installing coderay 1.1.3
Installing diff-lcs 1.5.1
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching erubis 2.7.0
Fetching multipart-post 2.4.1
Fetching libyajl2 2.1.0
Installing erubis 2.7.0
Installing multipart-post 2.4.1
Installing libyajl2 2.1.0 with native extensions
Fetching racc 1.8.1
Installing racc 1.8.1 with native extensions
Fetching rufus-lru 1.1.0
Installing rufus-lru 1.1.0
Fetching polyglot 0.3.5
Installing polyglot 0.3.5
Fetching multi_json 1.15.0
Installing multi_json 1.15.0
Fetching net-http-persistent 2.9.4
Installing net-http-persistent 2.9.4
Fetching net-http-pipeline 1.0.1
Installing net-http-pipeline 1.0.1
Fetching rchardet 1.8.0
Installing rchardet 1.8.0
Fetching json 2.7.2
Installing json 2.7.2 with native extensions
Fetching language_server-protocol 3.17.0.3
Installing language_server-protocol 3.17.0.3
Fetching method_source 1.1.0
Installing method_source 1.1.0
Fetching parallel 1.26.3
Installing parallel 1.26.3
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching regexp_parser 2.9.2
Installing regexp_parser 2.9.2
Fetching strscan 3.1.0
Installing strscan 3.1.0 with native extensions
Fetching rspec-support 3.13.1
Installing rspec-support 3.13.1
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching simplecov-html 0.12.3
Installing simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching uri 0.13.1
Installing uri 0.13.1
Fetching tzinfo 1.2.11
Installing tzinfo 1.2.11
Fetching addressable 2.8.7
Installing addressable 2.8.7
Fetching i18n 1.14.5
Installing i18n 1.14.5
Fetching faraday 0.17.6
Installing faraday 0.17.6
Fetching treetop 1.6.12
Installing treetop 1.6.12
Fetching nokogiri 1.16.7 (x86_64-linux)
Installing nokogiri 1.16.7 (x86_64-linux)
Fetching parser 3.3.4.2
Installing parser 3.3.4.2
Fetching pry 0.14.2
Installing pry 0.14.2
Fetching ffi-yajl 2.6.0
Installing ffi-yajl 2.6.0 with native extensions
Fetching rspec-core 3.13.0
Installing rspec-core 3.13.0
Fetching rspec-expectations 3.13.2
Installing rspec-expectations 3.13.2
Fetching rspec-mocks 3.13.1
Installing rspec-mocks 3.13.1
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching git 1.19.1
Installing git 1.19.1
Fetching activesupport 5.2.8.1
Installing activesupport 5.2.8.1
Fetching faraday_middleware 0.14.0
Installing faraday_middleware 0.14.0
Fetching rubocop-ast 1.32.1
Installing rubocop-ast 1.32.1
Fetching rexml 3.3.6
Installing rexml 3.3.6
Fetching rspec 3.13.0
Installing rspec 3.13.0
Fetching gh 0.16.0
Installing gh 0.16.0
Fetching rubocop 1.65.1
Installing rubocop 1.65.1
Fetching foodcritic 16.3.0
Installing foodcritic 16.3.0
Bundle complete! 7 Gemfile dependencies, 56 gems now installed.
Bundled gems are installed into `./vendor/bundle`
travis_time:end:12bf0d10:start=1729079434539757753,finish=1729079456894195551,duration=22354437798,event=install
travis_fold:end:install.5
travis_fold:start:install.6
travis_time:start:0e8d8342
$ ./bin/packer-build-install
curl -sSLo tmp/packer.zip 'https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip'
mkdir -p ~/bin
unzip -o -d ~/bin tmp/packer.zip
Archive:  tmp/packer.zip
  inflating: /home/travis/bin/packer  
chmod +x ~/bin/packer
travis_time:end:0e8d8342:start=1729079456899386759,finish=1729079458329301603,duration=1429914844,event=install
travis_fold:end:install.6
travis_fold:start:install.7
travis_time:start:07415ee5
$ ln -sv "${TRAVIS_BUILD_DIR}" "${TRAVIS_BUILD_DIR}/tmp/packer-chef-local"
'/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local' -> '/home/travis/build/travis-ci/packer-templates'
travis_time:end:07415ee5:start=1729079458334295602,finish=1729079458338743968,duration=4448366,event=install
travis_fold:end:install.7
travis_time:start:04444f76
$ make
./bin/dump-git-meta ./tmp/git-meta
HEAD
21b0674
./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/docker-meta 'DOCKER_LOGIN_(USERNAME|PASSWORD|SERVER)'
./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/job-board-env 'JOB_BOARD'
travis_time:end:04444f76:start=1729079458343625452,finish=1729079458390371460,duration=46746008,event=script
The command "make" exited with 0.
travis_time:start:0cd7678a
$ bundle exec make test
./runtests --env .example.env
Running isolated with env .example.env
.example-job-board-register-sardonyx.yml ✓
.example-node-attributes.yml ✓
.packer-build-pull-request-false-tmpl.yml ✓
.packer-build-pull-request-tmpl.yml ✓
.rubocop.yml ✓
.rubocop_todo.yml ✓
.travis.yml ✓
ci-freebsd-12.yml /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated strscan 3.0.9, but your Gemfile requires strscan 3.1.0. Since strscan is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports strscan as a default gem. (Gem::LoadError)
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:25:in `block in setup'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `map'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `setup'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler.rb:164:in `setup'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `block in <top (required)>'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:159:in `with_level'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:111:in `silence'
	from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `<top (required)>'
	from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
make: *** [Makefile:68: test] Error 1
travis_time:end:0cd7678a:start=1729079458395612949,finish=1729079462003617626,duration=3608004677,event=script
The command "bundle exec make test" exited with 2.
travis_time:start:153f5b9c
$ make update-gce-images
bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)
ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account, run:

  $ gcloud config set account ACCOUNT

to select an already authenticated account to use.
ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account, run:

  $ gcloud config set account ACCOUNT

to select an already authenticated account to use.
ERROR: (gcloud.compute.images.list) You do not currently have an active account selected.
Please run:

  $ gcloud auth login

to obtain new credentials.

If you have already logged in with a different account, run:

  $ gcloud config set account ACCOUNT

to select an already authenticated account to use.
travis_time:end:153f5b9c:start=1729079462008435997,finish=1729079465606809578,duration=3598373581,event=script
The command "make update-gce-images" exited with 0.
travis_time:start:0110c100
$ git diff --exit-code
travis_time:end:0110c100:start=1729079465612166283,finish=1729079465618031345,duration=5865062,event=script
The command "git diff --exit-code" exited with 0.
travis_time:start:2799faa4
$ git diff --cached --exit-code
travis_time:end:2799faa4:start=1729079465623108566,finish=1729079465628776944,duration=5668378,event=script
The command "git diff --cached --exit-code" exited with 0.
travis_time:start:02dcc060
$ sudo lsof | grep dpkg || true
travis_time:end:02dcc060:start=1729079465633706649,finish=1729079465780599750,duration=146893101,event=script
The command "sudo lsof | grep dpkg || true" exited with 0.
travis_time:start:162dfea6
$ travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'
+sudo packer-scripts/run-serverspecs
+ shopt -s nullglob
+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ export CHEF_LICENSE=accept-silent
+ CHEF_LICENSE=accept-silent
+ 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
+ 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
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ : /home/travis/build/travis-ci/packer-templates/tmp
+ : 'bash -lc'
+ : docker
+ [[ docker == \d\o\c\k\e\r ]]
+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'
+ SPEC_ARGS='--tag ~dev --tag ~docker:false'
++ uname -m
+ [[ x86_64 =~ aarch64 ]]
++ uname -m
+ [[ x86_64 =~ ppc64 ]]
+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp
+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]
+ curl -sSL https://omnitruck.chef.io/install.sh
+ sudo bash -s -- -P chef-workstation -v 22.5.923
ubuntu 20.04 x86_64
Getting information for chef-workstation stable 22.5.923 for ubuntu...
downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_64
  to file /tmp/install.sh.6515/metadata.txt
trying wget...
sha1	b8c582336804d5986f0f6d3dddeb9bf300d2d2bd
sha256	b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c
url	https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
version	22.5.923
downloaded metadata file looks valid...
downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb
  to file /tmp/install.sh.6515/chef-workstation_22.5.923-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
Installing chef-workstation 22.5.923
installing with dpkg...
Selecting previously unselected package chef-workstation.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 154608 files and directories currently installed.)
Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...
Unpacking chef-workstation (22.5.923-1) ...
Setting up chef-workstation (22.5.923-1) ...

The Chef Workstation App is available.

Launch the App by running 'chef-workstation-app'.
The App will then be available in the system tray.

Thank you for installing Chef Workstation!
You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/

+ __run_retry 2 30 apt-get update -y
+ local retries=2
+ shift
+ local retry_delay=30
+ shift
+ cmd=("${@}")
+ local cmd
+ local i=0
+ true
+ [[ 0 -gt 2 ]]
+ apt-get update -y

0% [Working]
            
Get:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]

0% [Connecting to us-east-1.ec2.archive.ubuntu.com] [Connecting to security.ubu
                                                                               
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]

0% [Connecting to us-east-1.ec2.archive.ubuntu.com] [2 InRelease 13.8 kB/128 kB
                                                                               
Ign:3 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease

0% [Connecting to us-east-1.ec2.archive.ubuntu.com] [2 InRelease 13.8 kB/128 kB
0% [Connecting to us-east-1.ec2.archive.ubuntu.com] [2 InRelease 27.9 kB/128 kB
                                                                               
Get:4 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]

0% [Connecting to us-east-1.ec2.archive.ubuntu.com (54.165.17.230)] [2 InReleas
                                                                               
Get:5 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]

0% [Connecting to us-east-1.ec2.archive.ubuntu.com (54.165.17.230)] [2 InReleas
0% [Waiting for headers] [2 InRelease 65.9 kB/128 kB 52%] [Waiting for headers]
                                                                               
Get:6 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release [3,094 B]

0% [Waiting for headers] [2 InRelease 89.8 kB/128 kB 70%] [Waiting for headers]
                                                                               
Get:7 https://packages.redis.io/deb focal InRelease [3,821 B]

0% [Waiting for headers] [2 InRelease 104 kB/128 kB 81%] [Waiting for headers] 
                                                                               
Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]

0% [Waiting for headers] [2 InRelease 107 kB/128 kB 83%] [Waiting for headers] 
                                                                               
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]

0% [9 InRelease 13.8 kB/265 kB 5%] [2 InRelease 110 kB/128 kB 86%] [Waiting for
0% [9 InRelease 13.8 kB/265 kB 5%] [Waiting for headers] [Waiting for headers] 
                                                                               
Hit:10 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease

0% [9 InRelease 13.8 kB/265 kB 5%] [Waiting for headers] [Waiting for headers] 
                                                                               
Get:11 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]

0% [9 InRelease 41.9 kB/265 kB 16%] [Waiting for headers] [11 InRelease 5,182 B
0% [9 InRelease 41.9 kB/265 kB 16%] [Waiting for headers] [Waiting for headers]
                                                                               
Get:12 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg [866 B]

0% [9 InRelease 92.6 kB/265 kB 35%] [12 Release.gpg 866 B/866 B 100%] [Waiting 
                                                                               
0% [9 InRelease 92.6 kB/265 kB 35%] [Waiting for headers]
0% [9 InRelease 92.6 kB/265 kB 35%] [Waiting for headers]
                                                         
Get:13 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [570 kB]

0% [9 InRelease 200 kB/265 kB 75%] [13 Packages 145 kB/570 kB 25%] [Waiting for
                                                                               
0% [13 Packages 435 kB/570 kB 76%] [Waiting for headers]
                                                        
0% [Waiting for headers] [Waiting for headers]
0% [13 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]

0% [13 Packages store 0 B] [14 InRelease 62.2 kB/128 kB 49%] [Waiting for heade
                                                                               
0% [13 Packages store 0 B] [Waiting for headers]
                                                
0% [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers]
                                              
Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]

0% [15 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [Waiting for headers
                                                                               
0% [Waiting for headers] [Waiting for headers]
                                              
Get:16 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [45.1 kB]

0% [16 Packages 13.9 kB/45.1 kB 31%] [Waiting for headers]
0% [16 Packages 13.9 kB/45.1 kB 31%] [Waiting for headers]
                                                          
Get:17 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [61.9 kB]

                                                          
Get:18 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]

0% [17 Packages 15.9 kB/61.9 kB 26%] [16 Packages 13.9 kB/45.1 kB 31%] [18 InRe
                                                                               
0% [17 Packages 15.9 kB/61.9 kB 26%] [16 Packages 13.9 kB/45.1 kB 31%]
                                                                      
0% [16 Packages 13.9 kB/45.1 kB 31%] [Waiting for headers]
0% [17 Packages store 0 B] [16 Packages 13.9 kB/45.1 kB 31%] [Waiting for heade
                                                                               
0% [16 Packages 13.9 kB/45.1 kB 31%] [Waiting for headers]
0% [16 Packages 42.0 kB/45.1 kB 93%] [Waiting for headers]
                                                          
0% [Waiting for headers] [Waiting for headers]
0% [16 Packages store 0 B] [Waiting for headers] [Waiting for headers] [Waiting
                                                                               
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
                                                                    
Get:19 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [4,730 B]

0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
0% [Waiting for headers] [Waiting for headers] [Waiting for headers]
                                                                    
Get:20 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]

0% [Waiting for headers] [20 InRelease 5,182 B/5,182 B 100%] [Waiting for heade
                                                                               
0% [Waiting for headers] [Waiting for headers]
                                              
Ign:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages

                                              
0% [Waiting for headers]
                        
Get:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]

0% [21 Packages 60.0 kB/120 kB 50%] [Waiting for headers]
                                                         
0% [Waiting for headers]
0% [21 Packages store 0 B] [Waiting for headers]
                                                
0% [Waiting for headers]
                        
Get:22 https://packages.redis.io/deb focal/main all Packages [6,199 B]

0% [22 Packages 6,199 B/6,199 B 100%]
                                     
0% [Working]
0% [Working]
0% [Waiting for headers]
                        
Get:23 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,027 kB]

0% [23 Packages 27.9 kB/4,027 kB 1%] [Waiting for headers]
                                                          
Get:24 https://packages.redis.io/deb focal/main amd64 Packages [29.6 kB]

0% [23 Packages 287 kB/4,027 kB 7%] [24 Packages 7,560 B/29.6 kB 26%]
                                                                     
0% [23 Packages 609 kB/4,027 kB 15%] [Waiting for headers]
0% [24 Packages store 0 B] [23 Packages 635 kB/4,027 kB 16%] [Waiting for heade
                                                                               
0% [23 Packages 635 kB/4,027 kB 16%] [Waiting for headers]
0% [23 Packages 1,248 kB/4,027 kB 31%] [Waiting for headers]
                                                            
0% [Waiting for headers]
0% [23 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:25 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,011 kB]

0% [23 Packages store 0 B] [25 Packages 235 kB/1,011 kB 23%] [Waiting for heade
                                                                               
0% [23 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:26 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [711 kB]

0% [23 Packages store 0 B] [26 Translation-en 10.4 kB/711 kB 1%] [Waiting for h
                                                                               
Get:27 https://packages.redis.io/deb focal/main i386 Packages [6,094 B]

0% [23 Packages store 0 B] [26 Translation-en 10.4 kB/711 kB 1%] [27 Packages 4
                                                                               
0% [23 Packages store 0 B] [26 Translation-en 65.5 kB/711 kB 9%]
                                                                
Get:28 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]

                                                                
Get:29 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,036 kB]

                                                                
0% [23 Packages store 0 B] [29 Packages 65.5 kB/4,036 kB 2%]
                                                            
0% [23 Packages store 0 B]
                          
Get:30 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [560 kB]

0% [23 Packages store 0 B] [30 Translation-en 0 B/560 kB 0%]
0% [23 Packages store 0 B] [30 Translation-en 65.5 kB/560 kB 12%]
                                                                 
0% [23 Packages store 0 B] [Waiting for headers]
                                                
Get:31 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [843 kB]

0% [23 Packages store 0 B] [31 Packages 0 B/843 kB 0%] [Waiting for headers]
                                                                            
0% [23 Packages store 0 B] [Waiting for headers]
                                                
Get:32 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,274 kB]

0% [23 Packages store 0 B] [32 Packages 0 B/1,274 kB 0%] [Waiting for headers]
                                                                              
Ign:33 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages

                                                                              
0% [23 Packages store 0 B] [32 Packages 4,096 B/1,274 kB 0%]
                                                            
Get:33 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]

0% [23 Packages store 0 B] [32 Packages 1,184 kB/1,274 kB 93%] [33 Packages 18.
                                                                               
0% [23 Packages store 0 B] [32 Packages 1,184 kB/1,274 kB 93%]
                                                              
0% [23 Packages store 0 B]
                          
Get:34 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [294 kB]

0% [23 Packages store 0 B] [34 Translation-en 0 B/294 kB 0%]
                                                            
0% [23 Packages store 0 B]
                          
Get:35 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [21.4 kB]

0% [23 Packages store 0 B] [35 Commands-amd64 0 B/21.4 kB 0%]
                                                             
0% [23 Packages store 0 B]
                          
0% [Working]
0% [25 Packages store 0 B]
                          
0% [Working]
0% [27 Packages store 0 B]
                          
0% [Working]
0% [26 Translation-en store 0 B]
0% [26 Translation-en store 0 B]
                                
0% [Waiting for headers]
0% [28 Commands-amd64 store 0 B] [Waiting for headers]
                                                      
0% [Waiting for headers]
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:36 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4/multiverse amd64 Packages [86.8 kB]

0% [29 Packages store 0 B] [36 Packages 42.2 kB/86.8 kB 49%]
                                                            
0% [29 Packages store 0 B]
                          
0% [Working]
0% [30 Translation-en store 0 B]
0% [30 Translation-en store 0 B]
                                
0% [Waiting for headers]
0% [31 Packages store 0 B] [Waiting for headers]
                                                
Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]

0% [31 Packages store 0 B] [37 Packages 13.9 kB/1,275 kB 1%]
                                                            
0% [37 Packages 42.0 kB/1,275 kB 3%]
0% [33 Packages store 0 B] [37 Packages 42.0 kB/1,275 kB 3%]
                                                            
0% [37 Packages 42.0 kB/1,275 kB 3%]
0% [32 Packages store 0 B] [37 Packages 42.0 kB/1,275 kB 3%]
0% [32 Packages store 0 B] [37 Packages 211 kB/1,275 kB 17%]
                                                            
0% [37 Packages 436 kB/1,275 kB 34%]
0% [34 Translation-en store 0 B] [37 Packages 436 kB/1,275 kB 34%]
                                                                  
0% [37 Packages 887 kB/1,275 kB 70%]
0% [35 Commands-amd64 store 0 B] [37 Packages 887 kB/1,275 kB 70%]
                                                                  
0% [37 Packages 887 kB/1,275 kB 70%]
0% [36 Packages store 0 B] [37 Packages 887 kB/1,275 kB 70%]
                                                            
0% [36 Packages store 0 B]
                          
0% [Waiting for headers]
0% [37 Packages store 0 B] [Waiting for headers]
                                                
Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]

0% [37 Packages store 0 B] [38 Packages 13.9 kB/930 kB 1%]
                                                          
0% [37 Packages store 0 B]
                          
Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]

0% [37 Packages store 0 B] [39 Translation-en 65.5 kB/709 kB 9%]
                                                                
0% [37 Packages store 0 B]
                          
Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]

0% [37 Packages store 0 B] [40 Commands-amd64 29.5 kB/29.5 kB 100%]
                                                                   
0% [37 Packages store 0 B]
                          
Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]

0% [37 Packages store 0 B] [41 Packages 7,853 B/33.4 kB 24%]
                                                            
0% [37 Packages store 0 B]
                          
Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]

0% [37 Packages store 0 B] [42 Packages 10.1 kB/10.1 kB 100%]
0% [37 Packages store 0 B] [42 Packages 10.1 kB/10.1 kB 100%]
                                                             
Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]

                                                             
Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]

                                                             
0% [37 Packages store 0 B] [Waiting for headers]
                                                
Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]

0% [37 Packages store 0 B] [45 Packages 65.5 kB/11.3 MB 1%]
                                                           
0% [45 Packages 2,053 kB/11.3 MB 18%]
0% [38 Packages store 0 B] [45 Packages 2,381 kB/11.3 MB 21%]
0% [38 Packages store 0 B] [45 Packages 2,884 kB/11.3 MB 25%]
                                                             
0% [45 Packages 7,991 kB/11.3 MB 70%] [Waiting for headers]
0% [39 Translation-en store 0 B] [45 Packages 7,991 kB/11.3 MB 70%] [Waiting fo
                                                                               
0% [39 Translation-en store 0 B] [Waiting for headers] [Waiting for headers]
                                                                            
Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]

0% [39 Translation-en store 0 B] [46 Packages 65.5 kB/5,999 kB 1%] [Waiting for
                                                                               
0% [46 Packages 867 kB/5,999 kB 14%] [Waiting for headers]
0% [40 Commands-amd64 store 0 B] [46 Packages 918 kB/5,999 kB 15%] [Waiting for
                                                                               
0% [46 Packages 1,180 kB/5,999 kB 20%] [Waiting for headers]
0% [41 Packages store 0 B] [46 Packages 1,180 kB/5,999 kB 20%] [Waiting for hea
                                                                               
0% [46 Packages 1,573 kB/5,999 kB 26%] [Waiting for headers]
0% [42 Packages store 0 B] [46 Packages 1,573 kB/5,999 kB 26%] [Waiting for hea
                                                                               
0% [46 Packages 1,704 kB/5,999 kB 28%] [Waiting for headers]
0% [43 Translation-en store 0 B] [46 Packages 1,704 kB/5,999 kB 28%] [Waiting f
                                                                               
0% [46 Packages 1,704 kB/5,999 kB 28%] [Waiting for headers]
0% [44 Commands-amd64 store 0 B] [46 Packages 1,704 kB/5,999 kB 28%] [Waiting f
                                                                               
0% [46 Packages 1,704 kB/5,999 kB 28%] [Waiting for headers]
0% [45 Packages store 0 B] [46 Packages 1,719 kB/5,999 kB 29%] [Waiting for hea
                                                                               
Ign:47 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages

                                                                               
0% [45 Packages store 0 B] [46 Packages 2,621 kB/5,999 kB 44%]
                                                              
Get:47 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]

0% [45 Packages store 0 B] [46 Packages 4,406 kB/5,999 kB 73%] [47 Packages 0 B
                                                                               
0% [45 Packages store 0 B] [46 Packages 5,243 kB/5,999 kB 87%]
                                                              
0% [45 Packages store 0 B]
                          
Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]

0% [45 Packages store 0 B] [48 Translation-en 0 B/7,220 kB 0%]
70% [45 Packages store 0 B] [48 Translation-en 3,453 kB/7,220 kB 48%]
                                                                     
75% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]

75% [45 Packages store 0 B] [49 Commands-amd64 0 B/265 kB 0%] [Waiting for head
                                                                               
76% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]

76% [45 Packages store 0 B] [50 Packages 0 B/177 kB 0%] [Waiting for headers]
                                                                             
76% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]

76% [45 Packages store 0 B] [51 Packages 0 B/88.9 kB 0%] [Waiting for headers]
                                                                              
76% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:52 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]

76% [45 Packages store 0 B] [52 Translation-en 0 B/128 kB 0%] [Waiting for head
                                                                               
76% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]

76% [45 Packages store 0 B] [53 Commands-amd64 0 B/9,136 B 0%] [Waiting for hea
                                                                               
76% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,294 kB]

76% [45 Packages store 0 B] [54 Packages 0 B/1,294 kB 0%] [Waiting for headers]
                                                                               
78% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,527 kB]

78% [45 Packages store 0 B] [55 Packages 0 B/4,527 kB 0%] [Waiting for headers]
                                                                               
84% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [829 kB]

84% [45 Packages store 0 B] [56 Translation-en 0 B/829 kB 0%] [Waiting for head
                                                                               
85% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]

85% [45 Packages store 0 B] [57 Commands-amd64 0 B/17.8 kB 0%] [Waiting for hea
                                                                               
85% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [48.0 kB]

85% [45 Packages store 0 B] [58 Packages 0 B/48.0 kB 0%] [Waiting for headers]
                                                                              
86% [45 Packages store 0 B] [Waiting for headers]
                                                 
Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,235 kB]

86% [45 Packages store 0 B] [59 Packages 0 B/4,235 kB 0%] [Waiting for headers]
                                                                               
Ign:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages

                                                                               
86% [45 Packages store 0 B] [59 Packages 684 kB/4,235 kB 16%]
                                                             
Get:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]

90% [45 Packages store 0 B] [59 Packages 2,872 kB/4,235 kB 68%]
                                                               
91% [45 Packages store 0 B]
                           
Get:61 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [587 kB]

91% [45 Packages store 0 B] [61 Translation-en 0 B/587 kB 0%]
                                                             
92% [45 Packages store 0 B]
                           
Get:62 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]

92% [45 Packages store 0 B] [62 Commands-amd64 0 B/548 B 0%]
                                                            
92% [45 Packages store 0 B]
                           
Get:63 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,566 kB]

92% [45 Packages store 0 B] [63 Packages 0 B/1,566 kB 0%]
                                                         
94% [45 Packages store 0 B]
                           
Get:64 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,005 kB]

94% [45 Packages store 0 B] [64 Packages 0 B/1,005 kB 0%]
                                                         
96% [45 Packages store 0 B]
                           
Get:65 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [415 kB]

96% [45 Packages store 0 B] [65 Translation-en 0 B/415 kB 0%]
                                                             
96% [45 Packages store 0 B]
                           
Get:66 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]

96% [45 Packages store 0 B] [66 Commands-amd64 0 B/28.3 kB 0%]
                                                              
96% [45 Packages store 0 B]
                           
Get:67 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]

96% [45 Packages store 0 B] [67 Packages 0 B/9,592 B 0%]
                                                        
96% [45 Packages store 0 B]
                           
Get:68 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]

96% [45 Packages store 0 B] [68 Packages 0 B/33.5 kB 0%]
                                                        
96% [45 Packages store 0 B]
                           
Get:69 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,589 B]

96% [45 Packages store 0 B] [69 Translation-en 0 B/8,589 B 0%]
                                                              
96% [45 Packages store 0 B]
                           
Get:70 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [616 B]

96% [45 Packages store 0 B] [70 Commands-amd64 0 B/616 B 0%]
                                                            
96% [45 Packages store 0 B]
                           
Get:71 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]

96% [45 Packages store 0 B] [71 Packages 0 B/43.4 kB 0%]
                                                        
97% [45 Packages store 0 B]
                           
Get:72 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]

97% [45 Packages store 0 B] [72 Packages 0 B/55.2 kB 0%]
                                                        
97% [45 Packages store 0 B]
                           
Get:73 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]

97% [45 Packages store 0 B] [73 Translation-en 0 B/18.8 kB 0%]
                                                              
97% [45 Packages store 0 B]
                           
Get:74 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]

97% [45 Packages store 0 B] [74 Commands-amd64 0 B/1,420 B 0%]
                                                              
97% [45 Packages store 0 B]
                           
Get:75 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]

97% [45 Packages store 0 B] [75 Commands-amd64 0 B/116 B 0%]
                                                            
97% [45 Packages store 0 B]
                           
Get:76 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]

97% [45 Packages store 0 B] [76 Packages 0 B/28.6 kB 0%]
                                                        
97% [45 Packages store 0 B]
                           
Get:77 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]

97% [45 Packages store 0 B] [77 Packages 0 B/15.4 kB 0%]
                                                        
97% [45 Packages store 0 B]
                           
Get:78 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]

97% [45 Packages store 0 B] [78 Translation-en 0 B/17.6 kB 0%]
                                                              
97% [45 Packages store 0 B]
                           
Get:79 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]

97% [45 Packages store 0 B] [79 Commands-amd64 0 B/880 B 0%]
                                                            
97% [45 Packages store 0 B]
                           
Get:80 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]

97% [45 Packages store 0 B] [80 Commands-amd64 0 B/116 B 0%]
                                                            
97% [45 Packages store 0 B]
                           
97% [Working]
97% [47 Packages store 0 B]
                           
97% [Working]
97% [46 Packages store 0 B]
                           
97% [Working]
97% [48 Translation-en store 0 B]
                                 
97% [Working]
97% [49 Commands-amd64 store 0 B]
                                 
97% [Working]
97% [50 Packages store 0 B]
                           
97% [Working]
97% [51 Packages store 0 B]
                           
97% [Working]
97% [52 Translation-en store 0 B]
                                 
97% [Working]
97% [53 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [54 Packages store 0 B]
                           
98% [Working]
98% [55 Packages store 0 B]
                           
98% [Working]
98% [56 Translation-en store 0 B]
                                 
98% [Working]
98% [57 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [58 Packages store 0 B]
                           
98% [Working]
98% [60 Packages store 0 B]
                           
98% [Working]
98% [59 Packages store 0 B]
                           
98% [Working]
98% [61 Translation-en store 0 B]
                                 
98% [Working]
98% [62 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [63 Packages store 0 B]
                           
98% [Working]
98% [64 Packages store 0 B]
                           
99% [Working]
99% [65 Translation-en store 0 B]
                                 
99% [Working]
99% [66 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [67 Packages store 0 B]
                           
99% [Working]
99% [68 Packages store 0 B]
                           
99% [Working]
99% [69 Translation-en store 0 B]
                                 
99% [Working]
99% [70 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [71 Packages store 0 B]
                           
99% [Working]
99% [72 Packages store 0 B]
                           
99% [Working]
99% [73 Translation-en store 0 B]
                                 
99% [Working]
99% [74 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [75 Commands-amd64 store 0 B]
                                 
100% [Working]
100% [76 Packages store 0 B]
                            
100% [Working]
100% [77 Packages store 0 B]
                            
100% [Working]
100% [78 Translation-en store 0 B]
                                  
100% [Working]
100% [79 Commands-amd64 store 0 B]
                                  
100% [Working]
100% [80 Commands-amd64 store 0 B]
                                  
100% [Working]
              
Fetched 57.8 MB in 5s (12.6 MB/s)

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 2%

Reading package lists... 2%

Reading package lists... 3%

Reading package lists... 3%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 4%

Reading package lists... 22%

Reading package lists... 22%

Reading package lists... 31%

Reading package lists... 31%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 41%

Reading package lists... 45%

Reading package lists... 48%

Reading package lists... 48%

Reading package lists... 50%

Reading package lists... 50%

Reading package lists... 55%

Reading package lists... 55%

Reading package lists... 62%

Reading package lists... 62%

Reading package lists... 62%

Reading package lists... 62%

Reading package lists... 65%

Reading package lists... 65%

Reading package lists... 68%

Reading package lists... 68%

Reading package lists... 69%

Reading package lists... 69%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 70%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 71%

Reading package lists... 77%

Reading package lists... 77%

Reading package lists... 78%

Reading package lists... 78%

Reading package lists... 83%

Reading package lists... 83%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 90%

Reading package lists... 93%

Reading package lists... 93%

Reading package lists... 95%

Reading package lists... 95%

Reading package lists... 96%

Reading package lists... 96%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 97%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... 99%

Reading package lists... Done

N: 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'
+ return
+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client
+ local retries=2
+ shift
+ local retry_delay=30
+ shift
+ cmd=("${@}")
+ local cmd
+ local i=0
+ true
+ [[ 0 -gt 2 ]]
+ apt-get install libc-client2007e-dev mysql-client

Reading package lists... 0%

Reading package lists... 100%

Reading package lists... Done


Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       


Reading state information... 0%

Reading state information... 0%

Reading state information... Done

libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).
mysql-client is already the newest version (8.0.39-0ubuntu0.20.04.1).
The following packages were automatically installed and are no longer required:
  amd64-microcode intel-microcode iucode-tool libglu1-mesa
  libjs-jquery-metadata libjs-jquery-tablesorter libnotify4 libwxbase3.0-0v5
  libwxgtk3.0-gtk3-0v5 linux-modules-5.4.0-195-generic postgresql-client-12
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
+ return
+ __create_sudo_bash
+ cat
+ chmod 0755 /tmp/sudo-bash
+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp
+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp
+ for suite in ${SPEC_SUITES/,/ }
+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'
+ local suite=travis_packer_templates
+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
+ local 'runner=bash -lc'
+ local cookbook_dir
++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp
++ local suite=travis_packer_templates
++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
++ local spec_dir
+++ head -1
+++ 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-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
++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'
+ local suite=travis_packer_templates
+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ local 'runner=bash -lc'
+ set +o errexit
++ uname -m
++ uname -m
+ bash -lc '
set -o xtrace
export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"
export TERM=xterm
export PACKER_BUILDER_TYPE=docker
export RUBYOPT=-W0
if [[ x86_64 =~ ppc64 ]]; then
  gem install serverspec
else
  chef gem install serverspec
fi
unset GEM_PATH
cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
sudo systemctl start xvfb.service
set -o errexit
if [[ x86_64 =~ ppc64 ]]; then
  rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
else
  chef exec rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
fi
'
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ export TERM=xterm
+ TERM=xterm
+ export PACKER_BUILDER_TYPE=docker
+ PACKER_BUILDER_TYPE=docker
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ [[ x86_64 =~ ppc64 ]]
+ chef gem install serverspec
Fetching serverspec-2.42.3.gem
WARNING:  You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,
	  gem executables will not run.
Successfully installed serverspec-2.42.3
1 gem installed
+ unset GEM_PATH
+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ sudo systemctl start xvfb.service
+ set -o errexit
+ [[ x86_64 =~ ppc64 ]]
+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json
Run options: exclude {:dev=>true, :docker=>false}

Randomized with seed 33043

File "/.node-attributes.yml"
  is expected to exist
  content_as_yaml
    is expected to include "__timestamp"

perlbrew installation
  Command "perlbrew --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/
  Command "perlbrew list"
    exit_status
      is expected to eq 0

File "/etc/cloud/templates/sources.list.tmpl"
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

File "/etc/cloud/templates/sources.list.debian.tmpl"
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

File "/etc/cloud/templates/hosts.debian.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

Command "rsync --version"
  stdout
    is expected to match /rsync.+version/
  exit_status
    is expected to eq 0

php environment
  Command "PHPENV_VERSION=system phpenv exec php -m --version"
    stdout
      is expected to include "Core", "PDO", "Phar", "SPL", "Xdebug", "bcmath", "ctype", "curl", "date", "dom", "exif", "filter", "ftp", "gd", "hash", "iconv", "json", "libxml", "mbstring", "pcre", "pdo_mysql", "pdo_sqlite", "posix", "readline", "sqlite3", "standard", "sysvsem", "sysvshm", "tidy", "xmlrpc", "xmlwriter", "xsl", "zip", and "zlib"
  Command "PHPENV_VERSION=system phpenv exec php-fpm --version"
    stdout
      is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/
    exit_status
      is expected to eq 0
  File "/home/travis/.pearrc"
    is expected not to exist

dictionaries installation
  Package "wamerican"
    is expected to be installed

mongodb installation
  Service "mongod"
    is expected not to be enabled
    is expected not to be running
  mongo commands
    Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""
      stdout
        is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/
  Command "mongo --version"
    stdout
      is expected to match /MongoDB shell/
    exit_status
      is expected to eq 0

File "/opt"
  is expected to be writable
  is expected to be directory

python3 interpreter
  python3 --version
    is expected to match /^Python \d+\.\d+\.\d+/
  Command "python3 -m this"
    stdout
      is expected to match /Readability counts\./
    stderr
      is expected to be empty

gimme installation
  Command "eval "$(HOME=/tmp/packer-templates-20241016-8139-d0hig4-rspec gimme 1.6.3)" 2>&1"
    stdout
      is expected to match "go version go1.6.3"
  Command "gimme --version"
    exit_status
      is expected to eq 0

redis installation
  Command "redis-server --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^Redis /
  redis commands
    Command "redis-cli -p 16379 PING"
      stdout
        is expected to match /^PONG$/
    Command "redis-cli -p 16379 GET test_key | cat"
      stdout
        is expected to match /^test_value$/

gcc installation
  Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/empty && gcc"
    stderr
      is expected to include "no input files"
  Command "gcc -v"
    stderr
      is expected to match /^gcc version/
  Command "
    cd /tmp/packer-templates-20241016-8139-d0hig4-rspec;
    gcc -Wall -o hai hai.c;
    ./hai there
  "
    stdout
      is expected to match /^hai 2$/

go installation
  Command "gimme -l"
    stdout
      is expected not to be empty

ccache installation
  Command "ccache -V"
    exit_status
      is expected to eq 0
  ccache commands are executed
    Command "ccache -M 0.5"
      stdout
        is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/
    Command "ccache -s"
      stdout
        is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"

subversion installation
  Command "svn --version"
    exit_status
      is expected to eq 0
  subversion commands are executed
    File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/svn-project/README.txt"
      content
        is expected to match "This is a Subversion repository;"

Command "iptables --version"
  stdout
    is expected to include "iptables"
  exit_status
    is expected to eq 0

go toolchain installation
  Command "go env GOROOT"
    stdout
      is expected to match /\/\.gimme\//
  compiling something
    Command "go run /tmp/packer-templates-20241016-8139-d0hig4-rspec/example.go"
      stdout
        is expected to match /Good morrow, 14198/
  Command "go version"
    stdout
      is expected to match /^go version go/

Command "lsof -v 2>&1 | head -2 | tail -1"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /revision:/

Command "curl --version | head -1"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "curl"

Command "cmake --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^cmake version [23]/

Command "psql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 1)

mercurial installation
  mecurial commands are executed
    Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/hg-project; hg status; hg add .; hg status"
      stdout
        is expected to match "A test-file.txt"
      stdout
        is expected to match "\\? test-file.txt"
  Command "hg version"
    stdout
      is expected to match /^Mercurial Distributed SCM \(version \d/
    exit_status
      is expected to eq 0

Command "ldconfig -p | grep libldap"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /libldap_r/

nodejs interpreter
  Command "node -e "console.log('Konstantin broke all the thingz')""
    stdout
      is expected to match "Konstantin broke all the thingz"
  Command "node -v"
    stdout
      is expected to match /v\d/
    exit_status
      is expected to eq 0

firefox installation
  Command "sudo -u travis firefox -v"
    exit_status
      is expected to eq 0
    stderr
      is expected to be empty
  firefox commands
    File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/

google-chrome installation
  Command "google-chrome --version"
    exit_status
      is expected to eq 0
  Package "google-chrome-stable"
    is expected to be installed

imagemagick installation
  Command "convert --version"
    stdout
      is expected to match /imagemagick/i
    exit_status
      is expected to eq 0
  imagemagick commands
    Command "identify /tmp/packer-templates-20241016-8139-d0hig4-rspec/logo.gif"
      stdout
        is expected to match /logo\.gif GIF/
      exit_status
        is expected to eq 0

bazaar installation
  Command "bzr version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/
  bazaar commands
    Command "
      cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/bzr-project;
      bzr status;
      bzr add test.txt;
      bzr status;
    "
      stdout
        is expected to match /^added:/
      stdout
        is expected to match /^adding test\.txt/
      stdout
        is expected to match /^unknown:/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^  test\.txt/

python2 interpreter
  python --version
    is expected to match /^Python \d+\.\d+\.\d+/
  Command "python -m this"
    stdout
      is expected to match /Readability counts\./
    stderr
      is expected to be empty

sqlite installation
  sqlite commands are executed
    Command "
      sqlite3 /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.db "
        CREATE TABLE hats (
          id INTEGER PRIMARY KEY,
          name TEXT,
          style INTEGER
        );
        INSERT INTO hats VALUES(1, 'floppy', 9001);
        SELECT * FROM hats;
      "
    "
      stdout
        is expected to match "1|floppy|9001"
  Command "sqlite3 -version"
    stdout
      is expected to match /^\d\.\d/
    exit_status
      is expected to eq 0

git installation
  git commands
    Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"
      stdout
        is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file:   test-file.txt"
      stdout
        is expected to match /nothing to commit/
  Package "git"
    is expected to be installed
  Command "git --version"
    stdout
      is expected to match /^git version (2\.|1\.[89])/
    exit_status
      is expected to eq 0
  Command "git config user.email"
    stdout
      is expected to match /travis@example\.org/
  Command "git config user.name"
    stdout
      is expected to match /travis/i

Command "mysql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^mysql /

ruby interpreter
  Command "ruby -e 'puts "Konstanin broke all the things!"'"
    stdout
      is expected to match /^Konstanin broke all the things!$/
  Command "ruby -e 'puts RUBY_ENGINE'"
    stdout
      is expected to match /^ruby/
  Command "ruby --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^ruby 3\.\d+\.\d+/

jq installation
  Command "jq -V"
    exit_status
      is expected to eq 0
  Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-8139-d0hig4-rspec/test.json"
    stdout
      is expected to match /^Konstantin broke all the things/

openssl installation
  openssl commands
    Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"
      stdout
        is expected to match "Konstantin broke all the things."
    Command "echo "Konstantin broke all the things." | openssl enc -base64"
      stdout
        is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"
  Command "openssl version"
    stdout
      is expected to match /^OpenSSL/
    exit_status
      is expected to eq 0

User "travis"
  is expected to have home directory "/home/travis"
  is expected to have login shell "/bin/bash"
  is expected to exist

perl interpreter
  Command "perl --version"
    stdout
      is expected to match /perl 5, version \d/
    stderr
      is expected to be empty
  Command "perl -e 'print "Hello Mr Euler!\n"'"
    stdout
      is expected to match /^Hello Mr Euler!/
    stderr
      is expected to be empty

File "/etc/cloud/cloud.cfg"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

xserver installation
  Command "DISPLAY=:99.0 xset -q"
    stderr
      is expected to be empty
    stdout
      is expected to match /^Keyboard Control:/
    exit_status
      is expected to eq 0
  Command "xvfb-run -a xdpyinfo"
    stdout
      is expected to match /^\s+GLX$/
    exit_status
      is expected to eq 0
    stderr
      is expected to be empty
  Command "Xorg -version"
    exit_status
      is expected to eq 0

Command "nc -h"
  exit_status
    is expected to eq 0

vim installation
  File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt"
    content
      is expected to match /there/
  Command "vim --version"
    stdout
      is expected not to be empty
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0

Command "ldconfig -V"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "ldconfig "

Command "bats --version"
  stdout
    is expected to match /^Bats \d/

ruby installation
  Command "rspec --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^RSpec \d+\.\d+/
  Command "gem --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^\d+\.\d+\.\d+/

postgresql installation
  Command " psql --version"
    stdout
      is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 2)
    exit_status
      is expected to eq 0
  psql commands
    with a test table
      Command " psql -U travis -tA -c '\dt' test_db"
        stderr
          is expected to be empty
        stdout
          is expected to match /^public\|test_table\|/
    Command " psql -U travis -ltA"
      stdout
        is expected to match /^test_db\|/

md5deep installation
  Command "md5deep /tmp/packer-templates-20241016-8139-d0hig4-rspec/md5deep.txt"
    stdout
      is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/
  Command "md5deep -V"
    stdout
      is expected to match "This program is a work of the US Government."
  Command "md5deep -v"
    exit_status
      is expected to eq 0

sysctl installation
  Command "sysctl -V"
    exit_status
      is expected to eq 0
  Command "sysctl -a"
    stdout
      is expected to include "kernel.sched_child_runs_first"

Command "wget --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "GNU Wget"

File "/etc/cloud/templates/hosts.ubuntu.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

File "/etc/cloud/templates/sources.list.ubuntu.tmpl"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

mysql installation
  File "/home/travis/.my.cnf"
    is expected to be readable
    is expected to be owned by "travis"
    is expected to be grouped into "travis"
    is expected to exist
  mysql commands
    Command "echo "SHOW DATABASES" | mysql"
      stdout
        is expected to match /^travis$/
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 3)
    Command "mysql -u root -e 'select "hai"'"
      stderr
        is expected to be empty
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
    Command "mysql -u travis -e 'select "hai"'"
      exit_status
        is expected to eq 0
      stderr
        is expected to be empty
      stdout
        is expected to match /hai/
    Command "echo "SELECT id FROM test" | mysql travis"
      stdout
        is expected to match /^4$/
  File "/etc/mysql/conf.d/performance-schema.cnf"
    is expected to exist (FAILED - 4)
    is expected to be grouped into "root" (FAILED - 5)
    is expected to be readable (FAILED - 6)
    is expected to be owned by "root" (FAILED - 7)

php interpreter
  Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"
    stderr
      is expected to be empty
    stdout
      is expected to match /^2 4 6 8 10/
  Command "PHPENV_VERSION=system phpenv exec php --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^PHP \d+\.\d+/

Command "sudo -V"
  stdout
    is expected to match /^Sudo version \d/

Command "shellcheck --version"
  stdout
    is expected to match /^version: \d+\.\d+\.\d+/

File "/etc/cloud/templates"
  is expected to be directory

memcached installation
  Package "memcached"
    is expected to be installed
  memcached commands
    Command "echo 'stats' | nc -w 5 127.0.0.1 11211"
      stdout
        is expected to match "version"
    Service "memcached"
      is expected to be running
  Command "memcached -h"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^memcached \d/

jdk installation
  should have JAVA_HOME defined
  Command "java -version"
    exit_status
      is expected to eq 0
    stderr
      is expected to match /^(java|openjdk)/
  java command
    Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec && java Hello"
      stdout
        is expected to match "Hello World!"

phantomjs installation
  Command "phantomjs -v"
    stdout
      is expected to match /\d/
    exit_status
      is expected to eq 0
  Command "phantomjs /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.js"
    stdout
      is expected to match "Status: success"

File "/etc/cloud/templates/hosts.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

dictionaries commands
  Command "look kid"
    stdout
      is expected to match /^kidding$/
    stderr
      is expected to be empty
    stdout
      is expected to match /^kidney$/
    stdout
      is expected to match /^kidnappers$/

Command "packer version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^Packer v\d/

sudoers setup
  File "/etc/sudoers"
    is expected to be mode 440
    is expected to be file
    is expected to be owned by "root"
    is expected to exist
    content
      is expected to match /^#includedir \/etc\/sudoers\.d$/
  File "/etc/sudoers.d/travis"
    is expected to be owned by "root"
    is expected to exist
    is expected to be mode 440
    is expected to be file
    content
      is expected to match /^Defaults !mail_badpass$/
    content
      is expected to match /^Defaults !authenticate$/
    content
      is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/
    content
      is expected to match /^Defaults !env_reset$/

ssh access
  File "/home/travis/.ssh/authorized_keys"
    is expected to be readable
    is expected to be writable
    is expected to exist
    size
      is expected to be positive
  File "/home/travis/.ssh/known_hosts"
    is expected to be writable
    is expected to be readable
    is expected to exist
    size
      is expected to be positive

unarchivers installation
  Command "
      cd /tmp/packer-templates-20241016-8139-d0hig4-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;
      unzip test.zip;
      cat test.txt
    "
    stdout
      is expected to include "test.zip"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "
      gzip /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;
      rm /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;
      ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;
      gzip -d /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.gz"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "gzip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^gzip \d/
  Command "zip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Zip \d/
  Command "unzip -version"
    stdout
      is expected to match /^UnZip \d/
    exit_status
      is expected to eq 0
  Command "
      bzip2 -z /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;
      rm /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;
      ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;
      bzip2 -d /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.txt.bz2"
  Command "dpkg -s libbz2-dev"
    stdout
      is expected to match "Status: install ok installed"

File "/usr/share/travis/system_info"
  is expected to exist
  size
    is expected to be positive

docker-compose installation
  Command "docker-compose --version"
    stdout
      is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 8)
    exit_status
      is expected to eq 0

clang installation
  Command "clang -v"
    exit_status
      is expected to eq 0
  clang command
    Command "clang -help"
      stdout
        is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"

Command "ssh -V"
  stderr
    is expected to match /OpenSSH/

File "/home/travis/bin"
  is expected to be writable
  is expected to be directory

rvm installation
  Command "rvm version"
    stdout
      is expected to match /^rvm /
    exit_status
      is expected to eq 0
    stderr
      is expected to be empty
  rvm commands
    Command "rvm list"
      stdout
        is expected to include "current"
      stderr
        is expected to be empty
      stdout
        is expected to match /ruby-2\.[234567]\.\d/
    Command "rvm default do echo whatever"
      stdout
        is expected to include "whatever"
      stdout
        is expected not to include "Warning!"
      stderr
        is expected not to include "Warning!"
  File "/home/travis/.rvm/user/db"
    is expected to exist
    is expected to be readable
    is expected to be writable
  File "/home/travis/.rvmrc"
    is expected to be writable
    is expected to be readable
    is expected to exist

ragel installation
  ragel commands
    add a ragel file and execute a ragel command
      File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/hello_world.rb"
        content
          is expected to match /^puts "Hello World"/
  Command "ragel -v"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^Ragel /
  Package "ragel"
    is expected to be installed

apt installation
  Command "apt-cache search ubuntu-restricted-extras"
    stdout
      is expected not to be empty
  apt architecture
    Command "dpkg --print-architecture"
      stdout
        is expected to match /amd64/
    Command "dpkg --print-foreign-architectures"
      stdout
        is expected to match /i386/
  apt commands
    Command "sudo apt-get update -y"
      stdout
        is expected to match /http/
    Command "sudo apt-get install -y language-pack-pt"
      stdout
        is expected to match /Reading state/
  File "/var/lib/apt/lists"
    is expected to be directory
  Command "apt-get -v"
    exit_status
      is expected to eq 0
  /var/lib/apt/lists/*Packages*
    is non-empty

emacs installation
  editing
    File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt"
      content
        is expected to match "poof"
  Command "emacs --version"
    exit_status
      is expected to eq 0

Command "shfmt -version"
  stdout
    is expected to match /^v\d+\.\d+\.\d+/

python environment
  Command "true ; nosetests --version"
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 9)
    stderr
      is expected to be empty (FAILED - 10)
  Command "true ; py.test --version"
    stderr
      is expected to be empty (FAILED - 11)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 12)
  Command "true ; wheel version"
    stderr
      is expected to be empty (FAILED - 13)
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 14)
  Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"
    stderr
      is expected to be empty
    stdout
      is expected to match /^\d+\.\d+/
  Command "true ; pip --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^pip \d+\.\d+(\.\d+)?/

Command "heroku version"
  stdout
    is expected to match /^heroku/

Failures:

  1) Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'

  2) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       bash -c \ psql\ --version
       psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'

  3) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Variable_name\tValue\nperformance_schema\tON\n" to include "performance_schema\tOFF"
       Diff:
       @@ -1,2 +1,3 @@
       -performance_schema	OFF
       +Variable_name	Value
       +performance_schema	ON
       
       bash -c echo\ \"SHOW\ VARIABLES\ LIKE\ \'performance_schema\'\"\ \|\ mysql
       Variable_name	Value
performance_schema	ON

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'

  4) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to exist
       bash -c test\ -e\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'

  5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false
       bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'

  6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to be readable
       bash -c stat\ -c\ \%a\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'

  7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false
       bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'

  8) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
       Diff:
       @@ -1,2 +1,2 @@
       -/^docker-compose version:?\s+\d+\.\d+\.\d+/
       +Docker Compose version v2.27.1
       
       /bin/bash -c docker-compose\ --version
       Docker Compose version v2.27.1

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'

  9) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "" to match /^nosetests version \d+\.\d+\.\d+/
       Diff:
       @@ -1,2 +1,2 @@
       -/^nosetests version \d+\.\d+\.\d+/
       +""
       
       /bin/bash -c true\ \;\ nosetests\ --version
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'

  10) python environment Command "true ; nosetests --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: nosetests: command not found\n".empty?` to be truthy, got false
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'

  11) python environment Command "true ; py.test --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: py.test: command not found\n".empty?` to be truthy, got false
        /bin/bash -c true\ \;\ py.test\ --version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'

  12) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /pytest (version )?\d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/pytest (version )?\d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'

  13) python environment Command "true ; wheel version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: wheel: command not found\n".empty?` to be truthy, got false
        /bin/bash -c true\ \;\ wheel\ version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'

  14) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /^wheel \d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/^wheel \d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'

Finished in 1 minute 9.67 seconds (files took 1.12 seconds to load)
282 examples, 14 failures

Failed examples:

rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb[30:1:1] # Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb[1:1:1:1] # postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:4:5:1:1] # mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:1] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:4] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:2] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:3] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb[1:1:2:1] # docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:2:1] # python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:1:1] # python environment Command "true ; nosetests --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:1:1] # python environment Command "true ; py.test --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:2:1] # python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:1:1] # python environment Command "true ; wheel version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:2:1] # python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/

Randomized with seed 33043

+ local exit_code=1
+ [[ 1 != 0 ]]
+ echo 'Spec suite exited with 1'
Spec suite exited with 1
+ [[ -n '' ]]
+ exit 1

The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 2 of 3.

+sudo packer-scripts/run-serverspecs
+ shopt -s nullglob
+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ export CHEF_LICENSE=accept-silent
+ CHEF_LICENSE=accept-silent
+ 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
+ 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
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ : /home/travis/build/travis-ci/packer-templates/tmp
+ : 'bash -lc'
+ : docker
+ [[ docker == \d\o\c\k\e\r ]]
+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'
+ SPEC_ARGS='--tag ~dev --tag ~docker:false'
++ uname -m
+ [[ x86_64 =~ aarch64 ]]
++ uname -m
+ [[ x86_64 =~ ppc64 ]]
+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp
+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]
+ return
+ __create_sudo_bash
+ cat
+ chmod 0755 /tmp/sudo-bash
+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp
+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp
+ for suite in ${SPEC_SUITES/,/ }
+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'
+ local suite=travis_packer_templates
+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
+ local 'runner=bash -lc'
+ local cookbook_dir
++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp
++ local suite=travis_packer_templates
++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
++ local spec_dir
+++ head -1
+++ 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-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
++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'
+ local suite=travis_packer_templates
+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ local 'runner=bash -lc'
+ set +o errexit
++ uname -m
++ uname -m
+ bash -lc '
set -o xtrace
export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"
export TERM=xterm
export PACKER_BUILDER_TYPE=docker
export RUBYOPT=-W0
if [[ x86_64 =~ ppc64 ]]; then
  gem install serverspec
else
  chef gem install serverspec
fi
unset GEM_PATH
cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
sudo systemctl start xvfb.service
set -o errexit
if [[ x86_64 =~ ppc64 ]]; then
  rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
else
  chef exec rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
fi
'
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ export TERM=xterm
+ TERM=xterm
+ export PACKER_BUILDER_TYPE=docker
+ PACKER_BUILDER_TYPE=docker
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ [[ x86_64 =~ ppc64 ]]
+ chef gem install serverspec
WARNING:  You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,
	  gem executables will not run.
Successfully installed serverspec-2.42.3
1 gem installed
+ unset GEM_PATH
+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ sudo systemctl start xvfb.service
+ set -o errexit
+ [[ x86_64 =~ ppc64 ]]
+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json
Run options: exclude {:dev=>true, :docker=>false}

Randomized with seed 60511

sqlite installation
  Command "sqlite3 -version"
    stdout
      is expected to match /^\d\.\d/
    exit_status
      is expected to eq 0
  sqlite commands are executed
    Command "
      sqlite3 /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.db "
        CREATE TABLE hats (
          id INTEGER PRIMARY KEY,
          name TEXT,
          style INTEGER
        );
        INSERT INTO hats VALUES(1, 'floppy', 9001);
        SELECT * FROM hats;
      "
    "
      stdout
        is expected to match "1|floppy|9001"

Command "nc -h"
  exit_status
    is expected to eq 0

ruby installation
  Command "rspec --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^RSpec \d+\.\d+/
  Command "gem --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^\d+\.\d+\.\d+/

subversion installation
  Command "svn --version"
    exit_status
      is expected to eq 0
  subversion commands are executed
    File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/svn-project/README.txt"
      content
        is expected to match "This is a Subversion repository;"

Command "bats --version"
  stdout
    is expected to match /^Bats \d/

File "/usr/share/travis/system_info"
  is expected to exist
  size
    is expected to be positive

Command "lsof -v 2>&1 | head -2 | tail -1"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /revision:/

File "/etc/cloud/templates/hosts.ubuntu.tmpl"
  is expected to be exist
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

Command "shellcheck --version"
  stdout
    is expected to match /^version: \d+\.\d+\.\d+/

File "/home/travis/bin"
  is expected to be writable
  is expected to be directory

emacs installation
  Command "emacs --version"
    exit_status
      is expected to eq 0
  editing
    File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt"
      content
        is expected to match "poof"

Command "heroku version"
  stdout
    is expected to match /^heroku/

imagemagick installation
  Command "convert --version"
    stdout
      is expected to match /imagemagick/i
    exit_status
      is expected to eq 0
  imagemagick commands
    Command "identify /tmp/packer-templates-20241016-12266-snnm4o-rspec/logo.gif"
      exit_status
        is expected to eq 0
      stdout
        is expected to match /logo\.gif GIF/

docker-compose installation
  Command "docker-compose --version"
    stdout
      is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 1)
    exit_status
      is expected to eq 0

sysctl installation
  Command "sysctl -a"
    stdout
      is expected to include "kernel.sched_child_runs_first"
  Command "sysctl -V"
    exit_status
      is expected to eq 0

Command "psql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 2)

redis installation
  Command "redis-server --version"
    stdout
      is expected to match /^Redis /
    exit_status
      is expected to eq 0
  redis commands
    Command "redis-cli -p 16379 PING"
      stdout
        is expected to match /^PONG$/
    Command "redis-cli -p 16379 GET test_key | cat"
      stdout
        is expected to match /^test_value$/

xserver installation
  Command "Xorg -version"
    exit_status
      is expected to eq 0
  Command "xvfb-run -a xdpyinfo"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^\s+GLX$/
    stderr
      is expected to be empty
  Command "DISPLAY=:99.0 xset -q"
    stdout
      is expected to match /^Keyboard Control:/
    exit_status
      is expected to eq 0
    stderr
      is expected to be empty

go toolchain installation
  compiling something
    Command "go run /tmp/packer-templates-20241016-12266-snnm4o-rspec/example.go"
      stdout
        is expected to match /Good morrow, 17359/
  Command "go version"
    stdout
      is expected to match /^go version go/
  Command "go env GOROOT"
    stdout
      is expected to match /\/\.gimme\//

Command "packer version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^Packer v\d/

md5deep installation
  Command "md5deep /tmp/packer-templates-20241016-12266-snnm4o-rspec/md5deep.txt"
    stdout
      is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/
  Command "md5deep -V"
    stdout
      is expected to match "This program is a work of the US Government."
  Command "md5deep -v"
    exit_status
      is expected to eq 0

ssh access
  File "/home/travis/.ssh/authorized_keys"
    is expected to be writable
    is expected to exist
    is expected to be readable
    size
      is expected to be positive
  File "/home/travis/.ssh/known_hosts"
    is expected to exist
    is expected to be readable
    is expected to be writable
    size
      is expected to be positive

User "travis"
  is expected to have login shell "/bin/bash"
  is expected to exist
  is expected to have home directory "/home/travis"

sudoers setup
  File "/etc/sudoers"
    is expected to be file
    is expected to be mode 440
    is expected to be owned by "root"
    is expected to exist
    content
      is expected to match /^#includedir \/etc\/sudoers\.d$/
  File "/etc/sudoers.d/travis"
    is expected to be file
    is expected to be owned by "root"
    is expected to be mode 440
    is expected to exist
    content
      is expected to match /^Defaults !authenticate$/
    content
      is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/
    content
      is expected to match /^Defaults !env_reset$/
    content
      is expected to match /^Defaults !mail_badpass$/

go installation
  Command "gimme -l"
    stdout
      is expected not to be empty

python3 interpreter
  Command "python3 -m this"
    stderr
      is expected to be empty
    stdout
      is expected to match /Readability counts\./
  python3 --version
    is expected to match /^Python \d+\.\d+\.\d+/

php interpreter
  Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"
    stderr
      is expected to be empty
    stdout
      is expected to match /^2 4 6 8 10/
  Command "PHPENV_VERSION=system phpenv exec php --version"
    stdout
      is expected to match /^PHP \d+\.\d+/
    stderr
      is expected to be empty

rvm installation
  File "/home/travis/.rvmrc"
    is expected to be readable
    is expected to exist
    is expected to be writable
  Command "rvm version"
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^rvm /
  File "/home/travis/.rvm/user/db"
    is expected to exist
    is expected to be readable
    is expected to be writable
  rvm commands
    Command "rvm default do echo whatever"
      stderr
        is expected not to include "Warning!"
      stdout
        is expected to include "whatever"
      stdout
        is expected not to include "Warning!"
    Command "rvm list"
      stdout
        is expected to include "current"
      stderr
        is expected to be empty
      stdout
        is expected to match /ruby-2\.[234567]\.\d/

google-chrome installation
  Command "google-chrome --version"
    exit_status
      is expected to eq 0
  Package "google-chrome-stable"
    is expected to be installed

perlbrew installation
  Command "perlbrew list"
    exit_status
      is expected to eq 0
  Command "perlbrew --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/

openssl installation
  openssl commands
    Command "echo "Konstantin broke all the things." | openssl enc -base64"
      stdout
        is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"
    Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"
      stdout
        is expected to match "Konstantin broke all the things."
  Command "openssl version"
    stdout
      is expected to match /^OpenSSL/
    exit_status
      is expected to eq 0

File "/.node-attributes.yml"
  is expected to exist
  content_as_yaml
    is expected to include "__timestamp"

File "/opt"
  is expected to be writable
  is expected to be directory

mysql installation
  mysql commands
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 3)
    Command "mysql -u root -e 'select "hai"'"
      stdout
        is expected to match /hai/
      stderr
        is expected to be empty
      exit_status
        is expected to eq 0
    Command "echo "SHOW DATABASES" | mysql"
      stdout
        is expected to match /^travis$/
    Command "mysql -u travis -e 'select "hai"'"
      exit_status
        is expected to eq 0
      stdout
        is expected to match /hai/
      stderr
        is expected to be empty
    Command "echo "SELECT id FROM test" | mysql travis"
      stdout
        is expected to match /^4$/
  File "/etc/mysql/conf.d/performance-schema.cnf"
    is expected to be readable (FAILED - 4)
    is expected to exist (FAILED - 5)
    is expected to be grouped into "root" (FAILED - 6)
    is expected to be owned by "root" (FAILED - 7)
  File "/home/travis/.my.cnf"
    is expected to exist
    is expected to be readable
    is expected to be grouped into "travis"
    is expected to be owned by "travis"

python2 interpreter
  python --version
    is expected to match /^Python \d+\.\d+\.\d+/
  Command "python -m this"
    stderr
      is expected to be empty
    stdout
      is expected to match /Readability counts\./

Command "wget --version"
  stdout
    is expected to include "GNU Wget"
  exit_status
    is expected to eq 0

vim installation
  Command "vim --version"
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0
    stdout
      is expected not to be empty
  File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt"
    content
      is expected to match /there/

Command "mysql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^mysql /

php environment
  File "/home/travis/.pearrc"
    is expected not to exist
  Command "PHPENV_VERSION=system phpenv exec php-fpm --version"
    stdout
      is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/
    exit_status
      is expected to eq 0
  Command "PHPENV_VERSION=system phpenv exec php -m --version"
    stdout
      is expected to include "Core", "PDO", "Phar", "SPL", "Xdebug", "bcmath", "ctype", "curl", "date", "dom", "exif", "filter", "ftp", "gd", "hash", "iconv", "json", "libxml", "mbstring", "pcre", "pdo_mysql", "pdo_sqlite", "posix", "readline", "sqlite3", "standard", "sysvsem", "sysvshm", "tidy", "xmlrpc", "xmlwriter", "xsl", "zip", and "zlib"

File "/etc/cloud/templates/sources.list.tmpl"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

jdk installation
  should have JAVA_HOME defined
  Command "java -version"
    stderr
      is expected to match /^(java|openjdk)/
    exit_status
      is expected to eq 0
  java command
    Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec && java Hello"
      stdout
        is expected to match "Hello World!"

File "/etc/cloud/templates/sources.list.debian.tmpl"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

git installation
  Package "git"
    is expected to be installed
  Command "git config user.email"
    stdout
      is expected to match /travis@example\.org/
  git commands
    Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"
      stdout
        is expected to match /nothing to commit/
      stdout
        is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file:   test-file.txt"
  Command "git --version"
    stdout
      is expected to match /^git version (2\.|1\.[89])/
    exit_status
      is expected to eq 0
  Command "git config user.name"
    stdout
      is expected to match /travis/i

clang installation
  clang command
    Command "clang -help"
      stdout
        is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"
  Command "clang -v"
    exit_status
      is expected to eq 0

dictionaries commands
  Command "look kid"
    stdout
      is expected to match /^kidney$/
    stdout
      is expected to match /^kidnappers$/
    stdout
      is expected to match /^kidding$/
    stderr
      is expected to be empty

Command "shfmt -version"
  stdout
    is expected to match /^v\d+\.\d+\.\d+/

jq installation
  Command "jq -V"
    exit_status
      is expected to eq 0
  Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-12266-snnm4o-rspec/test.json"
    stdout
      is expected to match /^Konstantin broke all the things/

ccache installation
  ccache commands are executed
    Command "ccache -M 0.5"
      stdout
        is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/
    Command "ccache -s"
      stdout
        is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"
  Command "ccache -V"
    exit_status
      is expected to eq 0

Command "cmake --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^cmake version [23]/

ruby interpreter
  Command "ruby -e 'puts "Konstanin broke all the things!"'"
    stdout
      is expected to match /^Konstanin broke all the things!$/
  Command "ruby -e 'puts RUBY_ENGINE'"
    stdout
      is expected to match /^ruby/
  Command "ruby --version"
    stdout
      is expected to match /^ruby 3\.\d+\.\d+/
    stderr
      is expected to be empty

mercurial installation
  mecurial commands are executed
    Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/hg-project; hg status; hg add .; hg status"
      stdout
        is expected to match "\\? test-file.txt"
      stdout
        is expected to match "A test-file.txt"
  Command "hg version"
    stdout
      is expected to match /^Mercurial Distributed SCM \(version \d/
    exit_status
      is expected to eq 0

memcached installation
  Command "memcached -h"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^memcached \d/
  memcached commands
    Command "echo 'stats' | nc -w 5 127.0.0.1 11211"
      stdout
        is expected to match "version"
    Service "memcached"
      is expected to be running
  Package "memcached"
    is expected to be installed

mongodb installation
  mongo commands
    Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""
      stdout
        is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/
  Service "mongod"
    is expected not to be running
    is expected not to be enabled
  Command "mongo --version"
    stdout
      is expected to match /MongoDB shell/
    exit_status
      is expected to eq 0

gimme installation
  Command "gimme --version"
    exit_status
      is expected to eq 0
  Command "eval "$(HOME=/tmp/packer-templates-20241016-12266-snnm4o-rspec gimme 1.6.3)" 2>&1"
    stdout
      is expected to match "go version go1.6.3"

File "/etc/cloud/templates"
  is expected to be directory

gcc installation
  Command "gcc -v"
    stderr
      is expected to match /^gcc version/
  Command "
    cd /tmp/packer-templates-20241016-12266-snnm4o-rspec;
    gcc -Wall -o hai hai.c;
    ./hai there
  "
    stdout
      is expected to match /^hai 2$/
  Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/empty && gcc"
    stderr
      is expected to include "no input files"

Command "ssh -V"
  stderr
    is expected to match /OpenSSH/

perl interpreter
  Command "perl -e 'print "Hello Mr Euler!\n"'"
    stderr
      is expected to be empty
    stdout
      is expected to match /^Hello Mr Euler!/
  Command "perl --version"
    stdout
      is expected to match /perl 5, version \d/
    stderr
      is expected to be empty

bazaar installation
  Command "bzr version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/
  bazaar commands
    Command "
      cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/bzr-project;
      bzr status;
      bzr add test.txt;
      bzr status;
    "
      stdout
        is expected to match /^added:/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^adding test\.txt/
      stdout
        is expected to match /^unknown:/

Command "sudo -V"
  stdout
    is expected to match /^Sudo version \d/

apt installation
  apt commands
    Command "sudo apt-get install -y language-pack-pt"
      stdout
        is expected to match /Reading state/
    Command "sudo apt-get update -y"
      stdout
        is expected to match /http/
  Command "apt-cache search ubuntu-restricted-extras"
    stdout
      is expected not to be empty
  /var/lib/apt/lists/*Packages*
    is non-empty
  apt architecture
    Command "dpkg --print-architecture"
      stdout
        is expected to match /amd64/
    Command "dpkg --print-foreign-architectures"
      stdout
        is expected to match /i386/
  Command "apt-get -v"
    exit_status
      is expected to eq 0
  File "/var/lib/apt/lists"
    is expected to be directory

Command "curl --version | head -1"
  stdout
    is expected to include "curl"
  exit_status
    is expected to eq 0

File "/etc/cloud/templates/hosts.tmpl"
  is expected to be exist
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

phantomjs installation
  Command "phantomjs -v"
    stdout
      is expected to match /\d/
    exit_status
      is expected to eq 0
  Command "phantomjs /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.js"
    stdout
      is expected to match "Status: success"

unarchivers installation
  Command "dpkg -s libbz2-dev"
    stdout
      is expected to match "Status: install ok installed"
  Command "gzip --version"
    stdout
      is expected to match /^gzip \d/
    exit_status
      is expected to eq 0
  Command "unzip -version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^UnZip \d/
  Command "
      cd /tmp/packer-templates-20241016-12266-snnm4o-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;
      unzip test.zip;
      cat test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.zip"
  Command "
      bzip2 -z /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;
      rm /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;
      ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;
      bzip2 -d /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.txt.bz2"
  Command "
      gzip /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;
      rm /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;
      ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;
      gzip -d /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.gz"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "zip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Zip \d/

Command "rsync --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /rsync.+version/

postgresql installation
  psql commands
    with a test table
      Command " psql -U travis -tA -c '\dt' test_db"
        stdout
          is expected to match /^public\|test_table\|/
        stderr
          is expected to be empty
    Command " psql -U travis -ltA"
      stdout
        is expected to match /^test_db\|/
  Command " psql --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 8)

Command "ldconfig -V"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "ldconfig "

nodejs interpreter
  Command "node -v"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /v\d/
  Command "node -e "console.log('Konstantin broke all the thingz')""
    stdout
      is expected to match "Konstantin broke all the thingz"

File "/etc/cloud/templates/hosts.debian.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

python environment
  Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"
    stderr
      is expected to be empty
    stdout
      is expected to match /^\d+\.\d+/
  Command "true ; pip --version"
    stdout
      is expected to match /^pip \d+\.\d+(\.\d+)?/
    stderr
      is expected to be empty
  Command "true ; wheel version"
    stderr
      is expected to be empty (FAILED - 9)
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 10)
  Command "true ; nosetests --version"
    stderr
      is expected to be empty (FAILED - 11)
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 12)
  Command "true ; py.test --version"
    stderr
      is expected to be empty (FAILED - 13)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 14)

Command "ldconfig -p | grep libldap"
  stdout
    is expected to match /libldap_r/
  exit_status
    is expected to eq 0

Command "iptables --version"
  stdout
    is expected to include "iptables"
  exit_status
    is expected to eq 0

File "/etc/cloud/templates/sources.list.ubuntu.tmpl"
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

File "/etc/cloud/cloud.cfg"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

ragel installation
  Package "ragel"
    is expected to be installed
  Command "ragel -v"
    stdout
      is expected to match /^Ragel /
    exit_status
      is expected to eq 0
  ragel commands
    add a ragel file and execute a ragel command
      File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/hello_world.rb"
        content
          is expected to match /^puts "Hello World"/

firefox installation
  Command "sudo -u travis firefox -v"
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0
  firefox commands
    File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/

dictionaries installation
  Package "wamerican"
    is expected to be installed

Failures:

  1) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
       Diff:
       @@ -1,2 +1,2 @@
       -/^docker-compose version:?\s+\d+\.\d+\.\d+/
       +Docker Compose version v2.27.1
       
       bash -c docker-compose\ --version
       Docker Compose version v2.27.1

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'

  2) Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'

  3) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Variable_name\tValue\nperformance_schema\tON\n" to include "performance_schema\tOFF"
       Diff:
       @@ -1,2 +1,3 @@
       -performance_schema	OFF
       +Variable_name	Value
       +performance_schema	ON
       
       /bin/bash -c echo\ \"SHOW\ VARIABLES\ LIKE\ \'performance_schema\'\"\ \|\ mysql
       Variable_name	Value
performance_schema	ON

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'

  4) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to be readable
       /bin/bash -c stat\ -c\ \%a\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'

  5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to exist
       /bin/bash -c test\ -e\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'

  6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false
       /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'

  7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false
       /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'

  8) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'

  9) python environment Command "true ; wheel version" stderr is expected to be empty
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `"/bin/bash: wheel: command not found\n".empty?` to be truthy, got false
       /bin/bash -c true\ \;\ wheel\ version
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'

  10) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /^wheel \d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/^wheel \d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'

  11) python environment Command "true ; nosetests --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: nosetests: command not found\n".empty?` to be truthy, got false
        /bin/bash -c true\ \;\ nosetests\ --version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'

  12) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /^nosetests version \d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/^nosetests version \d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'

  13) python environment Command "true ; py.test --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: py.test: command not found\n".empty?` to be truthy, got false
        /bin/bash -c true\ \;\ py.test\ --version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'

  14) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /pytest (version )?\d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/pytest (version )?\d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'

Finished in 59.09 seconds (files took 0.92731 seconds to load)
282 examples, 14 failures

Failed examples:

rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb[1:1:2:1] # docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb[30:1:1] # Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:4:5:1:1] # mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:2] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:1] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:4] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:3] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb[1:1:1:1] # postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:1:1] # python environment Command "true ; wheel version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:2:1] # python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:1:1] # python environment Command "true ; nosetests --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:2:1] # python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:1:1] # python environment Command "true ; py.test --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:2:1] # python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/

Randomized with seed 60511

+ local exit_code=1
+ [[ 1 != 0 ]]
+ echo 'Spec suite exited with 1'
Spec suite exited with 1
+ [[ -n '' ]]
+ exit 1

The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 3 of 3.

+sudo packer-scripts/run-serverspecs
+ shopt -s nullglob
+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin
+ export CHEF_LICENSE=accept-silent
+ CHEF_LICENSE=accept-silent
+ 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
+ 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
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ : /home/travis/build/travis-ci/packer-templates/tmp
+ : 'bash -lc'
+ : docker
+ [[ docker == \d\o\c\k\e\r ]]
+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'
+ SPEC_ARGS='--tag ~dev --tag ~docker:false'
++ uname -m
+ [[ x86_64 =~ aarch64 ]]
++ uname -m
+ [[ x86_64 =~ ppc64 ]]
+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp
+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]
+ return
+ __create_sudo_bash
+ cat
+ chmod 0755 /tmp/sudo-bash
+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp
+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp
+ for suite in ${SPEC_SUITES/,/ }
+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'
+ local suite=travis_packer_templates
+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
+ local 'runner=bash -lc'
+ local cookbook_dir
++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp
++ local suite=travis_packer_templates
++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp
++ local spec_dir
+++ 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-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
+++ head -1
++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec
+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'
+ local suite=travis_packer_templates
+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ local 'runner=bash -lc'
+ set +o errexit
++ uname -m
++ uname -m
+ bash -lc '
set -o xtrace
export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"
export TERM=xterm
export PACKER_BUILDER_TYPE=docker
export RUBYOPT=-W0
if [[ x86_64 =~ ppc64 ]]; then
  gem install serverspec
else
  chef gem install serverspec
fi
unset GEM_PATH
cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
sudo systemctl start xvfb.service
set -o errexit
if [[ x86_64 =~ ppc64 ]]; then
  rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
else
  chef exec rspec --tag ~dev --tag ~docker:false \
    --format documentation \
    --format json \
    --out /home/travis/.travis_packer_templates_rspec.json
fi
'
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ 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:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/home/travis/.gimme/versions/go1.23.0.linux.amd64/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/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
+ export TERM=xterm
+ TERM=xterm
+ export PACKER_BUILDER_TYPE=docker
+ PACKER_BUILDER_TYPE=docker
+ export RUBYOPT=-W0
+ RUBYOPT=-W0
+ [[ x86_64 =~ ppc64 ]]
+ chef gem install serverspec
WARNING:  You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,
	  gem executables will not run.
Successfully installed serverspec-2.42.3
1 gem installed
+ unset GEM_PATH
+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates
+ sudo systemctl start xvfb.service
+ set -o errexit
+ [[ x86_64 =~ ppc64 ]]
+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json
Run options: exclude {:dev=>true, :docker=>false}

Randomized with seed 4455

User "travis"
  is expected to have login shell "/bin/bash"
  is expected to exist
  is expected to have home directory "/home/travis"

sudoers setup
  File "/etc/sudoers"
    is expected to be owned by "root"
    is expected to be file
    is expected to exist
    is expected to be mode 440
    content
      is expected to match /^#includedir \/etc\/sudoers\.d$/
  File "/etc/sudoers.d/travis"
    is expected to be file
    is expected to exist
    is expected to be owned by "root"
    is expected to be mode 440
    content
      is expected to match /^Defaults !mail_badpass$/
    content
      is expected to match /^Defaults !authenticate$/
    content
      is expected to match /^Defaults !env_reset$/
    content
      is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/

dictionaries commands
  Command "look kid"
    stdout
      is expected to match /^kidnappers$/
    stderr
      is expected to be empty
    stdout
      is expected to match /^kidding$/
    stdout
      is expected to match /^kidney$/

apt installation
  apt architecture
    Command "dpkg --print-architecture"
      stdout
        is expected to match /amd64/
    Command "dpkg --print-foreign-architectures"
      stdout
        is expected to match /i386/
  apt commands
    Command "sudo apt-get install -y language-pack-pt"
      stdout
        is expected to match /Reading state/
    Command "sudo apt-get update -y"
      stdout
        is expected to match /http/
  Command "apt-cache search ubuntu-restricted-extras"
    stdout
      is expected not to be empty
  Command "apt-get -v"
    exit_status
      is expected to eq 0
  /var/lib/apt/lists/*Packages*
    is non-empty
  File "/var/lib/apt/lists"
    is expected to be directory

Command "wget --version"
  stdout
    is expected to include "GNU Wget"
  exit_status
    is expected to eq 0

dictionaries installation
  Package "wamerican"
    is expected to be installed

git installation
  git commands
    Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"
      stdout
        is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file:   test-file.txt"
      stdout
        is expected to match /nothing to commit/
  Command "git --version"
    stdout
      is expected to match /^git version (2\.|1\.[89])/
    exit_status
      is expected to eq 0
  Command "git config user.email"
    stdout
      is expected to match /travis@example\.org/
  Package "git"
    is expected to be installed
  Command "git config user.name"
    stdout
      is expected to match /travis/i

Command "ldconfig -p | grep libldap"
  stdout
    is expected to match /libldap_r/
  exit_status
    is expected to eq 0

Command "shfmt -version"
  stdout
    is expected to match /^v\d+\.\d+\.\d+/

rvm installation
  rvm commands
    Command "rvm default do echo whatever"
      stdout
        is expected to include "whatever"
      stdout
        is expected not to include "Warning!"
      stderr
        is expected not to include "Warning!"
    Command "rvm list"
      stdout
        is expected to match /ruby-2\.[234567]\.\d/
      stdout
        is expected to include "current"
      stderr
        is expected to be empty
  File "/home/travis/.rvm/user/db"
    is expected to be readable
    is expected to exist
    is expected to be writable
  File "/home/travis/.rvmrc"
    is expected to be readable
    is expected to be writable
    is expected to exist
  Command "rvm version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^rvm /
    exit_status
      is expected to eq 0

nodejs interpreter
  Command "node -e "console.log('Konstantin broke all the thingz')""
    stdout
      is expected to match "Konstantin broke all the thingz"
  Command "node -v"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /v\d/

Command "rsync --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /rsync.+version/

Command "cmake --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^cmake version [23]/

bazaar installation
  Command "bzr version"
    stdout
      is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/
    exit_status
      is expected to eq 0
  bazaar commands
    Command "
      cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/bzr-project;
      bzr status;
      bzr add test.txt;
      bzr status;
    "
      stdout
        is expected to match /^unknown:/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^adding test\.txt/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^added:/

ragel installation
  Package "ragel"
    is expected to be installed
  Command "ragel -v"
    stdout
      is expected to match /^Ragel /
    exit_status
      is expected to eq 0
  ragel commands
    add a ragel file and execute a ragel command
      File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/hello_world.rb"
        content
          is expected to match /^puts "Hello World"/

postgresql installation
  psql commands
    with a test table
      Command " psql -U travis -tA -c '\dt' test_db"
        stderr
          is expected to be empty
        stdout
          is expected to match /^public\|test_table\|/
    Command " psql -U travis -ltA"
      stdout
        is expected to match /^test_db\|/
  Command " psql --version"
    stdout
      is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 1)
    exit_status
      is expected to eq 0

File "/etc/cloud/templates/sources.list.tmpl"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

ssh access
  File "/home/travis/.ssh/authorized_keys"
    is expected to exist
    is expected to be readable
    is expected to be writable
    size
      is expected to be positive
  File "/home/travis/.ssh/known_hosts"
    is expected to be readable
    is expected to exist
    is expected to be writable
    size
      is expected to be positive

Command "psql --version"
  stdout
    is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 2)
  exit_status
    is expected to eq 0

File "/etc/cloud/templates/hosts.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

sysctl installation
  Command "sysctl -V"
    exit_status
      is expected to eq 0
  Command "sysctl -a"
    stdout
      is expected to include "kernel.sched_child_runs_first"

File "/etc/cloud/templates/sources.list.debian.tmpl"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

File "/etc/cloud/templates"
  is expected to be directory

File "/etc/cloud/cloud.cfg"
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

google-chrome installation
  Command "google-chrome --version"
    exit_status
      is expected to eq 0
  Package "google-chrome-stable"
    is expected to be installed

md5deep installation
  Command "md5deep -V"
    stdout
      is expected to match "This program is a work of the US Government."
  Command "md5deep /tmp/packer-templates-20241016-16295-r1gv4p-rspec/md5deep.txt"
    stdout
      is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/
  Command "md5deep -v"
    exit_status
      is expected to eq 0

go toolchain installation
  Command "go version"
    stdout
      is expected to match /^go version go/
  Command "go env GOROOT"
    stdout
      is expected to match /\/\.gimme\//
  compiling something
    Command "go run /tmp/packer-templates-20241016-16295-r1gv4p-rspec/example.go"
      stdout
        is expected to match /Good morrow, 14820/

redis installation
  redis commands
    Command "redis-cli -p 16379 PING"
      stdout
        is expected to match /^PONG$/
    Command "redis-cli -p 16379 GET test_key | cat"
      stdout
        is expected to match /^test_value$/
  Command "redis-server --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^Redis /

phantomjs installation
  Command "phantomjs /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.js"
    stdout
      is expected to match "Status: success"
  Command "phantomjs -v"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /\d/

jdk installation
  should have JAVA_HOME defined
  Command "java -version"
    exit_status
      is expected to eq 0
    stderr
      is expected to match /^(java|openjdk)/
  java command
    Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec && java Hello"
      stdout
        is expected to match "Hello World!"

ruby installation
  Command "gem --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^\d+\.\d+\.\d+/
  Command "rspec --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^RSpec \d+\.\d+/

unarchivers installation
  Command "
      cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;
      unzip test.zip;
      cat test.txt
    "
    stdout
      is expected to include "test.zip"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "gzip --version"
    stdout
      is expected to match /^gzip \d/
    exit_status
      is expected to eq 0
  Command "
      bzip2 -z /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;
      rm /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;
      ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;
      bzip2 -d /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.txt.bz2"
  Command "zip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Zip \d/
  Command "unzip -version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^UnZip \d/
  Command "
      gzip /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;
      rm /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;
      ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;
      gzip -d /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.gz"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "dpkg -s libbz2-dev"
    stdout
      is expected to match "Status: install ok installed"

python3 interpreter
  python3 --version
    is expected to match /^Python \d+\.\d+\.\d+/
  Command "python3 -m this"
    stdout
      is expected to match /Readability counts\./
    stderr
      is expected to be empty

jq installation
  Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.json"
    stdout
      is expected to match /^Konstantin broke all the things/
  Command "jq -V"
    exit_status
      is expected to eq 0

emacs installation
  Command "emacs --version"
    exit_status
      is expected to eq 0
  editing
    File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt"
      content
        is expected to match "poof"

File "/usr/share/travis/system_info"
  is expected to exist
  size
    is expected to be positive

Command "heroku version"
  stdout
    is expected to match /^heroku/

gimme installation
  Command "gimme --version"
    exit_status
      is expected to eq 0
  Command "eval "$(HOME=/tmp/packer-templates-20241016-16295-r1gv4p-rspec gimme 1.6.3)" 2>&1"
    stdout
      is expected to match "go version go1.6.3"

File "/home/travis/bin"
  is expected to be writable
  is expected to be directory

php environment
  File "/home/travis/.pearrc"
    is expected not to exist
  Command "PHPENV_VERSION=system phpenv exec php-fpm --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/
  Command "PHPENV_VERSION=system phpenv exec php -m --version"
    stdout
      is expected to include "Core", "PDO", "Phar", "SPL", "Xdebug", "bcmath", "ctype", "curl", "date", "dom", "exif", "filter", "ftp", "gd", "hash", "iconv", "json", "libxml", "mbstring", "pcre", "pdo_mysql", "pdo_sqlite", "posix", "readline", "sqlite3", "standard", "sysvsem", "sysvshm", "tidy", "xmlrpc", "xmlwriter", "xsl", "zip", and "zlib"

Command "mysql --version"
  stdout
    is expected to match /^mysql /
  exit_status
    is expected to eq 0

subversion installation
  Command "svn --version"
    exit_status
      is expected to eq 0
  subversion commands are executed
    File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/svn-project/README.txt"
      content
        is expected to match "This is a Subversion repository;"

mercurial installation
  Command "hg version"
    stdout
      is expected to match /^Mercurial Distributed SCM \(version \d/
    exit_status
      is expected to eq 0
  mecurial commands are executed
    Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/hg-project; hg status; hg add .; hg status"
      stdout
        is expected to match "\\? test-file.txt"
      stdout
        is expected to match "A test-file.txt"

xserver installation
  Command "xvfb-run -a xdpyinfo"
    exit_status
      is expected to eq 0
    stderr
      is expected to be empty
    stdout
      is expected to match /^\s+GLX$/
  Command "Xorg -version"
    exit_status
      is expected to eq 0
  Command "DISPLAY=:99.0 xset -q"
    stdout
      is expected to match /^Keyboard Control:/
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0

gcc installation
  Command "
    cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec;
    gcc -Wall -o hai hai.c;
    ./hai there
  "
    stdout
      is expected to match /^hai 2$/
  Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/empty && gcc"
    stderr
      is expected to include "no input files"
  Command "gcc -v"
    stderr
      is expected to match /^gcc version/

Command "bats --version"
  stdout
    is expected to match /^Bats \d/

ruby interpreter
  Command "ruby -e 'puts "Konstanin broke all the things!"'"
    stdout
      is expected to match /^Konstanin broke all the things!$/
  Command "ruby --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^ruby 3\.\d+\.\d+/
  Command "ruby -e 'puts RUBY_ENGINE'"
    stdout
      is expected to match /^ruby/

Command "ldconfig -V"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "ldconfig "

File "/etc/cloud/templates/hosts.debian.tmpl"
  is expected to be exist
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

File "/.node-attributes.yml"
  is expected to exist
  content_as_yaml
    is expected to include "__timestamp"

clang installation
  clang command
    Command "clang -help"
      stdout
        is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"
  Command "clang -v"
    exit_status
      is expected to eq 0

vim installation
  Command "vim --version"
    stderr
      is expected to be empty
    stdout
      is expected not to be empty
    exit_status
      is expected to eq 0
  File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt"
    content
      is expected to match /there/

perl interpreter
  Command "perl --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /perl 5, version \d/
  Command "perl -e 'print "Hello Mr Euler!\n"'"
    stdout
      is expected to match /^Hello Mr Euler!/
    stderr
      is expected to be empty

sqlite installation
  sqlite commands are executed
    Command "
      sqlite3 /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.db "
        CREATE TABLE hats (
          id INTEGER PRIMARY KEY,
          name TEXT,
          style INTEGER
        );
        INSERT INTO hats VALUES(1, 'floppy', 9001);
        SELECT * FROM hats;
      "
    "
      stdout
        is expected to match "1|floppy|9001"
  Command "sqlite3 -version"
    stdout
      is expected to match /^\d\.\d/
    exit_status
      is expected to eq 0

Command "ssh -V"
  stderr
    is expected to match /OpenSSH/

python2 interpreter
  python --version
    is expected to match /^Python \d+\.\d+\.\d+/
  Command "python -m this"
    stdout
      is expected to match /Readability counts\./
    stderr
      is expected to be empty

File "/opt"
  is expected to be directory
  is expected to be writable

imagemagick installation
  Command "convert --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /imagemagick/i
  imagemagick commands
    Command "identify /tmp/packer-templates-20241016-16295-r1gv4p-rspec/logo.gif"
      exit_status
        is expected to eq 0
      stdout
        is expected to match /logo\.gif GIF/

perlbrew installation
  Command "perlbrew list"
    exit_status
      is expected to eq 0
  Command "perlbrew --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/

mongodb installation
  Service "mongod"
    is expected not to be running
    is expected not to be enabled
  Command "mongo --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /MongoDB shell/
  mongo commands
    Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""
      stdout
        is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/

docker-compose installation
  Command "docker-compose --version"
    stdout
      is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 3)
    exit_status
      is expected to eq 0

memcached installation
  Command "memcached -h"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^memcached \d/
  memcached commands
    Command "echo 'stats' | nc -w 5 127.0.0.1 11211"
      stdout
        is expected to match "version"
    Service "memcached"
      is expected to be running
  Package "memcached"
    is expected to be installed

mysql installation
  mysql commands
    Command "mysql -u root -e 'select "hai"'"
      stderr
        is expected to be empty
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
    Command "mysql -u travis -e 'select "hai"'"
      stdout
        is expected to match /hai/
      stderr
        is expected to be empty
      exit_status
        is expected to eq 0
    Command "echo "SELECT id FROM test" | mysql travis"
      stdout
        is expected to match /^4$/
    Command "echo "SHOW DATABASES" | mysql"
      stdout
        is expected to match /^travis$/
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 4)
  File "/home/travis/.my.cnf"
    is expected to be grouped into "travis"
    is expected to be readable
    is expected to exist
    is expected to be owned by "travis"
  File "/etc/mysql/conf.d/performance-schema.cnf"
    is expected to be readable (FAILED - 5)
    is expected to be owned by "root" (FAILED - 6)
    is expected to be grouped into "root" (FAILED - 7)
    is expected to exist (FAILED - 8)

Command "sudo -V"
  stdout
    is expected to match /^Sudo version \d/

firefox installation
  firefox commands
    File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/
  Command "sudo -u travis firefox -v"
    stderr
      is expected to be empty
    exit_status
      is expected to eq 0

Command "lsof -v 2>&1 | head -2 | tail -1"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /revision:/

openssl installation
  Command "openssl version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^OpenSSL/
  openssl commands
    Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"
      stdout
        is expected to match "Konstantin broke all the things."
    Command "echo "Konstantin broke all the things." | openssl enc -base64"
      stdout
        is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"

python environment
  Command "true ; nosetests --version"
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 9)
    stderr
      is expected to be empty (FAILED - 10)
  Command "true ; wheel version"
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 11)
    stderr
      is expected to be empty (FAILED - 12)
  Command "true ; py.test --version"
    stderr
      is expected to be empty (FAILED - 13)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 14)
  Command "true ; pip --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^pip \d+\.\d+(\.\d+)?/
  Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"
    stdout
      is expected to match /^\d+\.\d+/
    stderr
      is expected to be empty

File "/etc/cloud/templates/hosts.ubuntu.tmpl"
  is expected to be exist
  content
    is expected to match /managed by chef/i
  content
    is expected to match /travis_build_environment/i

go installation
  Command "gimme -l"
    stdout
      is expected not to be empty

Command "packer version"
  stdout
    is expected to match /^Packer v\d/
  exit_status
    is expected to eq 0

Command "nc -h"
  exit_status
    is expected to eq 0

ccache installation
  ccache commands are executed
    Command "ccache -s"
      stdout
        is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"
    Command "ccache -M 0.5"
      stdout
        is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/
  Command "ccache -V"
    exit_status
      is expected to eq 0

php interpreter
  Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"
    stdout
      is expected to match /^2 4 6 8 10/
    stderr
      is expected to be empty
  Command "PHPENV_VERSION=system phpenv exec php --version"
    stdout
      is expected to match /^PHP \d+\.\d+/
    stderr
      is expected to be empty

Command "curl --version | head -1"
  stdout
    is expected to include "curl"
  exit_status
    is expected to eq 0

Command "shellcheck --version"
  stdout
    is expected to match /^version: \d+\.\d+\.\d+/

File "/etc/cloud/templates/sources.list.ubuntu.tmpl"
  content
    is expected to match /travis_build_environment/i
  content
    is expected to match /managed by chef/i

Command "iptables --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "iptables"

Failures:

  1) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       /bin/bash -c \ psql\ --version
       psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'

  2) Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       Diff:
       @@ -1,2 +1,2 @@
       -/^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
       +psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)
       
       /bin/bash -c psql\ --version
       psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'

  3) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
       Diff:
       @@ -1,2 +1,2 @@
       -/^docker-compose version:?\s+\d+\.\d+\.\d+/
       +Docker Compose version v2.27.1
       
       /bin/bash -c docker-compose\ --version
       Docker Compose version v2.27.1

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'

  4) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "Variable_name\tValue\nperformance_schema\tON\n" to include "performance_schema\tOFF"
       Diff:
       @@ -1,2 +1,3 @@
       -performance_schema	OFF
       +Variable_name	Value
       +performance_schema	ON
       
       /bin/bash -c echo\ \"SHOW\ VARIABLES\ LIKE\ \'performance_schema\'\"\ \|\ mysql
       Variable_name	Value
performance_schema	ON

     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'

  5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to be readable
       /bin/bash -c stat\ -c\ \%a\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'

  6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false
       /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'

  7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false
       /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'

  8) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected File "/etc/mysql/conf.d/performance-schema.cnf" to exist
       /bin/bash -c test\ -e\ /etc/mysql/conf.d/performance-schema.cnf
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'

  9) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected "" to match /^nosetests version \d+\.\d+\.\d+/
       Diff:
       @@ -1,2 +1,2 @@
       -/^nosetests version \d+\.\d+\.\d+/
       +""
       
       /bin/bash -c true\ \;\ nosetests\ --version
       
     # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'

  10) python environment Command "true ; nosetests --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: nosetests: command not found\n".empty?` to be truthy, got false
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'

  11) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /^wheel \d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/^wheel \d+\.\d+\.\d+/
        +""
        
        /bin/bash -c true\ \;\ wheel\ version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'

  12) python environment Command "true ; wheel version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: wheel: command not found\n".empty?` to be truthy, got false
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'

  13) python environment Command "true ; py.test --version" stderr is expected to be empty
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected `"/bin/bash: py.test: command not found\n".empty?` to be truthy, got false
        /bin/bash -c true\ \;\ py.test\ --version
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'

  14) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/
      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
        expected "" to match /pytest (version )?\d+\.\d+\.\d+/
        Diff:
        @@ -1,2 +1,2 @@
        -/pytest (version )?\d+\.\d+\.\d+/
        +""
        
        
      # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'

Finished in 1 minute 0.19 seconds (files took 0.94367 seconds to load)
282 examples, 14 failures

Failed examples:

rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb[1:1:1:1] # postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb[30:1:1] # Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb[1:1:2:1] # docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:4:5:1:1] # mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:2] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:3] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:4] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb[1:3:1] # mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:2:1] # python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:4:1:1] # python environment Command "true ; nosetests --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:2:1] # python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:2:1:1] # python environment Command "true ; wheel version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:1:1] # python environment Command "true ; py.test --version" stderr is expected to be empty
rspec /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb[1:3:2:1] # python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/

Randomized with seed 4455

+ local exit_code=1
+ [[ 1 != 0 ]]
+ echo 'Spec suite exited with 1'
Spec suite exited with 1
+ [[ -n '' ]]
+ exit 1

The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed 3 times.

travis_time:end:162dfea6:start=1729079465786315986,finish=1729079720380726353,duration=254594410367,event=script
The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 1.
travis_time:start:0e6f4efc
$ for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done
checking /home/travis/.travis_packer_templates_rspec.json
travis_time:end:0e6f4efc:start=1729079720386558929,finish=1729079720401881154,duration=15322225,event=script
The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 0.
travis_fold:start:cache.2
store build cache
$ bundle clean
travis_time:start:11d4aaec
travis_time:end:11d4aaec:start=1729079720660408089,finish=1729079720664404564,duration=3996475,event=cache
travis_time:start:0400e6c8
changes detected, packing new archive
gzip: warning: GZIP environment variable is deprecated; use an alias or script
uploading PR.873/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
cache uploaded
travis_time:end:0400e6c8:start=1729079720669156044,finish=1729079725035960626,duration=4366804582,event=cache
travis_fold:end:cache.2


Done. Your build exited with 1.