gleis-int-test Fix capturing of git URL and key name of key removal

Push event #5002.3 failed

  • Ran for
AMD64
Ruby: 2.4.5
Git
Raw log
Scroll to End of Log
0.19s0.00s0.09s
worker_info
1Worker information
2hostname: b36dfff7-b556-42ed-9d0c-8876eb9dd414@1.worker-com-6dfdbf9699-nbv5d.gce-production-2
3version: v6.2.1 https://github.com/travis-ci/worker/tree/4e3246c044eb4915c2378ffacd0b3d3ed0136bba
4instance: travis-job-4ef09adc-3515-4429-a03f-4488439f9270 travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
5startup: 6.381349301s
60.20s0.00s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build group: stable
10Build dist: xenial
11Build id: 125784987
12Job id: 230845460
13Runtime kernel version: 4.15.0-1028-gcp
14travis-build version: 9fd04113e
15Build image provisioning date and time
16Mon Mar 25 16:43:24 UTC 2019
17Operating System Details
18Distributor ID: Ubuntu
19Description: Ubuntu 16.04.6 LTS
20Release: 16.04
21Codename: xenial
22Systemd Version
23systemd 229
24Cookbooks Version
2542e42e4 https://github.com/travis-ci/travis-cookbooks/tree/42e42e4
26git version
27git version 2.21.0
28bash version
29GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
30gcc version
31gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
32docker version
33Client:
34 Version: 18.06.0-ce
35 API version: 1.38
36 Go version: go1.10.3
37 Git commit: 0ffa825
38 Built: Wed Jul 18 19:11:02 2018
39 OS/Arch: linux/amd64
40 Experimental: false
42Server:
43 Engine:
44 Version: 18.06.0-ce
45 API version: 1.38 (minimum version 1.12)
46 Go version: go1.10.3
47 Git commit: 0ffa825
48 Built: Wed Jul 18 19:09:05 2018
49 OS/Arch: linux/amd64
50 Experimental: false
51clang version
52clang version 7.0.0 (tags/RELEASE_700/final)
53jq version
54jq-1.5
55bats version
56Bats 0.4.0
57shellcheck version
580.6.0
59shfmt version
60v2.6.3
61ccache version
623.2.4
63cmake version
64cmake version 3.12.4
65heroku version
66heroku/7.22.7 linux-x64 node-v11.10.1
67imagemagick version
68Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org
69md5deep version
704.4
71mercurial version
72version 4.8
73mysql version
74mysql Ver 14.14 Distrib 5.7.25, for Linux (x86_64) using EditLine wrapper
75openssl version
76OpenSSL 1.0.2g 1 Mar 2016
77packer version
781.3.3
79postgresql client version
80psql (PostgreSQL) 10.7 (Ubuntu 10.7-1.pgdg16.04+1)
81ragel version
82Ragel State Machine Compiler version 6.8 Feb 2013
83sudo version
841.8.16
85gzip version
86gzip 1.6
87zip version
88Zip 3.0
89vim version
90VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
91iptables version
92iptables v1.6.0
93curl version
94curl 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
95wget version
96GNU Wget 1.17.1 built on linux-gnu.
97rsync version
98rsync version 3.1.1 protocol version 31
99gimme version
100v1.5.3
101nvm version
1020.34.0
103perlbrew version
104/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.86
105phpenv version
106rbenv 1.1.2
107rvm version
108rvm 1.29.7 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
109default ruby version
110ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
111CouchDB version
112couchdb 1.6.1
113ElasticSearch version
1145.5.0
115Installed Firefox version
116firefox 63.0.1
117MongoDB version
118MongoDB 4.0.7
119PhantomJS version
1202.1.1
121Pre-installed PostgreSQL versions
1229.4.21
1239.5.16
1249.6.12
125Redis version
126redis-server 5.0.4
127Pre-installed Go versions
1281.11.1
129mvn version
130Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
131gradle version
132Gradle 4.10.2!
133lein version
134Leiningen 2.9.1 on Java 11.0.2 OpenJDK 64-Bit Server VM
135Pre-installed Node.js versions
136v10.15.3
137v11.0.0
138v4.9.1
139v6.17.0
140v8.12.0
141v8.15.1
142v8.9
143phpenv versions
144 system
145 5.6
146 5.6.40
147 7.1
148 7.1.27
149 7.2
150* 7.2.15 (set by /home/travis/.phpenv/version)
151 hhvm
152 hhvm-stable
153composer --version
154Composer version 1.8.4 2019-02-11 10:52:10
155Pre-installed Ruby versions
156ruby-2.3.8
157ruby-2.4.5
158ruby-2.5.3
1600.01s0.01s0.39s0.39s0.07s0.00s0.05s0.00s0.01s0.01s0.01s0.01s0.02s0.00s0.01s0.03s0.00s0.02s0.46s0.01s0.01s0.00s0.02s0.00s0.12s0.01s0.99s0.00s0.15s0.07s0.00s3.05s0.00s2.47s
docker_mtu
resolvconf
git.checkout
1610.82s$ git clone --depth=50 --branch=gleis-int-test https://github.com/travis-ci/dpl.git travis-ci/dpl
162Cloning into 'travis-ci/dpl'...
163$ cd travis-ci/dpl
164$ git checkout -qf bc291a18d3211f2e7edaf046890bb668de7f182c
1660.01s
167Setting environment variables from repository settings
168$ export SNAP_TOKEN=[secure]
169$ export encrypted_81cf70da4be5_key=[secure]
170$ export encrypted_81cf70da4be5_iv=[secure]
171$ export encrypted_b24ece17e78a_key=[secure]
172$ export encrypted_b24ece17e78a_iv=[secure]
173$ export COVERALLS_REPO_TOKEN=[secure]
rvm
1751.00s$ rvm use 2.4.5 --install --binary --fuzzy
176Using /home/travis/.rvm/gems/ruby-2.4.5
178$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
179Setting up build cache
180$ export CASHER_DIR=${TRAVIS_HOME}/.casher
1810.28s$ Installing caching utilities
1820.00s1.93sattempting to download cache archive
183fetching gleis-int-test/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.4.5--gemfile-Gemfile.tgz
184found cache
cache.bundler
1870.00s3.64sadding /home/travis/build/travis-ci/dpl/vendor/bundle to cache
188creating directory /home/travis/build/travis-ci/dpl/vendor/bundle
ruby.versions
189$ ruby --version
190ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-linux]
191$ rvm --version
192rvm 1.29.7 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
193$ bundle --version
194Bundler version 1.16.2
195$ gem --version
1962.7.7
install.bundler
1985.33s$ bundle install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
199Fetching gem metadata from https://rubygems.org/...........
200Fetching gem metadata from https://rubygems.org/.
201Resolving dependencies.....
202Using rake 12.3.3
203Using public_suffix 3.0.3
204Using awesome_print 1.8.0
205Using aws-eventstream 1.0.3
206Using aws-partitions 1.207.0
207Using jmespath 1.4.0
208Using optionally 0.0.3
209Using wrapomatic 0.3.0
210Using builder 3.2.3
211Using bundler 1.16.2
212Using fuzzyurl 0.9.0
213Using tomlrb 1.2.8
214Using mixlib-shellout 2.4.4
215Using libyajl2 1.2.0
216Using hashie 3.6.0
217Using mixlib-log 1.7.1
218Using rack 2.0.7
219Using uuidtools 2.1.5
220Using diff-lcs 1.3
221Using erubis 2.7.0
222Using highline 1.7.10
223Using iniparse 1.4.4
224Using mixlib-authentication 1.4.2
225Using mixlib-cli 1.7.0
226Using net-ssh 4.2.0
227Using ffi 1.11.1
228Using ipaddress 0.8.3
229Using plist 3.5.0
230Using systemu 2.6.5
231Using wmi-lite 1.0.2
232Using proxifier 1.0.3
233Using rspec-support 3.8.2
234Using multi_json 1.13.1
235Using net-telnet 0.1.1
236Using sfl 2.3
237Using syslog-logger 1.6.8
238Using cistern 0.12.3
239Using regstry 1.0.14
240Using coderay 1.1.2
241Using colorize 0.8.1
242Using cookiejar 0.3.3
243Using json 1.8.6
244Using docile 1.3.2
245Using simplecov-html 0.10.2
246Using tins 1.21.1
247Using thor 0.20.3
248Using safe_yaml 1.0.5
249Using unf_ext 0.0.7.6
250Using eventmachine 1.2.7
251Using http_parser.rb 0.6.0
252Using escape 0.0.4
253Using excon 0.66.0
254Using ey-hmac 2.2.0
255Using multipart-post 2.0.0
256Using websocket-extensions 0.1.4
257Using mime-types-data 3.2019.0331
258Using oj 3.9.1
259Using oj_mimic_json 1.0.1
260Using method_source 0.9.2
261Using sshkey 1.9.0
262Using table_print 1.5.6
263Using facter 2.5.6
264Using fast_gettext 1.1.2
265Using formatador 0.2.5
266Using mini_portile2 2.4.0
267Using netrc 0.11.0
268Using hashdiff 1.0.0
269Using hiera 3.5.0
270Using json_pure 1.8.6
271Using locale 2.1.2
272Using mime 0.4.4
273Using pathspec 0.2.1
274Using rendezvous 0.1.3
275Using rubyzip 1.2.3
276Using addressable 2.7.0
277Using aws-sigv4 1.1.0
278Using belafonte 0.5.0
279Using mixlib-config 2.2.18
280Using ffi-yajl 2.3.1
281Using mixlib-archive 0.4.20
282Using net-sftp 2.1.2
283Using net-ssh-gateway 2.0.0
284Using rspec-core 3.8.2
285Using rspec-expectations 3.8.4
286Using rspec-mocks 3.8.1
287Using net-scp 2.0.0
288Fetching cl 1.1.3
289Using simplecov 0.16.1
290Using term-ansicolor 1.7.1
291Using crack 0.4.3
292Using unf 0.1.4
293Using em-socksify 0.3.2
294Using faraday 0.9.2
295Using websocket-driver 0.7.1
296Using mime-types 3.2.2
297Using pry 0.12.2
298Using nokogiri 1.9.1
299Using gems 1.1.1
300Using packagecloud-ruby 1.0.8
301Using puppet 5.5.16
302Using specinfra 2.81.0
303Using coveralls 0.8.23
304Using domain_name 0.5.20190701
305Using em-http-request 1.1.5
306Using faraday_middleware 0.13.1
307Using faye-websocket 0.10.9
308Using fog-core 2.1.0
309Using sawyer 0.8.2
310Fetching webmock 3.7.1
311Installing cl 1.1.3
312Installing webmock 3.7.1
313Using aws-sdk-core 3.65.1
314Using chef-config 12.22.5
315Using chef-zero 5.3.2
316Using net-ssh-multi 1.2.1
317Using rspec_junit_formatter 0.2.3
318Using rspec 3.8.0
319Using rspec-its 1.3.0
320Using faye 1.2.4
321Using fog-json 1.2.0
322Using fog-xml 0.1.3
323Using http-cookie 1.0.3
324Using octokit 4.14.0
325Using aws-sdk-codedeploy 1.26.0
326Using aws-sdk-elasticbeanstalk 1.25.0
327Using aws-sdk-kms 1.24.0
328Using aws-sdk-lambda 1.30.0
329Using aws-sdk-opsworks 1.20.0
330Using dpl 2.0.0.alpha.1 from source at `.`
331Using aws-sdk-s3 1.48.0
332Using ohai 8.26.1
333Using serverspec 2.41.5
334Using ey-core 3.5.0
335Using fog-rackspace 0.1.6
336Using rest-client 2.0.2
337Using chef 12.22.5
338Using gleis 0.6.2
339Using puppet-blacksmith 3.3.1
340Bundle complete! 31 Gemfile dependencies, 136 gems now installed.
341Bundled gems are installed into `./vendor/bundle`
34314.56s$ bundle exec rspec
344[Coveralls] Set up the SimpleCov formatter.
345[Coveralls] Using SimpleCov's default settings.
346Run options: exclude {:skip=>true}
347...............................................................................................................................................................................................................................................................................................................FFF..F..................................................................................................................................................................../home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/faraday-0.9.2/lib/faraday/request/retry.rb:30: warning: constant ::Fixnum is deprecated
348.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
350Failures:
352 1) Dpl::Providers::Gleis by default should run "[info] $ git push -f true HEAD:refs/heads/master"
353 Failure/Error: it { should have_run '[info] $ git push -f true HEAD:refs/heads/master' }
355 Expected the command
357 [info] $ git push -f true HEAD:refs/heads/master
359 to have run, but it didn't. Instead, we have run the commands:
361 [warn]
362 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
364 [info] Installing deployment dependencies
365 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
366 [info] $ gleis auth login user p******************* --skip-keygen
367 gleis auth login user pass --skip-keygen
368 [info] Setting the build environment up for the deployment
369 [info] Generating SSH key
370 [info] Setting up git-ssh
371 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
372 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
373 [info] $ gleis app git -a app -q
374 gleis app git -a app -q
375 [info] $ gleis app status -a app
376 gleis app status -a app
377 [info] $ git push -f captured_stdout HEAD:refs/heads/master
378 git push -f captured_stdout HEAD:refs/heads/master
379 [info] $ gleis auth key remove dpl_deploy_key
380 gleis auth key remove dpl_deploy_key
381 # ./spec/dpl/providers/gleis_spec.rb:15:in `block (3 levels) in <top (required)>'
383 2) Dpl::Providers::Gleis by default should run "git push -f true HEAD:refs/heads/master"
384 Failure/Error: it { should have_run 'git push -f true HEAD:refs/heads/master' }
386 Expected the command
388 git push -f true HEAD:refs/heads/master
390 to have run, but it didn't. Instead, we have run the commands:
392 [warn]
393 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
395 [info] Installing deployment dependencies
396 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
397 [info] $ gleis auth login user p******************* --skip-keygen
398 gleis auth login user pass --skip-keygen
399 [info] Setting the build environment up for the deployment
400 [info] Generating SSH key
401 [info] Setting up git-ssh
402 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
403 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
404 [info] $ gleis app git -a app -q
405 gleis app git -a app -q
406 [info] $ gleis app status -a app
407 gleis app status -a app
408 [info] $ git push -f captured_stdout HEAD:refs/heads/master
409 git push -f captured_stdout HEAD:refs/heads/master
410 [info] $ gleis auth key remove dpl_deploy_key
411 gleis auth key remove dpl_deploy_key
412 # ./spec/dpl/providers/gleis_spec.rb:16:in `block (3 levels) in <top (required)>'
414 3) Dpl::Providers::Gleis by default should have run commands in order
415 Failure/Error: it { should have_run_in_order }
417 Expected the commands
419 [info] $ gleis auth login user p******************* --skip-keygen
420 gleis auth login user pass --skip-keygen
421 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
422 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
423 [info] $ gleis app git -a app -q
424 gleis app git -a app -q
425 [info] $ gleis app status -a app
426 gleis app status -a app
427 [info] $ git push -f true HEAD:refs/heads/master
428 git push -f true HEAD:refs/heads/master
430 to have run in this order, but they have run as follows:
432 [info] $ gleis auth login user p******************* --skip-keygen
433 gleis auth login user pass --skip-keygen
434 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
435 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
436 [info] $ gleis app git -a app -q
437 gleis app git -a app -q
438 [info] $ gleis app status -a app
439 gleis app status -a app
440 # ./spec/dpl/providers/gleis_spec.rb:17:in `block (3 levels) in <top (required)>'
442 4) Dpl::Providers::Gleis given --verbose should run "git push -v -f true HEAD:refs/heads/master"
443 Failure/Error: it { should have_run 'git push -v -f true HEAD:refs/heads/master' }
445 Expected the command
447 git push -v -f true HEAD:refs/heads/master
449 to have run, but it didn't. Instead, we have run the commands:
451 [warn]
452 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
454 [info] Installing deployment dependencies
455 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
456 [info] $ gleis auth login user p******************* --skip-keygen
457 gleis auth login user pass --skip-keygen
458 [info] Setting the build environment up for the deployment
459 [info] Generating SSH key
460 [info] Setting up git-ssh
461 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
462 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
463 [info] $ gleis app git -a app -q
464 gleis app git -a app -q
465 [info] $ gleis app status -a app
466 gleis app status -a app
467 [info] $ git push -v -f captured_stdout HEAD:refs/heads/master
468 git push -v -f captured_stdout HEAD:refs/heads/master
469 [info] $ gleis auth key remove dpl_deploy_key
470 gleis auth key remove dpl_deploy_key
471 # ./spec/dpl/providers/gleis_spec.rb:26:in `block (3 levels) in <top (required)>'
473Finished in 12.21 seconds (files took 1.06 seconds to load)
474938 examples, 4 failures
476Failed examples:
478rspec ./spec/dpl/providers/gleis_spec.rb:15 # Dpl::Providers::Gleis by default should run "[info] $ git push -f true HEAD:refs/heads/master"
479rspec ./spec/dpl/providers/gleis_spec.rb:16 # Dpl::Providers::Gleis by default should run "git push -f true HEAD:refs/heads/master"
480rspec ./spec/dpl/providers/gleis_spec.rb:17 # Dpl::Providers::Gleis by default should have run commands in order
481rspec ./spec/dpl/providers/gleis_spec.rb:26 # Dpl::Providers::Gleis given --verbose should run "git push -v -f true HEAD:refs/heads/master"
483[Coveralls] Submitting to https://coveralls.io/api/v1
484fatal: not a git repository (or any of the parent directories): .git
485fatal: not a git repository (or any of the parent directories): .git
486fatal: not a git repository (or any of the parent directories): .git
487fatal: not a git repository (or any of the parent directories): .git
488fatal: not a git repository (or any of the parent directories): .git
489fatal: not a git repository (or any of the parent directories): .git
490fatal: not a git repository (or any of the parent directories): .git
491fatal: not a git repository (or any of the parent directories): .git
492[Coveralls] Job ##3719.1
493[Coveralls] https://coveralls.io/jobs/52797479
494Coverage is at 95.78%.
495Coverage report sent to Coveralls.
496The command "bundle exec rspec" exited with 1.
cache.2
497store build cache
498$ bundle clean
499Removing cl (1.1.1)
500Removing webmock (3.7.0)
5010.00s7.74schanges detected (content changed, file is created, or file is deleted):\n/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/cache/cl-1.1.1.gem
502/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/cache/cl-1.1.3.gem
503/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/cache/webmock-3.7.0.gem
504/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/cache/webmock-3.7.1.gem
505/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/CHANGELOG.md
506/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/args/cast
507/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/args/opts
508/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/args/required
509/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/args/splat
510/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/gem
511/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4.0/gems/cl-1.1.1/examples/heroku
512/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.4\n...
513changes detected, packing new archive
514uploading gleis-int-test/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.4.5--gemfile-Gemfile.tgz
515cache uploaded
518Done. Your build exited with 1.
Top