travis_fold:start:worker_info
Worker information
hostname: 89d2f1cc-0b4e-4e50-9430-ddb3f00612a4@1.worker-n2-com-f8c4bb956-zjhwc.gce-production-1
version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c
instance: travis-job-58a26f39-de54-48c7-ae41-1fb87831584e travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)
startup: 5.942225571s
travis_fold:end:worker_info
travis_time:start:026e213c
travis_time:end:026e213c:start=1728299584808435176,finish=1728299585019888209,duration=211453033,event=no_world_writable_dirs
travis_time:start:09591cc0
travis_time:end:09591cc0:start=1728299585022692350,finish=1728299585030333527,duration=7641177,event=agent
travis_time:start:054797aa
travis_time:end:054797aa:start=1728299585033016335,finish=1728299585034942051,duration=1925716,event=check_unsupported
travis_time:start:1e2546d0
travis_fold:start:system_info
Build system information
Build language: ruby
Build group: stable
Build dist: focal
Build id: 272621755
Job id: 626853155
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:1e2546d0:start=1728299585037437358,finish=1728299585044041681,duration=6604323,event=show_system_info
travis_time:start:07598b4d
travis_time:end:07598b4d:start=1728299585047427589,finish=1728299585066753233,duration=19325644,event=rm_riak_source
travis_time:start:00980103
travis_time:end:00980103:start=1728299585069719492,finish=1728299585075343902,duration=5624410,event=fix_rwky_redis
travis_time:start:1c3b5f4d
travis_time:end:1c3b5f4d:start=1728299585078425654,finish=1728299585839630956,duration=761205302,event=wait_for_network
travis_time:start:0b012e02
travis_time:end:0b012e02:start=1728299585842479857,finish=1728299586134346075,duration=291866218,event=update_apt_keys
travis_time:start:183c3ec7
travis_time:end:183c3ec7:start=1728299586137228186,finish=1728299586186099162,duration=48870976,event=fix_hhvm_source
travis_time:start:029a8988
travis_time:end:029a8988:start=1728299586189077221,finish=1728299586199001732,duration=9924511,event=update_mongo_arch
travis_time:start:005ef380
travis_time:end:005ef380:start=1728299586201766152,finish=1728299586237174423,duration=35408271,event=fix_sudo_enabled_trusty
travis_time:start:12f3e0e8
travis_time:end:12f3e0e8:start=1728299586240144457,finish=1728299586242162036,duration=2017579,event=update_glibc
travis_time:start:1cd4eab6
travis_time:end:1cd4eab6:start=1728299586244864717,finish=1728299586271775483,duration=26910766,event=clean_up_path
travis_time:start:02558130
travis_time:end:02558130:start=1728299586274535345,finish=1728299586283302354,duration=8767009,event=fix_resolv_conf
travis_time:start:24348840
travis_time:end:24348840:start=1728299586286037459,finish=1728299586295824284,duration=9786825,event=fix_etc_hosts
travis_time:start:2ab21140
travis_time:end:2ab21140:start=1728299586298488856,finish=1728299586305698133,duration=7209277,event=fix_mvn_settings_xml
travis_time:start:0e617b2a
travis_time:end:0e617b2a:start=1728299586308435333,finish=1728299586318689496,duration=10254163,event=no_ipv6_localhost
travis_time:start:00f3eef4
travis_time:end:00f3eef4:start=1728299586321366133,finish=1728299586323331047,duration=1964914,event=fix_etc_mavenrc
travis_time:start:08b9857c
OK
travis_time:end:08b9857c:start=1728299586326007226,finish=1728299586683253482,duration=357246256,event=fix_perforce_key
travis_time:start:113e4ca4
travis_time:end:113e4ca4:start=1728299586686042978,finish=1728299586688755523,duration=2712545,event=fix_wwdr_certificate
travis_time:start:00b69310
travis_time:end:00b69310:start=1728299586691554107,finish=1728299586719617844,duration=28063737,event=put_localhost_first
travis_time:start:09d3f76b
travis_time:end:09d3f76b:start=1728299586722263755,finish=1728299586725047295,duration=2783540,event=home_paths
travis_time:start:05902374
travis_time:end:05902374:start=1728299586728097697,finish=1728299586751384113,duration=23286416,event=disable_initramfs
travis_time:start:0035faf4
travis_time:end:0035faf4:start=1728299586754868592,finish=1728299586938545864,duration=183677272,event=disable_ssh_roaming
travis_time:start:08faf32a
travis_time:end:08faf32a:start=1728299586942129909,finish=1728299586944736482,duration=2606573,event=debug_tools
travis_time:start:031d80a2
travis_time:end:031d80a2:start=1728299586948215904,finish=1728299586951768402,duration=3552498,event=uninstall_oclint
travis_time:start:251589c0
travis_time:end:251589c0:start=1728299586955293192,finish=1728299586958760844,duration=3467652,event=rvm_use
travis_time:start:1ab6afa0
travis_time:end:1ab6afa0:start=1728299586962225934,finish=1728299586974108183,duration=11882249,event=rm_etc_boto_cfg
travis_time:start:24b3b3f6
travis_time:end:24b3b3f6:start=1728299586977740632,finish=1728299586980427542,duration=2686910,event=rm_oraclejdk8_symlink
travis_time:start:0398449a
travis_time:end:0398449a:start=1728299586983945250,finish=1728299587171552431,duration=187607181,event=enable_i386
travis_time:start:18d746e0
travis_time:end:18d746e0:start=1728299587175125069,finish=1728299587179715726,duration=4590657,event=update_rubygems
travis_time:start:0ce042d0
travis_time:end:0ce042d0:start=1728299587183427929,finish=1728299588222910634,duration=1039482705,event=ensure_path_components
travis_time:start:08bef7c1
travis_time:end:08bef7c1:start=1728299588225842924,finish=1728299588227850461,duration=2007537,event=redefine_curl
travis_time:start:037985f8
travis_time:end:037985f8:start=1728299588230517827,finish=1728299588232492657,duration=1974830,event=nonblock_pipe
travis_time:start:149b0b54
travis_time:end:149b0b54:start=1728299588235433038,finish=1728299594272868695,duration=6037435657,event=apt_get_update
travis_time:start:239fe274
travis_time:end:239fe274:start=1728299594275802096,finish=1728299594277754089,duration=1951993,event=deprecate_xcode_64
travis_time:start:192a858c
travis_time:end:192a858c:start=1728299594280402903,finish=1728299598279877130,duration=3999474227,event=update_heroku
travis_time:start:13d259fc
travis_time:end:13d259fc:start=1728299598282737570,finish=1728299598284727592,duration=1990022,event=shell_session_update
travis_time:start:066a2ad8
travis_fold:start:docker_mtu_and_registry_mirrors
travis_fold:end:docker_mtu_and_registry_mirrors
travis_time:end:066a2ad8:start=1728299598287357336,finish=1728299600486415286,duration=2199057950,event=set_docker_mtu_and_registry_mirrors
travis_time:start:037e2b3f
travis_fold:start:Docker
travis_fold:end:Docker
travis_time:end:037e2b3f:start=1728299600489572965,finish=1728299600491731540,duration=2158575,event=docker_config
travis_time:start:003ba40f
travis_fold:start:resolvconf
travis_fold:end:resolvconf
travis_time:end:003ba40f:start=1728299600494571063,finish=1728299600552566993,duration=57995930,event=resolvconf
travis_time:start:0e9b450c
travis_time:end:0e9b450c:start=1728299600555509830,finish=1728299600750656126,duration=195146296,event=maven_central_mirror
travis_time:start:2a04a18c
travis_time:end:2a04a18c:start=1728299600753598614,finish=1728299600870403834,duration=116805220,event=maven_https
travis_time:start:1e85124a
travis_fold:start:services
travis_time:start:02d8873b
$ travis_setup_postgresql
Starting PostgreSQL v13
sudo systemctl start postgresql@13-main
travis_time:end:02d8873b:start=1728299600876837347,finish=1728299603831799311,duration=2954961964,event=prepare
travis_fold:end:services
travis_time:end:02d8873b:start=1728299600876837347,finish=1728299606836853414,duration=5960016067,event=services
travis_time:start:02adb2b2
travis_time:end:02adb2b2:start=1728299606839921343,finish=1728299606841968512,duration=2047169,event=fix_ps4
travis_time:start:2bfc83cc

