0s autopkgtest [14:26:59]: starting date and time: 2025-06-19 14:26:59+0000 0s autopkgtest [14:26:59]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [14:26:59]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9b98lhrl/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 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-arm64-16.secgroup --name adt-questing-arm64-ruby-warden-20250619-142658-juju-7f2275-prod-proposed-migration-environment-23-cbea1986-f5bf-461e-8f48-641e219a72bf --image adt/ubuntu-questing-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 128s autopkgtest [14:29:07]: testbed dpkg architecture: arm64 128s autopkgtest [14:29:07]: testbed apt version: 3.1.2 128s autopkgtest [14:29:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 129s autopkgtest [14:29:08]: testbed release detected to be: None 129s autopkgtest [14:29:08]: updating testbed package index (apt update) 130s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 130s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 130s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 130s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 130s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [4716 B] 130s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 130s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [17.4 kB] 130s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [426 kB] 130s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [65.9 kB] 130s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/restricted arm64 Packages [18.4 kB] 130s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [364 kB] 130s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [23.9 kB] 130s Fetched 1208 kB in 1s (1381 kB/s) 131s Reading package lists... 132s autopkgtest [14:29:11]: upgrading testbed (apt dist-upgrade and autopurge) 132s Reading package lists... 132s Building dependency tree... 132s Reading state information... 133s Calculating upgrade... 133s The following packages will be upgraded: 133s libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 133s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s Need to get 5180 kB of archives. 133s After this operation, 291 kB disk space will be freed. 133s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12t64 arm64 3.12.10-1 [2314 kB] 134s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12-stdlib arm64 3.12.10-1 [2029 kB] 134s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 libpython3.12-minimal arm64 3.12.10-1 [836 kB] 134s Fetched 5180 kB in 1s (6829 kB/s) 135s (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 ... 118766 files and directories currently installed.) 135s Preparing to unpack .../libpython3.12t64_3.12.10-1_arm64.deb ... 135s Unpacking libpython3.12t64:arm64 (3.12.10-1) over (3.12.8-3) ... 135s Preparing to unpack .../libpython3.12-stdlib_3.12.10-1_arm64.deb ... 135s Unpacking libpython3.12-stdlib:arm64 (3.12.10-1) over (3.12.8-3) ... 135s Preparing to unpack .../libpython3.12-minimal_3.12.10-1_arm64.deb ... 135s Unpacking libpython3.12-minimal:arm64 (3.12.10-1) over (3.12.8-3) ... 135s Setting up libpython3.12-minimal:arm64 (3.12.10-1) ... 135s Setting up libpython3.12-stdlib:arm64 (3.12.10-1) ... 135s Setting up libpython3.12t64:arm64 (3.12.10-1) ... 135s Processing triggers for libc-bin (2.41-6ubuntu2) ... 136s Reading package lists... 136s Building dependency tree... 136s Reading state information... 136s Solving dependencies... 137s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s autopkgtest [14:29:19]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 14:37:51 UTC 2025 140s autopkgtest [14:29:19]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 142s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 142s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 142s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 142s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 142s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 142s gpgv: issuer "kanashiro@ubuntu.com" 142s gpgv: Can't check signature: No public key 142s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 142s autopkgtest [14:29:21]: testing package ruby-warden version 1.2.8-1ubuntu1 144s autopkgtest [14:29:23]: build not needed 144s autopkgtest [14:29:23]: test gem2deb-test-runner: preparing testbed 145s Reading package lists... 145s Building dependency tree... 145s Reading state information... 145s Solving dependencies... 146s The following NEW packages will be installed: 146s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-csv ruby-did-you-mean 146s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 146s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 146s ruby-rspec-support ruby-ruby2-keywords ruby-rubygems ruby-test-unit 146s ruby-warden ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 146s 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. 146s Need to get 7074 kB of archives. 146s After this operation, 40.2 MB of additional disk space will be used. 146s Get:1 http://ftpmaster.internal/ubuntu questing/main arm64 rubygems-integration all 1.19 [5550 B] 146s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-csv all 3.3.4-1 [43.0 kB] 146s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 146s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 146s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-ruby2-keywords all 0.0.5-1 [4280 B] 146s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-webrick all 1.9.1-1 [60.8 kB] 146s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 146s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 libruby3.3 arm64 3.3.8-2ubuntu1 [5840 kB] 146s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 ruby3.3 arm64 3.3.8-2ubuntu1 [49.1 kB] 146s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 libruby arm64 1:3.3 [5164 B] 146s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-rubygems all 3.6.3-1 [332 kB] 146s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 ruby arm64 1:3.3 [3668 B] 146s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 rake all 13.2.1-1 [45.8 kB] 146s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 147s Get:15 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-power-assert all 2.0.3-1 [12.0 kB] 147s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 ruby-test-unit all 3.6.2-1 [67.0 kB] 147s Get:17 http://ftpmaster.internal/ubuntu questing/universe arm64 gem2deb-test-runner arm64 2.2.5 [18.3 kB] 147s Get:18 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 147s Get:19 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ruby-rack all 3.1.12-1 [79.3 kB] 147s Get:20 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 147s Get:21 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 147s Get:22 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 147s Get:23 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 147s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 147s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 147s Fetched 7074 kB in 1s (6935 kB/s) 147s Selecting previously unselected package rubygems-integration. 147s (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 ... 118766 files and directories currently installed.) 147s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 147s Unpacking rubygems-integration (1.19) ... 147s Selecting previously unselected package ruby-csv. 147s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 147s Unpacking ruby-csv (3.3.4-1) ... 147s Selecting previously unselected package ruby-did-you-mean. 147s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2_all.deb ... 147s Unpacking ruby-did-you-mean (1.6.3-2) ... 147s Selecting previously unselected package ruby-net-telnet. 147s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 147s Unpacking ruby-net-telnet (0.2.0-1) ... 147s Selecting previously unselected package ruby-ruby2-keywords. 147s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1_all.deb ... 147s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 147s Selecting previously unselected package ruby-webrick. 147s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 147s Unpacking ruby-webrick (1.9.1-1) ... 147s Selecting previously unselected package ruby-xmlrpc. 147s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2_all.deb ... 147s Unpacking ruby-xmlrpc (0.3.3-2) ... 147s Selecting previously unselected package libruby3.3:arm64. 147s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu1_arm64.deb ... 147s Unpacking libruby3.3:arm64 (3.3.8-2ubuntu1) ... 148s Selecting previously unselected package ruby3.3. 148s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu1_arm64.deb ... 148s Unpacking ruby3.3 (3.3.8-2ubuntu1) ... 148s Selecting previously unselected package libruby:arm64. 148s Preparing to unpack .../09-libruby_1%3a3.3_arm64.deb ... 148s Unpacking libruby:arm64 (1:3.3) ... 148s Selecting previously unselected package ruby-rubygems. 148s Preparing to unpack .../10-ruby-rubygems_3.6.3-1_all.deb ... 148s Unpacking ruby-rubygems (3.6.3-1) ... 148s Selecting previously unselected package ruby. 148s Preparing to unpack .../11-ruby_1%3a3.3_arm64.deb ... 148s Unpacking ruby (1:3.3) ... 148s Selecting previously unselected package rake. 148s Preparing to unpack .../12-rake_13.2.1-1_all.deb ... 148s Unpacking rake (13.2.1-1) ... 148s Selecting previously unselected package ruby-minitest. 148s Preparing to unpack .../13-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 148s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 148s Selecting previously unselected package ruby-power-assert. 148s Preparing to unpack .../14-ruby-power-assert_2.0.3-1_all.deb ... 148s Unpacking ruby-power-assert (2.0.3-1) ... 148s Selecting previously unselected package ruby-test-unit. 148s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 148s Unpacking ruby-test-unit (3.6.2-1) ... 148s Selecting previously unselected package gem2deb-test-runner. 148s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_arm64.deb ... 148s Unpacking gem2deb-test-runner (2.2.5) ... 148s Selecting previously unselected package ruby-diff-lcs. 148s Preparing to unpack .../17-ruby-diff-lcs_1.5.1-1_all.deb ... 148s Unpacking ruby-diff-lcs (1.5.1-1) ... 148s Selecting previously unselected package ruby-rack. 148s Preparing to unpack .../18-ruby-rack_3.1.12-1_all.deb ... 148s Unpacking ruby-rack (3.1.12-1) ... 148s Selecting previously unselected package ruby-rspec-support. 148s Preparing to unpack .../19-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 148s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 148s Selecting previously unselected package ruby-rspec-core. 148s Preparing to unpack .../20-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 148s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 148s Selecting previously unselected package ruby-rspec-expectations. 148s Preparing to unpack .../21-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 148s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 148s Selecting previously unselected package ruby-rspec-mocks. 148s Preparing to unpack .../22-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 148s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 148s Selecting previously unselected package ruby-rspec. 148s Preparing to unpack .../23-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 148s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 148s Selecting previously unselected package ruby-warden. 148s Preparing to unpack .../24-ruby-warden_1.2.8-1ubuntu1_all.deb ... 148s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 148s Setting up ruby-ruby2-keywords (0.0.5-1) ... 148s Setting up ruby-power-assert (2.0.3-1) ... 148s Setting up rubygems-integration (1.19) ... 148s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 148s Setting up ruby-test-unit (3.6.2-1) ... 148s Setting up ruby-net-telnet (0.2.0-1) ... 148s Setting up ruby-csv (3.3.4-1) ... 148s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 148s Setting up ruby-webrick (1.9.1-1) ... 148s Setting up ruby-did-you-mean (1.6.3-2) ... 148s Setting up ruby-xmlrpc (0.3.3-2) ... 148s Setting up ruby-rubygems (3.6.3-1) ... 148s Setting up rake (13.2.1-1) ... 148s Setting up ruby3.3 (3.3.8-2ubuntu1) ... 148s Setting up libruby3.3:arm64 (3.3.8-2ubuntu1) ... 148s Setting up libruby:arm64 (1:3.3) ... 148s Setting up ruby (1:3.3) ... 148s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 148s Setting up ruby-diff-lcs (1.5.1-1) ... 148s Setting up ruby-rack (3.1.12-1) ... 148s Setting up gem2deb-test-runner (2.2.5) ... 148s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 148s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 148s Setting up ruby-warden (1.2.8-1ubuntu1) ... 148s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 148s Processing triggers for libc-bin (2.41-6ubuntu2) ... 148s Processing triggers for man-db (2.13.1-1) ... 150s autopkgtest [14:29:29]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 150s autopkgtest [14:29:29]: test gem2deb-test-runner: [----------------------- 150s ************************************************************************** 150s # A new feature in cloud-init identified possible datasources for # 150s # this system as: # 150s # [] # 150s # However, the datasource used was: OpenStack # 150s # # 150s # In the future, cloud-init will only attempt to use datasources that # 150s # are identified or specifically configured. # 150s # For more information see # 150s # https://bugs.launchpad.net/bugs/1669675 # 150s # # 150s # If you are seeing this message, please file a bug against # 150s # cloud-init at # 150s # https://github.com/canonical/cloud-init/issues # 150s # Make sure to include the cloud provider your instance is # 150s # running on. # 150s # # 150s # After you have filed a bug, you can disable this warning by launching # 150s # your instance with the cloud-config below, or putting that content # 150s # into /etc/cloud/cloud.cfg.d/99-warnings.cfg # 150s # # 150s # #cloud-config # 150s # warnings: # 150s # dsid_missing_source: off # 150s ************************************************************************** 150s 150s Disable the warnings above by: 150s touch /home/ubuntu/.cloud-warnings.skip 150s or 150s touch /var/lib/cloud/instance/warnings/.skip 151s 151s ┌──────────────────────────────────────────────────────────────────────────────┐ 151s │ Checking Rubygems dependency resolution on ruby3.3 │ 151s └──────────────────────────────────────────────────────────────────────────────┘ 151s 151s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 151s mv lib ./.gem2deb.lib 151s mv Gemfile.lock ./.gem2deb.Gemfile.lock 151s mv ./.gem2deb.lib lib 151s mv ./.gem2deb.Gemfile.lock Gemfile.lock 151s 151s ┌──────────────────────────────────────────────────────────────────────────────┐ 151s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 151s └──────────────────────────────────────────────────────────────────────────────┘ 151s 151s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 151s mv lib ./.gem2deb.lib 151s mv Gemfile.lock ./.gem2deb.Gemfile.lock 151s /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 151s 151s authenticated data store 151s should store data for the default scope 151s should store data for the foo user 151s should store the data separately 151s should clear the foo scoped data when foo logs out 151s should clear out the default data when :default logs out 151s should clear out all data when a general logout is performed 151s should logout multiple persons at once 151s should not store data for a user who is not logged in 151s 151s Warden::Config 151s should behave like a hash 151s should provide hash accessors 151s should allow to read and set default strategies 151s should allow to silence missing strategies 151s should set the default_scope 151s should merge given options on initialization 151s should setup defaults with the scope_defaults method 151s 151s Warden::Proxy::Errors 151s should report that it is empty on first creation 151s should continue to report that it is empty even after being checked 151s should add an error 151s should allow many errors to be added to the same field 151s should give the full messages for an error 151s should return the error for a specific field / label 151s should return nil for a specific field if it's not been set 151s 151s standard authentication hooks 151s after_set_user 151s should allow me to add an after_set_user hook 151s should allow me to add multiple after_set_user hooks 151s should run each after_set_user hook after the user is set 151s should not run the event specified with except 151s should only run the event specified with only 151s should run filters in the given order 151s after_authentication 151s should be a wrapper to after_set_user behavior 151s should not be invoked on default after_set_user scenario 151s should run filters in the given order 151s should allow me to log out a user in an after_set_user block 151s after_fetch 151s should be a wrapper to after_set_user behavior 151s should not be invoked on default after_set_user scenario 151s should not be invoked if fetched user is nil 151s should run filters in the given order 151s after_failed_fetch 151s should not be called when user is fetched 151s should be called if fetched user is nil 151s before_failure 151s should allow me to add a before_failure hook 151s should allow me to add multiple before_failure hooks 151s should run each before_failure hooks before failing 151s should run filters in the given order 151s before_logout 151s should allow me to add an before_logout hook 151s should allow me to add multiple after_authentication hooks 151s should run each before_logout hook before logout is run 151s should run before_logout hook for a specified scope 151s should run filters in the given order 151s on_request 151s should allow me to add an on_request hook 151s should allow me to add multiple on_request hooks 151s should run each on_request hooks when initializing 151s should run filters in the given order 151s should have the proxy on env in on_request 151s should be able to throw in on_request 151s 151s Warden::Manager 151s should insert a Proxy object into the rack env 151s should allow me to set a different default scope for warden 151s should allow me to access strategies through manager 151s thrown auth 151s Failure 151s should respond with a 401 response if the strategy fails authentication 151s should use the failure message given to the failure method 151s should set the message from the winning strategy in warden.options hash 151s should render the failure app when there's a failure 151s should call failure app if warden is thrown even after successful authentication 151s should set the attempted url in warden.options hash 151s should set action in warden.options if overridden 151s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 151s should use the default scopes action when a bare throw is used 151s integrated strategies 151s redirecting 151s should redirect with a message 151s should redirect with a default message 151s should redirect with a permanent redirect 151s should redirect with a content type 151s should redirect with a default content type 151s failing 151s should fail according to the failure app 151s should allow you to customize the response 151s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 151s should render the failure application for a 401 if no custom_failure flag is set 151s custom rack response 151s should return a custom rack response 151s app returns Rack::Response 151s should return it (FAILED - 1) 151s success 151s should pass through to the application when there is success 151s 151s Warden::Proxy 151s authentication 151s should not check the authentication if it is not checked 151s should check the authentication if it is explicitly checked 151s should not allow the request if incorrect conditions are supplied 151s should allow the request if the correct conditions are supplied 151s should allow authentication in my application 151s should allow me to select which strategies I use in my application 151s should raise error on missing strategies 151s should raise error if the strategy failed 151s should not raise error on missing strategies if silencing 151s should allow me to get access to the user at warden.user. 151s should run strategies when authenticate? is asked 151s should properly send the scope to the strategy 151s should try multiple authentication strategies 151s should look for an active user in the session with authenticate 151s should look for an active user in the session with authenticate? 151s should look for an active user in the session with authenticate! 151s should throw an error when authenticate! 151s should login 2 different users from the session 151s should not authenticate other scopes just because the first is authenticated 151s should renew session when user is set (FAILED - 2) 151s should not renew session when user is fetch (FAILED - 3) 151s authentication cache 151s should run strategies just once for a given scope 151s should run strategies for a given scope several times if cache is cleaned 151s should clear the cache for a specified strategy 151s should run the strategies several times for different scopes 151s should not run strategies until cache is cleaned if latest winning strategy halted 151s should not store user if strategy isn't meant for permanent login 151s set user 151s should store the user into the session 151s should not store the user if the :store option is set to false 151s should not throw error when no session is configured and store is false 151s should not run the callbacks when :run_callbacks is false 151s should run the callbacks when :run_callbacks is true 151s should run the callbacks by default 151s should set renew on rack.session.options 151s should not modify attempt to modify a frozen rack.session.options 151s lock 151s should not run any strategy 151s should keep already authenticated users 151s get user 151s should return nil when not logged in 151s should not run strategies when not logged in 151s should cache unfound user 151s previously logged in 151s should take the user from the session when logged in 151s should cache found user 151s should not run strategies when the user exists in the session 151s run callback option 151s should not call run_callbacks when we pass a :run_callback => false 151s should call run_callbacks when we pass a :run_callback => true 151s should call run_callbacks by default 151s logout 151s should logout only the scoped foo user 151s should logout only the scoped default user 151s should clear the session when no argument is given to logout 151s should not raise exception if raw_session is nil 151s should clear the user when logging out 151s should clear the session data when logging out 151s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 151s messages 151s should allow access to the failure message 151s should allow access to the success message 151s should not die when accessing a message from a source where no authentication has occurred 151s when all strategies are not valid? 151s should return false for authenticated? when there are no valid? strategies 151s should return nil for authenticate when there are no valid strategies 151s should return false for authenticate? when there are no valid strategies 151s should respond with a 401 when authenticate! cannot find any valid strategies 151s authenticated? 151s positive authentication 151s should return true when authenticated in the session 151s should yield to a block when the block is passed and authenticated 151s should authenticate for a user in a different scope 151s negative authentication 151s should return false when authenticated in the session 151s should return false if scope cannot be retrieved from session 151s should not yield to a block when the block is passed and authenticated 151s should not yield for a user in a different scope 151s unauthenticated? 151s negative unauthentication 151s should return false when authenticated in the session 151s should not yield to a block when the block is passed and authenticated 151s should not yield to the block for a user in a different scope 151s positive unauthentication 151s should return false when unauthenticated in the session 151s should yield to a block when the block is passed and authenticated 151s should yield for a user in a different scope 151s attributes 151s should have a config attribute 151s 151s dynamic default_strategies 151s should allow me to change the default strategies on the fly 151s should allow me to append to the default strategies on the fly 151s should allow me to set the default strategies on a per scope basis 151s should allow me to setup default strategies for each scope on the manager 151s should not change the master configurations strategies when I change them 151s default scope options 151s should allow me to set a default action for a given scope 151s should allow me to set store, false on a given scope 151s #asset_request? 151s should return true if PATH_INFO is in asset list 151s should return false if PATH_INFO is not in asset list 151s 151s Warden::SessionSerializer 151s should store data for the default scope 151s should check if a data is stored or not 151s should load an user from store 151s should store data based on the scope 151s should delete data from store 151s should delete information from store if user cannot be retrieved 151s should support a nil session store 151s 151s Warden::Strategies::Base 151s should have a user object 151s should be performed after run 151s should set the scope 151s should allow you to set a message 151s should provide access to the errors 151s headers 151s should have headers 151s should allow us to clear the headers 151s halting 151s should allow you to halt a strategy 151s should not be halted if halt was not called 151s pass 151s should allow you to pass 151s redirect 151s should allow you to set a redirection 151s should mark the strategy as halted when redirecting 151s should escape redirected url parameters 151s should allow you to set a message 151s should set the action as :redirect 151s failure 151s should allow you to fail hard 151s should halt the strategies when failing hard 151s should allow you to set a message when failing hard 151s should set the action as :failure when failing hard 151s should allow you to fail soft 151s should not halt the strategies when failing soft 151s should allow you to set a message when failing soft 151s should set the action as :failure when failing soft 151s success 151s should allow you to succeed 151s should be authenticated after success 151s should allow you to set a message when succeeding 151s should store the user 151s should set the action as :success 151s custom response 151s should allow me to set a custom rack response 151s should halt the strategy 151s should provide access to the custom rack response 151s should set the action as :custom 151s 151s Warden::Strategies 151s should let me add a strategy via a block 151s should raise an error if I add a strategy via a block, that does not have an authenticate! method 151s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 151s should allow me to get access to a particular strategy 151s should allow me to add a strategy with the required methods 151s should not allow a strategy that does not have an authenticate! method 151s should allow me to change a class when providing a block and class 151s should allow me to update a previously given strategy 151s should allow me to clear the strategies 151s 151s Warden::Test::Helpers 151s should log me in as a user 151s should log me in as a user of a given scope 151s should login multiple users with different scopes 151s should log out all users 151s should logout a specific user 151s #asset_paths 151s should default asset_paths to anything asset path regex 151s 151s Warden::Test::Mock 151s should return a valid mocked warden 151s 151s Warden::Test::WardenHelpers 151s is expected to respond to #test_mode! 151s is expected to respond to #on_next_request 151s is expected to respond to #test_reset! 151s should execute the on_next_request block on the next request 151s should execute many on_next_request blocks on the next request 151s should not execute on_next_request blocks on subsequent requests 151s should allow me to set new_on_next_request items to execute in the same test 151s should remove the on_next_request items when test is reset 151s asset requests 151s should not execute on_next_request blocks if this is an asset request 151s 151s Pending: (Failures listed here are expected and do not affect your suite's status) 151s 151s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 151s # Temporarily skipped with xit 151s # ./spec/warden/manager_spec.rb:105 152s 152s Failures: 152s 152s 1) Warden::Manager integrated strategies app returns Rack::Response should return it 152s Failure/Error: expect(result.header['Content-Type']).to eq('text/plain') 152s 152s NoMethodError: 152s undefined method `header' for an instance of Rack::Response 152s # ./spec/warden/manager_spec.rb:315:in `block (4 levels) in ' 152s 152s 2) Warden::Proxy authentication should renew session when user is set 152s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 152s 152s NameError: 152s uninitialized constant Rack::Session 152s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 152s 152s 3) Warden::Proxy authentication should not renew session when user is fetch 152s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 152s 152s NameError: 152s uninitialized constant Rack::Session 152s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 152s 152s Finished in 0.17385 seconds (files took 0.16404 seconds to load) 152s 224 examples, 3 failures, 1 pending 152s 152s Failed examples: 152s 152s rspec ./spec/warden/manager_spec.rb:306 # Warden::Manager integrated strategies app returns Rack::Response should return it 152s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 152s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 152s 152s /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 152s mv ./.gem2deb.lib lib 152s mv ./.gem2deb.Gemfile.lock Gemfile.lock 152s autopkgtest [14:29:31]: test gem2deb-test-runner: -----------------------] 152s gem2deb-test-runner FAIL non-zero exit status 1 152s autopkgtest [14:29:31]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 153s autopkgtest [14:29:32]: @@@@@@@@@@@@@@@@@@@@ summary 153s gem2deb-test-runner FAIL non-zero exit status 1 171s nova [W] Using flock in prodstack6-arm64 171s flock: timeout while waiting to get lock 171s Creating nova instance adt-questing-arm64-ruby-warden-20250619-142658-juju-7f2275-prod-proposed-migration-environment-23-cbea1986-f5bf-461e-8f48-641e219a72bf from image adt/ubuntu-questing-arm64-server-20250619.img (UUID 9e826193-3943-4502-8d49-d04976fe922a)... 171s nova [W] Timed out waiting for 78d1e190-4390-4111-a3fe-b7f53b633290 to get deleted.