travis_fold:start:worker_info
Worker information
hostname: d9100bac-6402-41ac-9458-33793a021de6@1.worker-com-69c59c6d6b-g9slj.gce-production-1
version: v6.2.1 https://github.com/travis-ci/worker/tree/4e3246c044eb4915c2378ffacd0b3d3ed0136bba
instance: travis-job-61083402-7405-4abf-95c7-e01c4396892b travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
startup: 6.34891272s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
Build language: ruby
Build group: stable
Build dist: xenial
Build id: 123075114
Job id: 224955917
Runtime kernel version: 4.15.0-1028-gcp
travis-build version: 95d02c42e
Build image provisioning date and time
Mon Mar 25 16:43:24 UTC 2019
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
Systemd Version
systemd 229
Cookbooks Version
42e42e4 https://github.com/travis-ci/travis-cookbooks/tree/42e42e4
git version
git version 2.21.0
bash version
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
gcc version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
docker version
Client:
 Version:           18.06.0-ce
 API version:       1.38
 Go version:        go1.10.3
 Git commit:        0ffa825
 Built:             Wed Jul 18 19:11:02 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.06.0-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.3
  Git commit:       0ffa825
  Built:            Wed Jul 18 19:09:05 2018
  OS/Arch:          linux/amd64
  Experimental:     false
clang version
clang version 7.0.0 (tags/RELEASE_700/final)
jq version
jq-1.5
bats version
Bats 0.4.0
shellcheck version
0.6.0
shfmt version
v2.6.3
ccache version
3.2.4
cmake version
cmake version 3.12.4
heroku version
heroku/7.22.7 linux-x64 node-v11.10.1
imagemagick version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org
md5deep version
4.4
mercurial version
version 4.8
mysql version
mysql  Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using  EditLine wrapper
openssl version
OpenSSL 1.0.2g  1 Mar 2016
packer version
1.3.3
postgresql client version
psql (PostgreSQL) 10.7 (Ubuntu 10.7-1.pgdg16.04+1)
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
sudo version
1.8.16
gzip version
gzip 1.6
zip version
Zip 3.0
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
iptables version
iptables v1.6.0
curl version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget version
GNU Wget 1.17.1 built on linux-gnu.
rsync version
rsync  version 3.1.1  protocol version 31
gimme version
v1.5.3
nvm version
0.34.0
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.86
phpenv version
rbenv 1.1.2
rvm version
rvm 1.29.7 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
CouchDB version
couchdb 1.6.1
ElasticSearch version
5.5.0
Installed Firefox version
firefox 63.0.1
MongoDB version
MongoDB 4.0.7
PhantomJS version
2.1.1
Pre-installed PostgreSQL versions
9.4.21
9.5.16
9.6.12
Redis version
redis-server 5.0.4
Pre-installed Go versions
1.11.1
mvn version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
gradle version
Gradle 4.10.2!
lein version
Leiningen 2.9.1 on Java 11.0.2 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.15.3
v11.0.0
v4.9.1
v6.17.0
v8.12.0
v8.15.1
v8.9
phpenv versions
  system
  5.6
  5.6.40
  7.1
  7.1.27
  7.2
* 7.2.15 (set by /home/travis/.phpenv/version)
  hhvm
  hhvm-stable
composer --version
Composer version 1.8.4 2019-02-11 10:52:10
Pre-installed Ruby versions
ruby-2.3.8
ruby-2.4.5
ruby-2.5.3
travis_fold:end:system_info

travis_fold:start:docker_mtu
travis_fold:end:docker_mtu
travis_fold:start:resolvconf
travis_fold:end:resolvconf

travis_fold:start:git.checkout
travis_time:start:0c215bdc
$ git clone --depth=50 --branch=ha-gcs-gem https://github.com/travis-ci/dpl.git travis-ci/dpl
Cloning into 'travis-ci/dpl'...
travis_time:end:0c215bdc:start=1565727289763757438,finish=1565727294897998439,duration=5134241001
$ cd travis-ci/dpl
$ git checkout -qf f29d0604522849da07cf474725679e6d008f0858
travis_fold:end:git.checkout