travis_fold:start:git.checkout
travis_time:start:0693e29e
travis_time:end:0693e29e:start=1728299606847809181,finish=1728299606856352761,duration=8543580,event=checkout
travis_time:start:2a4ba008
$ 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: 1540, done.
remote: Counting objects:   0% (1/1540)
remote: Counting objects:   1% (16/1540)
remote: Counting objects:   2% (31/1540)
remote: Counting objects:   3% (47/1540)
remote: Counting objects:   4% (62/1540)
remote: Counting objects:   5% (77/1540)
remote: Counting objects:   6% (93/1540)
remote: Counting objects:   7% (108/1540)
remote: Counting objects:   8% (124/1540)
remote: Counting objects:   9% (139/1540)
remote: Counting objects:  10% (154/1540)
remote: Counting objects:  11% (170/1540)
remote: Counting objects:  12% (185/1540)
remote: Counting objects:  13% (201/1540)
remote: Counting objects:  14% (216/1540)
remote: Counting objects:  15% (231/1540)
remote: Counting objects:  16% (247/1540)
remote: Counting objects:  17% (262/1540)
remote: Counting objects:  18% (278/1540)
remote: Counting objects:  19% (293/1540)
remote: Counting objects:  20% (308/1540)
remote: Counting objects:  21% (324/1540)
remote: Counting objects:  22% (339/1540)
remote: Counting objects:  23% (355/1540)
remote: Counting objects:  24% (370/1540)
remote: Counting objects:  25% (385/1540)
remote: Counting objects:  26% (401/1540)
remote: Counting objects:  27% (416/1540)
remote: Counting objects:  28% (432/1540)
remote: Counting objects:  29% (447/1540)
remote: Counting objects:  30% (462/1540)
remote: Counting objects:  31% (478/1540)
remote: Counting objects:  32% (493/1540)
remote: Counting objects:  33% (509/1540)
remote: Counting objects:  34% (524/1540)
remote: Counting objects:  35% (539/1540)
remote: Counting objects:  36% (555/1540)
remote: Counting objects:  37% (570/1540)
remote: Counting objects:  38% (586/1540)
remote: Counting objects:  39% (601/1540)
remote: Counting objects:  40% (616/1540)
remote: Counting objects:  41% (632/1540)
remote: Counting objects:  42% (647/1540)
remote: Counting objects:  43% (663/1540)
remote: Counting objects:  44% (678/1540)
remote: Counting objects:  45% (693/1540)
remote: Counting objects:  46% (709/1540)
remote: Counting objects:  47% (724/1540)
remote: Counting objects:  48% (740/1540)
remote: Counting objects:  49% (755/1540)
remote: Counting objects:  50% (770/1540)
remote: Counting objects:  51% (786/1540)
remote: Counting objects:  52% (801/1540)
remote: Counting objects:  53% (817/1540)
remote: Counting objects:  54% (832/1540)
remote: Counting objects:  55% (847/1540)
remote: Counting objects:  56% (863/1540)
remote: Counting objects:  57% (878/1540)
remote: Counting objects:  58% (894/1540)
remote: Counting objects:  59% (909/1540)
remote: Counting objects:  60% (924/1540)
remote: Counting objects:  61% (940/1540)
remote: Counting objects:  62% (955/1540)
remote: Counting objects:  63% (971/1540)
remote: Counting objects:  64% (986/1540)
remote: Counting objects:  65% (1001/1540)
remote: Counting objects:  66% (1017/1540)
remote: Counting objects:  67% (1032/1540)
remote: Counting objects:  68% (1048/1540)
remote: Counting objects:  69% (1063/1540)
remote: Counting objects:  70% (1078/1540)
remote: Counting objects:  71% (1094/1540)
remote: Counting objects:  72% (1109/1540)
remote: Counting objects:  73% (1125/1540)
remote: Counting objects:  74% (1140/1540)
remote: Counting objects:  75% (1155/1540)
remote: Counting objects:  76% (1171/1540)
remote: Counting objects:  77% (1186/1540)
remote: Counting objects:  78% (1202/1540)
remote: Counting objects:  79% (1217/1540)
remote: Counting objects:  80% (1232/1540)
remote: Counting objects:  81% (1248/1540)
remote: Counting objects:  82% (1263/1540)
remote: Counting objects:  83% (1279/1540)
remote: Counting objects:  84% (1294/1540)
remote: Counting objects:  85% (1309/1540)
remote: Counting objects:  86% (1325/1540)
remote: Counting objects:  87% (1340/1540)
remote: Counting objects:  88% (1356/1540)
remote: Counting objects:  89% (1371/1540)
remote: Counting objects:  90% (1386/1540)
remote: Counting objects:  91% (1402/1540)
remote: Counting objects:  92% (1417/1540)
remote: Counting objects:  93% (1433/1540)
remote: Counting objects:  94% (1448/1540)
remote: Counting objects:  95% (1463/1540)
remote: Counting objects:  96% (1479/1540)
remote: Counting objects:  97% (1494/1540)
remote: Counting objects:  98% (1510/1540)
remote: Counting objects:  99% (1525/1540)
remote: Counting objects: 100% (1540/1540)
remote: Counting objects: 100% (1540/1540), done.
remote: Compressing objects:   0% (1/762)
remote: Compressing objects:   1% (8/762)
remote: Compressing objects:   2% (16/762)
remote: Compressing objects:   3% (23/762)
remote: Compressing objects:   4% (31/762)
remote: Compressing objects:   5% (39/762)
remote: Compressing objects:   6% (46/762)
remote: Compressing objects:   7% (54/762)
remote: Compressing objects:   8% (61/762)
remote: Compressing objects:   9% (69/762)
remote: Compressing objects:  10% (77/762)
remote: Compressing objects:  11% (84/762)
remote: Compressing objects:  12% (92/762)
remote: Compressing objects:  13% (100/762)
remote: Compressing objects:  14% (107/762)
remote: Compressing objects:  15% (115/762)
remote: Compressing objects:  16% (122/762)
remote: Compressing objects:  17% (130/762)
remote: Compressing objects:  18% (138/762)
remote: Compressing objects:  19% (145/762)
remote: Compressing objects:  20% (153/762)
remote: Compressing objects:  21% (161/762)
remote: Compressing objects:  22% (168/762)
remote: Compressing objects:  23% (176/762)
remote: Compressing objects:  24% (183/762)
remote: Compressing objects:  25% (191/762)
remote: Compressing objects:  26% (199/762)
remote: Compressing objects:  27% (206/762)
remote: Compressing objects:  28% (214/762)
remote: Compressing objects:  29% (221/762)
remote: Compressing objects:  30% (229/762)
remote: Compressing objects:  31% (237/762)
remote: Compressing objects:  32% (244/762)
remote: Compressing objects:  33% (252/762)
remote: Compressing objects:  34% (260/762)
remote: Compressing objects:  35% (267/762)
remote: Compressing objects:  36% (275/762)
remote: Compressing objects:  37% (282/762)
remote: Compressing objects:  38% (290/762)
remote: Compressing objects:  39% (298/762)
remote: Compressing objects:  40% (305/762)
remote: Compressing objects:  41% (313/762)
remote: Compressing objects:  42% (321/762)
remote: Compressing objects:  43% (328/762)
remote: Compressing objects:  44% (336/762)
remote: Compressing objects:  45% (343/762)
remote: Compressing objects:  46% (351/762)
remote: Compressing objects:  47% (359/762)
remote: Compressing objects:  48% (366/762)
remote: Compressing objects:  49% (374/762)
remote: Compressing objects:  50% (381/762)
remote: Compressing objects:  51% (389/762)
remote: Compressing objects:  52% (397/762)
remote: Compressing objects:  53% (404/762)
remote: Compressing objects:  54% (412/762)
remote: Compressing objects:  55% (420/762)
remote: Compressing objects:  56% (427/762)
remote: Compressing objects:  57% (435/762)
remote: Compressing objects:  58% (442/762)
remote: Compressing objects:  59% (450/762)
remote: Compressing objects:  60% (458/762)
remote: Compressing objects:  61% (465/762)
remote: Compressing objects:  62% (473/762)
remote: Compressing objects:  63% (481/762)
remote: Compressing objects:  64% (488/762)
remote: Compressing objects:  65% (496/762)
remote: Compressing objects:  66% (503/762)
remote: Compressing objects:  67% (511/762)
remote: Compressing objects:  68% (519/762)
remote: Compressing objects:  69% (526/762)
remote: Compressing objects:  70% (534/762)
remote: Compressing objects:  71% (542/762)
remote: Compressing objects:  72% (549/762)
remote: Compressing objects:  73% (557/762)
remote: Compressing objects:  74% (564/762)
remote: Compressing objects:  75% (572/762)
remote: Compressing objects:  76% (580/762)
remote: Compressing objects:  77% (587/762)
remote: Compressing objects:  78% (595/762)
remote: Compressing objects:  79% (602/762)
remote: Compressing objects:  80% (610/762)
remote: Compressing objects:  81% (618/762)
remote: Compressing objects:  82% (625/762)
remote: Compressing objects:  83% (633/762)
remote: Compressing objects:  84% (641/762)
remote: Compressing objects:  85% (648/762)
remote: Compressing objects:  86% (656/762)
remote: Compressing objects:  87% (663/762)
remote: Compressing objects:  88% (671/762)
remote: Compressing objects:  89% (679/762)
remote: Compressing objects:  90% (686/762)
remote: Compressing objects:  91% (694/762)
remote: Compressing objects:  92% (702/762)
remote: Compressing objects:  93% (709/762)
remote: Compressing objects:  94% (717/762)
remote: Compressing objects:  95% (724/762)
remote: Compressing objects:  96% (732/762)
remote: Compressing objects:  97% (740/762)
remote: Compressing objects:  98% (747/762)
remote: Compressing objects:  99% (755/762)
remote: Compressing objects: 100% (762/762)
remote: Compressing objects: 100% (762/762), done.
Receiving objects:   0% (1/1540)
Receiving objects:   1% (16/1540)
Receiving objects:   2% (31/1540)
Receiving objects:   3% (47/1540)
Receiving objects:   4% (62/1540)
Receiving objects:   5% (77/1540)
Receiving objects:   6% (93/1540)
Receiving objects:   7% (108/1540)
Receiving objects:   8% (124/1540)
Receiving objects:   9% (139/1540)
Receiving objects:  10% (154/1540)
Receiving objects:  11% (170/1540)
Receiving objects:  12% (185/1540)
Receiving objects:  13% (201/1540)
Receiving objects:  14% (216/1540)
Receiving objects:  15% (231/1540)
Receiving objects:  16% (247/1540)
Receiving objects:  17% (262/1540)
Receiving objects:  18% (278/1540)
Receiving objects:  19% (293/1540)
Receiving objects:  20% (308/1540)
Receiving objects:  21% (324/1540)
Receiving objects:  22% (339/1540)
Receiving objects:  23% (355/1540)
Receiving objects:  24% (370/1540)
Receiving objects:  25% (385/1540)
Receiving objects:  26% (401/1540)
Receiving objects:  27% (416/1540)
Receiving objects:  28% (432/1540)
Receiving objects:  29% (447/1540)
Receiving objects:  30% (462/1540)
Receiving objects:  31% (478/1540)
Receiving objects:  32% (493/1540)
Receiving objects:  33% (509/1540)
Receiving objects:  34% (524/1540)
Receiving objects:  35% (539/1540)
Receiving objects:  36% (555/1540)
Receiving objects:  37% (570/1540)
Receiving objects:  38% (586/1540)
Receiving objects:  39% (601/1540)
Receiving objects:  40% (616/1540)
Receiving objects:  41% (632/1540)
Receiving objects:  42% (647/1540)
Receiving objects:  43% (663/1540)
Receiving objects:  44% (678/1540)
Receiving objects:  45% (693/1540)
Receiving objects:  46% (709/1540)
Receiving objects:  47% (724/1540)
Receiving objects:  48% (740/1540)
Receiving objects:  49% (755/1540)
Receiving objects:  50% (770/1540)
Receiving objects:  51% (786/1540)
Receiving objects:  52% (801/1540)
Receiving objects:  53% (817/1540)
Receiving objects:  54% (832/1540)
Receiving objects:  55% (847/1540)
Receiving objects:  56% (863/1540)
Receiving objects:  57% (878/1540)
remote: Total 1540 (delta 930), reused 1094 (delta 650), pack-reused 0 (from 0)
Receiving objects:  58% (894/1540)
Receiving objects:  59% (909/1540)
Receiving objects:  60% (924/1540)
Receiving objects:  61% (940/1540)
Receiving objects:  62% (955/1540)
Receiving objects:  63% (971/1540)
Receiving objects:  64% (986/1540)
Receiving objects:  65% (1001/1540)
Receiving objects:  66% (1017/1540)
Receiving objects:  67% (1032/1540)
Receiving objects:  68% (1048/1540)
Receiving objects:  69% (1063/1540)
Receiving objects:  70% (1078/1540)
Receiving objects:  71% (1094/1540)
Receiving objects:  72% (1109/1540)
Receiving objects:  73% (1125/1540)
Receiving objects:  74% (1140/1540)
Receiving objects:  75% (1155/1540)
Receiving objects:  76% (1171/1540)
Receiving objects:  77% (1186/1540)
Receiving objects:  78% (1202/1540)
Receiving objects:  79% (1217/1540)
Receiving objects:  80% (1232/1540)
Receiving objects:  81% (1248/1540)
Receiving objects:  82% (1263/1540)
Receiving objects:  83% (1279/1540)
Receiving objects:  84% (1294/1540)
Receiving objects:  85% (1309/1540)
Receiving objects:  86% (1325/1540)
Receiving objects:  87% (1340/1540)
Receiving objects:  88% (1356/1540)
Receiving objects:  89% (1371/1540)
Receiving objects:  90% (1386/1540)
Receiving objects:  91% (1402/1540)
Receiving objects:  92% (1417/1540)
Receiving objects:  93% (1433/1540)
Receiving objects:  94% (1448/1540)
Receiving objects:  95% (1463/1540)
Receiving objects:  96% (1479/1540)
Receiving objects:  97% (1494/1540)
Receiving objects:  98% (1510/1540)
Receiving objects:  99% (1525/1540)
Receiving objects: 100% (1540/1540)
Receiving objects: 100% (1540/1540), 305.02 KiB | 4.12 MiB/s, done.
Resolving deltas:   0% (0/930)
Resolving deltas:   1% (10/930)
Resolving deltas:   2% (19/930)
Resolving deltas:   3% (28/930)
Resolving deltas:   4% (38/930)
Resolving deltas:   5% (47/930)
Resolving deltas:   6% (56/930)
Resolving deltas:   7% (66/930)
Resolving deltas:   8% (75/930)
Resolving deltas:   9% (84/930)
Resolving deltas:  10% (93/930)
Resolving deltas:  11% (103/930)
Resolving deltas:  12% (112/930)
Resolving deltas:  13% (121/930)
Resolving deltas:  14% (131/930)
Resolving deltas:  15% (140/930)
Resolving deltas:  16% (149/930)
Resolving deltas:  17% (159/930)
Resolving deltas:  18% (168/930)
Resolving deltas:  19% (177/930)
Resolving deltas:  20% (186/930)
Resolving deltas:  21% (196/930)
Resolving deltas:  22% (205/930)
Resolving deltas:  23% (214/930)
Resolving deltas:  24% (224/930)
Resolving deltas:  25% (233/930)
Resolving deltas:  26% (242/930)
Resolving deltas:  27% (252/930)
Resolving deltas:  28% (261/930)
Resolving deltas:  29% (270/930)
Resolving deltas:  30% (279/930)
Resolving deltas:  31% (289/930)
Resolving deltas:  32% (298/930)
Resolving deltas:  33% (307/930)
Resolving deltas:  34% (317/930)
Resolving deltas:  35% (326/930)
Resolving deltas:  36% (335/930)
Resolving deltas:  37% (345/930)
Resolving deltas:  38% (354/930)
Resolving deltas:  39% (363/930)
Resolving deltas:  40% (372/930)
Resolving deltas:  41% (382/930)
Resolving deltas:  42% (391/930)
Resolving deltas:  43% (400/930)
Resolving deltas:  44% (410/930)
Resolving deltas:  45% (420/930)
Resolving deltas:  46% (428/930)
Resolving deltas:  47% (438/930)
Resolving deltas:  48% (447/930)
Resolving deltas:  49% (456/930)
Resolving deltas:  50% (465/930)
Resolving deltas:  51% (475/930)
Resolving deltas:  52% (484/930)
Resolving deltas:  53% (493/930)
Resolving deltas:  54% (503/930)
Resolving deltas:  55% (512/930)
Resolving deltas:  56% (521/930)
Resolving deltas:  57% (531/930)
Resolving deltas:  58% (540/930)
Resolving deltas:  59% (549/930)
Resolving deltas:  60% (558/930)
Resolving deltas:  61% (568/930)
Resolving deltas:  62% (577/930)
Resolving deltas:  63% (586/930)
Resolving deltas:  64% (596/930)
Resolving deltas:  65% (605/930)
Resolving deltas:  66% (614/930)
Resolving deltas:  67% (624/930)
Resolving deltas:  68% (633/930)
Resolving deltas:  69% (642/930)
Resolving deltas:  70% (651/930)
Resolving deltas:  71% (661/930)
Resolving deltas:  72% (670/930)
Resolving deltas:  73% (679/930)
Resolving deltas:  74% (689/930)
Resolving deltas:  75% (698/930)
Resolving deltas:  76% (707/930)
Resolving deltas:  77% (717/930)
Resolving deltas:  78% (726/930)
Resolving deltas:  79% (735/930)
Resolving deltas:  80% (744/930)
Resolving deltas:  81% (754/930)
Resolving deltas:  82% (763/930)
Resolving deltas:  83% (772/930)
Resolving deltas:  84% (782/930)
Resolving deltas:  85% (791/930)
Resolving deltas:  86% (800/930)
Resolving deltas:  87% (810/930)
Resolving deltas:  88% (819/930)
Resolving deltas:  89% (829/930)
Resolving deltas:  90% (837/930)
Resolving deltas:  91% (847/930)
Resolving deltas:  92% (856/930)
Resolving deltas:  93% (865/930)
Resolving deltas:  94% (875/930)
Resolving deltas:  95% (884/930)
Resolving deltas:  96% (893/930)
Resolving deltas:  97% (903/930)
Resolving deltas:  98% (912/930)
Resolving deltas:  99% (921/930)
Resolving deltas: 100% (930/930)
Resolving deltas: 100% (930/930), done.
travis_time:end:2a4ba008:start=1728299606859318572,finish=1728299607361988549,duration=502669977,event=checkout
$ cd travis-ci/packer-templates
travis_time:start:18635264
$ git fetch origin +refs/pull/872/merge: --depth=50
remote: Enumerating objects: 417, done.
remote: Counting objects:   0% (1/349)
remote: Counting objects:   1% (4/349)
remote: Counting objects:   2% (7/349)
remote: Counting objects:   3% (11/349)
remote: Counting objects:   4% (14/349)
remote: Counting objects:   5% (18/349)
remote: Counting objects:   6% (21/349)
remote: Counting objects:   7% (25/349)
remote: Counting objects:   8% (28/349)
remote: Counting objects:   9% (32/349)
remote: Counting objects:  10% (35/349)
remote: Counting objects:  11% (39/349)
remote: Counting objects:  12% (42/349)
remote: Counting objects:  13% (46/349)
remote: Counting objects:  14% (49/349)
remote: Counting objects:  15% (53/349)
remote: Counting objects:  16% (56/349)
remote: Counting objects:  17% (60/349)
remote: Counting objects:  18% (63/349)
remote: Counting objects:  19% (67/349)
remote: Counting objects:  20% (70/349)
remote: Counting objects:  21% (74/349)
remote: Counting objects:  22% (77/349)
remote: Counting objects:  23% (81/349)
remote: Counting objects:  24% (84/349)
remote: Counting objects:  25% (88/349)
remote: Counting objects:  26% (91/349)
remote: Counting objects:  27% (95/349)
remote: Counting objects:  28% (98/349)
remote: Counting objects:  29% (102/349)
remote: Counting objects:  30% (105/349)
remote: Counting objects:  31% (109/349)
remote: Counting objects:  32% (112/349)
remote: Counting objects:  33% (116/349)
remote: Counting objects:  34% (119/349)
remote: Counting objects:  35% (123/349)
remote: Counting objects:  36% (126/349)
remote: Counting objects:  37% (130/349)
remote: Counting objects:  38% (133/349)
remote: Counting objects:  39% (137/349)
remote: Counting objects:  40% (140/349)
remote: Counting objects:  41% (144/349)
remote: Counting objects:  42% (147/349)
remote: Counting objects:  43% (151/349)
remote: Counting objects:  44% (154/349)
remote: Counting objects:  45% (158/349)
remote: Counting objects:  46% (161/349)
remote: Counting objects:  47% (165/349)
remote: Counting objects:  48% (168/349)
remote: Counting objects:  49% (172/349)
remote: Counting objects:  50% (175/349)
remote: Counting objects:  51% (178/349)
remote: Counting objects:  52% (182/349)
remote: Counting objects:  53% (185/349)
remote: Counting objects:  54% (189/349)
remote: Counting objects:  55% (192/349)
remote: Counting objects:  56% (196/349)
remote: Counting objects:  57% (199/349)
remote: Counting objects:  58% (203/349)
remote: Counting objects:  59% (206/349)
remote: Counting objects:  60% (210/349)
remote: Counting objects:  61% (213/349)
remote: Counting objects:  62% (217/349)
remote: Counting objects:  63% (220/349)
remote: Counting objects:  64% (224/349)
remote: Counting objects:  65% (227/349)
remote: Counting objects:  66% (231/349)
remote: Counting objects:  67% (234/349)
remote: Counting objects:  68% (238/349)
remote: Counting objects:  69% (241/349)
remote: Counting objects:  70% (245/349)
remote: Counting objects:  71% (248/349)
remote: Counting objects:  72% (252/349)
remote: Counting objects:  73% (255/349)
remote: Counting objects:  74% (259/349)
remote: Counting objects:  75% (262/349)
remote: Counting objects:  76% (266/349)
remote: Counting objects:  77% (269/349)
remote: Counting objects:  78% (273/349)
remote: Counting objects:  79% (276/349)
remote: Counting objects:  80% (280/349)
remote: Counting objects:  81% (283/349)
remote: Counting objects:  82% (287/349)
remote: Counting objects:  83% (290/349)
remote: Counting objects:  84% (294/349)
remote: Counting objects:  85% (297/349)
remote: Counting objects:  86% (301/349)
remote: Counting objects:  87% (304/349)
remote: Counting objects:  88% (308/349)
remote: Counting objects:  89% (311/349)
remote: Counting objects:  90% (315/349)
remote: Counting objects:  91% (318/349)
remote: Counting objects:  92% (322/349)
remote: Counting objects:  93% (325/349)
remote: Counting objects:  94% (329/349)
remote: Counting objects:  95% (332/349)
remote: Counting objects:  96% (336/349)
remote: Counting objects:  97% (339/349)
remote: Counting objects:  98% (343/349)
remote: Counting objects:  99% (346/349)
remote: Counting objects: 100% (349/349)
remote: Counting objects: 100% (349/349), done.
remote: Compressing objects:   0% (1/159)
remote: Compressing objects:   1% (2/159)
remote: Compressing objects:   2% (4/159)
remote: Compressing objects:   3% (5/159)
remote: Compressing objects:   4% (7/159)
remote: Compressing objects:   5% (8/159)
remote: Compressing objects:   6% (10/159)
remote: Compressing objects:   7% (12/159)
remote: Compressing objects:   8% (13/159)
remote: Compressing objects:   9% (15/159)
remote: Compressing objects:  10% (16/159)
remote: Compressing objects:  11% (18/159)
remote: Compressing objects:  12% (20/159)
remote: Compressing objects:  13% (21/159)
remote: Compressing objects:  14% (23/159)
remote: Compressing objects:  15% (24/159)
remote: Compressing objects:  16% (26/159)
remote: Compressing objects:  17% (28/159)
remote: Compressing objects:  18% (29/159)
remote: Compressing objects:  19% (31/159)
remote: Compressing objects:  20% (32/159)
remote: Compressing objects:  21% (34/159)
remote: Compressing objects:  22% (35/159)
remote: Compressing objects:  23% (37/159)
remote: Compressing objects:  24% (39/159)
remote: Compressing objects:  25% (40/159)
remote: Compressing objects:  26% (42/159)
remote: Compressing objects:  27% (43/159)
remote: Compressing objects:  28% (45/159)
remote: Compressing objects:  29% (47/159)
remote: Compressing objects:  30% (48/159)
remote: Compressing objects:  31% (50/159)
remote: Compressing objects:  32% (51/159)
remote: Compressing objects:  33% (53/159)
remote: Compressing objects:  34% (55/159)
remote: Compressing objects:  35% (56/159)
remote: Compressing objects:  36% (58/159)
remote: Compressing objects:  37% (59/159)
remote: Compressing objects:  38% (61/159)
remote: Compressing objects:  39% (63/159)
remote: Compressing objects:  40% (64/159)
remote: Compressing objects:  41% (66/159)
remote: Compressing objects:  42% (67/159)
remote: Compressing objects:  43% (69/159)
remote: Compressing objects:  44% (70/159)
remote: Compressing objects:  45% (72/159)
remote: Compressing objects:  46% (74/159)
remote: Compressing objects:  47% (75/159)
remote: Compressing objects:  48% (77/159)
remote: Compressing objects:  49% (78/159)
remote: Compressing objects:  50% (80/159)
remote: Compressing objects:  51% (82/159)
remote: Compressing objects:  52% (83/159)
remote: Compressing objects:  53% (85/159)
remote: Compressing objects:  54% (86/159)
remote: Compressing objects:  55% (88/159)
remote: Compressing objects:  56% (90/159)
remote: Compressing objects:  57% (91/159)
remote: Compressing objects:  58% (93/159)
remote: Compressing objects:  59% (94/159)
remote: Compressing objects:  60% (96/159)
remote: Compressing objects:  61% (97/159)
remote: Compressing objects:  62% (99/159)
remote: Compressing objects:  63% (101/159)
remote: Compressing objects:  64% (102/159)
remote: Compressing objects:  65% (104/159)
remote: Compressing objects:  66% (105/159)
remote: Compressing objects:  67% (107/159)
remote: Compressing objects:  68% (109/159)
remote: Compressing objects:  69% (110/159)
remote: Compressing objects:  70% (112/159)
remote: Compressing objects:  71% (113/159)
remote: Compressing objects:  72% (115/159)
remote: Compressing objects:  73% (117/159)
remote: Compressing objects:  74% (118/159)
remote: Compressing objects:  75% (120/159)
remote: Compressing objects:  76% (121/159)
remote: Compressing objects:  77% (123/159)
remote: Compressing objects:  78% (125/159)
remote: Compressing objects:  79% (126/159)
remote: Compressing objects:  80% (128/159)
remote: Compressing objects:  81% (129/159)
remote: Compressing objects:  82% (131/159)
remote: Compressing objects:  83% (132/159)
remote: Compressing objects:  84% (134/159)
remote: Compressing objects:  85% (136/159)
remote: Compressing objects:  86% (137/159)
remote: Compressing objects:  87% (139/159)
remote: Compressing objects:  88% (140/159)
remote: Compressing objects:  89% (142/159)
remote: Compressing objects:  90% (144/159)
remote: Compressing objects:  91% (145/159)
remote: Compressing objects:  92% (147/159)
remote: Compressing objects:  93% (148/159)
remote: Compressing objects:  94% (150/159)
remote: Compressing objects:  95% (152/159)
remote: Compressing objects:  96% (153/159)
remote: Compressing objects:  97% (155/159)
remote: Compressing objects:  98% (156/159)
remote: Compressing objects:  99% (158/159)
remote: Compressing objects: 100% (159/159)
remote: Compressing objects: 100% (159/159), done.
Receiving objects:   0% (1/294)
Receiving objects:   1% (3/294)
Receiving objects:   2% (6/294)
Receiving objects:   3% (9/294)
Receiving objects:   4% (12/294)
Receiving objects:   5% (15/294)
Receiving objects:   6% (18/294)
Receiving objects:   7% (21/294)
Receiving objects:   8% (24/294)
Receiving objects:   9% (27/294)
Receiving objects:  10% (30/294)
Receiving objects:  11% (33/294)
Receiving objects:  12% (36/294)
Receiving objects:  13% (39/294)
Receiving objects:  14% (42/294)
Receiving objects:  15% (45/294)
Receiving objects:  16% (48/294)
Receiving objects:  17% (50/294)
Receiving objects:  18% (53/294)
Receiving objects:  19% (56/294)
Receiving objects:  20% (59/294)
Receiving objects:  21% (62/294)
Receiving objects:  22% (65/294)
Receiving objects:  23% (68/294)
Receiving objects:  24% (71/294)
Receiving objects:  25% (74/294)
Receiving objects:  26% (77/294)
Receiving objects:  27% (80/294)
Receiving objects:  28% (83/294)
Receiving objects:  29% (86/294)
Receiving objects:  30% (89/294)
Receiving objects:  31% (92/294)
Receiving objects:  32% (95/294)
Receiving objects:  33% (98/294)
Receiving objects:  34% (100/294)
Receiving objects:  35% (103/294)
Receiving objects:  36% (106/294)
Receiving objects:  37% (109/294)
Receiving objects:  38% (112/294)
Receiving objects:  39% (115/294)
Receiving objects:  40% (118/294)
Receiving objects:  41% (121/294)
Receiving objects:  42% (124/294)
Receiving objects:  43% (127/294)
Receiving objects:  44% (130/294)
Receiving objects:  45% (133/294)
Receiving objects:  46% (136/294)
Receiving objects:  47% (139/294)
Receiving objects:  48% (142/294)
Receiving objects:  49% (145/294)
Receiving objects:  50% (147/294)
Receiving objects:  51% (150/294)
Receiving objects:  52% (153/294)
Receiving objects:  53% (156/294)
Receiving objects:  54% (159/294)
Receiving objects:  55% (162/294)
Receiving objects:  56% (165/294)
Receiving objects:  57% (168/294)
Receiving objects:  58% (171/294)
Receiving objects:  59% (174/294)
Receiving objects:  60% (177/294)
Receiving objects:  61% (180/294)
Receiving objects:  62% (183/294)
Receiving objects:  63% (186/294)
Receiving objects:  64% (189/294)
Receiving objects:  65% (192/294)
Receiving objects:  66% (195/294)
Receiving objects:  67% (197/294)
Receiving objects:  68% (200/294)
Receiving objects:  69% (203/294)
Receiving objects:  70% (206/294)
Receiving objects:  71% (209/294)
Receiving objects:  72% (212/294)
Receiving objects:  73% (215/294)
Receiving objects:  74% (218/294)
remote: Total 294 (delta 223), reused 147 (delta 99), pack-reused 0 (from 0)
Receiving objects:  75% (221/294)
Receiving objects:  76% (224/294)
Receiving objects:  77% (227/294)
Receiving objects:  78% (230/294)
Receiving objects:  79% (233/294)
Receiving objects:  80% (236/294)
Receiving objects:  81% (239/294)
Receiving objects:  82% (242/294)
Receiving objects:  83% (245/294)
Receiving objects:  84% (247/294)
Receiving objects:  85% (250/294)
Receiving objects:  86% (253/294)
Receiving objects:  87% (256/294)
Receiving objects:  88% (259/294)
Receiving objects:  89% (262/294)
Receiving objects:  90% (265/294)
Receiving objects:  91% (268/294)
Receiving objects:  92% (271/294)
Receiving objects:  93% (274/294)
Receiving objects:  94% (277/294)
Receiving objects:  95% (280/294)
Receiving objects:  96% (283/294)
Receiving objects:  97% (286/294)
Receiving objects:  98% (289/294)
Receiving objects:  99% (292/294)
Receiving objects: 100% (294/294)
Receiving objects: 100% (294/294), 54.42 KiB | 2.27 MiB/s, done.
Resolving deltas:   0% (0/223)
Resolving deltas:   1% (3/223)
Resolving deltas:   2% (5/223)
Resolving deltas:   3% (7/223)
Resolving deltas:   4% (9/223)
Resolving deltas:   5% (12/223)
Resolving deltas:   6% (14/223)
Resolving deltas:   7% (16/223)
Resolving deltas:   8% (18/223)
Resolving deltas:   9% (21/223)
Resolving deltas:  10% (23/223)
Resolving deltas:  11% (25/223)
Resolving deltas:  12% (27/223)
Resolving deltas:  13% (29/223)
Resolving deltas:  14% (32/223)
Resolving deltas:  15% (34/223)
Resolving deltas:  16% (36/223)
Resolving deltas:  17% (38/223)
Resolving deltas:  18% (41/223)
Resolving deltas:  19% (43/223)
Resolving deltas:  20% (45/223)
Resolving deltas:  21% (47/223)
Resolving deltas:  22% (50/223)
Resolving deltas:  23% (52/223)
Resolving deltas:  24% (54/223)
Resolving deltas:  25% (56/223)
Resolving deltas:  26% (58/223)
Resolving deltas:  27% (61/223)
Resolving deltas:  28% (63/223)
Resolving deltas:  29% (65/223)
Resolving deltas:  30% (67/223)
Resolving deltas:  31% (70/223)
Resolving deltas:  32% (72/223)
Resolving deltas:  33% (74/223)
Resolving deltas:  34% (76/223)
Resolving deltas:  35% (79/223)
Resolving deltas:  36% (81/223)
Resolving deltas:  37% (83/223)
Resolving deltas:  38% (85/223)
Resolving deltas:  39% (87/223)
Resolving deltas:  40% (90/223)
Resolving deltas:  41% (92/223)
Resolving deltas:  42% (94/223)
Resolving deltas:  43% (96/223)
Resolving deltas:  44% (99/223)
Resolving deltas:  45% (101/223)
Resolving deltas:  46% (103/223)
Resolving deltas:  47% (105/223)
Resolving deltas:  48% (108/223)
Resolving deltas:  49% (110/223)
Resolving deltas:  50% (112/223)
Resolving deltas:  51% (114/223)
Resolving deltas:  52% (116/223)
Resolving deltas:  53% (119/223)
Resolving deltas:  54% (121/223)
Resolving deltas:  55% (123/223)
Resolving deltas:  56% (125/223)
Resolving deltas:  57% (128/223)
Resolving deltas:  58% (130/223)
Resolving deltas:  59% (132/223)
Resolving deltas:  60% (134/223)
Resolving deltas:  61% (137/223)
Resolving deltas:  62% (139/223)
Resolving deltas:  63% (141/223)
Resolving deltas:  64% (143/223)
Resolving deltas:  65% (145/223)
Resolving deltas:  66% (148/223)
Resolving deltas:  67% (150/223)
Resolving deltas:  68% (152/223)
Resolving deltas:  69% (154/223)
Resolving deltas:  70% (157/223)
Resolving deltas:  71% (159/223)
Resolving deltas:  72% (161/223)
Resolving deltas:  73% (163/223)
Resolving deltas:  74% (166/223)
Resolving deltas:  75% (168/223)
Resolving deltas:  76% (170/223)
Resolving deltas:  77% (172/223)
Resolving deltas:  78% (174/223)
Resolving deltas:  79% (177/223)
Resolving deltas:  80% (179/223)
Resolving deltas:  81% (181/223)
Resolving deltas:  82% (183/223)
Resolving deltas:  83% (186/223)
Resolving deltas:  84% (188/223)
Resolving deltas:  85% (190/223)
Resolving deltas:  86% (192/223)
Resolving deltas:  87% (195/223)
Resolving deltas:  88% (197/223)
Resolving deltas:  89% (199/223)
Resolving deltas:  90% (201/223)
Resolving deltas:  91% (203/223)
Resolving deltas:  92% (206/223)
Resolving deltas:  93% (208/223)
Resolving deltas:  94% (210/223)
Resolving deltas:  95% (212/223)
Resolving deltas:  96% (215/223)
Resolving deltas:  97% (217/223)
Resolving deltas:  98% (219/223)
Resolving deltas:  99% (221/223)
Resolving deltas: 100% (223/223)
Resolving deltas: 100% (223/223), completed with 35 local objects.
From https://github.com/travis-ci/packer-templates
 * branch            refs/pull/872/merge -> FETCH_HEAD
