0s autopkgtest [11:46:55]: starting date and time: 2025-05-06 11:46:55+0000 0s autopkgtest [11:46:55]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [11:46:55]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.c_nzl1hn/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-rack --apt-upgrade ruby-warden --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-rack/3.1.12-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@bos03-6.secgroup --name adt-questing-amd64-ruby-warden-20250506-114655-juju-7f2275-prod-proposed-migration-environment-23-7aa909b1-9c73-456f-968b-fbc2ac77c654 --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 364s autopkgtest [11:52:59]: testbed dpkg architecture: amd64 365s autopkgtest [11:53:00]: testbed apt version: 3.0.0 365s autopkgtest [11:53:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 365s autopkgtest [11:53:00]: testbed release detected to be: None 366s autopkgtest [11:53:01]: updating testbed package index (apt update) 366s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 367s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 367s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 367s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 367s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [595 kB] 367s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [72.4 kB] 367s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [27.3 kB] 367s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [106 kB] 367s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [150 kB] 367s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [669 kB] 367s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [264 kB] 367s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [18.4 kB] 367s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [5028 B] 367s Fetched 2018 kB in 1s (1813 kB/s) 368s Reading package lists... 369s autopkgtest [11:53:04]: upgrading testbed (apt dist-upgrade and autopurge) 369s Reading package lists... 370s Building dependency tree... 370s Reading state information... 370s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 370s Starting 2 pkgProblemResolver with broken count: 0 370s Done 371s Entering ResolveByKeep 371s 372s Calculating upgrade... 372s The following packages will be upgraded: 372s libperl5.40 perl perl-base perl-modules-5.40 python3-dbus 372s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 372s Need to get 10.3 MB of archives. 372s After this operation, 5120 B of additional disk space will be used. 372s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 libperl5.40 amd64 5.40.1-3 [4877 kB] 373s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 perl amd64 5.40.1-3 [262 kB] 373s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 perl-base amd64 5.40.1-3 [1840 kB] 373s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 perl-modules-5.40 all 5.40.1-3 [3217 kB] 374s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 python3-dbus amd64 1.4.0-1 [102 kB] 374s Fetched 10.3 MB in 2s (5316 kB/s) 375s (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 ... 80527 files and directories currently installed.) 375s Preparing to unpack .../libperl5.40_5.40.1-3_amd64.deb ... 375s Unpacking libperl5.40:amd64 (5.40.1-3) over (5.40.1-2) ... 375s Preparing to unpack .../perl_5.40.1-3_amd64.deb ... 375s Unpacking perl (5.40.1-3) over (5.40.1-2) ... 375s Preparing to unpack .../perl-base_5.40.1-3_amd64.deb ... 375s Unpacking perl-base (5.40.1-3) over (5.40.1-2) ... 375s Setting up perl-base (5.40.1-3) ... 375s (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 ... 80527 files and directories currently installed.) 375s Preparing to unpack .../perl-modules-5.40_5.40.1-3_all.deb ... 375s Unpacking perl-modules-5.40 (5.40.1-3) over (5.40.1-2) ... 376s Preparing to unpack .../python3-dbus_1.4.0-1_amd64.deb ... 376s Unpacking python3-dbus (1.4.0-1) over (1.3.2-5build5) ... 376s Setting up python3-dbus (1.4.0-1) ... 376s Setting up perl-modules-5.40 (5.40.1-3) ... 376s Setting up libperl5.40:amd64 (5.40.1-3) ... 376s Setting up perl (5.40.1-3) ... 376s Processing triggers for man-db (2.13.1-1) ... 377s Processing triggers for libc-bin (2.41-6ubuntu1) ... 377s Reading package lists... 377s Building dependency tree... 377s Reading state information... 378s Starting pkgProblemResolver with broken count: 0 378s Starting 2 pkgProblemResolver with broken count: 0 378s Done 378s Solving dependencies... 378s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 381s autopkgtest [11:53:16]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 381s autopkgtest [11:53:16]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 383s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 383s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 383s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 383s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 383s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 383s gpgv: issuer "kanashiro@ubuntu.com" 383s gpgv: Can't check signature: No public key 383s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 383s autopkgtest [11:53:18]: testing package ruby-warden version 1.2.8-1ubuntu1 383s autopkgtest [11:53:18]: build not needed 384s autopkgtest [11:53:19]: test gem2deb-test-runner: preparing testbed 384s Reading package lists... 384s Building dependency tree... 384s Reading state information... 385s Starting pkgProblemResolver with broken count: 0 385s Starting 2 pkgProblemResolver with broken count: 0 385s Done 385s The following NEW packages will be installed: 385s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-did-you-mean 385s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 385s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 385s ruby-rspec-support ruby-rubygems ruby-test-unit ruby-warden ruby-webrick 385s ruby-xmlrpc ruby3.3 rubygems-integration 386s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 386s Need to get 7295 kB of archives. 386s After this operation, 36.3 MB of additional disk space will be used. 386s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 rubygems-integration all 1.19 [5550 B] 386s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 386s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 386s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 386s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-power-assert all 2.0.3-1 [12.0 kB] 386s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 386s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 386s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 386s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 libruby3.3 amd64 3.3.7-1ubuntu2 [6116 kB] 387s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 ruby3.3 amd64 3.3.7-1ubuntu2 [49.3 kB] 387s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 libruby amd64 1:3.3~ubuntu3 [5036 B] 387s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 ruby-rubygems all 3.6.3-1 [332 kB] 387s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 ruby amd64 1:3.3~ubuntu3 [3618 B] 387s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 rake all 13.2.1-1 [45.8 kB] 387s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 387s Get:16 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 387s Get:17 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 ruby-rack all 3.1.12-1 [79.3 kB] 387s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 387s Get:19 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 387s Get:20 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 387s Get:21 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 387s Get:22 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 387s Get:23 http://ftpmaster.internal/ubuntu questing/universe amd64 ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 387s Fetched 7295 kB in 2s (4635 kB/s) 387s Selecting previously unselected package rubygems-integration. 387s (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 ... 80527 files and directories currently installed.) 387s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 387s Unpacking rubygems-integration (1.19) ... 387s Selecting previously unselected package ruby-did-you-mean. 387s Preparing to unpack .../01-ruby-did-you-mean_1.6.3-2_all.deb ... 387s Unpacking ruby-did-you-mean (1.6.3-2) ... 387s Selecting previously unselected package ruby-minitest. 388s Preparing to unpack .../02-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 388s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 388s Selecting previously unselected package ruby-net-telnet. 388s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 388s Unpacking ruby-net-telnet (0.2.0-1) ... 388s Selecting previously unselected package ruby-power-assert. 388s Preparing to unpack .../04-ruby-power-assert_2.0.3-1_all.deb ... 388s Unpacking ruby-power-assert (2.0.3-1) ... 388s Selecting previously unselected package ruby-test-unit. 388s Preparing to unpack .../05-ruby-test-unit_3.6.2-1_all.deb ... 388s Unpacking ruby-test-unit (3.6.2-1) ... 388s Selecting previously unselected package ruby-webrick. 388s Preparing to unpack .../06-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 388s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 388s Selecting previously unselected package ruby-xmlrpc. 388s Preparing to unpack .../07-ruby-xmlrpc_0.3.3-2_all.deb ... 388s Unpacking ruby-xmlrpc (0.3.3-2) ... 388s Selecting previously unselected package libruby3.3:amd64. 388s Preparing to unpack .../08-libruby3.3_3.3.7-1ubuntu2_amd64.deb ... 388s Unpacking libruby3.3:amd64 (3.3.7-1ubuntu2) ... 388s Selecting previously unselected package ruby3.3. 388s Preparing to unpack .../09-ruby3.3_3.3.7-1ubuntu2_amd64.deb ... 388s Unpacking ruby3.3 (3.3.7-1ubuntu2) ... 388s Selecting previously unselected package libruby:amd64. 388s Preparing to unpack .../10-libruby_1%3a3.3~ubuntu3_amd64.deb ... 388s Unpacking libruby:amd64 (1:3.3~ubuntu3) ... 388s Selecting previously unselected package ruby-rubygems. 388s Preparing to unpack .../11-ruby-rubygems_3.6.3-1_all.deb ... 388s Unpacking ruby-rubygems (3.6.3-1) ... 388s Selecting previously unselected package ruby. 388s Preparing to unpack .../12-ruby_1%3a3.3~ubuntu3_amd64.deb ... 388s Unpacking ruby (1:3.3~ubuntu3) ... 388s Selecting previously unselected package rake. 388s Preparing to unpack .../13-rake_13.2.1-1_all.deb ... 388s Unpacking rake (13.2.1-1) ... 388s Selecting previously unselected package gem2deb-test-runner. 388s Preparing to unpack .../14-gem2deb-test-runner_2.2.5_amd64.deb ... 388s Unpacking gem2deb-test-runner (2.2.5) ... 388s Selecting previously unselected package ruby-diff-lcs. 388s Preparing to unpack .../15-ruby-diff-lcs_1.5.1-1_all.deb ... 388s Unpacking ruby-diff-lcs (1.5.1-1) ... 388s Selecting previously unselected package ruby-rack. 388s Preparing to unpack .../16-ruby-rack_3.1.12-1_all.deb ... 388s Unpacking ruby-rack (3.1.12-1) ... 388s Selecting previously unselected package ruby-rspec-support. 388s Preparing to unpack .../17-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 388s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 388s Selecting previously unselected package ruby-rspec-core. 388s Preparing to unpack .../18-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 388s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 388s Selecting previously unselected package ruby-rspec-expectations. 388s Preparing to unpack .../19-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 388s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 389s Selecting previously unselected package ruby-rspec-mocks. 389s Preparing to unpack .../20-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 389s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 389s Selecting previously unselected package ruby-rspec. 389s Preparing to unpack .../21-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 389s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 389s Selecting previously unselected package ruby-warden. 389s Preparing to unpack .../22-ruby-warden_1.2.8-1ubuntu1_all.deb ... 389s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 389s Setting up ruby-power-assert (2.0.3-1) ... 389s Setting up rubygems-integration (1.19) ... 389s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 389s Setting up ruby-test-unit (3.6.2-1) ... 389s Setting up ruby-net-telnet (0.2.0-1) ... 389s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 389s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 389s Setting up ruby-did-you-mean (1.6.3-2) ... 389s Setting up ruby-xmlrpc (0.3.3-2) ... 389s Setting up ruby-rubygems (3.6.3-1) ... 389s Setting up rake (13.2.1-1) ... 389s Setting up ruby3.3 (3.3.7-1ubuntu2) ... 389s Setting up libruby3.3:amd64 (3.3.7-1ubuntu2) ... 389s Setting up libruby:amd64 (1:3.3~ubuntu3) ... 389s Setting up ruby (1:3.3~ubuntu3) ... 389s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 389s Setting up ruby-diff-lcs (1.5.1-1) ... 389s Setting up ruby-rack (3.1.12-1) ... 389s Setting up gem2deb-test-runner (2.2.5) ... 389s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 389s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 389s Setting up ruby-warden (1.2.8-1ubuntu1) ... 389s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 389s Processing triggers for libc-bin (2.41-6ubuntu1) ... 389s Processing triggers for man-db (2.13.1-1) ... 390s autopkgtest [11:53:25]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 390s autopkgtest [11:53:25]: test gem2deb-test-runner: [----------------------- 390s 390s ┌──────────────────────────────────────────────────────────────────────────────┐ 390s │ Checking Rubygems dependency resolution on ruby3.3 │ 390s └──────────────────────────────────────────────────────────────────────────────┘ 390s 390s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 390s mv lib ./.gem2deb.lib 390s mv Gemfile.lock ./.gem2deb.Gemfile.lock 390s mv ./.gem2deb.lib lib 390s mv ./.gem2deb.Gemfile.lock Gemfile.lock 390s 390s ┌──────────────────────────────────────────────────────────────────────────────┐ 390s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 390s └──────────────────────────────────────────────────────────────────────────────┘ 390s 390s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 390s mv lib ./.gem2deb.lib 390s mv Gemfile.lock ./.gem2deb.Gemfile.lock 391s /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 391s 391s authenticated data store 391s should store data for the default scope 391s should store data for the foo user 391s should store the data separately 391s should clear the foo scoped data when foo logs out 391s should clear out the default data when :default logs out 391s should clear out all data when a general logout is performed 391s should logout multiple persons at once 391s should not store data for a user who is not logged in 391s 391s Warden::Config 391s should behave like a hash 391s should provide hash accessors 391s should allow to read and set default strategies 391s should allow to silence missing strategies 391s should set the default_scope 391s should merge given options on initialization 391s should setup defaults with the scope_defaults method 391s 391s Warden::Proxy::Errors 391s should report that it is empty on first creation 391s should continue to report that it is empty even after being checked 391s should add an error 391s should allow many errors to be added to the same field 391s should give the full messages for an error 391s should return the error for a specific field / label 391s should return nil for a specific field if it's not been set 391s 391s standard authentication hooks 391s after_set_user 391s should allow me to add an after_set_user hook 391s should allow me to add multiple after_set_user hooks 391s should run each after_set_user hook after the user is set 391s should not run the event specified with except 391s should only run the event specified with only 391s should run filters in the given order 391s after_authentication 391s should be a wrapper to after_set_user behavior 391s should not be invoked on default after_set_user scenario 391s should run filters in the given order 391s should allow me to log out a user in an after_set_user block 391s after_fetch 391s should be a wrapper to after_set_user behavior 391s should not be invoked on default after_set_user scenario 391s should not be invoked if fetched user is nil 391s should run filters in the given order 391s after_failed_fetch 391s should not be called when user is fetched 391s should be called if fetched user is nil 391s before_failure 391s should allow me to add a before_failure hook 391s should allow me to add multiple before_failure hooks 391s should run each before_failure hooks before failing 391s should run filters in the given order 391s before_logout 391s should allow me to add an before_logout hook 391s should allow me to add multiple after_authentication hooks 391s should run each before_logout hook before logout is run 391s should run before_logout hook for a specified scope 391s should run filters in the given order 391s on_request 391s should allow me to add an on_request hook 391s should allow me to add multiple on_request hooks 391s should run each on_request hooks when initializing 391s should run filters in the given order 391s should have the proxy on env in on_request 391s should be able to throw in on_request 391s 391s Warden::Manager 391s should insert a Proxy object into the rack env 391s should allow me to set a different default scope for warden 391s should allow me to access strategies through manager 391s thrown auth 391s Failure 391s should respond with a 401 response if the strategy fails authentication 391s should use the failure message given to the failure method 391s should set the message from the winning strategy in warden.options hash 391s should render the failure app when there's a failure 391s should call failure app if warden is thrown even after successful authentication 391s should set the attempted url in warden.options hash 391s should set action in warden.options if overridden 391s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 391s should use the default scopes action when a bare throw is used 391s integrated strategies 391s redirecting 391s should redirect with a message 391s should redirect with a default message 391s should redirect with a permanent redirect 391s should redirect with a content type 391s should redirect with a default content type 391s failing 391s should fail according to the failure app 391s should allow you to customize the response 391s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 391s should render the failure application for a 401 if no custom_failure flag is set 391s custom rack response 391s should return a custom rack response 391s app returns Rack::Response 391s should return it (FAILED - 1) 391s success 391s should pass through to the application when there is success 391s 391s Warden::Proxy 391s authentication 391s should not check the authentication if it is not checked 391s should check the authentication if it is explicitly checked 391s should not allow the request if incorrect conditions are supplied 391s should allow the request if the correct conditions are supplied 391s should allow authentication in my application 391s should allow me to select which strategies I use in my application 391s should raise error on missing strategies 391s should raise error if the strategy failed 391s should not raise error on missing strategies if silencing 391s should allow me to get access to the user at warden.user. 391s should run strategies when authenticate? is asked 391s should properly send the scope to the strategy 391s should try multiple authentication strategies 391s should look for an active user in the session with authenticate 391s should look for an active user in the session with authenticate? 391s should look for an active user in the session with authenticate! 391s should throw an error when authenticate! 391s should login 2 different users from the session 391s should not authenticate other scopes just because the first is authenticated 391s should renew session when user is set (FAILED - 2) 391s should not renew session when user is fetch (FAILED - 3) 391s authentication cache 391s should run strategies just once for a given scope 391s should run strategies for a given scope several times if cache is cleaned 391s should clear the cache for a specified strategy 391s should run the strategies several times for different scopes 391s should not run strategies until cache is cleaned if latest winning strategy halted 391s should not store user if strategy isn't meant for permanent login 391s set user 391s should store the user into the session 391s should not store the user if the :store option is set to false 391s should not throw error when no session is configured and store is false 391s should not run the callbacks when :run_callbacks is false 391s should run the callbacks when :run_callbacks is true 391s should run the callbacks by default 391s should set renew on rack.session.options 391s should not modify attempt to modify a frozen rack.session.options 391s lock 391s should not run any strategy 391s should keep already authenticated users 391s get user 391s should return nil when not logged in 391s should not run strategies when not logged in 391s should cache unfound user 391s previously logged in 391s should take the user from the session when logged in 391s should cache found user 391s should not run strategies when the user exists in the session 391s run callback option 391s should not call run_callbacks when we pass a :run_callback => false 391s should call run_callbacks when we pass a :run_callback => true 391s should call run_callbacks by default 391s logout 391s should logout only the scoped foo user 391s should logout only the scoped default user 391s should clear the session when no argument is given to logout 391s should not raise exception if raw_session is nil 391s should clear the user when logging out 391s should clear the session data when logging out 391s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 391s messages 391s should allow access to the failure message 391s should allow access to the success message 391s should not die when accessing a message from a source where no authentication has occurred 391s when all strategies are not valid? 391s should return false for authenticated? when there are no valid? strategies 391s should return nil for authenticate when there are no valid strategies 391s should return false for authenticate? when there are no valid strategies 391s should respond with a 401 when authenticate! cannot find any valid strategies 391s authenticated? 391s positive authentication 391s should return true when authenticated in the session 391s should yield to a block when the block is passed and authenticated 391s should authenticate for a user in a different scope 391s negative authentication 391s should return false when authenticated in the session 391s should return false if scope cannot be retrieved from session 391s should not yield to a block when the block is passed and authenticated 391s should not yield for a user in a different scope 391s unauthenticated? 391s negative unauthentication 391s should return false when authenticated in the session 391s should not yield to a block when the block is passed and authenticated 391s should not yield to the block for a user in a different scope 391s positive unauthentication 391s should return false when unauthenticated in the session 391s should yield to a block when the block is passed and authenticated 391s should yield for a user in a different scope 391s attributes 391s should have a config attribute 391s 391s dynamic default_strategies 391s should allow me to change the default strategies on the fly 391s should allow me to append to the default strategies on the fly 391s should allow me to set the default strategies on a per scope basis 391s should allow me to setup default strategies for each scope on the manager 391s should not change the master configurations strategies when I change them 391s default scope options 391s should allow me to set a default action for a given scope 391s should allow me to set store, false on a given scope 391s #asset_request? 391s should return true if PATH_INFO is in asset list 391s should return false if PATH_INFO is not in asset list 391s 391s Warden::SessionSerializer 391s should store data for the default scope 391s should check if a data is stored or not 391s should load an user from store 391s should store data based on the scope 391s should delete data from store 391s should delete information from store if user cannot be retrieved 391s should support a nil session store 391s 391s Warden::Strategies::Base 391s should have a user object 391s should be performed after run 391s should set the scope 391s should allow you to set a message 391s should provide access to the errors 391s headers 391s should have headers 391s should allow us to clear the headers 391s halting 391s should allow you to halt a strategy 391s should not be halted if halt was not called 391s pass 391s should allow you to pass 391s redirect 391s should allow you to set a redirection 391s should mark the strategy as halted when redirecting 391s should escape redirected url parameters 391s should allow you to set a message 391s should set the action as :redirect 391s failure 391s should allow you to fail hard 391s should halt the strategies when failing hard 391s should allow you to set a message when failing hard 391s should set the action as :failure when failing hard 391s should allow you to fail soft 391s should not halt the strategies when failing soft 391s should allow you to set a message when failing soft 391s should set the action as :failure when failing soft 391s success 391s should allow you to succeed 391s should be authenticated after success 391s should allow you to set a message when succeeding 391s should store the user 391s should set the action as :success 391s custom response 391s should allow me to set a custom rack response 391s should halt the strategy 391s should provide access to the custom rack response 391s should set the action as :custom 391s 391s Warden::Strategies 391s should let me add a strategy via a block 391s should raise an error if I add a strategy via a block, that does not have an authenticate! method 391s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 391s should allow me to get access to a particular strategy 391s should allow me to add a strategy with the required methods 391s should not allow a strategy that does not have an authenticate! method 391s should allow me to change a class when providing a block and class 391s should allow me to update a previously given strategy 391s should allow me to clear the strategies 391s 391s Warden::Test::Helpers 391s should log me in as a user 391s should log me in as a user of a given scope 391s should login multiple users with different scopes 391s should log out all users 391s should logout a specific user 391s #asset_paths 391s should default asset_paths to anything asset path regex 391s 391s Warden::Test::Mock 391s should return a valid mocked warden 391s 391s Warden::Test::WardenHelpers 391s is expected to respond to #test_mode! 391s is expected to respond to #on_next_request 391s is expected to respond to #test_reset! 391s should execute the on_next_request block on the next request 391s should execute many on_next_request blocks on the next request 391s should not execute on_next_request blocks on subsequent requests 391s should allow me to set new_on_next_request items to execute in the same test 391s should remove the on_next_request items when test is reset 391s asset requests 391s should not execute on_next_request blocks if this is an asset request 391s 391s Pending: (Failures listed here are expected and do not affect your suite's status) 391s 391s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 391s # Temporarily skipped with xit 391s # ./spec/warden/manager_spec.rb:105 391s 391s Failures: 391s 391s 1) Warden::Manager integrated strategies app returns Rack::Response should return it 391s Failure/Error: expect(result.header['Content-Type']).to eq('text/plain') 391s 391s NoMethodError: 391s undefined method `header' for an instance of Rack::Response 391s # ./spec/warden/manager_spec.rb:315:in `block (4 levels) in ' 391s 391s 2) Warden::Proxy authentication should renew session when user is set 391s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 391s 391s NameError: 391s uninitialized constant Rack::Session 391s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 391s 391s 3) Warden::Proxy authentication should not renew session when user is fetch 391s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 391s 391s NameError: 391s uninitialized constant Rack::Session 391s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 391s 391s Finished in 0.14994 seconds (files took 0.14031 seconds to load) 391s 224 examples, 3 failures, 1 pending 391s 391s Failed examples: 391s 391s rspec ./spec/warden/manager_spec.rb:306 # Warden::Manager integrated strategies app returns Rack::Response should return it 391s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 391s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 391s 391s /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 391s mv ./.gem2deb.lib lib 391s mv ./.gem2deb.Gemfile.lock Gemfile.lock 392s autopkgtest [11:53:27]: test gem2deb-test-runner: -----------------------] 392s autopkgtest [11:53:27]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 392s gem2deb-test-runner FAIL non-zero exit status 1 392s autopkgtest [11:53:27]: @@@@@@@@@@@@@@@@@@@@ summary 392s gem2deb-test-runner FAIL non-zero exit status 1 410s nova [W] Skipping flock for amd64 410s Creating nova instance adt-questing-amd64-ruby-warden-20250506-114655-juju-7f2275-prod-proposed-migration-environment-23-7aa909b1-9c73-456f-968b-fbc2ac77c654 from image adt/ubuntu-questing-amd64-server-20250506.img (UUID f1864fa2-149c-4e5d-800d-c5107d8a2f35)... 410s nova [W] nova quota exceeded (attempt #0) 410s nova [W] Timed out waiting for 5d92301f-fcff-4309-a0b8-a6d925702a90 to get deleted.