1s autopkgtest [04:17:03]: starting date and time: 2025-02-19 04:17:03+0000 1s autopkgtest [04:17:03]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 1s autopkgtest [04:17:03]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.qi5bm9ph/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.0.8-4 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-22.secgroup --name adt-plucky-arm64-ruby-warden-20250219-041700-juju-7f2275-prod-proposed-migration-environment-15-e7ecb72f-d193-45b8-8caf-75c250d5d781 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 193s autopkgtest [04:20:15]: testbed dpkg architecture: arm64 193s autopkgtest [04:20:15]: testbed apt version: 2.9.29 194s autopkgtest [04:20:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 194s autopkgtest [04:20:16]: testbed release detected to be: None 195s autopkgtest [04:20:17]: updating testbed package index (apt update) 195s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 196s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 196s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 196s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 196s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 196s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [788 kB] 196s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.6 kB] 196s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [79.1 kB] 196s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [97.6 kB] 196s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [7960 B] 196s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [698 kB] 196s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [12.1 kB] 196s Fetched 1811 kB in 1s (1913 kB/s) 197s Reading package lists... 198s + lsb_release --codename --short 198s + RELEASE=plucky 198s + cat 198s + [ plucky != trusty ] 198s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 198s Reading package lists... 199s Building dependency tree... 199s Reading state information... 200s Calculating upgrade... 201s The following packages will be upgraded: 201s dhcpcd-base 201s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 201s Need to get 216 kB of archives. 201s After this operation, 0 B of additional disk space will be used. 201s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 dhcpcd-base arm64 1:10.1.0-7 [216 kB] 202s Fetched 216 kB in 0s (501 kB/s) 203s (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 ... 116620 files and directories currently installed.) 203s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_arm64.deb ... 203s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-6) ... 203s Setting up dhcpcd-base (1:10.1.0-7) ... 203s Processing triggers for man-db (2.13.0-1) ... 204s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 204s + /usr/lib/apt/apt-helper analyze-pattern ?true 204s + uname -r 204s + sed s/\./\\./g 204s + running_kernel_pattern=^linux-.*6\.12\.0-15-generic.* 204s + apt list ?obsolete+ 204s tail -n+2 204s + cut -d/ -f1 204s + grep -v ^linux-.*6\.12\.0-15-generic.* 205s + true 205s + obsolete_pkgs= 205s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 205s Reading package lists... 206s Building dependency tree... 206s Reading state information... 207s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 207s + grep -q trusty /etc/lsb-release 207s + [ ! -d /usr/share/doc/unattended-upgrades ] 207s + [ ! -d /usr/share/doc/lxd ] 207s + [ ! -d /usr/share/doc/lxd-client ] 207s + [ ! -d /usr/share/doc/snapd ] 207s + type iptables 207s + cat 207s + chmod 755 /etc/rc.local 207s + . /etc/rc.local 207s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 207s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 207s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 207s + uname -m 207s + [ aarch64 = ppc64le ] 207s + [ -d /run/systemd/system ] 207s + systemd-detect-virt --quiet --vm 207s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 207s + cat 207s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 207s + echo COMPRESS=lz4 207s autopkgtest [04:20:29]: upgrading testbed (apt dist-upgrade and autopurge) 207s Reading package lists... 208s Building dependency tree... 208s Reading state information... 209s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 209s Starting 2 pkgProblemResolver with broken count: 0 209s Done 210s Entering ResolveByKeep 210s 211s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 211s Reading package lists... 212s Building dependency tree... 212s Reading state information... 212s Starting pkgProblemResolver with broken count: 0 212s Starting 2 pkgProblemResolver with broken count: 0 213s Done 214s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 217s autopkgtest [04:20:39]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Feb 4 15:49:33 UTC 2025 218s autopkgtest [04:20:40]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 219s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 219s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 219s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 220s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 220s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 220s gpgv: issuer "kanashiro@ubuntu.com" 220s gpgv: Can't check signature: No public key 220s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 220s autopkgtest [04:20:42]: testing package ruby-warden version 1.2.8-1ubuntu1 220s autopkgtest [04:20:42]: build not needed 221s autopkgtest [04:20:43]: test gem2deb-test-runner: preparing testbed 221s Reading package lists... 222s Building dependency tree... 222s Reading state information... 223s Starting pkgProblemResolver with broken count: 0 223s Starting 2 pkgProblemResolver with broken count: 0 223s Done 224s The following NEW packages will be installed: 224s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-did-you-mean 224s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 224s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 224s ruby-rspec-support ruby-rubygems ruby-sdbm ruby-test-unit ruby-warden 224s ruby-webrick ruby-xmlrpc ruby3.3 rubygems-integration 225s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 225s Need to get 6934 kB of archives. 225s After this operation, 39.4 MB of additional disk space will be used. 225s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 rubygems-integration all 1.18ubuntu1 [5528 B] 225s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 225s Get:3 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-minitest all 5.22.3-1ubuntu1 [48.0 kB] 225s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 225s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-power-assert all 2.0.3-1 [12.0 kB] 225s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-test-unit all 3.6.2-1 [67.0 kB] 225s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 225s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 225s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libruby arm64 1:3.3~ubuntu3 [5038 B] 225s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-sdbm arm64 1.0.0-5build5 [15.5 kB] 225s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libruby3.3 arm64 3.3.6-1.1ubuntu1 [5835 kB] 225s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby3.3 arm64 3.3.6-1.1ubuntu1 [49.1 kB] 225s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 225s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 ruby arm64 1:3.3~ubuntu3 [3618 B] 225s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 rake all 13.2.1-1 [45.8 kB] 225s Get:16 http://ftpmaster.internal/ubuntu plucky/universe arm64 gem2deb-test-runner arm64 2.2.5 [18.3 kB] 225s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 225s Get:18 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 ruby-rack all 3.0.8-4 [79.0 kB] 225s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 225s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 225s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 225s Get:22 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 225s Get:23 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 225s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 226s Fetched 6934 kB in 1s (6941 kB/s) 226s Selecting previously unselected package rubygems-integration. 226s (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 ... 116620 files and directories currently installed.) 226s Preparing to unpack .../00-rubygems-integration_1.18ubuntu1_all.deb ... 226s Unpacking rubygems-integration (1.18ubuntu1) ... 226s Selecting previously unselected package ruby-did-you-mean. 226s Preparing to unpack .../01-ruby-did-you-mean_1.6.3-2_all.deb ... 226s Unpacking ruby-did-you-mean (1.6.3-2) ... 226s Selecting previously unselected package ruby-minitest. 226s Preparing to unpack .../02-ruby-minitest_5.22.3-1ubuntu1_all.deb ... 226s Unpacking ruby-minitest (5.22.3-1ubuntu1) ... 226s Selecting previously unselected package ruby-net-telnet. 226s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 226s Unpacking ruby-net-telnet (0.2.0-1) ... 226s Selecting previously unselected package ruby-power-assert. 226s Preparing to unpack .../04-ruby-power-assert_2.0.3-1_all.deb ... 226s Unpacking ruby-power-assert (2.0.3-1) ... 226s Selecting previously unselected package ruby-test-unit. 226s Preparing to unpack .../05-ruby-test-unit_3.6.2-1_all.deb ... 226s Unpacking ruby-test-unit (3.6.2-1) ... 226s Selecting previously unselected package ruby-webrick. 226s Preparing to unpack .../06-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 226s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 226s Selecting previously unselected package ruby-xmlrpc. 227s Preparing to unpack .../07-ruby-xmlrpc_0.3.3-2_all.deb ... 227s Unpacking ruby-xmlrpc (0.3.3-2) ... 227s Selecting previously unselected package libruby:arm64. 227s Preparing to unpack .../08-libruby_1%3a3.3~ubuntu3_arm64.deb ... 227s Unpacking libruby:arm64 (1:3.3~ubuntu3) ... 227s Selecting previously unselected package ruby-sdbm:arm64. 227s Preparing to unpack .../09-ruby-sdbm_1.0.0-5build5_arm64.deb ... 227s Unpacking ruby-sdbm:arm64 (1.0.0-5build5) ... 227s Selecting previously unselected package libruby3.3:arm64. 227s Preparing to unpack .../10-libruby3.3_3.3.6-1.1ubuntu1_arm64.deb ... 227s Unpacking libruby3.3:arm64 (3.3.6-1.1ubuntu1) ... 227s Selecting previously unselected package ruby3.3. 227s Preparing to unpack .../11-ruby3.3_3.3.6-1.1ubuntu1_arm64.deb ... 227s Unpacking ruby3.3 (3.3.6-1.1ubuntu1) ... 227s Selecting previously unselected package ruby-rubygems. 227s Preparing to unpack .../12-ruby-rubygems_3.4.20-1_all.deb ... 227s Unpacking ruby-rubygems (3.4.20-1) ... 228s Selecting previously unselected package ruby. 228s Preparing to unpack .../13-ruby_1%3a3.3~ubuntu3_arm64.deb ... 228s Unpacking ruby (1:3.3~ubuntu3) ... 228s Selecting previously unselected package rake. 228s Preparing to unpack .../14-rake_13.2.1-1_all.deb ... 228s Unpacking rake (13.2.1-1) ... 228s Selecting previously unselected package gem2deb-test-runner. 228s Preparing to unpack .../15-gem2deb-test-runner_2.2.5_arm64.deb ... 228s Unpacking gem2deb-test-runner (2.2.5) ... 228s Selecting previously unselected package ruby-diff-lcs. 228s Preparing to unpack .../16-ruby-diff-lcs_1.5.1-1_all.deb ... 228s Unpacking ruby-diff-lcs (1.5.1-1) ... 228s Selecting previously unselected package ruby-rack. 228s Preparing to unpack .../17-ruby-rack_3.0.8-4_all.deb ... 228s Unpacking ruby-rack (3.0.8-4) ... 228s Selecting previously unselected package ruby-rspec-support. 228s Preparing to unpack .../18-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 228s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 228s Selecting previously unselected package ruby-rspec-core. 228s Preparing to unpack .../19-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 228s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 228s Selecting previously unselected package ruby-rspec-expectations. 228s Preparing to unpack .../20-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 228s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 228s Selecting previously unselected package ruby-rspec-mocks. 228s Preparing to unpack .../21-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 228s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 228s Selecting previously unselected package ruby-rspec. 228s Preparing to unpack .../22-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 228s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 228s Selecting previously unselected package ruby-warden. 228s Preparing to unpack .../23-ruby-warden_1.2.8-1ubuntu1_all.deb ... 228s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 228s Setting up ruby-power-assert (2.0.3-1) ... 228s Setting up rubygems-integration (1.18ubuntu1) ... 228s Setting up ruby-minitest (5.22.3-1ubuntu1) ... 228s Setting up ruby-test-unit (3.6.2-1) ... 228s Setting up ruby-net-telnet (0.2.0-1) ... 228s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 228s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 228s Setting up ruby-did-you-mean (1.6.3-2) ... 228s Setting up ruby-xmlrpc (0.3.3-2) ... 229s Setting up ruby-rubygems (3.4.20-1) ... 229s Setting up rake (13.2.1-1) ... 229s Setting up libruby:arm64 (1:3.3~ubuntu3) ... 229s Setting up ruby-sdbm:arm64 (1.0.0-5build5) ... 229s Setting up libruby3.3:arm64 (3.3.6-1.1ubuntu1) ... 229s Setting up ruby3.3 (3.3.6-1.1ubuntu1) ... 229s Setting up ruby (1:3.3~ubuntu3) ... 229s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 229s Setting up ruby-diff-lcs (1.5.1-1) ... 229s Setting up ruby-rack (3.0.8-4) ... 229s Setting up gem2deb-test-runner (2.2.5) ... 229s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 229s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 229s Setting up ruby-warden (1.2.8-1ubuntu1) ... 229s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 229s Processing triggers for libc-bin (2.40-4ubuntu1) ... 229s Processing triggers for man-db (2.13.0-1) ... 230s autopkgtest [04:20:52]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 230s autopkgtest [04:20:52]: test gem2deb-test-runner: [----------------------- 231s 231s ┌──────────────────────────────────────────────────────────────────────────────┐ 231s │ Checking Rubygems dependency resolution on ruby3.3 │ 231s └──────────────────────────────────────────────────────────────────────────────┘ 231s 231s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 231s mv lib ./.gem2deb.lib 231s mv Gemfile.lock ./.gem2deb.Gemfile.lock 231s mv ./.gem2deb.lib lib 231s mv ./.gem2deb.Gemfile.lock Gemfile.lock 231s 231s ┌──────────────────────────────────────────────────────────────────────────────┐ 231s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 231s └──────────────────────────────────────────────────────────────────────────────┘ 231s 231s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 231s mv lib ./.gem2deb.lib 231s mv Gemfile.lock ./.gem2deb.Gemfile.lock 231s /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 232s 232s authenticated data store 232s should store data for the default scope 232s should store data for the foo user 232s should store the data separately 232s should clear the foo scoped data when foo logs out 232s should clear out the default data when :default logs out 232s should clear out all data when a general logout is performed 232s should logout multiple persons at once 232s should not store data for a user who is not logged in 232s 232s Warden::Config 232s should behave like a hash 232s should provide hash accessors 232s should allow to read and set default strategies 232s should allow to silence missing strategies 232s should set the default_scope 232s should merge given options on initialization 232s should setup defaults with the scope_defaults method 232s 232s Warden::Proxy::Errors 232s should report that it is empty on first creation 232s should continue to report that it is empty even after being checked 232s should add an error 232s should allow many errors to be added to the same field 232s should give the full messages for an error 232s should return the error for a specific field / label 232s should return nil for a specific field if it's not been set 232s 232s standard authentication hooks 232s after_set_user 232s should allow me to add an after_set_user hook 232s should allow me to add multiple after_set_user hooks 232s should run each after_set_user hook after the user is set 232s should not run the event specified with except 232s should only run the event specified with only 232s should run filters in the given order 232s after_authentication 232s should be a wrapper to after_set_user behavior 232s should not be invoked on default after_set_user scenario 232s should run filters in the given order 232s should allow me to log out a user in an after_set_user block 232s after_fetch 232s should be a wrapper to after_set_user behavior 232s should not be invoked on default after_set_user scenario 232s should not be invoked if fetched user is nil 232s should run filters in the given order 232s after_failed_fetch 232s should not be called when user is fetched 232s should be called if fetched user is nil 232s before_failure 232s should allow me to add a before_failure hook 232s should allow me to add multiple before_failure hooks 232s should run each before_failure hooks before failing 232s should run filters in the given order 232s before_logout 232s should allow me to add an before_logout hook 232s should allow me to add multiple after_authentication hooks 232s should run each before_logout hook before logout is run 232s should run before_logout hook for a specified scope 232s should run filters in the given order 232s on_request 232s should allow me to add an on_request hook 232s should allow me to add multiple on_request hooks 232s should run each on_request hooks when initializing 232s should run filters in the given order 232s should have the proxy on env in on_request 232s should be able to throw in on_request 232s 232s Warden::Manager 232s should insert a Proxy object into the rack env 232s should allow me to set a different default scope for warden 232s should allow me to access strategies through manager 232s thrown auth 232s Failure 232s should respond with a 401 response if the strategy fails authentication 232s should use the failure message given to the failure method 232s should set the message from the winning strategy in warden.options hash 232s should render the failure app when there's a failure 232s should call failure app if warden is thrown even after successful authentication 232s should set the attempted url in warden.options hash 232s should set action in warden.options if overridden 232s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 232s should use the default scopes action when a bare throw is used 232s integrated strategies 232s redirecting 232s should redirect with a message 232s should redirect with a default message 232s should redirect with a permanent redirect 232s should redirect with a content type 232s should redirect with a default content type 232s failing 232s should fail according to the failure app 232s should allow you to customize the response 232s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 232s should render the failure application for a 401 if no custom_failure flag is set 232s custom rack response 232s should return a custom rack response 232s app returns Rack::Response 232s /tmp/autopkgtest.6TQJWX/build.2ui/src/spec/warden/manager_spec.rb:315: warning: Rack::Response#header is deprecated and will be removed in Rack 3.1 232s should return it 232s success 232s should pass through to the application when there is success 232s 232s Warden::Proxy 232s authentication 232s should not check the authentication if it is not checked 232s should check the authentication if it is explicitly checked 232s should not allow the request if incorrect conditions are supplied 232s should allow the request if the correct conditions are supplied 232s should allow authentication in my application 232s should allow me to select which strategies I use in my application 232s should raise error on missing strategies 232s should raise error if the strategy failed 232s should not raise error on missing strategies if silencing 232s should allow me to get access to the user at warden.user. 232s should run strategies when authenticate? is asked 232s should properly send the scope to the strategy 232s should try multiple authentication strategies 232s should look for an active user in the session with authenticate 232s should look for an active user in the session with authenticate? 232s should look for an active user in the session with authenticate! 232s should throw an error when authenticate! 232s should login 2 different users from the session 232s should not authenticate other scopes just because the first is authenticated 232s should renew session when user is set (FAILED - 1) 232s should not renew session when user is fetch (FAILED - 2) 232s authentication cache 232s should run strategies just once for a given scope 232s should run strategies for a given scope several times if cache is cleaned 232s should clear the cache for a specified strategy 232s should run the strategies several times for different scopes 232s should not run strategies until cache is cleaned if latest winning strategy halted 232s should not store user if strategy isn't meant for permanent login 232s set user 232s should store the user into the session 232s should not store the user if the :store option is set to false 232s should not throw error when no session is configured and store is false 232s should not run the callbacks when :run_callbacks is false 232s should run the callbacks when :run_callbacks is true 232s should run the callbacks by default 232s should set renew on rack.session.options 232s should not modify attempt to modify a frozen rack.session.options 232s lock 232s should not run any strategy 232s should keep already authenticated users 232s get user 232s should return nil when not logged in 232s should not run strategies when not logged in 232s should cache unfound user 232s previously logged in 232s should take the user from the session when logged in 232s should cache found user 232s should not run strategies when the user exists in the session 232s run callback option 232s should not call run_callbacks when we pass a :run_callback => false 232s should call run_callbacks when we pass a :run_callback => true 232s should call run_callbacks by default 232s logout 232s should logout only the scoped foo user 232s should logout only the scoped default user 232s should clear the session when no argument is given to logout 232s should not raise exception if raw_session is nil 232s should clear the user when logging out 232s should clear the session data when logging out 232s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 232s messages 232s should allow access to the failure message 232s should allow access to the success message 232s should not die when accessing a message from a source where no authentication has occurred 232s when all strategies are not valid? 232s should return false for authenticated? when there are no valid? strategies 232s should return nil for authenticate when there are no valid strategies 232s should return false for authenticate? when there are no valid strategies 232s should respond with a 401 when authenticate! cannot find any valid strategies 232s authenticated? 232s positive authentication 232s should return true when authenticated in the session 232s should yield to a block when the block is passed and authenticated 232s should authenticate for a user in a different scope 232s negative authentication 232s should return false when authenticated in the session 232s should return false if scope cannot be retrieved from session 232s should not yield to a block when the block is passed and authenticated 232s should not yield for a user in a different scope 232s unauthenticated? 232s negative unauthentication 232s should return false when authenticated in the session 232s should not yield to a block when the block is passed and authenticated 232s should not yield to the block for a user in a different scope 232s positive unauthentication 232s should return false when unauthenticated in the session 232s should yield to a block when the block is passed and authenticated 232s should yield for a user in a different scope 232s attributes 232s should have a config attribute 232s 232s dynamic default_strategies 232s should allow me to change the default strategies on the fly 232s should allow me to append to the default strategies on the fly 232s should allow me to set the default strategies on a per scope basis 232s should allow me to setup default strategies for each scope on the manager 232s should not change the master configurations strategies when I change them 232s default scope options 232s should allow me to set a default action for a given scope 232s should allow me to set store, false on a given scope 232s #asset_request? 232s should return true if PATH_INFO is in asset list 232s should return false if PATH_INFO is not in asset list 232s 232s Warden::SessionSerializer 232s should store data for the default scope 232s should check if a data is stored or not 232s should load an user from store 232s should store data based on the scope 232s should delete data from store 232s should delete information from store if user cannot be retrieved 232s should support a nil session store 232s 232s Warden::Strategies::Base 232s should have a user object 232s should be performed after run 232s should set the scope 232s should allow you to set a message 232s should provide access to the errors 232s headers 232s should have headers 232s should allow us to clear the headers 232s halting 232s should allow you to halt a strategy 232s should not be halted if halt was not called 232s pass 232s should allow you to pass 232s redirect 232s should allow you to set a redirection 232s should mark the strategy as halted when redirecting 232s should escape redirected url parameters 232s should allow you to set a message 232s should set the action as :redirect 232s failure 232s should allow you to fail hard 232s should halt the strategies when failing hard 232s should allow you to set a message when failing hard 232s should set the action as :failure when failing hard 232s should allow you to fail soft 232s should not halt the strategies when failing soft 232s should allow you to set a message when failing soft 232s should set the action as :failure when failing soft 232s success 232s should allow you to succeed 232s should be authenticated after success 232s should allow you to set a message when succeeding 232s should store the user 232s should set the action as :success 232s custom response 232s should allow me to set a custom rack response 232s should halt the strategy 232s should provide access to the custom rack response 232s should set the action as :custom 232s 232s Warden::Strategies 232s should let me add a strategy via a block 232s should raise an error if I add a strategy via a block, that does not have an authenticate! method 232s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 232s should allow me to get access to a particular strategy 232s should allow me to add a strategy with the required methods 232s should not allow a strategy that does not have an authenticate! method 232s should allow me to change a class when providing a block and class 232s should allow me to update a previously given strategy 232s should allow me to clear the strategies 232s 232s Warden::Test::Helpers 232s should log me in as a user 232s should log me in as a user of a given scope 232s should login multiple users with different scopes 232s should log out all users 232s should logout a specific user 232s #asset_paths 232s should default asset_paths to anything asset path regex 232s 232s Warden::Test::Mock 232s should return a valid mocked warden 232s 232s Warden::Test::WardenHelpers 232s is expected to respond to #test_mode! 232s is expected to respond to #on_next_request 232s is expected to respond to #test_reset! 232s should execute the on_next_request block on the next request 232s should execute many on_next_request blocks on the next request 232s should not execute on_next_request blocks on subsequent requests 232s should allow me to set new_on_next_request items to execute in the same test 232s should remove the on_next_request items when test is reset 232s asset requests 232s should not execute on_next_request blocks if this is an asset request 232s 232s Pending: (Failures listed here are expected and do not affect your suite's status) 232s 232s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 232s # Temporarily skipped with xit 232s # ./spec/warden/manager_spec.rb:105 232s 232s Failures: 232s 232s 1) Warden::Proxy authentication should renew session when user is set 232s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 232s 232s NameError: 232s uninitialized constant Rack::Session 232s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 232s 232s 2) Warden::Proxy authentication should not renew session when user is fetch 232s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 232s 232s NameError: 232s uninitialized constant Rack::Session 232s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 232s 232s Finished in 0.37765 seconds (files took 0.29132 seconds to load) 232s 224 examples, 2 failures, 1 pending 232s 232s Failed examples: 232s 232s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 232s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 232s 232s /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 232s mv ./.gem2deb.lib lib 232s mv ./.gem2deb.Gemfile.lock Gemfile.lock 233s autopkgtest [04:20:55]: test gem2deb-test-runner: -----------------------] 233s autopkgtest [04:20:55]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 233s gem2deb-test-runner FAIL non-zero exit status 1 234s autopkgtest [04:20:56]: @@@@@@@@@@@@@@@@@@@@ summary 234s gem2deb-test-runner FAIL non-zero exit status 1 252s nova [W] Using flock in prodstack6-arm64 252s Creating nova instance adt-plucky-arm64-ruby-warden-20250219-041700-juju-7f2275-prod-proposed-migration-environment-15-e7ecb72f-d193-45b8-8caf-75c250d5d781 from image adt/ubuntu-plucky-arm64-server-20250218.img (UUID db1e3557-ca0b-4978-8424-9ef955671030)... 252s nova [W] Timed out waiting for 0f1d6b60-b022-4b1f-966d-857e8210ad89 to get deleted.