travis_time:end:18635264:start=1728299607365478102,finish=1728299607686397576,duration=320919474,event=checkout
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

travis_time:end:18635264:start=1728299607365478102,finish=1728299607699926550,duration=334448448,event=checkout
travis_time:start:2b6fdf3d

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:2b6fdf3d:start=1728299607702834689,finish=1728299607712420950,duration=9586261,event=env
travis_fold:start:rvm
travis_time:start:0f42ac7e
$ rvm use default
Using /home/travis/.rvm/gems/ruby-3.3.5
travis_time:end:0f42ac7e:start=1728299607719551323,finish=1728299608419104402,duration=699553079,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:01e61f61
$ Installing caching utilities
travis_time:end:01e61f61:start=1728299609184983002,finish=1728299609354311544,duration=169328542,event=setup_casher
travis_time:start:03f24213
travis_time:end:03f24213:start=1728299609360072985,finish=1728299609363379457,duration=3306472,event=setup_casher
travis_time:start:00d07aa2
attempting to download cache archive
fetching PR.872/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching PR.872/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
fetching PR.872/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:00d07aa2:start=1728299609367851494,finish=1728299610788373664,duration=1420522170,event=setup_casher
travis_time:start:1156ea14
travis_time:end:1156ea14:start=1728299610793015401,finish=1728299610796476625,duration=3461224,event=setup_casher
travis_time:start:0dbfee29
adding /home/travis/bin to cache
travis_time:end:0dbfee29:start=1728299610800793673,finish=1728299611941587907,duration=1140794234,event=setup_casher
travis_fold:end:cache.1


