0s autopkgtest [17:28:02]: starting date and time: 2025-06-04 17:28:02+0000 0s autopkgtest [17:28:02]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [17:28:02]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.kmeiig8d/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 autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-ppc64el-1.secgroup --name adt-questing-ppc64el-ruby-warden-20250604-172802-juju-7f2275-prod-proposed-migration-environment-23-693b7dc9-1170-4f61-a800-6e8765906ea7 --image adt/ubuntu-questing-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 77s autopkgtest [17:29:19]: testbed dpkg architecture: ppc64el 78s autopkgtest [17:29:20]: testbed apt version: 3.1.0ubuntu3 78s autopkgtest [17:29:20]: @@@@@@@@@@@@@@@@@@@@ test bed setup 78s autopkgtest [17:29:20]: testbed release detected to be: None 79s autopkgtest [17:29:21]: updating testbed package index (apt update) 79s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 80s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 80s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 80s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 80s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [13.0 kB] 80s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [307 kB] 80s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [56.2 kB] 80s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [3168 B] 80s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [74.6 kB] 80s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el Packages [716 B] 80s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [307 kB] 80s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4132 B] 80s Fetched 1015 kB in 1s (1180 kB/s) 81s Reading package lists... 81s autopkgtest [17:29:23]: upgrading testbed (apt dist-upgrade and autopurge) 81s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s Calculating upgrade... 82s The following packages will be upgraded: 82s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 82s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 5504 kB of archives. 82s After this operation, 227 kB disk space will be freed. 82s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12t64 ppc64el 3.12.10-1 [2558 kB] 83s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-stdlib ppc64el 3.12.10-1 [2105 kB] 83s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el libpython3.12-minimal ppc64el 3.12.10-1 [841 kB] 83s Fetched 5504 kB in 1s (7095 kB/s) 83s (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 ... 107598 files and directories currently installed.) 83s Preparing to unpack .../libpython3.12t64_3.12.10-1_ppc64el.deb ... 83s Unpacking libpython3.12t64:ppc64el (3.12.10-1) over (3.12.8-3) ... 83s Preparing to unpack .../libpython3.12-stdlib_3.12.10-1_ppc64el.deb ... 83s Unpacking libpython3.12-stdlib:ppc64el (3.12.10-1) over (3.12.8-3) ... 84s Preparing to unpack .../libpython3.12-minimal_3.12.10-1_ppc64el.deb ... 84s Unpacking libpython3.12-minimal:ppc64el (3.12.10-1) over (3.12.8-3) ... 84s Setting up libpython3.12-minimal:ppc64el (3.12.10-1) ... 84s Setting up libpython3.12-stdlib:ppc64el (3.12.10-1) ... 84s Setting up libpython3.12t64:ppc64el (3.12.10-1) ... 84s Processing triggers for libc-bin (2.41-6ubuntu2) ... 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Solving dependencies... 84s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 87s autopkgtest [17:29:29]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 87s autopkgtest [17:29:29]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 88s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 88s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 88s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 88s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 88s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 88s gpgv: issuer "kanashiro@ubuntu.com" 88s gpgv: Can't check signature: No public key 88s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 89s autopkgtest [17:29:31]: testing package ruby-warden version 1.2.8-1ubuntu1 89s autopkgtest [17:29:31]: build not needed 89s autopkgtest [17:29:31]: test gem2deb-test-runner: preparing testbed 89s Reading package lists... 90s Building dependency tree... 90s Reading state information... 90s Solving dependencies... 90s The following NEW packages will be installed: 90s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-did-you-mean 90s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 90s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 90s ruby-rspec-support ruby-rubygems ruby-test-unit ruby-warden ruby-webrick 90s ruby-xmlrpc ruby3.3 rubygems-integration 90s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 90s Need to get 7478 kB of archives. 90s After this operation, 41.8 MB of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el rubygems-integration all 1.19 [5550 B] 90s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-did-you-mean all 1.6.3-2 [14.8 kB] 90s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 90s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 90s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-power-assert all 2.0.3-1 [12.0 kB] 90s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-test-unit all 3.6.2-1 [67.0 kB] 90s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-webrick all 1.9.1-1 [60.8 kB] 90s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-xmlrpc all 0.3.3-2 [24.8 kB] 90s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libruby3.3 ppc64el 3.3.7-1ubuntu2 [6291 kB] 91s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby3.3 ppc64el 3.3.7-1ubuntu2 [49.0 kB] 91s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libruby ppc64el 1:3.3~ubuntu3 [5036 B] 91s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-rubygems all 3.6.3-1 [332 kB] 91s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby ppc64el 1:3.3~ubuntu3 [3622 B] 91s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el rake all 13.2.1-1 [45.8 kB] 91s Get:15 http://ftpmaster.internal/ubuntu questing/universe ppc64el gem2deb-test-runner ppc64el 2.2.5 [18.3 kB] 91s Get:16 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-diff-lcs all 1.5.1-1 [22.8 kB] 91s Get:17 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el ruby-rack all 3.1.12-1 [79.3 kB] 91s Get:18 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 91s Get:19 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 91s Get:20 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 91s Get:21 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 91s Get:22 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 91s Get:23 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 91s Fetched 7478 kB in 1s (6957 kB/s) 91s Selecting previously unselected package rubygems-integration. 91s (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 ... 107598 files and directories currently installed.) 91s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 91s Unpacking rubygems-integration (1.19) ... 91s Selecting previously unselected package ruby-did-you-mean. 91s Preparing to unpack .../01-ruby-did-you-mean_1.6.3-2_all.deb ... 91s Unpacking ruby-did-you-mean (1.6.3-2) ... 91s Selecting previously unselected package ruby-minitest. 91s Preparing to unpack .../02-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 91s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 91s Selecting previously unselected package ruby-net-telnet. 91s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 91s Unpacking ruby-net-telnet (0.2.0-1) ... 91s Selecting previously unselected package ruby-power-assert. 91s Preparing to unpack .../04-ruby-power-assert_2.0.3-1_all.deb ... 91s Unpacking ruby-power-assert (2.0.3-1) ... 91s Selecting previously unselected package ruby-test-unit. 91s Preparing to unpack .../05-ruby-test-unit_3.6.2-1_all.deb ... 91s Unpacking ruby-test-unit (3.6.2-1) ... 91s Selecting previously unselected package ruby-webrick. 91s Preparing to unpack .../06-ruby-webrick_1.9.1-1_all.deb ... 91s Unpacking ruby-webrick (1.9.1-1) ... 91s Selecting previously unselected package ruby-xmlrpc. 91s Preparing to unpack .../07-ruby-xmlrpc_0.3.3-2_all.deb ... 91s Unpacking ruby-xmlrpc (0.3.3-2) ... 91s Selecting previously unselected package libruby3.3:ppc64el. 91s Preparing to unpack .../08-libruby3.3_3.3.7-1ubuntu2_ppc64el.deb ... 91s Unpacking libruby3.3:ppc64el (3.3.7-1ubuntu2) ... 92s Selecting previously unselected package ruby3.3. 92s Preparing to unpack .../09-ruby3.3_3.3.7-1ubuntu2_ppc64el.deb ... 92s Unpacking ruby3.3 (3.3.7-1ubuntu2) ... 92s Selecting previously unselected package libruby:ppc64el. 92s Preparing to unpack .../10-libruby_1%3a3.3~ubuntu3_ppc64el.deb ... 92s Unpacking libruby:ppc64el (1:3.3~ubuntu3) ... 92s Selecting previously unselected package ruby-rubygems. 92s Preparing to unpack .../11-ruby-rubygems_3.6.3-1_all.deb ... 92s Unpacking ruby-rubygems (3.6.3-1) ... 92s Selecting previously unselected package ruby. 92s Preparing to unpack .../12-ruby_1%3a3.3~ubuntu3_ppc64el.deb ... 92s Unpacking ruby (1:3.3~ubuntu3) ... 92s Selecting previously unselected package rake. 92s Preparing to unpack .../13-rake_13.2.1-1_all.deb ... 92s Unpacking rake (13.2.1-1) ... 92s Selecting previously unselected package gem2deb-test-runner. 92s Preparing to unpack .../14-gem2deb-test-runner_2.2.5_ppc64el.deb ... 92s Unpacking gem2deb-test-runner (2.2.5) ... 92s Selecting previously unselected package ruby-diff-lcs. 92s Preparing to unpack .../15-ruby-diff-lcs_1.5.1-1_all.deb ... 92s Unpacking ruby-diff-lcs (1.5.1-1) ... 92s Selecting previously unselected package ruby-rack. 92s Preparing to unpack .../16-ruby-rack_3.1.12-1_all.deb ... 92s Unpacking ruby-rack (3.1.12-1) ... 92s Selecting previously unselected package ruby-rspec-support. 92s Preparing to unpack .../17-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 92s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 92s Selecting previously unselected package ruby-rspec-core. 92s Preparing to unpack .../18-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 92s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 92s Selecting previously unselected package ruby-rspec-expectations. 92s Preparing to unpack .../19-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 92s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 92s Selecting previously unselected package ruby-rspec-mocks. 92s Preparing to unpack .../20-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 92s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 92s Selecting previously unselected package ruby-rspec. 92s Preparing to unpack .../21-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 92s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 92s Selecting previously unselected package ruby-warden. 92s Preparing to unpack .../22-ruby-warden_1.2.8-1ubuntu1_all.deb ... 92s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 92s Setting up ruby-power-assert (2.0.3-1) ... 92s Setting up rubygems-integration (1.19) ... 92s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 92s Setting up ruby-test-unit (3.6.2-1) ... 92s Setting up ruby-net-telnet (0.2.0-1) ... 92s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 92s Setting up ruby-webrick (1.9.1-1) ... 92s Setting up ruby-did-you-mean (1.6.3-2) ... 92s Setting up ruby-xmlrpc (0.3.3-2) ... 92s Setting up ruby-rubygems (3.6.3-1) ... 92s Setting up rake (13.2.1-1) ... 92s Setting up ruby3.3 (3.3.7-1ubuntu2) ... 92s Setting up libruby3.3:ppc64el (3.3.7-1ubuntu2) ... 92s Setting up libruby:ppc64el (1:3.3~ubuntu3) ... 92s Setting up ruby (1:3.3~ubuntu3) ... 92s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 92s Setting up ruby-diff-lcs (1.5.1-1) ... 92s Setting up ruby-rack (3.1.12-1) ... 92s Setting up gem2deb-test-runner (2.2.5) ... 92s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 92s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 92s Setting up ruby-warden (1.2.8-1ubuntu1) ... 92s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 92s Processing triggers for libc-bin (2.41-6ubuntu2) ... 92s Processing triggers for man-db (2.13.1-1) ... 93s autopkgtest [17:29:35]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 93s autopkgtest [17:29:35]: test gem2deb-test-runner: [----------------------- 94s 94s ┌──────────────────────────────────────────────────────────────────────────────┐ 94s │ Checking Rubygems dependency resolution on ruby3.3 │ 94s └──────────────────────────────────────────────────────────────────────────────┘ 94s 94s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 94s mv lib ./.gem2deb.lib 94s mv Gemfile.lock ./.gem2deb.Gemfile.lock 94s mv ./.gem2deb.lib lib 94s mv ./.gem2deb.Gemfile.lock Gemfile.lock 94s 94s ┌──────────────────────────────────────────────────────────────────────────────┐ 94s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 94s └──────────────────────────────────────────────────────────────────────────────┘ 94s 94s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 94s mv lib ./.gem2deb.lib 94s mv Gemfile.lock ./.gem2deb.Gemfile.lock 94s /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 94s 94s authenticated data store 94s should store data for the default scope 94s should store data for the foo user 94s should store the data separately 94s should clear the foo scoped data when foo logs out 94s should clear out the default data when :default logs out 94s should clear out all data when a general logout is performed 94s should logout multiple persons at once 94s should not store data for a user who is not logged in 94s 94s Warden::Config 94s should behave like a hash 94s should provide hash accessors 94s should allow to read and set default strategies 94s should allow to silence missing strategies 94s should set the default_scope 94s should merge given options on initialization 94s should setup defaults with the scope_defaults method 94s 94s Warden::Proxy::Errors 94s should report that it is empty on first creation 94s should continue to report that it is empty even after being checked 94s should add an error 94s should allow many errors to be added to the same field 94s should give the full messages for an error 94s should return the error for a specific field / label 94s should return nil for a specific field if it's not been set 94s 94s standard authentication hooks 94s after_set_user 94s should allow me to add an after_set_user hook 94s should allow me to add multiple after_set_user hooks 94s should run each after_set_user hook after the user is set 94s should not run the event specified with except 94s should only run the event specified with only 94s should run filters in the given order 94s after_authentication 94s should be a wrapper to after_set_user behavior 94s should not be invoked on default after_set_user scenario 94s should run filters in the given order 94s should allow me to log out a user in an after_set_user block 94s after_fetch 94s should be a wrapper to after_set_user behavior 94s should not be invoked on default after_set_user scenario 94s should not be invoked if fetched user is nil 94s should run filters in the given order 94s after_failed_fetch 94s should not be called when user is fetched 94s should be called if fetched user is nil 94s before_failure 94s should allow me to add a before_failure hook 94s should allow me to add multiple before_failure hooks 94s should run each before_failure hooks before failing 94s should run filters in the given order 94s before_logout 94s should allow me to add an before_logout hook 94s should allow me to add multiple after_authentication hooks 94s should run each before_logout hook before logout is run 94s should run before_logout hook for a specified scope 94s should run filters in the given order 94s on_request 94s should allow me to add an on_request hook 94s should allow me to add multiple on_request hooks 94s should run each on_request hooks when initializing 94s should run filters in the given order 94s should have the proxy on env in on_request 94s should be able to throw in on_request 94s 94s Warden::Manager 94s should insert a Proxy object into the rack env 94s should allow me to set a different default scope for warden 94s should allow me to access strategies through manager 94s thrown auth 94s Failure 94s should respond with a 401 response if the strategy fails authentication 94s should use the failure message given to the failure method 94s should set the message from the winning strategy in warden.options hash 94s should render the failure app when there's a failure 94s should call failure app if warden is thrown even after successful authentication 94s should set the attempted url in warden.options hash 94s should set action in warden.options if overridden 94s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 94s should use the default scopes action when a bare throw is used 94s integrated strategies 94s redirecting 94s should redirect with a message 94s should redirect with a default message 94s should redirect with a permanent redirect 94s should redirect with a content type 94s should redirect with a default content type 94s failing 94s should fail according to the failure app 94s should allow you to customize the response 94s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 94s should render the failure application for a 401 if no custom_failure flag is set 94s custom rack response 94s should return a custom rack response 94s app returns Rack::Response 94s should return it (FAILED - 1) 94s success 94s should pass through to the application when there is success 94s 94s Warden::Proxy 94s authentication 94s should not check the authentication if it is not checked 94s should check the authentication if it is explicitly checked 94s should not allow the request if incorrect conditions are supplied 94s should allow the request if the correct conditions are supplied 94s should allow authentication in my application 94s should allow me to select which strategies I use in my application 94s should raise error on missing strategies 94s should raise error if the strategy failed 94s should not raise error on missing strategies if silencing 94s should allow me to get access to the user at warden.user. 94s should run strategies when authenticate? is asked 94s should properly send the scope to the strategy 94s should try multiple authentication strategies 94s should look for an active user in the session with authenticate 94s should look for an active user in the session with authenticate? 94s should look for an active user in the session with authenticate! 94s should throw an error when authenticate! 94s should login 2 different users from the session 94s should not authenticate other scopes just because the first is authenticated 94s should renew session when user is set (FAILED - 2) 94s should not renew session when user is fetch (FAILED - 3) 94s authentication cache 94s should run strategies just once for a given scope 94s should run strategies for a given scope several times if cache is cleaned 94s should clear the cache for a specified strategy 94s should run the strategies several times for different scopes 94s should not run strategies until cache is cleaned if latest winning strategy halted 94s should not store user if strategy isn't meant for permanent login 94s set user 94s should store the user into the session 94s should not store the user if the :store option is set to false 94s should not throw error when no session is configured and store is false 94s should not run the callbacks when :run_callbacks is false 94s should run the callbacks when :run_callbacks is true 94s should run the callbacks by default 94s should set renew on rack.session.options 94s should not modify attempt to modify a frozen rack.session.options 94s lock 94s should not run any strategy 94s should keep already authenticated users 94s get user 94s should return nil when not logged in 94s should not run strategies when not logged in 94s should cache unfound user 94s previously logged in 94s should take the user from the session when logged in 94s should cache found user 94s should not run strategies when the user exists in the session 94s run callback option 94s should not call run_callbacks when we pass a :run_callback => false 94s should call run_callbacks when we pass a :run_callback => true 94s should call run_callbacks by default 94s logout 94s should logout only the scoped foo user 94s should logout only the scoped default user 94s should clear the session when no argument is given to logout 94s should not raise exception if raw_session is nil 94s should clear the user when logging out 94s should clear the session data when logging out 94s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 94s messages 94s should allow access to the failure message 94s should allow access to the success message 94s should not die when accessing a message from a source where no authentication has occurred 94s when all strategies are not valid? 94s should return false for authenticated? when there are no valid? strategies 94s should return nil for authenticate when there are no valid strategies 94s should return false for authenticate? when there are no valid strategies 94s should respond with a 401 when authenticate! cannot find any valid strategies 94s authenticated? 94s positive authentication 94s should return true when authenticated in the session 94s should yield to a block when the block is passed and authenticated 94s should authenticate for a user in a different scope 94s negative authentication 94s should return false when authenticated in the session 94s should return false if scope cannot be retrieved from session 94s should not yield to a block when the block is passed and authenticated 94s should not yield for a user in a different scope 94s unauthenticated? 94s negative unauthentication 94s should return false when authenticated in the session 94s should not yield to a block when the block is passed and authenticated 94s should not yield to the block for a user in a different scope 94s positive unauthentication 94s should return false when unauthenticated in the session 94s should yield to a block when the block is passed and authenticated 94s should yield for a user in a different scope 94s attributes 94s should have a config attribute 94s 94s dynamic default_strategies 94s should allow me to change the default strategies on the fly 94s should allow me to append to the default strategies on the fly 94s should allow me to set the default strategies on a per scope basis 94s should allow me to setup default strategies for each scope on the manager 94s should not change the master configurations strategies when I change them 94s default scope options 94s should allow me to set a default action for a given scope 94s should allow me to set store, false on a given scope 94s #asset_request? 94s should return true if PATH_INFO is in asset list 94s should return false if PATH_INFO is not in asset list 94s 94s Warden::SessionSerializer 94s should store data for the default scope 94s should check if a data is stored or not 94s should load an user from store 94s should store data based on the scope 94s should delete data from store 94s should delete information from store if user cannot be retrieved 94s should support a nil session store 94s 94s Warden::Strategies::Base 94s should have a user object 94s should be performed after run 94s should set the scope 94s should allow you to set a message 94s should provide access to the errors 94s headers 94s should have headers 94s should allow us to clear the headers 94s halting 94s should allow you to halt a strategy 94s should not be halted if halt was not called 94s pass 94s should allow you to pass 94s redirect 94s should allow you to set a redirection 94s should mark the strategy as halted when redirecting 94s should escape redirected url parameters 94s should allow you to set a message 94s should set the action as :redirect 94s failure 94s should allow you to fail hard 94s should halt the strategies when failing hard 94s should allow you to set a message when failing hard 94s should set the action as :failure when failing hard 94s should allow you to fail soft 94s should not halt the strategies when failing soft 94s should allow you to set a message when failing soft 94s should set the action as :failure when failing soft 94s success 94s should allow you to succeed 94s should be authenticated after success 94s should allow you to set a message when succeeding 94s should store the user 94s should set the action as :success 94s custom response 94s should allow me to set a custom rack response 94s should halt the strategy 94s should provide access to the custom rack response 94s should set the action as :custom 94s 94s Warden::Strategies 94s should let me add a strategy via a block 94s should raise an error if I add a strategy via a block, that does not have an authenticate! method 94s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 94s should allow me to get access to a particular strategy 94s should allow me to add a strategy with the required methods 94s should not allow a strategy that does not have an authenticate! method 94s should allow me to change a class when providing a block and class 94s should allow me to update a previously given strategy 94s should allow me to clear the strategies 94s 94s Warden::Test::Helpers 94s should log me in as a user 94s should log me in as a user of a given scope 94s should login multiple users with different scopes 94s should log out all users 94s should logout a specific user 94s #asset_paths 94s should default asset_paths to anything asset path regex 94s 94s Warden::Test::Mock 94s should return a valid mocked warden 94s 94s Warden::Test::WardenHelpers 94s is expected to respond to #test_mode! 94s is expected to respond to #on_next_request 94s is expected to respond to #test_reset! 94s should execute the on_next_request block on the next request 94s should execute many on_next_request blocks on the next request 94s should not execute on_next_request blocks on subsequent requests 94s should allow me to set new_on_next_request items to execute in the same test 94s should remove the on_next_request items when test is reset 94s asset requests 94s should not execute on_next_request blocks if this is an asset request 94s 94s Pending: (Failures listed here are expected and do not affect your suite's status) 94s 94s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 94s # Temporarily skipped with xit 94s # ./spec/warden/manager_spec.rb:105 95s 95s Failures: 95s 95s 1) Warden::Manager integrated strategies app returns Rack::Response should return it 95s Failure/Error: expect(result.header['Content-Type']).to eq('text/plain') 95s 95s NoMethodError: 95s undefined method `header' for an instance of Rack::Response 95s # ./spec/warden/manager_spec.rb:315:in `block (4 levels) in ' 95s 95s 2) Warden::Proxy authentication should renew session when user is set 95s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 95s 95s NameError: 95s uninitialized constant Rack::Session 95s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 95s 95s 3) Warden::Proxy authentication should not renew session when user is fetch 95s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 95s 95s NameError: 95s uninitialized constant Rack::Session 95s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 95s 95s Finished in 0.14187 seconds (files took 0.15518 seconds to load) 95s 224 examples, 3 failures, 1 pending 95s 95s Failed examples: 95s 95s rspec ./spec/warden/manager_spec.rb:306 # Warden::Manager integrated strategies app returns Rack::Response should return it 95s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 95s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 95s 95s /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 95s mv ./.gem2deb.lib lib 95s mv ./.gem2deb.Gemfile.lock Gemfile.lock 95s autopkgtest [17:29:37]: test gem2deb-test-runner: -----------------------] 95s gem2deb-test-runner FAIL non-zero exit status 1 95s autopkgtest [17:29:37]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 96s autopkgtest [17:29:38]: @@@@@@@@@@@@@@@@@@@@ summary 96s gem2deb-test-runner FAIL non-zero exit status 1 117s nova [W] Using flock in prodstack6-ppc64el 117s Creating nova instance adt-questing-ppc64el-ruby-warden-20250604-172802-juju-7f2275-prod-proposed-migration-environment-23-693b7dc9-1170-4f61-a800-6e8765906ea7 from image adt/ubuntu-questing-ppc64el-server-20250604.img (UUID fe1d61dd-9ad5-4f54-a5cd-a66aff5d5ef4)... 117s nova [W] Timed out waiting for 495ef963-773b-47f5-9190-c6ae8753d76f to get deleted.