0s autopkgtest [13:05:59]: starting date and time: 2025-03-22 13:05:59+0000 0s autopkgtest [13:05:59]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:05:59]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.sbr7dcqv/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_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\n" >> /etc/environment' --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.9-2 -- lxd -r lxd-armhf-10.145.243.234 lxd-armhf-10.145.243.234:autopkgtest/ubuntu/plucky/armhf 20s autopkgtest [13:06:19]: testbed dpkg architecture: armhf 22s autopkgtest [13:06:21]: testbed apt version: 2.9.34 25s autopkgtest [13:06:24]: @@@@@@@@@@@@@@@@@@@@ test bed setup 27s autopkgtest [13:06:26]: testbed release detected to be: None 35s autopkgtest [13:06:34]: updating testbed package index (apt update) 37s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 37s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [265 kB] 38s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [126 kB] 38s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [126 kB] 38s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [288 kB] 38s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 38s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [1232 B] 38s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [29.9 kB] 38s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [38.6 kB] 38s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf c-n-f Metadata [1264 B] 38s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf c-n-f Metadata [116 B] 38s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [177 kB] 38s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf c-n-f Metadata [6520 B] 38s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1712 B] 38s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf c-n-f Metadata [284 B] 38s Get:16 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [297 kB] 38s Get:17 http://ftpmaster.internal/ubuntu plucky/main Sources [1388 kB] 38s Get:18 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 39s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1350 kB] 39s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf c-n-f Metadata [29.3 kB] 39s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.4 MB] 40s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf c-n-f Metadata [277 kB] 40s Get:23 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [172 kB] 44s Fetched 41.1 MB in 6s (6540 kB/s) 45s Reading package lists... 51s autopkgtest [13:06:50]: upgrading testbed (apt dist-upgrade and autopurge) 53s Reading package lists... 53s Building dependency tree... 53s Reading state information... 54s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 54s Starting 2 pkgProblemResolver with broken count: 0 54s Done 55s Entering ResolveByKeep 55s 56s Calculating upgrade... 56s The following packages will be upgraded: 56s python3-dateutil 56s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 80.3 kB of archives. 56s After this operation, 0 B of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-dateutil all 2.9.0-4 [80.3 kB] 57s Fetched 80.3 kB in 0s (222 kB/s) 57s (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 ... 63958 files and directories currently installed.) 57s Preparing to unpack .../python3-dateutil_2.9.0-4_all.deb ... 57s Unpacking python3-dateutil (2.9.0-4) over (2.9.0-3) ... 57s Setting up python3-dateutil (2.9.0-4) ... 59s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Starting pkgProblemResolver with broken count: 0 61s Starting 2 pkgProblemResolver with broken count: 0 61s Done 61s Solving dependencies... 62s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s autopkgtest [13:07:03]: rebooting testbed after setup commands that affected boot 107s autopkgtest [13:07:46]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 133s autopkgtest [13:08:12]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-warden 143s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (dsc) [2214 B] 143s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (tar) [29.8 kB] 143s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ruby-warden 1.2.8-1ubuntu1 (diff) [3384 B] 143s gpgv: Signature made Sun Sep 8 18:13:26 2024 UTC 143s gpgv: using RSA key 8ED6C3F8BAC9DB7FC130A870F823A2729883C97C 143s gpgv: issuer "kanashiro@ubuntu.com" 143s gpgv: Can't check signature: No public key 143s dpkg-source: warning: cannot verify inline signature for ./ruby-warden_1.2.8-1ubuntu1.dsc: no acceptable signature found 143s autopkgtest [13:08:22]: testing package ruby-warden version 1.2.8-1ubuntu1 145s autopkgtest [13:08:24]: build not needed 147s autopkgtest [13:08:26]: test gem2deb-test-runner: preparing testbed 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 149s Starting pkgProblemResolver with broken count: 0 150s Starting 2 pkgProblemResolver with broken count: 0 150s Done 151s The following NEW packages will be installed: 151s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-did-you-mean 151s ruby-diff-lcs ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack 151s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 151s ruby-rspec-support ruby-rubygems ruby-test-unit ruby-warden ruby-webrick 151s ruby-xmlrpc ruby3.3 rubygems-integration 151s 0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 6752 kB of archives. 151s After this operation, 37.5 MB of additional disk space will be used. 151s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf rubygems-integration all 1.19 [5550 B] 151s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-did-you-mean all 1.6.3-2 [14.8 kB] 151s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 151s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-net-telnet all 0.2.0-1 [13.3 kB] 151s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-power-assert all 2.0.3-1 [12.0 kB] 151s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 151s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 151s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-xmlrpc all 0.3.3-2 [24.8 kB] 151s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libruby3.3 armhf 3.3.7-1ubuntu2 [5573 kB] 159s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf ruby3.3 armhf 3.3.7-1ubuntu2 [49.0 kB] 159s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libruby armhf 1:3.3~ubuntu3 [5038 B] 159s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf ruby-rubygems all 3.6.3-1 [332 kB] 159s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf ruby armhf 1:3.3~ubuntu3 [3618 B] 159s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf rake all 13.2.1-1 [45.8 kB] 159s Get:15 http://ftpmaster.internal/ubuntu plucky/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 159s Get:16 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-diff-lcs all 1.5.1-1 [22.8 kB] 159s Get:17 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf ruby-rack all 3.1.9-2 [79.3 kB] 159s Get:18 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 159s Get:19 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 159s Get:20 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 160s Get:21 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 160s Get:22 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 160s Get:23 http://ftpmaster.internal/ubuntu plucky/universe armhf ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 160s Fetched 6752 kB in 9s (751 kB/s) 160s Selecting previously unselected package rubygems-integration. 160s (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 ... 63958 files and directories currently installed.) 160s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 160s Unpacking rubygems-integration (1.19) ... 160s Selecting previously unselected package ruby-did-you-mean. 160s Preparing to unpack .../01-ruby-did-you-mean_1.6.3-2_all.deb ... 160s Unpacking ruby-did-you-mean (1.6.3-2) ... 160s Selecting previously unselected package ruby-minitest. 160s Preparing to unpack .../02-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 160s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 160s Selecting previously unselected package ruby-net-telnet. 160s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 160s Unpacking ruby-net-telnet (0.2.0-1) ... 160s Selecting previously unselected package ruby-power-assert. 160s Preparing to unpack .../04-ruby-power-assert_2.0.3-1_all.deb ... 160s Unpacking ruby-power-assert (2.0.3-1) ... 160s Selecting previously unselected package ruby-test-unit. 160s Preparing to unpack .../05-ruby-test-unit_3.6.2-1_all.deb ... 160s Unpacking ruby-test-unit (3.6.2-1) ... 160s Selecting previously unselected package ruby-webrick. 160s Preparing to unpack .../06-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 160s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 161s Selecting previously unselected package ruby-xmlrpc. 161s Preparing to unpack .../07-ruby-xmlrpc_0.3.3-2_all.deb ... 161s Unpacking ruby-xmlrpc (0.3.3-2) ... 161s Selecting previously unselected package libruby3.3:armhf. 161s Preparing to unpack .../08-libruby3.3_3.3.7-1ubuntu2_armhf.deb ... 161s Unpacking libruby3.3:armhf (3.3.7-1ubuntu2) ... 161s Selecting previously unselected package ruby3.3. 161s Preparing to unpack .../09-ruby3.3_3.3.7-1ubuntu2_armhf.deb ... 161s Unpacking ruby3.3 (3.3.7-1ubuntu2) ... 161s Selecting previously unselected package libruby:armhf. 161s Preparing to unpack .../10-libruby_1%3a3.3~ubuntu3_armhf.deb ... 161s Unpacking libruby:armhf (1:3.3~ubuntu3) ... 161s Selecting previously unselected package ruby-rubygems. 161s Preparing to unpack .../11-ruby-rubygems_3.6.3-1_all.deb ... 161s Unpacking ruby-rubygems (3.6.3-1) ... 161s Selecting previously unselected package ruby. 161s Preparing to unpack .../12-ruby_1%3a3.3~ubuntu3_armhf.deb ... 161s Unpacking ruby (1:3.3~ubuntu3) ... 161s Selecting previously unselected package rake. 161s Preparing to unpack .../13-rake_13.2.1-1_all.deb ... 161s Unpacking rake (13.2.1-1) ... 161s Selecting previously unselected package gem2deb-test-runner. 161s Preparing to unpack .../14-gem2deb-test-runner_2.2.5_armhf.deb ... 161s Unpacking gem2deb-test-runner (2.2.5) ... 161s Selecting previously unselected package ruby-diff-lcs. 161s Preparing to unpack .../15-ruby-diff-lcs_1.5.1-1_all.deb ... 161s Unpacking ruby-diff-lcs (1.5.1-1) ... 161s Selecting previously unselected package ruby-rack. 161s Preparing to unpack .../16-ruby-rack_3.1.9-2_all.deb ... 161s Unpacking ruby-rack (3.1.9-2) ... 161s Selecting previously unselected package ruby-rspec-support. 161s Preparing to unpack .../17-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 161s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 161s Selecting previously unselected package ruby-rspec-core. 161s Preparing to unpack .../18-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 161s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 162s Selecting previously unselected package ruby-rspec-expectations. 162s Preparing to unpack .../19-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 162s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 162s Selecting previously unselected package ruby-rspec-mocks. 162s Preparing to unpack .../20-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 162s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 162s Selecting previously unselected package ruby-rspec. 162s Preparing to unpack .../21-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 162s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 162s Selecting previously unselected package ruby-warden. 162s Preparing to unpack .../22-ruby-warden_1.2.8-1ubuntu1_all.deb ... 162s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 162s Setting up ruby-power-assert (2.0.3-1) ... 162s Setting up rubygems-integration (1.19) ... 162s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 162s Setting up ruby-test-unit (3.6.2-1) ... 162s Setting up ruby-net-telnet (0.2.0-1) ... 162s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 162s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 162s Setting up ruby-did-you-mean (1.6.3-2) ... 162s Setting up ruby-xmlrpc (0.3.3-2) ... 162s Setting up ruby-rubygems (3.6.3-1) ... 162s Setting up rake (13.2.1-1) ... 162s Setting up ruby3.3 (3.3.7-1ubuntu2) ... 162s Setting up libruby3.3:armhf (3.3.7-1ubuntu2) ... 162s Setting up libruby:armhf (1:3.3~ubuntu3) ... 162s Setting up ruby (1:3.3~ubuntu3) ... 162s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 162s Setting up ruby-diff-lcs (1.5.1-1) ... 162s Setting up ruby-rack (3.1.9-2) ... 162s Setting up gem2deb-test-runner (2.2.5) ... 162s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 162s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 162s Setting up ruby-warden (1.2.8-1ubuntu1) ... 162s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 162s Processing triggers for libc-bin (2.41-1ubuntu2) ... 162s Processing triggers for man-db (2.13.0-1) ... 171s autopkgtest [13:08:50]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 171s autopkgtest [13:08:50]: test gem2deb-test-runner: [----------------------- 173s 173s ┌──────────────────────────────────────────────────────────────────────────────┐ 173s │ Checking Rubygems dependency resolution on ruby3.3 │ 173s └──────────────────────────────────────────────────────────────────────────────┘ 173s 173s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"warden\" 173s mv lib ./.gem2deb.lib 173s mv Gemfile.lock ./.gem2deb.Gemfile.lock 173s mv ./.gem2deb.lib lib 173s mv ./.gem2deb.Gemfile.lock Gemfile.lock 173s 173s ┌──────────────────────────────────────────────────────────────────────────────┐ 173s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 173s └──────────────────────────────────────────────────────────────────────────────┘ 173s 173s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 173s mv lib ./.gem2deb.lib 173s mv Gemfile.lock ./.gem2deb.Gemfile.lock 173s /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 174s 174s authenticated data store 174s should store data for the default scope 174s should store data for the foo user 174s should store the data separately 174s should clear the foo scoped data when foo logs out 174s should clear out the default data when :default logs out 174s should clear out all data when a general logout is performed 174s should logout multiple persons at once 174s should not store data for a user who is not logged in 174s 174s Warden::Config 174s should behave like a hash 174s should provide hash accessors 174s should allow to read and set default strategies 174s should allow to silence missing strategies 174s should set the default_scope 174s should merge given options on initialization 174s should setup defaults with the scope_defaults method 174s 174s Warden::Proxy::Errors 174s should report that it is empty on first creation 174s should continue to report that it is empty even after being checked 174s should add an error 174s should allow many errors to be added to the same field 174s should give the full messages for an error 174s should return the error for a specific field / label 174s should return nil for a specific field if it's not been set 174s 174s standard authentication hooks 174s after_set_user 174s should allow me to add an after_set_user hook 174s should allow me to add multiple after_set_user hooks 174s should run each after_set_user hook after the user is set 174s should not run the event specified with except 174s should only run the event specified with only 174s should run filters in the given order 174s after_authentication 174s should be a wrapper to after_set_user behavior 174s should not be invoked on default after_set_user scenario 174s should run filters in the given order 174s should allow me to log out a user in an after_set_user block 174s after_fetch 174s should be a wrapper to after_set_user behavior 174s should not be invoked on default after_set_user scenario 174s should not be invoked if fetched user is nil 174s should run filters in the given order 174s after_failed_fetch 174s should not be called when user is fetched 174s should be called if fetched user is nil 174s before_failure 174s should allow me to add a before_failure hook 174s should allow me to add multiple before_failure hooks 174s should run each before_failure hooks before failing 174s should run filters in the given order 174s before_logout 174s should allow me to add an before_logout hook 174s should allow me to add multiple after_authentication hooks 174s should run each before_logout hook before logout is run 174s should run before_logout hook for a specified scope 174s should run filters in the given order 174s on_request 174s should allow me to add an on_request hook 174s should allow me to add multiple on_request hooks 174s should run each on_request hooks when initializing 174s should run filters in the given order 174s should have the proxy on env in on_request 174s should be able to throw in on_request 174s 174s Warden::Manager 174s should insert a Proxy object into the rack env 174s should allow me to set a different default scope for warden 174s should allow me to access strategies through manager 174s thrown auth 174s Failure 174s should respond with a 401 response if the strategy fails authentication 174s should use the failure message given to the failure method 174s should set the message from the winning strategy in warden.options hash 174s should render the failure app when there's a failure 174s should call failure app if warden is thrown even after successful authentication 174s should set the attempted url in warden.options hash 174s should set action in warden.options if overridden 174s should catch a resubmitted request (PENDING: Temporarily skipped with xit) 174s should use the default scopes action when a bare throw is used 174s integrated strategies 174s redirecting 174s should redirect with a message 174s should redirect with a default message 174s should redirect with a permanent redirect 174s should redirect with a content type 174s should redirect with a default content type 174s failing 174s should fail according to the failure app 174s should allow you to customize the response 174s should allow you to customize the response without the explicit call to custom_failure! if not intercepting 401 174s should render the failure application for a 401 if no custom_failure flag is set 174s custom rack response 174s should return a custom rack response 174s app returns Rack::Response 174s should return it (FAILED - 1) 174s success 174s should pass through to the application when there is success 174s 174s Warden::Proxy 174s authentication 174s should not check the authentication if it is not checked 174s should check the authentication if it is explicitly checked 174s should not allow the request if incorrect conditions are supplied 174s should allow the request if the correct conditions are supplied 174s should allow authentication in my application 174s should allow me to select which strategies I use in my application 174s should raise error on missing strategies 174s should raise error if the strategy failed 174s should not raise error on missing strategies if silencing 174s should allow me to get access to the user at warden.user. 174s should run strategies when authenticate? is asked 174s should properly send the scope to the strategy 174s should try multiple authentication strategies 174s should look for an active user in the session with authenticate 174s should look for an active user in the session with authenticate? 174s should look for an active user in the session with authenticate! 174s should throw an error when authenticate! 174s should login 2 different users from the session 174s should not authenticate other scopes just because the first is authenticated 174s should renew session when user is set (FAILED - 2) 174s should not renew session when user is fetch (FAILED - 3) 174s authentication cache 174s should run strategies just once for a given scope 174s should run strategies for a given scope several times if cache is cleaned 174s should clear the cache for a specified strategy 174s should run the strategies several times for different scopes 174s should not run strategies until cache is cleaned if latest winning strategy halted 174s should not store user if strategy isn't meant for permanent login 174s set user 174s should store the user into the session 174s should not store the user if the :store option is set to false 174s should not throw error when no session is configured and store is false 174s should not run the callbacks when :run_callbacks is false 174s should run the callbacks when :run_callbacks is true 174s should run the callbacks by default 174s should set renew on rack.session.options 174s should not modify attempt to modify a frozen rack.session.options 174s lock 174s should not run any strategy 174s should keep already authenticated users 174s get user 174s should return nil when not logged in 174s should not run strategies when not logged in 174s should cache unfound user 174s previously logged in 174s should take the user from the session when logged in 174s should cache found user 174s should not run strategies when the user exists in the session 174s run callback option 174s should not call run_callbacks when we pass a :run_callback => false 174s should call run_callbacks when we pass a :run_callback => true 174s should call run_callbacks by default 174s logout 174s should logout only the scoped foo user 174s should logout only the scoped default user 174s should clear the session when no argument is given to logout 174s should not raise exception if raw_session is nil 174s should clear the user when logging out 174s should clear the session data when logging out 174s should clear out the session by calling reset_session! so that plugins can setup their own session clearing 174s messages 174s should allow access to the failure message 174s should allow access to the success message 174s should not die when accessing a message from a source where no authentication has occurred 174s when all strategies are not valid? 174s should return false for authenticated? when there are no valid? strategies 174s should return nil for authenticate when there are no valid strategies 174s should return false for authenticate? when there are no valid strategies 174s should respond with a 401 when authenticate! cannot find any valid strategies 174s authenticated? 174s positive authentication 174s should return true when authenticated in the session 174s should yield to a block when the block is passed and authenticated 174s should authenticate for a user in a different scope 174s negative authentication 174s should return false when authenticated in the session 174s should return false if scope cannot be retrieved from session 174s should not yield to a block when the block is passed and authenticated 174s should not yield for a user in a different scope 174s unauthenticated? 174s negative unauthentication 174s should return false when authenticated in the session 174s should not yield to a block when the block is passed and authenticated 174s should not yield to the block for a user in a different scope 174s positive unauthentication 174s should return false when unauthenticated in the session 174s should yield to a block when the block is passed and authenticated 174s should yield for a user in a different scope 174s attributes 174s should have a config attribute 174s 174s dynamic default_strategies 174s should allow me to change the default strategies on the fly 174s should allow me to append to the default strategies on the fly 174s should allow me to set the default strategies on a per scope basis 174s should allow me to setup default strategies for each scope on the manager 174s should not change the master configurations strategies when I change them 174s default scope options 174s should allow me to set a default action for a given scope 174s should allow me to set store, false on a given scope 174s #asset_request? 174s should return true if PATH_INFO is in asset list 174s should return false if PATH_INFO is not in asset list 174s 174s Warden::SessionSerializer 174s should store data for the default scope 174s should check if a data is stored or not 174s should load an user from store 174s should store data based on the scope 174s should delete data from store 174s should delete information from store if user cannot be retrieved 174s should support a nil session store 174s 174s Warden::Strategies::Base 174s should have a user object 174s should be performed after run 174s should set the scope 174s should allow you to set a message 174s should provide access to the errors 174s headers 174s should have headers 174s should allow us to clear the headers 174s halting 174s should allow you to halt a strategy 174s should not be halted if halt was not called 174s pass 174s should allow you to pass 174s redirect 174s should allow you to set a redirection 174s should mark the strategy as halted when redirecting 174s should escape redirected url parameters 174s should allow you to set a message 174s should set the action as :redirect 174s failure 174s should allow you to fail hard 174s should halt the strategies when failing hard 174s should allow you to set a message when failing hard 174s should set the action as :failure when failing hard 174s should allow you to fail soft 174s should not halt the strategies when failing soft 174s should allow you to set a message when failing soft 174s should set the action as :failure when failing soft 174s success 174s should allow you to succeed 174s should be authenticated after success 174s should allow you to set a message when succeeding 174s should store the user 174s should set the action as :success 174s custom response 174s should allow me to set a custom rack response 174s should halt the strategy 174s should provide access to the custom rack response 174s should set the action as :custom 174s 174s Warden::Strategies 174s should let me add a strategy via a block 174s should raise an error if I add a strategy via a block, that does not have an authenticate! method 174s should raise an error if I add a strategy that does not extend Warden::Strategies::Base 174s should allow me to get access to a particular strategy 174s should allow me to add a strategy with the required methods 174s should not allow a strategy that does not have an authenticate! method 174s should allow me to change a class when providing a block and class 174s should allow me to update a previously given strategy 174s should allow me to clear the strategies 174s 174s Warden::Test::Helpers 174s should log me in as a user 174s should log me in as a user of a given scope 174s should login multiple users with different scopes 174s should log out all users 174s should logout a specific user 174s #asset_paths 174s should default asset_paths to anything asset path regex 174s 174s Warden::Test::Mock 174s should return a valid mocked warden 174s 174s Warden::Test::WardenHelpers 174s is expected to respond to #test_mode! 174s is expected to respond to #on_next_request 174s is expected to respond to #test_reset! 174s should execute the on_next_request block on the next request 174s should execute many on_next_request blocks on the next request 174s should not execute on_next_request blocks on subsequent requests 174s should allow me to set new_on_next_request items to execute in the same test 174s should remove the on_next_request items when test is reset 174s asset requests 174s should not execute on_next_request blocks if this is an asset request 174s 174s Pending: (Failures listed here are expected and do not affect your suite's status) 174s 174s 1) Warden::Manager thrown auth Failure should catch a resubmitted request 174s # Temporarily skipped with xit 174s # ./spec/warden/manager_spec.rb:105 174s 174s Failures: 174s 174s 1) Warden::Manager integrated strategies app returns Rack::Response should return it 174s Failure/Error: expect(result.header['Content-Type']).to eq('text/plain') 174s 174s NoMethodError: 174s undefined method `header' for an instance of Rack::Response 174s # ./spec/warden/manager_spec.rb:315:in `block (4 levels) in ' 174s 174s 2) Warden::Proxy authentication should renew session when user is set 174s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 174s 174s NameError: 174s uninitialized constant Rack::Session 174s # ./spec/warden/proxy_spec.rb:216:in `block (3 levels) in ' 174s 174s 3) Warden::Proxy authentication should not renew session when user is fetch 174s Failure/Error: app = setup_rack(app, :session => Rack::Session::Pool).to_app 174s 174s NameError: 174s uninitialized constant Rack::Session 174s # ./spec/warden/proxy_spec.rb:253:in `block (3 levels) in ' 174s 174s Finished in 0.21193 seconds (files took 0.19978 seconds to load) 174s 224 examples, 3 failures, 1 pending 174s 174s Failed examples: 174s 174s rspec ./spec/warden/manager_spec.rb:306 # Warden::Manager integrated strategies app returns Rack::Response should return it 174s rspec ./spec/warden/proxy_spec.rb:204 # Warden::Proxy authentication should renew session when user is set 174s rspec ./spec/warden/proxy_spec.rb:243 # Warden::Proxy authentication should not renew session when user is fetch 174s 174s /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 174s mv ./.gem2deb.lib lib 174s mv ./.gem2deb.Gemfile.lock Gemfile.lock 175s autopkgtest [13:08:53]: test gem2deb-test-runner: -----------------------] 178s autopkgtest [13:08:57]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 178s gem2deb-test-runner FAIL non-zero exit status 1 182s autopkgtest [13:09:01]: @@@@@@@@@@@@@@@@@@@@ summary 182s gem2deb-test-runner FAIL non-zero exit status 1