travis_fold:start:cache.bundler
travis_time:start:05a8066c
travis_time:end:05a8066c:start=1728299611946362351,finish=1728299611949728802,duration=3366451,event=setup_cache
travis_time:start:18f2f3eb
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:18f2f3eb:start=1728299611953935127,finish=1728299613096020126,duration=1142084999,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:235f0831
$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fi
travis_time:end:235f0831:start=1728299613646386404,finish=1728299613649810376,duration=3423972,event=install
travis_fold:end:install.1
travis_fold:start:install.2
travis_time:start:05603bcc
$ export GIT_DESC="$(git describe --always --dirty --tags)"
travis_time:end:05603bcc:start=1728299613654550474,finish=1728299613667856098,duration=13305624,event=install
travis_fold:end:install.2
travis_fold:start:install.3
travis_time:start:0123e54b
$ rvm use 3.3.5 --install --binary --fuzzy
Using /home/travis/.rvm/gems/ruby-3.3.5
travis_time:end:0123e54b:start=1728299613672617315,finish=1728299614362665835,duration=690048520,event=install
travis_fold:end:install.3
travis_fold:start:install.4
travis_time:start:19c56b0a
$ 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:19c56b0a:start=1728299614367566386,finish=1728299615023492750,duration=655926364,event=install
travis_fold:end:install.4
travis_fold:start:install.5
travis_time:start:095898d2
$ 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
Installing ast 2.4.2
Fetching coderay 1.1.3
Fetching diff-lcs 1.5.1
Fetching docile 1.4.1
Installing coderay 1.1.3
Installing diff-lcs 1.5.1
Installing docile 1.4.1
Fetching erubis 2.7.0
Fetching multipart-post 2.4.1
Fetching libyajl2 2.1.0
Installing multipart-post 2.4.1
Installing erubis 2.7.0
Fetching racc 1.8.1
Installing libyajl2 2.1.0 with native extensions
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:095898d2:start=1728299615028401124,finish=1728299636451439341,duration=21423038217,event=install
travis_fold:end:install.5
travis_fold:start:install.6
travis_time:start:0d43ba2c
$ ./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:0d43ba2c:start=1728299636456272108,finish=1728299637924429159,duration=1468157051,event=install
travis_fold:end:install.6
travis_fold:start:install.7
travis_time:start:1504a249
$ 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:1504a249:start=1728299637929380700,finish=1728299637933622450,duration=4241750,event=install
travis_fold:end:install.7
travis_time:start:1e5ffe50
$ make
./bin/dump-git-meta ./tmp/git-meta
HEAD
ab8e150
./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:1e5ffe50:start=1728299637938240757,finish=1728299637981102594,duration=42861837,event=script
The command "make" exited with 0.
travis_time:start:0569cfb5
$ 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:0569cfb5:start=1728299637985876275,finish=1728299641528012729,duration=3542136454,event=script
The command "bundle exec make test" exited with 2.
travis_time:start:1830e798
$ 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:1830e798:start=1728299641533125402,finish=1728299645158615203,duration=3625489801,event=script
The command "make update-gce-images" exited with 0.
travis_time:start:104ecea8
$ git diff --exit-code
travis_time:end:104ecea8:start=1728299645163924288,finish=1728299645169524995,duration=5600707,event=script
The command "git diff --exit-code" exited with 0.
travis_time:start:1f4de292
$ git diff --cached --exit-code
travis_time:end:1f4de292:start=1728299645174229327,finish=1728299645179607859,duration=5378532,event=script
The command "git diff --cached --exit-code" exited with 0.
travis_time:start:026fe4ae
$ sudo lsof | grep dpkg || true
travis_time:end:026fe4ae:start=1728299645184185799,finish=1728299645337183652,duration=152997853,event=script
The command "sudo lsof | grep dpkg || true" exited with 0.
travis_time:start:0e3f50b4
$ 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.6327/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.6327/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]
            
