0s autopkgtest [14:52:43]: starting date and time: 2025-06-19 14:52:43+0000 0s autopkgtest [14:52:43]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [14:52:43]: host juju-7f2275-prod-proposed-migration-environment-23; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.3ce6khzz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:rails,src:ruby-attr-encrypted --apt-upgrade ruby-devise-two-factor --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=rails/2:7.2.2.1+dfsg-7 ruby-attr-encrypted/4.1.0-1ubuntu1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-23@sto01-ppc64el-21.secgroup --name adt-questing-ppc64el-ruby-devise-two-factor-20250619-145243-juju-7f2275-prod-proposed-migration-environment-23-0dfc9ac7-33ec-4120-8e5b-4c38b284ae51 --image adt/ubuntu-questing-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-23 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 103s autopkgtest [14:54:26]: testbed dpkg architecture: ppc64el 103s autopkgtest [14:54:26]: testbed apt version: 3.1.2 104s autopkgtest [14:54:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 104s autopkgtest [14:54:27]: testbed release detected to be: None 104s autopkgtest [14:54:27]: updating testbed package index (apt update) 104s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 105s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 105s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 105s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 105s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [426 kB] 105s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [17.4 kB] 105s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 105s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [4716 B] 105s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [66.7 kB] 105s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el Packages [724 B] 105s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [340 kB] 105s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [6448 B] 105s Fetched 1149 kB in 0s (2368 kB/s) 106s Reading package lists... 106s autopkgtest [14:54:29]: upgrading testbed (apt dist-upgrade and autopurge) 106s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Calculating upgrade... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s Solving dependencies... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 109s autopkgtest [14:54:32]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 110s autopkgtest [14:54:33]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-devise-two-factor 111s Get:1 http://ftpmaster.internal/ubuntu questing/universe ruby-devise-two-factor 4.0.2-1 (dsc) [2308 B] 111s Get:2 http://ftpmaster.internal/ubuntu questing/universe ruby-devise-two-factor 4.0.2-1 (tar) [21.9 kB] 111s Get:3 http://ftpmaster.internal/ubuntu questing/universe ruby-devise-two-factor 4.0.2-1 (diff) [3708 B] 111s gpgv: Signature made Fri Apr 1 17:34:50 2022 UTC 111s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 111s gpgv: Can't check signature: No public key 111s dpkg-source: warning: cannot verify inline signature for ./ruby-devise-two-factor_4.0.2-1.dsc: no acceptable signature found 111s autopkgtest [14:54:34]: testing package ruby-devise-two-factor version 4.0.2-1 111s autopkgtest [14:54:34]: build not needed 112s autopkgtest [14:54:35]: test gem2deb-test-runner: preparing testbed 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Solving dependencies... 112s Some packages could not be installed. This may mean that you have 112s requested an impossible situation or if you are using the unstable 112s distribution that some required packages have not yet been created 112s or been moved out of Incoming. 112s The following information may help to resolve the situation: 112s 112s The following packages have unmet dependencies: 112s satisfy:command-line : Depends: ruby-devise-two-factor but it is not going to be installed 112s Depends: rake but it is not going to be installed 112s Depends: ruby-activemodel but it is not going to be installed 112s Depends: ruby-activesupport but it is not going to be installed 112s Depends: ruby-attr-encrypted (>= 3.0.0~) but it is not going to be installed 112s Depends: ruby-devise (>= 4.0~) but it is not going to be installed 112s Depends: ruby-faker but it is not going to be installed 112s Depends: ruby-railties but it is not going to be installed 112s Depends: ruby-rotp (>= 6.0~) but it is not going to be installed 112s Depends: ruby-rspec but it is not going to be installed 112s Depends: ruby-timecop but it is not going to be installed 112s Depends: gem2deb-test-runner but it is not going to be installed 112s E: Unable to satisfy dependencies. Reached two conflicting decisions: 112s 1. ruby-railties:ppc64el is selected for install because: 112s 1. satisfy:command-line:ppc64el=1 is selected for install 112s 2. satisfy:command-line:ppc64el Depends ruby-railties 112s 2. ruby-railties:ppc64el is available in versions 2:7.2.2.1+dfsg-7, 2:6.1.7.3+dfsg-7 112s but none of the choices are installable: 112s - ruby-railties:ppc64el=2:7.2.2.1+dfsg-7 Depends ruby-rackup 112s but none of the choices are installable: 112s - ruby-rackup:ppc64el is not selected for install because: 112s 1. satisfy:command-line:ppc64el=1 is selected for install as above 112s 2. satisfy:command-line:ppc64el Depends ruby-devise (>= 4.0~) 112s 3. ruby-devise:ppc64el Depends ruby-warden (>= 1.2.3) 112s 4. ruby-warden:ppc64el Depends ruby-rack 112s 5. ruby-rack:ppc64el is available in versions 2.2.7-1.1, 3.1.12-1 112s [selected ruby-rack:ppc64el=2.2.7-1.1 for install] 112s 6. ruby-rackup:ppc64el Breaks ruby-rack (< 3~) 112s For context, additional choices that could not be installed: 112s * In ruby-rack:ppc64el is available in versions 2.2.7-1.1, 3.1.12-1: 112s - ruby-rack:ppc64el=3.1.12-1 is not selected for install 112s - ruby-railties:ppc64el=2:6.1.7.3+dfsg-7 is not selected for install 112s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from questing-proposed 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Solving dependencies... 113s The following NEW packages will be installed: 113s gem2deb-test-runner libjs-jquery libruby libruby3.3 libxslt1.1 racc rake 113s ruby ruby-actionpack ruby-actionview ruby-activemodel ruby-activesupport 113s ruby-attr-encrypted ruby-base64 ruby-bcrypt ruby-builder ruby-concurrent 113s ruby-connection-pool ruby-crass ruby-csv ruby-devise ruby-devise-two-factor 113s ruby-did-you-mean ruby-diff-lcs ruby-encryptor ruby-erubi ruby-faker 113s ruby-i18n ruby-loofah ruby-method-source ruby-mini-portile2 ruby-minitest 113s ruby-net-telnet ruby-nokogiri ruby-orm-adapter ruby-pkg-config 113s ruby-power-assert ruby-rack ruby-rack-session ruby-rack-test ruby-rackup 113s ruby-rails-dom-testing ruby-rails-html-sanitizer ruby-railties 113s ruby-responders ruby-rotp ruby-rspec ruby-rspec-core ruby-rspec-expectations 113s ruby-rspec-mocks ruby-rspec-support ruby-ruby2-keywords ruby-rubygems 113s ruby-test-unit ruby-thor ruby-timecop ruby-tzinfo ruby-useragent ruby-warden 113s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.3 rubygems-integration 113s 0 upgraded, 64 newly installed, 0 to remove and 45 not upgraded. 113s Need to get 11.3 MB of archives. 113s After this operation, 60.1 MB of additional disk space will be used. 113s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el rubygems-integration all 1.19 [5550 B] 113s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-csv all 3.3.4-1 [43.0 kB] 113s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-did-you-mean all 1.6.3-2 [14.8 kB] 113s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 113s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-ruby2-keywords all 0.0.5-1 [4280 B] 113s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-webrick all 1.9.1-1 [60.8 kB] 113s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-xmlrpc all 0.3.3-2 [24.8 kB] 113s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libruby3.3 ppc64el 3.3.8-2ubuntu1 [6293 kB] 113s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby3.3 ppc64el 3.3.8-2ubuntu1 [49.0 kB] 113s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libruby ppc64el 1:3.3 [5172 B] 113s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el ruby-rubygems all 3.6.7-2 [332 kB] 113s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby ppc64el 1:3.3 [3666 B] 113s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el rake all 13.2.1-1 [45.8 kB] 113s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 113s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-power-assert all 2.0.3-1 [12.0 kB] 113s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-test-unit all 3.6.2-1 [67.0 kB] 113s Get:17 http://ftpmaster.internal/ubuntu questing/universe ppc64el gem2deb-test-runner ppc64el 2.2.5 [18.3 kB] 113s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 113s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el libxslt1.1 ppc64el 1.1.43-0exp1 [184 kB] 113s Get:20 http://ftpmaster.internal/ubuntu questing/universe ppc64el racc all 1.8.1-1 [71.3 kB] 113s Get:21 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-concurrent all 1.3.4-1 [283 kB] 113s Get:22 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-i18n all 1.14.7-1 [42.8 kB] 113s Get:23 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-tzinfo all 2.0.6-1 [55.2 kB] 113s Get:24 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-connection-pool all 2.4.1-1 [8876 B] 113s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el ruby-base64 all 0.2.0-2 [7168 B] 113s Get:26 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-activesupport all 2:7.2.2.1+dfsg-7 [224 kB] 113s Get:27 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-builder all 3.2.4-2 [17.1 kB] 113s Get:28 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-erubi all 1.12.0-1 [9230 B] 113s Get:29 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 113s Get:30 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-pkg-config all 1.5.9-1 [8710 B] 113s Get:31 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-nokogiri ppc64el 1.18.2+dfsg-1build1 [280 kB] 113s Get:32 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rails-dom-testing all 2.2.0-1 [11.8 kB] 113s Get:33 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-crass all 1.0.6-1ubuntu1 [16.0 kB] 113s Get:34 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-loofah all 2.24.1-1 [26.2 kB] 113s Get:35 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-rails-html-sanitizer all 1.6.2-1 [12.5 kB] 113s Get:36 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-actionview all 2:7.2.2.1+dfsg-7 [164 kB] 113s Get:37 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el ruby-rack all 3.1.12-1 [79.3 kB] 113s Get:38 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-rack-session all 2.1.1-0maysync1 [12.8 kB] 113s Get:39 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rack-test all 2.2.0-1 [14.4 kB] 113s Get:40 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-useragent all 0.16.8-1.1 [12.0 kB] 113s Get:41 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-actionpack all 2:7.2.2.1+dfsg-7 [210 kB] 113s Get:42 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-activemodel all 2:7.2.2.1+dfsg-7 [68.6 kB] 113s Get:43 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-encryptor all 3.0.0-2 [8676 B] 113s Get:44 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-attr-encrypted all 4.1.0-1ubuntu1 [16.7 kB] 113s Get:45 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-bcrypt ppc64el 3.1.20-1 [40.1 kB] 113s Get:46 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-orm-adapter all 0.5.0-2.1ubuntu1 [7846 B] 113s Get:47 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-method-source all 1.1.0-1 [8502 B] 113s Get:48 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-rackup all 2.1.0-4 [13.0 kB] 113s Get:49 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-thor all 1.3.2-2.1 [50.3 kB] 113s Get:50 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-zeitwerk all 2.6.8-1 [36.0 kB] 113s Get:51 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el ruby-railties all 2:7.2.2.1+dfsg-7 [162 kB] 113s Get:52 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-responders all 3.0.1-2 [18.5 kB] 113s Get:53 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 113s Get:54 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-devise all 4.9.3-1 [93.8 kB] 113s Get:55 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rotp all 6.2.0-2 [38.4 kB] 113s Get:56 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-devise-two-factor all 4.0.2-1 [14.5 kB] 113s Get:57 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-diff-lcs all 1.5.1-1 [22.8 kB] 113s Get:58 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-faker all 2.21.0-1.1 [1129 kB] 113s Get:59 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 113s Get:60 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 113s Get:61 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 113s Get:62 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 113s Get:63 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 113s Get:64 http://ftpmaster.internal/ubuntu questing/universe ppc64el ruby-timecop all 0.9.10-1.1 [11.5 kB] 114s Fetched 11.3 MB in 1s (18.0 MB/s) 114s Selecting previously unselected package rubygems-integration. 114s (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 ... 79652 files and directories currently installed.) 114s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 114s Unpacking rubygems-integration (1.19) ... 114s Selecting previously unselected package ruby-csv. 114s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 114s Unpacking ruby-csv (3.3.4-1) ... 114s Selecting previously unselected package ruby-did-you-mean. 114s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2_all.deb ... 114s Unpacking ruby-did-you-mean (1.6.3-2) ... 114s Selecting previously unselected package ruby-net-telnet. 114s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 114s Unpacking ruby-net-telnet (0.2.0-1) ... 114s Selecting previously unselected package ruby-ruby2-keywords. 114s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1_all.deb ... 114s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 114s Selecting previously unselected package ruby-webrick. 114s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 114s Unpacking ruby-webrick (1.9.1-1) ... 114s Selecting previously unselected package ruby-xmlrpc. 114s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2_all.deb ... 114s Unpacking ruby-xmlrpc (0.3.3-2) ... 114s Selecting previously unselected package libruby3.3:ppc64el. 114s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu1_ppc64el.deb ... 114s Unpacking libruby3.3:ppc64el (3.3.8-2ubuntu1) ... 115s Selecting previously unselected package ruby3.3. 115s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu1_ppc64el.deb ... 115s Unpacking ruby3.3 (3.3.8-2ubuntu1) ... 115s Selecting previously unselected package libruby:ppc64el. 115s Preparing to unpack .../09-libruby_1%3a3.3_ppc64el.deb ... 115s Unpacking libruby:ppc64el (1:3.3) ... 115s Selecting previously unselected package ruby-rubygems. 115s Preparing to unpack .../10-ruby-rubygems_3.6.7-2_all.deb ... 115s Unpacking ruby-rubygems (3.6.7-2) ... 115s Selecting previously unselected package ruby. 115s Preparing to unpack .../11-ruby_1%3a3.3_ppc64el.deb ... 115s Unpacking ruby (1:3.3) ... 115s Selecting previously unselected package rake. 115s Preparing to unpack .../12-rake_13.2.1-1_all.deb ... 115s Unpacking rake (13.2.1-1) ... 115s Selecting previously unselected package ruby-minitest. 115s Preparing to unpack .../13-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 115s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 115s Selecting previously unselected package ruby-power-assert. 115s Preparing to unpack .../14-ruby-power-assert_2.0.3-1_all.deb ... 115s Unpacking ruby-power-assert (2.0.3-1) ... 115s Selecting previously unselected package ruby-test-unit. 115s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 115s Unpacking ruby-test-unit (3.6.2-1) ... 115s Selecting previously unselected package gem2deb-test-runner. 115s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_ppc64el.deb ... 115s Unpacking gem2deb-test-runner (2.2.5) ... 115s Selecting previously unselected package libjs-jquery. 115s Preparing to unpack .../17-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 115s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 115s Selecting previously unselected package libxslt1.1:ppc64el. 115s Preparing to unpack .../18-libxslt1.1_1.1.43-0exp1_ppc64el.deb ... 115s Unpacking libxslt1.1:ppc64el (1.1.43-0exp1) ... 115s Selecting previously unselected package racc. 115s Preparing to unpack .../19-racc_1.8.1-1_all.deb ... 115s Unpacking racc (1.8.1-1) ... 115s Selecting previously unselected package ruby-concurrent. 115s Preparing to unpack .../20-ruby-concurrent_1.3.4-1_all.deb ... 115s Unpacking ruby-concurrent (1.3.4-1) ... 115s Selecting previously unselected package ruby-i18n. 115s Preparing to unpack .../21-ruby-i18n_1.14.7-1_all.deb ... 115s Unpacking ruby-i18n (1.14.7-1) ... 115s Selecting previously unselected package ruby-tzinfo. 115s Preparing to unpack .../22-ruby-tzinfo_2.0.6-1_all.deb ... 115s Unpacking ruby-tzinfo (2.0.6-1) ... 115s Selecting previously unselected package ruby-connection-pool. 115s Preparing to unpack .../23-ruby-connection-pool_2.4.1-1_all.deb ... 115s Unpacking ruby-connection-pool (2.4.1-1) ... 115s Selecting previously unselected package ruby-base64. 115s Preparing to unpack .../24-ruby-base64_0.2.0-2_all.deb ... 115s Unpacking ruby-base64 (0.2.0-2) ... 115s Selecting previously unselected package ruby-activesupport. 115s Preparing to unpack .../25-ruby-activesupport_2%3a7.2.2.1+dfsg-7_all.deb ... 115s Unpacking ruby-activesupport (2:7.2.2.1+dfsg-7) ... 115s Selecting previously unselected package ruby-builder. 115s Preparing to unpack .../26-ruby-builder_3.2.4-2_all.deb ... 115s Unpacking ruby-builder (3.2.4-2) ... 115s Selecting previously unselected package ruby-erubi. 115s Preparing to unpack .../27-ruby-erubi_1.12.0-1_all.deb ... 115s Unpacking ruby-erubi (1.12.0-1) ... 115s Selecting previously unselected package ruby-mini-portile2. 115s Preparing to unpack .../28-ruby-mini-portile2_2.8.7-1_all.deb ... 115s Unpacking ruby-mini-portile2 (2.8.7-1) ... 115s Selecting previously unselected package ruby-pkg-config. 115s Preparing to unpack .../29-ruby-pkg-config_1.5.9-1_all.deb ... 115s Unpacking ruby-pkg-config (1.5.9-1) ... 115s Selecting previously unselected package ruby-nokogiri. 115s Preparing to unpack .../30-ruby-nokogiri_1.18.2+dfsg-1build1_ppc64el.deb ... 115s Unpacking ruby-nokogiri (1.18.2+dfsg-1build1) ... 115s Selecting previously unselected package ruby-rails-dom-testing. 115s Preparing to unpack .../31-ruby-rails-dom-testing_2.2.0-1_all.deb ... 115s Unpacking ruby-rails-dom-testing (2.2.0-1) ... 115s Selecting previously unselected package ruby-crass. 115s Preparing to unpack .../32-ruby-crass_1.0.6-1ubuntu1_all.deb ... 115s Unpacking ruby-crass (1.0.6-1ubuntu1) ... 115s Selecting previously unselected package ruby-loofah. 115s Preparing to unpack .../33-ruby-loofah_2.24.1-1_all.deb ... 115s Unpacking ruby-loofah (2.24.1-1) ... 115s Selecting previously unselected package ruby-rails-html-sanitizer. 115s Preparing to unpack .../34-ruby-rails-html-sanitizer_1.6.2-1_all.deb ... 115s Unpacking ruby-rails-html-sanitizer (1.6.2-1) ... 115s Selecting previously unselected package ruby-actionview. 115s Preparing to unpack .../35-ruby-actionview_2%3a7.2.2.1+dfsg-7_all.deb ... 115s Unpacking ruby-actionview (2:7.2.2.1+dfsg-7) ... 116s Selecting previously unselected package ruby-rack. 116s Preparing to unpack .../36-ruby-rack_3.1.12-1_all.deb ... 116s Unpacking ruby-rack (3.1.12-1) ... 116s Selecting previously unselected package ruby-rack-session. 116s Preparing to unpack .../37-ruby-rack-session_2.1.1-0maysync1_all.deb ... 116s Unpacking ruby-rack-session (2.1.1-0maysync1) ... 116s Selecting previously unselected package ruby-rack-test. 116s Preparing to unpack .../38-ruby-rack-test_2.2.0-1_all.deb ... 116s Unpacking ruby-rack-test (2.2.0-1) ... 116s Selecting previously unselected package ruby-useragent. 116s Preparing to unpack .../39-ruby-useragent_0.16.8-1.1_all.deb ... 116s Unpacking ruby-useragent (0.16.8-1.1) ... 116s Selecting previously unselected package ruby-actionpack. 116s Preparing to unpack .../40-ruby-actionpack_2%3a7.2.2.1+dfsg-7_all.deb ... 116s Unpacking ruby-actionpack (2:7.2.2.1+dfsg-7) ... 116s Selecting previously unselected package ruby-activemodel. 116s Preparing to unpack .../41-ruby-activemodel_2%3a7.2.2.1+dfsg-7_all.deb ... 116s Unpacking ruby-activemodel (2:7.2.2.1+dfsg-7) ... 116s Selecting previously unselected package ruby-encryptor. 116s Preparing to unpack .../42-ruby-encryptor_3.0.0-2_all.deb ... 116s Unpacking ruby-encryptor (3.0.0-2) ... 116s Selecting previously unselected package ruby-attr-encrypted. 116s Preparing to unpack .../43-ruby-attr-encrypted_4.1.0-1ubuntu1_all.deb ... 116s Unpacking ruby-attr-encrypted (4.1.0-1ubuntu1) ... 116s Selecting previously unselected package ruby-bcrypt:ppc64el. 116s Preparing to unpack .../44-ruby-bcrypt_3.1.20-1_ppc64el.deb ... 116s Unpacking ruby-bcrypt:ppc64el (3.1.20-1) ... 116s Selecting previously unselected package ruby-orm-adapter. 116s Preparing to unpack .../45-ruby-orm-adapter_0.5.0-2.1ubuntu1_all.deb ... 116s Unpacking ruby-orm-adapter (0.5.0-2.1ubuntu1) ... 116s Selecting previously unselected package ruby-method-source. 116s Preparing to unpack .../46-ruby-method-source_1.1.0-1_all.deb ... 116s Unpacking ruby-method-source (1.1.0-1) ... 116s Selecting previously unselected package ruby-rackup. 116s Preparing to unpack .../47-ruby-rackup_2.1.0-4_all.deb ... 116s Unpacking ruby-rackup (2.1.0-4) ... 116s Selecting previously unselected package ruby-thor. 116s Preparing to unpack .../48-ruby-thor_1.3.2-2.1_all.deb ... 116s Unpacking ruby-thor (1.3.2-2.1) ... 116s Selecting previously unselected package ruby-zeitwerk. 116s Preparing to unpack .../49-ruby-zeitwerk_2.6.8-1_all.deb ... 116s Unpacking ruby-zeitwerk (2.6.8-1) ... 116s Selecting previously unselected package ruby-railties. 116s Preparing to unpack .../50-ruby-railties_2%3a7.2.2.1+dfsg-7_all.deb ... 116s Unpacking ruby-railties (2:7.2.2.1+dfsg-7) ... 116s Selecting previously unselected package ruby-responders. 116s Preparing to unpack .../51-ruby-responders_3.0.1-2_all.deb ... 116s Unpacking ruby-responders (3.0.1-2) ... 116s Selecting previously unselected package ruby-warden. 116s Preparing to unpack .../52-ruby-warden_1.2.8-1ubuntu1_all.deb ... 116s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 116s Selecting previously unselected package ruby-devise. 116s Preparing to unpack .../53-ruby-devise_4.9.3-1_all.deb ... 116s Unpacking ruby-devise (4.9.3-1) ... 116s Selecting previously unselected package ruby-rotp. 116s Preparing to unpack .../54-ruby-rotp_6.2.0-2_all.deb ... 116s Unpacking ruby-rotp (6.2.0-2) ... 116s Selecting previously unselected package ruby-devise-two-factor. 116s Preparing to unpack .../55-ruby-devise-two-factor_4.0.2-1_all.deb ... 116s Unpacking ruby-devise-two-factor (4.0.2-1) ... 116s Selecting previously unselected package ruby-diff-lcs. 116s Preparing to unpack .../56-ruby-diff-lcs_1.5.1-1_all.deb ... 116s Unpacking ruby-diff-lcs (1.5.1-1) ... 116s Selecting previously unselected package ruby-faker. 116s Preparing to unpack .../57-ruby-faker_2.21.0-1.1_all.deb ... 116s Unpacking ruby-faker (2.21.0-1.1) ... 116s Selecting previously unselected package ruby-rspec-support. 116s Preparing to unpack .../58-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-rspec-core. 116s Preparing to unpack .../59-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-rspec-expectations. 116s Preparing to unpack .../60-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-rspec-mocks. 116s Preparing to unpack .../61-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-rspec. 116s Preparing to unpack .../62-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 116s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 116s Selecting previously unselected package ruby-timecop. 116s Preparing to unpack .../63-ruby-timecop_0.9.10-1.1_all.deb ... 116s Unpacking ruby-timecop (0.9.10-1.1) ... 116s Setting up ruby-ruby2-keywords (0.0.5-1) ... 116s Setting up ruby-power-assert (2.0.3-1) ... 116s Setting up ruby-crass (1.0.6-1ubuntu1) ... 116s Setting up ruby-mini-portile2 (2.8.7-1) ... 116s Setting up rubygems-integration (1.19) ... 116s Setting up ruby-concurrent (1.3.4-1) ... 116s Setting up ruby-timecop (0.9.10-1.1) ... 116s Setting up ruby-erubi (1.12.0-1) ... 116s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 116s Setting up ruby-method-source (1.1.0-1) ... 116s Setting up ruby-test-unit (3.6.2-1) ... 116s Setting up ruby-net-telnet (0.2.0-1) ... 116s Setting up ruby-csv (3.3.4-1) ... 116s Setting up ruby-base64 (0.2.0-2) ... 116s Setting up ruby-i18n (1.14.7-1) ... 116s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 116s Setting up ruby-webrick (1.9.1-1) ... 116s Setting up ruby-faker (2.21.0-1.1) ... 116s Setting up ruby-builder (3.2.4-2) ... 116s Setting up libxslt1.1:ppc64el (1.1.43-0exp1) ... 116s Setting up ruby-connection-pool (2.4.1-1) ... 116s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 116s Setting up ruby-did-you-mean (1.6.3-2) ... 116s Setting up ruby-xmlrpc (0.3.3-2) ... 116s Setting up ruby-zeitwerk (2.6.8-1) ... 116s Setting up ruby-tzinfo (2.0.6-1) ... 116s Setting up rake (13.2.1-1) ... 116s Setting up libruby3.3:ppc64el (3.3.8-2ubuntu1) ... 116s Setting up ruby-activesupport (2:7.2.2.1+dfsg-7) ... 116s Setting up ruby-rubygems (3.6.7-2) ... 116s Setting up ruby3.3 (3.3.8-2ubuntu1) ... 116s Setting up libruby:ppc64el (1:3.3) ... 116s Setting up ruby (1:3.3) ... 116s Setting up racc (1.8.1-1) ... 116s Setting up ruby-thor (1.3.2-2.1) ... 116s Setting up ruby-pkg-config (1.5.9-1) ... 116s Setting up ruby-activemodel (2:7.2.2.1+dfsg-7) ... 116s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 116s Setting up ruby-useragent (0.16.8-1.1) ... 116s Setting up ruby-diff-lcs (1.5.1-1) ... 116s Setting up ruby-orm-adapter (0.5.0-2.1ubuntu1) ... 116s Setting up ruby-bcrypt:ppc64el (3.1.20-1) ... 116s Setting up ruby-rotp (6.2.0-2) ... 116s Setting up ruby-nokogiri (1.18.2+dfsg-1build1) ... 116s Setting up ruby-rack (3.1.12-1) ... 116s Setting up ruby-encryptor (3.0.0-2) ... 116s Setting up gem2deb-test-runner (2.2.5) ... 116s Setting up ruby-rack-test (2.2.0-1) ... 116s Setting up ruby-attr-encrypted (4.1.0-1ubuntu1) ... 116s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 116s Setting up ruby-loofah (2.24.1-1) ... 116s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 116s Setting up ruby-rails-dom-testing (2.2.0-1) ... 116s Setting up ruby-warden (1.2.8-1ubuntu1) ... 116s Setting up ruby-rack-session (2.1.1-0maysync1) ... 116s Setting up ruby-rackup (2.1.0-4) ... 116s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 116s Setting up ruby-rails-html-sanitizer (1.6.2-1) ... 116s Setting up ruby-actionview (2:7.2.2.1+dfsg-7) ... 116s Setting up ruby-actionpack (2:7.2.2.1+dfsg-7) ... 116s Setting up ruby-railties (2:7.2.2.1+dfsg-7) ... 116s Setting up ruby-responders (3.0.1-2) ... 116s Setting up ruby-devise (4.9.3-1) ... 116s Setting up ruby-devise-two-factor (4.0.2-1) ... 116s Processing triggers for man-db (2.13.1-1) ... 117s Processing triggers for libc-bin (2.41-6ubuntu2) ... 118s autopkgtest [14:54:41]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 118s autopkgtest [14:54:41]: test gem2deb-test-runner: [----------------------- 118s ************************************************************************** 118s # A new feature in cloud-init identified possible datasources for # 118s # this system as: # 118s # [] # 118s # However, the datasource used was: OpenStack # 118s # # 118s # In the future, cloud-init will only attempt to use datasources that # 118s # are identified or specifically configured. # 118s # For more information see # 118s # https://bugs.launchpad.net/bugs/1669675 # 118s # # 118s # If you are seeing this message, please file a bug against # 118s # cloud-init at # 118s # https://github.com/canonical/cloud-init/issues # 118s # Make sure to include the cloud provider your instance is # 118s # running on. # 118s # # 118s # After you have filed a bug, you can disable this warning by launching # 118s # your instance with the cloud-config below, or putting that content # 118s # into /etc/cloud/cloud.cfg.d/99-warnings.cfg # 118s # # 118s # #cloud-config # 118s # warnings: # 118s # dsid_missing_source: off # 118s ************************************************************************** 118s 118s Disable the warnings above by: 118s touch /home/ubuntu/.cloud-warnings.skip 118s or 118s touch /var/lib/cloud/instance/warnings/.skip 118s 118s ┌──────────────────────────────────────────────────────────────────────────────┐ 118s │ Checking Rubygems dependency resolution on ruby3.3 │ 118s └──────────────────────────────────────────────────────────────────────────────┘ 118s 118s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"devise-two-factor\" 118s mv lib ./.gem2deb.lib 118s /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1421:in `block in activate_dependencies': Could not find 'railties' (< 7.1) among 143 total gem(s) (Gem::MissingSpecError) 118s Checked in 'GEM_PATH=/home/ubuntu/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/powerpc64le-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/powerpc64le-linux-gnu/rubygems-integration/3.3.0' at: /usr/share/rubygems-integration/all/specifications/devise-two-factor-4.0.2.gemspec, execute `gem env` for more information 118s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `each' 118s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `activate_dependencies' 118s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1389:in `activate' 118s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `block in gem' 118s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `synchronize' 118s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `gem' 118s from -e:1:in `
' 118s mv ./.gem2deb.lib lib 119s abbrev (default: 0.1.2) 119s actionpack (7.2.2.1) 119s actionview (7.2.2.1) 119s activemodel (7.2.2.1) 119s activesupport (7.2.2.1) 119s attr_encrypted (4.1.0) 119s base64 (0.2.0) 119s bcrypt (3.1.20) 119s benchmark (default: 0.3.0) 119s bigdecimal (default: 3.1.5) 119s builder (3.2.4) 119s bundler (default: 2.5.22) 119s cgi (default: 0.4.2) 119s concurrent-ruby (1.3.4) 119s concurrent-ruby-edge (0.7.1) 119s connection_pool (2.4.1) 119s crass (1.0.6) 119s csv (3.3.4, default: 3.2.8) 119s date (default: 3.3.4) 119s debug (1.9.2) 119s delegate (default: 0.3.1) 119s devise (4.9.3) 119s devise-two-factor (4.0.2) 119s did_you_mean (1.6.3) 119s diff-lcs (1.5.1) 119s digest (default: 3.1.1) 119s drb (default: 2.2.0) 119s encryptor (3.0.0) 119s english (default: 0.8.0) 119s erb (default: 4.0.3) 119s error_highlight (default: 0.6.0) 119s erubi (1.12.0) 119s etc (default: 1.4.3) 119s faker (2.21.0) 119s fcntl (default: 1.1.0) 119s fiddle (default: 1.1.2) 119s fileutils (default: 1.7.2) 119s find (default: 0.2.0) 119s forwardable (default: 1.3.3) 119s getoptlong (default: 0.2.1) 119s i18n (1.14.7) 119s io-console (default: 0.7.1) 119s io-nonblock (default: 0.3.0) 119s io-wait (default: 0.3.1) 119s ipaddr (default: 1.2.6) 119s irb (default: 1.13.1) 119s json (default: 2.7.2) 119s logger (default: 1.6.0) 119s loofah (2.24.1) 119s matrix (0.4.2) 119s method_source (1.1.0) 119s mini_portile2 (2.8.7) 119s minitest (5.25.4, 5.20.0) 119s mutex_m (default: 0.2.0) 119s net-ftp (0.3.4) 119s net-http (default: 0.4.1) 119s net-imap (0.4.19) 119s net-pop (0.1.2) 119s net-protocol (default: 0.2.2) 119s net-smtp (0.5.1) 119s net-telnet (0.2.0) 119s nkf (default: 0.1.3) 119s nokogiri (1.18.2) 119s observer (default: 0.1.2) 119s open-uri (default: 0.4.1) 119s open3 (default: 0.2.1) 119s openssl (default: 3.2.0) 119s optparse (default: 0.4.0) 119s orm_adapter (0.5.0) 119s ostruct (default: 0.6.0) 119s pathname (default: 0.3.0) 119s pkg-config (1.5.9) 119s power_assert (2.0.3) 119s pp (default: 0.5.0) 119s prettyprint (default: 0.2.0) 119s prime (0.1.2) 119s prism (default: 0.19.0) 119s pstore (default: 0.1.3) 119s psych (default: 5.1.2) 119s racc (1.8.1, 1.7.3) 119s rack (3.1.12) 119s rack-session (2.1.1) 119s rack-test (2.2.0) 119s rackup (2.1.0) 119s rails-dom-testing (2.2.0) 119s rails-html-sanitizer (1.6.2) 119s railties (7.2.2.1) 119s rake (13.2.1, 13.1.0) 119s rbs (3.4.0) 119s rdoc (default: 6.6.3.1) 119s readline (default: 0.0.4) 119s reline (default: 0.5.10) 119s resolv (default: 0.3.0) 119s resolv-replace (default: 0.1.1) 119s responders (3.0.1) 119s rexml (3.3.9) 119s rinda (default: 0.2.0) 119s rotp (6.2.0) 119s rspec (3.13.0) 119s rspec-core (3.13.0) 119s rspec-expectations (3.13.0) 119s rspec-mocks (3.13.0) 119s rspec-support (3.13.1) 119s rss (0.3.1) 119s ruby2_keywords (0.0.5) 119s rubygems-update (3.6.7) 119s securerandom (default: 0.3.1) 119s set (default: 1.1.0) 119s shellwords (default: 0.2.0) 119s singleton (default: 0.2.0) 119s stringio (default: 3.1.1) 119s strscan (default: 3.0.9) 119s syntax_suggest (default: 2.0.1) 119s syslog (default: 0.1.2) 119s tempfile (default: 0.2.1) 119s test-unit (3.6.2, 3.6.1) 119s thor (1.3.2) 119s time (default: 0.3.0) 119s timecop (0.9.10) 119s timeout (default: 0.4.1) 119s tmpdir (default: 0.2.0) 119s tsort (default: 0.2.0) 119s typeprof (0.21.9) 119s tzinfo (2.0.6) 119s un (default: 0.3.0) 119s uri (default: 0.13.2) 119s useragent (0.16.8) 119s warden (1.2.8) 119s weakref (default: 0.1.3) 119s webrick (1.9.1) 119s xmlrpc (0.3.3) 119s yaml (default: 0.3.0) 119s zeitwerk (2.6.8) 119s zlib (default: 3.1.1) 119s 119s ┌──────────────────────────────────────────────────────────────────────────────┐ 119s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 119s └──────────────────────────────────────────────────────────────────────────────┘ 119s 119s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 119s mv lib ./.gem2deb.lib 119s /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 --format documentation 120s 120s Randomized with seed 38002 120s 120s Devise::Models::TwoFactorAuthenticatable 120s When included in a class 120s behaves like two_factor_authenticatable 120s #otp_secret 120s stores an iv for otp_secret 120s stores a salt for otp_secret 120s should be of the configured length 120s stores the encrypted otp_secret 120s #validate_and_consume_otp! 120s validates a precisely correct OTP with whitespace 120s validates a precisely correct OTP 120s fails a nil OTP value 120s does not validate an OTP below the allowed drift 120s validates an OTP within the allowed drift 120s does not validate an OTP above the allowed drift 120s with a stored consumed_timestep 120s given a valid OTP used multiple times within the allowed drift after a subsequent login 120s after the otp interval 120s fails to validate 120s given a precisely correct OTP 120s fails to validate 120s given a valid OTP used multiple times within the allowed drift 120s after the otp interval 120s fails to validate 120s given a previously valid OTP within the allowed drift 120s fails to validate 120s required_fields 120s should have the attr_encrypted fields for otp_secret 120s #otp_provisioning_uri 121s should return uri with specified account 121s should return uri with issuer option 121s 121s Devise::Models::TwoFactorBackupable 121s When included in a class 121s behaves like two_factor_backupable 121s #generate_otp_backup_codes! 121s with no existing recovery codes 123s generates distinct recovery codes 124s generates recovery codes of the correct length 126s stores the codes as BCrypt hashes 127s generates the correct number of new recovery codes 127s with existing recovery codes 130s invalidates the existing recovery codes 130s #invalidate_otp_backup_code! 130s given an invalid recovery code 132s returns false 132s given a valid recovery code 136s does not invalidate the other recovery codes 139s returns true 142s invalidates that recovery code 142s required_fields 142s has the attr_encrypted fields for otp_backup_codes 142s 142s Devise::Models::TwoFactorAuthenticatable 142s When included in a class 142s otp_secret options 142s should be of the mode (FAILED - 1) 142s should be of the key (FAILED - 2) 142s should be of the mode (FAILED - 3) 142s behaves like two_factor_authenticatable 142s #otp_secret 142s stores an iv for otp_secret 142s should be of the configured length 142s stores the encrypted otp_secret 142s stores a salt for otp_secret 142s required_fields 142s should have the attr_encrypted fields for otp_secret 142s #validate_and_consume_otp! 142s validates an OTP within the allowed drift 142s does not validate an OTP above the allowed drift 142s validates a precisely correct OTP with whitespace 142s does not validate an OTP below the allowed drift 142s validates a precisely correct OTP 142s fails a nil OTP value 142s with a stored consumed_timestep 142s given a precisely correct OTP 142s fails to validate 142s given a previously valid OTP within the allowed drift 142s fails to validate 142s given a valid OTP used multiple times within the allowed drift after a subsequent login 142s after the otp interval 142s fails to validate 142s given a valid OTP used multiple times within the allowed drift 142s after the otp interval 142s fails to validate 142s #otp_provisioning_uri 142s should return uri with issuer option 142s should return uri with specified account 142s 142s Devise::Models::TwoFactorAuthenticatable 142s When clean_up_passwords is called 142s password_confirmation should be nill 142s otp_attempt should be nill 142s 142s Failures: 142s 142s 1) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 142s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:mode]).to eq(:per_attribute_iv_and_salt) 142s 142s NoMethodError: 142s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 142s # ./spec/devise/models/two_factor_authenticatable_spec.rb:71:in `block (4 levels) in ' 142s 142s 2) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the key 142s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:key]).to eq('test-key'*8) 142s 142s NoMethodError: 142s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 142s # ./spec/devise/models/two_factor_authenticatable_spec.rb:67:in `block (4 levels) in ' 142s 142s 3) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 142s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:algorithm]).to eq('aes-256-cbc') 142s 142s NoMethodError: 142s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 142s # ./spec/devise/models/two_factor_authenticatable_spec.rb:75:in `block (4 levels) in ' 142s 142s Finished in 22.74 seconds (files took 0.77336 seconds to load) 142s 49 examples, 3 failures 142s 142s Failed examples: 142s 142s rspec ./spec/devise/models/two_factor_authenticatable_spec.rb:70 # Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 142s rspec ./spec/devise/models/two_factor_authenticatable_spec.rb:66 # Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the key 142s rspec ./spec/devise/models/two_factor_authenticatable_spec.rb:74 # Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 142s 142s Randomized with seed 38002 142s 142s /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 --format documentation failed 142s mv ./.gem2deb.lib lib 143s autopkgtest [14:55:06]: test gem2deb-test-runner: -----------------------] 143s gem2deb-test-runner FAIL non-zero exit status 1 143s autopkgtest [14:55:06]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 143s autopkgtest [14:55:06]: @@@@@@@@@@@@@@@@@@@@ summary 143s gem2deb-test-runner FAIL non-zero exit status 1 147s nova [W] Using flock in prodstack7-ppc64el 147s Creating nova instance adt-questing-ppc64el-ruby-devise-two-factor-20250619-145243-juju-7f2275-prod-proposed-migration-environment-23-0dfc9ac7-33ec-4120-8e5b-4c38b284ae51 from image adt/ubuntu-questing-ppc64el-server-20250619.img (UUID 1c97422d-c646-492e-9581-3c98f213de4b)... 147s nova [W] Timed out waiting for cd92bfdc-c42b-4301-bc49-c759f5fbf3ce to get deleted.