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: 00815f25-30ed-4af4-b483-2cd0ea153155@1.worker-n2-com-f8c4bb956-vwsbv.gce-production-13version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c4instance: travis-job-3b3da989-b801-411a-898b-7331bba81d70 travis-ci-ubuntu-2004-1726220016-655c8cb5 (via amqp)5startup: 5.917562995ssystem_info7Build system information8Build language: ruby9Build group: stable10Build dist: focal11Build id: 27275496812Job id: 62716921113Runtime 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.01s0.14s0.00s0.00s0.00s0.01s0.00s0.15s0.00s1.15s0.00s0.00s6.04s0.00s613.48scurl: (56) OpenSSL SSL_read: Connection timed out, errno 110167xz: (stdin): Unexpected end of input168tar: Unexpected EOF in archive169tar: Unexpected EOF in archive170tar: Error is not recoverable: exiting now171Failed to update Heroku CLIdocker_mtu_and_registry_mirrorsDockerresolvconfgit.checkout1760.01s0.49s$ git clone --depth=50 https://github.com/travis-ci/packer-templates.git travis-ci/packer-templates177Cloning into 'travis-ci/packer-templates'...178remote: Enumerating objects: 1806, done.179remote: Counting objects: 100% (1806/1806), done.180remote: Compressing objects: 100% (901/901), done.181remote: Total 1806 (delta 1132), reused 1229 (delta 742), pack-reused 0 (from 0)182Receiving objects: 100% (1806/1806), 356.70 KiB | 6.04 MiB/s, done.183Resolving deltas: 100% (1132/1132), done.184$ cd travis-ci/packer-templates186remote: Enumerating objects: 55, done.187remote: Counting objects: 100% (53/53), done.188remote: Compressing objects: 100% (10/10), done.189remote: Total 25 (delta 15), reused 20 (delta 11), pack-reused 0 (from 0)190Unpacking objects: 100% (25/25), 3.01 KiB | 342.00 KiB/s, done.191From https://github.com/travis-ci/packer-templates192 * branch refs/pull/873/merge -> FETCH_HEAD193$ git checkout -qf FETCH_HEAD1950.01s196Setting environment variables from repository settings197$ export DOCKER_LOGIN_EMAIL=[secure]198$ export DOCKER_LOGIN_PASSWORD=[secure]199$ export DOCKER_LOGIN_SERVER=[secure]200$ export DOCKER_LOGIN_USERNAME=[secure]201$ export GCE_PROJECT_ID=[secure]202$ export JOB_BOARD_IMAGES_URL=[secure]203$ export GCE_ACCOUNT_FILE=[secure]204$ export GCE_ACCOUNT_FILE_B64_BZ2=[secure]205$ export GCR_LOGIN_SERVER=[secure]206$ export GCR_AUTH_TOKEN=[secure]207$ export QUAY_DOCKER_LOGIN_EMAIL=[secure]208$ export QUAY_DOCKER_LOGIN_PASSWORD=[secure]209$ export QUAY_DOCKER_LOGIN_SERVER=[secure]210$ export QUAY_DOCKER_LOGIN_USERNAME=[secure]211$ export TRAVIS_WORKER_VERSION=[secure]212$ export GCE_ACCOUNT_ID=[secure]213$ export GCE_SERVICE_ACCOUNT_ID=[secure]214$ export GCE_SERVICE_ACCOUNT_FILE_BZ2_B64=[secure]215$ export GITHUB_API_TOKEN=[secure]217Setting environment variables from .travis.yml218$ export DPKG_MANIFEST_JSON="${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json"219$ export LANG=en_US.UTF-8220$ export NODE_ATTRIBUTES_YML="${TRAVIS_BUILD_DIR}/.example-node-attributes.yml"221$ export PACKER_CHEF_PREFIX="${TRAVIS_BUILD_DIR}/tmp"222$ export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}"223$ export REQUEST_INTERVAL=5224$ export SKIP_CHEF_REMOVAL='1'225$ export SPEC_ARGS='--tag ~dev'226$ export SPEC_RUNNER='bash -lc'227$ export SPEC_SUITES='travis_packer_templates'228$ export SYSTEM_INFO_JSON="${TRAVIS_BUILD_DIR}/.example_system_info.json"229$ export TRAVIS_SOURCE_AMI="ami-01eefcaf0edcc4cf0"230$ export TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"235$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1236Setting up build cache237$ export CASHER_DIR=${TRAVIS_HOME}/.casher240fetching PR.873/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz241fetching PR.873/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz242fetching PR.873/cache--rvm-default--gemfile-Gemfile.tgz243fetching master/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz244fetching master/cache-linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz245fetching master/cache--rvm-default--gemfile-Gemfile.tgz246could not download cachecache.bundler251creating directory /home/travis/build/travis-ci/packer-templates/vendor/bundleruby.versions252$ ruby --version253ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]254$ rvm --version255rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]256$ bundle --version257Bundler version 2.5.16258$ gem --version2593.5.16install.12610.00s$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fiinstall.2install.3264Using /home/travis/.rvm/gems/ruby-3.3.5install.4266Fetching bundler-2.5.21.gem267GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundler.lock268GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundle.lock269Successfully installed bundler-2.5.212701 gem installedinstall.5272[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 flag273Bundler 2.5.21 is running, but your lockfile was generated with 2.5.13. Installing Bundler 2.5.13 and restarting using that version.274Fetching gem metadata from https://rubygems.org/.275Fetching bundler 2.5.13276Installing bundler 2.5.13277[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 flag278Fetching https://github.com/travis-ci/travis-packer-build279Fetching gem metadata from https://rubygems.org/.........280Fetching https://github.com/travis-ci/travis-packer-build281Fetching rake 13.2.1282Installing rake 13.2.1283Fetching concurrent-ruby 1.3.4284Fetching minitest 5.25.1285Fetching thread_safe 0.3.6286Installing concurrent-ruby 1.3.4287Installing minitest 5.25.1288Installing thread_safe 0.3.6289Fetching public_suffix 6.0.1290Installing public_suffix 6.0.1291Fetching ast 2.4.2292Fetching coderay 1.1.3293Installing ast 2.4.2294Fetching diff-lcs 1.5.1295Installing coderay 1.1.3296Installing diff-lcs 1.5.1297Fetching docile 1.4.1298Installing docile 1.4.1299Fetching erubis 2.7.0300Fetching multipart-post 2.4.1301Fetching libyajl2 2.1.0302Installing erubis 2.7.0303Installing multipart-post 2.4.1304Installing libyajl2 2.1.0 with native extensions305Fetching racc 1.8.1306Installing racc 1.8.1 with native extensions307Fetching rufus-lru 1.1.0308Installing rufus-lru 1.1.0309Fetching polyglot 0.3.5310Installing polyglot 0.3.5311Fetching multi_json 1.15.0312Installing multi_json 1.15.0313Fetching net-http-persistent 2.9.4314Installing net-http-persistent 2.9.4315Fetching net-http-pipeline 1.0.1316Installing net-http-pipeline 1.0.1317Fetching rchardet 1.8.0318Installing rchardet 1.8.0319Fetching json 2.7.2320Installing json 2.7.2 with native extensions321Fetching language_server-protocol 3.17.0.3322Installing language_server-protocol 3.17.0.3323Fetching method_source 1.1.0324Installing method_source 1.1.0325Fetching parallel 1.26.3326Installing parallel 1.26.3327Fetching rainbow 3.1.1328Installing rainbow 3.1.1329Fetching regexp_parser 2.9.2330Installing regexp_parser 2.9.2331Fetching strscan 3.1.0332Installing strscan 3.1.0 with native extensions333Fetching rspec-support 3.13.1334Installing rspec-support 3.13.1335Fetching ruby-progressbar 1.13.0336Installing ruby-progressbar 1.13.0337Fetching unicode-display_width 2.5.0338Installing unicode-display_width 2.5.0339Fetching simplecov-html 0.12.3340Installing simplecov-html 0.12.3341Fetching simplecov_json_formatter 0.1.4342Installing simplecov_json_formatter 0.1.4343Fetching uri 0.13.1344Installing uri 0.13.1345Fetching tzinfo 1.2.11346Installing tzinfo 1.2.11347Fetching addressable 2.8.7348Installing addressable 2.8.7349Fetching i18n 1.14.5350Installing i18n 1.14.5351Fetching faraday 0.17.6352Installing faraday 0.17.6353Fetching treetop 1.6.12354Installing treetop 1.6.12355Fetching nokogiri 1.16.7 (x86_64-linux)356Installing nokogiri 1.16.7 (x86_64-linux)357Fetching parser 3.3.4.2358Installing parser 3.3.4.2359Fetching pry 0.14.2360Installing pry 0.14.2361Fetching ffi-yajl 2.6.0362Installing ffi-yajl 2.6.0 with native extensions363Fetching rspec-core 3.13.0364Installing rspec-core 3.13.0365Fetching rspec-expectations 3.13.2366Installing rspec-expectations 3.13.2367Fetching rspec-mocks 3.13.1368Installing rspec-mocks 3.13.1369Fetching simplecov 0.22.0370Installing simplecov 0.22.0371Fetching git 1.19.1372Installing git 1.19.1373Fetching activesupport 5.2.8.1374Installing activesupport 5.2.8.1375Fetching faraday_middleware 0.14.0376Installing faraday_middleware 0.14.0377Fetching rubocop-ast 1.32.1378Installing rubocop-ast 1.32.1379Fetching rexml 3.3.6380Installing rexml 3.3.6381Fetching rspec 3.13.0382Installing rspec 3.13.0383Fetching gh 0.16.0384Installing gh 0.16.0385Fetching rubocop 1.65.1386Installing rubocop 1.65.1387Fetching foodcritic 16.3.0388Installing foodcritic 16.3.0389Bundle complete! 7 Gemfile dependencies, 56 gems now installed.390Bundled gems are installed into `./vendor/bundle`install.6392curl -sSLo tmp/packer.zip 'https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip'393mkdir -p ~/bin394unzip -o -d ~/bin tmp/packer.zip395Archive: tmp/packer.zip396 inflating: /home/travis/bin/packer397chmod +x ~/bin/packerinstall.7399'/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local' -> '/home/travis/build/travis-ci/packer-templates'401./bin/dump-git-meta ./tmp/git-meta402HEAD40321b0674404./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/docker-meta 'DOCKER_LOGIN_(USERNAME|PASSWORD|SERVER)'405./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/job-board-env 'JOB_BOARD'406The command "make" exited with 0.408./runtests --env .example.env409Running isolated with env .example.env410.example-job-board-register-sardonyx.yml ✓411.example-node-attributes.yml ✓412.packer-build-pull-request-false-tmpl.yml ✓413.packer-build-pull-request-tmpl.yml ✓414.rubocop.yml ✓415.rubocop_todo.yml ✓416.travis.yml ✓417ci-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)418 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:25:in `block in setup'419 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'420 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/spec_set.rb:191:in `each'421 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `map'422 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/runtime.rb:24:in `setup'423 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler.rb:164:in `setup'424 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `block in <top (required)>'425 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:159:in `with_level'426 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/ui/shell.rb:111:in `silence'427 from /home/travis/.rvm/gems/ruby-3.3.5/gems/bundler-2.5.13/lib/bundler/setup.rb:16:in `<top (required)>'428 from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'429 from <internal:/home/travis/.rvm/rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'430make: *** [Makefile:68: test] Error 1431The command "bundle exec make test" exited with 2.433bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)435Please run:437 $ gcloud auth login439to obtain new credentials.441If you have already logged in with a different account, run:443 $ gcloud config set account ACCOUNT445to select an already authenticated account to use.447Please run:449 $ gcloud auth login451to obtain new credentials.453If you have already logged in with a different account, run:455 $ gcloud config set account ACCOUNT457to select an already authenticated account to use.459Please run:461 $ gcloud auth login463to obtain new credentials.465If you have already logged in with a different account, run:467 $ gcloud config set account ACCOUNT469to select an already authenticated account to use.470The command "make update-gce-images" exited with 0.472The command "git diff --exit-code" exited with 0.474The command "git diff --cached --exit-code" exited with 0.476The command "sudo lsof | grep dpkg || true" exited with 0.478+sudo packer-scripts/run-serverspecs479+ shopt -s nullglob480+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin481+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin482+ export CHEF_LICENSE=accept-silent483+ CHEF_LICENSE=accept-silent484+ 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/bin485+ 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/bin486+ export DEBIAN_FRONTEND=noninteractive487+ DEBIAN_FRONTEND=noninteractive488+ export RUBYOPT=-W0489+ RUBYOPT=-W0490+ : /home/travis/build/travis-ci/packer-templates/tmp491+ : 'bash -lc'492+ : docker493+ [[ docker == \d\o\c\k\e\r ]]494+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'495+ SPEC_ARGS='--tag ~dev --tag ~docker:false'496++ uname -m497+ [[ x86_64 =~ aarch64 ]]498++ uname -m499+ [[ x86_64 =~ ppc64 ]]500+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp501+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]502+ curl -sSL https://omnitruck.chef.io/install.sh503+ sudo bash -s -- -P chef-workstation -v 22.5.923504ubuntu 20.04 x86_64505Getting information for chef-workstation stable 22.5.923 for ubuntu...506downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_64507 to file /tmp/install.sh.6515/metadata.txt508trying wget...509sha1 b8c582336804d5986f0f6d3dddeb9bf300d2d2bd510sha256 b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c511url https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb512version 22.5.923513downloaded metadata file looks valid...514downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb515 to file /tmp/install.sh.6515/chef-workstation_22.5.923-1_amd64.deb516trying wget...517Comparing checksum with sha256sum...518Installing chef-workstation 22.5.923519installing with dpkg...520Selecting previously unselected package chef-workstation.521(Reading database ... 154608 files and directories currently installed.)522Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...523Unpacking chef-workstation (22.5.923-1) ...524Setting up chef-workstation (22.5.923-1) ...526The Chef Workstation App is available.528Launch the App by running 'chef-workstation-app'.529The App will then be available in the system tray.531Thank you for installing Chef Workstation!532You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/534+ __run_retry 2 30 apt-get update -y535+ local retries=2536+ shift537+ local retry_delay=30538+ shift539+ cmd=("${@}")540+ local cmd541+ local i=0542+ true543+ [[ 0 -gt 2 ]]544+ apt-get update -y545Get:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]546Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]547Ign:3 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease548Get:4 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]549Get:5 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]550Get:6 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release [3,094 B]551Get:7 https://packages.redis.io/deb focal InRelease [3,821 B]552Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]553Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]554Hit:10 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease555Get:11 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]556Get:12 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release.gpg [866 B]557Get:13 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [570 kB]558Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]559Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]560Get:16 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [45.1 kB]561Get:17 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [61.9 kB]562Get:18 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]563Get:19 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [4,730 B]564Get:20 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]565Ign:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages566Get:21 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]567Get:22 https://packages.redis.io/deb focal/main all Packages [6,199 B]568Get:23 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,027 kB]569Get:24 https://packages.redis.io/deb focal/main amd64 Packages [29.6 kB]570Get:25 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,011 kB]571Get:26 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [711 kB]572Get:27 https://packages.redis.io/deb focal/main i386 Packages [6,094 B]573Get:28 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [14.3 kB]574Get:29 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,036 kB]575Get:30 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [560 kB]576Get:31 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [843 kB]577Get:32 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,274 kB]578Ign:33 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages579Get:33 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]580Get:34 http://security.ubuntu.com/ubuntu focal-security/universe Translation-en [294 kB]581Get:35 http://security.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [21.4 kB]582Get:36 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4/multiverse amd64 Packages [86.8 kB]583Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]584Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]585Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]586Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]587Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]588Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]589Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]590Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]591Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]592Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]593Ign:47 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages594Get:47 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [120 kB]595Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]596Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]597Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]598Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]599Get:52 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]600Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]601Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,294 kB]602Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,527 kB]603Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [829 kB]604Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]605Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [48.0 kB]606Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,235 kB]607Ign:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages608Get:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal/main amd64 Packages [18.0 kB]609Get:61 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [587 kB]610Get:62 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]611Get:63 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,566 kB]612Get:64 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,005 kB]613Get:65 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [415 kB]614Get:66 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]615Get:67 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]616Get:68 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.5 kB]617Get:69 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,589 B]618Get:70 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [616 B]619Get:71 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]620Get:72 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]621Get:73 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]622Get:74 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]623Get:75 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]624Get:76 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]625Get:77 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]626Get:78 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]627Get:79 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]628Get:80 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]629Fetched 57.8 MB in 5s (12.6 MB/s)630Reading package lists... Done631N: 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'632+ return633+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client634+ local retries=2635+ shift636+ local retry_delay=30637+ shift638+ cmd=("${@}")639+ local cmd640+ local i=0641+ true642+ [[ 0 -gt 2 ]]643+ apt-get install libc-client2007e-dev mysql-client644Reading package lists... Done645Building dependency tree646Reading state information... Done647libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).648mysql-client is already the newest version (8.0.39-0ubuntu0.20.04.1).649The following packages were automatically installed and are no longer required:650 amd64-microcode intel-microcode iucode-tool libglu1-mesa651 libjs-jquery-metadata libjs-jquery-tablesorter libnotify4 libwxbase3.0-0v5652 libwxgtk3.0-gtk3-0v5 linux-modules-5.4.0-195-generic postgresql-client-12653Use 'sudo apt autoremove' to remove them.6540 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.655+ return656+ __create_sudo_bash657+ cat658+ chmod 0755 /tmp/sudo-bash659+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp660+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp661+ for suite in ${SPEC_SUITES/,/ }662+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'663+ local suite=travis_packer_templates664+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp665+ local 'runner=bash -lc'666+ local cookbook_dir667++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp668++ local suite=travis_packer_templates669++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp670++ local spec_dir671+++ head -1672+++ 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 d673++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec674++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec675+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates676+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates677+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'678+ local suite=travis_packer_templates679+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates680+ local 'runner=bash -lc'681+ set +o errexit682++ uname -m683++ uname -m684+ bash -lc '685set -o xtrace686export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"687export TERM=xterm688export PACKER_BUILDER_TYPE=docker689export RUBYOPT=-W0690if [[ x86_64 =~ ppc64 ]]; then691 gem install serverspec692else693 chef gem install serverspec694fi695unset GEM_PATH696cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates697sudo systemctl start xvfb.service698set -o errexit699if [[ x86_64 =~ ppc64 ]]; then700 rspec --tag ~dev --tag ~docker:false \701 --format documentation \702 --format json \703 --out /home/travis/.travis_packer_templates_rspec.json704else705 chef exec rspec --tag ~dev --tag ~docker:false \706 --format documentation \707 --format json \708 --out /home/travis/.travis_packer_templates_rspec.json709fi710'711+ 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/bin712+ 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/bin713+ export TERM=xterm714+ TERM=xterm715+ export PACKER_BUILDER_TYPE=docker716+ PACKER_BUILDER_TYPE=docker717+ export RUBYOPT=-W0718+ RUBYOPT=-W0719+ [[ x86_64 =~ ppc64 ]]720+ chef gem install serverspec721Fetching serverspec-2.42.3.gem722WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,723 gem executables will not run.724Successfully installed serverspec-2.42.37251 gem installed726+ unset GEM_PATH727+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates728+ sudo systemctl start xvfb.service729+ set -o errexit730+ [[ x86_64 =~ ppc64 ]]731+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json732Run options: exclude {:dev=>true, :docker=>false}734Randomized with seed 33043736File "/.node-attributes.yml"737 is expected to exist738 content_as_yaml739 is expected to include "__timestamp"741perlbrew installation742 Command "perlbrew --version"743 exit_status744 is expected to eq 0745 stdout746 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/747 Command "perlbrew list"748 exit_status749 is expected to eq 0751File "/etc/cloud/templates/sources.list.tmpl"752 content753 is expected to match /travis_build_environment/i754 content755 is expected to match /managed by chef/i757File "/etc/cloud/templates/sources.list.debian.tmpl"758 content759 is expected to match /travis_build_environment/i760 content761 is expected to match /managed by chef/i763File "/etc/cloud/templates/hosts.debian.tmpl"764 is expected to be exist765 content766 is expected to match /travis_build_environment/i767 content768 is expected to match /managed by chef/i770Command "rsync --version"771 stdout772 is expected to match /rsync.+version/773 exit_status774 is expected to eq 0776php environment777 Command "PHPENV_VERSION=system phpenv exec php -m --version"778 stdout779 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"780 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"781 stdout782 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/783 exit_status784 is expected to eq 0785 File "/home/travis/.pearrc"786 is expected not to exist788dictionaries installation789 Package "wamerican"790 is expected to be installed792mongodb installation793 Service "mongod"794 is expected not to be enabled795 is expected not to be running796 mongo commands797 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""798 stdout799 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/800 Command "mongo --version"801 stdout802 is expected to match /MongoDB shell/803 exit_status804 is expected to eq 0806File "/opt"807 is expected to be writable808 is expected to be directory810python3 interpreter811 python3 --version812 is expected to match /^Python \d+\.\d+\.\d+/813 Command "python3 -m this"814 stdout815 is expected to match /Readability counts\./816 stderr817 is expected to be empty819gimme installation820 Command "eval "$(HOME=/tmp/packer-templates-20241016-8139-d0hig4-rspec gimme 1.6.3)" 2>&1"821 stdout822 is expected to match "go version go1.6.3"823 Command "gimme --version"824 exit_status825 is expected to eq 0827redis installation828 Command "redis-server --version"829 exit_status830 is expected to eq 0831 stdout832 is expected to match /^Redis /833 redis commands834 Command "redis-cli -p 16379 PING"835 stdout836 is expected to match /^PONG$/837 Command "redis-cli -p 16379 GET test_key | cat"838 stdout839 is expected to match /^test_value$/841gcc installation842 Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/empty && gcc"843 stderr844 is expected to include "no input files"845 Command "gcc -v"846 stderr847 is expected to match /^gcc version/848 Command "849 cd /tmp/packer-templates-20241016-8139-d0hig4-rspec;850 gcc -Wall -o hai hai.c;851 ./hai there852 "853 stdout854 is expected to match /^hai 2$/856go installation857 Command "gimme -l"858 stdout859 is expected not to be empty861ccache installation862 Command "ccache -V"863 exit_status864 is expected to eq 0865 ccache commands are executed866 Command "ccache -M 0.5"867 stdout868 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/869 Command "ccache -s"870 stdout871 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"873subversion installation874 Command "svn --version"875 exit_status876 is expected to eq 0877 subversion commands are executed878 File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/svn-project/README.txt"879 content880 is expected to match "This is a Subversion repository;"882Command "iptables --version"883 stdout884 is expected to include "iptables"885 exit_status886 is expected to eq 0888go toolchain installation889 Command "go env GOROOT"890 stdout891 is expected to match /\/\.gimme\//892 compiling something893 Command "go run /tmp/packer-templates-20241016-8139-d0hig4-rspec/example.go"894 stdout895 is expected to match /Good morrow, 14198/896 Command "go version"897 stdout898 is expected to match /^go version go/900Command "lsof -v 2>&1 | head -2 | tail -1"901 exit_status902 is expected to eq 0903 stdout904 is expected to match /revision:/906Command "curl --version | head -1"907 exit_status908 is expected to eq 0909 stdout910 is expected to include "curl"912Command "cmake --version"913 exit_status914 is expected to eq 0915 stdout916 is expected to match /^cmake version [23]/918Command "psql --version"919 exit_status920 is expected to eq 0921 stdout922 is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 1)924mercurial installation925 mecurial commands are executed926 Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/hg-project; hg status; hg add .; hg status"927 stdout928 is expected to match "A test-file.txt"929 stdout930 is expected to match "\\? test-file.txt"931 Command "hg version"932 stdout933 is expected to match /^Mercurial Distributed SCM \(version \d/934 exit_status935 is expected to eq 0937Command "ldconfig -p | grep libldap"938 exit_status939 is expected to eq 0940 stdout941 is expected to match /libldap_r/943nodejs interpreter944 Command "node -e "console.log('Konstantin broke all the thingz')""945 stdout946 is expected to match "Konstantin broke all the thingz"947 Command "node -v"948 stdout949 is expected to match /v\d/950 exit_status951 is expected to eq 0953firefox installation954 Command "sudo -u travis firefox -v"955 exit_status956 is expected to eq 0957 stderr958 is expected to be empty959 firefox commands960 File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/.mozilla/firefox/profiles.ini"961 is expected to exist962 content963 is expected to match /^Name=test/965google-chrome installation966 Command "google-chrome --version"967 exit_status968 is expected to eq 0969 Package "google-chrome-stable"970 is expected to be installed972imagemagick installation973 Command "convert --version"974 stdout975 is expected to match /imagemagick/i976 exit_status977 is expected to eq 0978 imagemagick commands979 Command "identify /tmp/packer-templates-20241016-8139-d0hig4-rspec/logo.gif"980 stdout981 is expected to match /logo\.gif GIF/982 exit_status983 is expected to eq 0985bazaar installation986 Command "bzr version"987 exit_status988 is expected to eq 0989 stdout990 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/991 bazaar commands992 Command "993 cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/bzr-project;994 bzr status;995 bzr add test.txt;996 bzr status;997 "998 stdout999 is expected to match /^added:/1000 stdout1001 is expected to match /^adding test\.txt/1002 stdout1003 is expected to match /^unknown:/1004 stdout1005 is expected to match /^ test\.txt/1006 stdout1007 is expected to match /^ test\.txt/1009python2 interpreter1010 python --version1011 is expected to match /^Python \d+\.\d+\.\d+/1012 Command "python -m this"1013 stdout1014 is expected to match /Readability counts\./1015 stderr1016 is expected to be empty1018sqlite installation1019 sqlite commands are executed1020 Command "1021 sqlite3 /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.db "1022 CREATE TABLE hats (1023 id INTEGER PRIMARY KEY,1024 name TEXT,1025 style INTEGER1026 );1027 INSERT INTO hats VALUES(1, 'floppy', 9001);1028 SELECT * FROM hats;1029 "1030 "1031 stdout1032 is expected to match "1|floppy|9001"1033 Command "sqlite3 -version"1034 stdout1035 is expected to match /^\d\.\d/1036 exit_status1037 is expected to eq 01039git installation1040 git commands1041 Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"1042 stdout1043 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"1044 stdout1045 is expected to match /nothing to commit/1046 Package "git"1047 is expected to be installed1048 Command "git --version"1049 stdout1050 is expected to match /^git version (2\.|1\.[89])/1051 exit_status1052 is expected to eq 01053 Command "git config user.email"1054 stdout1055 is expected to match /travis@example\.org/1056 Command "git config user.name"1057 stdout1058 is expected to match /travis/i1060Command "mysql --version"1061 exit_status1062 is expected to eq 01063 stdout1064 is expected to match /^mysql /1066ruby interpreter1067 Command "ruby -e 'puts "Konstanin broke all the things!"'"1068 stdout1069 is expected to match /^Konstanin broke all the things!$/1070 Command "ruby -e 'puts RUBY_ENGINE'"1071 stdout1072 is expected to match /^ruby/1073 Command "ruby --version"1074 stderr1075 is expected to be empty1076 stdout1077 is expected to match /^ruby 3\.\d+\.\d+/1079jq installation1080 Command "jq -V"1081 exit_status1082 is expected to eq 01083 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-8139-d0hig4-rspec/test.json"1084 stdout1085 is expected to match /^Konstantin broke all the things/1087openssl installation1088 openssl commands1089 Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"1090 stdout1091 is expected to match "Konstantin broke all the things."1092 Command "echo "Konstantin broke all the things." | openssl enc -base64"1093 stdout1094 is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"1095 Command "openssl version"1096 stdout1097 is expected to match /^OpenSSL/1098 exit_status1099 is expected to eq 01101User "travis"1102 is expected to have home directory "/home/travis"1103 is expected to have login shell "/bin/bash"1104 is expected to exist1106perl interpreter1107 Command "perl --version"1108 stdout1109 is expected to match /perl 5, version \d/1110 stderr1111 is expected to be empty1112 Command "perl -e 'print "Hello Mr Euler!\n"'"1113 stdout1114 is expected to match /^Hello Mr Euler!/1115 stderr1116 is expected to be empty1118File "/etc/cloud/cloud.cfg"1119 content1120 is expected to match /managed by chef/i1121 content1122 is expected to match /travis_build_environment/i1124xserver installation1125 Command "DISPLAY=:99.0 xset -q"1126 stderr1127 is expected to be empty1128 stdout1129 is expected to match /^Keyboard Control:/1130 exit_status1131 is expected to eq 01132 Command "xvfb-run -a xdpyinfo"1133 stdout1134 is expected to match /^\s+GLX$/1135 exit_status1136 is expected to eq 01137 stderr1138 is expected to be empty1139 Command "Xorg -version"1140 exit_status1141 is expected to eq 01143Command "nc -h"1144 exit_status1145 is expected to eq 01147vim installation1148 File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt"1149 content1150 is expected to match /there/1151 Command "vim --version"1152 stdout1153 is expected not to be empty1154 stderr1155 is expected to be empty1156 exit_status1157 is expected to eq 01159Command "ldconfig -V"1160 exit_status1161 is expected to eq 01162 stdout1163 is expected to include "ldconfig "1165Command "bats --version"1166 stdout1167 is expected to match /^Bats \d/1169ruby installation1170 Command "rspec --version"1171 stderr1172 is expected to be empty1173 stdout1174 is expected to match /^RSpec \d+\.\d+/1175 Command "gem --version"1176 stderr1177 is expected to be empty1178 stdout1179 is expected to match /^\d+\.\d+\.\d+/1181postgresql installation1182 Command " psql --version"1183 stdout1184 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 2)1185 exit_status1186 is expected to eq 01187 psql commands1188 with a test table1189 Command " psql -U travis -tA -c '\dt' test_db"1190 stderr1191 is expected to be empty1192 stdout1193 is expected to match /^public\|test_table\|/1194 Command " psql -U travis -ltA"1195 stdout1196 is expected to match /^test_db\|/1198md5deep installation1199 Command "md5deep /tmp/packer-templates-20241016-8139-d0hig4-rspec/md5deep.txt"1200 stdout1201 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/1202 Command "md5deep -V"1203 stdout1204 is expected to match "This program is a work of the US Government."1205 Command "md5deep -v"1206 exit_status1207 is expected to eq 01209sysctl installation1210 Command "sysctl -V"1211 exit_status1212 is expected to eq 01213 Command "sysctl -a"1214 stdout1215 is expected to include "kernel.sched_child_runs_first"1217Command "wget --version"1218 exit_status1219 is expected to eq 01220 stdout1221 is expected to include "GNU Wget"1223File "/etc/cloud/templates/hosts.ubuntu.tmpl"1224 is expected to be exist1225 content1226 is expected to match /travis_build_environment/i1227 content1228 is expected to match /managed by chef/i1230File "/etc/cloud/templates/sources.list.ubuntu.tmpl"1231 content1232 is expected to match /managed by chef/i1233 content1234 is expected to match /travis_build_environment/i1236mysql installation1237 File "/home/travis/.my.cnf"1238 is expected to be readable1239 is expected to be owned by "travis"1240 is expected to be grouped into "travis"1241 is expected to exist1242 mysql commands1243 Command "echo "SHOW DATABASES" | mysql"1244 stdout1245 is expected to match /^travis$/1246 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"1247 stdout1248 is expected to include "performance_schema\tOFF" (FAILED - 3)1249 Command "mysql -u root -e 'select "hai"'"1250 stderr1251 is expected to be empty1252 stdout1253 is expected to match /hai/1254 exit_status1255 is expected to eq 01256 Command "mysql -u travis -e 'select "hai"'"1257 exit_status1258 is expected to eq 01259 stderr1260 is expected to be empty1261 stdout1262 is expected to match /hai/1263 Command "echo "SELECT id FROM test" | mysql travis"1264 stdout1265 is expected to match /^4$/1266 File "/etc/mysql/conf.d/performance-schema.cnf"1267 is expected to exist (FAILED - 4)1268 is expected to be grouped into "root" (FAILED - 5)1269 is expected to be readable (FAILED - 6)1270 is expected to be owned by "root" (FAILED - 7)1272php interpreter1273 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"1274 stderr1275 is expected to be empty1276 stdout1277 is expected to match /^2 4 6 8 10/1278 Command "PHPENV_VERSION=system phpenv exec php --version"1279 stderr1280 is expected to be empty1281 stdout1282 is expected to match /^PHP \d+\.\d+/1284Command "sudo -V"1285 stdout1286 is expected to match /^Sudo version \d/1288Command "shellcheck --version"1289 stdout1290 is expected to match /^version: \d+\.\d+\.\d+/1292File "/etc/cloud/templates"1293 is expected to be directory1295memcached installation1296 Package "memcached"1297 is expected to be installed1298 memcached commands1299 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"1300 stdout1301 is expected to match "version"1302 Service "memcached"1303 is expected to be running1304 Command "memcached -h"1305 exit_status1306 is expected to eq 01307 stdout1308 is expected to match /^memcached \d/1310jdk installation1311 should have JAVA_HOME defined1312 Command "java -version"1313 exit_status1314 is expected to eq 01315 stderr1316 is expected to match /^(java|openjdk)/1317 java command1318 Command "cd /tmp/packer-templates-20241016-8139-d0hig4-rspec && java Hello"1319 stdout1320 is expected to match "Hello World!"1322phantomjs installation1323 Command "phantomjs -v"1324 stdout1325 is expected to match /\d/1326 exit_status1327 is expected to eq 01328 Command "phantomjs /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.js"1329 stdout1330 is expected to match "Status: success"1332File "/etc/cloud/templates/hosts.tmpl"1333 is expected to be exist1334 content1335 is expected to match /travis_build_environment/i1336 content1337 is expected to match /managed by chef/i1339dictionaries commands1340 Command "look kid"1341 stdout1342 is expected to match /^kidding$/1343 stderr1344 is expected to be empty1345 stdout1346 is expected to match /^kidney$/1347 stdout1348 is expected to match /^kidnappers$/1350Command "packer version"1351 exit_status1352 is expected to eq 01353 stdout1354 is expected to match /^Packer v\d/1356sudoers setup1357 File "/etc/sudoers"1358 is expected to be mode 4401359 is expected to be file1360 is expected to be owned by "root"1361 is expected to exist1362 content1363 is expected to match /^#includedir \/etc\/sudoers\.d$/1364 File "/etc/sudoers.d/travis"1365 is expected to be owned by "root"1366 is expected to exist1367 is expected to be mode 4401368 is expected to be file1369 content1370 is expected to match /^Defaults !mail_badpass$/1371 content1372 is expected to match /^Defaults !authenticate$/1373 content1374 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/1375 content1376 is expected to match /^Defaults !env_reset$/1378ssh access1379 File "/home/travis/.ssh/authorized_keys"1380 is expected to be readable1381 is expected to be writable1382 is expected to exist1383 size1384 is expected to be positive1385 File "/home/travis/.ssh/known_hosts"1386 is expected to be writable1387 is expected to be readable1388 is expected to exist1389 size1390 is expected to be positive1392unarchivers installation1393 Command "1394 cd /tmp/packer-templates-20241016-8139-d0hig4-rspec;1395 zip test.zip test.txt;1396 rm test.txt;1397 ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;1398 unzip test.zip;1399 cat test.txt1400 "1401 stdout1402 is expected to include "test.zip"1403 stdout1404 is expected to match "Konstantin broke all the things."1405 Command "1406 gzip /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;1407 rm /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;1408 ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;1409 gzip -d /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt.gz;1410 cat /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt1411 "1412 stdout1413 is expected to include "test.txt.gz"1414 stdout1415 is expected to match "Konstantin broke all the things."1416 Command "gzip --version"1417 exit_status1418 is expected to eq 01419 stdout1420 is expected to match /^gzip \d/1421 Command "zip --version"1422 exit_status1423 is expected to eq 01424 stdout1425 is expected to match /Zip \d/1426 Command "unzip -version"1427 stdout1428 is expected to match /^UnZip \d/1429 exit_status1430 is expected to eq 01431 Command "1432 bzip2 -z /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;1433 rm /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt;1434 ls /tmp/packer-templates-20241016-8139-d0hig4-rspec;1435 bzip2 -d /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt.bz2;1436 cat /tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt1437 "1438 stdout1439 is expected to match "Konstantin broke all the things."1440 stdout1441 is expected to include "test.txt.bz2"1442 Command "dpkg -s libbz2-dev"1443 stdout1444 is expected to match "Status: install ok installed"1446File "/usr/share/travis/system_info"1447 is expected to exist1448 size1449 is expected to be positive1451docker-compose installation1452 Command "docker-compose --version"1453 stdout1454 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 8)1455 exit_status1456 is expected to eq 01458clang installation1459 Command "clang -v"1460 exit_status1461 is expected to eq 01462 clang command1463 Command "clang -help"1464 stdout1465 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"1467Command "ssh -V"1468 stderr1469 is expected to match /OpenSSH/1471File "/home/travis/bin"1472 is expected to be writable1473 is expected to be directory1475rvm installation1476 Command "rvm version"1477 stdout1478 is expected to match /^rvm /1479 exit_status1480 is expected to eq 01481 stderr1482 is expected to be empty1483 rvm commands1484 Command "rvm list"1485 stdout1486 is expected to include "current"1487 stderr1488 is expected to be empty1489 stdout1490 is expected to match /ruby-2\.[234567]\.\d/1491 Command "rvm default do echo whatever"1492 stdout1493 is expected to include "whatever"1494 stdout1495 is expected not to include "Warning!"1496 stderr1497 is expected not to include "Warning!"1498 File "/home/travis/.rvm/user/db"1499 is expected to exist1500 is expected to be readable1501 is expected to be writable1502 File "/home/travis/.rvmrc"1503 is expected to be writable1504 is expected to be readable1505 is expected to exist1507ragel installation1508 ragel commands1509 add a ragel file and execute a ragel command1510 File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/hello_world.rb"1511 content1512 is expected to match /^puts "Hello World"/1513 Command "ragel -v"1514 exit_status1515 is expected to eq 01516 stdout1517 is expected to match /^Ragel /1518 Package "ragel"1519 is expected to be installed1521apt installation1522 Command "apt-cache search ubuntu-restricted-extras"1523 stdout1524 is expected not to be empty1525 apt architecture1526 Command "dpkg --print-architecture"1527 stdout1528 is expected to match /amd64/1529 Command "dpkg --print-foreign-architectures"1530 stdout1531 is expected to match /i386/1532 apt commands1533 Command "sudo apt-get update -y"1534 stdout1535 is expected to match /http/1536 Command "sudo apt-get install -y language-pack-pt"1537 stdout1538 is expected to match /Reading state/1539 File "/var/lib/apt/lists"1540 is expected to be directory1541 Command "apt-get -v"1542 exit_status1543 is expected to eq 01544 /var/lib/apt/lists/*Packages*1545 is non-empty1547emacs installation1548 editing1549 File "/tmp/packer-templates-20241016-8139-d0hig4-rspec/test.txt"1550 content1551 is expected to match "poof"1552 Command "emacs --version"1553 exit_status1554 is expected to eq 01556Command "shfmt -version"1557 stdout1558 is expected to match /^v\d+\.\d+\.\d+/1560python environment1561 Command "true ; nosetests --version"1562 stdout1563 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 9)1564 stderr1565 is expected to be empty (FAILED - 10)1566 Command "true ; py.test --version"1567 stderr1568 is expected to be empty (FAILED - 11)1569 stdout1570 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 12)1571 Command "true ; wheel version"1572 stderr1573 is expected to be empty (FAILED - 13)1574 stdout1575 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 14)1576 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"1577 stderr1578 is expected to be empty1579 stdout1580 is expected to match /^\d+\.\d+/1581 Command "true ; pip --version"1582 stderr1583 is expected to be empty1584 stdout1585 is expected to match /^pip \d+\.\d+(\.\d+)?/1587Command "heroku version"1588 stdout1589 is expected to match /^heroku/1591Failures:1593 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})/1595 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})/1602 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'1604 2) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/1606 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/1615 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'1617 3) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"1628performance_schema ON1630 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'1632 4) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist1637 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'1639 5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"1641 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false1644 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'1646 6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable1651 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'1653 7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"1655 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false1658 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'1660 8) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/1662 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/1671 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'1673 9) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/1683 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'1685 10) python environment Command "true ; nosetests --version" stderr is expected to be empty1689 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'1691 11) python environment Command "true ; py.test --version" stderr is expected to be empty1696 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'1698 12) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/1707 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'1709 13) python environment Command "true ; wheel version" stderr is expected to be empty1714 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'1716 14) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/1725 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'1727Finished in 1 minute 9.67 seconds (files took 1.12 seconds to load)1728282 examples, 14 failures1730Failed examples:1732rspec /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})/1733rspec /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])/1734rspec /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"1735rspec /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 exist1736rspec /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"1737rspec /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 readable1738rspec /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"1739rspec /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+/1740rspec /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+/1741rspec /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 empty1742rspec /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 empty1743rspec /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+/1744rspec /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 empty1745rspec /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+/1747Randomized with seed 330431749+ local exit_code=11750+ [[ 1 != 0 ]]1751+ echo 'Spec suite exited with 1'1752Spec suite exited with 11753+ [[ -n '' ]]1754+ exit 11756The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 2 of 3.1758+sudo packer-scripts/run-serverspecs1759+ shopt -s nullglob1760+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1761+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1762+ export CHEF_LICENSE=accept-silent1763+ CHEF_LICENSE=accept-silent1764+ 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/bin1765+ 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/bin1766+ export DEBIAN_FRONTEND=noninteractive1767+ DEBIAN_FRONTEND=noninteractive1768+ export RUBYOPT=-W01769+ RUBYOPT=-W01770+ : /home/travis/build/travis-ci/packer-templates/tmp1771+ : 'bash -lc'1772+ : docker1773+ [[ docker == \d\o\c\k\e\r ]]1774+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'1775+ SPEC_ARGS='--tag ~dev --tag ~docker:false'1776++ uname -m1777+ [[ x86_64 =~ aarch64 ]]1778++ uname -m1779+ [[ x86_64 =~ ppc64 ]]1780+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp1781+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]1782+ return1783+ __create_sudo_bash1784+ cat1785+ chmod 0755 /tmp/sudo-bash1786+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp1787+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp1788+ for suite in ${SPEC_SUITES/,/ }1789+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'1790+ local suite=travis_packer_templates1791+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1792+ local 'runner=bash -lc'1793+ local cookbook_dir1794++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp1795++ local suite=travis_packer_templates1796++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1797++ local spec_dir1798+++ head -11799+++ 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 d1800++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1801++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1802+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1803+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1804+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'1805+ local suite=travis_packer_templates1806+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1807+ local 'runner=bash -lc'1808+ set +o errexit1809++ uname -m1810++ uname -m1811+ bash -lc '1812set -o xtrace1813export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"1814export TERM=xterm1815export PACKER_BUILDER_TYPE=docker1816export RUBYOPT=-W01817if [[ x86_64 =~ ppc64 ]]; then1818 gem install serverspec1819else1820 chef gem install serverspec1821fi1822unset GEM_PATH1823cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1824sudo systemctl start xvfb.service1825set -o errexit1826if [[ x86_64 =~ ppc64 ]]; then1827 rspec --tag ~dev --tag ~docker:false \1828 --format documentation \1829 --format json \1830 --out /home/travis/.travis_packer_templates_rspec.json1831else1832 chef exec rspec --tag ~dev --tag ~docker:false \1833 --format documentation \1834 --format json \1835 --out /home/travis/.travis_packer_templates_rspec.json1836fi1837'1838+ 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/bin1839+ 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/bin1840+ export TERM=xterm1841+ TERM=xterm1842+ export PACKER_BUILDER_TYPE=docker1843+ PACKER_BUILDER_TYPE=docker1844+ export RUBYOPT=-W01845+ RUBYOPT=-W01846+ [[ x86_64 =~ ppc64 ]]1847+ chef gem install serverspec1848WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,1849 gem executables will not run.1850Successfully installed serverspec-2.42.318511 gem installed1852+ unset GEM_PATH1853+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1854+ sudo systemctl start xvfb.service1855+ set -o errexit1856+ [[ x86_64 =~ ppc64 ]]1857+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json1858Run options: exclude {:dev=>true, :docker=>false}1860Randomized with seed 605111862sqlite installation1863 Command "sqlite3 -version"1864 stdout1865 is expected to match /^\d\.\d/1866 exit_status1867 is expected to eq 01868 sqlite commands are executed1869 Command "1870 sqlite3 /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.db "1871 CREATE TABLE hats (1872 id INTEGER PRIMARY KEY,1873 name TEXT,1874 style INTEGER1875 );1876 INSERT INTO hats VALUES(1, 'floppy', 9001);1877 SELECT * FROM hats;1878 "1879 "1880 stdout1881 is expected to match "1|floppy|9001"1883Command "nc -h"1884 exit_status1885 is expected to eq 01887ruby installation1888 Command "rspec --version"1889 stderr1890 is expected to be empty1891 stdout1892 is expected to match /^RSpec \d+\.\d+/1893 Command "gem --version"1894 stderr1895 is expected to be empty1896 stdout1897 is expected to match /^\d+\.\d+\.\d+/1899subversion installation1900 Command "svn --version"1901 exit_status1902 is expected to eq 01903 subversion commands are executed1904 File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/svn-project/README.txt"1905 content1906 is expected to match "This is a Subversion repository;"1908Command "bats --version"1909 stdout1910 is expected to match /^Bats \d/1912File "/usr/share/travis/system_info"1913 is expected to exist1914 size1915 is expected to be positive1917Command "lsof -v 2>&1 | head -2 | tail -1"1918 exit_status1919 is expected to eq 01920 stdout1921 is expected to match /revision:/1923File "/etc/cloud/templates/hosts.ubuntu.tmpl"1924 is expected to be exist1925 content1926 is expected to match /managed by chef/i1927 content1928 is expected to match /travis_build_environment/i1930Command "shellcheck --version"1931 stdout1932 is expected to match /^version: \d+\.\d+\.\d+/1934File "/home/travis/bin"1935 is expected to be writable1936 is expected to be directory1938emacs installation1939 Command "emacs --version"1940 exit_status1941 is expected to eq 01942 editing1943 File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt"1944 content1945 is expected to match "poof"1947Command "heroku version"1948 stdout1949 is expected to match /^heroku/1951imagemagick installation1952 Command "convert --version"1953 stdout1954 is expected to match /imagemagick/i1955 exit_status1956 is expected to eq 01957 imagemagick commands1958 Command "identify /tmp/packer-templates-20241016-12266-snnm4o-rspec/logo.gif"1959 exit_status1960 is expected to eq 01961 stdout1962 is expected to match /logo\.gif GIF/1964docker-compose installation1965 Command "docker-compose --version"1966 stdout1967 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 1)1968 exit_status1969 is expected to eq 01971sysctl installation1972 Command "sysctl -a"1973 stdout1974 is expected to include "kernel.sched_child_runs_first"1975 Command "sysctl -V"1976 exit_status1977 is expected to eq 01979Command "psql --version"1980 exit_status1981 is expected to eq 01982 stdout1983 is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 2)1985redis installation1986 Command "redis-server --version"1987 stdout1988 is expected to match /^Redis /1989 exit_status1990 is expected to eq 01991 redis commands1992 Command "redis-cli -p 16379 PING"1993 stdout1994 is expected to match /^PONG$/1995 Command "redis-cli -p 16379 GET test_key | cat"1996 stdout1997 is expected to match /^test_value$/1999xserver installation2000 Command "Xorg -version"2001 exit_status2002 is expected to eq 02003 Command "xvfb-run -a xdpyinfo"2004 exit_status2005 is expected to eq 02006 stdout2007 is expected to match /^\s+GLX$/2008 stderr2009 is expected to be empty2010 Command "DISPLAY=:99.0 xset -q"2011 stdout2012 is expected to match /^Keyboard Control:/2013 exit_status2014 is expected to eq 02015 stderr2016 is expected to be empty2018go toolchain installation2019 compiling something2020 Command "go run /tmp/packer-templates-20241016-12266-snnm4o-rspec/example.go"2021 stdout2022 is expected to match /Good morrow, 17359/2023 Command "go version"2024 stdout2025 is expected to match /^go version go/2026 Command "go env GOROOT"2027 stdout2028 is expected to match /\/\.gimme\//2030Command "packer version"2031 exit_status2032 is expected to eq 02033 stdout2034 is expected to match /^Packer v\d/2036md5deep installation2037 Command "md5deep /tmp/packer-templates-20241016-12266-snnm4o-rspec/md5deep.txt"2038 stdout2039 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/2040 Command "md5deep -V"2041 stdout2042 is expected to match "This program is a work of the US Government."2043 Command "md5deep -v"2044 exit_status2045 is expected to eq 02047ssh access2048 File "/home/travis/.ssh/authorized_keys"2049 is expected to be writable2050 is expected to exist2051 is expected to be readable2052 size2053 is expected to be positive2054 File "/home/travis/.ssh/known_hosts"2055 is expected to exist2056 is expected to be readable2057 is expected to be writable2058 size2059 is expected to be positive2061User "travis"2062 is expected to have login shell "/bin/bash"2063 is expected to exist2064 is expected to have home directory "/home/travis"2066sudoers setup2067 File "/etc/sudoers"2068 is expected to be file2069 is expected to be mode 4402070 is expected to be owned by "root"2071 is expected to exist2072 content2073 is expected to match /^#includedir \/etc\/sudoers\.d$/2074 File "/etc/sudoers.d/travis"2075 is expected to be file2076 is expected to be owned by "root"2077 is expected to be mode 4402078 is expected to exist2079 content2080 is expected to match /^Defaults !authenticate$/2081 content2082 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/2083 content2084 is expected to match /^Defaults !env_reset$/2085 content2086 is expected to match /^Defaults !mail_badpass$/2088go installation2089 Command "gimme -l"2090 stdout2091 is expected not to be empty2093python3 interpreter2094 Command "python3 -m this"2095 stderr2096 is expected to be empty2097 stdout2098 is expected to match /Readability counts\./2099 python3 --version2100 is expected to match /^Python \d+\.\d+\.\d+/2102php interpreter2103 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"2104 stderr2105 is expected to be empty2106 stdout2107 is expected to match /^2 4 6 8 10/2108 Command "PHPENV_VERSION=system phpenv exec php --version"2109 stdout2110 is expected to match /^PHP \d+\.\d+/2111 stderr2112 is expected to be empty2114rvm installation2115 File "/home/travis/.rvmrc"2116 is expected to be readable2117 is expected to exist2118 is expected to be writable2119 Command "rvm version"2120 stderr2121 is expected to be empty2122 exit_status2123 is expected to eq 02124 stdout2125 is expected to match /^rvm /2126 File "/home/travis/.rvm/user/db"2127 is expected to exist2128 is expected to be readable2129 is expected to be writable2130 rvm commands2131 Command "rvm default do echo whatever"2132 stderr2133 is expected not to include "Warning!"2134 stdout2135 is expected to include "whatever"2136 stdout2137 is expected not to include "Warning!"2138 Command "rvm list"2139 stdout2140 is expected to include "current"2141 stderr2142 is expected to be empty2143 stdout2144 is expected to match /ruby-2\.[234567]\.\d/2146google-chrome installation2147 Command "google-chrome --version"2148 exit_status2149 is expected to eq 02150 Package "google-chrome-stable"2151 is expected to be installed2153perlbrew installation2154 Command "perlbrew list"2155 exit_status2156 is expected to eq 02157 Command "perlbrew --version"2158 exit_status2159 is expected to eq 02160 stdout2161 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/2163openssl installation2164 openssl commands2165 Command "echo "Konstantin broke all the things." | openssl enc -base64"2166 stdout2167 is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"2168 Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"2169 stdout2170 is expected to match "Konstantin broke all the things."2171 Command "openssl version"2172 stdout2173 is expected to match /^OpenSSL/2174 exit_status2175 is expected to eq 02177File "/.node-attributes.yml"2178 is expected to exist2179 content_as_yaml2180 is expected to include "__timestamp"2182File "/opt"2183 is expected to be writable2184 is expected to be directory2186mysql installation2187 mysql commands2188 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"2189 stdout2190 is expected to include "performance_schema\tOFF" (FAILED - 3)2191 Command "mysql -u root -e 'select "hai"'"2192 stdout2193 is expected to match /hai/2194 stderr2195 is expected to be empty2196 exit_status2197 is expected to eq 02198 Command "echo "SHOW DATABASES" | mysql"2199 stdout2200 is expected to match /^travis$/2201 Command "mysql -u travis -e 'select "hai"'"2202 exit_status2203 is expected to eq 02204 stdout2205 is expected to match /hai/2206 stderr2207 is expected to be empty2208 Command "echo "SELECT id FROM test" | mysql travis"2209 stdout2210 is expected to match /^4$/2211 File "/etc/mysql/conf.d/performance-schema.cnf"2212 is expected to be readable (FAILED - 4)2213 is expected to exist (FAILED - 5)2214 is expected to be grouped into "root" (FAILED - 6)2215 is expected to be owned by "root" (FAILED - 7)2216 File "/home/travis/.my.cnf"2217 is expected to exist2218 is expected to be readable2219 is expected to be grouped into "travis"2220 is expected to be owned by "travis"2222python2 interpreter2223 python --version2224 is expected to match /^Python \d+\.\d+\.\d+/2225 Command "python -m this"2226 stderr2227 is expected to be empty2228 stdout2229 is expected to match /Readability counts\./2231Command "wget --version"2232 stdout2233 is expected to include "GNU Wget"2234 exit_status2235 is expected to eq 02237vim installation2238 Command "vim --version"2239 stderr2240 is expected to be empty2241 exit_status2242 is expected to eq 02243 stdout2244 is expected not to be empty2245 File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt"2246 content2247 is expected to match /there/2249Command "mysql --version"2250 exit_status2251 is expected to eq 02252 stdout2253 is expected to match /^mysql /2255php environment2256 File "/home/travis/.pearrc"2257 is expected not to exist2258 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"2259 stdout2260 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/2261 exit_status2262 is expected to eq 02263 Command "PHPENV_VERSION=system phpenv exec php -m --version"2264 stdout2265 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"2267File "/etc/cloud/templates/sources.list.tmpl"2268 content2269 is expected to match /managed by chef/i2270 content2271 is expected to match /travis_build_environment/i2273jdk installation2274 should have JAVA_HOME defined2275 Command "java -version"2276 stderr2277 is expected to match /^(java|openjdk)/2278 exit_status2279 is expected to eq 02280 java command2281 Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec && java Hello"2282 stdout2283 is expected to match "Hello World!"2285File "/etc/cloud/templates/sources.list.debian.tmpl"2286 content2287 is expected to match /managed by chef/i2288 content2289 is expected to match /travis_build_environment/i2291git installation2292 Package "git"2293 is expected to be installed2294 Command "git config user.email"2295 stdout2296 is expected to match /travis@example\.org/2297 git commands2298 Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"2299 stdout2300 is expected to match /nothing to commit/2301 stdout2302 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"2303 Command "git --version"2304 stdout2305 is expected to match /^git version (2\.|1\.[89])/2306 exit_status2307 is expected to eq 02308 Command "git config user.name"2309 stdout2310 is expected to match /travis/i2312clang installation2313 clang command2314 Command "clang -help"2315 stdout2316 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"2317 Command "clang -v"2318 exit_status2319 is expected to eq 02321dictionaries commands2322 Command "look kid"2323 stdout2324 is expected to match /^kidney$/2325 stdout2326 is expected to match /^kidnappers$/2327 stdout2328 is expected to match /^kidding$/2329 stderr2330 is expected to be empty2332Command "shfmt -version"2333 stdout2334 is expected to match /^v\d+\.\d+\.\d+/2336jq installation2337 Command "jq -V"2338 exit_status2339 is expected to eq 02340 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-12266-snnm4o-rspec/test.json"2341 stdout2342 is expected to match /^Konstantin broke all the things/2344ccache installation2345 ccache commands are executed2346 Command "ccache -M 0.5"2347 stdout2348 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/2349 Command "ccache -s"2350 stdout2351 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"2352 Command "ccache -V"2353 exit_status2354 is expected to eq 02356Command "cmake --version"2357 exit_status2358 is expected to eq 02359 stdout2360 is expected to match /^cmake version [23]/2362ruby interpreter2363 Command "ruby -e 'puts "Konstanin broke all the things!"'"2364 stdout2365 is expected to match /^Konstanin broke all the things!$/2366 Command "ruby -e 'puts RUBY_ENGINE'"2367 stdout2368 is expected to match /^ruby/2369 Command "ruby --version"2370 stdout2371 is expected to match /^ruby 3\.\d+\.\d+/2372 stderr2373 is expected to be empty2375mercurial installation2376 mecurial commands are executed2377 Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/hg-project; hg status; hg add .; hg status"2378 stdout2379 is expected to match "\\? test-file.txt"2380 stdout2381 is expected to match "A test-file.txt"2382 Command "hg version"2383 stdout2384 is expected to match /^Mercurial Distributed SCM \(version \d/2385 exit_status2386 is expected to eq 02388memcached installation2389 Command "memcached -h"2390 exit_status2391 is expected to eq 02392 stdout2393 is expected to match /^memcached \d/2394 memcached commands2395 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"2396 stdout2397 is expected to match "version"2398 Service "memcached"2399 is expected to be running2400 Package "memcached"2401 is expected to be installed2403mongodb installation2404 mongo commands2405 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""2406 stdout2407 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/2408 Service "mongod"2409 is expected not to be running2410 is expected not to be enabled2411 Command "mongo --version"2412 stdout2413 is expected to match /MongoDB shell/2414 exit_status2415 is expected to eq 02417gimme installation2418 Command "gimme --version"2419 exit_status2420 is expected to eq 02421 Command "eval "$(HOME=/tmp/packer-templates-20241016-12266-snnm4o-rspec gimme 1.6.3)" 2>&1"2422 stdout2423 is expected to match "go version go1.6.3"2425File "/etc/cloud/templates"2426 is expected to be directory2428gcc installation2429 Command "gcc -v"2430 stderr2431 is expected to match /^gcc version/2432 Command "2433 cd /tmp/packer-templates-20241016-12266-snnm4o-rspec;2434 gcc -Wall -o hai hai.c;2435 ./hai there2436 "2437 stdout2438 is expected to match /^hai 2$/2439 Command "cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/empty && gcc"2440 stderr2441 is expected to include "no input files"2443Command "ssh -V"2444 stderr2445 is expected to match /OpenSSH/2447perl interpreter2448 Command "perl -e 'print "Hello Mr Euler!\n"'"2449 stderr2450 is expected to be empty2451 stdout2452 is expected to match /^Hello Mr Euler!/2453 Command "perl --version"2454 stdout2455 is expected to match /perl 5, version \d/2456 stderr2457 is expected to be empty2459bazaar installation2460 Command "bzr version"2461 exit_status2462 is expected to eq 02463 stdout2464 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/2465 bazaar commands2466 Command "2467 cd /tmp/packer-templates-20241016-12266-snnm4o-rspec/bzr-project;2468 bzr status;2469 bzr add test.txt;2470 bzr status;2471 "2472 stdout2473 is expected to match /^added:/2474 stdout2475 is expected to match /^ test\.txt/2476 stdout2477 is expected to match /^ test\.txt/2478 stdout2479 is expected to match /^adding test\.txt/2480 stdout2481 is expected to match /^unknown:/2483Command "sudo -V"2484 stdout2485 is expected to match /^Sudo version \d/2487apt installation2488 apt commands2489 Command "sudo apt-get install -y language-pack-pt"2490 stdout2491 is expected to match /Reading state/2492 Command "sudo apt-get update -y"2493 stdout2494 is expected to match /http/2495 Command "apt-cache search ubuntu-restricted-extras"2496 stdout2497 is expected not to be empty2498 /var/lib/apt/lists/*Packages*2499 is non-empty2500 apt architecture2501 Command "dpkg --print-architecture"2502 stdout2503 is expected to match /amd64/2504 Command "dpkg --print-foreign-architectures"2505 stdout2506 is expected to match /i386/2507 Command "apt-get -v"2508 exit_status2509 is expected to eq 02510 File "/var/lib/apt/lists"2511 is expected to be directory2513Command "curl --version | head -1"2514 stdout2515 is expected to include "curl"2516 exit_status2517 is expected to eq 02519File "/etc/cloud/templates/hosts.tmpl"2520 is expected to be exist2521 content2522 is expected to match /managed by chef/i2523 content2524 is expected to match /travis_build_environment/i2526phantomjs installation2527 Command "phantomjs -v"2528 stdout2529 is expected to match /\d/2530 exit_status2531 is expected to eq 02532 Command "phantomjs /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.js"2533 stdout2534 is expected to match "Status: success"2536unarchivers installation2537 Command "dpkg -s libbz2-dev"2538 stdout2539 is expected to match "Status: install ok installed"2540 Command "gzip --version"2541 stdout2542 is expected to match /^gzip \d/2543 exit_status2544 is expected to eq 02545 Command "unzip -version"2546 exit_status2547 is expected to eq 02548 stdout2549 is expected to match /^UnZip \d/2550 Command "2551 cd /tmp/packer-templates-20241016-12266-snnm4o-rspec;2552 zip test.zip test.txt;2553 rm test.txt;2554 ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;2555 unzip test.zip;2556 cat test.txt2557 "2558 stdout2559 is expected to match "Konstantin broke all the things."2560 stdout2561 is expected to include "test.zip"2562 Command "2563 bzip2 -z /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;2564 rm /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;2565 ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;2566 bzip2 -d /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt.bz2;2567 cat /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt2568 "2569 stdout2570 is expected to match "Konstantin broke all the things."2571 stdout2572 is expected to include "test.txt.bz2"2573 Command "2574 gzip /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;2575 rm /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt;2576 ls /tmp/packer-templates-20241016-12266-snnm4o-rspec;2577 gzip -d /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt.gz;2578 cat /tmp/packer-templates-20241016-12266-snnm4o-rspec/test.txt2579 "2580 stdout2581 is expected to include "test.txt.gz"2582 stdout2583 is expected to match "Konstantin broke all the things."2584 Command "zip --version"2585 exit_status2586 is expected to eq 02587 stdout2588 is expected to match /Zip \d/2590Command "rsync --version"2591 exit_status2592 is expected to eq 02593 stdout2594 is expected to match /rsync.+version/2596postgresql installation2597 psql commands2598 with a test table2599 Command " psql -U travis -tA -c '\dt' test_db"2600 stdout2601 is expected to match /^public\|test_table\|/2602 stderr2603 is expected to be empty2604 Command " psql -U travis -ltA"2605 stdout2606 is expected to match /^test_db\|/2607 Command " psql --version"2608 exit_status2609 is expected to eq 02610 stdout2611 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 8)2613Command "ldconfig -V"2614 exit_status2615 is expected to eq 02616 stdout2617 is expected to include "ldconfig "2619nodejs interpreter2620 Command "node -v"2621 exit_status2622 is expected to eq 02623 stdout2624 is expected to match /v\d/2625 Command "node -e "console.log('Konstantin broke all the thingz')""2626 stdout2627 is expected to match "Konstantin broke all the thingz"2629File "/etc/cloud/templates/hosts.debian.tmpl"2630 is expected to be exist2631 content2632 is expected to match /travis_build_environment/i2633 content2634 is expected to match /managed by chef/i2636python environment2637 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"2638 stderr2639 is expected to be empty2640 stdout2641 is expected to match /^\d+\.\d+/2642 Command "true ; pip --version"2643 stdout2644 is expected to match /^pip \d+\.\d+(\.\d+)?/2645 stderr2646 is expected to be empty2647 Command "true ; wheel version"2648 stderr2649 is expected to be empty (FAILED - 9)2650 stdout2651 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 10)2652 Command "true ; nosetests --version"2653 stderr2654 is expected to be empty (FAILED - 11)2655 stdout2656 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 12)2657 Command "true ; py.test --version"2658 stderr2659 is expected to be empty (FAILED - 13)2660 stdout2661 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 14)2663Command "ldconfig -p | grep libldap"2664 stdout2665 is expected to match /libldap_r/2666 exit_status2667 is expected to eq 02669Command "iptables --version"2670 stdout2671 is expected to include "iptables"2672 exit_status2673 is expected to eq 02675File "/etc/cloud/templates/sources.list.ubuntu.tmpl"2676 content2677 is expected to match /travis_build_environment/i2678 content2679 is expected to match /managed by chef/i2681File "/etc/cloud/cloud.cfg"2682 content2683 is expected to match /managed by chef/i2684 content2685 is expected to match /travis_build_environment/i2687ragel installation2688 Package "ragel"2689 is expected to be installed2690 Command "ragel -v"2691 stdout2692 is expected to match /^Ragel /2693 exit_status2694 is expected to eq 02695 ragel commands2696 add a ragel file and execute a ragel command2697 File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/hello_world.rb"2698 content2699 is expected to match /^puts "Hello World"/2701firefox installation2702 Command "sudo -u travis firefox -v"2703 stderr2704 is expected to be empty2705 exit_status2706 is expected to eq 02707 firefox commands2708 File "/tmp/packer-templates-20241016-12266-snnm4o-rspec/.mozilla/firefox/profiles.ini"2709 is expected to exist2710 content2711 is expected to match /^Name=test/2713dictionaries installation2714 Package "wamerican"2715 is expected to be installed2717Failures:2719 1) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/2721 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/2730 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'2732 2) Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/2734 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})/2741 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'2743 3) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"2754performance_schema ON2756 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'2758 4) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable2763 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'2765 5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist2770 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'2772 6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"2774 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false2775 /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$2777 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'2779 7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"2781 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false2782 /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$2784 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'2786 8) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/2788 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/2795 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'2797 9) python environment Command "true ; wheel version" stderr is expected to be empty2802 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'2804 10) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/2813 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'2815 11) python environment Command "true ; nosetests --version" stderr is expected to be empty2820 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'2822 12) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/2831 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'2833 13) python environment Command "true ; py.test --version" stderr is expected to be empty2838 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'2840 14) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/2849 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'2851Finished in 59.09 seconds (files took 0.92731 seconds to load)2852282 examples, 14 failures2854Failed examples:2856rspec /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+/2857rspec /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})/2858rspec /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"2859rspec /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 readable2860rspec /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 exist2861rspec /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"2862rspec /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"2863rspec /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])/2864rspec /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 empty2865rspec /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+/2866rspec /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 empty2867rspec /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+/2868rspec /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 empty2869rspec /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+/2871Randomized with seed 605112873+ local exit_code=12874+ [[ 1 != 0 ]]2875+ echo 'Spec suite exited with 1'2876Spec suite exited with 12877+ [[ -n '' ]]2878+ exit 12880The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed. Retrying, 3 of 3.2882+sudo packer-scripts/run-serverspecs2883+ shopt -s nullglob2884+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin2885+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin2886+ export CHEF_LICENSE=accept-silent2887+ CHEF_LICENSE=accept-silent2888+ 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/bin2889+ 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/bin2890+ export DEBIAN_FRONTEND=noninteractive2891+ DEBIAN_FRONTEND=noninteractive2892+ export RUBYOPT=-W02893+ RUBYOPT=-W02894+ : /home/travis/build/travis-ci/packer-templates/tmp2895+ : 'bash -lc'2896+ : docker2897+ [[ docker == \d\o\c\k\e\r ]]2898+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'2899+ SPEC_ARGS='--tag ~dev --tag ~docker:false'2900++ uname -m2901+ [[ x86_64 =~ aarch64 ]]2902++ uname -m2903+ [[ x86_64 =~ ppc64 ]]2904+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp2905+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]2906+ return2907+ __create_sudo_bash2908+ cat2909+ chmod 0755 /tmp/sudo-bash2910+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp2911+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp2912+ for suite in ${SPEC_SUITES/,/ }2913+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'2914+ local suite=travis_packer_templates2915+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp2916+ local 'runner=bash -lc'2917+ local cookbook_dir2918++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp2919++ local suite=travis_packer_templates2920++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp2921++ local spec_dir2922+++ 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 d2923+++ head -12924++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec2925++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec2926+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2927+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2928+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'2929+ local suite=travis_packer_templates2930+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2931+ local 'runner=bash -lc'2932+ set +o errexit2933++ uname -m2934++ uname -m2935+ bash -lc '2936set -o xtrace2937export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"2938export TERM=xterm2939export PACKER_BUILDER_TYPE=docker2940export RUBYOPT=-W02941if [[ x86_64 =~ ppc64 ]]; then2942 gem install serverspec2943else2944 chef gem install serverspec2945fi2946unset GEM_PATH2947cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2948sudo systemctl start xvfb.service2949set -o errexit2950if [[ x86_64 =~ ppc64 ]]; then2951 rspec --tag ~dev --tag ~docker:false \2952 --format documentation \2953 --format json \2954 --out /home/travis/.travis_packer_templates_rspec.json2955else2956 chef exec rspec --tag ~dev --tag ~docker:false \2957 --format documentation \2958 --format json \2959 --out /home/travis/.travis_packer_templates_rspec.json2960fi2961'2962+ 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/bin2963+ 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/bin2964+ export TERM=xterm2965+ TERM=xterm2966+ export PACKER_BUILDER_TYPE=docker2967+ PACKER_BUILDER_TYPE=docker2968+ export RUBYOPT=-W02969+ RUBYOPT=-W02970+ [[ x86_64 =~ ppc64 ]]2971+ chef gem install serverspec2972WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,2973 gem executables will not run.2974Successfully installed serverspec-2.42.329751 gem installed2976+ unset GEM_PATH2977+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates2978+ sudo systemctl start xvfb.service2979+ set -o errexit2980+ [[ x86_64 =~ ppc64 ]]2981+ chef exec rspec --tag '~dev' --tag '~docker:false' --format documentation --format json --out /home/travis/.travis_packer_templates_rspec.json2982Run options: exclude {:dev=>true, :docker=>false}2984Randomized with seed 44552986User "travis"2987 is expected to have login shell "/bin/bash"2988 is expected to exist2989 is expected to have home directory "/home/travis"2991sudoers setup2992 File "/etc/sudoers"2993 is expected to be owned by "root"2994 is expected to be file2995 is expected to exist2996 is expected to be mode 4402997 content2998 is expected to match /^#includedir \/etc\/sudoers\.d$/2999 File "/etc/sudoers.d/travis"3000 is expected to be file3001 is expected to exist3002 is expected to be owned by "root"3003 is expected to be mode 4403004 content3005 is expected to match /^Defaults !mail_badpass$/3006 content3007 is expected to match /^Defaults !authenticate$/3008 content3009 is expected to match /^Defaults !env_reset$/3010 content3011 is expected to match /^travis ALL=\(ALL\) NOPASSWD:ALL$/3013dictionaries commands3014 Command "look kid"3015 stdout3016 is expected to match /^kidnappers$/3017 stderr3018 is expected to be empty3019 stdout3020 is expected to match /^kidding$/3021 stdout3022 is expected to match /^kidney$/3024apt installation3025 apt architecture3026 Command "dpkg --print-architecture"3027 stdout3028 is expected to match /amd64/3029 Command "dpkg --print-foreign-architectures"3030 stdout3031 is expected to match /i386/3032 apt commands3033 Command "sudo apt-get install -y language-pack-pt"3034 stdout3035 is expected to match /Reading state/3036 Command "sudo apt-get update -y"3037 stdout3038 is expected to match /http/3039 Command "apt-cache search ubuntu-restricted-extras"3040 stdout3041 is expected not to be empty3042 Command "apt-get -v"3043 exit_status3044 is expected to eq 03045 /var/lib/apt/lists/*Packages*3046 is non-empty3047 File "/var/lib/apt/lists"3048 is expected to be directory3050Command "wget --version"3051 stdout3052 is expected to include "GNU Wget"3053 exit_status3054 is expected to eq 03056dictionaries installation3057 Package "wamerican"3058 is expected to be installed3060git installation3061 git commands3062 Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/git-project; git status; git add test-file.txt; git status; git add test-file.txt; git rm -f test-file.txt; git status"3063 stdout3064 is expected to include "Untracked files:", "test-file.txt", "Changes to be committed:", and "new file: test-file.txt"3065 stdout3066 is expected to match /nothing to commit/3067 Command "git --version"3068 stdout3069 is expected to match /^git version (2\.|1\.[89])/3070 exit_status3071 is expected to eq 03072 Command "git config user.email"3073 stdout3074 is expected to match /travis@example\.org/3075 Package "git"3076 is expected to be installed3077 Command "git config user.name"3078 stdout3079 is expected to match /travis/i3081Command "ldconfig -p | grep libldap"3082 stdout3083 is expected to match /libldap_r/3084 exit_status3085 is expected to eq 03087Command "shfmt -version"3088 stdout3089 is expected to match /^v\d+\.\d+\.\d+/3091rvm installation3092 rvm commands3093 Command "rvm default do echo whatever"3094 stdout3095 is expected to include "whatever"3096 stdout3097 is expected not to include "Warning!"3098 stderr3099 is expected not to include "Warning!"3100 Command "rvm list"3101 stdout3102 is expected to match /ruby-2\.[234567]\.\d/3103 stdout3104 is expected to include "current"3105 stderr3106 is expected to be empty3107 File "/home/travis/.rvm/user/db"3108 is expected to be readable3109 is expected to exist3110 is expected to be writable3111 File "/home/travis/.rvmrc"3112 is expected to be readable3113 is expected to be writable3114 is expected to exist3115 Command "rvm version"3116 stderr3117 is expected to be empty3118 stdout3119 is expected to match /^rvm /3120 exit_status3121 is expected to eq 03123nodejs interpreter3124 Command "node -e "console.log('Konstantin broke all the thingz')""3125 stdout3126 is expected to match "Konstantin broke all the thingz"3127 Command "node -v"3128 exit_status3129 is expected to eq 03130 stdout3131 is expected to match /v\d/3133Command "rsync --version"3134 exit_status3135 is expected to eq 03136 stdout3137 is expected to match /rsync.+version/3139Command "cmake --version"3140 exit_status3141 is expected to eq 03142 stdout3143 is expected to match /^cmake version [23]/3145bazaar installation3146 Command "bzr version"3147 stdout3148 is expected to match /Bazaar \(bzr\)|Breezy \(brz\)/3149 exit_status3150 is expected to eq 03151 bazaar commands3152 Command "3153 cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/bzr-project;3154 bzr status;3155 bzr add test.txt;3156 bzr status;3157 "3158 stdout3159 is expected to match /^unknown:/3160 stdout3161 is expected to match /^ test\.txt/3162 stdout3163 is expected to match /^adding test\.txt/3164 stdout3165 is expected to match /^ test\.txt/3166 stdout3167 is expected to match /^added:/3169ragel installation3170 Package "ragel"3171 is expected to be installed3172 Command "ragel -v"3173 stdout3174 is expected to match /^Ragel /3175 exit_status3176 is expected to eq 03177 ragel commands3178 add a ragel file and execute a ragel command3179 File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/hello_world.rb"3180 content3181 is expected to match /^puts "Hello World"/3183postgresql installation3184 psql commands3185 with a test table3186 Command " psql -U travis -tA -c '\dt' test_db"3187 stderr3188 is expected to be empty3189 stdout3190 is expected to match /^public\|test_table\|/3191 Command " psql -U travis -ltA"3192 stdout3193 is expected to match /^test_db\|/3194 Command " psql --version"3195 stdout3196 is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/ (FAILED - 1)3197 exit_status3198 is expected to eq 03200File "/etc/cloud/templates/sources.list.tmpl"3201 content3202 is expected to match /managed by chef/i3203 content3204 is expected to match /travis_build_environment/i3206ssh access3207 File "/home/travis/.ssh/authorized_keys"3208 is expected to exist3209 is expected to be readable3210 is expected to be writable3211 size3212 is expected to be positive3213 File "/home/travis/.ssh/known_hosts"3214 is expected to be readable3215 is expected to exist3216 is expected to be writable3217 size3218 is expected to be positive3220Command "psql --version"3221 stdout3222 is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/ (FAILED - 2)3223 exit_status3224 is expected to eq 03226File "/etc/cloud/templates/hosts.tmpl"3227 is expected to be exist3228 content3229 is expected to match /travis_build_environment/i3230 content3231 is expected to match /managed by chef/i3233sysctl installation3234 Command "sysctl -V"3235 exit_status3236 is expected to eq 03237 Command "sysctl -a"3238 stdout3239 is expected to include "kernel.sched_child_runs_first"3241File "/etc/cloud/templates/sources.list.debian.tmpl"3242 content3243 is expected to match /managed by chef/i3244 content3245 is expected to match /travis_build_environment/i3247File "/etc/cloud/templates"3248 is expected to be directory3250File "/etc/cloud/cloud.cfg"3251 content3252 is expected to match /managed by chef/i3253 content3254 is expected to match /travis_build_environment/i3256google-chrome installation3257 Command "google-chrome --version"3258 exit_status3259 is expected to eq 03260 Package "google-chrome-stable"3261 is expected to be installed3263md5deep installation3264 Command "md5deep -V"3265 stdout3266 is expected to match "This program is a work of the US Government."3267 Command "md5deep /tmp/packer-templates-20241016-16295-r1gv4p-rspec/md5deep.txt"3268 stdout3269 is expected to match /^29c04665afa6ef18edc38824ceaff6ab\b/3270 Command "md5deep -v"3271 exit_status3272 is expected to eq 03274go toolchain installation3275 Command "go version"3276 stdout3277 is expected to match /^go version go/3278 Command "go env GOROOT"3279 stdout3280 is expected to match /\/\.gimme\//3281 compiling something3282 Command "go run /tmp/packer-templates-20241016-16295-r1gv4p-rspec/example.go"3283 stdout3284 is expected to match /Good morrow, 14820/3286redis installation3287 redis commands3288 Command "redis-cli -p 16379 PING"3289 stdout3290 is expected to match /^PONG$/3291 Command "redis-cli -p 16379 GET test_key | cat"3292 stdout3293 is expected to match /^test_value$/3294 Command "redis-server --version"3295 exit_status3296 is expected to eq 03297 stdout3298 is expected to match /^Redis /3300phantomjs installation3301 Command "phantomjs /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.js"3302 stdout3303 is expected to match "Status: success"3304 Command "phantomjs -v"3305 exit_status3306 is expected to eq 03307 stdout3308 is expected to match /\d/3310jdk installation3311 should have JAVA_HOME defined3312 Command "java -version"3313 exit_status3314 is expected to eq 03315 stderr3316 is expected to match /^(java|openjdk)/3317 java command3318 Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec && java Hello"3319 stdout3320 is expected to match "Hello World!"3322ruby installation3323 Command "gem --version"3324 stderr3325 is expected to be empty3326 stdout3327 is expected to match /^\d+\.\d+\.\d+/3328 Command "rspec --version"3329 stderr3330 is expected to be empty3331 stdout3332 is expected to match /^RSpec \d+\.\d+/3334unarchivers installation3335 Command "3336 cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec;3337 zip test.zip test.txt;3338 rm test.txt;3339 ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;3340 unzip test.zip;3341 cat test.txt3342 "3343 stdout3344 is expected to include "test.zip"3345 stdout3346 is expected to match "Konstantin broke all the things."3347 Command "gzip --version"3348 stdout3349 is expected to match /^gzip \d/3350 exit_status3351 is expected to eq 03352 Command "3353 bzip2 -z /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;3354 rm /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;3355 ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;3356 bzip2 -d /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt.bz2;3357 cat /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt3358 "3359 stdout3360 is expected to match "Konstantin broke all the things."3361 stdout3362 is expected to include "test.txt.bz2"3363 Command "zip --version"3364 exit_status3365 is expected to eq 03366 stdout3367 is expected to match /Zip \d/3368 Command "unzip -version"3369 exit_status3370 is expected to eq 03371 stdout3372 is expected to match /^UnZip \d/3373 Command "3374 gzip /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;3375 rm /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt;3376 ls /tmp/packer-templates-20241016-16295-r1gv4p-rspec;3377 gzip -d /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt.gz;3378 cat /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt3379 "3380 stdout3381 is expected to include "test.txt.gz"3382 stdout3383 is expected to match "Konstantin broke all the things."3384 Command "dpkg -s libbz2-dev"3385 stdout3386 is expected to match "Status: install ok installed"3388python3 interpreter3389 python3 --version3390 is expected to match /^Python \d+\.\d+\.\d+/3391 Command "python3 -m this"3392 stdout3393 is expected to match /Readability counts\./3394 stderr3395 is expected to be empty3397jq installation3398 Command "jq -r '.stuff|.[]|select(."@type"=="smarm")|.msg[0]' </tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.json"3399 stdout3400 is expected to match /^Konstantin broke all the things/3401 Command "jq -V"3402 exit_status3403 is expected to eq 03405emacs installation3406 Command "emacs --version"3407 exit_status3408 is expected to eq 03409 editing3410 File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt"3411 content3412 is expected to match "poof"3414File "/usr/share/travis/system_info"3415 is expected to exist3416 size3417 is expected to be positive3419Command "heroku version"3420 stdout3421 is expected to match /^heroku/3423gimme installation3424 Command "gimme --version"3425 exit_status3426 is expected to eq 03427 Command "eval "$(HOME=/tmp/packer-templates-20241016-16295-r1gv4p-rspec gimme 1.6.3)" 2>&1"3428 stdout3429 is expected to match "go version go1.6.3"3431File "/home/travis/bin"3432 is expected to be writable3433 is expected to be directory3435php environment3436 File "/home/travis/.pearrc"3437 is expected not to exist3438 Command "PHPENV_VERSION=system phpenv exec php-fpm --version"3439 exit_status3440 is expected to eq 03441 stdout3442 is expected to match /^PHP \d+\.\d+\.\d+.+fpm-fcgi/3443 Command "PHPENV_VERSION=system phpenv exec php -m --version"3444 stdout3445 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"3447Command "mysql --version"3448 stdout3449 is expected to match /^mysql /3450 exit_status3451 is expected to eq 03453subversion installation3454 Command "svn --version"3455 exit_status3456 is expected to eq 03457 subversion commands are executed3458 File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/svn-project/README.txt"3459 content3460 is expected to match "This is a Subversion repository;"3462mercurial installation3463 Command "hg version"3464 stdout3465 is expected to match /^Mercurial Distributed SCM \(version \d/3466 exit_status3467 is expected to eq 03468 mecurial commands are executed3469 Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/hg-project; hg status; hg add .; hg status"3470 stdout3471 is expected to match "\\? test-file.txt"3472 stdout3473 is expected to match "A test-file.txt"3475xserver installation3476 Command "xvfb-run -a xdpyinfo"3477 exit_status3478 is expected to eq 03479 stderr3480 is expected to be empty3481 stdout3482 is expected to match /^\s+GLX$/3483 Command "Xorg -version"3484 exit_status3485 is expected to eq 03486 Command "DISPLAY=:99.0 xset -q"3487 stdout3488 is expected to match /^Keyboard Control:/3489 stderr3490 is expected to be empty3491 exit_status3492 is expected to eq 03494gcc installation3495 Command "3496 cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec;3497 gcc -Wall -o hai hai.c;3498 ./hai there3499 "3500 stdout3501 is expected to match /^hai 2$/3502 Command "cd /tmp/packer-templates-20241016-16295-r1gv4p-rspec/empty && gcc"3503 stderr3504 is expected to include "no input files"3505 Command "gcc -v"3506 stderr3507 is expected to match /^gcc version/3509Command "bats --version"3510 stdout3511 is expected to match /^Bats \d/3513ruby interpreter3514 Command "ruby -e 'puts "Konstanin broke all the things!"'"3515 stdout3516 is expected to match /^Konstanin broke all the things!$/3517 Command "ruby --version"3518 stderr3519 is expected to be empty3520 stdout3521 is expected to match /^ruby 3\.\d+\.\d+/3522 Command "ruby -e 'puts RUBY_ENGINE'"3523 stdout3524 is expected to match /^ruby/3526Command "ldconfig -V"3527 exit_status3528 is expected to eq 03529 stdout3530 is expected to include "ldconfig "3532File "/etc/cloud/templates/hosts.debian.tmpl"3533 is expected to be exist3534 content3535 is expected to match /travis_build_environment/i3536 content3537 is expected to match /managed by chef/i3539File "/.node-attributes.yml"3540 is expected to exist3541 content_as_yaml3542 is expected to include "__timestamp"3544clang installation3545 clang command3546 Command "clang -help"3547 stdout3548 is expected to include "OVERVIEW: clang LLVM compiler" and "OPTIONS:"3549 Command "clang -v"3550 exit_status3551 is expected to eq 03553vim installation3554 Command "vim --version"3555 stderr3556 is expected to be empty3557 stdout3558 is expected not to be empty3559 exit_status3560 is expected to eq 03561 File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.txt"3562 content3563 is expected to match /there/3565perl interpreter3566 Command "perl --version"3567 stderr3568 is expected to be empty3569 stdout3570 is expected to match /perl 5, version \d/3571 Command "perl -e 'print "Hello Mr Euler!\n"'"3572 stdout3573 is expected to match /^Hello Mr Euler!/3574 stderr3575 is expected to be empty3577sqlite installation3578 sqlite commands are executed3579 Command "3580 sqlite3 /tmp/packer-templates-20241016-16295-r1gv4p-rspec/test.db "3581 CREATE TABLE hats (3582 id INTEGER PRIMARY KEY,3583 name TEXT,3584 style INTEGER3585 );3586 INSERT INTO hats VALUES(1, 'floppy', 9001);3587 SELECT * FROM hats;3588 "3589 "3590 stdout3591 is expected to match "1|floppy|9001"3592 Command "sqlite3 -version"3593 stdout3594 is expected to match /^\d\.\d/3595 exit_status3596 is expected to eq 03598Command "ssh -V"3599 stderr3600 is expected to match /OpenSSH/3602python2 interpreter3603 python --version3604 is expected to match /^Python \d+\.\d+\.\d+/3605 Command "python -m this"3606 stdout3607 is expected to match /Readability counts\./3608 stderr3609 is expected to be empty3611File "/opt"3612 is expected to be directory3613 is expected to be writable3615imagemagick installation3616 Command "convert --version"3617 exit_status3618 is expected to eq 03619 stdout3620 is expected to match /imagemagick/i3621 imagemagick commands3622 Command "identify /tmp/packer-templates-20241016-16295-r1gv4p-rspec/logo.gif"3623 exit_status3624 is expected to eq 03625 stdout3626 is expected to match /logo\.gif GIF/3628perlbrew installation3629 Command "perlbrew list"3630 exit_status3631 is expected to eq 03632 Command "perlbrew --version"3633 exit_status3634 is expected to eq 03635 stdout3636 is expected to match /perl5\/perlbrew\/bin\/perlbrew.+App::perlbrew\/\d+\.\d+/3638mongodb installation3639 Service "mongod"3640 is expected not to be running3641 is expected not to be enabled3642 Command "mongo --version"3643 exit_status3644 is expected to eq 03645 stdout3646 is expected to match /MongoDB shell/3647 mongo commands3648 Command "mongo --eval "var myCursor = db.testData.find( { x: 6 }); myCursor.forEach(printjson);""3649 stdout3650 is expected to match /{ "_id" : ObjectId\("\w+"\), "x" : 6 }/3652docker-compose installation3653 Command "docker-compose --version"3654 stdout3655 is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/ (FAILED - 3)3656 exit_status3657 is expected to eq 03659memcached installation3660 Command "memcached -h"3661 exit_status3662 is expected to eq 03663 stdout3664 is expected to match /^memcached \d/3665 memcached commands3666 Command "echo 'stats' | nc -w 5 127.0.0.1 11211"3667 stdout3668 is expected to match "version"3669 Service "memcached"3670 is expected to be running3671 Package "memcached"3672 is expected to be installed3674mysql installation3675 mysql commands3676 Command "mysql -u root -e 'select "hai"'"3677 stderr3678 is expected to be empty3679 stdout3680 is expected to match /hai/3681 exit_status3682 is expected to eq 03683 Command "mysql -u travis -e 'select "hai"'"3684 stdout3685 is expected to match /hai/3686 stderr3687 is expected to be empty3688 exit_status3689 is expected to eq 03690 Command "echo "SELECT id FROM test" | mysql travis"3691 stdout3692 is expected to match /^4$/3693 Command "echo "SHOW DATABASES" | mysql"3694 stdout3695 is expected to match /^travis$/3696 Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql"3697 stdout3698 is expected to include "performance_schema\tOFF" (FAILED - 4)3699 File "/home/travis/.my.cnf"3700 is expected to be grouped into "travis"3701 is expected to be readable3702 is expected to exist3703 is expected to be owned by "travis"3704 File "/etc/mysql/conf.d/performance-schema.cnf"3705 is expected to be readable (FAILED - 5)3706 is expected to be owned by "root" (FAILED - 6)3707 is expected to be grouped into "root" (FAILED - 7)3708 is expected to exist (FAILED - 8)3710Command "sudo -V"3711 stdout3712 is expected to match /^Sudo version \d/3714firefox installation3715 firefox commands3716 File "/tmp/packer-templates-20241016-16295-r1gv4p-rspec/.mozilla/firefox/profiles.ini"3717 is expected to exist3718 content3719 is expected to match /^Name=test/3720 Command "sudo -u travis firefox -v"3721 stderr3722 is expected to be empty3723 exit_status3724 is expected to eq 03726Command "lsof -v 2>&1 | head -2 | tail -1"3727 exit_status3728 is expected to eq 03729 stdout3730 is expected to match /revision:/3732openssl installation3733 Command "openssl version"3734 exit_status3735 is expected to eq 03736 stdout3737 is expected to match /^OpenSSL/3738 openssl commands3739 Command "echo "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K" | openssl enc -base64 -d"3740 stdout3741 is expected to match "Konstantin broke all the things."3742 Command "echo "Konstantin broke all the things." | openssl enc -base64"3743 stdout3744 is expected to match "S29uc3RhbnRpbiBicm9rZSBhbGwgdGhlIHRoaW5ncy4K"3746python environment3747 Command "true ; nosetests --version"3748 stdout3749 is expected to match /^nosetests version \d+\.\d+\.\d+/ (FAILED - 9)3750 stderr3751 is expected to be empty (FAILED - 10)3752 Command "true ; wheel version"3753 stdout3754 is expected to match /^wheel \d+\.\d+\.\d+/ (FAILED - 11)3755 stderr3756 is expected to be empty (FAILED - 12)3757 Command "true ; py.test --version"3758 stderr3759 is expected to be empty (FAILED - 13)3760 stdout3761 is expected to match /pytest (version )?\d+\.\d+\.\d+/ (FAILED - 14)3762 Command "true ; pip --version"3763 stderr3764 is expected to be empty3765 stdout3766 is expected to match /^pip \d+\.\d+(\.\d+)?/3767 Command "true ; python -c 'import sys;from unittest import mock;sys.stdout.write(mock.__version__ + "\n")'"3768 stdout3769 is expected to match /^\d+\.\d+/3770 stderr3771 is expected to be empty3773File "/etc/cloud/templates/hosts.ubuntu.tmpl"3774 is expected to be exist3775 content3776 is expected to match /managed by chef/i3777 content3778 is expected to match /travis_build_environment/i3780go installation3781 Command "gimme -l"3782 stdout3783 is expected not to be empty3785Command "packer version"3786 stdout3787 is expected to match /^Packer v\d/3788 exit_status3789 is expected to eq 03791Command "nc -h"3792 exit_status3793 is expected to eq 03795ccache installation3796 ccache commands are executed3797 Command "ccache -s"3798 stdout3799 is expected to include "cache directory", "cache hit", "cache miss", "files in cache", and "max cache size"3800 Command "ccache -M 0.5"3801 stdout3802 is expected to match /Set cache size limit to (512\.0 Mbytes|500\.0 MB)/3803 Command "ccache -V"3804 exit_status3805 is expected to eq 03807php interpreter3808 Command "PHPENV_VERSION=system phpenv exec php -r 'foreach(range(1, 5) as $i) echo $i * 2 . " ";'"3809 stdout3810 is expected to match /^2 4 6 8 10/3811 stderr3812 is expected to be empty3813 Command "PHPENV_VERSION=system phpenv exec php --version"3814 stdout3815 is expected to match /^PHP \d+\.\d+/3816 stderr3817 is expected to be empty3819Command "curl --version | head -1"3820 stdout3821 is expected to include "curl"3822 exit_status3823 is expected to eq 03825Command "shellcheck --version"3826 stdout3827 is expected to match /^version: \d+\.\d+\.\d+/3829File "/etc/cloud/templates/sources.list.ubuntu.tmpl"3830 content3831 is expected to match /travis_build_environment/i3832 content3833 is expected to match /managed by chef/i3835Command "iptables --version"3836 exit_status3837 is expected to eq 03838 stdout3839 is expected to include "iptables"3841Failures:3843 1) postgresql installation Command " psql --version" stdout is expected to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/3845 expected "psql (PostgreSQL) 16.4 (Ubuntu 16.4-1.pgdg20.04+1)\n" to match /^psql.+(9\.[3-6]+\.[0-9]+|10\.[0-9])/3854 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/postgresql_spec.rb:7:in `block (3 levels) in <top (required)>'3856 2) Command "psql --version" stdout is expected to match /^psql.+(9\.[4-6]+\.[0-9]+|10\.[0-9]{1,2}|11\.[0-9]{1,2}|12\.[0-9]{1,2}|13\.[0-9]{1,2})/3858 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})/3867 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/basic_spec.rb:469:in `block (2 levels) in <top (required)>'3869 3) docker-compose installation Command "docker-compose --version" stdout is expected to match /^docker-compose version:?\s+\d+\.\d+\.\d+/3871 expected "Docker Compose version v2.27.1\n" to match /^docker-compose version:?\s+\d+\.\d+\.\d+/3880 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/docker_compose_spec.rb:9:in `block (3 levels) in <top (required)>'3882 4) mysql installation mysql commands Command "echo "SHOW VARIABLES LIKE 'performance_schema'" | mysql" stdout is expected to include "performance_schema\tOFF"3893performance_schema ON3895 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:72:in `block (4 levels) in <top (required)>'3897 5) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be readable3902 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:40:in `block (3 levels) in <top (required)>'3904 6) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be owned by "root"3906 expected `File "/etc/mysql/conf.d/performance-schema.cnf".owned_by?("root")` to be truthy, got false3907 /bin/bash -c stat\ -c\ \%U\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$3909 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:41:in `block (3 levels) in <top (required)>'3911 7) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to be grouped into "root"3913 expected `File "/etc/mysql/conf.d/performance-schema.cnf".grouped_into?("root")` to be truthy, got false3914 /bin/bash -c stat\ -c\ \%G\ /etc/mysql/conf.d/performance-schema.cnf\ \|\ grep\ --\ \\\^root\\\$3916 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:42:in `block (3 levels) in <top (required)>'3918 8) mysql installation File "/etc/mysql/conf.d/performance-schema.cnf" is expected to exist3923 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/features/mysql_spec.rb:39:in `block (3 levels) in <top (required)>'3925 9) python environment Command "true ; nosetests --version" stdout is expected to match /^nosetests version \d+\.\d+\.\d+/3935 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:42:in `block (3 levels) in <top (required)>'3937 10) python environment Command "true ; nosetests --version" stderr is expected to be empty3941 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:41:in `block (3 levels) in <top (required)>'3943 11) python environment Command "true ; wheel version" stdout is expected to match /^wheel \d+\.\d+\.\d+/3953 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:23:in `block (3 levels) in <top (required)>'3955 12) python environment Command "true ; wheel version" stderr is expected to be empty3959 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:22:in `block (3 levels) in <top (required)>'3961 13) python environment Command "true ; py.test --version" stderr is expected to be empty3966 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:35:in `block (3 levels) in <top (required)>'3968 14) python environment Command "true ; py.test --version" stdout is expected to match /pytest (version )?\d+\.\d+\.\d+/3977 # /home/travis/build/travis-ci/packer-templates/cookbooks/lib/languages/python_spec.rb:36:in `block (3 levels) in <top (required)>'3979Finished in 1 minute 0.19 seconds (files took 0.94367 seconds to load)3980282 examples, 14 failures3982Failed examples:3984rspec /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])/3985rspec /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})/3986rspec /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+/3987rspec /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"3988rspec /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 readable3989rspec /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"3990rspec /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"3991rspec /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 exist3992rspec /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+/3993rspec /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 empty3994rspec /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+/3995rspec /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 empty3996rspec /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 empty3997rspec /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+/3999Randomized with seed 44554001+ local exit_code=14002+ [[ 1 != 0 ]]4003+ echo 'Spec suite exited with 1'4004Spec suite exited with 14005+ [[ -n '' ]]4006+ exit 14008The command "bundle exec bash -xc sudo packer-scripts/run-serverspecs" failed 3 times.4010The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 1.4012checking /home/travis/.travis_packer_templates_rspec.json4013The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 0.cache.24014store build cache4015$ bundle clean4017gzip: warning: GZIP environment variable is deprecated; use an alias or script4018uploading PR.873/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz4019cache uploaded4022Done. Your build exited with 1.