0s autopkgtest [14:51:00]: starting date and time: 2025-06-19 14:51:00+0000 0s autopkgtest [14:51:00]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [14:51:00]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.g132x9w1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-rack --apt-upgrade ruby-warden --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-rack/3.1.12-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-3.secgroup --name adt-questing-amd64-ruby-warden-20250619-145100-juju-7f2275-prod-proposed-migration-environment-2-f91ce92b-7d14-40e9-a936-45a7578f8629 --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 57s autopkgtest [14:51:57]: testbed dpkg architecture: amd64 57s autopkgtest [14:51:57]: testbed apt version: 3.1.2 58s autopkgtest [14:51:58]: @@@@@@@@@@@@@@@@@@@@ test bed setup 58s autopkgtest [14:51:58]: testbed release detected to be: None 58s autopkgtest [14:51:58]: updating testbed package index (apt update) 59s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 59s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 59s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 59s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 59s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 59s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [4716 B] 59s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [17.4 kB] 59s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [426 kB] 59s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [82.3 kB] 59s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [44.5 kB] 59s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted i386 Packages [2420 B] 59s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/restricted amd64 Packages [13.5 kB] 59s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [135 kB] 59s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [376 kB] 59s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [24.9 kB] 59s Get:16 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [5196 B] 59s Fetched 1420 kB in 1s (1673 kB/s) 60s Reading package lists... 61s autopkgtest [14:52:01]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Calculating upgrade... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 62s Solving dependencies... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s autopkgtest [14:52:05]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 65s autopkgtest [14:52:05]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 66s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 66s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 66s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 67s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 67s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 67s gpgv: issuer "kanashiro@ubuntu.com" 67s gpgv: Can't check signature: No public key 67s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 67s autopkgtest [14:52:07]: testing package ruby-warden version 1.2.8-1ubuntu1 67s autopkgtest [14:52:07]: build not needed 67s autopkgtest [14:52:07]: test gem2deb-test-runner: preparing testbed 68s Reading package lists... 68s Building dependency tree... 68s Reading state information... 68s Solving dependencies... 68s The following NEW packages will be installed: 68s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-csv ruby-did-you-mean 68s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 68s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 68s ruby-rspec-support ruby-ruby2-keywords ruby-rubygems ruby-test-unit 68s ruby-warden ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 68s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 68s Need to get 7082 kB of archives. 68s After this operation, 35.9 MB of additional disk space will be used. 68s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 rubygems-integration all 1.19 [5550 B] 68s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-csv all 3.3.4-1 [43.0 kB] 69s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 69s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 69s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-ruby2-keywords all 0.0.5-1 [4280 B] 69s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-webrick all 1.9.1-1 [60.8 kB] 69s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 69s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 libruby3.3 amd64 3.3.8-2ubuntu1 [5848 kB] 70s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 ruby3.3 amd64 3.3.8-2ubuntu1 [49.2 kB] 70s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 libruby amd64 1:3.3 [5164 B] 70s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-rubygems all 3.6.3-1 [332 kB] 70s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 ruby amd64 1:3.3 [3666 B] 70s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 rake all 13.2.1-1 [45.8 kB] 70s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 70s Get:15 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-power-assert all 2.0.3-1 [12.0 kB] 70s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 70s Get:17 http://ftpmaster.internal/ubuntu questing/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 70s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 70s Get:19 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 ruby-rack all 3.1.12-1 [79.3 kB] 70s Get:20 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 70s Get:21 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 70s Get:22 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 70s Get:23 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 70s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 70s Get:25 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 70s Fetched 7082 kB in 2s (3895 kB/s) 70s Selecting previously unselected package rubygems-integration. 71s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 81475 files and directories currently installed.) 71s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 71s Unpacking rubygems-integration (1.19) ... 71s Selecting previously unselected package ruby-csv. 71s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 71s Unpacking ruby-csv (3.3.4-1) ... 71s Selecting previously unselected package ruby-did-you-mean. 71s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2_all.deb ... 71s Unpacking ruby-did-you-mean (1.6.3-2) ... 71s Selecting previously unselected package ruby-net-telnet. 71s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 71s Unpacking ruby-net-telnet (0.2.0-1) ... 71s Selecting previously unselected package ruby-ruby2-keywords. 71s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1_all.deb ... 71s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 71s Selecting previously unselected package ruby-webrick. 71s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 71s Unpacking ruby-webrick (1.9.1-1) ... 71s Selecting previously unselected package ruby-xmlrpc. 71s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2_all.deb ... 71s Unpacking ruby-xmlrpc (0.3.3-2) ... 71s Selecting previously unselected package libruby3.3:amd64. 71s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu1_amd64.deb ... 71s Unpacking libruby3.3:amd64 (3.3.8-2ubuntu1) ... 71s Selecting previously unselected package ruby3.3. 71s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu1_amd64.deb ... 71s Unpacking ruby3.3 (3.3.8-2ubuntu1) ... 71s Selecting previously unselected package libruby:amd64. 71s Preparing to unpack .../09-libruby_1%3a3.3_amd64.deb ... 71s Unpacking libruby:amd64 (1:3.3) ... 71s Selecting previously unselected package ruby-rubygems. 71s Preparing to unpack .../10-ruby-rubygems_3.6.3-1_all.deb ... 71s Unpacking ruby-rubygems (3.6.3-1) ... 71s Selecting previously unselected package ruby. 71s Preparing to unpack .../11-ruby_1%3a3.3_amd64.deb ... 71s Unpacking ruby (1:3.3) ... 71s Selecting previously unselected package rake. 71s Preparing to unpack .../12-rake_13.2.1-1_all.deb ... 71s Unpacking rake (13.2.1-1) ... 71s Selecting previously unselected package ruby-minitest. 71s Preparing to unpack .../13-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 71s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 71s Selecting previously unselected package ruby-power-assert. 71s Preparing to unpack .../14-ruby-power-assert_2.0.3-1_all.deb ... 71s Unpacking ruby-power-assert (2.0.3-1) ... 71s Selecting previously unselected package ruby-test-unit. 71s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 71s Unpacking ruby-test-unit (3.6.2-1) ... 71s Selecting previously unselected package gem2deb-test-runner. 71s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_amd64.deb ... 71s Unpacking gem2deb-test-runner (2.2.5) ... 71s Selecting previously unselected package ruby-diff-lcs. 71s Preparing to unpack .../17-ruby-diff-lcs_1.5.1-1_all.deb ... 71s Unpacking ruby-diff-lcs (1.5.1-1) ... 71s Selecting previously unselected package ruby-rack. 71s Preparing to unpack .../18-ruby-rack_3.1.12-1_all.deb ... 71s Unpacking ruby-rack (3.1.12-1) ... 71s Selecting previously unselected package ruby-rspec-support. 71s Preparing to unpack .../19-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 71s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 71s Selecting previously unselected package ruby-rspec-core. 71s Preparing to unpack .../20-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 71s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 71s Selecting previously unselected package ruby-rspec-expectations. 71s Preparing to unpack .../21-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 71s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 71s Selecting previously unselected package ruby-rspec-mocks. 71s Preparing to unpack .../22-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 71s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 71s Selecting previously unselected package ruby-rspec. 72s Preparing to unpack .../23-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 72s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 72s Selecting previously unselected package ruby-warden. 72s Preparing to unpack .../24-ruby-warden_1.2.8-1ubuntu1_all.deb ... 72s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 72s Setting up ruby-ruby2-keywords (0.0.5-1) ... 72s Setting up ruby-power-assert (2.0.3-1) ... 72s Setting up rubygems-integration (1.19) ... 72s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 72s Setting up ruby-test-unit (3.6.2-1) ... 72s Setting up ruby-net-telnet (0.2.0-1) ... 72s Setting up ruby-csv (3.3.4-1) ... 72s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 72s Setting up ruby-webrick (1.9.1-1) ... 72s Setting up ruby-did-you-mean (1.6.3-2) ... 72s Setting up ruby-xmlrpc (0.3.3-2) ... 72s Setting up ruby-rubygems (3.6.3-1) ... 72s Setting up rake (13.2.1-1) ... 72s Setting up ruby3.3 (3.3.8-2ubuntu1) ... 72s Setting up libruby3.3:amd64 (3.3.8-2ubuntu1) ... 72s Setting up libruby:amd64 (1:3.3) ... 72s Setting up ruby (1:3.3) ... 72s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 72s Setting up ruby-diff-lcs (1.5.1-1) ... 72s Setting up ruby-rack (3.1.12-1) ... 72s Setting up gem2deb-test-runner (2.2.5) ... 72s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 72s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 72s Setting up ruby-warden (1.2.8-1ubuntu1) ... 72s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 72s Processing triggers for libc-bin (2.41-6ubuntu2) ... 72s Processing triggers for man-db (2.13.1-1) ... 73s autopkgtest [14:52:13]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 73s autopkgtest [14:52:13]: test gem2deb-test-runner: [----------------------- 73s 73s ┌──────────────────────────────────────────────────────────────────────────────┐ 73s │ Checking Rubygems dependency resolution on ruby3.3 │ 73s └──────────────────────────────────────────────────────────────────────────────┘ 73s 73s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 73s mv lib ./.gem2deb.lib 73s mv Gemfile.lock ./.gem2deb.Gemfile.lock 73s mv ./.gem2deb.lib lib 73s mv ./.gem2deb.Gemfile.lock Gemfile.lock 73s 73s ┌──────────────────────────────────────────────────────────────────────────────┐ 73s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 73s └──────────────────────────────────────────────────────────────────────────────┘ 73s 73s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 73s mv lib ./.gem2deb.lib 73s mv Gemfile.lock ./.gem2deb.Gemfile.lock 74s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb 74s 74s authenticated data store 74s should store data for the default scope 74s should store data for the foo user 74s should store the data separately 74s should clear the foo scoped data when foo logs out 74s should clear out the default data when :default logs out 74s should clear out all data when a general logout is performed 74s should logout multiple persons at once 74s should not store data for a user who is not logged in 74s 74s Warden::Config 74s should behave like a hash 74s should provide hash accessors 74s should allow to read and set default strategies 74s should allow to silence missing strategies 74s should set the default_scope 74s should merge given options on initialization 74s should setup defaults with the scope_defaults method 74s 74s Warden::Proxy::Errors 74s should report that it is empty on first creation 74s should continue to report that it is empty even after being checked 74s should add an error 74s should allow many errors to be added to the same field 74s should give the full messages for an error 74s should return the error for a specific field / label 74s should return nil for a specific field if it's not been set 74s 74s standard authentication hooks 74s after_set_user 74s should allow me to add an after_set_user hook 74s should allow me to add multiple after_set_user hooks 74s should run each after_set_user hook after the user is set 74s should not run the event specified with except 74s should only run the event specified with only 74s should run filters in the given order 74s after_authentication 74s should be a wrapper to after_set_user behavior 74s should not be invoked on default after_set_user scenario 74s should run filters in the given order 74s should allow me to log out a user in an after_set_user block 74s after_fetch 74s should be a wrapper to after_set_user behavior 74s should not be invoked on default after_set_user scenario 74s should not be invoked if fetched user is nil 74s should run filters in the given order 74s after_failed_fetch 74s should not be called when user is fetched 74s should be called if fetched user is nil 74s before_failure 74s should allow me to add a before_failure hook 74s should allow me to add multiple before_failure hooks 74s should run each before_failure hooks before failing 74s should run filters in the given order 74s before_logout 74s should allow me to add an before_logout hook 74s should allow me to add multiple after_authentication hooks 74s should run each before_logout hook before logout is run 74s should run before_logout hook for a specified scope 74s should run filters in the given order 74s on_request 74s should allow me to add an on_request hook 74s should allow me to add multiple on_request hooks 74s should run each on_request hooks when initializing 74s should run filters in the given order 74s should have the proxy on env in on_request 74s should be able to throw in on_request 74s 74s Warden::Manager 74s should insert a Proxy object into the rack env 74s should allow me to set a different default scope for warden 74s should allow me to access strategies through manager 74s thrown auth 74s Failure 74s should respond with a 401 response if the strategy fails authentication 74s should use the failure message given to the failure method 74s should set the message from the winning strategy in warden.options hash 74s should render the failure app when there's a failure 74s should call failure app if warden is thrown even after successful authentication 74s should set the attempted url in warden.options hash 74s should set action in warden.options if overridden 74s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 74s should use the default scopes action when a bare throw is used 74s integrated strategies 74s redirecting 74s should redirect with a message 74s should redirect with a default message 74s should redirect with a permanent redirect 74s should redirect with a content type 74s should redirect with a default content type 74s failing 74s should fail according to the failure app 74s should allow you to customize the response 74s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 74s should render the failure application for a 401 if no custom_failure flag is set 74s custom rack response 74s should return a custom rack response 74s app returns Rack::Response 74s should return it (FAILED - 1) 74s success 74s should pass through to the application when there is success 74s 74s Warden::Proxy 74s authentication 74s should not check the authentication if it is not checked 74s should check the authentication if it is explicitly checked 74s should not allow the request if incorrect conditions are supplied 74s should allow the request if the correct conditions are supplied 74s should allow authentication in my application 74s should allow me to select which strategies I use in my application 74s should raise error on missing strategies 74s should raise error if the strategy failed 74s should not raise error on missing strategies if silencing 74s should allow me to get access to the user at warden.user. 74s should run strategies when authenticate? is asked 74s should properly send the scope to the strategy 74s should try multiple authentication strategies 74s should look for an active user in the session with authenticate 74s should look for an active user in the session with authenticate? 74s should look for an active user in the session with authenticate! 74s should throw an error when authenticate! 74s should login 2 different users from the session 74s should not authenticate other scopes just because the first is authenticated 74s should renew session when user is set (FAILED - 2) 74s should not renew session when user is fetch (FAILED - 3) 74s authentication cache 74s should run strategies just once for a given scope 74s should run strategies for a given scope several times if cache is cleaned 74s should clear the cache for a specified strategy 74s should run the strategies several times for different scopes 74s should not run strategies until cache is cleaned if latest winning strategy halted 74s should not store user if strategy isn't meant for permanent login 74s set user 74s should store the user into the session 74s should not store the user if the :store option is set to false 74s should not throw error when no session is configured and store is false 74s should not run the callbacks when :run_callbacks is false 74s should run the callbacks when :run_callbacks is true 74s should run the callbacks by default 74s should set renew on rack.session.options 74s should not modify attempt to modify a frozen rack.session.options 74s lock 74s should not run any strategy 74s should keep already authenticated users 74s get user 74s should return nil when not logged in 74s should not run strategies when not logged in 74s should cache unfound user 74s previously logged in 74s should take the user from the session when logged in 74s should cache found user 74s should not run strategies when the user exists in the session 74s run callback option 74s should not call run_callbacks when we pass a :run_callback => false 74s should call run_callbacks when we pass a :run_callback => true 74s should call run_callbacks by default 74s logout 74s should logout only the scoped foo user 74s should logout only the scoped default user 74s should clear the session when no argument is given to logout 74s should not raise exception if raw_session is nil 74s should clear the user when logging out 74s should clear the session data when logging out 74s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 74s messages 74s should allow access to the failure message 74s should allow access to the success message 74s should not die when accessing a message from a source where no authentication has occurred 74s when all strategies are not valid? 74s should return false for authenticated? when there are no valid? strategies 74s should return nil for authenticate when there are no valid strategies 74s should return false for authenticate? when there are no valid strategies 74s should respond with a 401 when authenticate! cannot find any valid strategies 74s authenticated? 74s positive authentication 74s should return true when authenticated in the session 74s should yield to a block when the block is passed and authenticated 74s should authenticate for a user in a different scope 74s negative authentication 74s should return false when authenticated in the session 74s should return false if scope cannot be retrieved from session 74s should not yield to a block when the block is passed and authenticated 74s should not yield for a user in a different scope 74s unauthenticated? 74s negative unauthentication 74s should return false when authenticated in the session 74s should not yield to a block when the block is passed and authenticated 74s should not yield to the block for a user in a different scope 74s positive unauthentication 74s should return false when unauthenticated in the session 74s should yield to a block when the block is passed and authenticated 74s should yield for a user in a different scope 74s attributes 74s should have a config attribute 74s 74s dynamic default_strategies 74s should allow me to change the default strategies on the fly 74s should allow me to append to the default strategies on the fly 74s should allow me to set the default strategies on a per scope basis 74s should allow me to setup default strategies for each scope on the manager 74s should not change the master configurations strategies when I change them 74s default scope options 74s should allow me to set a default action for a given scope 74s should allow me to set store, false on a given scope 74s #asset_request? 74s should return true if PATH_INFO is in asset list 74s should return false if PATH_INFO is not in asset list 74s 74s Warden::SessionSerializer 74s should store data for the default scope 74s should check if a data is stored or not 74s should load an user from store 74s should store data based on the scope 74s should delete data from store 74s should delete information from store if user cannot be retrieved 74s should support a nil session store 74s 74s Warden::Strategies::Base 74s should have a user object 74s should be performed after run 74s should set the scope 74s should allow you to set a message 74s should provide access to the errors 74s headers 74s should have headers 74s should allow us to clear the headers 74s halting 74s should allow you to halt a strategy 74s should not be halted if halt was not called 74s pass 74s should allow you to pass 74s redirect 74s should allow you to set a redirection 74s should mark the strategy as halted when redirecting 74s should escape redirected url parameters 74s should allow you to set a message 74s should set the action as :redirect 74s failure 74s should allow you to fail hard 74s should halt the strategies when failing hard 74s should allow you to set a message when failing hard 74s should set the action as :failure when failing hard 74s should allow you to fail soft 74s should not halt the strategies when failing soft 74s should allow you to set a message when failing soft 74s should set the action as :failure when failing soft 74s success 74s should allow you to succeed 74s should be authenticated after success 74s should allow you to set a message when succeeding 74s should store the user 74s should set the action as :success 74s custom response 74s should allow me to set a custom rack response 74s should halt the strategy 74s should provide access to the custom rack response 74s should set the action as :custom 74s 74s Warden::Strategies 74s should let me add a strategy via a block 74s should raise an error if I add a strategy via a block, that does not have an authenticate! method 74s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 74s should allow me to get access to a particular strategy 74s should allow me to add a strategy with the required methods 74s should not allow a strategy that does not have an authenticate! method 74s should allow me to change a class when providing a block and class 74s should allow me to update a previously given strategy 74s should allow me to clear the strategies 74s 74s Warden::Test::Helpers 74s should log me in as a user 74s should log me in as a user of a given scope 74s should login multiple users with different scopes 74s should log out all users 74s should logout a specific user 74s #asset_paths 74s should default asset_paths to anything asset path regex 74s 74s Warden::Test::Mock 74s should return a valid mocked warden 74s 74s Warden::Test::WardenHelpers 74s is expected to respond to #test_mode! 74s is expected to respond to #on_next_request 74s is expected to respond to #test_reset! 74s should execute the on_next_request block on the next request 74s should execute many on_next_request blocks on the next request 74s should not execute on_next_request blocks on subsequent requests 74s should allow me to set new_on_next_request items to execute in the same test 74s should remove the on_next_request items when test is reset 74s asset requests 74s should not execute on_next_request blocks if this is an asset request 74s 74s Pending: (Failures listed here are expected and do not affect your suite's status) 74s 74s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 74s # Temporarily skipped with xit 74s # ./spec/warden/manager_spec.rb:105 74s 74s Failures: 74s 74s 1) Warden::Manager integrated strategies app returns Rack::Response should return it 74s Failure/Error: expect(result.header['Content-Type']).to eq('text/plain') 74s 74s NoMethodError: 74s undefined method `header' for an instance of Rack::Response 74s # ./spec/warden/manager_spec.rb:315:in `block (4 levels) in ' 74s 74s 2) Warden::Proxy authentication should renew session when user is set 74s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 74s 74s NameError: 74s uninitialized constant Rack::Session 74s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 74s 74s 3) Warden::Proxy authentication should not renew session when user is fetch 74s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 74s 74s NameError: 74s uninitialized constant Rack::Session 74s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 74s 74s Finished in 0.13168 seconds (files took 0.11076 seconds to load) 74s 224 examples, 3 failures, 1 pending 74s 74s Failed examples: 74s 74s rspec ./spec/warden/manager_spec.rb:306 # Warden::Manager integrated strategies app returns Rack::Response should return it 74s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 74s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 74s 74s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb failed 74s mv ./.gem2deb.lib lib 74s mv ./.gem2deb.Gemfile.lock Gemfile.lock 74s autopkgtest [14:52:14]: test gem2deb-test-runner: -----------------------] 75s autopkgtest [14:52:15]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 75s gem2deb-test-runner FAIL non-zero exit status 1 75s autopkgtest [14:52:15]: @@@@@@@@@@@@@@@@@@@@ summary 75s gem2deb-test-runner FAIL non-zero exit status 1 96s nova [W] Skipping flock for amd64 96s Creating nova instance adt-questing-amd64-ruby-warden-20250619-145100-juju-7f2275-prod-proposed-migration-environment-2-f91ce92b-7d14-40e9-a936-45a7578f8629 from image adt/ubuntu-questing-amd64-server-20250619.img (UUID 0ac4ce88-14b4-462b-a8ff-5e89102fdccd)... 96s nova [W] Timed out waiting for 3e6604ae-12ea-42bf-9196-f3da8a7a3997 to get deleted.