Ign:1 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease

0% [Connecting to us-east-1.ec2.archive.ubuntu.com (54.87.19.168)] [Connecting 
                                                                               
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]

0% [2 InRelease 13.8 kB/265 kB 5%] [Connecting to security.ubuntu.com (185.125.
                                                                               
Get:3 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]

0% [2 InRelease 13.8 kB/265 kB 5%] [Connecting to security.ubuntu.com (185.125.
0% [2 InRelease 13.8 kB/265 kB 5%] [Connecting to security.ubuntu.com (185.125.
                                                                               
Get:4 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]

0% [2 InRelease 13.8 kB/265 kB 5%] [Connecting to security.ubuntu.com (185.125.
0% [2 InRelease 41.9 kB/265 kB 16%] [Waiting for headers] [Waiting for headers]
                                                                               
Hit:5 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease

0% [2 InRelease 89.8 kB/265 kB 34%] [Waiting for headers] [Waiting for headers]
                                                                               
Hit:6 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release

0% [2 InRelease 194 kB/265 kB 73%] [Waiting for headers] [Waiting for headers] 
0% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f
                                                                               
Get:7 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]

0% [Waiting for headers] [Waiting for headers] [7 InRelease 13.8 kB/129 kB 11%]
                                                                               
Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]

0% [Waiting for headers] [Waiting for headers] [7 InRelease 13.8 kB/129 kB 11%]
                                                                               
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]

0% [Waiting for headers] [9 InRelease 13.8 kB/128 kB 11%] [7 InRelease 13.8 kB/
                                                                               
Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]

0% [10 InRelease 25.1 kB/128 kB 20%] [9 InRelease 13.8 kB/128 kB 11%] [7 InRele
0% [9 InRelease 13.8 kB/128 kB 11%] [7 InRelease 13.8 kB/129 kB 11%] [Waiting f
0% [Waiting for headers] [9 InRelease 13.8 kB/128 kB 11%] [7 InRelease 13.8 kB/
                                                                               
Get:11 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]

0% [Waiting for headers] [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers]
                                                                               
Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]

0% [12 InRelease 128 kB/128 kB 100%] [9 InRelease 13.8 kB/128 kB 11%] [Waiting 
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 13.8 kB/
                                                                               
Get:13 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]

0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 13.8 kB/
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 13.8 kB/
                                                                               
Get:14 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [4,332 B]

0% [9 InRelease 13.8 kB/128 kB 11%] [7 InRelease 13.8 kB/129 kB 11%] [Waiting f
                                                                               
Get:15 https://packages.redis.io/deb focal InRelease [3,821 B]

0% [9 InRelease 13.8 kB/128 kB 11%] [7 InRelease 13.8 kB/129 kB 11%] [Waiting f
0% [14 Packages store 0 B] [9 InRelease 13.8 kB/128 kB 11%] [Waiting for header
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 13.8 kB/
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 13.8 kB/
                                                                               
Get:16 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [61.9 kB]

0% [9 InRelease 13.8 kB/128 kB 11%] [16 Packages 15.9 kB/61.9 kB 26%] [Waiting 
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 42.0 kB/
0% [16 Packages store 0 B] [9 InRelease 13.8 kB/128 kB 11%] [Waiting for header
0% [9 InRelease 13.8 kB/128 kB 11%] [Waiting for headers] [7 InRelease 42.0 kB/
                                                                               
Get:17 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [43.5 kB]

0% [9 InRelease 13.8 kB/128 kB 11%] [17 Packages 16.7 kB/43.5 kB 38%] [7 InRele
0% [9 InRelease 30.7 kB/128 kB 24%] [7 InRelease 42.0 kB/129 kB 32%] [Waiting f
0% [17 Packages store 0 B] [9 InRelease 33.5 kB/128 kB 26%] [7 InRelease 42.0 k
0% [9 InRelease 36.3 kB/128 kB 28%] [7 InRelease 42.0 kB/129 kB 32%] [Waiting f
0% [9 InRelease 36.3 kB/128 kB 28%] [7 InRelease 42.0 kB/129 kB 32%] [Waiting f
                                                                               
Get:18 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]

                                                                               
0% [9 InRelease 40.5 kB/128 kB 32%] [7 InRelease 98.3 kB/129 kB 76%]
0% [9 InRelease 51.8 kB/128 kB 41%] [7 InRelease 98.3 kB/129 kB 76%]
                                                                    
0% [9 InRelease 68.7 kB/128 kB 54%]
0% [9 InRelease 89.8 kB/128 kB 70%]
                                   
Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]

0% [20 Packages 13.9 kB/930 kB 1%] [9 InRelease 114 kB/128 kB 89%]
0% [20 Packages 140 kB/930 kB 15%] [9 InRelease 125 kB/128 kB 98%]
                                                                  
0% [20 Packages 140 kB/930 kB 15%] [Waiting for headers]
                                                        
Ign:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages

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

0% [20 Packages store 0 B] [Waiting for headers] [21 Packages 0 B/120 kB 0%]
                                                                            
0% [20 Packages store 0 B] [Waiting for headers]
                                                
Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]

0% [20 Packages store 0 B] [22 Packages 49.2 kB/1,275 kB 4%]
0% [20 Packages store 0 B] [22 Packages 936 kB/1,275 kB 73%]
                                                            
0% [20 Packages store 0 B]
                          
Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]

0% [20 Packages store 0 B] [23 Translation-en 25.6 kB/709 kB 4%]
                                                                
0% [20 Packages store 0 B] [Waiting for headers]
                                                
Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]

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

0% [20 Packages store 0 B] [25 Packages 0 B/33.4 kB 0%]
                                                       
0% [20 Packages store 0 B]
                          
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]

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

0% [20 Packages store 0 B] [27 Translation-en 4,096 B/6,851 B 60%]
                                                                  
0% [20 Packages store 0 B]
                          
Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]

0% [20 Packages store 0 B] [28 Commands-amd64 392 B/392 B 100%]
                                                               
0% [20 Packages store 0 B]
                          
Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]

0% [20 Packages store 0 B] [29 Packages 4,096 B/5,999 kB 0%]
                                                            
0% [29 Packages 1,114 kB/5,999 kB 19%]
0% [21 Packages store 0 B] [29 Packages 1,114 kB/5,999 kB 19%]
                                                              
0% [29 Packages 1,442 kB/5,999 kB 24%]
0% [22 Packages store 0 B] [29 Packages 1,573 kB/5,999 kB 26%]
                                                              
Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]

                                                              
0% [22 Packages store 0 B] [30 Packages 52.2 kB/11.3 MB 0%]
0% [22 Packages store 0 B] [30 Packages 1,428 kB/11.3 MB 13%]
                                                             
0% [30 Packages 1,999 kB/11.3 MB 18%] [Waiting for headers]
0% [23 Translation-en store 0 B] [30 Packages 1,999 kB/11.3 MB 18%] [Waiting fo
                                                                               
Ign:31 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages

                                                                               
0% [23 Translation-en store 0 B] [30 Packages 3,263 kB/11.3 MB 29%]
                                                                   
Get:31 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]

0% [23 Translation-en store 0 B] [30 Packages 4,588 kB/11.3 MB 40%]
                                                                   
0% [30 Packages 6,933 kB/11.3 MB 61%]
0% [24 Commands-amd64 store 0 B] [30 Packages 6,933 kB/11.3 MB 61%]
                                                                   
0% [30 Packages 6,933 kB/11.3 MB 61%]
0% [25 Packages store 0 B] [30 Packages 7,130 kB/11.3 MB 63%]
                                                             
0% [30 Packages 7,130 kB/11.3 MB 63%]
0% [26 Packages store 0 B] [30 Packages 7,458 kB/11.3 MB 66%]
                                                             
0% [30 Packages 7,458 kB/11.3 MB 66%]
0% [27 Translation-en store 0 B] [30 Packages 7,916 kB/11.3 MB 70%]
                                                                   
0% [30 Packages 7,916 kB/11.3 MB 70%]
0% [28 Commands-amd64 store 0 B] [30 Packages 7,916 kB/11.3 MB 70%]
                                                                   
0% [30 Packages 7,916 kB/11.3 MB 70%]
0% [29 Packages store 0 B] [30 Packages 7,916 kB/11.3 MB 70%]
0% [29 Packages store 0 B] [30 Packages 9,114 kB/11.3 MB 80%]
                                                             
0% [29 Packages store 0 B]
                          
Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]

0% [29 Packages store 0 B] [32 Translation-en 0 B/7,220 kB 0%]
                                                              
0% [29 Packages store 0 B]
                          
Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]

0% [29 Packages store 0 B] [33 Commands-amd64 0 B/265 kB 0%]
                                                            
0% [29 Packages store 0 B]
                          
Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]

0% [29 Packages store 0 B] [34 Packages 0 B/177 kB 0%]
                                                      
0% [29 Packages store 0 B]
                          
Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]

0% [29 Packages store 0 B] [35 Packages 0 B/88.9 kB 0%]
                                                       
0% [29 Packages store 0 B]
                          
Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]

0% [29 Packages store 0 B] [36 Translation-en 0 B/128 kB 0%]
                                                            
0% [29 Packages store 0 B]
                          
Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]