Setting environment variables from repository settings
$ export SNAP_TOKEN=[secure]
$ export encrypted_81cf70da4be5_key=[secure]
$ export encrypted_81cf70da4be5_iv=[secure]
$ export encrypted_b24ece17e78a_key=[secure]
$ export encrypted_b24ece17e78a_iv=[secure]
$ export COVERALLS_REPO_TOKEN=[secure]

travis_fold:start:rvm
travis_time:start:0273fb1c
$ rvm use 2.6.2 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-2.6.2 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-2.6.2.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-2.6.2 - #configure
ruby-2.6.2 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

  0 17.7M    0 17629    0     0  15790      0  0:19:40  0:00:01  0:19:39 15790
100 17.7M  100 17.7M    0     0  11.2M      0  0:00:01  0:00:01 --:--:-- 38.2M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.6.2 - #validate archive
ruby-2.6.2 - #extract
ruby-2.6.2 - #validate binary
ruby-2.6.2 - #setup
ruby-2.6.2 - #gemset created /home/travis/.rvm/gems/ruby-2.6.2@global
ruby-2.6.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|..
ruby-2.6.2 - #generating global wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-.
ruby-2.6.2 - #uninstalling gem rubygems-bundler-1.4.5|/.
ruby-2.6.2 - #gemset created /home/travis/.rvm/gems/ruby-2.6.2
ruby-2.6.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\.
ruby-2.6.2 - #generating default wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\.
Using /home/travis/.rvm/gems/ruby-2.6.2
travis_time:end:0273fb1c:start=1565727294934968148,finish=1565727319667613340,duration=24732645192
travis_fold:end:rvm

$ export BUNDLE_GEMFILE=$PWD/Gemfile
travis_fold:start:cache.1
Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
travis_time:start:02f00e3e
$ Installing caching utilities
travis_time:end:02f00e3e:start=1565727320641718844,finish=1565727320955574903,duration=313856059
travis_time:start:00e73db0
travis_time:end:00e73db0:start=1565727320963172671,finish=1565727320967686289,duration=4513618
travis_time:start:1a57c1d5
attempting to download cache archive
fetching ha-gcs-gem/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.6.2--gemfile-Gemfile.tgz
found cache
travis_time:end:1a57c1d5:start=1565727320973160805,finish=1565727324430588520,duration=3457427715
travis_fold:end:cache.1


travis_fold:start:cache.bundler
travis_time:start:00ddbc94
travis_time:end:00ddbc94:start=1565727324437106924,finish=1565727324442058527,duration=4951603
travis_time:start:023b1df1
adding /home/travis/build/travis-ci/dpl/vendor/bundle to cache
creating directory /home/travis/build/travis-ci/dpl/vendor/bundle
travis_time:end:023b1df1:start=1565727324448221307,finish=1565727327610218782,duration=3161997475
travis_fold:end:cache.bundler
travis_fold:start:ruby.versions
$ ruby --version
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
$ rvm --version
rvm 1.29.7 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ bundle --version
Bundler version 1.17.2
$ gem --version
3.0.3
travis_fold:end:ruby.versions

