AMD64
Ruby
Git
TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"
Scroll to End of Log
0.00s0.19s0.12s0.06s0.00sTopworker_info1Worker information2hostname: ef2cf35c-e54c-4260-bba4-84b1437c0c4c@1.worker-n2-com-f8c4bb956-zjhwc.gce-production-13version: deploy_2024.10.02-2-gc32b553 https://github.com/travis-ci/worker/tree/c32b553e81363378d09787f52103ea9bcadf253c4instance: travis-job-3a4d6995-bac1-4da4-b4cc-33473b8501ce travis-ci-ubuntu-2004-1737724207-d0e199ee-dirty (via amqp)5startup: 5.873927328ssystem_info7Build system information8Build language: ruby9Build group: stable10Build dist: focal11Build id: 27405596012Job id: 63020158613Runtime kernel version: 5.15.0-1074-gcp14VM: default15travis-build version: 6b157a1c16Build image provisioning date and time17Fri 24 Jan 2025 01:35:36 PM UTC18Operating System Details19Distributor ID: Ubuntu20Description: Ubuntu 20.04.6 LTS21Release: 20.0422Codename: focal23Systemd Version24systemd 245 (245.4-4ubuntu3.24)25Cookbooks Version26fd4012d https://github.com/travis-ci/travis-cookbooks/tree/fd4012d27git version28git version 2.48.129bash 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.167shellcheck version680.10.069shfmt version70v3.8.071ccache version723.7.773cmake version74cmake version 3.29.075heroku version76heroku/10.0.2 linux-x64 node-v20.17.077imagemagick version78Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org79md5deep version804.481mercurial version82version 6.5.283mysql version84mysql Ver 8.0.40-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.18 (Ubuntu 13.18-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 Jan 20 2025 13:56:30)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 31109go version110go version go1.23.5 linux/amd64111nvm version1120.40.1113perlbrew version114/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95115phpenv version116rbenv 1.3.2117rvm 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.2133Pre-installed Go versions134go version go1.23.5 linux/amd64135mvn 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.6149v20.18.2150v22.13.1151v4.9.1152v6.17.1153v8.17.0154phpenv versions155 system156 7.4157* 7.4.6 (set by /home/travis/.phpenv/version)158 hhvm-stable159 hhvm160composer --version161Composer version 1.10.6 2020-05-06 10:28:10162Pre-installed Ruby versions163ruby-2.7.6164ruby-3.3.51670.00s0.06s0.00s0.01s0.15s0.00s0.00s0.00s0.01s0.00s0.13s0.00s1.02s0.00s0.00s6.04s0.00s3.98s0.00s2.16sdocker_mtu_and_registry_mirrorsDockerresolvconfgit.checkout1710.01s0.97s$ git clone --depth=50 https://github.com/travis-ci/packer-templates.git travis-ci/packer-templates172Cloning into 'travis-ci/packer-templates'...173remote: Enumerating objects: 1780, done.174remote: Counting objects: 100% (1780/1780), done.175remote: Compressing objects: 100% (880/880), done.176remote: Total 1780 (delta 1109), reused 1219 (delta 737), pack-reused 0 (from 0)177Receiving objects: 100% (1780/1780), 353.14 KiB | 5.79 MiB/s, done.178Resolving deltas: 100% (1109/1109), done.179$ cd travis-ci/packer-templates181remote: Enumerating objects: 308, done.182remote: Counting objects: 100% (308/308), done.183remote: Compressing objects: 100% (96/96), done.184remote: Total 241 (delta 170), reused 181 (delta 117), pack-reused 0 (from 0)185Receiving objects: 100% (241/241), 40.35 KiB | 5.04 MiB/s, done.186Resolving deltas: 100% (170/170), completed with 43 local objects.187From https://github.com/travis-ci/packer-templates188 * branch refs/pull/875/merge -> FETCH_HEAD189$ git checkout -qf FETCH_HEAD1910.01s192Setting environment variables from repository settings193$ export DOCKER_LOGIN_EMAIL=[secure]194$ export DOCKER_LOGIN_PASSWORD=[secure]195$ export DOCKER_LOGIN_SERVER=[secure]196$ export DOCKER_LOGIN_USERNAME=[secure]197$ export GCE_PROJECT_ID=[secure]198$ export JOB_BOARD_IMAGES_URL=[secure]199$ export GCE_ACCOUNT_FILE=[secure]200$ export GCE_ACCOUNT_FILE_B64_BZ2=[secure]201$ export GCR_LOGIN_SERVER=[secure]202$ export GCR_AUTH_TOKEN=[secure]203$ export QUAY_DOCKER_LOGIN_EMAIL=[secure]204$ export QUAY_DOCKER_LOGIN_PASSWORD=[secure]205$ export QUAY_DOCKER_LOGIN_SERVER=[secure]206$ export QUAY_DOCKER_LOGIN_USERNAME=[secure]207$ export TRAVIS_WORKER_VERSION=[secure]208$ export GCE_ACCOUNT_ID=[secure]209$ export GCE_SERVICE_ACCOUNT_ID=[secure]210$ export GCE_SERVICE_ACCOUNT_FILE_BZ2_B64=[secure]211$ export GITHUB_API_TOKEN=[secure]213Setting environment variables from .travis.yml214$ export DPKG_MANIFEST_JSON="${TRAVIS_BUILD_DIR}/.example-dpkg-manifest.json"215$ export LANG=en_US.UTF-8216$ export NODE_ATTRIBUTES_YML="${TRAVIS_BUILD_DIR}/.example-node-attributes.yml"217$ export PACKER_CHEF_PREFIX="${TRAVIS_BUILD_DIR}/tmp"218$ export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:${HOME}/bin:${PATH}"219$ export REQUEST_INTERVAL=5220$ export SKIP_CHEF_REMOVAL='1'221$ export SPEC_ARGS='--tag ~dev'222$ export SPEC_RUNNER='bash -lc'223$ export SPEC_SUITES='travis_packer_templates'224$ export SYSTEM_INFO_JSON="${TRAVIS_BUILD_DIR}/.example_system_info.json"225$ export TRAVIS_SOURCE_AMI="ami-01eefcaf0edcc4cf0"226$ export TRAVIS_JOB_BOARD_REGISTER_YML="${TRAVIS_BUILD_DIR}/.example-job-board-register-sardonyx.yml"231$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1232Setting up build cache233$ export CASHER_DIR=${TRAVIS_HOME}/.casher236fetching PR.875/cache--linux-focal-cc013414c57ac8c1748cd2de9aad19a7ca10be0189feb0a5adcc2c060b0d138d--rvm-default--gemfile-Gemfile.tgz237found cachecache.bundler242creating directory /home/travis/build/travis-ci/packer-templates/vendor/bundleruby.versions243$ ruby --version244ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [x86_64-linux]245$ rvm --version246rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]247$ bundle --version248Bundler version 2.5.16249$ gem --version2503.5.16install.12520.00s$ if [[ -f .test-branch ]]; then export TRAVIS_COOKBOOKS_TEST_BRANCH="$(cat .test-branch 2>/dev/null)"; fiinstall.2install.3255Using /home/travis/.rvm/gems/ruby-3.3.5install.4257Fetching bundler-2.5.21.gem258GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundler.lock259GemWrappers: Can not wrap not executable file: /home/travis/.rvm/gems/ruby-3.3.5/bin/bundle.lock260Successfully installed bundler-2.5.212611 gem installedinstall.5263[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 flag264Bundler 2.5.21 is running, but your lockfile was generated with 2.6.2. Installing Bundler 2.6.2 and restarting using that version.265Fetching gem metadata from https://rubygems.org/.266Fetching bundler 2.6.2267Installing bundler 2.6.2268[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 flag269Bundle complete! 7 Gemfile dependencies, 56 gems now installed.270Bundled gems are installed into `./vendor/bundle`install.6install.7273'/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local' -> '/home/travis/build/travis-ci/packer-templates'275./bin/dump-git-meta ./tmp/git-meta276HEAD277ff12e12278./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/docker-meta 'DOCKER_LOGIN_(USERNAME|PASSWORD|SERVER)'279./bin/write-envdir /home/travis/build/travis-ci/packer-templates/tmp/job-board-env 'JOB_BOARD'280The command "make" exited with 0.282./runtests --env .example.env283Running isolated with env .example.env284.example-job-board-register-sardonyx.yml ✓285.example-node-attributes.yml ✓286.packer-build-pull-request-false-tmpl.yml ✓287.packer-build-pull-request-tmpl.yml ✓288.rubocop.yml ✓289.rubocop_todo.yml ✓290.travis.yml ✓291ci-freebsd-12.yml (packer validate ...) The configuration is valid.292`--> ✓293ci-opal.yml (packer validate ...) The configuration is valid.294`--> ✓295ci-sardonyx.yml (packer validate ...) The configuration is valid.296`--> ✓297ci-stevonnie.yml (packer validate ...) The configuration is valid.298`--> ✓299ci-ubuntu-1804-minimal.yml (packer validate ...) The configuration is valid.300`--> ✓301ci-ubuntu-1804.yml (packer validate ...) The configuration is valid.302`--> ✓303ci-ubuntu-2004-minimal.yml (packer validate ...) The configuration is valid.304`--> ✓305ci-ubuntu-2004.yml (packer validate ...) The configuration is valid.306`--> ✓307ci-ubuntu-2204-minimal.yml (packer validate ...) The configuration is valid.308`--> ✓309ci-ubuntu-2204.yml (packer validate ...) The configuration is valid.310`--> ✓311ci-windows-1803.yml (packer validate ...) The configuration is valid.312`--> ✓313jupiter-brain.yml ✓314packer-assets/opal-system-info-commands.yml ✓315packer-assets/sardonyx-system-info-commands.yml ✓316packer-assets/stevonnie-system-info-commands.yml ✓317packer-assets/system-info.d/android.yml ✓318packer-assets/system-info.d/basic.yml ✓319packer-assets/system-info.d/cassandra.yml ✓320packer-assets/system-info.d/couchdb.yml ✓321packer-assets/system-info.d/elasticsearch.yml ✓322packer-assets/system-info.d/erlang.yml ✓323packer-assets/system-info.d/firefox.yml ✓324packer-assets/system-info.d/go.yml ✓325packer-assets/system-info.d/haskell.yml ✓326packer-assets/system-info.d/java.yml ✓327packer-assets/system-info.d/mongodb.yml ✓328packer-assets/system-info.d/mysql.yml ✓329packer-assets/system-info.d/neo4j.yml ✓330packer-assets/system-info.d/node_js.yml ✓331packer-assets/system-info.d/perl.yml ✓332packer-assets/system-info.d/phantomjs.yml ✓333packer-assets/system-info.d/php.yml ✓334packer-assets/system-info.d/postgresql.yml ✓335packer-assets/system-info.d/redis.yml ✓336packer-assets/system-info.d/ruby.yml ✓337packer-assets/system-info.d/sphinxsearch.yml ✓338packer-assets/ubuntu-1804-minimal-system-info-commands.yml ✓339packer-assets/ubuntu-1804-system-info-commands.yml ✓340packer-assets/ubuntu-2004-minimal-system-info-commands.yml ✓341packer-assets/ubuntu-2004-system-info-commands.yml ✓342packer-assets/ubuntu-2204-minimal-system-info-commands.yml ✓343packer-assets/ubuntu-2204-system-info-commands.yml ✓344tfw.yml ✓345vault-consul-server.yml (packer validate ...) The configuration is valid.346`--> ✓347Running shellcheck348Running shfmt349Inspecting 131 files350.CC...........C....C..W..........................W.C.C.......C.CCC..C.CC..C..C..C..C..CCC..CC....C.CC.C..C...............C.........352Offenses:354Gemfile:10:1: C: [Correctable] Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem rubocop should appear before uri.355gem 'rubocop'356^^^^^^^^^^^^^357bin/assert-job-board-tags:65:3: C: [Correctable] Style/BitwisePredicate: Replace with loaded_base.allbits?(loaded_other) for comparison with bit flags.358 (loaded_base & loaded_other) == loaded_other359 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^360cookbooks/lib/features/basic_spec.rb:513:19: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.361 describe file(::File.expand_path("~/.ssh/#{basename}")) do362 ^^363cookbooks/lib/features/basic_spec.rb:689:55: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.364 sh(%(emacs -batch #{test_txt} --eval '(insert \"poof\")' -f save-buffer))365 ^^366cookbooks/lib/features/basic_spec.rb:689:61: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.367 sh(%(emacs -batch #{test_txt} --eval '(insert \"poof\")' -f save-buffer))368 ^^369cookbooks/lib/features/elasticsearch_spec.rb:17:9: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.370 \"name\": \"Shy Bowser\"371 ^^372cookbooks/lib/features/elasticsearch_spec.rb:17:15: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.373 \"name\": \"Shy Bowser\"374 ^^375cookbooks/lib/features/elasticsearch_spec.rb:17:19: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.376 \"name\": \"Shy Bowser\"377 ^^378cookbooks/lib/features/elasticsearch_spec.rb:17:31: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.379 \"name\": \"Shy Bowser\"380 ^^381cookbooks/lib/features/elasticsearch_spec.rb:21:9: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.382 \"user\": \"koopa93\",383 ^^384cookbooks/lib/features/elasticsearch_spec.rb:21:15: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.385 \"user\": \"koopa93\",386 ^^387cookbooks/lib/features/elasticsearch_spec.rb:21:19: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.388 \"user\": \"koopa93\",389 ^^390cookbooks/lib/features/elasticsearch_spec.rb:21:28: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.391 \"user\": \"koopa93\",392 ^^393cookbooks/lib/features/elasticsearch_spec.rb:22:9: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.394 \"postDate\": \"2009-11-15T13:12:00\",395 ^^396cookbooks/lib/features/elasticsearch_spec.rb:22:19: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.397 \"postDate\": \"2009-11-15T13:12:00\",398 ^^399cookbooks/lib/features/elasticsearch_spec.rb:22:23: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.400 \"postDate\": \"2009-11-15T13:12:00\",401 ^^402cookbooks/lib/features/elasticsearch_spec.rb:22:44: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.403 \"postDate\": \"2009-11-15T13:12:00\",404 ^^405cookbooks/lib/features/elasticsearch_spec.rb:23:9: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.406 \"message\": \"Frying up Elastosearch\"407 ^^408cookbooks/lib/features/elasticsearch_spec.rb:23:18: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.409 \"message\": \"Frying up Elastosearch\"410 ^^411cookbooks/lib/features/elasticsearch_spec.rb:23:22: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.412 \"message\": \"Frying up Elastosearch\"413 ^^414cookbooks/lib/features/elasticsearch_spec.rb:23:46: C: [Correctable] Style/RedundantStringEscape: Redundant escape of " inside string literal.415 \"message\": \"Frying up Elastosearch\"416 ^^417cookbooks/lib/features/google_chrome_spec.rb:5:1: C: [Correctable] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.418 'google-chrome package has deprecated for Xenial'419^^^^420cookbooks/lib/features/google_chrome_spec.rb:6:3: C: [Correctable] Layout/ElseAlignment: Align else with if.421 else422 ^^^^423cookbooks/lib/features/google_chrome_spec.rb:11:1: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.424cookbooks/lib/features/google_chrome_spec.rb:16:3: W: [Correctable] Layout/EndAlignment: end at 16, 2 is not aligned with if at 4, 0.425 end426 ^^^427cookbooks/lib/features/google_chrome_spec.rb:17:1: C: [Correctable] Layout/TrailingEmptyLines: 1 trailing blank lines detected.428cookbooks/lib/features/google_chrome_spec.rb:17:1: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.429cookbooks/lib/languages/python_spec.rb:33:3: W: Lint/DuplicateBranch: Duplicate branch body detected.431 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^432cookbooks/lib/support.rb:27:15: C: [Correctable] Style/RedundantRegexpArgument: Use string "\n" as argument instead of regexp /\n/.433 ).split(/\n/).map(&:strip).reject { |l| l =~ /^#/ }434 ^^^^435cookbooks/lib/support/helpers.rb:28:32: C: [Correctable] Style/RedundantRegexpArgument: Use string "\n" as argument instead of regexp /\n/.436 procs = `ps aux`.split(/\n/).map(&:strip)437 ^^^^438cookbooks/lib/support/helpers.rb:36:27: C: [Correctable] Style/FileNull: Use File::NULL instead of /dev/null.439 def sh(command, out = '/dev/null', err = '/dev/null')440 ^^^^^^^^^^^441cookbooks/lib/support/helpers.rb:36:46: C: [Correctable] Style/FileNull: Use File::NULL instead of /dev/null.442 def sh(command, out = '/dev/null', err = '/dev/null')443 ^^^^^^^^^^^444cookbooks/travis_ci_freebsd_12/recipes/create_bash_profile.rb:3:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.445file ::File.join(446 ^^447cookbooks/travis_ci_freebsd_12/recipes/jdk_switcher.rb:10:20: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.448jdk_switcher_dir = ::File.dirname(node['travis_java']['jdk_switcher_path'])449 ^^450cookbooks/travis_ci_freebsd_12/recipes/jdk_switcher.rb:11:28: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.451jdk_switcher_source_path = ::File.join(452 ^^453cookbooks/travis_ci_freebsd_12/recipes/pyenv.rb:3:24: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.454pyenv_installer_path = ::File.join(455 ^^456cookbooks/travis_ci_freebsd_12/recipes/pyenv.rb:30:16: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.457bash_profile = ::File.join(458 ^^459cookbooks/travis_ci_opal/attributes/default.rb:11:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.461 ^462cookbooks/travis_ci_opal/attributes/default.rb:96:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.464 ^465cookbooks/travis_ci_sardonyx/attributes/default.rb:15:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.467 ^468cookbooks/travis_ci_sardonyx/attributes/default.rb:42:1: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #.469#override['travis_build_environment']['virtualenv']['version'] = '20.15.1'470^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^471cookbooks/travis_ci_sardonyx/attributes/default.rb:80:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.472override['travis_build_environment']['clang']['download_url'] = ::File.join(473 ^^474cookbooks/travis_ci_sardonyx/attributes/default.rb:104:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.476 ^477cookbooks/travis_ci_sardonyx/recipes/default.rb:50:1: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #.478#xecute 'wget -q http://archive.ubuntu.com/ubuntu/pool/main/libu/libu2f-host/libu2f-udev_1.1.10-1_all.deb && sudo apt install ./libu2f-udev_1.1.10-1_all.deb'479^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^480cookbooks/travis_ci_sardonyx/recipes/default.rb:51:1: C: [Correctable] Layout/LeadingCommentSpace: Missing space after #.481#execute 'wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo dpkg --force-depends -i ./google-chrome-stable_current_amd64.deb'482^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^483cookbooks/travis_ci_stevonnie/attributes/default.rb:57:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.485 ^486cookbooks/travis_ci_stevonnie/attributes/default.rb:61:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.488 ^489cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.491 ^492cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:119:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.494 ^495cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:120:1: C: [Correctable] Layout/AssignmentIndentation: Indent the first line of the right-hand-side of a multi-line assignment.496******************************************************************497^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^498cookbooks/travis_ci_ubuntu_1804/attributes/default.rb:125:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.499override['travis_build_environment']['clang']['download_url'] = ::File.join(500 ^^501cookbooks/travis_ci_ubuntu_1804_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.503 ^504cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.506 ^507cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:61:1: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.508cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:69:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.509override['travis_build_environment']['cmake']['download_url'] = ::File.join(510 ^^511cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:111:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.513 ^514cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:112:1: C: [Correctable] Layout/AssignmentIndentation: Indent the first line of the right-hand-side of a multi-line assignment.515******************************************************************516^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^517cookbooks/travis_ci_ubuntu_2004/attributes/default.rb:115:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.518override['travis_build_environment']['clang']['download_url'] = ::File.join(519 ^^520cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:5:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.521 not_if { ::File.exist?('/etc/apt/trusted.gpg.d/erlang_solutions.gpg') }522 ^^523cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:10:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.524 not_if { ::File.exist?('/etc/apt/trusted.gpg.d/erlang_solutions.gpg') }525 ^^526cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:15:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.527 not_if { ::File.exist?('/etc/apt/sources.list.d/rabbitmq.list') }528 ^^529cookbooks/travis_ci_ubuntu_2004/recipes/erlang.rb:20:12: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.530 not_if { ::File.exist?('/etc/apt/sources.list.d/rabbitmq.list') }531 ^^532cookbooks/travis_ci_ubuntu_2004/recipes/mysql.rb:29:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.533file ::File.join(534 ^^535cookbooks/travis_ci_ubuntu_2004/recipes/postgresql.rb:26:1: C: [Correctable] Layout/TrailingEmptyLines: 1 trailing blank lines detected.536cookbooks/travis_ci_ubuntu_2004_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.538 ^539cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:4:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.541 ^542cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:13:31: C: [Correctable] Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.543 'pypy3.6-7.3.1' => %w[pypy3],544 ^545cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:48:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.546override['travis_build_environment']['clang']['download_url'] = ::File.join(547 ^^548cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:53:127: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.549*******************************************************************************************************************************550 ^551cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:55:1: C: [Correctable] Layout/EmptyLines: Extra blank line detected.552cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:75:65: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.553override['travis_build_environment']['cmake']['download_url'] = ::File.join(554 ^^555cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:94:1: C: [Correctable] Layout/EmptyLines: Extra blank line detected.556cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:117:71: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.558 ^559cookbooks/travis_ci_ubuntu_2204/attributes/default.rb:118:1: C: [Correctable] Layout/AssignmentIndentation: Indent the first line of the right-hand-side of a multi-line assignment.560******************************************************************561^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^562cookbooks/travis_ci_ubuntu_2204/metadata.rb:8:18: C: [Correctable] Security/IoMethods: File.read is safer than IO.read.563long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))564 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^565cookbooks/travis_ci_ubuntu_2204/recipes/mysql.rb:38:6: C: [Correctable] Style/RedundantConstantBase: Remove redundant ::.566file ::File.join(567 ^^568cookbooks/travis_ci_ubuntu_2204_minimal/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.570 ^571cookbooks/travis_ci_ubuntu_2204_minimal/metadata.rb:8:18: C: [Correctable] Security/IoMethods: File.read is safer than IO.read.572long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))573 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^574cookbooks/travis_ci_windows_1803/attributes/default.rb:30:51: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.576 ^577cookbooks/travis_packer_templates/attributes/default.rb:8:69: C: [Correctable] Style/RedundantLineContinuation: Redundant line continuation.579 ^580lib/stack_promotion_hydrator.rb:122:17: C: [Correctable] Style/ZeroLengthPredicate: Use empty? instead of length.zero?.581 unless urls.length.zero?582 ^^^^^^^^^^^^583lib/stack_promotion_hydrator.rb:129:25: C: [Correctable] Style/ZeroLengthPredicate: Use empty? instead of length.zero?.584 unless output_files.length.zero?585 ^^^^^^^^^^^^588make: *** [Makefile:68: test] Error 1589The command "bundle exec make test" exited with 2.591bin/gce-image-update $(git grep -lE 'source_image: ubuntu' *.yml)593Please run:595 $ gcloud auth login597to obtain new credentials.599If you have already logged in with a different account, run:601 $ gcloud config set account ACCOUNT603to select an already authenticated account to use.605Please run:607 $ gcloud auth login609to obtain new credentials.611If you have already logged in with a different account, run:613 $ gcloud config set account ACCOUNT615to select an already authenticated account to use.617Please run:619 $ gcloud auth login621to obtain new credentials.623If you have already logged in with a different account, run:625 $ gcloud config set account ACCOUNT627to select an already authenticated account to use.628The command "make update-gce-images" exited with 0.630diff --git a/packer-scripts/ant-install b/packer-scripts/ant-install631index 48967fa..6ae9f53 100644632--- a/packer-scripts/ant-install633+++ b/packer-scripts/ant-install635 ANT_HOME=/usr/local/ant636 PATH="$PATH:/usr/local/ant/bin"637 export ANT_HOME638- export PATH="$PATH:/usr/local/ant/bin" >> /etc/profile640 cat /etc/profile642 }643diff --git a/packer-scripts/cleanup b/packer-scripts/cleanup644index d017045..be4240e 100755645--- a/packer-scripts/cleanup646+++ b/packer-scripts/cleanup648 sed -i '/package-update-upgrade-install/d' /etc/cloud/cloud.cfg649 fi651-echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/sshd_config652-echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/sshd_config653\ No newline at end of file656diff --git a/packer-scripts/pre-chef-bootstrap b/packer-scripts/pre-chef-bootstrap657index a691e0c..ebe63b3 100755658--- a/packer-scripts/pre-chef-bootstrap659+++ b/packer-scripts/pre-chef-bootstrap662 # Add Perforce repository663 echo "deb http://package.perforce.com/apt/ubuntu ${machine} release" | sudo tee /etc/apt/sources.list.d/perforce.list664-665+666 apt-get clean667 apt-get autoclean -y668 apt-get autoremove -y670 # Install chromium since google chrome is not installable671 apt install -y chromium-browser673-674 # link python ##TODO move this to chef675 if ! [ -x "$(command -v python)" ]; then676 update-alternatives --install /usr/bin/python python /usr/bin/python3 1677diff --git a/packer-scripts/pre-chef-bootstrap-bionic b/packer-scripts/pre-chef-bootstrap-bionic678index 0178f71..b08e072 100644679--- a/packer-scripts/pre-chef-bootstrap-bionic680+++ b/packer-scripts/pre-chef-bootstrap-bionic683 # Add Perforce repository684 echo "deb http://package.perforce.com/apt/ubuntu ${machine} release" | sudo tee /etc/apt/sources.list.d/perforce.list685-686+687 apt-get clean688 apt-get autoclean -y689 apt-get autoremove -y691 rabbitmq-server \692 "${APT_GET_INSTALL_PRE_CHEF}"694- # rabbitmq service fix695- sudo systemctl unmask rabbitmq-server.service698 }699 __setup_redis() {700 echo "Installing the newest redis"701diff --git a/packer-scripts/pre-chef-bootstrap-focal b/packer-scripts/pre-chef-bootstrap-focal702index 7d4e384..8e923e2 100755703--- a/packer-scripts/pre-chef-bootstrap-focal704+++ b/packer-scripts/pre-chef-bootstrap-focal706 shopt -s nullglob708 export DEBIAN_FRONTEND='noninteractive'709- export LC_ALL=C.UTF-8711 export LANG=C.UTF-8713 if [[ "${PACKER_BUILDER_TYPE}" != docker ]]; then715 if ! grep -Eq '^sshd: ALL: ALLOW' /etc/hosts.allow; then716 echo 'sshd: ALL: ALLOW' >>/etc/hosts.allow717 fi718- echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/sshd_config719- echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/sshd_config722 }724 __setup_travis_user() {725diff --git a/packer-scripts/pre-chef-bootstrap-jammy b/packer-scripts/pre-chef-bootstrap-jammy726index dbe751f..67fc980 100644727--- a/packer-scripts/pre-chef-bootstrap-jammy728+++ b/packer-scripts/pre-chef-bootstrap-jammy730 shopt -s nullglob732 export DEBIAN_FRONTEND='noninteractive'733- export LC_ALL=C.UTF-8735 export LANG=C.UTF-8737-738 if [[ "${PACKER_BUILDER_TYPE}" != docker ]]; then739 __disable_ipv6740 fi742 if ! grep -Eq '^sshd: ALL: ALLOW' /etc/hosts.allow; then743 echo 'sshd: ALL: ALLOW' >>/etc/hosts.allow744 fi745- echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/sshd_config746- echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/sshd_config749 }751 __setup_travis_user() {753 cat "${f}" >>/home/travis/.ssh/authorized_keys754 done755 chmod 0600 /home/travis/.ssh/authorized_keys756- echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/ssh_config757- echo "HostKeyAlgorithms +ssh-rsa" >> /etc/ssh/ssh_config760 }762 __write_pre_chef_env() {763diff --git a/packer-scripts/pyenv-install b/packer-scripts/pyenv-install764index a9e6ea8..8481ea0 100644765--- a/packer-scripts/pyenv-install766+++ b/packer-scripts/pyenv-install769 main() {771- # Install pyenv-update plugin772- git config --global --add safe.directory /opt/pyenv773- cd /opt/pyenv/bin/774- git checkout master775- git clone https://github.com/pyenv/pyenv-update.git "$(pyenv root)"/plugins/pyenv-update776- pyenv update777- pyenv rehash && hash -r786-}787\ No newline at end of file789diff --git a/packer-scripts/updates b/packer-scripts/updates790index cd77a03..454581f 100644791--- a/packer-scripts/updates792+++ b/packer-scripts/updates795 main() {797- dist=$(lsb_release -cs)798-799- if [[ "${dist}" = "jammy" ]]; then800- apt install linux-headers-generic -y801-802- echo "Installing pip-review"803-804- # Install rustc (needed for python updates)805- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y806- export PATH="$HOME/.cargo/bin:$PATH"807- source ~/.bashrc808- rustc --version809-810- sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources811-812- #sudo chown -R $USER:$USER /home/packer/.cache/pip813-814- pip install --upgrade pip815- #pip install pip-review816- #pip-review --auto817-818- echo "Appling docker buildx fix"819- sudo install -m 0755 -d /etc/apt/keyrings820- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg821- sudo chmod a+r /etc/apt/keyrings/docker.gpg822- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null823- sudo apt-get update -y824- sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin825-826- # Update composer827- /home/travis/.phpenv/shims/composer self-update828-829- # Update bundler830- gem install bundler831- else832- echo "Appling main updates"833- apt update -yqq --fix-missing834- echo "Uninstalling old kernel modules"835- dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n "/$(uname -r)/q;p" | xargs sudo apt-get -y purge836- apt purge "$(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c="$(uname -r | cut -d- -f1,2)"; done)"837-838- apt full-upgrade -y839- apt install linux-headers-generic -y840-841- # Install rustc (needed for python updates)842- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y843- export PATH="$HOME/.cargo/bin:$PATH"844- source ~/.bashrc845- rustc --version846-847- # Uninstall old kernels (yes they are still there) - use it to uninstall when needed only DOCKER848-849- # if [[ "${dist}" = "focal" ]]; then850- # apt remove -y linux-gcp-headers-5.4.0-1080 linux-modules-5.15.0-1006-gcp linux-modules-5.15.0-1060-gcp851- # echo "Installing updated kernel modules"852- # apt install -y --no-install-suggests --no-install-recommends linux-gcp-headers-5.4.0-1129 linux-modules-5.15.0-1060-gcp853- # elif [[ "${dist}" = "bionic" ]]; then854- # apt remove -y linux-modules-5.4.0-1080855- # apt install -yqq --no-install-suggests --no-install-recommends \856- # linux-modules-5.4.0-1106857- # fi858- # # Remove system-package installed python packages859- # apt remove --purge python3-setuptools -y860-861- echo "Appling python updates"862-863- sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources864-865- pip3 install --upgrade pip866- pip3 install pip-review867- pip-review --auto868-869- # # Focal install python modules870- # if [[ "${dist}" = "focal" ]]; then871- # echo "Installing pip-review"872- # # Focal docker issue with pip-review - docker will fail with these873- # pip install importlib_metadata --force-reinstall874- # # pip install pip-review875- # # pip-review --auto876- # else877- # echo "Installing pip-review"878- # pip install --upgrade pip-review879- # pip-review --auto880- # fi881-882- echo "Appling docker buildx fix"883- sudo install -m 0755 -d /etc/apt/keyrings884- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg885- sudo chmod a+r /etc/apt/keyrings/docker.gpg886- # shellcheck source=/etc/os-release887- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null888- sudo apt update -y889- sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin890- #pip install --upgrade pip pyopenssl certifi rsa pytest oauthlib testresources setuptools numpy891-892- # Bionic install git893- if [[ "${dist}" = "bionic" ]]; then895+898+900+906+907+ sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources908+910+914+917+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg919+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null921+ sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin922+925+932+ dpkg --list | grep linux-image | awk '{ print $2 }' | sort -V | sed -n "/$(uname -r)/q;p" | xargs sudo apt-get -y purge933+ apt purge "$(for tag in "linux-image" "linux-headers"; do dpkg-query -W -f'${Package}\n' "$tag-[0-9]*.[0-9]*.[0-9]*" | sort -V | awk 'index($0,c){exit} //' c="$(uname -r | cut -d- -f1,2)"; done)"934+937+943+944+ # Uninstall old kernels (yes they are still there) - use it to uninstall when needed only DOCKER945+947+ # apt remove -y linux-gcp-headers-5.4.0-1080 linux-modules-5.15.0-1006-gcp linux-modules-5.15.0-1060-gcp949+ # apt install -y --no-install-suggests --no-install-recommends linux-gcp-headers-5.4.0-1129 linux-modules-5.15.0-1060-gcp957+959+960+ sudo apt-get install -y libgirepository1.0-dev libdbus-1-dev libsystemd-dev libcurl4-openssl-dev python3-testresources961+965+978+981+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg984+ echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null986+ sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin987+ #pip install --upgrade pip pyopenssl certifi rsa pytest oauthlib testresources setuptools numpy988+991 sudo apt install git-all992- fi995- # Update composer996- /home/travis/.phpenv/shims/composer self-update1000- # # Update bundler - to fix in the future1001- # /home/travis/.rvm/bin/rvm use 3.3.11002- fi1007 }1009The command "git diff --exit-code" exited with 1.1011The command "git diff --cached --exit-code" exited with 0.1013The command "sudo lsof | grep dpkg || true" exited with 0.1015+sudo packer-scripts/run-serverspecs1016+ shopt -s nullglob1017+ export CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1018+ CHEF_PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin1019+ export CHEF_LICENSE=accept-silent1020+ CHEF_LICENSE=accept-silent1021+ 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/bin1022+ 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/bin1023+ export DEBIAN_FRONTEND=noninteractive1024+ DEBIAN_FRONTEND=noninteractive1025+ export RUBYOPT=-W01026+ RUBYOPT=-W01027+ : /home/travis/build/travis-ci/packer-templates/tmp1028+ : 'bash -lc'1029+ : docker1030+ [[ docker == \d\o\c\k\e\r ]]1031+ export 'SPEC_ARGS=--tag ~dev --tag ~docker:false'1032+ SPEC_ARGS='--tag ~dev --tag ~docker:false'1033+ __install_chef /home/travis/build/travis-ci/packer-templates/tmp1034+ [[ -f /opt/chef-workstation/embedded/bin/rspec ]]1035+ curl -sSL https://omnitruck.chef.io/install.sh1036+ sudo bash -s -- -P chef-workstation -v 22.5.9231037ubuntu 20.04 x86_641038Getting information for chef-workstation stable 22.5.923 for ubuntu...1039downloading https://omnitruck.chef.io/stable/chef-workstation/metadata?v=22.5.923&p=ubuntu&pv=20.04&m=x86_641040 to file /tmp/install.sh.9435/metadata.txt1041trying wget...1042sha1 b8c582336804d5986f0f6d3dddeb9bf300d2d2bd1043sha256 b9d73fa16a3f4008e2f4cd2a4d96d482bc8f0fea77c06a3754382e0d940b8d0c1044url https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb1045version 22.5.9231046downloaded metadata file looks valid...1047downloading https://packages.chef.io/files/stable/chef-workstation/22.5.923/ubuntu/20.04/chef-workstation_22.5.923-1_amd64.deb1048 to file /tmp/install.sh.9435/chef-workstation_22.5.923-1_amd64.deb1049trying wget...1050Comparing checksum with sha256sum...1051Installing chef-workstation 22.5.9231052installing with dpkg...1053Selecting previously unselected package chef-workstation.1054(Reading database ... 153602 files and directories currently installed.)1055Preparing to unpack .../chef-workstation_22.5.923-1_amd64.deb ...1056Unpacking chef-workstation (22.5.923-1) ...1057Setting up chef-workstation (22.5.923-1) ...1059The Chef Workstation App is available.1061Launch the App by running 'chef-workstation-app'.1062The App will then be available in the system tray.1064Thank you for installing Chef Workstation!1065You can find some tips on getting started at https://docs.chef.io/workstation/getting_started/1067+ __run_retry 2 30 apt-get update -y1068+ local retries=21069+ shift1070+ local retry_delay=301071+ shift1072+ cmd=("${@}")1073+ local cmd1074+ local i=01075+ true1076+ [[ 0 -gt 2 ]]1077+ apt-get update -y1078Get:1 http://package.perforce.com/apt/ubuntu focal InRelease [7,646 B]1079Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal InRelease [265 kB]1080Hit:3 https://download.docker.com/linux/ubuntu focal InRelease1081Hit:4 http://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease1082Get:5 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]1083Get:6 https://public.dhe.ibm.com/software/server/POWER/Linux/toolchain/at/ubuntu focal InRelease [5,172 B]1084Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]1085Get:8 https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]1086Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]1087Hit:10 https://packages.redis.io/deb focal InRelease1088Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]1089Get:12 http://package.perforce.com/apt/ubuntu focal/release amd64 Packages [45.9 kB]1090Get:13 http://apt.postgresql.org/pub/repos/apt focal-pgdg InRelease [129 kB]1091Get:14 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal InRelease [5,185 B]1092Get:15 http://package.perforce.com/apt/ubuntu focal/release i386 Packages [5,117 B]1093Ign:16 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages1094Get:17 https://ppa2.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu focal InRelease [5,182 B]1095Get:16 https://ppa1.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]1096Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 Packages [1,275 kB]1097Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main i386 Packages [930 kB]1098Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main Translation-en [709 kB]1099Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/main amd64 c-n-f Metadata [29.5 kB]1100Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]1101Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted i386 Packages [10.1 kB]1102Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted Translation-en [6,851 B]1103Get:25 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/restricted amd64 c-n-f Metadata [392 B]1104Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]1105Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe i386 Packages [5,999 kB]1106Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe Translation-en [7,220 kB]1107Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/universe amd64 c-n-f Metadata [265 kB]1108Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]1109Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse i386 Packages [88.9 kB]1110Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse Translation-en [128 kB]1111Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal/multiverse amd64 c-n-f Metadata [9,136 B]1112Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4,693 kB]1113Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1,326 kB]1114Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main Translation-en [856 kB]1115Get:37 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.8 kB]1116Get:38 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [49.0 kB]1117Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4,515 kB]1118Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [625 kB]1119Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [548 B]1120Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,589 kB]1121Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [1,020 kB]1122Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe Translation-en [421 kB]1123Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [28.3 kB]1124Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [34.6 kB]1125Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [9,592 B]1126Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse Translation-en [8,635 B]1127Get:49 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [612 B]1128Get:50 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]1129Get:51 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main i386 Packages [43.4 kB]1130Get:52 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main Translation-en [18.8 kB]1131Get:53 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/main amd64 c-n-f Metadata [1,420 B]1132Get:54 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/restricted amd64 c-n-f Metadata [116 B]1133Get:55 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe i386 Packages [15.4 kB]1134Get:56 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]1135Get:57 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe Translation-en [17.6 kB]1136Get:58 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/universe amd64 c-n-f Metadata [880 B]1137Get:59 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-backports/multiverse amd64 c-n-f Metadata [116 B]1138Ign:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages1139Get:60 https://ppa2.novemberain.com/rabbitmq/rabbitmq-erlang/deb/ubuntu focal/main amd64 Packages [143 kB]1140Get:61 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [1,046 kB]1141Get:62 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages [574 kB]1142Get:63 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4,217 kB]1143Get:64 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [742 kB]1144Get:65 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4,327 kB]1145Get:66 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [600 kB]1146Get:67 http://security.ubuntu.com/ubuntu focal-security/universe i386 Packages [860 kB]1147Get:68 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,297 kB]1148Fetched 58.4 MB in 4s (13.6 MB/s)1149Reading package lists... Done1150N: 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'1151+ return1152+ __run_retry 2 30 apt-get install libc-client2007e-dev mysql-client1153+ local retries=21154+ shift1155+ local retry_delay=301156+ shift1157+ cmd=("${@}")1158+ local cmd1159+ local i=01160+ true1161+ [[ 0 -gt 2 ]]1162+ apt-get install libc-client2007e-dev mysql-client1163Reading package lists... Done1164Building dependency tree1165Reading state information... Done1166libc-client2007e-dev is already the newest version (8:2007f~dfsg-7).1167The following packages were automatically installed and are no longer required:1168 amd64-microcode bubblewrap dictionaries-common hunspell-en-us1169 intel-microcode iucode-tool libaspell15 libenchant-2-2 libglu1-mesa1170 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libgudev-1.0-01171 libharfbuzz-icu0 libhunspell-1.7-0 libhyphen0 libjavascriptcoregtk-4.0-181172 libnotify4 libopengl0 libopenjp2-7 liborc-0.4-0 libsecret-1-01173 libsecret-common libwebkit2gtk-4.0-37 libwebpdemux2 libwoff11174 libwxbase3.0-0v5 libwxgtk-webview3.0-gtk3-0v5 libwxgtk3.0-gtk3-0v51175 linux-image-unsigned-5.4.0-204-generic linux-modules-5.4.0-204-generic1176 xdg-dbus-proxy1177Use 'sudo apt autoremove' to remove them.1178The following packages will be upgraded:1179 mysql-client11801 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.1181Need to get 9,368 B of archives.1182After this operation, 0 B of additional disk space will be used.1183Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu focal-updates/main amd64 mysql-client all 8.0.41-0ubuntu0.20.04.1 [9,368 B]1184Fetched 9,368 B in 0s (58.9 kB/s)1185(Reading database ... 201004 files and directories currently installed.)1186Preparing to unpack .../mysql-client_8.0.41-0ubuntu0.20.04.1_all.deb ...1187Unpacking mysql-client (8.0.41-0ubuntu0.20.04.1) over (8.0.40-0ubuntu0.20.04.1) ...1188Setting up mysql-client (8.0.41-0ubuntu0.20.04.1) ...1189+ return1190+ __create_sudo_bash1191+ cat1192+ chmod 0755 /tmp/sudo-bash1193+ __chown_travis_dirs /home/travis/build/travis-ci/packer-templates/tmp1194+ chown -R travis:travis /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local /var/tmp1195+ for suite in ${SPEC_SUITES/,/ }1196+ __run_suite travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp 'bash -lc'1197+ local suite=travis_packer_templates1198+ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1199+ local 'runner=bash -lc'1200+ local cookbook_dir1201++ __suite_cookbook_dir travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp1202++ local suite=travis_packer_templates1203++ local chef_prefix=/home/travis/build/travis-ci/packer-templates/tmp1204++ local spec_dir1205+++ head -11206+++ find /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/bin /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/chef-solo.rb.tmpl /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-freebsd-12.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-opal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-sardonyx.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-stevonnie.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-1804-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-1804.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2004-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2004.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2204-minimal.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-ubuntu-2204.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/ci-windows-1803.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/CODE_OF_CONDUCT.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Gemfile /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Gemfile.lock /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/jupiter-brain.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/lib /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/LICENSE.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/Makefile /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/packer-assets /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/packer-scripts /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/README.md /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/run-foodcritic /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/runtests /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/spec /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/tfw.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/tmp /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/vault-consul-server.yml /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/vendor -wholename '*travis_packer_templates/spec' -type d1207++ spec_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1208++ dirname /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates/spec1209+ cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1210+ pushd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1211+ __run_suite_as_travis travis_packer_templates /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates 'bash -lc'1212+ local suite=travis_packer_templates1213+ local cookbook_dir=/home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1214+ local 'runner=bash -lc'1215+ set +o errexit1216+ bash -lc '1217set -o xtrace1218export PATH="/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:$PATH"1219export TERM=xterm1220export PACKER_BUILDER_TYPE=docker1221export RUBYOPT=-W01222chef gem install serverspec1223unset GEM_PATH1224cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1225sudo systemctl start xvfb.service1226set -o errexit1227'1228+ export PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v18.20.3/bin:/home/travis/.kiex/elixirs/elixir-1.7.4/bin:/home/travis/.kiex/bin:/home/travis/.rvm/gems/ruby-3.3.5/bin:/home/travis/.rvm/gems/ruby-3.3.5@global/bin:/home/travis/.rvm/rubies/ruby-3.3.5/bin:/home/travis/.phpenv/shims:/home/travis/gopath/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin1229+ PATH=/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/home/travis/.local/bin:/usr/local/lib/jvm/openjdk11/bin:/opt/pyenv/shims:/home/travis/.phpenv/shims:/home/travis/perl5/perlbrew/bin:/home/travis/.nvm/versions/node/v18.20.3/bin:/home/travis/.kiex/elixirs/elixir-1.7.4/bin:/home/travis/.kiex/bin:/home/travis/.rvm/gems/ruby-3.3.5/bin:/home/travis/.rvm/gems/ruby-3.3.5@global/bin:/home/travis/.rvm/rubies/ruby-3.3.5/bin:/home/travis/.phpenv/shims:/home/travis/gopath/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/usr/local/maven-3.9.4/bin:/usr/local/cmake-3.29.0/bin:/usr/local/clang-18.1.8/bin:/opt/chef-workstation/bin:/opt/chef-workstation/embedded/bin:/opt/chef/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/ant/bin:/usr/local/ant/bin:/home/travis/.rvm/bin:/home/travis/.phpenv/bin:/opt/pyenv/bin1230+ export TERM=xterm1231+ TERM=xterm1232+ export PACKER_BUILDER_TYPE=docker1233+ PACKER_BUILDER_TYPE=docker1234+ export RUBYOPT=-W01235+ RUBYOPT=-W01236+ chef gem install serverspec1237Fetching serverspec-2.42.3.gem1238WARNING: You don't have /home/travis/.chefdk/gem/ruby/3.0.0/bin in your PATH,1239 gem executables will not run.1240Successfully installed serverspec-2.42.312411 gem installed1242+ unset GEM_PATH1243+ cd /home/travis/build/travis-ci/packer-templates/tmp/packer-chef-local/cookbooks/travis_packer_templates1244+ sudo systemctl start xvfb.service1245+ set -o errexit1246+ local exit_code=01247+ [[ 0 != 0 ]]1248+ set -o errexit1249+ popd1250+ [[ -z 1 ]]1251The command "travis_retry bundle exec bash -xc 'sudo packer-scripts/run-serverspecs'" exited with 0.1253checking /home/travis/.*_rspec.json1254/home/travis/.travis/functions: line 109: /home/travis/.*_rspec.json: No such file or directory1255The command "for f in ~/.*_rspec.json; do echo "checking $f"; jq . < $f &>/dev/null; done" exited with 1.1261Done. Your build exited with 1.