0% [29 Packages store 0 B] [37 Commands-amd64 0 B/9,136 B 0%]
                                                             
0% [29 Packages store 0 B]
                          
Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,286 kB]

0% [29 Packages store 0 B] [38 Packages 0 B/1,286 kB 0%]
                                                        
0% [29 Packages store 0 B]
                          
Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,488 kB]

0% [29 Packages store 0 B] [39 Packages 0 B/4,488 kB 0%]
                                                        
0% [29 Packages store 0 B]
                          
Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [823 kB]

0% [29 Packages store 0 B] [40 Translation-en 0 B/823 kB 0%]
0% [29 Packages store 0 B] [40 Translation-en 262 kB/823 kB 32%]
                                                                
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]

0% [29 Packages store 0 B] [41 Commands-amd64 0 B/17.8 kB 0%] [Waiting for head
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [48.0 kB]

0% [29 Packages store 0 B] [42 Packages 0 B/48.0 kB 0%] [Waiting for headers]
                                                                             
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,188 kB]

0% [29 Packages store 0 B] [43 Packages 0 B/4,188 kB 0%] [Waiting for headers]
                                                                              
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [581 kB]

0% [29 Packages store 0 B] [44 Translation-en 0 B/581 kB 0%] [Waiting for heade
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]

0% [29 Packages store 0 B] [45 Commands-amd64 0 B/548 B 0%] [Waiting for header
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,004 kB]

0% [29 Packages store 0 B] [46 Packages 0 B/1,004 kB 0%] [Waiting for headers]
                                                                              
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,561 kB]

0% [29 Packages store 0 B] [47 Packages 0 B/1,561 kB 0%] [Waiting for headers]
                                                                              
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [413 kB]

0% [29 Packages store 0 B] [48 Translation-en 0 B/413 kB 0%] [Waiting for heade
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]

0% [29 Packages store 0 B] [49 Commands-amd64 0 B/28.3 kB 0%] [Waiting for head
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]

0% [29 Packages store 0 B] [50 Packages 0 B/9,592 B 0%] [Waiting for headers]
                                                                             
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]

0% [29 Packages store 0 B] [51 Packages 0 B/33.5 kB 0%] [Waiting for headers]
                                                                             
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Ign:52 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages

                                                
0% [29 Packages store 0 B]
                          
Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,589 B]

0% [29 Packages store 0 B] [53 Translation-en 0 B/8,589 B 0%] [Waiting for head
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [616 B]

0% [29 Packages store 0 B] [54 Commands-amd64 0 B/616 B 0%] [Waiting for header
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]

0% [29 Packages store 0 B] [55 Packages 0 B/43.4 kB 0%] [Waiting for headers]
                                                                             
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]

0% [29 Packages store 0 B] [56 Packages 0 B/55.2 kB 0%] [Waiting for headers]
                                                                             
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]

0% [29 Packages store 0 B] [57 Translation-en 0 B/18.8 kB 0%] [Waiting for head
                                                                               
0% [29 Packages store 0 B] [Waiting for headers]
                                                
Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]

0% [29 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:52 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]

0% [29 Packages store 0 B] [Waiting for headers] [52 Packages 0 B/120 kB 0%]
0% [29 Packages store 0 B] [Waiting for headers] [52 Packages 60.0 kB/120 kB 50
                                                                               
Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]

0% [29 Packages store 0 B] [Waiting for headers] [52 Packages 60.0 kB/120 kB 50
                                                                               
Get:60 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]

0% [29 Packages store 0 B] [Waiting for headers] [52 Packages 60.0 kB/120 kB 50
                                                                               
Get:61 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]

