Skip to content

Instantly share code, notes, and snippets.

@boffbowsh
Created August 30, 2016 15:19
Show Gist options
  • Select an option

  • Save boffbowsh/779b47950cac48912cd3ab91c4276cc9 to your computer and use it in GitHub Desktop.

Select an option

Save boffbowsh/779b47950cac48912cd3ab91c4276cc9 to your computer and use it in GitHub Desktop.
Started by remote host 54.198.245.65
[EnvInject] - Loading node environment variables.
Building remotely on ci-slave-4.internal in workspace /home/jenkins/workspace/govuk_gds_sso_branches
Checkout:govuk_gds_sso_branches / /home/jenkins/workspace/govuk_gds_sso_branches - hudson.remoting.Channel@54d7ac37:ci-slave-4.internal
Using strategy: Default
Last Built Revision: Revision c6ec519b0b3fa60eb4bfe0d564d04b9bdec458b3 (origin/guidance-guarantee-programme-rails-5)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision b16375a2823d75f6f25d5170272bb6261f128907 (origin/guidance-guarantee-programme-rails-5)
Checking out Revision b16375a2823d75f6f25d5170272bb6261f128907 (origin/guidance-guarantee-programme-rails-5)
[govuk_gds_sso_branches] $ /bin/sh -xe /tmp/hudson898761971626958796.sh
+ ./jenkins_branches.sh
INFO: Starting new HTTPS connection (1): api.github.com
+ export ORIGINAL_PATH=/home/jenkins/venv/govuk_gds_sso_branches/bin:/bin:/usr/lib/rbenv/shims:/usr/lib/goenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
+ ORIGINAL_PATH=/home/jenkins/venv/govuk_gds_sso_branches/bin:/bin:/usr/lib/rbenv/shims:/usr/lib/goenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
++ lsof -Fp -i :4567
++ sed 's/^p//'
+ trap 'kill || true' EXIT
+ rm -f Gemfile.lock
+ rm -f gemfiles/rails_4.2.gemfile.lock gemfiles/rails_5.0.gemfile.lock
+ git clean -fdxe /tmp
Removing gemfiles/.bundle/
Removing spec/internal/db/combustion_test.sqlite
Removing spec/internal/log/test.log
+ for ruby_version in 2.2 2.3
+ for gemfile in rails_4.2 rails_5.0
+ RBENV_VERSION=2.2
+ bundle install --path /home/jenkins/bundles/govuk_gds_sso_branches --gemfile gemfiles/rails_4.2.gemfile
Fetching gem metadata from https://rubygems.org/..Retrying dependency api due to error (2/4): Bundler::MarshalError ArgumentError: marshal data too short
.......
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.............
Using rake 0.9.2.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.0
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.4
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Using nokogiri 1.6.8
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.4
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.4
Using globalid 0.3.7
Using activejob 4.2.4
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using mail 2.6.4
Using actionmailer 4.2.4
Using activemodel 4.2.4
Using arel 6.0.3
Using activerecord 4.2.4
Using addressable 2.4.0
Using bundler 1.10.6
Using xpath 2.0.0
Using capybara 2.8.0
Using unf_ext 0.0.7.2
Using unf 0.1.4
Using domain_name 0.5.20160615
Using http-cookie 1.0.2
Using net-http-digest_auth 1.4
Using net-http-persistent 2.9.4
Using ntlm-http 0.1.1
Using webrobots 0.1.2
Using mechanize 2.7.5
Using capybara-mechanize 1.5.0
Using thor 0.19.1
Using railties 4.2.4
Using combustion 0.5.4
Using concurrent-ruby 1.0.2
Using diff-lcs 1.2.5
Using multipart-post 2.0.0
Using faraday 0.9.2
Using multi_json 1.12.1
Using jwt 1.5.4
Using multi_xml 0.5.5
Using oauth2 1.2.0
Using hashie 3.4.4
Using omniauth 1.3.1
Using omniauth-oauth2 1.3.0
Using omniauth-gds 3.2.0
Using rack-accept 0.4.5
Using sprockets 3.7.0
Using sprockets-rails 3.1.1
Using rails 4.2.4
Using warden 1.2.6
Using warden-oauth2 0.0.1
Using gds-sso 12.1.0 from source at ../
Using gem_publisher 1.0.0
Using rspec-support 3.5.0
Using rspec-core 3.5.2
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using rspec-rails 3.5.2
Using sqlite3 1.3.9
Using timecop 0.3.5
Bundle complete! 11 Gemfile dependencies, 73 gems now installed.
Bundled gems are installed into /home/jenkins/bundles/govuk_gds_sso_branches.
+ RBENV_VERSION=2.2
+ BUNDLE_PATH=/home/jenkins/bundles/govuk_gds_sso_branches
+ BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
+ bundle exec rake
Launching: signonotron2
Removing .bundle/
Host key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
+--[ RSA 2048]----+
| . |
| + . |
| . B . |
| o * + |
| X * S |
| + O o . . |
| . E . o |
| . . o |
| . . |
+-----------------+
HEAD is now at d56e25d Merge pull request #509 from guidance-guarantee-programme/remove-sprockets-deprecations
Running bundler
Using rake 10.4.1
Using PriorityQueue 0.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.7.1
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.4
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.7.1
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.7.1
Using globalid 0.3.7
Using activejob 4.2.7.1
Using mime-types 2.99.2
Using mail 2.6.4
Using actionmailer 4.2.7.1
Using activejob-retry 0.5.0
Using activemodel 4.2.7.1
Using arel 6.0.3
Using activerecord 4.2.7.1
Using addressable 2.3.8
Using multi_json 1.11.2
Using airbrake 3.1.15
Using alphabetical_paginate 2.2.3
Using ancestry 2.0.0
Using ast 2.1.0
Using parser 2.2.3.0
Using astrolabe 1.3.1
Using execjs 2.6.0
Using autoprefixer-rails 6.3.5
Using bcrypt 3.1.10
Using coderay 1.1.0
Using better_errors 2.1.1
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.7.1
Using concurrent-ruby 1.0.2
Using sprockets 3.7.0
Using sprockets-rails 3.1.1
Using rails 4.2.7.1
Using bootstrap-kaminari-views 0.0.5
Using sass 3.4.18
Using bootstrap-sass 3.3.5.1
Using columnize 0.9.0
Using byebug 5.0.0
Using xpath 2.0.0
Using capybara 2.5.0
Using capybara-email 2.4.0
Using chronic 0.10.2
Using chunky_png 1.3.4
Using ci_reporter 1.7.0
Using cliver 0.3.2
Using connection_pool 2.2.0
Using safe_yaml 1.0.4
Using crack 0.4.2
Using database_cleaner 1.5.0
Using deprecated_columns 0.1.0
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.3
Using devise 3.5.1
Using devise-encryptable 0.2.0
Using devise_invitable 1.5.2
Using zxcvbn-ruby 0.1.0
Using devise_zxcvbn 1.1.1
Using diff-lcs 1.2.5
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using domain_name 0.5.24
Using doorkeeper 2.2.1
Using factory_girl 4.5.0
Using factory_girl_rails 4.5.0
Using link_header 0.0.8
Using lrucache 0.1.4
Using null_logger 0.0.1
Using plek 1.7.0
Using rack-cache 1.2
Using http-cookie 1.0.2
Using netrc 0.10.3
Using rest-client 1.8.0
Using gds-api-adapters 20.1.1
Using powerpack 0.1.1
Using rainbow 2.0.0
Using ruby-progressbar 1.7.5
Using rubocop 0.34.2
Using govuk-lint 0.4.1
Using jquery-rails 3.1.4
Using govuk_admin_template 4.2.0
Using redis 3.2.1
Using redis-namespace 1.5.2
Using sidekiq 4.1.2
Using sidekiq-logging-json 0.0.16
Using statsd-ruby 1.1.0
Using sidekiq-statsd 0.1.5
Using govuk_sidekiq 0.0.3
Using hashdiff 0.2.3
Using jasmine-core 2.1.3
Using phantomjs 1.9.8.0
Using jasmine 2.1.0
Using kgio 2.10.0
Using logstash-event 1.1.5
Using logstasher 0.4.8
Using systemu 2.6.5
Using macaddr 1.7.1
Using metaclass 0.0.4
Using method_source 0.8.2
Using mocha 1.1.0
Using mysql2 0.3.20
Using pg 0.18.4
Using websocket-extensions 0.1.2
Using websocket-driver 0.6.2
Using poltergeist 1.6.0
Using slop 3.6.0
Using pry 0.10.2
Using pry-byebug 3.2.0
Using pundit 0.3.0
Using quiet_assets 1.0.2
Using raindrops 0.15.0
Using rotp 2.1.1
Using rqrcode 0.7.0
Using rspec-support 3.3.0
Using rspec-core 3.3.2
Using rspec-expectations 3.3.1
Using rspec-mocks 3.3.2
Using rspec-rails 3.3.3
Using tilt 2.0.5
Using sass-rails 5.0.6
Using shoulda-context 1.2.1
Using timecop 0.7.1
Using uglifier 2.7.1
Using unicorn 4.9.0
Using uuid 2.3.8
Using webmock 1.22.3
Using whenever 0.9.4
Using zeroclipboard-rails 0.1.1
Bundle complete! 54 Gemfile dependencies, 147 gems now installed.
Bundled gems are installed into ._bundle.
-- create_table("batch_invitation_application_permissions", {:force=>:cascade})
-> 0.0108s
-- add_index("batch_invitation_application_permissions", ["batch_invitation_id", "supported_permission_id"], {:name=>"index_batch_invite_app_perms_on_batch_invite_and_supported_perm", :unique=>true, :using=>:btree})
-> 0.0088s
-- create_table("batch_invitation_users", {:force=>:cascade})
-> 0.0128s
-- add_index("batch_invitation_users", ["batch_invitation_id"], {:name=>"index_batch_invitation_users_on_batch_invitation_id", :using=>:btree})
-> 0.0078s
-- create_table("batch_invitations", {:force=>:cascade})
-> 0.0266s
-- add_index("batch_invitations", ["outcome"], {:name=>"index_batch_invitations_on_outcome", :using=>:btree})
-> 0.0103s
-- create_table("event_logs", {:force=>:cascade})
-> 0.0075s
-- add_index("event_logs", ["uid", "created_at"], {:name=>"index_event_logs_on_uid_and_created_at", :using=>:btree})
-> 0.0086s
-- create_table("oauth_access_grants", {:force=>:cascade})
-> 0.0085s
-- add_index("oauth_access_grants", ["token"], {:name=>"index_oauth_access_grants_on_token", :unique=>true, :using=>:btree})
-> 0.0087s
-- create_table("oauth_access_tokens", {:force=>:cascade})
-> 0.0115s
-- add_index("oauth_access_tokens", ["refresh_token"], {:name=>"index_oauth_access_tokens_on_refresh_token", :unique=>true, :using=>:btree})
-> 0.0098s
-- add_index("oauth_access_tokens", ["resource_owner_id"], {:name=>"index_oauth_access_tokens_on_resource_owner_id", :using=>:btree})
-> 0.0108s
-- add_index("oauth_access_tokens", ["token"], {:name=>"index_oauth_access_tokens_on_token", :unique=>true, :using=>:btree})
-> 0.0142s
-- create_table("oauth_applications", {:force=>:cascade})
-> 0.0107s
-- add_index("oauth_applications", ["name"], {:name=>"unique_application_name", :unique=>true, :using=>:btree})
-> 0.0092s
-- add_index("oauth_applications", ["uid"], {:name=>"index_oauth_applications_on_uid", :unique=>true, :using=>:btree})
-> 0.0308s
-- create_table("old_passwords", {:force=>:cascade})
-> 0.0109s
-- add_index("old_passwords", ["password_archivable_type", "password_archivable_id"], {:name=>"index_password_archivable", :using=>:btree})
-> 0.0086s
-- create_table("organisations", {:force=>:cascade})
-> 0.0112s
-- add_index("organisations", ["ancestry"], {:name=>"index_organisations_on_ancestry", :using=>:btree})
-> 0.0083s
-- add_index("organisations", ["content_id"], {:name=>"index_organisations_on_content_id", :unique=>true, :using=>:btree})
-> 0.0099s
-- add_index("organisations", ["slug"], {:name=>"index_organisations_on_slug", :unique=>true, :using=>:btree})
-> 0.0197s
-- create_table("supported_permissions", {:force=>:cascade})
-> 0.0075s
-- add_index("supported_permissions", ["application_id", "name"], {:name=>"index_supported_permissions_on_application_id_and_name", :unique=>true, :using=>:btree})
-> 0.0089s
-- add_index("supported_permissions", ["application_id"], {:name=>"index_supported_permissions_on_application_id", :using=>:btree})
-> 0.0076s
-- create_table("user_application_permissions", {:force=>:cascade})
-> 0.0059s
-- add_index("user_application_permissions", ["user_id", "application_id", "supported_permission_id"], {:name=>"index_app_permissions_on_user_and_app_and_supported_permission", :unique=>true, :using=>:btree})
-> 0.0098s
-- create_table("users", {:force=>:cascade})
-> 0.0371s
-- add_index("users", ["email"], {:name=>"index_users_on_email", :unique=>true, :using=>:btree})
-> 0.0113s
-- add_index("users", ["invitation_token"], {:name=>"index_users_on_invitation_token", :using=>:btree})
-> 0.0102s
-- add_index("users", ["invited_by_id"], {:name=>"index_users_on_invited_by_id", :using=>:btree})
-> 0.0094s
-- add_index("users", ["organisation_id"], {:name=>"index_users_on_organisation_id", :using=>:btree})
-> 0.0112s
-- add_index("users", ["otp_secret_key"], {:name=>"index_users_on_otp_secret_key", :unique=>true, :using=>:btree})
-> 0.0100s
-- add_index("users", ["reset_password_token"], {:name=>"index_users_on_reset_password_token", :unique=>true, :using=>:btree})
-> 0.0104s
-- add_index("users", ["unlock_token"], {:name=>"index_users_on_unlock_token", :unique=>true, :using=>:btree})
-> 0.0142s
-- initialize_schema_migrations_table()
-> 0.1225s
Starting signonotron instance in the background
/usr/lib/rbenv/versions/2.2.4/bin/ruby -I/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-core-3.5.2/lib:/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-support-3.5.0/lib /home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-core-3.5.2/exe/rspec --pattern spec/\*\*/\*_spec.rb
-- create_table("users", {:force=>true})
-> 0.0163s
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 65019
...............Waiting for signonotron to start at http://localhost:4567
..Signonotron is now running at http://localhost:4567
I, [2016-08-30T10:54:50.456200 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:01.316634 #20358] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:01.477065 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:01.656541 #20358] INFO -- omniauth: (gds) Callback phase initiated.
..I, [2016-08-30T10:55:01.720866 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:01.896676 #20358] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:01.942189 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:02.120760 #20358] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:02.184726 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:02.360572 #20358] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:02.414754 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:02.604660 #20358] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-31T07:00:02.772692 #20358] INFO -- omniauth: (gds) Request phase initiated.
.I, [2016-08-30T10:55:02.860903 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:03.096558 #20358] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-31T07:00:03.145407 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-31T07:00:03.170268 #20358] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:03.227877 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:03.416731 #20358] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:03.478326 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:03.660525 #20358] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:03.730052 #20358] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:03.948667 #20358] INFO -- omniauth: (gds) Callback phase initiated.
............
Finished in 16.12 seconds (files took 1.86 seconds to load)
34 examples, 0 failures
Randomized with seed 65019
+ for gemfile in rails_4.2 rails_5.0
+ RBENV_VERSION=2.2
+ bundle install --path /home/jenkins/bundles/govuk_gds_sso_branches --gemfile gemfiles/rails_5.0.gemfile
Fetching gem metadata from https://rubygems.org/..Retrying dependency api due to error (2/4): Bundler::MarshalError ArgumentError: marshal data too short
.......
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies................
Using rake 0.9.2.2
Using concurrent-ruby 1.0.2
Using i18n 0.7.0
Using minitest 5.9.0
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 5.0.0.1
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Using nokogiri 1.6.8
Using rails-dom-testing 2.0.1
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 5.0.0.1
Using rack 2.0.1
Using rack-test 0.6.3
Using actionpack 5.0.0.1
Using nio4r 1.2.1
Using websocket-extensions 0.1.2
Using websocket-driver 0.6.4
Using actioncable 5.0.0.1
Using globalid 0.3.7
Using activejob 5.0.0.1
Using mime-types-data 3.2016.0521
Using mime-types 3.1
Using mail 2.6.4
Using actionmailer 5.0.0.1
Using activemodel 5.0.0.1
Using arel 7.1.1
Using activerecord 5.0.0.1
Using addressable 2.4.0
Using bundler 1.10.6
Using xpath 2.0.0
Using capybara 2.8.0
Using unf_ext 0.0.7.2
Using unf 0.1.4
Using domain_name 0.5.20160615
Using http-cookie 1.0.2
Using net-http-digest_auth 1.4
Using net-http-persistent 2.9.4
Using ntlm-http 0.1.1
Using webrobots 0.1.2
Using mechanize 2.7.5
Using capybara-mechanize 1.5.0
Using method_source 0.8.2
Using thor 0.19.1
Using railties 5.0.0.1
Using combustion 0.5.4
Using diff-lcs 1.2.5
Using multipart-post 2.0.0
Using faraday 0.9.2
Using multi_json 1.12.1
Using jwt 1.5.4
Using multi_xml 0.5.5
Using oauth2 1.2.0
Using hashie 3.4.4
Using omniauth 1.3.1
Using omniauth-oauth2 1.3.0
Using omniauth-gds 3.2.0
Using rack-accept 0.4.5
Using sprockets 3.7.0
Using sprockets-rails 3.1.1
Using rails 5.0.0.1
Using warden 1.2.6
Using warden-oauth2 0.0.1
Using gds-sso 12.1.0 from source at ../
Using gem_publisher 1.0.0
Using rspec-support 3.5.0
Using rspec-core 3.5.2
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using rspec-rails 3.5.2
Using sqlite3 1.3.9
Using timecop 0.3.5
Bundle complete! 11 Gemfile dependencies, 76 gems now installed.
Bundled gems are installed into /home/jenkins/bundles/govuk_gds_sso_branches.
+ RBENV_VERSION=2.2
+ BUNDLE_PATH=/home/jenkins/bundles/govuk_gds_sso_branches
+ BUNDLE_GEMFILE=gemfiles/rails_5.0.gemfile
+ bundle exec rake
Stopping running instance of Signonotron (pid 20355)
Launching: signonotron2
Removing .bundle/
Removing log/test.log
Removing tmp/
Host key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
+--[ RSA 2048]----+
| . |
| + . |
| . B . |
| o * + |
| X * S |
| + O o . . |
| . E . o |
| . . o |
| . . |
+-----------------+
HEAD is now at d56e25d Merge pull request #509 from guidance-guarantee-programme/remove-sprockets-deprecations
Running bundler
Using rake 10.4.1
Using PriorityQueue 0.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using tzinfo 1.2.2
Using activesupport 4.2.7.1
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using nokogiri 1.6.6.4
Using rails-deprecated_sanitizer 1.0.3
Using rails-dom-testing 1.0.7
Using loofah 2.0.3
Using rails-html-sanitizer 1.0.3
Using actionview 4.2.7.1
Using rack 1.6.4
Using rack-test 0.6.3
Using actionpack 4.2.7.1
Using globalid 0.3.7
Using activejob 4.2.7.1
Using mime-types 2.99.2
Using mail 2.6.4
Using actionmailer 4.2.7.1
Using activejob-retry 0.5.0
Using activemodel 4.2.7.1
Using arel 6.0.3
Using activerecord 4.2.7.1
Using addressable 2.3.8
Using multi_json 1.11.2
Using airbrake 3.1.15
Using alphabetical_paginate 2.2.3
Using ancestry 2.0.0
Using ast 2.1.0
Using parser 2.2.3.0
Using astrolabe 1.3.1
Using execjs 2.6.0
Using autoprefixer-rails 6.3.5
Using bcrypt 3.1.10
Using coderay 1.1.0
Using better_errors 2.1.1
Using debug_inspector 0.0.2
Using binding_of_caller 0.7.2
Using kaminari 0.16.3
Using bundler 1.10.6
Using thor 0.19.1
Using railties 4.2.7.1
Using concurrent-ruby 1.0.2
Using sprockets 3.7.0
Using sprockets-rails 3.1.1
Using rails 4.2.7.1
Using bootstrap-kaminari-views 0.0.5
Using sass 3.4.18
Using bootstrap-sass 3.3.5.1
Using columnize 0.9.0
Using byebug 5.0.0
Using xpath 2.0.0
Using capybara 2.5.0
Using capybara-email 2.4.0
Using chronic 0.10.2
Using chunky_png 1.3.4
Using ci_reporter 1.7.0
Using cliver 0.3.2
Using connection_pool 2.2.0
Using safe_yaml 1.0.4
Using crack 0.4.2
Using database_cleaner 1.5.0
Using deprecated_columns 0.1.0
Using orm_adapter 0.5.0
Using responders 2.1.0
Using warden 1.2.3
Using devise 3.5.1
Using devise-encryptable 0.2.0
Using devise_invitable 1.5.2
Using zxcvbn-ruby 0.1.0
Using devise_zxcvbn 1.1.1
Using diff-lcs 1.2.5
Using unf_ext 0.0.7.1
Using unf 0.1.4
Using domain_name 0.5.24
Using doorkeeper 2.2.1
Using factory_girl 4.5.0
Using factory_girl_rails 4.5.0
Using link_header 0.0.8
Using lrucache 0.1.4
Using null_logger 0.0.1
Using plek 1.7.0
Using rack-cache 1.2
Using http-cookie 1.0.2
Using netrc 0.10.3
Using rest-client 1.8.0
Using gds-api-adapters 20.1.1
Using powerpack 0.1.1
Using rainbow 2.0.0
Using ruby-progressbar 1.7.5
Using rubocop 0.34.2
Using govuk-lint 0.4.1
Using jquery-rails 3.1.4
Using govuk_admin_template 4.2.0
Using redis 3.2.1
Using redis-namespace 1.5.2
Using sidekiq 4.1.2
Using sidekiq-logging-json 0.0.16
Using statsd-ruby 1.1.0
Using sidekiq-statsd 0.1.5
Using govuk_sidekiq 0.0.3
Using hashdiff 0.2.3
Using jasmine-core 2.1.3
Using phantomjs 1.9.8.0
Using jasmine 2.1.0
Using kgio 2.10.0
Using logstash-event 1.1.5
Using logstasher 0.4.8
Using systemu 2.6.5
Using macaddr 1.7.1
Using metaclass 0.0.4
Using method_source 0.8.2
Using mocha 1.1.0
Using mysql2 0.3.20
Using pg 0.18.4
Using websocket-extensions 0.1.2
Using websocket-driver 0.6.2
Using poltergeist 1.6.0
Using slop 3.6.0
Using pry 0.10.2
Using pry-byebug 3.2.0
Using pundit 0.3.0
Using quiet_assets 1.0.2
Using raindrops 0.15.0
Using rotp 2.1.1
Using rqrcode 0.7.0
Using rspec-support 3.3.0
Using rspec-core 3.3.2
Using rspec-expectations 3.3.1
Using rspec-mocks 3.3.2
Using rspec-rails 3.3.3
Using tilt 2.0.5
Using sass-rails 5.0.6
Using shoulda-context 1.2.1
Using timecop 0.7.1
Using uglifier 2.7.1
Using unicorn 4.9.0
Using uuid 2.3.8
Using webmock 1.22.3
Using whenever 0.9.4
Using zeroclipboard-rails 0.1.1
Bundle complete! 54 Gemfile dependencies, 147 gems now installed.
Bundled gems are installed into ._bundle.
-- create_table("batch_invitation_application_permissions", {:force=>:cascade})
-> 0.0166s
-- add_index("batch_invitation_application_permissions", ["batch_invitation_id", "supported_permission_id"], {:name=>"index_batch_invite_app_perms_on_batch_invite_and_supported_perm", :unique=>true, :using=>:btree})
-> 0.0107s
-- create_table("batch_invitation_users", {:force=>:cascade})
-> 0.0121s
-- add_index("batch_invitation_users", ["batch_invitation_id"], {:name=>"index_batch_invitation_users_on_batch_invitation_id", :using=>:btree})
-> 0.0125s
-- create_table("batch_invitations", {:force=>:cascade})
-> 0.0076s
-- add_index("batch_invitations", ["outcome"], {:name=>"index_batch_invitations_on_outcome", :using=>:btree})
-> 0.0097s
-- create_table("event_logs", {:force=>:cascade})
-> 0.0094s
-- add_index("event_logs", ["uid", "created_at"], {:name=>"index_event_logs_on_uid_and_created_at", :using=>:btree})
-> 0.0119s
-- create_table("oauth_access_grants", {:force=>:cascade})
-> 0.0112s
-- add_index("oauth_access_grants", ["token"], {:name=>"index_oauth_access_grants_on_token", :unique=>true, :using=>:btree})
-> 0.0120s
-- create_table("oauth_access_tokens", {:force=>:cascade})
-> 0.0115s
-- add_index("oauth_access_tokens", ["refresh_token"], {:name=>"index_oauth_access_tokens_on_refresh_token", :unique=>true, :using=>:btree})
-> 0.0274s
-- add_index("oauth_access_tokens", ["resource_owner_id"], {:name=>"index_oauth_access_tokens_on_resource_owner_id", :using=>:btree})
-> 0.0105s
-- add_index("oauth_access_tokens", ["token"], {:name=>"index_oauth_access_tokens_on_token", :unique=>true, :using=>:btree})
-> 0.0104s
-- create_table("oauth_applications", {:force=>:cascade})
-> 0.0270s
-- add_index("oauth_applications", ["name"], {:name=>"unique_application_name", :unique=>true, :using=>:btree})
-> 0.0145s
-- add_index("oauth_applications", ["uid"], {:name=>"index_oauth_applications_on_uid", :unique=>true, :using=>:btree})
-> 0.0113s
-- create_table("old_passwords", {:force=>:cascade})
-> 0.0237s
-- add_index("old_passwords", ["password_archivable_type", "password_archivable_id"], {:name=>"index_password_archivable", :using=>:btree})
-> 0.0123s
-- create_table("organisations", {:force=>:cascade})
-> 0.0121s
-- add_index("organisations", ["ancestry"], {:name=>"index_organisations_on_ancestry", :using=>:btree})
-> 0.0138s
-- add_index("organisations", ["content_id"], {:name=>"index_organisations_on_content_id", :unique=>true, :using=>:btree})
-> 0.0100s
-- add_index("organisations", ["slug"], {:name=>"index_organisations_on_slug", :unique=>true, :using=>:btree})
-> 0.0124s
-- create_table("supported_permissions", {:force=>:cascade})
-> 0.0303s
-- add_index("supported_permissions", ["application_id", "name"], {:name=>"index_supported_permissions_on_application_id_and_name", :unique=>true, :using=>:btree})
-> 0.0127s
-- add_index("supported_permissions", ["application_id"], {:name=>"index_supported_permissions_on_application_id", :using=>:btree})
-> 0.0090s
-- create_table("user_application_permissions", {:force=>:cascade})
-> 0.0161s
-- add_index("user_application_permissions", ["user_id", "application_id", "supported_permission_id"], {:name=>"index_app_permissions_on_user_and_app_and_supported_permission", :unique=>true, :using=>:btree})
-> 0.0088s
-- create_table("users", {:force=>:cascade})
-> 0.0245s
-- add_index("users", ["email"], {:name=>"index_users_on_email", :unique=>true, :using=>:btree})
-> 0.0120s
-- add_index("users", ["invitation_token"], {:name=>"index_users_on_invitation_token", :using=>:btree})
-> 0.0094s
-- add_index("users", ["invited_by_id"], {:name=>"index_users_on_invited_by_id", :using=>:btree})
-> 0.0132s
-- add_index("users", ["organisation_id"], {:name=>"index_users_on_organisation_id", :using=>:btree})
-> 0.0123s
-- add_index("users", ["otp_secret_key"], {:name=>"index_users_on_otp_secret_key", :unique=>true, :using=>:btree})
-> 0.0206s
-- add_index("users", ["reset_password_token"], {:name=>"index_users_on_reset_password_token", :unique=>true, :using=>:btree})
-> 0.0119s
-- add_index("users", ["unlock_token"], {:name=>"index_users_on_unlock_token", :unique=>true, :using=>:btree})
-> 0.0165s
-- initialize_schema_migrations_table()
-> 0.0258s
Starting signonotron instance in the background
/usr/lib/rbenv/versions/2.2.4/bin/ruby -I/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-core-3.5.2/lib:/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-support-3.5.0/lib /home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.2.0/gems/rspec-core-3.5.2/exe/rspec --pattern spec/\*\*/\*_spec.rb
-- create_table("users", {:force=>true})
-> 0.0322s
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 20824
....................Waiting for signonotron to start at http://localhost:4567
..Signonotron is now running at http://localhost:4567
.I, [2016-08-30T10:55:24.352807 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:35.484815 #20580] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:35.633868 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:35.812471 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:35.866691 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:36.061946 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:36.116938 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:36.295017 #20580] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:36.351939 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:36.532949 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:36.598576 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:36.772759 #20580] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-30T10:55:36.914979 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:37.148818 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:37.218274 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:37.416761 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:37.475939 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:37.672722 #20580] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-31T07:00:37.719169 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-31T07:00:37.737355 #20580] INFO -- omniauth: (gds) Callback phase initiated.
.I, [2016-08-30T10:55:37.790731 #20580] INFO -- omniauth: (gds) Request phase initiated.
I, [2016-08-30T10:55:37.972708 #20580] INFO -- omniauth: (gds) Callback phase initiated.
I, [2016-08-31T07:00:38.032627 #20580] INFO -- omniauth: (gds) Request phase initiated.
.......
Finished in 16.34 seconds (files took 1.79 seconds to load)
34 examples, 0 failures
Randomized with seed 20824
+ for ruby_version in 2.2 2.3
+ for gemfile in rails_4.2 rails_5.0
+ RBENV_VERSION=2.3
+ bundle install --path /home/jenkins/bundles/govuk_gds_sso_branches --gemfile gemfiles/rails_4.2.gemfile
Resolving dependencies...
Using rake 0.9.2.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.9.0
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.1.0
Using pkg-config 1.1.7
Using rack 1.6.4
Using mime-types-data 3.2016.0521
Using arel 6.0.3
Using addressable 2.4.0
Using bundler 1.12.5
Using unf_ext 0.0.7.2
Using net-http-digest_auth 1.4
Using net-http-persistent 2.9.4
Using ntlm-http 0.1.1
Using webrobots 0.1.2
Using thor 0.19.1
Using concurrent-ruby 1.0.2
Using diff-lcs 1.2.5
Using multipart-post 2.0.0
Using multi_json 1.12.1
Using jwt 1.5.4
Using multi_xml 0.5.5
Using hashie 3.4.4
Using gem_publisher 1.0.0
Using rspec-support 3.5.0
Using sqlite3 1.3.9
Using timecop 0.3.5
Using tzinfo 1.2.2
Using nokogiri 1.6.8
Using rack-test 0.6.3
Using rack-accept 0.4.5
Using warden 1.2.6
Using mime-types 3.1
Using unf 0.1.4
Using sprockets 3.7.0
Using faraday 0.9.2
Using omniauth 1.3.1
Using rspec-core 3.5.2
Using rspec-expectations 3.5.0
Using rspec-mocks 3.5.0
Using activesupport 4.2.4
Using loofah 2.0.3
Using xpath 2.0.0
Using warden-oauth2 0.0.1
Using mail 2.6.4
Using domain_name 0.5.20160615
Using oauth2 1.2.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.7
Using activemodel 4.2.4
Using rails-html-sanitizer 1.0.3
Using capybara 2.8.0
Using http-cookie 1.0.2
Using omniauth-oauth2 1.3.0
Using rails-dom-testing 1.0.7
Using activejob 4.2.4
Using activerecord 4.2.4
Using mechanize 2.7.5
Using omniauth-gds 3.2.0
Using actionview 4.2.4
Using capybara-mechanize 1.5.0
Using actionpack 4.2.4
Using actionmailer 4.2.4
Using railties 4.2.4
Using sprockets-rails 3.1.1
Using combustion 0.5.4
Using rspec-rails 3.5.2
Using rails 4.2.4
Using gds-sso 12.1.0 from source at `../`
Bundle complete! 11 Gemfile dependencies, 73 gems now installed.
Bundled gems are installed into /home/jenkins/bundles/govuk_gds_sso_branches.
+ RBENV_VERSION=2.3
+ BUNDLE_PATH=/home/jenkins/bundles/govuk_gds_sso_branches
+ BUNDLE_GEMFILE=gemfiles/rails_4.2.gemfile
+ bundle exec rake
Stopping running instance of Signonotron (pid 20577)
Launching: signonotron2
Removing .bundle/
Removing log/test.log
Removing tmp/
Host key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
+--[ RSA 2048]----+
| . |
| + . |
| . B . |
| o * + |
| X * S |
| + O o . . |
| . E . o |
| . . o |
| . . |
+-----------------+
HEAD is now at d56e25d Merge pull request #509 from guidance-guarantee-programme/remove-sprockets-deprecations
Running bundler
Using rake 10.4.1
Using PriorityQueue 0.1.2
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.2
Using rack 1.6.4
Using mime-types 2.99.2
Using arel 6.0.3
Using addressable 2.3.8
Using multi_json 1.11.2
Using alphabetical_paginate 2.2.3
Using ast 2.1.0
Using execjs 2.6.0
Using bcrypt 3.1.10
Using coderay 1.1.0
Using debug_inspector 0.0.2
Using bundler 1.12.5
Using thor 0.19.1
Using concurrent-ruby 1.0.2
Using sass 3.4.18
Using columnize 0.9.0
Using chronic 0.10.2
Using chunky_png 1.3.4
Using cliver 0.3.2
Using connection_pool 2.2.0
Using safe_yaml 1.0.4
Using database_cleaner 1.5.0
Using orm_adapter 0.5.0
Using zxcvbn-ruby 0.1.0
Using diff-lcs 1.2.5
Using unf_ext 0.0.7.1
Using link_header 0.0.8
Using null_logger 0.0.1
Using plek 1.7.0
Using netrc 0.10.3
Using powerpack 0.1.1
Using rainbow 2.0.0
Using ruby-progressbar 1.7.5
Using redis 3.2.1
Using statsd-ruby 1.1.0
Using hashdiff 0.2.3
Using jasmine-core 2.1.3
Using phantomjs 1.9.8.0
Using kgio 2.10.0
Using logstash-event 1.1.5
Using systemu 2.6.5
Using metaclass 0.0.4
Using method_source 0.8.2
Using mysql2 0.3.20
Using pg 0.18.4
Using websocket-extensions 0.1.2
Using slop 3.6.0
Using raindrops 0.15.0
Using rotp 2.1.1
Using rspec-support 3.3.0
Using tilt 2.0.5
Using shoulda-context 1.2.1
Using timecop 0.7.1
Using lrucache 0.1.4
Using tzinfo 1.2.2
Using ci_reporter 1.7.0
Using nokogiri 1.6.6.4
Using rack-test 0.6.3
Using warden 1.2.3
Using rack-cache 1.2
Using mail 2.6.4
Using airbrake 3.1.15
Using parser 2.2.3.0
Using autoprefixer-rails 6.3.5
Using uglifier 2.7.1
Using better_errors 2.1.1
Using binding_of_caller 0.7.2
Using sprockets 3.7.0
Using byebug 5.0.0
Using whenever 0.9.4
Using rqrcode 0.7.0
Using crack 0.4.2
Using unf 0.1.4
Using redis-namespace 1.5.2
Using sidekiq 4.1.2
Using jasmine 2.1.0
Using logstasher 0.4.8
Using macaddr 1.7.1
Using mocha 1.1.0
Using websocket-driver 0.6.2
Using pry 0.10.2
Using unicorn 4.9.0
Using rspec-core 3.3.2
Using rspec-expectations 3.3.1
Using rspec-mocks 3.3.2
Using activesupport 4.2.7.1
Using loofah 2.0.3
Using xpath 2.0.0
Using astrolabe 1.3.1
Using bootstrap-sass 3.3.5.1
Using webmock 1.22.3
Using domain_name 0.5.24
Using sidekiq-logging-json 0.0.16
Using uuid 2.3.8
Using pry-byebug 3.2.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.7
Using activemodel 4.2.7.1
Using factory_girl 4.5.0
Using sidekiq-statsd 0.1.5
Using pundit 0.3.0
Using rails-html-sanitizer 1.0.3
Using capybara 2.5.0
Using rubocop 0.34.2
Using http-cookie 1.0.2
Using rails-dom-testing 1.0.7
Using activejob 4.2.7.1
Using activerecord 4.2.7.1
Using capybara-email 2.4.0
Using poltergeist 1.6.0
Using govuk-lint 0.4.1
Using rest-client 1.8.0
Using actionview 4.2.7.1
Using activejob-retry 0.5.0
Using ancestry 2.0.0
Using gds-api-adapters 20.1.1
Using actionpack 4.2.7.1
Using govuk_sidekiq 0.0.3
Using actionmailer 4.2.7.1
Using kaminari 0.16.3
Using railties 4.2.7.1
Using sprockets-rails 3.1.1
Using responders 2.1.0
Using doorkeeper 2.2.1
Using factory_girl_rails 4.5.0
Using jquery-rails 3.1.4
Using quiet_assets 1.0.2
Using rspec-rails 3.3.3
Using zeroclipboard-rails 0.1.1
Using rails 4.2.7.1
Using sass-rails 5.0.6
Using devise 3.5.1
Using bootstrap-kaminari-views 0.0.5
Using deprecated_columns 0.1.0
Using govuk_admin_template 4.2.0
Using devise-encryptable 0.2.0
Using devise_invitable 1.5.2
Using devise_zxcvbn 1.1.1
Bundle complete! 54 Gemfile dependencies, 147 gems now installed.
Bundled gems are installed into ._bundle.
Gem::LoadError: You have already activated bundler 1.10.6, but your Gemfile requires bundler 1.12.5. Prepending `bundle exec` to your command may solve this.
/usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:35:in `block in setup'
/usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `map'
/usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/runtime.rb:20:in `setup'
/usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup'
/usr/lib/rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `<top (required)>'
/usr/lib/rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/lib/rbenv/versions/2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
bundler: failed to load command: rake (/home/jenkins/workspace/govuk_gds_sso_branches/tmp/signonotron2_bundle/ruby/2.2.0/bin/rake)
Starting signonotron instance in the background
/usr/lib/rbenv/versions/2.3.1/bin/ruby -I/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-core-3.5.2/lib:/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-core-3.5.2/exe/rspec --pattern spec/\*\*/\*_spec.rb
-- create_table("users", {:force=>true})
-> 0.0205s
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 23419
......................Waiting for signonotron to start at http://localhost:4567
......................FFFFFFFFFFFF
Failures:
1) Integration of client using GDS-SSO with signonotron Web client accesses a non-restricted page can be accessed without authentication
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
2) Integration of client using GDS-SSO with signonotron Web client accesses first access to a restricted page requires authentication and application approval
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
3) Integration of client using GDS-SSO with signonotron Web client accesses access to a restricted page for an approved application requires only authentication
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
4) Integration of client using GDS-SSO with signonotron Web client accesses access to a page that requires signin permission granted
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
5) Integration of client using GDS-SSO with signonotron Web client accesses remotely signed out should prevent all access to the application until successful signin
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
6) Integration of client using GDS-SSO with signonotron Web client accesses session expiry should force you to re-authenticate with signonotron N hours after login
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
7) Integration of client using GDS-SSO with signonotron Web client accesses session expiry should accept signonotron's remembered authentication N hours after login
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
8) Integration of client using GDS-SSO with signonotron Web client accesses session expiry should not require re-authentication with signonotron fewer than N hours after login
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
9) Integration of client using GDS-SSO with signonotron OAuth based API client accesses access to a restricted page for an api client requires auth
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
10) Integration of client using GDS-SSO with signonotron OAuth based API client accesses setting a correct bearer token allows sign in
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
11) Integration of client using GDS-SSO with signonotron OAuth based API client accesses setting a correct bearer token picks up permissions
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
12) Integration of client using GDS-SSO with signonotron OAuth based API client accesses a token for one app cannot be used to access a different app
Failure/Error: raise "Signonotron is not running at #{url}. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically"
RuntimeError:
Signonotron is not running at http://localhost:4567. Please start with 'bundle exec rake signonotron:start'. Under jenkins this should have been run automatically
# ./spec/support/signonotron2_integration_helpers.rb:11:in `wait_for_signonotron_to_start'
# ./spec/requests/end_to_end_spec.rb:8:in `block (2 levels) in <top (required)>'
Finished in 21.57 seconds (files took 1.75 seconds to load)
34 examples, 12 failures
Failed examples:
rspec ./spec/requests/end_to_end_spec.rb:26 # Integration of client using GDS-SSO with signonotron Web client accesses a non-restricted page can be accessed without authentication
rspec ./spec/requests/end_to_end_spec.rb:31 # Integration of client using GDS-SSO with signonotron Web client accesses first access to a restricted page requires authentication and application approval
rspec ./spec/requests/end_to_end_spec.rb:41 # Integration of client using GDS-SSO with signonotron Web client accesses access to a restricted page for an approved application requires only authentication
rspec ./spec/requests/end_to_end_spec.rb:62 # Integration of client using GDS-SSO with signonotron Web client accesses access to a page that requires signin permission granted
rspec ./spec/requests/end_to_end_spec.rb:84 # Integration of client using GDS-SSO with signonotron Web client accesses remotely signed out should prevent all access to the application until successful signin
rspec ./spec/requests/end_to_end_spec.rb:117 # Integration of client using GDS-SSO with signonotron Web client accesses session expiry should force you to re-authenticate with signonotron N hours after login
rspec ./spec/requests/end_to_end_spec.rb:135 # Integration of client using GDS-SSO with signonotron Web client accesses session expiry should accept signonotron's remembered authentication N hours after login
rspec ./spec/requests/end_to_end_spec.rb:152 # Integration of client using GDS-SSO with signonotron Web client accesses session expiry should not require re-authentication with signonotron fewer than N hours after login
rspec ./spec/requests/end_to_end_spec.rb:179 # Integration of client using GDS-SSO with signonotron OAuth based API client accesses access to a restricted page for an api client requires auth
rspec ./spec/requests/end_to_end_spec.rb:185 # Integration of client using GDS-SSO with signonotron OAuth based API client accesses setting a correct bearer token allows sign in
rspec ./spec/requests/end_to_end_spec.rb:190 # Integration of client using GDS-SSO with signonotron OAuth based API client accesses setting a correct bearer token picks up permissions
rspec ./spec/requests/end_to_end_spec.rb:195 # Integration of client using GDS-SSO with signonotron OAuth based API client accesses a token for one app cannot be used to access a different app
Randomized with seed 23419
/usr/lib/rbenv/versions/2.3.1/bin/ruby -I/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-core-3.5.2/lib:/home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-support-3.5.0/lib /home/jenkins/bundles/govuk_gds_sso_branches/ruby/2.3.0/gems/rspec-core-3.5.2/exe/rspec --pattern spec/\*\*/\*_spec.rb failed
+ kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
+ true
INFO: Starting new HTTPS connection (1): api.github.com
Build step 'Execute shell' marked build as failure
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment