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

Push event #5002.2 failed

  • Ran for
AMD64
Ruby: 2.3.8
Git
Raw log
Scroll to End of Log
0.17s0.00s0.08s
worker_info
1Worker information
2hostname: 1cefd884-9eef-415b-ad3e-c00ba00cfa4d@1.worker-com-69c59c6d6b-nk77h.gce-production-1
3version: v6.2.1 https://github.com/travis-ci/worker/tree/4e3246c044eb4915c2378ffacd0b3d3ed0136bba
4instance: travis-job-275c2f71-b92b-4ed1-8efa-6dd2de6ead99 travis-ci-sardonyx-xenial-1553530528-f909ac5 (via amqp)
5startup: 6.398934303s
60.20s0.00s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build group: stable
10Build dist: xenial
11Build id: 125784987
12Job id: 230845459
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.30s0.07s0.00s0.06s0.00s0.01s0.02s0.01s0.01s0.01s0.00s0.00s0.03s0.00s0.02s0.38s0.00s0.00s0.00s0.01s0.00s0.12s0.01s0.93s0.01s0.12s0.08s0.00s3.10s0.00s3.40s
docker_mtu
resolvconf
git.checkout
1610.86s$ 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
1750.96s$ rvm use 2.3.8 --install --binary --fuzzy
176Using /home/travis/.rvm/gems/ruby-2.3.8
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.00s2.16sattempting to download cache archive
183fetching gleis-int-test/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.3.8--gemfile-Gemfile.tgz
184found cache
cache.bundler
1870.00s3.75sadding /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.3.8p459 (2018-10-18 revision 65136) [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.77s$ 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 chef-config 12.22.5
303Using chef-zero 5.3.2
304Using net-ssh-multi 1.2.1
305Using rspec_junit_formatter 0.2.3
306Using rspec 3.8.0
307Using rspec-its 1.3.0
308Using specinfra 2.81.0
309Using coveralls 0.8.23
310Using domain_name 0.5.20190701
311Using em-http-request 1.1.5
312Using faraday_middleware 0.13.1
313Using faye-websocket 0.10.9
314Using fog-core 2.1.0
315Using sawyer 0.8.2
316Fetching webmock 3.7.1
317Installing cl 1.1.3
318Using aws-sdk-core 3.65.1
319Using ohai 8.26.1
320Using serverspec 2.41.5
321Using faye 1.2.4
322Using fog-json 1.2.0
323Using fog-xml 0.1.3
324Using http-cookie 1.0.3
325Using octokit 4.14.0
326Using dpl 2.0.0.alpha.1 from source at `.`
327Using aws-sdk-codedeploy 1.26.0
328Using aws-sdk-elasticbeanstalk 1.25.0
329Using aws-sdk-kms 1.24.0
330Using aws-sdk-lambda 1.30.0
331Using aws-sdk-opsworks 1.20.0
332Using chef 12.22.5
333Using ey-core 3.5.0
334Using fog-rackspace 0.1.6
335Using rest-client 2.0.2
336Using aws-sdk-s3 1.48.0
337Using gleis 0.6.2
338Using puppet-blacksmith 3.3.1
339Installing webmock 3.7.1
340Bundle complete! 31 Gemfile dependencies, 136 gems now installed.
341Bundled gems are installed into `./vendor/bundle`
34316.16s$ 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.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
349Failures:
351 1) Dpl::Providers::Gleis by default should run "[info] $ git push -f true HEAD:refs/heads/master"
352 Failure/Error: it { should have_run '[info] $ git push -f true HEAD:refs/heads/master' }
354 Expected the command
356 [info] $ git push -f true HEAD:refs/heads/master
358 to have run, but it didn't. Instead, we have run the commands:
360 [warn]
361 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
363 [info] Installing deployment dependencies
364 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
365 [info] $ gleis auth login user p******************* --skip-keygen
366 gleis auth login user pass --skip-keygen
367 [info] Setting the build environment up for the deployment
368 [info] Generating SSH key
369 [info] Setting up git-ssh
370 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
371 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
372 [info] $ gleis app git -a app -q
373 gleis app git -a app -q
374 [info] $ gleis app status -a app
375 gleis app status -a app
376 [info] $ git push -f captured_stdout HEAD:refs/heads/master
377 git push -f captured_stdout HEAD:refs/heads/master
378 [info] $ gleis auth key remove dpl_deploy_key
379 gleis auth key remove dpl_deploy_key
380 # ./spec/dpl/providers/gleis_spec.rb:15:in `block (3 levels) in <top (required)>'
382 2) Dpl::Providers::Gleis by default should run "git push -f true HEAD:refs/heads/master"
383 Failure/Error: it { should have_run 'git push -f true HEAD:refs/heads/master' }
385 Expected the command
387 git push -f true HEAD:refs/heads/master
389 to have run, but it didn't. Instead, we have run the commands:
391 [warn]
392 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
394 [info] Installing deployment dependencies
395 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
396 [info] $ gleis auth login user p******************* --skip-keygen
397 gleis auth login user pass --skip-keygen
398 [info] Setting the build environment up for the deployment
399 [info] Generating SSH key
400 [info] Setting up git-ssh
401 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
402 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
403 [info] $ gleis app git -a app -q
404 gleis app git -a app -q
405 [info] $ gleis app status -a app
406 gleis app status -a app
407 [info] $ git push -f captured_stdout HEAD:refs/heads/master
408 git push -f captured_stdout HEAD:refs/heads/master
409 [info] $ gleis auth key remove dpl_deploy_key
410 gleis auth key remove dpl_deploy_key
411 # ./spec/dpl/providers/gleis_spec.rb:16:in `block (3 levels) in <top (required)>'
413 3) Dpl::Providers::Gleis by default should have run commands in order
414 Failure/Error: it { should have_run_in_order }
416 Expected the commands
418 [info] $ gleis auth login user p******************* --skip-keygen
419 gleis auth login user pass --skip-keygen
420 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
421 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
422 [info] $ gleis app git -a app -q
423 gleis app git -a app -q
424 [info] $ gleis app status -a app
425 gleis app status -a app
426 [info] $ git push -f true HEAD:refs/heads/master
427 git push -f true HEAD:refs/heads/master
429 to have run in this order, but they have run as follows:
431 [info] $ gleis auth login user p******************* --skip-keygen
432 gleis auth login user pass --skip-keygen
433 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
434 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
435 [info] $ gleis app git -a app -q
436 gleis app git -a app -q
437 [info] $ gleis app status -a app
438 gleis app status -a app
439 # ./spec/dpl/providers/gleis_spec.rb:17:in `block (3 levels) in <top (required)>'
441 4) Dpl::Providers::Gleis given --verbose should run "git push -v -f true HEAD:refs/heads/master"
442 Failure/Error: it { should have_run 'git push -v -f true HEAD:refs/heads/master' }
444 Expected the command
446 git push -v -f true HEAD:refs/heads/master
448 to have run, but it didn't. Instead, we have run the commands:
450 [warn]
451 Support for deployments to Gleis is in development. Please see here: https://github.com/travis-ci/dpl/#maturity-levels
453 [info] Installing deployment dependencies
454 [gem:require] ["gleis", "~> 0.6.0", {}] (, {})
455 [info] $ gleis auth login user p******************* --skip-keygen
456 gleis auth login user pass --skip-keygen
457 [info] Setting the build environment up for the deployment
458 [info] Generating SSH key
459 [info] Setting up git-ssh
460 [info] $ gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
461 gleis auth key add ~/.dpl/id_rsa.pub dpl_deploy_key
462 [info] $ gleis app git -a app -q
463 gleis app git -a app -q
464 [info] $ gleis app status -a app
465 gleis app status -a app
466 [info] $ git push -v -f captured_stdout HEAD:refs/heads/master
467 git push -v -f captured_stdout HEAD:refs/heads/master
468 [info] $ gleis auth key remove dpl_deploy_key
469 gleis auth key remove dpl_deploy_key
470 # ./spec/dpl/providers/gleis_spec.rb:26:in `block (3 levels) in <top (required)>'
472Finished in 13.73 seconds (files took 0.988 seconds to load)
473938 examples, 4 failures
475Failed examples:
477rspec ./spec/dpl/providers/gleis_spec.rb:15 # Dpl::Providers::Gleis by default should run "[info] $ git push -f true HEAD:refs/heads/master"
478rspec ./spec/dpl/providers/gleis_spec.rb:16 # Dpl::Providers::Gleis by default should run "git push -f true HEAD:refs/heads/master"
479rspec ./spec/dpl/providers/gleis_spec.rb:17 # Dpl::Providers::Gleis by default should have run commands in order
480rspec ./spec/dpl/providers/gleis_spec.rb:26 # Dpl::Providers::Gleis given --verbose should run "git push -v -f true HEAD:refs/heads/master"
482[Coveralls] Submitting to https://coveralls.io/api/v1
483fatal: not a git repository (or any of the parent directories): .git
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
491[Coveralls] Job ##3720.1
492[Coveralls] https://coveralls.io/jobs/52797485
493Coverage is at 95.78%.
494Coverage report sent to Coveralls.
495The command "bundle exec rspec" exited with 1.
cache.2
496store build cache
497$ bundle clean
498Removing cl (1.1.1)
499Removing webmock (3.7.0)
5000.00s8.00schanges detected (content changed, file is created, or file is deleted):\n/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/cache/cl-1.1.1.gem
501/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/cache/cl-1.1.3.gem
502/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/cache/webmock-3.7.0.gem
503/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/cache/webmock-3.7.1.gem
504/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/CHANGELOG.md
505/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/args/cast
506/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/args/opts
507/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/args/required
508/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/args/splat
509/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/gem
510/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3.0/gems/cl-1.1.1/examples/heroku
511/home/travis/build/travis-ci/dpl/vendor/bundle/ruby/2.3\n...
512changes detected, packing new archive
513uploading gleis-int-test/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--rvm-2.3.8--gemfile-Gemfile.tgz
514cache uploaded
517Done. Your build exited with 1.
Top