0% [29 Packages store 0 B] [61 Packages 28.6 kB/28.6 kB 100%] [52 Packages 69.0
0% [29 Packages store 0 B] [Waiting for headers] [52 Packages 94.3 kB/120 kB 79
                                                                               
Get:62 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]

                                                                               
0% [29 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:63 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]

0% [29 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:64 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]

                                                                      
0% [29 Packages store 0 B] [Waiting for headers]
0% [29 Packages store 0 B] [Waiting for headers]
                                                
0% [Waiting for headers] [Waiting for headers]
0% [31 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
0% [Waiting for headers] [Waiting for headers]
0% [30 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:65 https://packages.redis.io/deb focal/main all Packages [6,199 B]

0% [30 Packages store 0 B] [Waiting for headers] [65 Packages 6,199 B/6,199 B 1
                                                                               
0% [30 Packages store 0 B] [Waiting for headers]
0% [30 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Ign:66 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages

0% [30 Packages store 0 B] [Waiting for headers] [Waiting for headers]
                                                                      
Get:66 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]

0% [30 Packages store 0 B] [Waiting for headers] [66 Packages 18.0 kB/18.0 kB 1
                                                                               
Get:67 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [570 kB]

0% [30 Packages store 0 B] [67 Packages 13.8 kB/570 kB 2%] [66 Packages 18.0 kB
                                                                               
Get:68 https://packages.redis.io/deb focal/main i386 Packages [6,094 B]

0% [30 Packages store 0 B] [67 Packages 13.8 kB/570 kB 2%] [Waiting for headers
77% [30 Packages store 0 B] [67 Packages 13.8 kB/570 kB 2%] [Waiting for header
                                                                               
Get:69 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,011 kB]

77% [30 Packages store 0 B] [69 Packages 2,606 B/1,011 kB 0%] [67 Packages 42.0
                                                                               
Get:70 https://packages.redis.io/deb focal/main amd64 Packages [29.6 kB]

77% [30 Packages store 0 B] [69 Packages 36.4 kB/1,011 kB 4%] [67 Packages 42.0
77% [30 Packages store 0 B] [69 Packages 87.1 kB/1,011 kB 9%] [67 Packages 42.0
                                                                               
78% [69 Packages 380 kB/1,011 kB 38%] [67 Packages 211 kB/570 kB 37%]
78% [32 Translation-en store 0 B] [69 Packages 380 kB/1,011 kB 38%] [67 Package
                                                                               
79% [32 Translation-en store 0 B] [67 Packages 569 kB/570 kB 100%]
                                                                  
79% [32 Translation-en store 0 B] [Waiting for headers]
                                                       
Get:71 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,025 kB]

79% [32 Translation-en store 0 B] [71 Packages 0 B/4,025 kB 0%]
                                                               
80% [71 Packages 498 kB/4,025 kB 12%]
80% [33 Commands-amd64 store 0 B] [71 Packages 511 kB/4,025 kB 13%]
                                                                   
81% [71 Packages 912 kB/4,025 kB 23%]
81% [34 Packages store 0 B] [71 Packages 912 kB/4,025 kB 23%]
                                                             
81% [71 Packages 1,016 kB/4,025 kB 25%]
81% [35 Packages store 0 B] [71 Packages 1,029 kB/4,025 kB 26%]
                                                               
81% [71 Packages 1,081 kB/4,025 kB 27%]
81% [36 Translation-en store 0 B] [71 Packages 1,081 kB/4,025 kB 27%]
                                                                     
81% [71 Packages 1,108 kB/4,025 kB 28%]
81% [37 Commands-amd64 store 0 B] [71 Packages 1,108 kB/4,025 kB 28%]
                                                                     
81% [71 Packages 1,108 kB/4,025 kB 28%]
81% [38 Packages store 0 B] [71 Packages 1,108 kB/4,025 kB 28%]
                                                               
82% [71 Packages 1,535 kB/4,025 kB 38%]
82% [39 Packages store 0 B] [71 Packages 1,547 kB/4,025 kB 38%]
                                                               
86% [39 Packages store 0 B]
                           
Get:72 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [710 kB]

86% [39 Packages store 0 B] [72 Translation-en 0 B/710 kB 0%]
                                                             
87% [39 Packages store 0 B]
                           
Get:73 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]

87% [39 Packages store 0 B] [73 Commands-amd64 0 B/14.3 kB 0%]
                                                              
87% [39 Packages store 0 B]
                           
Get:74 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,036 kB]

87% [39 Packages store 0 B] [74 Packages 0 B/4,036 kB 0%]
                                                         
89% [74 Packages 1,856 kB/4,036 kB 46%]
89% [40 Translation-en store 0 B] [74 Packages 1,856 kB/4,036 kB 46%]
                                                                     
92% [40 Translation-en store 0 B] [Waiting for headers]
                                                       
Get:75 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [560 kB]

92% [40 Translation-en store 0 B] [75 Translation-en 36.2 kB/560 kB 6%]
                                                                       
93% [40 Translation-en store 0 B] [Waiting for headers]
                                                       
Get:76 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [843 kB]

93% [40 Translation-en store 0 B] [76 Packages 64.6 kB/843 kB 8%]
                                                                 
94% [76 Packages 660 kB/843 kB 78%]
94% [41 Commands-amd64 store 0 B] [76 Packages 660 kB/843 kB 78%]
                                                                 
94% [76 Packages 725 kB/843 kB 86%]
94% [42 Packages store 0 B] [76 Packages 725 kB/843 kB 86%]
                                                           
94% [76 Packages 725 kB/843 kB 86%]
94% [43 Packages store 0 B] [76 Packages 725 kB/843 kB 86%]
                                                           
94% [43 Packages store 0 B]
                           
Get:77 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,274 kB]

94% [43 Packages store 0 B] [77 Packages 0 B/1,274 kB 0%]
                                                         
96% [43 Packages store 0 B]
                           
Get:78 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [294 kB]

96% [43 Packages store 0 B] [78 Translation-en 0 B/294 kB 0%]
                                                             
97% [43 Packages store 0 B]
                           
Get:79 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [21.5 kB]

97% [43 Packages store 0 B] [79 Commands-amd64 0 B/21.5 kB 0%]
                                                              
97% [43 Packages store 0 B]
                           
97% [Working]
97% [44 Translation-en store 0 B]
                                 
97% [Working]
97% [45 Commands-amd64 store 0 B]
                                 
97% [Working]
97% [46 Packages store 0 B]
                           
97% [Working]
97% [47 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% [53 Translation-en store 0 B]
                                 
98% [Working]
98% [54 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [55 Packages store 0 B]
                           
98% [Working]
98% [56 Packages store 0 B]
                           
98% [Working]
98% [57 Translation-en store 0 B]
                                 
98% [Working]
98% [58 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [59 Commands-amd64 store 0 B]
                                 
98% [Working]
98% [60 Packages store 0 B]
                           
98% [Working]
98% [61 Packages store 0 B]
                           
98% [Working]
98% [62 Translation-en store 0 B]
                                 
98% [Working]
98% [52 Packages store 0 B]
                           
98% [Working]
98% [63 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [64 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [65 Packages store 0 B]
                           
99% [Working]
99% [66 Packages store 0 B]
                           
99% [Working]
99% [68 Packages store 0 B]
                           
99% [Working]
99% [70 Packages store 0 B]
                           
99% [Working]
99% [69 Packages store 0 B]
                           
99% [Working]
99% [67 Packages store 0 B]
                           
99% [Working]
99% [71 Packages store 0 B]
                           
99% [Working]
99% [72 Translation-en store 0 B]
                                 
99% [Working]
99% [73 Commands-amd64 store 0 B]
                                 
99% [Working]
99% [74 Packages store 0 B]
                           
100% [Working]
100% [75 Translation-en 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]
              
Fetched 57.5 MB in 4s (13.9 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... 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... 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 77 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 58636

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

sudoers setup
  File "/etc/sudoers"
    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 /^#includedir \/etc\/sudoers\.d$/
  File "/etc/sudoers.d/travis"
    is expected to exist
    is expected to be owned by "root"
    is expected to be mode 440
    is expected to be file
    content
      is expected to match /^Defaults !env_reset$/
    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$/

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

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

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

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 /

go toolchain installation
  Command "go env GOROOT"
    stdout
      is expected to match /\/\.gimme\//
  Command "go version"
    stdout
      is expected to match /^go version go/
  compiling something
    Command "go run /tmp/packer-templates-20241007-7928-254nu9-rspec/example.go"
      stdout
        is expected to match /Good morrow, 19021/

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

mongodb installation
  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 }/
  Service "mongod"
    is expected not to be enabled
    is expected not to be running

mercurial installation
  mecurial commands are executed
    Command "cd /tmp/packer-templates-20241007-7928-254nu9-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"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^Mercurial Distributed SCM \(version \d/

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

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

emacs installation
  Command "emacs --version"
    exit_status
      is expected to eq 0
  editing
    File "/tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt"
      content
        is expected to match "poof"

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

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

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

unarchivers installation
  Command "dpkg -s libbz2-dev"
    stdout
      is expected to match "Status: install ok installed"
  Command "
      gzip /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;
      rm /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;
      ls /tmp/packer-templates-20241007-7928-254nu9-rspec;
      gzip -d /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.txt.gz"
  Command "unzip -version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^UnZip \d/
  Command "gzip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^gzip \d/
  Command "
      cd /tmp/packer-templates-20241007-7928-254nu9-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241007-7928-254nu9-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 "zip --version"
    stdout
      is expected to match /Zip \d/
    exit_status
      is expected to eq 0
  Command "
      bzip2 -z /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;
      rm /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;
      ls /tmp/packer-templates-20241007-7928-254nu9-rspec;
      bzip2 -d /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.bz2"
    stdout
      is expected to match "Konstantin broke all the things."

ssh access
  File "/home/travis/.ssh/authorized_keys"
    is expected to be readable
    is expected to exist
    is expected to be writable
    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

apt installation
  /var/lib/apt/lists/*Packages*
    is non-empty
  apt architecture
    Command "dpkg --print-foreign-architectures"
      stdout
        is expected to match /i386/
    Command "dpkg --print-architecture"
      stdout
        is expected to match /amd64/
  Command "apt-get -v"
    exit_status
      is expected to eq 0
  Command "apt-cache search ubuntu-restricted-extras"
    stdout
      is expected not to be empty
  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 "iptables --version"
  stdout
    is expected to include "iptables"
  exit_status
    is expected to eq 0

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

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 "mysql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^mysql /

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

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 "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-20241007-7928-254nu9-rspec/bzr-project;
      bzr status;
      bzr add test.txt;
      bzr status;
    "
      stdout
        is expected to match /^unknown:/
      stdout
        is expected to match /^adding test\.txt/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^  test\.txt/
      stdout
        is expected to match /^added:/

dictionaries installation
  Package "wamerican"
    is expected to be installed

phantomjs installation
  Command "phantomjs -v"
    stdout
      is expected to match /\d/
    exit_status
      is expected to eq 0
  Command "phantomjs /tmp/packer-templates-20241007-7928-254nu9-rspec/test.js"
    stdout
      is expected to match "Status: success"

php environment
  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 "/home/travis/.pearrc"
    is expected not to exist

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

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

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 "/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

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:"

postgresql installation
  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 - 2)
  psql commands
    Command " psql -U travis -ltA"
      stdout
        is expected to match /^test_db\|/
    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 "packer version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^Packer v\d/

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

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

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

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

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

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

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

git installation
  git commands
    Command "cd /tmp/packer-templates-20241007-7928-254nu9-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"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^git version (2\.|1\.[89])/
  Command "git config user.name"
    stdout
      is expected to match /travis/i
  Command "git config user.email"
    stdout
      is expected to match /travis@example\.org/

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

python environment
  Command "true ; wheel version"
    stderr
      is expected to be empty (FAILED - 3)
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 4)
  Command "true ; nosetests --version"
    stderr
      is expected to be empty (FAILED - 5)
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 6)
  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 ; py.test --version"
    stderr
      is expected to be empty (FAILED - 7)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 8)

sqlite installation
  Command "sqlite3 -version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^\d\.\d/
  sqlite commands are executed
    Command "
      sqlite3 /tmp/packer-templates-20241007-7928-254nu9-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"

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

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

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

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

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+/

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

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

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

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

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

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-20241007-7928-254nu9-rspec && java Hello"
      stdout
        is expected to match "Hello World!"

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+/

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

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

mysql installation
  mysql commands
    Command "mysql -u root -e 'select "hai"'"
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
      stderr
        is expected to be empty
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 9)
    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$/
    Command "echo "SHOW DATABASES" | mysql"
      stdout
        is expected to match /^travis$/
  File "/etc/mysql/conf.d/performance-schema.cnf"
    is expected to exist (FAILED - 10)
    is expected to be owned by "root" (FAILED - 11)
    is expected to be grouped into "root" (FAILED - 12)
    is expected to be readable (FAILED - 13)
  File "/home/travis/.my.cnf"
    is expected to be owned by "travis"
    is expected to be grouped into "travis"
    is expected to be readable
    is expected to exist

php interpreter
  Command "PHPENV_VERSION=system phpenv exec php --version"
    stdout
      is expected to match /^PHP \d+\.\d+/
    stderr
      is expected to be empty
  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

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+/

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

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

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

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

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 - 14)

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

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

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

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

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-20241007-7928-254nu9-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/

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

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\./

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
       
       /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)>'

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

  3) 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)>'

  4) 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)>'

  5) 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)>'

  6) 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)>'

  7) 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)>'

  8) 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)>'

  9) 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)>'

  10) 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)>'

  11) 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)>'

  12) 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)>'

  13) 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)>'

  14) 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)>'

Finished in 1 minute 8.79 seconds (files took 1.15 seconds to load)
280 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/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+/
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: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: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/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})/

Randomized with seed 58636

+ 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 47570

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

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

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

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

python environment
  Command "true ; nosetests --version"
    stderr
      is expected to be empty (FAILED - 2)
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 3)
  Command "true ; wheel version"
    stderr
      is expected to be empty (FAILED - 4)
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 5)
  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 "true ; py.test --version"
    stderr
      is expected to be empty (FAILED - 6)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 7)

go toolchain installation
  Command "go env GOROOT"
    stdout
      is expected to match /\/\.gimme\//
  compiling something
    Command "go run /tmp/packer-templates-20241007-12048-jyojje-rspec/example.go"
      stdout
        is expected to match /Good morrow, 10545/
  Command "go version"
    stdout
      is expected to match /^go version go/

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

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

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-20241007-12048-jyojje-rspec/logo.gif"
      stdout
        is expected to match /logo\.gif GIF/
      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

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

mysql installation
  File "/home/travis/.my.cnf"
    is expected to be readable
    is expected to be grouped into "travis"
    is expected to be owned by "travis"
    is expected to exist
  mysql commands
    Command "mysql -u travis -e 'select "hai"'"
      stderr
        is expected to be empty
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 8)
    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 "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
  File "/etc/mysql/conf.d/performance-schema.cnf"
    is expected to be owned by "root" (FAILED - 9)
    is expected to exist (FAILED - 10)
    is expected to be readable (FAILED - 11)
    is expected to be grouped into "root" (FAILED - 12)

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-20241007-12048-jyojje-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

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

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 GET test_key | cat"
      stdout
        is expected to match /^test_value$/
    Command "redis-cli -p 16379 PING"
      stdout
        is expected to match /^PONG$/

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

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

php interpreter
  Command "PHPENV_VERSION=system phpenv exec php --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^PHP \d+\.\d+/
  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/

ruby interpreter
  Command "ruby --version"
    stderr
      is expected to be empty
    stdout
      is expected to match /^ruby 3\.\d+\.\d+/
  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/

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

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

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

unarchivers installation
  Command "
      gzip /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;
      rm /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;
      ls /tmp/packer-templates-20241007-12048-jyojje-rspec;
      gzip -d /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.gz"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "
      cd /tmp/packer-templates-20241007-12048-jyojje-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241007-12048-jyojje-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 "unzip -version"
    stdout
      is expected to match /^UnZip \d/
    exit_status
      is expected to eq 0
  Command "dpkg -s libbz2-dev"
    stdout
      is expected to match "Status: install ok installed"
  Command "zip --version"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /Zip \d/
  Command "
      bzip2 -z /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;
      rm /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;
      ls /tmp/packer-templates-20241007-12048-jyojje-rspec;
      bzip2 -d /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.bz2"
    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 "mysql --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to match /^mysql /

postgresql installation
  psql commands
    Command " psql -U travis -ltA"
      stdout
        is expected to match /^test_db\|/
    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 --version"
    stdout
      is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 13)
    exit_status
      is expected to eq 0

git installation
  Command "git config user.name"
    stdout
      is expected to match /travis/i
  git commands
    Command "cd /tmp/packer-templates-20241007-12048-jyojje-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 config user.email"
    stdout
      is expected to match /travis@example\.org/
  Command "git --version"
    stdout
      is expected to match /^git version (2\.|1\.[89])/
    exit_status
      is expected to eq 0
  Package "git"
    is expected to be installed

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

php environment
  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 "/home/travis/.pearrc"
    is expected not to exist

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

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"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /MongoDB shell/

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 "/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

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

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+/

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

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

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

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

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-20241007-12048-jyojje-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/

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

apt installation
  /var/lib/apt/lists/*Packages*
    is non-empty
  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
  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

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

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

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

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

dictionaries installation
  Package "wamerican"
    is expected to be installed

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-20241007-12048-jyojje-rspec/bzr-project;
      bzr status;
      bzr add test.txt;
      bzr status;
    "
      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 /^added:/
      stdout
        is expected to match /^  test\.txt/

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

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

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

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

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

rvm installation
  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/.rvmrc"
    is expected to exist
    is expected to be readable
    is expected to be writable
  rvm commands
    Command "rvm list"
      stdout
        is expected to include "current"
      stdout
        is expected to match /ruby-2\.[234567]\.\d/
      stderr
        is expected to be empty
    Command "rvm default do echo whatever"
      stdout
        is expected not to include "Warning!"
      stderr
        is expected not to include "Warning!"
      stdout
        is expected to include "whatever"
  File "/home/travis/.rvm/user/db"
    is expected to exist
    is expected to be readable
    is expected to be writable

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-20241007-12048-jyojje-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"

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

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

sudoers setup
  File "/etc/sudoers"
    is expected to be mode 440
    is expected to be owned by "root"
    is expected to be file
    is expected to exist
    content
      is expected to match /^#includedir \/etc\/sudoers\.d$/
  File "/etc/sudoers.d/travis"
    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 /^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$/

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 - 14)
  exit_status
    is expected to eq 0

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

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

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

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 "sudo -V"
  stdout
    is expected to match /^Sudo version \d/

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

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

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"

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

ssh access
  File "/home/travis/.ssh/known_hosts"
    is expected to exist
    is expected to be writable
    is expected to be readable
    size
      is expected to be positive
  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

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

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

jdk installation
  should have JAVA_HOME defined
  java command
    Command "cd /tmp/packer-templates-20241007-12048-jyojje-rspec && java Hello"
      stdout
        is expected to match "Hello World!"
  Command "java -version"
    stderr
      is expected to match /^(java|openjdk)/
    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

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

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

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

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

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) python environment Command "true ; nosetests --version" stderr is expected to be empty
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `"bash: nosetests: command not found\n".empty?` to be truthy, got false
       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)>'

  3) 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)>'

  4) python environment Command "true ; wheel version" stderr is expected to be empty
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `"bash: wheel: command not found\n".empty?` to be truthy, got false
       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)>'

  5) 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)>'

  6) python environment Command "true ; py.test --version" stderr is expected to be empty
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected `"bash: py.test: command not found\n".empty?` to be truthy, got false
       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)>'

  7) 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)>'

  8) 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)>'

  9) 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)>'

  10) 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)>'

  11) 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)>'

  12) 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)>'

  13) 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)>'

  14) 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)>'

Finished in 59.53 seconds (files took 0.99834 seconds to load)
280 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/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: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: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/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: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: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: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: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/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})/

Randomized with seed 47570

+ 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 525

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

ruby installation
  Command "rspec --version"
    stdout
      is expected to match /^RSpec \d+\.\d+/
    stderr
      is expected to be empty
  Command "gem --version"
    stdout
      is expected to match /^\d+\.\d+\.\d+/
    stderr
      is expected 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"

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

ruby interpreter
  Command "ruby -e 'puts RUBY_ENGINE'"
    stdout
      is expected to match /^ruby/
  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 "shfmt -version"
  stdout
    is expected to match /^v\d+\.\d+\.\d+/

apt installation
  /var/lib/apt/lists/*Packages*
    is non-empty
  apt architecture
    Command "dpkg --print-foreign-architectures"
      stdout
        is expected to match /i386/
    Command "dpkg --print-architecture"
      stdout
        is expected to match /amd64/
  Command "apt-get -v"
    exit_status
      is expected to eq 0
  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
  File "/var/lib/apt/lists"
    is expected to be directory

ragel installation
  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-20241007-16070-2um28b-rspec/hello_world.rb"
        content
          is expected to match /^puts "Hello World"/
  Package "ragel"
    is expected to be installed

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

ssh access
  File "/home/travis/.ssh/known_hosts"
    is expected to be writable
    is expected to exist
    is expected to be readable
    size
      is expected to be positive
  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

xserver installation
  Command "Xorg -version"
    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 "DISPLAY=:99.0 xset -q"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /^Keyboard Control:/
    stderr
      is expected to be empty

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

md5deep installation
  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
  Command "md5deep /tmp/packer-templates-20241007-16070-2um28b-rspec/md5deep.txt"
    stdout
      is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/

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

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

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

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

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

sqlite installation
  sqlite commands are executed
    Command "
      sqlite3 /tmp/packer-templates-20241007-16070-2um28b-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

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

unarchivers installation
  Command "
      cd /tmp/packer-templates-20241007-16070-2um28b-rspec;
      zip test.zip test.txt;
      rm test.txt;
      ls /tmp/packer-templates-20241007-16070-2um28b-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 "
      gzip /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;
      rm /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;
      ls /tmp/packer-templates-20241007-16070-2um28b-rspec;
      gzip -d /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt.gz;
      cat /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt
    "
    stdout
      is expected to match "Konstantin broke all the things."
    stdout
      is expected to include "test.txt.gz"
  Command "zip --version"
    stdout
      is expected to match /Zip \d/
    exit_status
      is expected to eq 0
  Command "
      bzip2 -z /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;
      rm /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;
      ls /tmp/packer-templates-20241007-16070-2um28b-rspec;
      bzip2 -d /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt.bz2;
      cat /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt
    "
    stdout
      is expected to include "test.txt.bz2"
    stdout
      is expected to match "Konstantin broke all the things."
  Command "unzip -version"
    stdout
      is expected to match /^UnZip \d/
    exit_status
      is expected to eq 0
  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

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

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-20241007-16070-2um28b-rspec/example.go"
      stdout
        is expected to match /Good morrow, 15558/

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

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 - 1)

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

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+/

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

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

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

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

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

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

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

phantomjs installation
  Command "phantomjs -v"
    exit_status
      is expected to eq 0
    stdout
      is expected to match /\d/
  Command "phantomjs /tmp/packer-templates-20241007-16070-2um28b-rspec/test.js"
    stdout
      is expected to match "Status: success"

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/

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

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

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

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

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

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

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 "wget --version"
  exit_status
    is expected to eq 0
  stdout
    is expected to include "GNU Wget"

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

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

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

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

python environment
  Command "true ; pip --version"
    stdout
      is expected to match /^pip \d+\.\d+(\.\d+)?/
    stderr
      is expected to be empty
  Command "true ; wheel version"
    stdout
      is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 3)
    stderr
      is expected to be empty (FAILED - 4)
  Command "true ; nosetests --version"
    stdout
      is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 5)
    stderr
      is expected to be empty (FAILED - 6)
  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 ; py.test --version"
    stderr
      is expected to be empty (FAILED - 7)
    stdout
      is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 8)

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

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

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

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

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-20241007-16070-2um28b-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"

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

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

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

git installation
  git commands
    Command "cd /tmp/packer-templates-20241007-16070-2um28b-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 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 "git --version"
    stdout
      is expected to match /^git version (2\.|1\.[89])/
    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 - 9)

emacs installation
  Command "emacs --version"
    exit_status
      is expected to eq 0
  editing
    File "/tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt"
      content
        is expected to match "poof"

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

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

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

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-20241007-16070-2um28b-rspec/.mozilla/firefox/profiles.ini"
      is expected to exist
      content
        is expected to match /^Name=test/

gcc installation
  Command "cd /tmp/packer-templates-20241007-16070-2um28b-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-20241007-16070-2um28b-rspec;
    gcc -Wall -o hai hai.c;
    ./hai there
  "
    stdout
      is expected to match /^hai 2$/

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 }/
  Command "mongo --version"
    stdout
      is expected to match /MongoDB shell/
    exit_status
      is expected to eq 0
  Service "mongod"
    is expected not to be running
    is expected not to be enabled

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

mysql installation
  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"
  mysql commands
    Command "echo "SHOW DATABASES" | mysql"
      stdout
        is expected to match /^travis$/
    Command "mysql -u root -e 'select "hai"'"
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
      stderr
        is expected to be empty
    Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"
      stdout
        is expected to include "performance_schema\tOFF" (FAILED - 10)
    Command "mysql -u travis -e 'select "hai"'"
      stderr
        is expected to be empty
      stdout
        is expected to match /hai/
      exit_status
        is expected to eq 0
    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 - 11)
    is expected to be readable (FAILED - 12)
    is expected to be grouped into "root" (FAILED - 13)
    is expected to be owned by "root" (FAILED - 14)

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

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

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

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

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 "/home/travis/bin"
  is expected to be directory
  is expected to be writable

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

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

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

  3) 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)>'

  4) 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)>'

  5) 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)>'

  6) 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)>'

  7) 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)>'

  8) 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)>'

  9) 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)>'

  10) 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)>'

  11) 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)>'

  12) 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)>'

  13) 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)>'

  14) 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)>'

Finished in 1 minute 0.32 seconds (files took 0.933 seconds to load)
280 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/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: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: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/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: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: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: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"

Randomized with seed 525

+ 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:0e3f50b4:start=1728299645342426075,finish=1728299888973918350,duration=243631492275,event=script
The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 1.
travis_time:start:1bd85052
$ 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:1bd85052:start=1728299888979424692,finish=1728299888995057966,duration=15633274,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:0324f480
travis_time:end:0324f480:start=1728299889253204571,finish=1728299889257166336,duration=3961765,event=cache
travis_time:start:068b5ff0
changes detected, packing new archive
gzip: warning: GZIP environment variable is deprecated; use an alias or script
uploading PR.872/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz
cache uploaded
travis_time:end:068b5ff0:start=1728299889261984078,finish=1728299893692688942,duration=4430704864,event=cache
travis_fold:end:cache.2


Done. Your build exited with 1.