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