0s autopkgtest [22:18:04]: starting date and time: 2025-01-09 22:18:04+0000 0s autopkgtest [22:18:04]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [22:18:04]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.84m_epqb/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-attr-encrypted --apt-upgrade ruby-devise-two-factor --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-attr-encrypted/4.1.0-1ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-5.secgroup --name adt-plucky-ppc64el-ruby-devise-two-factor-20250109-221804-juju-7f2275-prod-proposed-migration-environment-2-2a995e1f-be93-4e21-98af-d457b655fd4e --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -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/ 71s autopkgtest [22:19:15]: testbed dpkg architecture: ppc64el 71s autopkgtest [22:19:15]: testbed apt version: 2.9.18 71s autopkgtest [22:19:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 71s autopkgtest [22:19:15]: testbed release detected to be: None 72s autopkgtest [22:19:16]: updating testbed package index (apt update) 72s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 73s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 73s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 73s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 73s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 73s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [790 kB] 73s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [128 kB] 73s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.0 kB] 73s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [269 kB] 73s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted ppc64el Packages [756 B] 73s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [1010 kB] 73s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [5088 B] 73s Fetched 2301 kB in 1s (1989 kB/s) 74s Reading package lists... 75s + lsb_release --codename --short 75s + RELEASE=plucky 75s + cat 75s + [ plucky != trusty ] 75s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Calculating upgrade... 75s The following packages will be upgraded: 75s firmware-sof-signed 76s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s Need to get 7093 kB of archives. 76s After this operation, 0 B of additional disk space will be used. 76s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el firmware-sof-signed all 2024.06-1ubuntu4 [7093 kB] 77s Fetched 7093 kB in 1s (7375 kB/s) 77s (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 ... 74025 files and directories currently installed.) 77s Preparing to unpack .../firmware-sof-signed_2024.06-1ubuntu4_all.deb ... 77s Unpacking firmware-sof-signed (2024.06-1ubuntu4) over (2024.06-1ubuntu3) ... 78s Setting up firmware-sof-signed (2024.06-1ubuntu4) ... 78s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 78s + /usr/lib/apt/apt-helper analyze-pattern ?true 78s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 78s Reading package lists... 78s Building dependency tree... 78s Reading state information... 78s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s + grep -q trusty /etc/lsb-release 78s + [ ! -d /usr/share/doc/unattended-upgrades ] 78s + [ ! -d /usr/share/doc/lxd ] 78s + [ ! -d /usr/share/doc/lxd-client ] 78s + [ ! -d /usr/share/doc/snapd ] 78s + type iptables 78s + cat 78s + chmod 755 /etc/rc.local 78s + . /etc/rc.local 78s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 78s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 78s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 78s + uname -m 78s + [ ppc64le = ppc64le ] 78s + systemctl is-active keyboard-setup.service 78s + [ active = failed ] 78s + [ -d /run/systemd/system ] 78s + systemd-detect-virt --quiet --vm 78s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 78s + cat 78s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 78s + echo COMPRESS=lz4 78s autopkgtest [22:19:22]: upgrading testbed (apt dist-upgrade and autopurge) 79s Reading package lists... 79s Building dependency tree... 79s Reading state information... 79s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 79s Starting 2 pkgProblemResolver with broken count: 0 79s Done 79s Entering ResolveByKeep 80s 80s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 80s Starting pkgProblemResolver with broken count: 0 80s Starting 2 pkgProblemResolver with broken count: 0 80s Done 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [22:19:27]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 84s autopkgtest [22:19:28]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-devise-two-factor 85s Get:1 http://ftpmaster.internal/ubuntu plucky/universe ruby-devise-two-factor 4.0.2-1 (dsc) [2308 B] 85s Get:2 http://ftpmaster.internal/ubuntu plucky/universe ruby-devise-two-factor 4.0.2-1 (tar) [21.9 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky/universe ruby-devise-two-factor 4.0.2-1 (diff) [3708 B] 86s gpgv: Signature made Fri Apr 1 17:34:50 2022 UTC 86s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 86s gpgv: Can't check signature: No public key 86s dpkg-source: warning: cannot verify inline signature for ./ruby-devise-two-factor_4.0.2-1.dsc: no acceptable signature found 86s autopkgtest [22:19:30]: testing package ruby-devise-two-factor version 4.0.2-1 86s autopkgtest [22:19:30]: build not needed 87s autopkgtest [22:19:31]: test gem2deb-test-runner: preparing testbed 87s Reading package lists... 87s Building dependency tree... 87s Reading state information... 87s Starting pkgProblemResolver with broken count: 0 87s Starting 2 pkgProblemResolver with broken count: 0 87s Done 88s The following NEW packages will be installed: 88s gem2deb-test-runner libjs-jquery libruby libruby3.3 libxslt1.1 racc rake 88s ruby ruby-actionpack ruby-actionview ruby-activemodel ruby-activesupport 88s ruby-attr-encrypted ruby-bcrypt ruby-builder ruby-concurrent ruby-crass 88s ruby-devise ruby-devise-two-factor ruby-diff-lcs ruby-encryptor ruby-erubi 88s ruby-faker ruby-i18n ruby-loofah ruby-method-source ruby-mini-portile2 88s ruby-net-telnet ruby-nokogiri ruby-orm-adapter ruby-pkg-config ruby-rack 88s ruby-rack-test ruby-rails-deprecated-sanitizer ruby-rails-dom-testing 88s ruby-rails-html-sanitizer ruby-railties ruby-responders ruby-rotp ruby-rspec 88s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 88s ruby-rubygems ruby-sdbm ruby-thor ruby-timecop ruby-tzinfo ruby-warden 88s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.3 rubygems-integration 88s 0 upgraded, 55 newly installed, 0 to remove and 0 not upgraded. 88s Need to get 11.2 MB of archives. 88s After this operation, 58.3 MB of additional disk space will be used. 88s Get:1 http://ftpmaster.internal/ubuntu plucky/main ppc64el rubygems-integration all 1.18ubuntu1 [5528 B] 88s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 88s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 88s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-xmlrpc all 0.3.3-2 [24.8 kB] 88s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libruby ppc64el 1:3.3~ubuntu3 [5036 B] 88s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-sdbm ppc64el 1.0.0-5build5 [18.2 kB] 88s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libruby3.3 ppc64el 3.3.4-2ubuntu7 [6283 kB] 89s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby3.3 ppc64el 3.3.4-2ubuntu7 [49.0 kB] 89s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-rubygems all 3.4.20-1 [238 kB] 89s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby ppc64el 1:3.3~ubuntu3 [3622 B] 89s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el rake all 13.2.1-1 [45.8 kB] 89s Get:12 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gem2deb-test-runner ppc64el 2.2.5 [18.3 kB] 89s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 89s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxslt1.1 ppc64el 1.1.39-0exp1ubuntu2 [191 kB] 89s Get:15 http://ftpmaster.internal/ubuntu plucky/universe ppc64el racc all 1.6.2-1ubuntu1 [84.0 kB] 89s Get:16 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-concurrent all 1.2.3-4build1 [282 kB] 89s Get:17 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-i18n all 1.14.5-1 [42.5 kB] 89s Get:18 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-tzinfo all 2.0.6-1 [55.2 kB] 89s Get:19 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-zeitwerk all 2.6.8-1 [36.0 kB] 89s Get:20 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-activesupport all 2:6.1.7.3+dfsg-4 [198 kB] 89s Get:21 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-builder all 3.2.4-2 [17.1 kB] 89s Get:22 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-erubi all 1.12.0-1 [9230 B] 89s Get:23 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-mini-portile2 all 2.8.7-1 [17.3 kB] 89s Get:24 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-pkg-config all 1.5.8-1 [8660 B] 89s Get:25 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-nokogiri ppc64el 1.16.4+dfsg-1build1 [263 kB] 89s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rails-deprecated-sanitizer all 1.0.4-1 [20.0 kB] 89s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rails-dom-testing all 2.0.3-4 [10.8 kB] 89s Get:28 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-crass all 1.0.6-1ubuntu1 [16.0 kB] 89s Get:29 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-loofah all 2.22.0-1 [25.1 kB] 89s Get:30 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rails-html-sanitizer all 1.4.4-1 [9888 B] 89s Get:31 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-actionview all 2:6.1.7.3+dfsg-4 [146 kB] 89s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el ruby-rack all 2.2.7-1.1 [114 kB] 89s Get:33 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rack-test all 2.1.0-1 [14.5 kB] 89s Get:34 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-actionpack all 2:6.1.7.3+dfsg-4 [193 kB] 89s Get:35 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-activemodel all 2:6.1.7.3+dfsg-4 [63.3 kB] 89s Get:36 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-encryptor all 3.0.0-2 [8676 B] 89s Get:37 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el ruby-attr-encrypted all 4.1.0-1ubuntu1 [16.7 kB] 89s Get:38 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-bcrypt ppc64el 3.1.20-1 [40.1 kB] 89s Get:39 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-orm-adapter all 0.5.0-2.1ubuntu1 [7846 B] 89s Get:40 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-method-source all 1.0.0-2ubuntu1 [8378 B] 89s Get:41 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-thor all 1.3.1-1 [50.0 kB] 89s Get:42 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-railties all 2:6.1.7.3+dfsg-4 [443 kB] 89s Get:43 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-responders all 3.0.1-2 [18.5 kB] 89s Get:44 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-warden all 1.2.8-1ubuntu1 [15.5 kB] 89s Get:45 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-devise all 4.9.3-1 [93.8 kB] 89s Get:46 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rotp all 6.2.0-2 [38.4 kB] 89s Get:47 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-devise-two-factor all 4.0.2-1 [14.5 kB] 89s Get:48 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-diff-lcs all 1.5.1-1 [22.8 kB] 89s Get:49 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-faker all 2.21.0-1 [1129 kB] 89s Get:50 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 89s Get:51 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 89s Get:52 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 89s Get:53 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 89s Get:54 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 89s Get:55 http://ftpmaster.internal/ubuntu plucky/universe ppc64el ruby-timecop all 0.9.10-1.1 [11.5 kB] 90s Fetched 11.2 MB in 2s (6727 kB/s) 90s Selecting previously unselected package rubygems-integration. 90s (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 ... 74025 files and directories currently installed.) 90s Preparing to unpack .../00-rubygems-integration_1.18ubuntu1_all.deb ... 90s Unpacking rubygems-integration (1.18ubuntu1) ... 90s Selecting previously unselected package ruby-net-telnet. 90s Preparing to unpack .../01-ruby-net-telnet_0.2.0-1_all.deb ... 90s Unpacking ruby-net-telnet (0.2.0-1) ... 90s Selecting previously unselected package ruby-webrick. 90s Preparing to unpack .../02-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 90s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 90s Selecting previously unselected package ruby-xmlrpc. 90s Preparing to unpack .../03-ruby-xmlrpc_0.3.3-2_all.deb ... 90s Unpacking ruby-xmlrpc (0.3.3-2) ... 90s Selecting previously unselected package libruby:ppc64el. 90s Preparing to unpack .../04-libruby_1%3a3.3~ubuntu3_ppc64el.deb ... 90s Unpacking libruby:ppc64el (1:3.3~ubuntu3) ... 90s Selecting previously unselected package ruby-sdbm:ppc64el. 90s Preparing to unpack .../05-ruby-sdbm_1.0.0-5build5_ppc64el.deb ... 90s Unpacking ruby-sdbm:ppc64el (1.0.0-5build5) ... 90s Selecting previously unselected package libruby3.3:ppc64el. 90s Preparing to unpack .../06-libruby3.3_3.3.4-2ubuntu7_ppc64el.deb ... 90s Unpacking libruby3.3:ppc64el (3.3.4-2ubuntu7) ... 91s Selecting previously unselected package ruby3.3. 91s Preparing to unpack .../07-ruby3.3_3.3.4-2ubuntu7_ppc64el.deb ... 91s Unpacking ruby3.3 (3.3.4-2ubuntu7) ... 91s Selecting previously unselected package ruby-rubygems. 91s Preparing to unpack .../08-ruby-rubygems_3.4.20-1_all.deb ... 91s Unpacking ruby-rubygems (3.4.20-1) ... 91s Selecting previously unselected package ruby. 91s Preparing to unpack .../09-ruby_1%3a3.3~ubuntu3_ppc64el.deb ... 91s Unpacking ruby (1:3.3~ubuntu3) ... 91s Selecting previously unselected package rake. 91s Preparing to unpack .../10-rake_13.2.1-1_all.deb ... 91s Unpacking rake (13.2.1-1) ... 91s Selecting previously unselected package gem2deb-test-runner. 91s Preparing to unpack .../11-gem2deb-test-runner_2.2.5_ppc64el.deb ... 91s Unpacking gem2deb-test-runner (2.2.5) ... 91s Selecting previously unselected package libjs-jquery. 91s Preparing to unpack .../12-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 91s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 91s Selecting previously unselected package libxslt1.1:ppc64el. 91s Preparing to unpack .../13-libxslt1.1_1.1.39-0exp1ubuntu2_ppc64el.deb ... 91s Unpacking libxslt1.1:ppc64el (1.1.39-0exp1ubuntu2) ... 91s Selecting previously unselected package racc. 91s Preparing to unpack .../14-racc_1.6.2-1ubuntu1_all.deb ... 91s Unpacking racc (1.6.2-1ubuntu1) ... 91s Selecting previously unselected package ruby-concurrent. 91s Preparing to unpack .../15-ruby-concurrent_1.2.3-4build1_all.deb ... 91s Unpacking ruby-concurrent (1.2.3-4build1) ... 91s Selecting previously unselected package ruby-i18n. 91s Preparing to unpack .../16-ruby-i18n_1.14.5-1_all.deb ... 91s Unpacking ruby-i18n (1.14.5-1) ... 91s Selecting previously unselected package ruby-tzinfo. 91s Preparing to unpack .../17-ruby-tzinfo_2.0.6-1_all.deb ... 91s Unpacking ruby-tzinfo (2.0.6-1) ... 91s Selecting previously unselected package ruby-zeitwerk. 91s Preparing to unpack .../18-ruby-zeitwerk_2.6.8-1_all.deb ... 91s Unpacking ruby-zeitwerk (2.6.8-1) ... 91s Selecting previously unselected package ruby-activesupport. 91s Preparing to unpack .../19-ruby-activesupport_2%3a6.1.7.3+dfsg-4_all.deb ... 91s Unpacking ruby-activesupport (2:6.1.7.3+dfsg-4) ... 91s Selecting previously unselected package ruby-builder. 91s Preparing to unpack .../20-ruby-builder_3.2.4-2_all.deb ... 91s Unpacking ruby-builder (3.2.4-2) ... 92s Selecting previously unselected package ruby-erubi. 92s Preparing to unpack .../21-ruby-erubi_1.12.0-1_all.deb ... 92s Unpacking ruby-erubi (1.12.0-1) ... 92s Selecting previously unselected package ruby-mini-portile2. 92s Preparing to unpack .../22-ruby-mini-portile2_2.8.7-1_all.deb ... 92s Unpacking ruby-mini-portile2 (2.8.7-1) ... 92s Selecting previously unselected package ruby-pkg-config. 92s Preparing to unpack .../23-ruby-pkg-config_1.5.8-1_all.deb ... 92s Unpacking ruby-pkg-config (1.5.8-1) ... 92s Selecting previously unselected package ruby-nokogiri. 92s Preparing to unpack .../24-ruby-nokogiri_1.16.4+dfsg-1build1_ppc64el.deb ... 92s Unpacking ruby-nokogiri (1.16.4+dfsg-1build1) ... 92s Selecting previously unselected package ruby-rails-deprecated-sanitizer. 92s Preparing to unpack .../25-ruby-rails-deprecated-sanitizer_1.0.4-1_all.deb ... 92s Unpacking ruby-rails-deprecated-sanitizer (1.0.4-1) ... 92s Selecting previously unselected package ruby-rails-dom-testing. 92s Preparing to unpack .../26-ruby-rails-dom-testing_2.0.3-4_all.deb ... 92s Unpacking ruby-rails-dom-testing (2.0.3-4) ... 92s Selecting previously unselected package ruby-crass. 92s Preparing to unpack .../27-ruby-crass_1.0.6-1ubuntu1_all.deb ... 92s Unpacking ruby-crass (1.0.6-1ubuntu1) ... 92s Selecting previously unselected package ruby-loofah. 92s Preparing to unpack .../28-ruby-loofah_2.22.0-1_all.deb ... 92s Unpacking ruby-loofah (2.22.0-1) ... 92s Selecting previously unselected package ruby-rails-html-sanitizer. 92s Preparing to unpack .../29-ruby-rails-html-sanitizer_1.4.4-1_all.deb ... 92s Unpacking ruby-rails-html-sanitizer (1.4.4-1) ... 92s Selecting previously unselected package ruby-actionview. 92s Preparing to unpack .../30-ruby-actionview_2%3a6.1.7.3+dfsg-4_all.deb ... 92s Unpacking ruby-actionview (2:6.1.7.3+dfsg-4) ... 92s Selecting previously unselected package ruby-rack. 92s Preparing to unpack .../31-ruby-rack_2.2.7-1.1_all.deb ... 92s Unpacking ruby-rack (2.2.7-1.1) ... 92s Selecting previously unselected package ruby-rack-test. 92s Preparing to unpack .../32-ruby-rack-test_2.1.0-1_all.deb ... 92s Unpacking ruby-rack-test (2.1.0-1) ... 92s Selecting previously unselected package ruby-actionpack. 92s Preparing to unpack .../33-ruby-actionpack_2%3a6.1.7.3+dfsg-4_all.deb ... 92s Unpacking ruby-actionpack (2:6.1.7.3+dfsg-4) ... 92s Selecting previously unselected package ruby-activemodel. 92s Preparing to unpack .../34-ruby-activemodel_2%3a6.1.7.3+dfsg-4_all.deb ... 92s Unpacking ruby-activemodel (2:6.1.7.3+dfsg-4) ... 92s Selecting previously unselected package ruby-encryptor. 92s Preparing to unpack .../35-ruby-encryptor_3.0.0-2_all.deb ... 92s Unpacking ruby-encryptor (3.0.0-2) ... 92s Selecting previously unselected package ruby-attr-encrypted. 92s Preparing to unpack .../36-ruby-attr-encrypted_4.1.0-1ubuntu1_all.deb ... 92s Unpacking ruby-attr-encrypted (4.1.0-1ubuntu1) ... 92s Selecting previously unselected package ruby-bcrypt:ppc64el. 92s Preparing to unpack .../37-ruby-bcrypt_3.1.20-1_ppc64el.deb ... 92s Unpacking ruby-bcrypt:ppc64el (3.1.20-1) ... 92s Selecting previously unselected package ruby-orm-adapter. 92s Preparing to unpack .../38-ruby-orm-adapter_0.5.0-2.1ubuntu1_all.deb ... 92s Unpacking ruby-orm-adapter (0.5.0-2.1ubuntu1) ... 92s Selecting previously unselected package ruby-method-source. 92s Preparing to unpack .../39-ruby-method-source_1.0.0-2ubuntu1_all.deb ... 92s Unpacking ruby-method-source (1.0.0-2ubuntu1) ... 92s Selecting previously unselected package ruby-thor. 92s Preparing to unpack .../40-ruby-thor_1.3.1-1_all.deb ... 92s Unpacking ruby-thor (1.3.1-1) ... 92s Selecting previously unselected package ruby-railties. 92s Preparing to unpack .../41-ruby-railties_2%3a6.1.7.3+dfsg-4_all.deb ... 92s Unpacking ruby-railties (2:6.1.7.3+dfsg-4) ... 92s Selecting previously unselected package ruby-responders. 92s Preparing to unpack .../42-ruby-responders_3.0.1-2_all.deb ... 92s Unpacking ruby-responders (3.0.1-2) ... 92s Selecting previously unselected package ruby-warden. 93s Preparing to unpack .../43-ruby-warden_1.2.8-1ubuntu1_all.deb ... 93s Unpacking ruby-warden (1.2.8-1ubuntu1) ... 93s Selecting previously unselected package ruby-devise. 93s Preparing to unpack .../44-ruby-devise_4.9.3-1_all.deb ... 93s Unpacking ruby-devise (4.9.3-1) ... 93s Selecting previously unselected package ruby-rotp. 93s Preparing to unpack .../45-ruby-rotp_6.2.0-2_all.deb ... 93s Unpacking ruby-rotp (6.2.0-2) ... 93s Selecting previously unselected package ruby-devise-two-factor. 93s Preparing to unpack .../46-ruby-devise-two-factor_4.0.2-1_all.deb ... 93s Unpacking ruby-devise-two-factor (4.0.2-1) ... 93s Selecting previously unselected package ruby-diff-lcs. 93s Preparing to unpack .../47-ruby-diff-lcs_1.5.1-1_all.deb ... 93s Unpacking ruby-diff-lcs (1.5.1-1) ... 93s Selecting previously unselected package ruby-faker. 93s Preparing to unpack .../48-ruby-faker_2.21.0-1_all.deb ... 93s Unpacking ruby-faker (2.21.0-1) ... 93s Selecting previously unselected package ruby-rspec-support. 93s Preparing to unpack .../49-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 93s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 93s Selecting previously unselected package ruby-rspec-core. 93s Preparing to unpack .../50-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 93s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 93s Selecting previously unselected package ruby-rspec-expectations. 93s Preparing to unpack .../51-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 93s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 93s Selecting previously unselected package ruby-rspec-mocks. 93s Preparing to unpack .../52-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 93s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 93s Selecting previously unselected package ruby-rspec. 93s Preparing to unpack .../53-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 93s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 93s Selecting previously unselected package ruby-timecop. 93s Preparing to unpack .../54-ruby-timecop_0.9.10-1.1_all.deb ... 93s Unpacking ruby-timecop (0.9.10-1.1) ... 93s Setting up ruby-crass (1.0.6-1ubuntu1) ... 93s Setting up ruby-mini-portile2 (2.8.7-1) ... 93s Setting up rubygems-integration (1.18ubuntu1) ... 93s Setting up ruby-concurrent (1.2.3-4build1) ... 93s Setting up ruby-timecop (0.9.10-1.1) ... 93s Setting up ruby-erubi (1.12.0-1) ... 93s Setting up ruby-method-source (1.0.0-2ubuntu1) ... 93s Setting up ruby-net-telnet (0.2.0-1) ... 93s Setting up ruby-i18n (1.14.5-1) ... 93s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 93s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 93s Setting up ruby-faker (2.21.0-1) ... 93s Setting up ruby-builder (3.2.4-2) ... 93s Setting up libxslt1.1:ppc64el (1.1.39-0exp1ubuntu2) ... 93s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 93s Setting up ruby-xmlrpc (0.3.3-2) ... 93s Setting up ruby-zeitwerk (2.6.8-1) ... 93s Setting up ruby-tzinfo (2.0.6-1) ... 93s Setting up rake (13.2.1-1) ... 93s Setting up libruby:ppc64el (1:3.3~ubuntu3) ... 93s Setting up ruby-rubygems (3.4.20-1) ... 93s Setting up ruby-sdbm:ppc64el (1.0.0-5build5) ... 93s Setting up libruby3.3:ppc64el (3.3.4-2ubuntu7) ... 93s Setting up ruby3.3 (3.3.4-2ubuntu7) ... 93s Setting up ruby-bcrypt:ppc64el (3.1.20-1) ... 93s Setting up ruby (1:3.3~ubuntu3) ... 93s Setting up racc (1.6.2-1ubuntu1) ... 93s Setting up ruby-thor (1.3.1-1) ... 93s Setting up ruby-pkg-config (1.5.8-1) ... 93s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 93s Setting up ruby-diff-lcs (1.5.1-1) ... 93s Setting up ruby-orm-adapter (0.5.0-2.1ubuntu1) ... 93s Setting up ruby-rotp (6.2.0-2) ... 93s Setting up ruby-nokogiri (1.16.4+dfsg-1build1) ... 93s Setting up ruby-rack (2.2.7-1.1) ... 93s Setting up ruby-encryptor (3.0.0-2) ... 93s Setting up ruby-activesupport (2:6.1.7.3+dfsg-4) ... 93s Setting up gem2deb-test-runner (2.2.5) ... 93s Setting up ruby-rack-test (2.1.0-1) ... 93s Setting up ruby-attr-encrypted (4.1.0-1ubuntu1) ... 93s Setting up ruby-activemodel (2:6.1.7.3+dfsg-4) ... 93s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 93s Setting up ruby-loofah (2.22.0-1) ... 93s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 93s Setting up ruby-warden (1.2.8-1ubuntu1) ... 93s Setting up ruby-rails-deprecated-sanitizer (1.0.4-1) ... 93s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 93s Setting up ruby-rails-html-sanitizer (1.4.4-1) ... 93s Setting up ruby-rails-dom-testing (2.0.3-4) ... 93s Setting up ruby-actionview (2:6.1.7.3+dfsg-4) ... 93s Setting up ruby-actionpack (2:6.1.7.3+dfsg-4) ... 93s Setting up ruby-railties (2:6.1.7.3+dfsg-4) ... 93s Setting up ruby-responders (3.0.1-2) ... 93s Setting up ruby-devise (4.9.3-1) ... 93s Setting up ruby-devise-two-factor (4.0.2-1) ... 93s Processing triggers for man-db (2.13.0-1) ... 95s Processing triggers for libc-bin (2.40-4ubuntu1) ... 96s autopkgtest [22:19:40]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 96s autopkgtest [22:19:40]: test gem2deb-test-runner: [----------------------- 96s 96s ┌──────────────────────────────────────────────────────────────────────────────┐ 96s │ Checking Rubygems dependency resolution on ruby3.3 │ 96s └──────────────────────────────────────────────────────────────────────────────┘ 96s 96s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"devise-two-factor\" 96s mv lib ./.gem2deb.lib 96s /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1477:in `rescue in block in activate_dependencies': Could not find 'attr_encrypted' (>= 1.3, < 4, != 2) among 134 total gem(s) (Gem::MissingSpecError) 96s 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 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1474:in `block in activate_dependencies' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `block in gem' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `synchronize' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `gem' 96s from -e:1:in `
' 96s /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:317:in `to_specs': Could not find 'attr_encrypted' (>= 1.3, < 4, != 2) - did find: [attr_encrypted-4.1.0] (Gem::MissingSpecVersionError) 96s 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' , execute `gem env` for more information 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1475:in `block in activate_dependencies' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies' 96s from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `block in gem' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `synchronize' 96s from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `gem' 96s from -e:1:in `
' 96s mv ./.gem2deb.lib lib 97s abbrev (default: 0.1.2) 97s actionpack (6.1.7.3) 97s actionview (6.1.7.3) 97s activemodel (6.1.7.3) 97s activesupport (6.1.7.3) 97s attr_encrypted (4.1.0) 97s base64 (default: 0.2.0) 97s bcrypt (3.1.20) 97s benchmark (default: 0.3.0) 97s bigdecimal (default: 3.1.5) 97s builder (3.2.4) 97s bundler (default: 2.5.11) 97s cgi (default: 0.4.1) 97s concurrent-ruby (1.2.3) 97s concurrent-ruby-edge (0.7.0) 97s crass (1.0.6) 97s csv (default: 3.2.8) 97s date (default: 3.3.4) 97s debug (1.9.1) 97s delegate (default: 0.3.1) 97s devise (4.9.3) 97s devise-two-factor (4.0.2) 97s did_you_mean (default: 1.6.3) 97s diff-lcs (1.5.1) 97s digest (default: 3.1.1) 97s drb (default: 2.2.0) 97s encryptor (3.0.0) 97s english (default: 0.8.0) 97s erb (default: 4.0.3) 97s error_highlight (default: 0.6.0) 97s erubi (1.12.0) 97s etc (default: 1.4.3) 97s faker (2.21.0) 97s fcntl (default: 1.1.0) 97s fiddle (default: 1.1.2) 97s fileutils (default: 1.7.2) 97s find (default: 0.2.0) 97s forwardable (default: 1.3.3) 97s getoptlong (default: 0.2.1) 97s i18n (1.14.5) 97s io-console (default: 0.7.1) 97s io-nonblock (default: 0.3.0) 97s io-wait (default: 0.3.1) 97s ipaddr (default: 1.2.6) 97s irb (default: 1.13.1) 97s json (default: 2.7.1) 97s logger (default: 1.6.0) 97s loofah (2.22.0) 97s matrix (0.4.2) 97s method_source (1.0.0) 97s mini_portile2 (2.8.7) 97s minitest (5.20.0) 97s mutex_m (default: 0.2.0) 97s net-ftp (0.3.4) 97s net-http (default: 0.4.1) 97s net-imap (0.4.9.1) 97s net-pop (0.1.2) 97s net-protocol (default: 0.2.2) 97s net-smtp (0.4.0.1) 97s net-telnet (0.2.0) 97s nkf (default: 0.1.3) 97s nokogiri (1.16.4) 97s observer (default: 0.1.2) 97s open-uri (default: 0.4.1) 97s open3 (default: 0.2.1) 97s openssl (default: 3.2.0) 97s optparse (default: 0.4.0) 97s orm_adapter (0.5.0) 97s ostruct (default: 0.6.0) 97s pathname (default: 0.3.0) 97s pkg-config (1.5.8) 97s power_assert (2.0.3) 97s pp (default: 0.5.0) 97s prettyprint (default: 0.2.0) 97s prime (0.1.2) 97s prism (default: 0.19.0) 97s pstore (default: 0.1.3) 97s psych (default: 5.1.2) 97s racc (1.7.3, 1.6.2) 97s rack (2.2.7) 97s rack-test (2.1.0) 97s rails-deprecated_sanitizer (1.0.4) 97s rails-dom-testing (2.0.3) 97s rails-html-sanitizer (1.4.4) 97s railties (6.1.7.3) 97s rake (13.2.1, 13.1.0) 97s rbs (3.4.0) 97s rdoc (default: 6.6.3.1) 97s readline (default: 0.0.4) 97s reline (default: 0.5.7) 97s resolv (default: 0.3.0) 97s resolv-replace (default: 0.1.1) 97s responders (3.0.1) 97s rexml (3.2.8) 97s rinda (default: 0.2.0) 97s rotp (6.2.0) 97s rspec (3.13.0) 97s rspec-core (3.13.0) 97s rspec-expectations (3.13.0) 97s rspec-mocks (3.13.0) 97s rspec-support (3.13.1) 97s rss (0.3.0) 97s ruby2_keywords (default: 0.0.5) 97s rubygems-update (3.4.20) 97s sdbm (1.0.0) 97s securerandom (default: 0.3.1) 97s set (default: 1.1.0) 97s shellwords (default: 0.2.0) 97s singleton (default: 0.2.0) 97s stringio (default: 3.1.1) 97s strscan (default: 3.0.9) 97s syntax_suggest (default: 2.0.0) 97s syslog (default: 0.1.2) 97s tempfile (default: 0.2.1) 97s test-unit (3.6.1) 97s thor (1.3.1) 97s time (default: 0.3.0) 97s timecop (0.9.10) 97s timeout (default: 0.4.1) 97s tmpdir (default: 0.2.0) 97s tsort (default: 0.2.0) 97s typeprof (0.21.9) 97s tzinfo (2.0.6) 97s un (default: 0.3.0) 97s uri (default: 0.13.0) 97s warden (1.2.8) 97s weakref (default: 0.1.3) 97s webrick (1.8.1) 97s xmlrpc (0.3.3) 97s yaml (default: 0.3.0) 97s zeitwerk (2.6.8) 97s zlib (default: 3.1.1) 97s 97s ┌──────────────────────────────────────────────────────────────────────────────┐ 97s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 97s └──────────────────────────────────────────────────────────────────────────────┘ 97s 97s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 97s mv lib ./.gem2deb.lib 97s /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 98s 98s Randomized with seed 34016 98s 98s Devise::Models::TwoFactorBackupable 98s When included in a class 98s behaves like two_factor_backupable 98s required_fields 98s has the attr_encrypted fields for otp_backup_codes 98s #invalidate_otp_backup_code! 98s given an invalid recovery code 101s returns false 101s given a valid recovery code 106s invalidates that recovery code 109s returns true 112s does not invalidate the other recovery codes 112s #generate_otp_backup_codes! 112s with no existing recovery codes 114s stores the codes as BCrypt hashes 115s generates recovery codes of the correct length 117s generates the correct number of new recovery codes 119s generates distinct recovery codes 119s with existing recovery codes 123s invalidates the existing recovery codes 123s 123s Devise::Models::TwoFactorAuthenticatable 123s When included in a class 123s otp_secret options 123s should be of the mode (FAILED - 1) 123s should be of the mode (FAILED - 2) 123s should be of the key (FAILED - 3) 123s behaves like two_factor_authenticatable 123s #validate_and_consume_otp! 123s validates an OTP within the allowed drift 123s does not validate an OTP above the allowed drift 123s does not validate an OTP below the allowed drift 123s fails a nil OTP value 123s validates a precisely correct OTP with whitespace 123s validates a precisely correct OTP 123s with a stored consumed_timestep 123s given a previously valid OTP within the allowed drift 123s fails to validate 123s given a precisely correct OTP 123s fails to validate 123s given a valid OTP used multiple times within the allowed drift 123s after the otp interval 123s fails to validate 123s given a valid OTP used multiple times within the allowed drift after a subsequent login 123s after the otp interval 123s fails to validate 123s #otp_secret 123s stores an iv for otp_secret 123s stores the encrypted otp_secret 123s stores a salt for otp_secret 123s should be of the configured length 123s #otp_provisioning_uri 123s should return uri with issuer option 123s should return uri with specified account 123s required_fields 123s should have the attr_encrypted fields for otp_secret 123s 123s Devise::Models::TwoFactorAuthenticatable 123s When clean_up_passwords is called 123s password_confirmation should be nill 123s otp_attempt should be nill 123s 123s Devise::Models::TwoFactorAuthenticatable 123s When included in a class 123s behaves like two_factor_authenticatable 123s #otp_secret 123s stores a salt for otp_secret 123s stores the encrypted otp_secret 123s should be of the configured length 123s stores an iv for otp_secret 123s required_fields 123s should have the attr_encrypted fields for otp_secret 123s #validate_and_consume_otp! 123s validates a precisely correct OTP with whitespace 123s validates an OTP within the allowed drift 123s fails a nil OTP value 123s does not validate an OTP above the allowed drift 123s does not validate an OTP below the allowed drift 123s validates a precisely correct OTP 123s with a stored consumed_timestep 123s given a precisely correct OTP 123s fails to validate 123s given a valid OTP used multiple times within the allowed drift after a subsequent login 123s after the otp interval 123s fails to validate 123s given a valid OTP used multiple times within the allowed drift 123s after the otp interval 123s fails to validate 123s given a previously valid OTP within the allowed drift 123s fails to validate 123s #otp_provisioning_uri 123s should return uri with specified account 123s should return uri with issuer option 123s 123s Failures: 123s 123s 1) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 123s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:algorithm]).to eq('aes-256-cbc') 123s 123s NoMethodError: 123s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 123s # ./spec/devise/models/two_factor_authenticatable_spec.rb:75:in `block (4 levels) in ' 123s 123s 2) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the mode 123s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:mode]).to eq(:per_attribute_iv_and_salt) 123s 123s NoMethodError: 123s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 123s # ./spec/devise/models/two_factor_authenticatable_spec.rb:71:in `block (4 levels) in ' 123s 123s 3) Devise::Models::TwoFactorAuthenticatable When included in a class otp_secret options should be of the key 123s Failure/Error: expect(subject.encrypted_attributes[:otp_secret][:key]).to eq('test-key'*8) 123s 123s NoMethodError: 123s undefined method `encrypted_attributes' for an instance of TwoFactorAuthenticatableWithCustomizeAttrEncryptedDouble 123s # ./spec/devise/models/two_factor_authenticatable_spec.rb:67:in `block (4 levels) in ' 123s 123s Finished in 25 seconds (files took 1.1 seconds to load) 123s 49 examples, 3 failures 123s 123s Failed examples: 123s 123s 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 123s 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 123s 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 123s 123s Randomized with seed 34016 123s 123s /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 123s mv ./.gem2deb.lib lib 124s autopkgtest [22:20:08]: test gem2deb-test-runner: -----------------------] 124s autopkgtest [22:20:08]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 124s gem2deb-test-runner FAIL non-zero exit status 1 125s autopkgtest [22:20:09]: @@@@@@@@@@@@@@@@@@@@ summary 125s gem2deb-test-runner FAIL non-zero exit status 1 129s nova [W] Using flock in prodstack6-ppc64el 129s Creating nova instance adt-plucky-ppc64el-ruby-devise-two-factor-20250109-221804-juju-7f2275-prod-proposed-migration-environment-2-2a995e1f-be93-4e21-98af-d457b655fd4e from image adt/ubuntu-plucky-ppc64el-server-20250109.img (UUID 64b5f774-d527-428e-8e51-6eba74faf5f9)... 129s nova [W] Timed out waiting for a2312934-ace3-4b8d-bc80-60453cf4bbd8 to get deleted.