travis_fold:start:install.bundler
travis_time:start:0acf0994
$ bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
Your Gemfile lists the gem aws-sdk (~> 2.0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once (per group).
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies..............................
Using rake 12.3.3
Using public_suffix 3.0.3
Using aws-eventstream 1.0.3
Using jmespath 1.4.0
Using builder 3.2.3
Using bundler 1.17.2
Using fuzzyurl 0.9.0
Using tomlrb 1.2.8
Using mixlib-shellout 2.4.4
Using libyajl2 1.2.0
Using hashie 3.6.0
Using mixlib-log 1.7.1
Using rack 2.0.7
Using uuidtools 2.1.5
Using diff-lcs 1.3
Using erubis 2.7.0
Using highline 1.7.10
Using iniparse 1.4.4
Using mixlib-authentication 1.4.2
Using mixlib-cli 1.7.0
Using net-ssh 4.2.0
Using ffi 1.11.1
Using ipaddress 0.8.3
Using plist 3.5.0
Using systemu 2.6.5
Using wmi-lite 1.0.2
Using proxifier 1.0.3
Using rspec-support 3.8.2
Using multi_json 1.13.1
Using net-telnet 0.1.1
Using sfl 2.3
Using syslog-logger 1.6.8
Using regstry 1.0.14
Using json 2.2.0
Using docile 1.3.2
Using simplecov-html 0.10.2
Using tins 1.21.1
Using thor 0.20.3
Using safe_yaml 1.0.5
Fetching declarative 0.0.10
Fetching declarative-option 0.1.0
Installing declarative-option 0.1.0
Installing declarative 0.0.10
Fetching digest-crc 0.4.1
Using mime-types-data 3.2019.0331
Using excon 0.66.0
Using facter 2.5.5
Using multipart-post 2.0.0
Using fast_gettext 1.1.2
Using formatador 0.2.5
Using mini_portile2 2.4.0
Fetching jwt 1.5.6
Installing digest-crc 0.4.1
Installing jwt 1.5.6
Fetching little-plugger 1.1.4
Fetching memoist 0.16.0
Installing little-plugger 1.1.4
Fetching os 0.9.6
Installing memoist 0.16.0
Fetching httpclient 2.8.3
Installing os 0.9.6
Fetching hurley 0.2
Installing hurley 0.2
Installing httpclient 2.8.3
Fetching uber 0.1.0
Fetching retriable 3.1.2
Installing uber 0.1.0
Using hashdiff 1.0.0
Using hiera 3.5.0
Using json_pure 1.8.6
Using locale 2.1.2
Using mime 0.4.4
Using netrc 0.11.0
Using rendezvous 0.1.3
Using rubyzip 1.2.3
Using addressable 2.6.0
Using aws-sigv4 1.1.0
Using mixlib-config 2.2.18
Using ffi-yajl 2.3.1
Using mixlib-archive 0.4.20
Using net-sftp 2.1.2
Using net-ssh-gateway 2.0.0
Using rspec-core 3.8.2
Using rspec-expectations 3.8.4
Using rspec-mocks 3.8.1
Using net-scp 2.0.0
Using cl 1.0.3
Using simplecov 0.16.1
Using term-ansicolor 1.7.1
Installing retriable 3.1.2
Using crack 0.4.3
Using gems 1.1.1
Using mime-types 3.2.2
Using faraday 0.9.2
Using nokogiri 1.9.1
Fetching logging 2.2.2
Fetching representable 3.0.4
Installing logging 2.2.2
Installing representable 3.0.4
Using packagecloud-ruby 1.0.8
Using puppet 5.5.16
Using aws-sdk-core 2.11.332
Using chef-config 12.22.5
Using chef-zero 5.3.2
Using net-ssh-multi 1.2.1
Using rspec_junit_formatter 0.2.3
Using rspec 3.8.0
Using rspec-its 1.3.0
Using specinfra 2.81.0
Using dpl 2.0.0.alpha.1 from source at `.`
Using coveralls 0.8.23
Using rest-client 1.6.7
Using fog-core 2.1.0
Fetching signet 0.11.0
Using sawyer 0.8.2
Using webmock 3.6.2
Using aws-sdk-resources 2.11.332
Using ohai 8.26.1
Using serverspec 2.41.4
Using engineyard-cloud-client 2.1.0
Using fog-json 1.2.0
Using fog-xml 0.1.3
Using puppet-blacksmith 3.3.1
Using octokit 4.14.0
Using aws-sdk 2.11.332
Using chef 12.22.5
Using fog-rackspace 0.1.6
Installing signet 0.11.0
Fetching googleauth 0.5.1
Installing googleauth 0.5.1
Fetching google-api-client 0.10.3
Fetching google-cloud-core 0.21.1
Installing google-cloud-core 0.21.1
Installing google-api-client 0.10.3
Fetching google-cloud-storage 0.24.0
Installing google-cloud-storage 0.24.0
Bundle complete! 27 Gemfile dependencies, 118 gems now installed.
Bundled gems are installed into `./vendor/bundle`
travis_time:end:0acf0994:start=1565727328142626215,finish=1565727337501677543,duration=9359051328
travis_fold:end:install.bundler

travis_time:start:01a8b2d5
$ bundle exec rspec
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.

An error occurred while loading ./spec/dpl/providers/gcs/gcs_spec.rb.
Failure/Error:
  describe Dpl::Providers::Gcs::Gcs do
    let(:args) { |e| %w(--strategy gcs -bucket bucket) + args_from_description(e) }
    
    before { stub_request(:put, /.*/) }
    before { subject.run }
  
    describe 'by default', record: true do
      it { should have_run 'mv /etc/boto.cfg /tmp/boto.cfg' }
      it { should have_run '[validate:runtime] python (>= 2.7.9)' }
      it { should have_run 'curl -L https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-252.0.0-linux-x86_64.tar.gz | tar xz -C ~ && ~/google-cloud-sdk/install.sh --path-update false --usage-reporting false --command-completion false' }

NameError:
  uninitialized constant Dpl::Providers::Gcs::Gcs
  Did you mean?  GC
# ./spec/dpl/providers/gcs/gcs_spec.rb:1:in `<top (required)>'
Run options: exclude {:skip=>true}


Finished in 0.00076 seconds (files took 1.05 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

[Coveralls] Submitting to https://coveralls.io/api/v1
Coveralls encountered an exception:
JSON::ParserError
785: unexpected token at '<html>

<head><title>405 Not Allowed</title></head>

<body bgcolor="white">

<center><h1>405 Not Allowed</h1></center>

<hr><center>nginx</center>

</body>

</html>

'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/json_pure-1.8.6/lib/json/common.rb:155:in `parse'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/json_pure-1.8.6/lib/json/common.rb:155:in `parse'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/json_pure-1.8.6/lib/json/common.rb:334:in `load'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/coveralls-0.8.23/lib/coveralls/api.rb:31:in `post_json'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/coveralls-0.8.23/lib/coveralls/simplecov.rb:64:in `format'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/simplecov-0.16.1/lib/simplecov/result.rb:48:in `format!'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:182:in `block in at_exit'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/simplecov-0.16.1/lib/simplecov.rb:200:in `run_exit_tasks!'
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/gems/simplecov-0.16.1/lib/simplecov/defaults.rb:27:in `block in <top (required)>'
travis_time:end:01a8b2d5:start=1565727337509940871,finish=1565727339368774971,duration=1858834100
The command "bundle exec rspec" exited with 1.

travis_fold:start:cache.2
store build cache
$ bundle clean
Your Gemfile lists the gem aws-sdk (~> 2.0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once (per group).
While it's not a problem now, it could cause errors if you change the version of one of them later.
travis_time:start:05c3c2ad
travis_time:end:05c3c2ad:start=1565727339789510956,finish=1565727339794059757,duration=4548801
travis_time:start:109837b9
changes detected (content changed, file is created, or file is deleted):\n/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/bin/generate-api
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/bin/httpclient
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/declarative-0.0.10.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/declarative-option-0.1.0.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/digest-crc-0.4.1.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/google-api-client-0.10.3.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/googleauth-0.5.1.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/google-cloud-core-0.21.1.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/google-cloud-storage-0.24.0.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/httpclient-2.8.3.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.0/cache/hurley-0.2.gem
/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.6.\n...
changes detected, packing new archive
uploading ha-gcs-gem/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.6.2--gemfile-Gemfile.tgz
cache uploaded
travis_time:end:109837b9:start=1565727339800852029,finish=1565727346922480439,duration=7121628410
travis_fold:end:cache.2


Done. Your build exited with 1.