AMD64
Ruby
Git
TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"
Scroll to End of Log
0.00s0.20s0.12s0.06s0.00sTopworker_info1Worker information2hostname: 89d2f1cc-0b4e-4e50-9430-ddb3f00612a4@1.worker-n2-com-f8c4bb956-zjhwc.gce-production-13version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c4instance: travis-job-58a26f39-de54-48c7-ae41-1fb87831584e travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)5startup: 5.942225571ssystem_info7Build system information8Build language: ruby9Build group: stable10Build dist: focal11Build id: 27262175512Job id: 62685315513Runtime kernel version: 5.15.0-1068-gcp14VM: default15travis-build version: 6b157a1c16Build image provisioning date and time17Fri 13 Sep 2024 09:58:48 AM UTC18Operating System Details19Distributor ID: Ubuntu20Description: Ubuntu 20.04.6 LTS21Release: 20.0422Codename: focal23Systemd Version24systemd 245 (245.4-4ubuntu3.23)25Cookbooks Version2639734fe https://github.com/travis-ci/travis-cookbooks/tree/39734fe27git version28git version 2.46.029bash version30GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)31gcc version32gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.033docker version34Client:35 Version: 24.0.736 API version: 1.4337 Go version: go1.21.138 Git commit: 24.0.7-0ubuntu2~20.04.139 Built: Wed Mar 13 20:29:24 202440 OS/Arch: linux/amd6441 Context: default43Server:44 Engine:45 Version: 24.0.746 API version: 1.43 (minimum version 1.12)47 Go version: go1.21.148 Git commit: 24.0.7-0ubuntu2~20.04.149 Built: Wed Mar 13 20:29:24 202450 OS/Arch: linux/amd6451 Experimental: false52 containerd:53 Version: 1.7.1254 GitCommit:55 runc:56 Version: 1.1.12-0ubuntu2~20.04.157 GitCommit:58 docker-init:59 Version: 0.19.060 GitCommit:61clang version62clang version 18.1.863jq version64jq-1.7.165bats version66Bats 1.11.067shellcheck version680.10.069shfmt version70v3.8.071ccache version723.7.773cmake version74cmake version 3.29.075heroku version76heroku/9.2.1 linux-x64 node-v16.20.277imagemagick version78Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org79md5deep version804.481mercurial version82version 6.5.283mysql version84mysql Ver 8.0.39-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))85openssl version86OpenSSL 1.1.1f 31 Mar 202087packer version88Packer v1.11.289postgresql client version90psql (PostgreSQL) 13.16 (Ubuntu 13.16-1.pgdg20.04+1)91ragel version92Ragel State Machine Compiler version 6.10 March 201793sudo version941.8.3195gzip version96gzip 1.1097zip version98Zip 3.099vim version100VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 04 2024 03:11:27)101iptables version102iptables v1.8.4 (legacy)103curl version104curl 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.3105wget version106GNU Wget 1.20.3 built on linux-gnu.107rsync version108rsync version 3.1.3 protocol version 31109gimme version110v1.5.4111nvm version1120.40.1113perlbrew version114/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95115phpenv version116rbenv 1.3.0117rvm version118rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]119default ruby version120ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]121default python version122Python 3.7.17123ElasticSearch version1247.16.3125Installed Firefox version126firefox 99.0127MongoDB version128MongoDB 4.4.29129PhantomJS version1302.1.1131Redis version132redis-server 7.4.0133Pre-installed Go versions1341.23.0135mvn version136Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)137gradle version138Gradle 8.3!139lein version140Leiningen 2.11.2 on Java 11.0.21 OpenJDK 64-Bit Server VM141Pre-installed Node.js versions142v10.24.1143v12.22.12144v14.21.3145v16.15146v16.20.2147v18.20.3148v18.20.4149v20.17.0150v4.9.1151v6.17.1152v8.17.0153phpenv versions154 system155 7.4156* 7.4.6 (set by /home/travis/.phpenv/version)157 hhvm-stable158 hhvm159composer --version160Composer version 1.10.6 2020-05-06 10:28:10161Pre-installed Ruby versions162ruby-2.7.6163ruby-3.3.51660.00s0.03s0.00s0.02s0.18s0.00s0.00s0.00s0.01s0.00s0.19s0.00s1.04s0.00s0.00s6.04s0.00s4.00s0.00s2.20sdocker_mtu_and_registry_mirrorsDockerresolvconfgit.checkout1700.01s0.50s$ git clone --depth=50 https://github.com/travis-ci/packer-templates.git travis-ci/packer-templates171Cloning into 'travis-ci/packer-templates'...172remote: Enumerating objects: 1540, done.173remote: Counting objects: 100% (1540/1540), done.174remote: Compressing objects: 100% (762/762), done.175remote: Total 1540 (delta 930), reused 1094 (delta 650), pack-reused 0 (from 0)176Receiving objects: 100% (1540/1540), 305.02 KiB | 4.12 MiB/s, done.177Resolving deltas: 100% (930/930), done.178$ cd travis-ci/packer-templates180remote: Enumerating objects: 417, done.181remote: Counting objects: 100% (349/349), done.182remote: Compressing objects: 100% (159/159), done.183remote: Total 294 (delta 223), reused 147 (delta 99), pack-reused 0 (from 0)184Receiving objects: 100% (294/294), 54.42 KiB | 2.27 MiB/s, done.185Resolving deltas: 100% (223/223), completed with 35 local objects.186From https://github.com/travis-ci/packer-templates187 * branch refs/pull/872/merge -> FETCH_HEAD188$ git checkout -qf FETCH_HEAD1900.01s191Setting environment variables from repository settings192$ export DOCKER_LOGIN_EMAIL=[secure]193$ export DOCKER_LOGIN_PASSWORD=[secure]194$ export DOCKER_LOGIN_SERVER=[secure]195$ export DOCKER_LOGIN_USERNAME=[secure]196$ export GCE_PROJECT_ID=[secure]197$ export JOB_BOARD_IMAGES_URL=[secure]198$ export GCE_ACCOUNT_FILE=[secure]199$ export GCE_ACCOUNT_FILE_B64_BZ2=[secure]200$ export GCR_LOGIN_SERVER=[secure]201$ export GCR_AUTH_TOKEN=[secure]202$ export QUAY_DOCKER_LOGIN_EMAIL=[secure]203$ export QUAY_DOCKER_LOGIN_PASSWORD=[secure]204$ export QUAY_DOCKER_LOGIN_SERVER=[secure]205$ export QUAY_DOCKER_LOGIN_USERNAME=[secure]206$ export TRAVIS_WORKER_VERSION=[secure]207$ export GCE_ACCOUNT_ID=[secure]208$ export GCE_SERVICE_ACCOUNT_ID=[secure]209$ export GCE_SERVICE_ACCOUNT_FILE_BZ2_B64=[secure]210$ export GITHUB_API_TOKEN=[secure]212Setting environment variables from .travis.yml213$ export DPKG_MANIFEST_JSON="${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json"214$ export LANG=en_US.UTF-8215$ export NODE_ATTRIBUTES_YML="${TRAVIS_BUILD_DIR}/.example-node-attributes.yml"216$ export PACKER_CHEF_PREFIX="${TRAVIS_BUILD_DIR}/tmp"217$ export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}"218$ export REQUEST_INTERVAL=5219$ export SKIP_CHEF_REMOVAL='1'220$ export SPEC_ARGS='--tag ~dev'221$ export SPEC_RUNNER='bash -lc'222$ export SPEC_SUITES='travis_packer_templates'223$ export SYSTEM_INFO_JSON="${TRAVIS_BUILD_DIR}/.example_system_info.json"224$ export TRAVIS_SOURCE_AMI="ami-01eefcaf0edcc4cf0"225$ export TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"230$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1231Setting up build cache232$ export CASHER_DIR=${TRAVIS_HOME}/.casher235fetching PR.872/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz236fetching PR.872/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz237fetching PR.872/cache--rvm-default--gemfile-Gemfile.tgz238fetching master/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz239fetching master/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz240fetching master/cache--rvm-default--gemfile-Gemfile.tgz241could not download cachecache.bundler246creating directory /home/travis/build/travis-ci/packer-templates/vendor/bundleruby.versions247$ ruby --version248ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]249$ rvm --version250rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]251$ bundle --version252Bundler version 2.5.16253$ gem --version2543.5.16install.12560.00s$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fiinstall.2install.3259Using /home/travis/.rvm/gems/ruby-3.3.5install.4261Fetching bundler-2.5.21.gem262GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundler.lock263GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundle.lock264Successfully installed bundler-2.5.212651 gem installedinstall.5267[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 flag268Bundler 2.5.21 is running, but your lockfile was generated with 2.5.13. Installing Bundler 2.5.13 and restarting using that version.269Fetching gem metadata from https://rubygems.org/.270Fetching bundler 2.5.13271Installing bundler 2.5.13272[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 flag273Fetching https://github.com/travis-ci/travis-packer-build274Fetching gem metadata from https://rubygems.org/.........275Fetching https://github.com/travis-ci/travis-packer-build276Fetching rake 13.2.1277Installing rake 13.2.1278Fetching concurrent-ruby 1.3.4279Fetching minitest 5.25.1280Fetching thread_safe 0.3.6281Installing concurrent-ruby 1.3.4282Installing minitest 5.25.1283Installing thread_safe 0.3.6284Fetching public_suffix 6.0.1285Installing public_suffix 6.0.1286Fetching ast 2.4.2287Installing ast 2.4.2288Fetching coderay 1.1.3289Fetching diff-lcs 1.5.1290Fetching docile 1.4.1291Installing coderay 1.1.3292Installing diff-lcs 1.5.1293Installing docile 1.4.1294Fetching erubis 2.7.0295Fetching multipart-post 2.4.1296Fetching libyajl2 2.1.0297Installing multipart-post 2.4.1298Installing erubis 2.7.0299Fetching racc 1.8.1300Installing libyajl2 2.1.0 with native extensions301Installing racc 1.8.1 with native extensions302Fetching rufus-lru 1.1.0303Installing rufus-lru 1.1.0304Fetching polyglot 0.3.5305Installing polyglot 0.3.5306Fetching multi_json 1.15.0307Installing multi_json 1.15.0308Fetching net-http-persistent 2.9.4309Installing net-http-persistent 2.9.4310Fetching net-http-pipeline 1.0.1311Installing net-http-pipeline 1.0.1312Fetching rchardet 1.8.0313Installing rchardet 1.8.0314Fetching json 2.7.2315Installing json 2.7.2 with native extensions316Fetching language_server-protocol 3.17.0.3317Installing language_server-protocol 3.17.0.3318Fetching method_source 1.1.0319Installing method_source 1.1.0320Fetching parallel 1.26.3321Installing parallel 1.26.3322Fetching rainbow 3.1.1323Installing rainbow 3.1.1324Fetching regexp_parser 2.9.2325Installing regexp_parser 2.9.2326Fetching strscan 3.1.0327Installing strscan 3.1.0 with native extensions328Fetching rspec-support 3.13.1329Installing rspec-support 3.13.1330Fetching ruby-progressbar 1.13.0331Installing ruby-progressbar 1.13.0332Fetching unicode-display_width 2.5.0333Installing unicode-display_width 2.5.0334Fetching simplecov-html 0.12.3335Installing simplecov-html 0.12.3336Fetching simplecov_json_formatter 0.1.4337Installing simplecov_json_formatter 0.1.4338Fetching uri 0.13.1339Installing uri 0.13.1340Fetching tzinfo 1.2.11341Installing tzinfo 1.2.11342Fetching addressable 2.8.7343Installing addressable 2.8.7344Fetching i18n 1.14.5345Installing i18n 1.14.5346Fetching faraday 0.17.6347Installing faraday 0.17.6348Fetching treetop 1.6.12349Installing treetop 1.6.12350Fetching nokogiri 1.16.7 (x86_64-linux)351Installing nokogiri 1.16.7 (x86_64-linux)352Fetching parser 3.3.4.2353Installing parser 3.3.4.2354Fetching pry 0.14.2355Installing pry 0.14.2356Fetching ffi-yajl 2.6.0357Installing ffi-yajl 2.6.0 with native extensions358Fetching rspec-core 3.13.0359Installing rspec-core 3.13.0360Fetching rspec-expectations 3.13.2361Installing rspec-expectations 3.13.2362Fetching rspec-mocks 3.13.1363Installing rspec-mocks 3.13.1364Fetching simplecov 0.22.0365Installing simplecov 0.22.0366Fetching git 1.19.1367Installing git 1.19.1368Fetching activesupport 5.2.8.1369Installing activesupport 5.2.8.1370Fetching faraday_middleware 0.14.0371Installing faraday_middleware 0.14.0372Fetching rubocop-ast 1.32.1373Installing rubocop-ast 1.32.1374Fetching rexml 3.3.6375Installing rexml 3.3.6376Fetching rspec 3.13.0377Installing rspec 3.13.0378Fetching gh 0.16.0379Installing gh 0.16.0380Fetching rubocop 1.65.1381Installing rubocop 1.65.1382Fetching foodcritic 16.3.0383Installing foodcritic 16.3.0384Bundle complete! 7 Gemfile dependencies, 56 gems now installed.385Bundled gems are installed into `./vendor/bundle`install.6387curl -sSLo tmp/packer.zip 'https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip'388mkdir -p ~/bin389unzip -o -d ~/bin tmp/packer.zip390Archive: tmp/packer.zip391 inflating: /home/travis/bin/packer392chmod +x ~/bin/packerinstall.7394'/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local' -> '/home/travis/build/travis-ci/packer-templates'396./bin/dump-git-meta ./tmp/git-meta397HEAD398ab8e150399./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/docker-meta 'DOCKER_LOGIN_(USERNAME|PASSWORD|SERVER)'400./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/job-board-env 'JOB_BOARD'401The command "make" exited with 0.403./runtests --env .example.env404Running isolated with env .example.env405.example-job-board-register-sardonyx.yml ✓406.example-node-attributes.yml ✓407.packer-build-pull-request-false-tmpl.yml ✓408.packer-build-pull-request-tmpl.yml ✓409.rubocop.yml ✓410.rubocop_todo.yml ✓411.travis.yml ✓412ci-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)413 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:25:in `block in setup'414 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'415 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'416 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `map'417 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `setup'418 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler.rb:164:in `setup'419 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `block in <top (required)>'420 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:159:in `with_level'421 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:111:in `silence'422 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `<top (required)>'423 from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'424 from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'425make: *** [Makefile:68: test] Error 1426The command "bundle exec make test" exited with 2.428bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)430Please run:432 $ gcloud auth login434to obtain new credentials.436If you have already logged in with a different account, run:438 $ gcloud config set account ACCOUNT440to select an already authenticated account to use.442Please run:444 $ gcloud auth login446to obtain new credentials.448If you have already logged in with a different account, run:450 $ gcloud config set account ACCOUNT452to select an already authenticated account to use.454Please run:456 $ gcloud auth login458to obtain new credentials.460If you have already logged in with a different account, run:462 $ gcloud config set account ACCOUNT464to select an already authenticated account to use.465The command "make update-gce-images" exited with 0.467The command "git diff --exit-code" exited with 0.469The command "git diff --cached --exit-code" exited with 0.471The command "sudo lsof | grep dpkg || true" exited with 0.473+sudo packer-scripts/run-serverspecs474+ shopt -s nullglob475+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin476+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin477+ export CHEF_LICENSE=accept-silent478+ CHEF_LICENSE=accept-silent479+ 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/bin480+ 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/bin481+ export DEBIAN_FRONTEND=noninteractive482+ DEBIAN_FRONTEND=noninteractive483+ export RUBYOPT=-W0484+ RUBYOPT=-W0485+ : /home/travis/build/travis-ci/packer-templates/tmp486+ : 'bash -lc'487+ : docker488+ [[ docker == \d\o\c\k\e\r ]]489+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'490+ SPEC_ARGS='--tag ~dev --tag ~docker:false'491++ uname -m492+ [[ x86_64 =~ aarch64 ]]493++ uname -m494+ [[ x86_64 =~ ppc64 ]]495+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp496+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]497+ curl -sSL https://omnitruck.chef.io/install.sh498+ sudo bash -s -- -P chef-workstation -v 22.5.923499ubuntu 20.04 x86_64500Getting information for chef-workstation stable 22.5.923 for ubuntu...501downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_64502 to file /tmp/install.sh.6327/metadata.txt503trying wget...504sha1 b8c582336804d5986f0f6d3dddeb9bf300d2d2bd505sha256 b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c506url https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb507version 22.5.923508downloaded metadata file looks valid...509downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb510 to file /tmp/install.sh.6327/chef-workstation_22.5.923-1_amd64.deb511trying wget...512Comparing checksum with sha256sum...513Installing chef-workstation 22.5.923514installing with dpkg...515Selecting previously unselected package chef-workstation.516(Reading database ... 154608 files and directories currently installed.)517Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...518Unpacking chef-workstation (22.5.923-1) ...519Setting up chef-workstation (22.5.923-1) ...521The Chef Workstation App is available.523Launch the App by running 'chef-workstation-app'.524The App will then be available in the system tray.526Thank you for installing Chef Workstation!527You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/529+ __run_retry 2 30 apt-get update -y530+ local retries=2531+ shift532+ local retry_delay=30533+ shift534+ cmd=("${@}")535+ local cmd536+ local i=0537+ true538+ [[ 0 -gt 2 ]]539+ apt-get update -y540Ign:1 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease541Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]542Get:3 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]543Get:4 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]544Hit:5 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease545Hit:6 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release546Get:7 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]547Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]548Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]549Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]550Get:11 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]551Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]552Get:13 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]553Get:14 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [4,332 B]554Get:15 https://packages.redis.io/deb focal InRelease [3,821 B]555Get:16 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [61.9 kB]556Get:17 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [43.5 kB]557Get:18 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]558Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]559Ign:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages560Get:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]561Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]562Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]563Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]564Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]565Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]566Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]567Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]568Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]569Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]570Ign:31 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages571Get:31 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]572Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]573Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]574Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]575Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]576Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]577Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]578Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,286 kB]579Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,488 kB]580Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [823 kB]581Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]582Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [48.0 kB]583Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,188 kB]584Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [581 kB]585Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]586Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,004 kB]587Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,561 kB]588Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [413 kB]589Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]590Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]591Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]592Ign:52 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages593Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,589 B]594Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [616 B]595Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]596Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]597Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]598Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]599Get:52 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]600Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]601Get:60 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]602Get:61 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]603Get:62 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]604Get:63 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]605Get:64 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]606Get:65 https://packages.redis.io/deb focal/main all Packages [6,199 B]607Ign:66 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages608Get:66 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]609Get:67 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [570 kB]610Get:68 https://packages.redis.io/deb focal/main i386 Packages [6,094 B]611Get:69 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,011 kB]612Get:70 https://packages.redis.io/deb focal/main amd64 Packages [29.6 kB]613Get:71 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,025 kB]614Get:72 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [710 kB]615Get:73 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]616Get:74 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,036 kB]617Get:75 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [560 kB]618Get:76 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [843 kB]619Get:77 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,274 kB]620Get:78 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [294 kB]621Get:79 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [21.5 kB]622Fetched 57.5 MB in 4s (13.9 MB/s)623Reading package lists... Done624N: 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'625+ return626+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client627+ local retries=2628+ shift629+ local retry_delay=30630+ shift631+ cmd=("${@}")632+ local cmd633+ local i=0634+ true635+ [[ 0 -gt 2 ]]636+ apt-get install libc-client2007e-dev mysql-client637Reading package lists... Done638Building dependency tree639Reading state information... Done640libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).641mysql-client is already the newest version (8.0.39-0ubuntu0.20.04.1).642The following packages were automatically installed and are no longer required:643 amd64-microcode intel-microcode iucode-tool libglu1-mesa644 libjs-jquery-metadata libjs-jquery-tablesorter libnotify4 libwxbase3.0-0v5645 libwxgtk3.0-gtk3-0v5 linux-modules-5.4.0-195-generic postgresql-client-12646Use 'sudo apt autoremove' to remove them.6470 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.648+ return649+ __create_sudo_bash650+ cat651+ chmod 0755 /tmp/sudo-bash652+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp653+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp654+ for suite in ${SPEC_SUITES/,/ }655+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'656+ local suite=travis_packer_templates657+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp658+ local 'runner=bash -lc'659+ local cookbook_dir660++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp661++ local suite=travis_packer_templates662++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp663++ local spec_dir664+++ head -1665+++ 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 d666++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec667++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec668+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates669+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates670+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'671+ local suite=travis_packer_templates672+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates673+ local 'runner=bash -lc'674+ set +o errexit675++ uname -m676++ uname -m677+ bash -lc '678set -o xtrace679export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"680export TERM=xterm681export PACKER_BUILDER_TYPE=docker682export RUBYOPT=-W0683if [[ x86_64 =~ ppc64 ]]; then684 gem install serverspec685else686 chef gem install serverspec687fi688unset GEM_PATH689cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates690sudo systemctl start xvfb.service691set -o errexit692if [[ x86_64 =~ ppc64 ]]; then693 rspec --tag ~dev --tag ~docker:false \694 --format documentation \695 --format json \696 --out /home/travis/.travis_packer_templates_rspec.json697else698 chef exec rspec --tag ~dev --tag ~docker:false \699 --format documentation \700 --format json \701 --out /home/travis/.travis_packer_templates_rspec.json702fi703'704+ 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/bin705+ 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/bin706+ export TERM=xterm707+ TERM=xterm708+ export PACKER_BUILDER_TYPE=docker709+ PACKER_BUILDER_TYPE=docker710+ export RUBYOPT=-W0711+ RUBYOPT=-W0712+ [[ x86_64 =~ ppc64 ]]713+ chef gem install serverspec714Fetching serverspec-2.42.3.gem715WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,716 gem executables will not run.717Successfully installed serverspec-2.42.37181 gem installed719+ unset GEM_PATH720+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates721+ sudo systemctl start xvfb.service722+ set -o errexit723+ [[ x86_64 =~ ppc64 ]]724+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json725Run options: exclude {:dev=>true, :docker=>false}727Randomized with seed 58636729ccache installation730 ccache commands are executed731 Command "ccache -M 0.5"732 stdout733 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/734 Command "ccache -s"735 stdout736 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"737 Command "ccache -V"738 exit_status739 is expected to eq 0741sudoers setup742 File "/etc/sudoers"743 is expected to be file744 is expected to exist745 is expected to be owned by "root"746 is expected to be mode 440747 content748 is expected to match /^#includedir \/etc\/sudoers\.d$/749 File "/etc/sudoers.d/travis"750 is expected to exist751 is expected to be owned by "root"752 is expected to be mode 440753 is expected to be file754 content755 is expected to match /^Defaults !env_reset$/756 content757 is expected to match /^Defaults !mail_badpass$/758 content759 is expected to match /^Defaults !authenticate$/760 content761 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/763Command "ssh -V"764 stderr765 is expected to match /OpenSSH/767dictionaries commands768 Command "look kid"769 stdout770 is expected to match /^kidding$/771 stderr772 is expected to be empty773 stdout774 is expected to match /^kidnappers$/775 stdout776 is expected to match /^kidney$/778User "travis"779 is expected to exist780 is expected to have login shell "/bin/bash"781 is expected to have home directory "/home/travis"783redis installation784 redis commands785 Command "redis-cli -p 16379 PING"786 stdout787 is expected to match /^PONG$/788 Command "redis-cli -p 16379 GET test_key | cat"789 stdout790 is expected to match /^test_value$/791 Command "redis-server --version"792 exit_status793 is expected to eq 0794 stdout795 is expected to match /^Redis /797go toolchain installation798 Command "go env GOROOT"799 stdout800 is expected to match /\/\.gimme\//801 Command "go version"802 stdout803 is expected to match /^go version go/804 compiling something805 Command "go run /tmp/packer-templates-20241007-7928-254nu9-rspec/example.go"806 stdout807 is expected to match /Good morrow, 19021/809gcc installation810 Command "gcc -v"811 stderr812 is expected to match /^gcc version/813 Command "cd /tmp/packer-templates-20241007-7928-254nu9-rspec/empty && gcc"814 stderr815 is expected to include "no input files"816 Command "817 cd /tmp/packer-templates-20241007-7928-254nu9-rspec;818 gcc -Wall -o hai hai.c;819 ./hai there820 "821 stdout822 is expected to match /^hai 2$/824mongodb installation825 Command "mongo --version"826 exit_status827 is expected to eq 0828 stdout829 is expected to match /MongoDB shell/830 mongo commands831 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""832 stdout833 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/834 Service "mongod"835 is expected not to be enabled836 is expected not to be running838mercurial installation839 mecurial commands are executed840 Command "cd /tmp/packer-templates-20241007-7928-254nu9-rspec/hg-project; hg status; hg add .; hg status"841 stdout842 is expected to match "A test-file.txt"843 stdout844 is expected to match "\\? test-file.txt"845 Command "hg version"846 exit_status847 is expected to eq 0848 stdout849 is expected to match /^Mercurial Distributed SCM \(version \d/851File "/opt"852 is expected to be directory853 is expected to be writable855Command "rsync --version"856 exit_status857 is expected to eq 0858 stdout859 is expected to match /rsync.+version/861emacs installation862 Command "emacs --version"863 exit_status864 is expected to eq 0865 editing866 File "/tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt"867 content868 is expected to match "poof"870Command "ldconfig -V"871 stdout872 is expected to include "ldconfig "873 exit_status874 is expected to eq 0876docker-compose installation877 Command "docker-compose --version"878 stdout879 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 1)880 exit_status881 is expected to eq 0883xserver installation884 Command "Xorg -version"885 exit_status886 is expected to eq 0887 Command "DISPLAY=:99.0 xset -q"888 stderr889 is expected to be empty890 exit_status891 is expected to eq 0892 stdout893 is expected to match /^Keyboard Control:/894 Command "xvfb-run -a xdpyinfo"895 stdout896 is expected to match /^\s+GLX$/897 stderr898 is expected to be empty899 exit_status900 is expected to eq 0902unarchivers installation903 Command "dpkg -s libbz2-dev"904 stdout905 is expected to match "Status: install ok installed"906 Command "907 gzip /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;908 rm /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;909 ls /tmp/packer-templates-20241007-7928-254nu9-rspec;910 gzip -d /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt.gz;911 cat /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt912 "913 stdout914 is expected to match "Konstantin broke all the things."915 stdout916 is expected to include "test.txt.gz"917 Command "unzip -version"918 exit_status919 is expected to eq 0920 stdout921 is expected to match /^UnZip \d/922 Command "gzip --version"923 exit_status924 is expected to eq 0925 stdout926 is expected to match /^gzip \d/927 Command "928 cd /tmp/packer-templates-20241007-7928-254nu9-rspec;929 zip test.zip test.txt;930 rm test.txt;931 ls /tmp/packer-templates-20241007-7928-254nu9-rspec;932 unzip test.zip;933 cat test.txt934 "935 stdout936 is expected to include "test.zip"937 stdout938 is expected to match "Konstantin broke all the things."939 Command "zip --version"940 stdout941 is expected to match /Zip \d/942 exit_status943 is expected to eq 0944 Command "945 bzip2 -z /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;946 rm /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt;947 ls /tmp/packer-templates-20241007-7928-254nu9-rspec;948 bzip2 -d /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt.bz2;949 cat /tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt950 "951 stdout952 is expected to include "test.txt.bz2"953 stdout954 is expected to match "Konstantin broke all the things."956ssh access957 File "/home/travis/.ssh/authorized_keys"958 is expected to be readable959 is expected to exist960 is expected to be writable961 size962 is expected to be positive963 File "/home/travis/.ssh/known_hosts"964 is expected to be writable965 is expected to be readable966 is expected to exist967 size968 is expected to be positive970apt installation971 /var/lib/apt/lists/*Packages*972 is non-empty973 apt architecture974 Command "dpkg --print-foreign-architectures"975 stdout976 is expected to match /i386/977 Command "dpkg --print-architecture"978 stdout979 is expected to match /amd64/980 Command "apt-get -v"981 exit_status982 is expected to eq 0983 Command "apt-cache search ubuntu-restricted-extras"984 stdout985 is expected not to be empty986 apt commands987 Command "sudo apt-get update -y"988 stdout989 is expected to match /http/990 Command "sudo apt-get install -y language-pack-pt"991 stdout992 is expected to match /Reading state/993 File "/var/lib/apt/lists"994 is expected to be directory996Command "iptables --version"997 stdout998 is expected to include "iptables"999 exit_status1000 is expected to eq 01002memcached installation1003 memcached commands1004 Service "memcached"1005 is expected to be running1006 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"1007 stdout1008 is expected to match "version"1009 Command "memcached -h"1010 stdout1011 is expected to match /^memcached \d/1012 exit_status1013 is expected to eq 01014 Package "memcached"1015 is expected to be installed1017sysctl installation1018 Command "sysctl -a"1019 stdout1020 is expected to include "kernel.sched_child_runs_first"1021 Command "sysctl -V"1022 exit_status1023 is expected to eq 01025Command "mysql --version"1026 exit_status1027 is expected to eq 01028 stdout1029 is expected to match /^mysql /1031nodejs interpreter1032 Command "node -e "console.log('Konstantin broke all the thingz')""1033 stdout1034 is expected to match "Konstantin broke all the thingz"1035 Command "node -v"1036 stdout1037 is expected to match /v\d/1038 exit_status1039 is expected to eq 01041File "/etc/cloud/templates/hosts.ubuntu.tmpl"1042 is expected to be exist1043 content1044 is expected to match /managed by chef/i1045 content1046 is expected to match /travis_build_environment/i1048Command "cmake --version"1049 exit_status1050 is expected to eq 01051 stdout1052 is expected to match /^cmake version [23]/1054bazaar installation1055 Command "bzr version"1056 stdout1057 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/1058 exit_status1059 is expected to eq 01060 bazaar commands1061 Command "1062 cd /tmp/packer-templates-20241007-7928-254nu9-rspec/bzr-project;1063 bzr status;1064 bzr add test.txt;1065 bzr status;1066 "1067 stdout1068 is expected to match /^unknown:/1069 stdout1070 is expected to match /^adding test\.txt/1071 stdout1072 is expected to match /^ test\.txt/1073 stdout1074 is expected to match /^ test\.txt/1075 stdout1076 is expected to match /^added:/1078dictionaries installation1079 Package "wamerican"1080 is expected to be installed1082phantomjs installation1083 Command "phantomjs -v"1084 stdout1085 is expected to match /\d/1086 exit_status1087 is expected to eq 01088 Command "phantomjs /tmp/packer-templates-20241007-7928-254nu9-rspec/test.js"1089 stdout1090 is expected to match "Status: success"1092php environment1093 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"1094 stdout1095 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/1096 exit_status1097 is expected to eq 01098 Command "PHPENV_VERSION=system phpenv exec php -m --version"1099 stdout1100 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"1101 File "/home/travis/.pearrc"1102 is expected not to exist1104Command "heroku version"1105 stdout1106 is expected to match /^heroku/1108ragel installation1109 Package "ragel"1110 is expected to be installed1111 ragel commands1112 add a ragel file and execute a ragel command1113 File "/tmp/packer-templates-20241007-7928-254nu9-rspec/hello_world.rb"1114 content1115 is expected to match /^puts "Hello World"/1116 Command "ragel -v"1117 stdout1118 is expected to match /^Ragel /1119 exit_status1120 is expected to eq 01122File "/etc/cloud/templates/hosts.debian.tmpl"1123 is expected to be exist1124 content1125 is expected to match /travis_build_environment/i1126 content1127 is expected to match /managed by chef/i1129File "/etc/cloud/templates/sources.list.ubuntu.tmpl"1130 content1131 is expected to match /managed by chef/i1132 content1133 is expected to match /travis_build_environment/i1135clang installation1136 Command "clang -v"1137 exit_status1138 is expected to eq 01139 clang command1140 Command "clang -help"1141 stdout1142 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"1144postgresql installation1145 Command " psql --version"1146 exit_status1147 is expected to eq 01148 stdout1149 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 2)1150 psql commands1151 Command " psql -U travis -ltA"1152 stdout1153 is expected to match /^test_db\|/1154 with a test table1155 Command " psql -U travis -tA -c '\dt' test_db"1156 stderr1157 is expected to be empty1158 stdout1159 is expected to match /^public\|test_table\|/1161Command "packer version"1162 exit_status1163 is expected to eq 01164 stdout1165 is expected to match /^Packer v\d/1167go installation1168 Command "gimme -l"1169 stdout1170 is expected not to be empty1172imagemagick installation1173 imagemagick commands1174 Command "identify /tmp/packer-templates-20241007-7928-254nu9-rspec/logo.gif"1175 exit_status1176 is expected to eq 01177 stdout1178 is expected to match /logo\.gif GIF/1179 Command "convert --version"1180 exit_status1181 is expected to eq 01182 stdout1183 is expected to match /imagemagick/i1185ruby interpreter1186 Command "ruby --version"1187 stdout1188 is expected to match /^ruby 3\.\d+\.\d+/1189 stderr1190 is expected to be empty1191 Command "ruby -e 'puts RUBY_ENGINE'"1192 stdout1193 is expected to match /^ruby/1194 Command "ruby -e 'puts "Konstanin broke all the things!"'"1195 stdout1196 is expected to match /^Konstanin broke all the things!$/1198rvm installation1199 File "/home/travis/.rvm/user/db"1200 is expected to exist1201 is expected to be writable1202 is expected to be readable1203 rvm commands1204 Command "rvm default do echo whatever"1205 stderr1206 is expected not to include "Warning!"1207 stdout1208 is expected not to include "Warning!"1209 stdout1210 is expected to include "whatever"1211 Command "rvm list"1212 stdout1213 is expected to match /ruby-2\.[234567]\.\d/1214 stdout1215 is expected to include "current"1216 stderr1217 is expected to be empty1218 Command "rvm version"1219 stderr1220 is expected to be empty1221 stdout1222 is expected to match /^rvm /1223 exit_status1224 is expected to eq 01225 File "/home/travis/.rvmrc"1226 is expected to be writable1227 is expected to be readable1228 is expected to exist1230File "/etc/cloud/templates/sources.list.tmpl"1231 content1232 is expected to match /managed by chef/i1233 content1234 is expected to match /travis_build_environment/i1236openssl installation1237 Command "openssl version"1238 exit_status1239 is expected to eq 01240 stdout1241 is expected to match /^OpenSSL/1242 openssl commands1243******************************************************************************************1244 stdout1245 is expected to match "Konstantin broke all the things."1246 Command "echo "Konstantin broke all the things." | openssl enc -base64"1247 stdout1248************************************************************************************1250perl interpreter1251 Command "perl -e 'print "Hello Mr Euler!\n"'"1252 stdout1253 is expected to match /^Hello Mr Euler!/1254 stderr1255 is expected to be empty1256 Command "perl --version"1257 stdout1258 is expected to match /perl 5, version \d/1259 stderr1260 is expected to be empty1262git installation1263 git commands1264 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"1265 stdout1266 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"1267 stdout1268 is expected to match /nothing to commit/1269 Package "git"1270 is expected to be installed1271 Command "git --version"1272 exit_status1273 is expected to eq 01274 stdout1275 is expected to match /^git version (2\.|1\.[89])/1276 Command "git config user.name"1277 stdout1278 is expected to match /travis/i1279 Command "git config user.email"1280 stdout1281 is expected to match /travis@example\.org/1283md5deep installation1284 Command "md5deep -V"1285 stdout1286 is expected to match "This program is a work of the US Government."1287 Command "md5deep /tmp/packer-templates-20241007-7928-254nu9-rspec/md5deep.txt"1288 stdout1289 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/1290 Command "md5deep -v"1291 exit_status1292 is expected to eq 01294python environment1295 Command "true ; wheel version"1296 stderr1297 is expected to be empty (FAILED - 3)1298 stdout1299 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 4)1300 Command "true ; nosetests --version"1301 stderr1302 is expected to be empty (FAILED - 5)1303 stdout1304 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 6)1305 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"1306 stderr1307 is expected to be empty1308 stdout1309 is expected to match /^\d+\.\d+/1310 Command "true ; pip --version"1311 stdout1312 is expected to match /^pip \d+\.\d+(\.\d+)?/1313 stderr1314 is expected to be empty1315 Command "true ; py.test --version"1316 stderr1317 is expected to be empty (FAILED - 7)1318 stdout1319 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 8)1321sqlite installation1322 Command "sqlite3 -version"1323 exit_status1324 is expected to eq 01325 stdout1326 is expected to match /^\d\.\d/1327 sqlite commands are executed1328 Command "1329 sqlite3 /tmp/packer-templates-20241007-7928-254nu9-rspec/test.db "1330 CREATE TABLE hats (1331 id INTEGER PRIMARY KEY,1332 name TEXT,1333 style INTEGER1334 );1335 INSERT INTO hats VALUES(1, 'floppy', 9001);1336 SELECT * FROM hats;1337 "1338 "1339 stdout1340 is expected to match "1|floppy|9001"1342File "/.node-attributes.yml"1343 is expected to exist1344 content_as_yaml1345 is expected to include "__timestamp"1347File "/etc/cloud/templates/sources.list.debian.tmpl"1348 content1349 is expected to match /travis_build_environment/i1350 content1351 is expected to match /managed by chef/i1353vim installation1354 File "/tmp/packer-templates-20241007-7928-254nu9-rspec/test.txt"1355 content1356 is expected to match /there/1357 Command "vim --version"1358 exit_status1359 is expected to eq 01360 stderr1361 is expected to be empty1362 stdout1363 is expected not to be empty1365subversion installation1366 Command "svn --version"1367 exit_status1368 is expected to eq 01369 subversion commands are executed1370 File "/tmp/packer-templates-20241007-7928-254nu9-rspec/svn-project/README.txt"1371 content1372 is expected to match "This is a Subversion repository;"1374perlbrew installation1375 Command "perlbrew list"1376 exit_status1377 is expected to eq 01378 Command "perlbrew --version"1379 exit_status1380 is expected to eq 01381 stdout1382 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/1384File "/etc/cloud/templates"1385 is expected to be directory1387Command "curl --version | head -1"1388 exit_status1389 is expected to eq 01390 stdout1391 is expected to include "curl"1393Command "bats --version"1394 stdout1395 is expected to match /^Bats \d/1397Command "shellcheck --version"1398 stdout1399 is expected to match /^version: \d+\.\d+\.\d+/1401jq installation1402 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241007-7928-254nu9-rspec/test.json"1403 stdout1404 is expected to match /^Konstantin broke all the things/1405 Command "jq -V"1406 exit_status1407 is expected to eq 01409jdk installation1410 should have JAVA_HOME defined1411 Command "java -version"1412 exit_status1413 is expected to eq 01414 stderr1415 is expected to match /^(java|openjdk)/1416 java command1417 Command "cd /tmp/packer-templates-20241007-7928-254nu9-rspec && java Hello"1418 stdout1419 is expected to match "Hello World!"1421python3 interpreter1422 Command "python3 -m this"1423 stderr1424 is expected to be empty1425 stdout1426 is expected to match /Readability counts\./1427 python3 --version1428 is expected to match /^Python \d+\.\d+\.\d+/1430File "/home/travis/bin"1431 is expected to be writable1432 is expected to be directory1434Command "lsof -v 2>&1 | head -2 | tail -1"1435 exit_status1436 is expected to eq 01437 stdout1438 is expected to match /revision:/1440mysql installation1441 mysql commands1442 Command "mysql -u root -e 'select "hai"'"1443 stdout1444 is expected to match /hai/1445 exit_status1446 is expected to eq 01447 stderr1448 is expected to be empty1449 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"1450 stdout1451 is expected to include "performance_schema\tOFF" (FAILED - 9)1452 Command "mysql -u travis -e 'select "hai"'"1453 exit_status1454 is expected to eq 01455 stdout1456 is expected to match /hai/1457 stderr1458 is expected to be empty1459 Command "echo "SELECT id FROM test" | mysql travis"1460 stdout1461 is expected to match /^4$/1462 Command "echo "SHOW DATABASES" | mysql"1463 stdout1464 is expected to match /^travis$/1465 File "/etc/mysql/conf.d/performance-schema.cnf"1466 is expected to exist (FAILED - 10)1467 is expected to be owned by "root" (FAILED - 11)1468 is expected to be grouped into "root" (FAILED - 12)1469 is expected to be readable (FAILED - 13)1470 File "/home/travis/.my.cnf"1471 is expected to be owned by "travis"1472 is expected to be grouped into "travis"1473 is expected to be readable1474 is expected to exist1476php interpreter1477 Command "PHPENV_VERSION=system phpenv exec php --version"1478 stdout1479 is expected to match /^PHP \d+\.\d+/1480 stderr1481 is expected to be empty1482 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"1483 stdout1484 is expected to match /^2 4 6 8 10/1485 stderr1486 is expected to be empty1488ruby installation1489 Command "rspec --version"1490 stderr1491 is expected to be empty1492 stdout1493 is expected to match /^RSpec \d+\.\d+/1494 Command "gem --version"1495 stderr1496 is expected to be empty1497 stdout1498 is expected to match /^\d+\.\d+\.\d+/1500File "/usr/share/travis/system_info"1501 is expected to exist1502 size1503 is expected to be positive1505Command "sudo -V"1506 stdout1507 is expected to match /^Sudo version \d/1509gimme installation1510 Command "gimme --version"1511 exit_status1512 is expected to eq 01513 Command "eval "$(HOME=/tmp/packer-templates-20241007-7928-254nu9-rspec gimme 1.6.3)" 2>&1"1514 stdout1515 is expected to match "go version go1.6.3"1517File "/etc/cloud/templates/hosts.tmpl"1518 is expected to be exist1519 content1520 is expected to match /managed by chef/i1521 content1522 is expected to match /travis_build_environment/i1524Command "psql --version"1525 exit_status1526 is expected to eq 01527 stdout1528 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)1530File "/etc/cloud/cloud.cfg"1531 content1532 is expected to match /travis_build_environment/i1533 content1534 is expected to match /managed by chef/i1536Command "wget --version"1537 exit_status1538 is expected to eq 01539 stdout1540 is expected to include "GNU Wget"1542Command "ldconfig -p | grep libldap"1543 stdout1544 is expected to match /libldap_r/1545 exit_status1546 is expected to eq 01548Command "nc -h"1549 exit_status1550 is expected to eq 01552firefox installation1553 Command "sudo -u travis firefox -v"1554 stderr1555 is expected to be empty1556 exit_status1557 is expected to eq 01558 firefox commands1559 File "/tmp/packer-templates-20241007-7928-254nu9-rspec/.mozilla/firefox/profiles.ini"1560 is expected to exist1561 content1562 is expected to match /^Name=test/1564Command "shfmt -version"1565 stdout1566 is expected to match /^v\d+\.\d+\.\d+/1568python2 interpreter1569 python --version1570 is expected to match /^Python \d+\.\d+\.\d+/1571 Command "python -m this"1572 stderr1573 is expected to be empty1574 stdout1575 is expected to match /Readability counts\./1577Failures:1579 1) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/1581 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/1590 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'1592 2) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/1594 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/1601 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'1603 3) python environment Command "true ; wheel version" stderr is expected to be empty1608 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'1610 4) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/1619 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'1621 5) python environment Command "true ; nosetests --version" stderr is expected to be empty1626 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'1628 6) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/1637 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'1639 7) python environment Command "true ; py.test --version" stderr is expected to be empty1644 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'1646 8) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/1655 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'1657 9) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"1668performance_schema ON1670 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'1672 10) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist1677 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'1679 11) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"1681 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false1682 /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$1684 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'1686 12) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"1688 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false1689 /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$1691 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'1693 13) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable1698 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'1700 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})/1702 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})/1709 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'1711Finished in 1 minute 8.79 seconds (files took 1.15 seconds to load)1712280 examples, 14 failures1714Failed examples:1716rspec /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+/1717rspec /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])/1718rspec /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 empty1719rspec /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+/1720rspec /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 empty1721rspec /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+/1722rspec /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 empty1723rspec /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+/1724rspec /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"1725rspec /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 exist1726rspec /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"1727rspec /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"1728rspec /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 readable1729rspec /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})/1731Randomized with seed 586361733+ local exit_code=11734+ [[ 1 != 0 ]]1735+ echo 'Spec suite exited with 1'1736Spec suite exited with 11737+ [[ -n '' ]]1738+ exit 11740The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 2 of 3.1742+sudo packer-scripts/run-serverspecs1743+ shopt -s nullglob1744+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1745+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1746+ export CHEF_LICENSE=accept-silent1747+ CHEF_LICENSE=accept-silent1748+ 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/bin1749+ 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/bin1750+ export DEBIAN_FRONTEND=noninteractive1751+ DEBIAN_FRONTEND=noninteractive1752+ export RUBYOPT=-W01753+ RUBYOPT=-W01754+ : /home/travis/build/travis-ci/packer-templates/tmp1755+ : 'bash -lc'1756+ : docker1757+ [[ docker == \d\o\c\k\e\r ]]1758+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'1759+ SPEC_ARGS='--tag ~dev --tag ~docker:false'1760++ uname -m1761+ [[ x86_64 =~ aarch64 ]]1762++ uname -m1763+ [[ x86_64 =~ ppc64 ]]1764+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp1765+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]1766+ return1767+ __create_sudo_bash1768+ cat1769+ chmod 0755 /tmp/sudo-bash1770+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp1771+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp1772+ for suite in ${SPEC_SUITES/,/ }1773+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'1774+ local suite=travis_packer_templates1775+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1776+ local 'runner=bash -lc'1777+ local cookbook_dir1778++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp1779++ local suite=travis_packer_templates1780++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1781++ local spec_dir1782+++ head -11783+++ 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 d1784++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1785++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1786+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1787+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1788+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'1789+ local suite=travis_packer_templates1790+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1791+ local 'runner=bash -lc'1792+ set +o errexit1793++ uname -m1794++ uname -m1795+ bash -lc '1796set -o xtrace1797export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"1798export TERM=xterm1799export PACKER_BUILDER_TYPE=docker1800export RUBYOPT=-W01801if [[ x86_64 =~ ppc64 ]]; then1802 gem install serverspec1803else1804 chef gem install serverspec1805fi1806unset GEM_PATH1807cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1808sudo systemctl start xvfb.service1809set -o errexit1810if [[ x86_64 =~ ppc64 ]]; then1811 rspec --tag ~dev --tag ~docker:false \1812 --format documentation \1813 --format json \1814 --out /home/travis/.travis_packer_templates_rspec.json1815else1816 chef exec rspec --tag ~dev --tag ~docker:false \1817 --format documentation \1818 --format json \1819 --out /home/travis/.travis_packer_templates_rspec.json1820fi1821'1822+ 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/bin1823+ 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/bin1824+ export TERM=xterm1825+ TERM=xterm1826+ export PACKER_BUILDER_TYPE=docker1827+ PACKER_BUILDER_TYPE=docker1828+ export RUBYOPT=-W01829+ RUBYOPT=-W01830+ [[ x86_64 =~ ppc64 ]]1831+ chef gem install serverspec1832WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,1833 gem executables will not run.1834Successfully installed serverspec-2.42.318351 gem installed1836+ unset GEM_PATH1837+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1838+ sudo systemctl start xvfb.service1839+ set -o errexit1840+ [[ x86_64 =~ ppc64 ]]1841+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json1842Run options: exclude {:dev=>true, :docker=>false}1844Randomized with seed 475701846jq installation1847 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241007-12048-jyojje-rspec/test.json"1848 stdout1849 is expected to match /^Konstantin broke all the things/1850 Command "jq -V"1851 exit_status1852 is expected to eq 01854Command "curl --version | head -1"1855 exit_status1856 is expected to eq 01857 stdout1858 is expected to include "curl"1860subversion installation1861 subversion commands are executed1862 File "/tmp/packer-templates-20241007-12048-jyojje-rspec/svn-project/README.txt"1863 content1864 is expected to match "This is a Subversion repository;"1865 Command "svn --version"1866 exit_status1867 is expected to eq 01869docker-compose installation1870 Command "docker-compose --version"1871 stdout1872 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 1)1873 exit_status1874 is expected to eq 01876python environment1877 Command "true ; nosetests --version"1878 stderr1879 is expected to be empty (FAILED - 2)1880 stdout1881 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 3)1882 Command "true ; wheel version"1883 stderr1884 is expected to be empty (FAILED - 4)1885 stdout1886 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 5)1887 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"1888 stderr1889 is expected to be empty1890 stdout1891 is expected to match /^\d+\.\d+/1892 Command "true ; pip --version"1893 stderr1894 is expected to be empty1895 stdout1896 is expected to match /^pip \d+\.\d+(\.\d+)?/1897 Command "true ; py.test --version"1898 stderr1899 is expected to be empty (FAILED - 6)1900 stdout1901 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 7)1903go toolchain installation1904 Command "go env GOROOT"1905 stdout1906 is expected to match /\/\.gimme\//1907 compiling something1908 Command "go run /tmp/packer-templates-20241007-12048-jyojje-rspec/example.go"1909 stdout1910 is expected to match /Good morrow, 10545/1911 Command "go version"1912 stdout1913 is expected to match /^go version go/1915go installation1916 Command "gimme -l"1917 stdout1918 is expected not to be empty1920Command "shellcheck --version"1921 stdout1922 is expected to match /^version: \d+\.\d+\.\d+/1924imagemagick installation1925 Command "convert --version"1926 stdout1927 is expected to match /imagemagick/i1928 exit_status1929 is expected to eq 01930 imagemagick commands1931 Command "identify /tmp/packer-templates-20241007-12048-jyojje-rspec/logo.gif"1932 stdout1933 is expected to match /logo\.gif GIF/1934 exit_status1935 is expected to eq 01937sysctl installation1938 Command "sysctl -a"1939 stdout1940 is expected to include "kernel.sched_child_runs_first"1941 Command "sysctl -V"1942 exit_status1943 is expected to eq 01945phantomjs installation1946 Command "phantomjs /tmp/packer-templates-20241007-12048-jyojje-rspec/test.js"1947 stdout1948 is expected to match "Status: success"1949 Command "phantomjs -v"1950 stdout1951 is expected to match /\d/1952 exit_status1953 is expected to eq 01955mysql installation1956 File "/home/travis/.my.cnf"1957 is expected to be readable1958 is expected to be grouped into "travis"1959 is expected to be owned by "travis"1960 is expected to exist1961 mysql commands1962 Command "mysql -u travis -e 'select "hai"'"1963 stderr1964 is expected to be empty1965 stdout1966 is expected to match /hai/1967 exit_status1968 is expected to eq 01969 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"1970 stdout1971 is expected to include "performance_schema\tOFF" (FAILED - 8)1972 Command "echo "SELECT id FROM test" | mysql travis"1973 stdout1974 is expected to match /^4$/1975 Command "echo "SHOW DATABASES" | mysql"1976 stdout1977 is expected to match /^travis$/1978 Command "mysql -u root -e 'select "hai"'"1979 stderr1980 is expected to be empty1981 stdout1982 is expected to match /hai/1983 exit_status1984 is expected to eq 01985 File "/etc/mysql/conf.d/performance-schema.cnf"1986 is expected to be owned by "root" (FAILED - 9)1987 is expected to exist (FAILED - 10)1988 is expected to be readable (FAILED - 11)1989 is expected to be grouped into "root" (FAILED - 12)1991sqlite installation1992 Command "sqlite3 -version"1993 stdout1994 is expected to match /^\d\.\d/1995 exit_status1996 is expected to eq 01997 sqlite commands are executed1998 Command "1999 sqlite3 /tmp/packer-templates-20241007-12048-jyojje-rspec/test.db "2000 CREATE TABLE hats (2001 id INTEGER PRIMARY KEY,2002 name TEXT,2003 style INTEGER2004 );2005 INSERT INTO hats VALUES(1, 'floppy', 9001);2006 SELECT * FROM hats;2007 "2008 "2009 stdout2010 is expected to match "1|floppy|9001"2012Command "nc -h"2013 exit_status2014 is expected to eq 02016File "/etc/cloud/templates/sources.list.tmpl"2017 content2018 is expected to match /travis_build_environment/i2019 content2020 is expected to match /managed by chef/i2022redis installation2023 Command "redis-server --version"2024 exit_status2025 is expected to eq 02026 stdout2027 is expected to match /^Redis /2028 redis commands2029 Command "redis-cli -p 16379 GET test_key | cat"2030 stdout2031 is expected to match /^test_value$/2032 Command "redis-cli -p 16379 PING"2033 stdout2034 is expected to match /^PONG$/2036File "/etc/cloud/cloud.cfg"2037 content2038 is expected to match /travis_build_environment/i2039 content2040 is expected to match /managed by chef/i2042md5deep installation2043 Command "md5deep /tmp/packer-templates-20241007-12048-jyojje-rspec/md5deep.txt"2044 stdout2045 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/2046 Command "md5deep -v"2047 exit_status2048 is expected to eq 02049 Command "md5deep -V"2050 stdout2051 is expected to match "This program is a work of the US Government."2053php interpreter2054 Command "PHPENV_VERSION=system phpenv exec php --version"2055 stderr2056 is expected to be empty2057 stdout2058 is expected to match /^PHP \d+\.\d+/2059 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"2060 stderr2061 is expected to be empty2062 stdout2063 is expected to match /^2 4 6 8 10/2065ruby interpreter2066 Command "ruby --version"2067 stderr2068 is expected to be empty2069 stdout2070 is expected to match /^ruby 3\.\d+\.\d+/2071 Command "ruby -e 'puts "Konstanin broke all the things!"'"2072 stdout2073 is expected to match /^Konstanin broke all the things!$/2074 Command "ruby -e 'puts RUBY_ENGINE'"2075 stdout2076 is expected to match /^ruby/2078vim installation2079 Command "vim --version"2080 stdout2081 is expected not to be empty2082 exit_status2083 is expected to eq 02084 stderr2085 is expected to be empty2086 File "/tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt"2087 content2088 is expected to match /there/2090Command "iptables --version"2091 stdout2092 is expected to include "iptables"2093 exit_status2094 is expected to eq 02096perlbrew installation2097 Command "perlbrew --version"2098 exit_status2099 is expected to eq 02100 stdout2101 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/2102 Command "perlbrew list"2103 exit_status2104 is expected to eq 02106unarchivers installation2107 Command "2108 gzip /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;2109 rm /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;2110 ls /tmp/packer-templates-20241007-12048-jyojje-rspec;2111 gzip -d /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt.gz;2112 cat /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt2113 "2114 stdout2115 is expected to include "test.txt.gz"2116 stdout2117 is expected to match "Konstantin broke all the things."2118 Command "2119 cd /tmp/packer-templates-20241007-12048-jyojje-rspec;2120 zip test.zip test.txt;2121 rm test.txt;2122 ls /tmp/packer-templates-20241007-12048-jyojje-rspec;2123 unzip test.zip;2124 cat test.txt2125 "2126 stdout2127 is expected to match "Konstantin broke all the things."2128 stdout2129 is expected to include "test.zip"2130 Command "unzip -version"2131 stdout2132 is expected to match /^UnZip \d/2133 exit_status2134 is expected to eq 02135 Command "dpkg -s libbz2-dev"2136 stdout2137 is expected to match "Status: install ok installed"2138 Command "zip --version"2139 exit_status2140 is expected to eq 02141 stdout2142 is expected to match /Zip \d/2143 Command "2144 bzip2 -z /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;2145 rm /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt;2146 ls /tmp/packer-templates-20241007-12048-jyojje-rspec;2147 bzip2 -d /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt.bz2;2148 cat /tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt2149 "2150 stdout2151 is expected to include "test.txt.bz2"2152 stdout2153 is expected to match "Konstantin broke all the things."2154 Command "gzip --version"2155 stdout2156 is expected to match /^gzip \d/2157 exit_status2158 is expected to eq 02160Command "mysql --version"2161 exit_status2162 is expected to eq 02163 stdout2164 is expected to match /^mysql /2166postgresql installation2167 psql commands2168 Command " psql -U travis -ltA"2169 stdout2170 is expected to match /^test_db\|/2171 with a test table2172 Command " psql -U travis -tA -c '\dt' test_db"2173 stdout2174 is expected to match /^public\|test_table\|/2175 stderr2176 is expected to be empty2177 Command " psql --version"2178 stdout2179 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 13)2180 exit_status2181 is expected to eq 02183git installation2184 Command "git config user.name"2185 stdout2186 is expected to match /travis/i2187 git commands2188 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"2189 stdout2190 is expected to match /nothing to commit/2191 stdout2192 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"2193 Command "git config user.email"2194 stdout2195 is expected to match /travis@example\.org/2196 Command "git --version"2197 stdout2198 is expected to match /^git version (2\.|1\.[89])/2199 exit_status2200 is expected to eq 02201 Package "git"2202 is expected to be installed2204Command "bats --version"2205 stdout2206 is expected to match /^Bats \d/2208php environment2209 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"2210 stdout2211 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/2212 exit_status2213 is expected to eq 02214 Command "PHPENV_VERSION=system phpenv exec php -m --version"2215 stdout2216 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"2217 File "/home/travis/.pearrc"2218 is expected not to exist2220File "/usr/share/travis/system_info"2221 is expected to exist2222 size2223 is expected to be positive2225mongodb installation2226 Service "mongod"2227 is expected not to be enabled2228 is expected not to be running2229 mongo commands2230 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""2231 stdout2232 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/2233 Command "mongo --version"2234 exit_status2235 is expected to eq 02236 stdout2237 is expected to match /MongoDB shell/2239File "/etc/cloud/templates/hosts.debian.tmpl"2240 is expected to be exist2241 content2242 is expected to match /travis_build_environment/i2243 content2244 is expected to match /managed by chef/i2246File "/etc/cloud/templates/sources.list.ubuntu.tmpl"2247 content2248 is expected to match /managed by chef/i2249 content2250 is expected to match /travis_build_environment/i2252File "/.node-attributes.yml"2253 is expected to exist2254 content_as_yaml2255 is expected to include "__timestamp"2257python3 interpreter2258 Command "python3 -m this"2259 stderr2260 is expected to be empty2261 stdout2262 is expected to match /Readability counts\./2263 python3 --version2264 is expected to match /^Python \d+\.\d+\.\d+/2266Command "wget --version"2267 exit_status2268 is expected to eq 02269 stdout2270 is expected to include "GNU Wget"2272Command "rsync --version"2273 exit_status2274 is expected to eq 02275 stdout2276 is expected to match /rsync.+version/2278gimme installation2279 Command "gimme --version"2280 exit_status2281 is expected to eq 02282 Command "eval "$(HOME=/tmp/packer-templates-20241007-12048-jyojje-rspec gimme 1.6.3)" 2>&1"2283 stdout2284 is expected to match "go version go1.6.3"2286Command "cmake --version"2287 stdout2288 is expected to match /^cmake version [23]/2289 exit_status2290 is expected to eq 02292firefox installation2293 Command "sudo -u travis firefox -v"2294 stderr2295 is expected to be empty2296 exit_status2297 is expected to eq 02298 firefox commands2299 File "/tmp/packer-templates-20241007-12048-jyojje-rspec/.mozilla/firefox/profiles.ini"2300 is expected to exist2301 content2302 is expected to match /^Name=test/2304perl interpreter2305 Command "perl --version"2306 stdout2307 is expected to match /perl 5, version \d/2308 stderr2309 is expected to be empty2310 Command "perl -e 'print "Hello Mr Euler!\n"'"2311 stdout2312 is expected to match /^Hello Mr Euler!/2313 stderr2314 is expected to be empty2316apt installation2317 /var/lib/apt/lists/*Packages*2318 is non-empty2319 apt commands2320 Command "sudo apt-get install -y language-pack-pt"2321 stdout2322 is expected to match /Reading state/2323 Command "sudo apt-get update -y"2324 stdout2325 is expected to match /http/2326 Command "apt-cache search ubuntu-restricted-extras"2327 stdout2328 is expected not to be empty2329 apt architecture2330 Command "dpkg --print-architecture"2331 stdout2332 is expected to match /amd64/2333 Command "dpkg --print-foreign-architectures"2334 stdout2335 is expected to match /i386/2336 Command "apt-get -v"2337 exit_status2338 is expected to eq 02339 File "/var/lib/apt/lists"2340 is expected to be directory2342User "travis"2343 is expected to exist2344 is expected to have login shell "/bin/bash"2345 is expected to have home directory "/home/travis"2347Command "packer version"2348 exit_status2349 is expected to eq 02350 stdout2351 is expected to match /^Packer v\d/2353gcc installation2354 Command "2355 cd /tmp/packer-templates-20241007-12048-jyojje-rspec;2356 gcc -Wall -o hai hai.c;2357 ./hai there2358 "2359 stdout2360 is expected to match /^hai 2$/2361 Command "gcc -v"2362 stderr2363 is expected to match /^gcc version/2364 Command "cd /tmp/packer-templates-20241007-12048-jyojje-rspec/empty && gcc"2365 stderr2366 is expected to include "no input files"2368Command "ldconfig -V"2369 exit_status2370 is expected to eq 02371 stdout2372 is expected to include "ldconfig "2374dictionaries installation2375 Package "wamerican"2376 is expected to be installed2378bazaar installation2379 Command "bzr version"2380 stdout2381 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/2382 exit_status2383 is expected to eq 02384 bazaar commands2385 Command "2386 cd /tmp/packer-templates-20241007-12048-jyojje-rspec/bzr-project;2387 bzr status;2388 bzr add test.txt;2389 bzr status;2390 "2391 stdout2392 is expected to match /^adding test\.txt/2393 stdout2394 is expected to match /^unknown:/2395 stdout2396 is expected to match /^ test\.txt/2397 stdout2398 is expected to match /^added:/2399 stdout2400 is expected to match /^ test\.txt/2402File "/etc/cloud/templates"2403 is expected to be directory2405Command "lsof -v 2>&1 | head -2 | tail -1"2406 exit_status2407 is expected to eq 02408 stdout2409 is expected to match /revision:/2411memcached installation2412 memcached commands2413 Service "memcached"2414 is expected to be running2415 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"2416 stdout2417 is expected to match "version"2418 Package "memcached"2419 is expected to be installed2420 Command "memcached -h"2421 stdout2422 is expected to match /^memcached \d/2423 exit_status2424 is expected to eq 02426xserver installation2427 Command "DISPLAY=:99.0 xset -q"2428 stderr2429 is expected to be empty2430 exit_status2431 is expected to eq 02432 stdout2433 is expected to match /^Keyboard Control:/2434 Command "Xorg -version"2435 exit_status2436 is expected to eq 02437 Command "xvfb-run -a xdpyinfo"2438 stderr2439 is expected to be empty2440 exit_status2441 is expected to eq 02442 stdout2443 is expected to match /^\s+GLX$/2445File "/etc/cloud/templates/hosts.ubuntu.tmpl"2446 is expected to be exist2447 content2448 is expected to match /travis_build_environment/i2449 content2450 is expected to match /managed by chef/i2452rvm installation2453 Command "rvm version"2454 stderr2455 is expected to be empty2456 exit_status2457 is expected to eq 02458 stdout2459 is expected to match /^rvm /2460 File "/home/travis/.rvmrc"2461 is expected to exist2462 is expected to be readable2463 is expected to be writable2464 rvm commands2465 Command "rvm list"2466 stdout2467 is expected to include "current"2468 stdout2469 is expected to match /ruby-2\.[234567]\.\d/2470 stderr2471 is expected to be empty2472 Command "rvm default do echo whatever"2473 stdout2474 is expected not to include "Warning!"2475 stderr2476 is expected not to include "Warning!"2477 stdout2478 is expected to include "whatever"2479 File "/home/travis/.rvm/user/db"2480 is expected to exist2481 is expected to be readable2482 is expected to be writable2484mercurial installation2485 Command "hg version"2486 stdout2487 is expected to match /^Mercurial Distributed SCM \(version \d/2488 exit_status2489 is expected to eq 02490 mecurial commands are executed2491 Command "cd /tmp/packer-templates-20241007-12048-jyojje-rspec/hg-project; hg status; hg add .; hg status"2492 stdout2493 is expected to match "A test-file.txt"2494 stdout2495 is expected to match "\\? test-file.txt"2497emacs installation2498 Command "emacs --version"2499 exit_status2500 is expected to eq 02501 editing2502 File "/tmp/packer-templates-20241007-12048-jyojje-rspec/test.txt"2503 content2504 is expected to match "poof"2506nodejs interpreter2507 Command "node -e "console.log('Konstantin broke all the thingz')""2508 stdout2509 is expected to match "Konstantin broke all the thingz"2510 Command "node -v"2511 stdout2512 is expected to match /v\d/2513 exit_status2514 is expected to eq 02516sudoers setup2517 File "/etc/sudoers"2518 is expected to be mode 4402519 is expected to be owned by "root"2520 is expected to be file2521 is expected to exist2522 content2523 is expected to match /^#includedir \/etc\/sudoers\.d$/2524 File "/etc/sudoers.d/travis"2525 is expected to be mode 4402526 is expected to be file2527 is expected to be owned by "root"2528 is expected to exist2529 content2530 is expected to match /^Defaults !mail_badpass$/2531 content2532 is expected to match /^Defaults !authenticate$/2533 content2534 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/2535 content2536 is expected to match /^Defaults !env_reset$/2538Command "psql --version"2539 stdout2540 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)2541 exit_status2542 is expected to eq 02544ragel installation2545 Package "ragel"2546 is expected to be installed2547 ragel commands2548 add a ragel file and execute a ragel command2549 File "/tmp/packer-templates-20241007-12048-jyojje-rspec/hello_world.rb"2550 content2551 is expected to match /^puts "Hello World"/2552 Command "ragel -v"2553 stdout2554 is expected to match /^Ragel /2555 exit_status2556 is expected to eq 02558Command "ldconfig -p | grep libldap"2559 stdout2560 is expected to match /libldap_r/2561 exit_status2562 is expected to eq 02564File "/opt"2565 is expected to be writable2566 is expected to be directory2568python2 interpreter2569 python --version2570 is expected to match /^Python \d+\.\d+\.\d+/2571 Command "python -m this"2572 stderr2573 is expected to be empty2574 stdout2575 is expected to match /Readability counts\./2577Command "sudo -V"2578 stdout2579 is expected to match /^Sudo version \d/2581openssl installation2582 openssl commands2583******************************************************************************************2584 stdout2585 is expected to match "Konstantin broke all the things."2586 Command "echo "Konstantin broke all the things." | openssl enc -base64"2587 stdout2588************************************************************************************2589 Command "openssl version"2590 exit_status2591 is expected to eq 02592 stdout2593 is expected to match /^OpenSSL/2595clang installation2596 clang command2597 Command "clang -help"2598 stdout2599 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"2600 Command "clang -v"2601 exit_status2602 is expected to eq 02604ccache installation2605 Command "ccache -V"2606 exit_status2607 is expected to eq 02608 ccache commands are executed2609 Command "ccache -M 0.5"2610 stdout2611 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/2612 Command "ccache -s"2613 stdout2614 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"2616File "/etc/cloud/templates/sources.list.debian.tmpl"2617 content2618 is expected to match /travis_build_environment/i2619 content2620 is expected to match /managed by chef/i2622ssh access2623 File "/home/travis/.ssh/known_hosts"2624 is expected to exist2625 is expected to be writable2626 is expected to be readable2627 size2628 is expected to be positive2629 File "/home/travis/.ssh/authorized_keys"2630 is expected to be readable2631 is expected to be writable2632 is expected to exist2633 size2634 is expected to be positive2636Command "heroku version"2637 stdout2638 is expected to match /^heroku/2640ruby installation2641 Command "gem --version"2642 stderr2643 is expected to be empty2644 stdout2645 is expected to match /^\d+\.\d+\.\d+/2646 Command "rspec --version"2647 stdout2648 is expected to match /^RSpec \d+\.\d+/2649 stderr2650 is expected to be empty2652jdk installation2653 should have JAVA_HOME defined2654 java command2655 Command "cd /tmp/packer-templates-20241007-12048-jyojje-rspec && java Hello"2656 stdout2657 is expected to match "Hello World!"2658 Command "java -version"2659 stderr2660 is expected to match /^(java|openjdk)/2661 exit_status2662 is expected to eq 02664File "/etc/cloud/templates/hosts.tmpl"2665 is expected to be exist2666 content2667 is expected to match /travis_build_environment/i2668 content2669 is expected to match /managed by chef/i2671Command "shfmt -version"2672 stdout2673 is expected to match /^v\d+\.\d+\.\d+/2675dictionaries commands2676 Command "look kid"2677 stdout2678 is expected to match /^kidding$/2679 stdout2680 is expected to match /^kidnappers$/2681 stdout2682 is expected to match /^kidney$/2683 stderr2684 is expected to be empty2686File "/home/travis/bin"2687 is expected to be writable2688 is expected to be directory2690Command "ssh -V"2691 stderr2692 is expected to match /OpenSSH/2694Failures:2696 1) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/2698 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/2707 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'2709 2) python environment Command "true ; nosetests --version" stderr is expected to be empty2714 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'2716 3) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/2725 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'2727 4) python environment Command "true ; wheel version" stderr is expected to be empty2732 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'2734 5) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/2743 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'2745 6) python environment Command "true ; py.test --version" stderr is expected to be empty2750 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'2752 7) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/2761 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'2763 8) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"2774performance_schema ON2776 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'2778 9) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"2780 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false2783 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'2785 10) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist2790 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'2792 11) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable2797 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'2799 12) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"2801 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false2804 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'2806 13) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/2808 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/2817 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'2819 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})/2821 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})/2830 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'2832Finished in 59.53 seconds (files took 0.99834 seconds to load)2833280 examples, 14 failures2835Failed examples:2837rspec /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+/2838rspec /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 empty2839rspec /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+/2840rspec /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 empty2841rspec /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+/2842rspec /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 empty2843rspec /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+/2844rspec /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"2845rspec /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"2846rspec /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 exist2847rspec /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 readable2848rspec /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"2849rspec /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])/2850rspec /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})/2852Randomized with seed 475702854+ local exit_code=12855+ [[ 1 != 0 ]]2856+ echo 'Spec suite exited with 1'2857Spec suite exited with 12858+ [[ -n '' ]]2859+ exit 12861The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 3 of 3.2863+sudo packer-scripts/run-serverspecs2864+ shopt -s nullglob2865+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin2866+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin2867+ export CHEF_LICENSE=accept-silent2868+ CHEF_LICENSE=accept-silent2869+ 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/bin2870+ 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/bin2871+ export DEBIAN_FRONTEND=noninteractive2872+ DEBIAN_FRONTEND=noninteractive2873+ export RUBYOPT=-W02874+ RUBYOPT=-W02875+ : /home/travis/build/travis-ci/packer-templates/tmp2876+ : 'bash -lc'2877+ : docker2878+ [[ docker == \d\o\c\k\e\r ]]2879+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'2880+ SPEC_ARGS='--tag ~dev --tag ~docker:false'2881++ uname -m2882+ [[ x86_64 =~ aarch64 ]]2883++ uname -m2884+ [[ x86_64 =~ ppc64 ]]2885+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp2886+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]2887+ return2888+ __create_sudo_bash2889+ cat2890+ chmod 0755 /tmp/sudo-bash2891+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp2892+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp2893+ for suite in ${SPEC_SUITES/,/ }2894+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'2895+ local suite=travis_packer_templates2896+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp2897+ local 'runner=bash -lc'2898+ local cookbook_dir2899++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp2900++ local suite=travis_packer_templates2901++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp2902++ local spec_dir2903+++ 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 d2904+++ head -12905++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec2906++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec2907+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2908+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2909+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'2910+ local suite=travis_packer_templates2911+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2912+ local 'runner=bash -lc'2913+ set +o errexit2914++ uname -m2915++ uname -m2916+ bash -lc '2917set -o xtrace2918export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"2919export TERM=xterm2920export PACKER_BUILDER_TYPE=docker2921export RUBYOPT=-W02922if [[ x86_64 =~ ppc64 ]]; then2923 gem install serverspec2924else2925 chef gem install serverspec2926fi2927unset GEM_PATH2928cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2929sudo systemctl start xvfb.service2930set -o errexit2931if [[ x86_64 =~ ppc64 ]]; then2932 rspec --tag ~dev --tag ~docker:false \2933 --format documentation \2934 --format json \2935 --out /home/travis/.travis_packer_templates_rspec.json2936else2937 chef exec rspec --tag ~dev --tag ~docker:false \2938 --format documentation \2939 --format json \2940 --out /home/travis/.travis_packer_templates_rspec.json2941fi2942'2943+ 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/bin2944+ 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/bin2945+ export TERM=xterm2946+ TERM=xterm2947+ export PACKER_BUILDER_TYPE=docker2948+ PACKER_BUILDER_TYPE=docker2949+ export RUBYOPT=-W02950+ RUBYOPT=-W02951+ [[ x86_64 =~ ppc64 ]]2952+ chef gem install serverspec2953WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,2954 gem executables will not run.2955Successfully installed serverspec-2.42.329561 gem installed2957+ unset GEM_PATH2958+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2959+ sudo systemctl start xvfb.service2960+ set -o errexit2961+ [[ x86_64 =~ ppc64 ]]2962+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json2963Run options: exclude {:dev=>true, :docker=>false}2965Randomized with seed 5252967bazaar installation2968 bazaar commands2969 Command "2970 cd /tmp/packer-templates-20241007-16070-2um28b-rspec/bzr-project;2971 bzr status;2972 bzr add test.txt;2973 bzr status;2974 "2975 stdout2976 is expected to match /^adding test\.txt/2977 stdout2978 is expected to match /^ test\.txt/2979 stdout2980 is expected to match /^added:/2981 stdout2982 is expected to match /^unknown:/2983 stdout2984 is expected to match /^ test\.txt/2985 Command "bzr version"2986 exit_status2987 is expected to eq 02988 stdout2989 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/2991ruby installation2992 Command "rspec --version"2993 stdout2994 is expected to match /^RSpec \d+\.\d+/2995 stderr2996 is expected to be empty2997 Command "gem --version"2998 stdout2999 is expected to match /^\d+\.\d+\.\d+/3000 stderr3001 is expected to be empty3003ccache installation3004 Command "ccache -V"3005 exit_status3006 is expected to eq 03007 ccache commands are executed3008 Command "ccache -M 0.5"3009 stdout3010 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/3011 Command "ccache -s"3012 stdout3013 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"3015File "/opt"3016 is expected to be writable3017 is expected to be directory3019ruby interpreter3020 Command "ruby -e 'puts RUBY_ENGINE'"3021 stdout3022 is expected to match /^ruby/3023 Command "ruby -e 'puts "Konstanin broke all the things!"'"3024 stdout3025 is expected to match /^Konstanin broke all the things!$/3026 Command "ruby --version"3027 stderr3028 is expected to be empty3029 stdout3030 is expected to match /^ruby 3\.\d+\.\d+/3032Command "shfmt -version"3033 stdout3034 is expected to match /^v\d+\.\d+\.\d+/3036apt installation3037 /var/lib/apt/lists/*Packages*3038 is non-empty3039 apt architecture3040 Command "dpkg --print-foreign-architectures"3041 stdout3042 is expected to match /i386/3043 Command "dpkg --print-architecture"3044 stdout3045 is expected to match /amd64/3046 Command "apt-get -v"3047 exit_status3048 is expected to eq 03049 apt commands3050 Command "sudo apt-get install -y language-pack-pt"3051 stdout3052 is expected to match /Reading state/3053 Command "sudo apt-get update -y"3054 stdout3055 is expected to match /http/3056 Command "apt-cache search ubuntu-restricted-extras"3057 stdout3058 is expected not to be empty3059 File "/var/lib/apt/lists"3060 is expected to be directory3062ragel installation3063 Command "ragel -v"3064 stdout3065 is expected to match /^Ragel /3066 exit_status3067 is expected to eq 03068 ragel commands3069 add a ragel file and execute a ragel command3070 File "/tmp/packer-templates-20241007-16070-2um28b-rspec/hello_world.rb"3071 content3072 is expected to match /^puts "Hello World"/3073 Package "ragel"3074 is expected to be installed3076Command "cmake --version"3077 stdout3078 is expected to match /^cmake version [23]/3079 exit_status3080 is expected to eq 03082ssh access3083 File "/home/travis/.ssh/known_hosts"3084 is expected to be writable3085 is expected to exist3086 is expected to be readable3087 size3088 is expected to be positive3089 File "/home/travis/.ssh/authorized_keys"3090 is expected to exist3091 is expected to be readable3092 is expected to be writable3093 size3094 is expected to be positive3096xserver installation3097 Command "Xorg -version"3098 exit_status3099 is expected to eq 03100 Command "xvfb-run -a xdpyinfo"3101 stdout3102 is expected to match /^\s+GLX$/3103 exit_status3104 is expected to eq 03105 stderr3106 is expected to be empty3107 Command "DISPLAY=:99.0 xset -q"3108 exit_status3109 is expected to eq 03110 stdout3111 is expected to match /^Keyboard Control:/3112 stderr3113 is expected to be empty3115File "/etc/cloud/templates/hosts.tmpl"3116 is expected to be exist3117 content3118 is expected to match /travis_build_environment/i3119 content3120 is expected to match /managed by chef/i3122md5deep installation3123 Command "md5deep -V"3124 stdout3125 is expected to match "This program is a work of the US Government."3126 Command "md5deep -v"3127 exit_status3128 is expected to eq 03129 Command "md5deep /tmp/packer-templates-20241007-16070-2um28b-rspec/md5deep.txt"3130 stdout3131 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/3133sudoers setup3134 File "/etc/sudoers.d/travis"3135 is expected to be owned by "root"3136 is expected to be file3137 is expected to exist3138 is expected to be mode 4403139 content3140 is expected to match /^Defaults !authenticate$/3141 content3142 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/3143 content3144 is expected to match /^Defaults !mail_badpass$/3145 content3146 is expected to match /^Defaults !env_reset$/3147 File "/etc/sudoers"3148 is expected to exist3149 is expected to be file3150 is expected to be owned by "root"3151 is expected to be mode 4403152 content3153 is expected to match /^#includedir \/etc\/sudoers\.d$/3155Command "ldconfig -p | grep libldap"3156 exit_status3157 is expected to eq 03158 stdout3159 is expected to match /libldap_r/3161php environment3162 Command "PHPENV_VERSION=system phpenv exec php -m --version"3163 stdout3164 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"3165 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"3166 stdout3167 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/3168 exit_status3169 is expected to eq 03170 File "/home/travis/.pearrc"3171 is expected not to exist3173dictionaries installation3174 Package "wamerican"3175 is expected to be installed3177File "/usr/share/travis/system_info"3178 is expected to exist3179 size3180 is expected to be positive3182go installation3183 Command "gimme -l"3184 stdout3185 is expected not to be empty3187sqlite installation3188 sqlite commands are executed3189 Command "3190 sqlite3 /tmp/packer-templates-20241007-16070-2um28b-rspec/test.db "3191 CREATE TABLE hats (3192 id INTEGER PRIMARY KEY,3193 name TEXT,3194 style INTEGER3195 );3196 INSERT INTO hats VALUES(1, 'floppy', 9001);3197 SELECT * FROM hats;3198 "3199 "3200 stdout3201 is expected to match "1|floppy|9001"3202 Command "sqlite3 -version"3203 stdout3204 is expected to match /^\d\.\d/3205 exit_status3206 is expected to eq 03208File "/etc/cloud/templates/hosts.debian.tmpl"3209 is expected to be exist3210 content3211 is expected to match /managed by chef/i3212 content3213 is expected to match /travis_build_environment/i3215unarchivers installation3216 Command "3217 cd /tmp/packer-templates-20241007-16070-2um28b-rspec;3218 zip test.zip test.txt;3219 rm test.txt;3220 ls /tmp/packer-templates-20241007-16070-2um28b-rspec;3221 unzip test.zip;3222 cat test.txt3223 "3224 stdout3225 is expected to match "Konstantin broke all the things."3226 stdout3227 is expected to include "test.zip"3228 Command "3229 gzip /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;3230 rm /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;3231 ls /tmp/packer-templates-20241007-16070-2um28b-rspec;3232 gzip -d /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt.gz;3233 cat /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt3234 "3235 stdout3236 is expected to match "Konstantin broke all the things."3237 stdout3238 is expected to include "test.txt.gz"3239 Command "zip --version"3240 stdout3241 is expected to match /Zip \d/3242 exit_status3243 is expected to eq 03244 Command "3245 bzip2 -z /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;3246 rm /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt;3247 ls /tmp/packer-templates-20241007-16070-2um28b-rspec;3248 bzip2 -d /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt.bz2;3249 cat /tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt3250 "3251 stdout3252 is expected to include "test.txt.bz2"3253 stdout3254 is expected to match "Konstantin broke all the things."3255 Command "unzip -version"3256 stdout3257 is expected to match /^UnZip \d/3258 exit_status3259 is expected to eq 03260 Command "dpkg -s libbz2-dev"3261 stdout3262 is expected to match "Status: install ok installed"3263 Command "gzip --version"3264 stdout3265 is expected to match /^gzip \d/3266 exit_status3267 is expected to eq 03269jdk installation3270 should have JAVA_HOME defined3271 java command3272 Command "cd /tmp/packer-templates-20241007-16070-2um28b-rspec && java Hello"3273 stdout3274 is expected to match "Hello World!"3275 Command "java -version"3276 exit_status3277 is expected to eq 03278 stderr3279 is expected to match /^(java|openjdk)/3281go toolchain installation3282 Command "go version"3283 stdout3284 is expected to match /^go version go/3285 Command "go env GOROOT"3286 stdout3287 is expected to match /\/\.gimme\//3288 compiling something3289 Command "go run /tmp/packer-templates-20241007-16070-2um28b-rspec/example.go"3290 stdout3291 is expected to match /Good morrow, 15558/3293redis installation3294 redis commands3295 Command "redis-cli -p 16379 GET test_key | cat"3296 stdout3297 is expected to match /^test_value$/3298 Command "redis-cli -p 16379 PING"3299 stdout3300 is expected to match /^PONG$/3301 Command "redis-server --version"3302 exit_status3303 is expected to eq 03304 stdout3305 is expected to match /^Redis /3307postgresql installation3308 psql commands3309 with a test table3310 Command " psql -U travis -tA -c '\dt' test_db"3311 stdout3312 is expected to match /^public\|test_table\|/3313 stderr3314 is expected to be empty3315 Command " psql -U travis -ltA"3316 stdout3317 is expected to match /^test_db\|/3318 Command " psql --version"3319 exit_status3320 is expected to eq 03321 stdout3322 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 1)3324gimme installation3325 Command "gimme --version"3326 exit_status3327 is expected to eq 03328 Command "eval "$(HOME=/tmp/packer-templates-20241007-16070-2um28b-rspec gimme 1.6.3)" 2>&1"3329 stdout3330 is expected to match "go version go1.6.3"3332python3 interpreter3333 Command "python3 -m this"3334 stderr3335 is expected to be empty3336 stdout3337 is expected to match /Readability counts\./3338 python3 --version3339 is expected to match /^Python \d+\.\d+\.\d+/3341Command "curl --version | head -1"3342 exit_status3343 is expected to eq 03344 stdout3345 is expected to include "curl"3347Command "rsync --version"3348 exit_status3349 is expected to eq 03350 stdout3351 is expected to match /rsync.+version/3353python2 interpreter3354 python --version3355 is expected to match /^Python \d+\.\d+\.\d+/3356 Command "python -m this"3357 stdout3358 is expected to match /Readability counts\./3359 stderr3360 is expected to be empty3362vim installation3363 Command "vim --version"3364 stdout3365 is expected not to be empty3366 stderr3367 is expected to be empty3368 exit_status3369 is expected to eq 03370 File "/tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt"3371 content3372 is expected to match /there/3374docker-compose installation3375 Command "docker-compose --version"3376 exit_status3377 is expected to eq 03378 stdout3379 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 2)3381Command "nc -h"3382 exit_status3383 is expected to eq 03385perl interpreter3386 Command "perl --version"3387 stderr3388 is expected to be empty3389 stdout3390 is expected to match /perl 5, version \d/3391 Command "perl -e 'print "Hello Mr Euler!\n"'"3392 stdout3393 is expected to match /^Hello Mr Euler!/3394 stderr3395 is expected to be empty3397phantomjs installation3398 Command "phantomjs -v"3399 exit_status3400 is expected to eq 03401 stdout3402 is expected to match /\d/3403 Command "phantomjs /tmp/packer-templates-20241007-16070-2um28b-rspec/test.js"3404 stdout3405 is expected to match "Status: success"3407nodejs interpreter3408 Command "node -e "console.log('Konstantin broke all the thingz')""3409 stdout3410 is expected to match "Konstantin broke all the thingz"3411 Command "node -v"3412 exit_status3413 is expected to eq 03414 stdout3415 is expected to match /v\d/3417sysctl installation3418 Command "sysctl -a"3419 stdout3420 is expected to include "kernel.sched_child_runs_first"3421 Command "sysctl -V"3422 exit_status3423 is expected to eq 03425perlbrew installation3426 Command "perlbrew list"3427 exit_status3428 is expected to eq 03429 Command "perlbrew --version"3430 stdout3431 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/3432 exit_status3433 is expected to eq 03435dictionaries commands3436 Command "look kid"3437 stderr3438 is expected to be empty3439 stdout3440 is expected to match /^kidding$/3441 stdout3442 is expected to match /^kidney$/3443 stdout3444 is expected to match /^kidnappers$/3446File "/etc/cloud/templates"3447 is expected to be directory3449File "/etc/cloud/cloud.cfg"3450 content3451 is expected to match /managed by chef/i3452 content3453 is expected to match /travis_build_environment/i3455File "/etc/cloud/templates/sources.list.tmpl"3456 content3457 is expected to match /travis_build_environment/i3458 content3459 is expected to match /managed by chef/i3461openssl installation3462 Command "openssl version"3463 exit_status3464 is expected to eq 03465 stdout3466 is expected to match /^OpenSSL/3467 openssl commands3468 Command "echo "Konstantin broke all the things." | openssl enc -base64"3469 stdout3470************************************************************************************3471******************************************************************************************3472 stdout3473 is expected to match "Konstantin broke all the things."3475php interpreter3476 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"3477 stderr3478 is expected to be empty3479 stdout3480 is expected to match /^2 4 6 8 10/3481 Command "PHPENV_VERSION=system phpenv exec php --version"3482 stderr3483 is expected to be empty3484 stdout3485 is expected to match /^PHP \d+\.\d+/3487Command "wget --version"3488 exit_status3489 is expected to eq 03490 stdout3491 is expected to include "GNU Wget"3493Command "iptables --version"3494 exit_status3495 is expected to eq 03496 stdout3497 is expected to include "iptables"3499Command "bats --version"3500 stdout3501 is expected to match /^Bats \d/3503imagemagick installation3504 imagemagick commands3505 Command "identify /tmp/packer-templates-20241007-16070-2um28b-rspec/logo.gif"3506 stdout3507 is expected to match /logo\.gif GIF/3508 exit_status3509 is expected to eq 03510 Command "convert --version"3511 stdout3512 is expected to match /imagemagick/i3513 exit_status3514 is expected to eq 03516subversion installation3517 subversion commands are executed3518 File "/tmp/packer-templates-20241007-16070-2um28b-rspec/svn-project/README.txt"3519 content3520 is expected to match "This is a Subversion repository;"3521 Command "svn --version"3522 exit_status3523 is expected to eq 03525python environment3526 Command "true ; pip --version"3527 stdout3528 is expected to match /^pip \d+\.\d+(\.\d+)?/3529 stderr3530 is expected to be empty3531 Command "true ; wheel version"3532 stdout3533 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 3)3534 stderr3535 is expected to be empty (FAILED - 4)3536 Command "true ; nosetests --version"3537 stdout3538 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 5)3539 stderr3540 is expected to be empty (FAILED - 6)3541 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"3542 stderr3543 is expected to be empty3544 stdout3545 is expected to match /^\d+\.\d+/3546 Command "true ; py.test --version"3547 stderr3548 is expected to be empty (FAILED - 7)3549 stdout3550 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 8)3552memcached installation3553 Package "memcached"3554 is expected to be installed3555 memcached commands3556 Service "memcached"3557 is expected to be running3558 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"3559 stdout3560 is expected to match "version"3561 Command "memcached -h"3562 stdout3563 is expected to match /^memcached \d/3564 exit_status3565 is expected to eq 03567Command "heroku version"3568 stdout3569 is expected to match /^heroku/3571Command "lsof -v 2>&1 | head -2 | tail -1"3572 exit_status3573 is expected to eq 03574 stdout3575 is expected to match /revision:/3577Command "packer version"3578 exit_status3579 is expected to eq 03580 stdout3581 is expected to match /^Packer v\d/3583mercurial installation3584 Command "hg version"3585 stdout3586 is expected to match /^Mercurial Distributed SCM \(version \d/3587 exit_status3588 is expected to eq 03589 mecurial commands are executed3590 Command "cd /tmp/packer-templates-20241007-16070-2um28b-rspec/hg-project; hg status; hg add .; hg status"3591 stdout3592 is expected to match "\\? test-file.txt"3593 stdout3594 is expected to match "A test-file.txt"3596rvm installation3597 File "/home/travis/.rvmrc"3598 is expected to exist3599 is expected to be writable3600 is expected to be readable3601 Command "rvm version"3602 stderr3603 is expected to be empty3604 stdout3605 is expected to match /^rvm /3606 exit_status3607 is expected to eq 03608 File "/home/travis/.rvm/user/db"3609 is expected to be writable3610 is expected to exist3611 is expected to be readable3612 rvm commands3613 Command "rvm default do echo whatever"3614 stdout3615 is expected not to include "Warning!"3616 stdout3617 is expected to include "whatever"3618 stderr3619 is expected not to include "Warning!"3620 Command "rvm list"3621 stdout3622 is expected to match /ruby-2\.[234567]\.\d/3623 stderr3624 is expected to be empty3625 stdout3626 is expected to include "current"3628File "/.node-attributes.yml"3629 is expected to exist3630 content_as_yaml3631 is expected to include "__timestamp"3633File "/etc/cloud/templates/sources.list.ubuntu.tmpl"3634 content3635 is expected to match /travis_build_environment/i3636 content3637 is expected to match /managed by chef/i3639git installation3640 git commands3641 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"3642 stdout3643 is expected to match /nothing to commit/3644 stdout3645 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"3646 Command "git config user.email"3647 stdout3648 is expected to match /travis@example\.org/3649 Package "git"3650 is expected to be installed3651 Command "git config user.name"3652 stdout3653 is expected to match /travis/i3654 Command "git --version"3655 stdout3656 is expected to match /^git version (2\.|1\.[89])/3657 exit_status3658 is expected to eq 03660Command "psql --version"3661 exit_status3662 is expected to eq 03663 stdout3664 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)3666emacs installation3667 Command "emacs --version"3668 exit_status3669 is expected to eq 03670 editing3671 File "/tmp/packer-templates-20241007-16070-2um28b-rspec/test.txt"3672 content3673 is expected to match "poof"3675Command "ldconfig -V"3676 exit_status3677 is expected to eq 03678 stdout3679 is expected to include "ldconfig "3681jq installation3682 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241007-16070-2um28b-rspec/test.json"3683 stdout3684 is expected to match /^Konstantin broke all the things/3685 Command "jq -V"3686 exit_status3687 is expected to eq 03689Command "ssh -V"3690 stderr3691 is expected to match /OpenSSH/3693firefox installation3694 Command "sudo -u travis firefox -v"3695 stderr3696 is expected to be empty3697 exit_status3698 is expected to eq 03699 firefox commands3700 File "/tmp/packer-templates-20241007-16070-2um28b-rspec/.mozilla/firefox/profiles.ini"3701 is expected to exist3702 content3703 is expected to match /^Name=test/3705gcc installation3706 Command "cd /tmp/packer-templates-20241007-16070-2um28b-rspec/empty && gcc"3707 stderr3708 is expected to include "no input files"3709 Command "gcc -v"3710 stderr3711 is expected to match /^gcc version/3712 Command "3713 cd /tmp/packer-templates-20241007-16070-2um28b-rspec;3714 gcc -Wall -o hai hai.c;3715 ./hai there3716 "3717 stdout3718 is expected to match /^hai 2$/3720mongodb installation3721 mongo commands3722 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""3723 stdout3724 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/3725 Command "mongo --version"3726 stdout3727 is expected to match /MongoDB shell/3728 exit_status3729 is expected to eq 03730 Service "mongod"3731 is expected not to be running3732 is expected not to be enabled3734Command "sudo -V"3735 stdout3736 is expected to match /^Sudo version \d/3738mysql installation3739 File "/home/travis/.my.cnf"3740 is expected to be grouped into "travis"3741 is expected to be readable3742 is expected to exist3743 is expected to be owned by "travis"3744 mysql commands3745 Command "echo "SHOW DATABASES" | mysql"3746 stdout3747 is expected to match /^travis$/3748 Command "mysql -u root -e 'select "hai"'"3749 stdout3750 is expected to match /hai/3751 exit_status3752 is expected to eq 03753 stderr3754 is expected to be empty3755 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"3756 stdout3757 is expected to include "performance_schema\tOFF" (FAILED - 10)3758 Command "mysql -u travis -e 'select "hai"'"3759 stderr3760 is expected to be empty3761 stdout3762 is expected to match /hai/3763 exit_status3764 is expected to eq 03765 Command "echo "SELECT id FROM test" | mysql travis"3766 stdout3767 is expected to match /^4$/3768 File "/etc/mysql/conf.d/performance-schema.cnf"3769 is expected to exist (FAILED - 11)3770 is expected to be readable (FAILED - 12)3771 is expected to be grouped into "root" (FAILED - 13)3772 is expected to be owned by "root" (FAILED - 14)3774Command "shellcheck --version"3775 stdout3776 is expected to match /^version: \d+\.\d+\.\d+/3778User "travis"3779 is expected to exist3780 is expected to have login shell "/bin/bash"3781 is expected to have home directory "/home/travis"3783File "/etc/cloud/templates/hosts.ubuntu.tmpl"3784 is expected to be exist3785 content3786 is expected to match /travis_build_environment/i3787 content3788 is expected to match /managed by chef/i3790clang installation3791 clang command3792 Command "clang -help"3793 stdout3794 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"3795 Command "clang -v"3796 exit_status3797 is expected to eq 03799File "/etc/cloud/templates/sources.list.debian.tmpl"3800 content3801 is expected to match /managed by chef/i3802 content3803 is expected to match /travis_build_environment/i3805File "/home/travis/bin"3806 is expected to be directory3807 is expected to be writable3809Command "mysql --version"3810 stdout3811 is expected to match /^mysql /3812 exit_status3813 is expected to eq 03815Failures:3817 1) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/3819 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/3826 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'3828 2) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/3830 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/3837 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'3839 3) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/3849 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'3851 4) python environment Command "true ; wheel version" stderr is expected to be empty3855 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'3857 5) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/3867 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'3869 6) python environment Command "true ; nosetests --version" stderr is expected to be empty3873 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'3875 7) python environment Command "true ; py.test --version" stderr is expected to be empty3880 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'3882 8) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/3891 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'3893 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})/3895 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})/3902 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'3904 10) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"3915performance_schema ON3917 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'3919 11) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist3924 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'3926 12) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable3931 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'3933 13) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"3935 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false3936 /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$3938 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'3940 14) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"3942 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false3943 /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$3945 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'3947Finished in 1 minute 0.32 seconds (files took 0.933 seconds to load)3948280 examples, 14 failures3950Failed examples:3952rspec /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])/3953rspec /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+/3954rspec /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+/3955rspec /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 empty3956rspec /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+/3957rspec /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 empty3958rspec /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 empty3959rspec /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+/3960rspec /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})/3961rspec /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"3962rspec /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 exist3963rspec /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 readable3964rspec /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"3965rspec /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"3967Randomized with seed 5253969+ local exit_code=13970+ [[ 1 != 0 ]]3971+ echo 'Spec suite exited with 1'3972Spec suite exited with 13973+ [[ -n '' ]]3974+ exit 13976The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed 3 times.3978The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 1.3980checking /home/travis/.travis_packer_templates_rspec.json3981The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 0.cache.23982store build cache3983$ bundle clean3985gzip: warning: GZIP environment variable is deprecated; use an alias or script3986uploading PR.872/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz3987cache uploaded3990Done. Your build exited with 1.