0s autopkgtest [08:41:07]: starting date and time: 2025-03-10 08:41:07+0000 0s autopkgtest [08:41:07]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [08:41:07]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0s9sgb8l/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-rack-oauth2,src:ruby-rack --apt-upgrade ruby-rack-oauth2 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ruby-rack-oauth2/2.2.1-1 ruby-rack/3.1.9-2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@lcy02-9.secgroup --name adt-plucky-amd64-ruby-rack-oauth2-20250310-084107-juju-7f2275-prod-proposed-migration-environment-15-576aab36-3610-4a41-b8b0-150c7249b826 --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 50s autopkgtest [08:41:57]: testbed dpkg architecture: amd64 50s autopkgtest [08:41:57]: testbed apt version: 2.9.31ubuntu1 50s autopkgtest [08:41:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 50s autopkgtest [08:41:57]: testbed release detected to be: None 51s autopkgtest [08:41:58]: updating testbed package index (apt update) 51s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 51s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 51s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 51s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 51s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3400 B] 51s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [43.1 kB] 51s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 51s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [420 kB] 51s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [36.2 kB] 51s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [73.8 kB] 51s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [19.6 kB] 51s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [309 kB] 51s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [132 kB] 51s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [7592 B] 51s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [3536 B] 51s Fetched 1170 kB in 0s (4966 kB/s) 52s Reading package lists... 52s + lsb_release --codename --short 52s + RELEASE=plucky 52s + cat 52s + [ plucky != trusty ] 52s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 52s Reading package lists... 52s Building dependency tree... 52s Reading state information... 53s Calculating upgrade... 53s Calculating upgrade... 53s The following packages will be upgraded: 53s apt apt-utils binutils binutils-common binutils-x86-64-linux-gnu curl 53s dosfstools fwupd gir1.2-girepository-2.0 libapt-pkg7.0 libaudit-common 53s libaudit1 libbinutils libbrotli1 libcap-ng0 libctf-nobfd0 libctf0 53s libcurl3t64-gnutls libcurl4t64 libfwupd3 libgirepository-1.0-1 libgprofng0 53s libjemalloc2 liblz4-1 liblzma5 libpci3 libselinux1 libsframe1 libxml2 53s media-types pciutils python-apt-common python3-apt python3-cffi-backend 53s python3-dbus python3-gi python3-lazr.uri python3-markupsafe python3-systemd 53s python3-yaml xz-utils 53s 41 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 53s Need to get 16.0 MB of archives. 53s After this operation, 1508 kB disk space will be freed. 53s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 liblz4-1 amd64 1.10.0-4 [66.4 kB] 53s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 liblzma5 amd64 5.6.4-1 [157 kB] 53s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 libapt-pkg7.0 amd64 2.9.31ubuntu3 [1137 kB] 53s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 apt amd64 2.9.31ubuntu3 [1438 kB] 53s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 apt-utils amd64 2.9.31ubuntu3 [222 kB] 53s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit-common all 1:4.0.2-2ubuntu2 [6628 B] 53s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 libcap-ng0 amd64 0.8.5-4build1 [15.6 kB] 53s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 libaudit1 amd64 1:4.0.2-2ubuntu2 [54.0 kB] 53s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libselinux1 amd64 3.7-3ubuntu3 [87.3 kB] 53s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 libgirepository-1.0-1 amd64 1.83.4-1 [89.5 kB] 53s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 gir1.2-girepository-2.0 amd64 1.83.4-1 [25.3 kB] 53s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2ubuntu5 [772 kB] 53s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 media-types all 13.0.0 [29.9 kB] 53s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 python-apt-common all 2.9.9build1 [21.3 kB] 53s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-apt amd64 2.9.9build1 [172 kB] 53s Get:16 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-cffi-backend amd64 1.17.1-2build2 [96.6 kB] 53s Get:17 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-dbus amd64 1.3.2-5build5 [102 kB] 53s Get:18 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-gi amd64 3.50.0-4build1 [252 kB] 53s Get:19 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-yaml amd64 6.0.2-1build2 [144 kB] 53s Get:20 http://ftpmaster.internal/ubuntu plucky/main amd64 dosfstools amd64 4.2-1.2 [95.0 kB] 53s Get:21 http://ftpmaster.internal/ubuntu plucky/main amd64 pciutils amd64 1:3.13.0-2 [110 kB] 53s Get:22 http://ftpmaster.internal/ubuntu plucky/main amd64 libpci3 amd64 1:3.13.0-2 [39.8 kB] 53s Get:23 http://ftpmaster.internal/ubuntu plucky/main amd64 xz-utils amd64 5.6.4-1 [278 kB] 53s Get:24 http://ftpmaster.internal/ubuntu plucky/main amd64 libgprofng0 amd64 2.44-3ubuntu1 [886 kB] 53s Get:25 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf0 amd64 2.44-3ubuntu1 [96.5 kB] 53s Get:26 http://ftpmaster.internal/ubuntu plucky/main amd64 libctf-nobfd0 amd64 2.44-3ubuntu1 [98.9 kB] 53s Get:27 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-x86-64-linux-gnu amd64 2.44-3ubuntu1 [1108 kB] 53s Get:28 http://ftpmaster.internal/ubuntu plucky/main amd64 libbinutils amd64 2.44-3ubuntu1 [585 kB] 53s Get:29 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils amd64 2.44-3ubuntu1 [208 kB] 53s Get:30 http://ftpmaster.internal/ubuntu plucky/main amd64 binutils-common amd64 2.44-3ubuntu1 [215 kB] 53s Get:31 http://ftpmaster.internal/ubuntu plucky/main amd64 libsframe1 amd64 2.44-3ubuntu1 [14.8 kB] 53s Get:32 http://ftpmaster.internal/ubuntu plucky/main amd64 libbrotli1 amd64 1.1.0-2build4 [365 kB] 53s Get:33 http://ftpmaster.internal/ubuntu plucky/main amd64 curl amd64 8.12.1-3ubuntu1 [258 kB] 53s Get:34 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl4t64 amd64 8.12.1-3ubuntu1 [437 kB] 53s Get:35 http://ftpmaster.internal/ubuntu plucky/main amd64 libcurl3t64-gnutls amd64 8.12.1-3ubuntu1 [432 kB] 53s Get:36 http://ftpmaster.internal/ubuntu plucky/main amd64 fwupd amd64 2.0.6-4 [5408 kB] 53s Get:37 http://ftpmaster.internal/ubuntu plucky/main amd64 libfwupd3 amd64 2.0.6-4 [136 kB] 53s Get:38 http://ftpmaster.internal/ubuntu plucky/main amd64 libjemalloc2 amd64 5.3.0-3 [277 kB] 53s Get:39 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-lazr.uri all 1.0.6-6 [13.7 kB] 53s Get:40 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-markupsafe amd64 2.1.5-1build4 [13.4 kB] 53s Get:41 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-systemd amd64 235-1build6 [43.9 kB] 54s Fetched 16.0 MB in 0s (63.5 MB/s) 54s (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 ... 109138 files and directories currently installed.) 54s Preparing to unpack .../liblz4-1_1.10.0-4_amd64.deb ... 54s Unpacking liblz4-1:amd64 (1.10.0-4) over (1.10.0-3) ... 54s Setting up liblz4-1:amd64 (1.10.0-4) ... 54s (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 ... 109138 files and directories currently installed.) 54s Preparing to unpack .../liblzma5_5.6.4-1_amd64.deb ... 54s Unpacking liblzma5:amd64 (5.6.4-1) over (5.6.3-1) ... 54s Setting up liblzma5:amd64 (5.6.4-1) ... 54s (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 ... 109138 files and directories currently installed.) 54s Preparing to unpack .../libapt-pkg7.0_2.9.31ubuntu3_amd64.deb ... 54s Unpacking libapt-pkg7.0:amd64 (2.9.31ubuntu3) over (2.9.31ubuntu1) ... 54s Setting up libapt-pkg7.0:amd64 (2.9.31ubuntu3) ... 54s (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 ... 109138 files and directories currently installed.) 54s Preparing to unpack .../apt_2.9.31ubuntu3_amd64.deb ... 54s Unpacking apt (2.9.31ubuntu3) over (2.9.31ubuntu1) ... 54s Setting up apt (2.9.31ubuntu3) ... 55s (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 ... 109138 files and directories currently installed.) 55s Preparing to unpack .../apt-utils_2.9.31ubuntu3_amd64.deb ... 55s Unpacking apt-utils (2.9.31ubuntu3) over (2.9.31ubuntu1) ... 55s Preparing to unpack .../libaudit-common_1%3a4.0.2-2ubuntu2_all.deb ... 55s Unpacking libaudit-common (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 55s Setting up libaudit-common (1:4.0.2-2ubuntu2) ... 55s (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 ... 109138 files and directories currently installed.) 55s Preparing to unpack .../libcap-ng0_0.8.5-4build1_amd64.deb ... 55s Unpacking libcap-ng0:amd64 (0.8.5-4build1) over (0.8.5-4) ... 55s Setting up libcap-ng0:amd64 (0.8.5-4build1) ... 55s (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 ... 109138 files and directories currently installed.) 55s Preparing to unpack .../libaudit1_1%3a4.0.2-2ubuntu2_amd64.deb ... 55s Unpacking libaudit1:amd64 (1:4.0.2-2ubuntu2) over (1:4.0.2-2ubuntu1) ... 55s Setting up libaudit1:amd64 (1:4.0.2-2ubuntu2) ... 56s (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 ... 109138 files and directories currently installed.) 56s Preparing to unpack .../libselinux1_3.7-3ubuntu3_amd64.deb ... 56s Unpacking libselinux1:amd64 (3.7-3ubuntu3) over (3.7-3ubuntu2) ... 56s Setting up libselinux1:amd64 (3.7-3ubuntu3) ... 56s (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 ... 109138 files and directories currently installed.) 56s Preparing to unpack .../00-libgirepository-1.0-1_1.83.4-1_amd64.deb ... 56s Unpacking libgirepository-1.0-1:amd64 (1.83.4-1) over (1.82.0-4) ... 56s Preparing to unpack .../01-gir1.2-girepository-2.0_1.83.4-1_amd64.deb ... 56s Unpacking gir1.2-girepository-2.0:amd64 (1.83.4-1) over (1.82.0-4) ... 56s Preparing to unpack .../02-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu5_amd64.deb ... 56s Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) over (2.12.7+dfsg+really2.9.14-0.2ubuntu4) ... 56s Preparing to unpack .../03-media-types_13.0.0_all.deb ... 56s Unpacking media-types (13.0.0) over (12.0.0) ... 56s Preparing to unpack .../04-python-apt-common_2.9.9build1_all.deb ... 56s Unpacking python-apt-common (2.9.9build1) over (2.9.9) ... 56s Preparing to unpack .../05-python3-apt_2.9.9build1_amd64.deb ... 56s Unpacking python3-apt (2.9.9build1) over (2.9.9) ... 56s Preparing to unpack .../06-python3-cffi-backend_1.17.1-2build2_amd64.deb ... 56s Unpacking python3-cffi-backend:amd64 (1.17.1-2build2) over (1.17.1-2build1) ... 56s Preparing to unpack .../07-python3-dbus_1.3.2-5build5_amd64.deb ... 56s Unpacking python3-dbus (1.3.2-5build5) over (1.3.2-5build4) ... 56s Preparing to unpack .../08-python3-gi_3.50.0-4build1_amd64.deb ... 56s Unpacking python3-gi (3.50.0-4build1) over (3.50.0-4) ... 56s Preparing to unpack .../09-python3-yaml_6.0.2-1build2_amd64.deb ... 56s Unpacking python3-yaml (6.0.2-1build2) over (6.0.2-1build1) ... 56s Preparing to unpack .../10-dosfstools_4.2-1.2_amd64.deb ... 56s Unpacking dosfstools (4.2-1.2) over (4.2-1.1build1) ... 56s Preparing to unpack .../11-pciutils_1%3a3.13.0-2_amd64.deb ... 56s Unpacking pciutils (1:3.13.0-2) over (1:3.13.0-1) ... 56s Preparing to unpack .../12-libpci3_1%3a3.13.0-2_amd64.deb ... 56s Unpacking libpci3:amd64 (1:3.13.0-2) over (1:3.13.0-1) ... 56s Preparing to unpack .../13-xz-utils_5.6.4-1_amd64.deb ... 56s Unpacking xz-utils (5.6.4-1) over (5.6.3-1) ... 56s Preparing to unpack .../14-libgprofng0_2.44-3ubuntu1_amd64.deb ... 56s Unpacking libgprofng0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 56s Preparing to unpack .../15-libctf0_2.44-3ubuntu1_amd64.deb ... 56s Unpacking libctf0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../16-libctf-nobfd0_2.44-3ubuntu1_amd64.deb ... 57s Unpacking libctf-nobfd0:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../17-binutils-x86-64-linux-gnu_2.44-3ubuntu1_amd64.deb ... 57s Unpacking binutils-x86-64-linux-gnu (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../18-libbinutils_2.44-3ubuntu1_amd64.deb ... 57s Unpacking libbinutils:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../19-binutils_2.44-3ubuntu1_amd64.deb ... 57s Unpacking binutils (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../20-binutils-common_2.44-3ubuntu1_amd64.deb ... 57s Unpacking binutils-common:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../21-libsframe1_2.44-3ubuntu1_amd64.deb ... 57s Unpacking libsframe1:amd64 (2.44-3ubuntu1) over (2.44-2ubuntu1) ... 57s Preparing to unpack .../22-libbrotli1_1.1.0-2build4_amd64.deb ... 57s Unpacking libbrotli1:amd64 (1.1.0-2build4) over (1.1.0-2build3) ... 57s Preparing to unpack .../23-curl_8.12.1-3ubuntu1_amd64.deb ... 57s Unpacking curl (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 57s Preparing to unpack .../24-libcurl4t64_8.12.1-3ubuntu1_amd64.deb ... 57s Unpacking libcurl4t64:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 57s Preparing to unpack .../25-libcurl3t64-gnutls_8.12.1-3ubuntu1_amd64.deb ... 57s Unpacking libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) over (8.12.1-2ubuntu1) ... 57s Preparing to unpack .../26-fwupd_2.0.6-4_amd64.deb ... 57s Unpacking fwupd (2.0.6-4) over (2.0.6-3) ... 57s Preparing to unpack .../27-libfwupd3_2.0.6-4_amd64.deb ... 57s Unpacking libfwupd3:amd64 (2.0.6-4) over (2.0.6-3) ... 57s Preparing to unpack .../28-libjemalloc2_5.3.0-3_amd64.deb ... 57s Unpacking libjemalloc2:amd64 (5.3.0-3) over (5.3.0-2build1) ... 57s Preparing to unpack .../29-python3-lazr.uri_1.0.6-6_all.deb ... 57s Unpacking python3-lazr.uri (1.0.6-6) over (1.0.6-5) ... 57s Preparing to unpack .../30-python3-markupsafe_2.1.5-1build4_amd64.deb ... 58s Unpacking python3-markupsafe (2.1.5-1build4) over (2.1.5-1build3) ... 58s Preparing to unpack .../31-python3-systemd_235-1build6_amd64.deb ... 58s Unpacking python3-systemd (235-1build6) over (235-1build5) ... 58s Setting up media-types (13.0.0) ... 58s Installing new version of config file /etc/mime.types ... 58s Setting up python3-dbus (1.3.2-5build5) ... 58s Setting up apt-utils (2.9.31ubuntu3) ... 58s Setting up libbrotli1:amd64 (1.1.0-2build4) ... 58s Setting up dosfstools (4.2-1.2) ... 58s Setting up binutils-common:amd64 (2.44-3ubuntu1) ... 58s Setting up libcurl3t64-gnutls:amd64 (8.12.1-3ubuntu1) ... 58s Setting up libctf-nobfd0:amd64 (2.44-3ubuntu1) ... 58s Setting up python3-yaml (6.0.2-1build2) ... 58s Setting up libfwupd3:amd64 (2.0.6-4) ... 58s Setting up python3-lazr.uri (1.0.6-6) ... 58s Setting up libjemalloc2:amd64 (5.3.0-3) ... 58s Setting up python3-markupsafe (2.1.5-1build4) ... 58s Setting up libsframe1:amd64 (2.44-3ubuntu1) ... 58s Setting up xz-utils (5.6.4-1) ... 58s Setting up libpci3:amd64 (1:3.13.0-2) ... 58s Setting up python-apt-common (2.9.9build1) ... 58s Setting up libgirepository-1.0-1:amd64 (1.83.4-1) ... 58s Setting up libbinutils:amd64 (2.44-3ubuntu1) ... 58s Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2ubuntu5) ... 58s Setting up fwupd (2.0.6-4) ... 59s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 59s fwupd.service is a disabled or a static unit not running, not starting it. 59s Setting up python3-systemd (235-1build6) ... 59s Setting up python3-cffi-backend:amd64 (1.17.1-2build2) ... 59s Setting up libctf0:amd64 (2.44-3ubuntu1) ... 59s Setting up libcurl4t64:amd64 (8.12.1-3ubuntu1) ... 59s Setting up python3-apt (2.9.9build1) ... 59s Setting up libgprofng0:amd64 (2.44-3ubuntu1) ... 59s Setting up gir1.2-girepository-2.0:amd64 (1.83.4-1) ... 59s Setting up python3-gi (3.50.0-4build1) ... 59s Setting up pciutils (1:3.13.0-2) ... 59s Setting up curl (8.12.1-3ubuntu1) ... 59s Setting up binutils-x86-64-linux-gnu (2.44-3ubuntu1) ... 59s Setting up binutils (2.44-3ubuntu1) ... 59s Processing triggers for dbus (1.16.2-1ubuntu1) ... 59s Processing triggers for libc-bin (2.41-1ubuntu1) ... 59s Processing triggers for man-db (2.13.0-1) ... 61s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 61s + /usr/lib/apt/apt-helper analyze-pattern ?true 61s + uname -r 61s + sed s/\./\\./g 61s + running_kernel_pattern=^linux-.*6\.12\.0-16-generic.* 61s + apt list ?obsolete 61s + tail -n+2 61s + cut -d/ -f1 61s + grep -v ^linux-.*6\.12\.0-16-generic.* 62s + true 62s + obsolete_pkgs= 62s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove 62s Reading package lists... 62s Building dependency tree... 62s Reading state information... 63s Solving dependencies... 63s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 63s + grep -q trusty /etc/lsb-release 63s + [ ! -d /usr/share/doc/unattended-upgrades ] 63s + [ ! -d /usr/share/doc/lxd ] 63s + [ ! -d /usr/share/doc/lxd-client ] 63s + [ ! -d /usr/share/doc/snapd ] 63s + type iptables 63s + cat 63s + chmod 755 /etc/rc.local 63s + . /etc/rc.local 63s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 63s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 63s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 63s + uname -m 63s + [ x86_64 = ppc64le ] 63s + [ -d /run/systemd/system ] 63s + systemd-detect-virt --quiet --vm 63s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 63s + cat 63s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 63s + echo COMPRESS=lz4 63s autopkgtest [08:42:10]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 63s Building dependency tree... 63s Reading state information... 63s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 64s Starting 2 pkgProblemResolver with broken count: 0 64s Done 65s Entering ResolveByKeep 65s 65s Calculating upgrade... 65s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Starting pkgProblemResolver with broken count: 0 65s Starting 2 pkgProblemResolver with broken count: 0 65s Done 66s Solving dependencies... 66s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s autopkgtest [08:42:13]: rebooting testbed after setup commands that affected boot 69s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 81s autopkgtest [08:42:28]: testbed running kernel: Linux 6.12.0-16-generic #16-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 14 15:11:11 UTC 2025 82s autopkgtest [08:42:29]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rack-oauth2 83s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe ruby-rack-oauth2 2.2.1-1 (dsc) [2328 B] 83s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe ruby-rack-oauth2 2.2.1-1 (tar) [27.1 kB] 83s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe ruby-rack-oauth2 2.2.1-1 (diff) [4104 B] 83s gpgv: Signature made Sat Mar 8 17:03:11 2025 UTC 83s gpgv: using RSA key 6C9D10484A9AE4CC385F7C71823E967606C34B96 83s gpgv: issuer "utkarsh@debian.org" 83s gpgv: Can't check signature: No public key 83s dpkg-source: warning: cannot verify inline signature for ./ruby-rack-oauth2_2.2.1-1.dsc: no acceptable signature found 83s autopkgtest [08:42:30]: testing package ruby-rack-oauth2 version 2.2.1-1 83s autopkgtest [08:42:30]: build not needed 83s autopkgtest [08:42:30]: test gem2deb-test-runner: preparing testbed 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Starting pkgProblemResolver with broken count: 0 84s Starting 2 pkgProblemResolver with broken count: 0 84s Done 85s The following NEW packages will be installed: 85s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-activesupport 85s ruby-addressable ruby-aes-key-wrap ruby-attr-required ruby-bindata 85s ruby-concurrent ruby-crack ruby-did-you-mean ruby-diff-lcs ruby-domain-name 85s ruby-faraday ruby-faraday-follow-redirects ruby-faraday-net-http 85s ruby-hashdiff ruby-http-cookie ruby-httpclient ruby-i18n ruby-json-jwt 85s ruby-minitest ruby-multi-json ruby-net-telnet ruby-power-assert 85s ruby-public-suffix ruby-rack ruby-rack-oauth2 ruby-rspec ruby-rspec-core 85s ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks ruby-rspec-support 85s ruby-rubygems ruby-sdbm ruby-test-unit ruby-tzinfo ruby-unf ruby-unf-ext 85s ruby-webmock ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.3 85s rubygems-integration 85s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 85s Need to get 8478 kB of archives. 85s After this operation, 41.8 MB of additional disk space will be used. 85s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 rubygems-integration all 1.19 [5550 B] 85s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-did-you-mean all 1.6.3-2 [14.8 kB] 85s Get:3 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-minitest all 5.25.4-2ubuntu1 [48.9 kB] 85s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 85s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-power-assert all 2.0.3-1 [12.0 kB] 85s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-test-unit all 3.6.2-1 [67.0 kB] 85s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-webrick all 1.8.1-1ubuntu1 [52.6 kB] 85s Get:8 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-xmlrpc all 0.3.3-2 [24.8 kB] 85s Get:9 http://ftpmaster.internal/ubuntu plucky/main amd64 libruby amd64 1:3.3~ubuntu3 [5036 B] 85s Get:10 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-sdbm amd64 1.0.0-5build5 [16.1 kB] 85s Get:11 http://ftpmaster.internal/ubuntu plucky/main amd64 libruby3.3 amd64 3.3.6-1.1ubuntu1 [6115 kB] 85s Get:12 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby3.3 amd64 3.3.6-1.1ubuntu1 [49.2 kB] 85s Get:13 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby-rubygems all 3.6.3-1 [332 kB] 85s Get:14 http://ftpmaster.internal/ubuntu plucky/main amd64 ruby amd64 1:3.3~ubuntu3 [3618 B] 85s Get:15 http://ftpmaster.internal/ubuntu plucky/main amd64 rake all 13.2.1-1 [45.8 kB] 85s Get:16 http://ftpmaster.internal/ubuntu plucky/universe amd64 gem2deb-test-runner amd64 2.2.5 [18.3 kB] 85s Get:17 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-concurrent all 1.3.4-1 [283 kB] 85s Get:18 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-i18n all 1.14.5-1 [42.5 kB] 85s Get:19 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-tzinfo all 2.0.6-1 [55.2 kB] 85s Get:20 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-zeitwerk all 2.6.8-1 [36.0 kB] 85s Get:21 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-activesupport all 2:6.1.7.3+dfsg-7 [198 kB] 85s Get:22 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-public-suffix all 4.0.6+ds-2 [14.1 kB] 85s Get:23 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-addressable all 2.8.5-1 [55.3 kB] 85s Get:24 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-aes-key-wrap all 1.1.0-1 [5228 B] 85s Get:25 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-attr-required all 1.0.0-2.1 [4620 B] 85s Get:26 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-bindata all 2.4.14-1 [41.4 kB] 85s Get:27 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-crack all 0.4.4-4 [8764 B] 85s Get:28 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-diff-lcs all 1.5.1-1 [22.8 kB] 85s Get:29 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-unf-ext amd64 0.0.7.7-1build7 [141 kB] 85s Get:30 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-unf all 0.1.4-2.1 [4744 B] 85s Get:31 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-domain-name all 0.6.20240107-1 [48.1 kB] 85s Get:32 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-faraday-net-http all 3.0.2-2 [5716 B] 85s Get:33 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-faraday all 2.10.0-2 [37.0 kB] 86s Get:34 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-faraday-follow-redirects all 0.3.0-2 [6604 B] 86s Get:35 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-hashdiff all 1.1.0-1 [12.9 kB] 86s Get:36 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-http-cookie all 1.0.5-1 [23.7 kB] 86s Get:37 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-httpclient all 2.8.3+git20211122.4658227-1 [62.7 kB] 86s Get:38 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-json-jwt all 1.14.0-2 [10.6 kB] 86s Get:39 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-multi-json all 1.14.1-2 [15.7 kB] 86s Get:40 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 ruby-rack all 3.1.9-2 [79.3 kB] 86s Get:41 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 ruby-rack-oauth2 all 2.2.1-1 [16.3 kB] 86s Get:42 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 86s Get:43 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 86s Get:44 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 86s Get:45 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 86s Get:46 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 86s Get:47 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-rspec-its all 1.3.0-1 [6212 B] 86s Get:48 http://ftpmaster.internal/ubuntu plucky/universe amd64 ruby-webmock all 3.24.0-2 [47.8 kB] 86s Fetched 8478 kB in 1s (12.3 MB/s) 86s Selecting previously unselected package rubygems-integration. 86s (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 ... 109121 files and directories currently installed.) 86s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 86s Unpacking rubygems-integration (1.19) ... 86s Selecting previously unselected package ruby-did-you-mean. 86s Preparing to unpack .../01-ruby-did-you-mean_1.6.3-2_all.deb ... 86s Unpacking ruby-did-you-mean (1.6.3-2) ... 86s Selecting previously unselected package ruby-minitest. 86s Preparing to unpack .../02-ruby-minitest_5.25.4-2ubuntu1_all.deb ... 86s Unpacking ruby-minitest (5.25.4-2ubuntu1) ... 86s Selecting previously unselected package ruby-net-telnet. 86s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 86s Unpacking ruby-net-telnet (0.2.0-1) ... 86s Selecting previously unselected package ruby-power-assert. 86s Preparing to unpack .../04-ruby-power-assert_2.0.3-1_all.deb ... 86s Unpacking ruby-power-assert (2.0.3-1) ... 86s Selecting previously unselected package ruby-test-unit. 86s Preparing to unpack .../05-ruby-test-unit_3.6.2-1_all.deb ... 86s Unpacking ruby-test-unit (3.6.2-1) ... 86s Selecting previously unselected package ruby-webrick. 86s Preparing to unpack .../06-ruby-webrick_1.8.1-1ubuntu1_all.deb ... 86s Unpacking ruby-webrick (1.8.1-1ubuntu1) ... 87s Selecting previously unselected package ruby-xmlrpc. 87s Preparing to unpack .../07-ruby-xmlrpc_0.3.3-2_all.deb ... 87s Unpacking ruby-xmlrpc (0.3.3-2) ... 87s Selecting previously unselected package libruby:amd64. 87s Preparing to unpack .../08-libruby_1%3a3.3~ubuntu3_amd64.deb ... 87s Unpacking libruby:amd64 (1:3.3~ubuntu3) ... 87s Selecting previously unselected package ruby-sdbm:amd64. 87s Preparing to unpack .../09-ruby-sdbm_1.0.0-5build5_amd64.deb ... 87s Unpacking ruby-sdbm:amd64 (1.0.0-5build5) ... 87s Selecting previously unselected package libruby3.3:amd64. 87s Preparing to unpack .../10-libruby3.3_3.3.6-1.1ubuntu1_amd64.deb ... 87s Unpacking libruby3.3:amd64 (3.3.6-1.1ubuntu1) ... 87s Selecting previously unselected package ruby3.3. 87s Preparing to unpack .../11-ruby3.3_3.3.6-1.1ubuntu1_amd64.deb ... 87s Unpacking ruby3.3 (3.3.6-1.1ubuntu1) ... 87s Selecting previously unselected package ruby-rubygems. 87s Preparing to unpack .../12-ruby-rubygems_3.6.3-1_all.deb ... 87s Unpacking ruby-rubygems (3.6.3-1) ... 87s Selecting previously unselected package ruby. 87s Preparing to unpack .../13-ruby_1%3a3.3~ubuntu3_amd64.deb ... 87s Unpacking ruby (1:3.3~ubuntu3) ... 87s Selecting previously unselected package rake. 87s Preparing to unpack .../14-rake_13.2.1-1_all.deb ... 87s Unpacking rake (13.2.1-1) ... 87s Selecting previously unselected package gem2deb-test-runner. 87s Preparing to unpack .../15-gem2deb-test-runner_2.2.5_amd64.deb ... 87s Unpacking gem2deb-test-runner (2.2.5) ... 87s Selecting previously unselected package ruby-concurrent. 87s Preparing to unpack .../16-ruby-concurrent_1.3.4-1_all.deb ... 87s Unpacking ruby-concurrent (1.3.4-1) ... 87s Selecting previously unselected package ruby-i18n. 87s Preparing to unpack .../17-ruby-i18n_1.14.5-1_all.deb ... 87s Unpacking ruby-i18n (1.14.5-1) ... 87s Selecting previously unselected package ruby-tzinfo. 87s Preparing to unpack .../18-ruby-tzinfo_2.0.6-1_all.deb ... 87s Unpacking ruby-tzinfo (2.0.6-1) ... 87s Selecting previously unselected package ruby-zeitwerk. 87s Preparing to unpack .../19-ruby-zeitwerk_2.6.8-1_all.deb ... 87s Unpacking ruby-zeitwerk (2.6.8-1) ... 87s Selecting previously unselected package ruby-activesupport. 87s Preparing to unpack .../20-ruby-activesupport_2%3a6.1.7.3+dfsg-7_all.deb ... 87s Unpacking ruby-activesupport (2:6.1.7.3+dfsg-7) ... 87s Selecting previously unselected package ruby-public-suffix. 88s Preparing to unpack .../21-ruby-public-suffix_4.0.6+ds-2_all.deb ... 88s Unpacking ruby-public-suffix (4.0.6+ds-2) ... 88s Selecting previously unselected package ruby-addressable. 88s Preparing to unpack .../22-ruby-addressable_2.8.5-1_all.deb ... 88s Unpacking ruby-addressable (2.8.5-1) ... 88s Selecting previously unselected package ruby-aes-key-wrap. 88s Preparing to unpack .../23-ruby-aes-key-wrap_1.1.0-1_all.deb ... 88s Unpacking ruby-aes-key-wrap (1.1.0-1) ... 88s Selecting previously unselected package ruby-attr-required. 88s Preparing to unpack .../24-ruby-attr-required_1.0.0-2.1_all.deb ... 88s Unpacking ruby-attr-required (1.0.0-2.1) ... 88s Selecting previously unselected package ruby-bindata. 88s Preparing to unpack .../25-ruby-bindata_2.4.14-1_all.deb ... 88s Unpacking ruby-bindata (2.4.14-1) ... 88s Selecting previously unselected package ruby-crack. 88s Preparing to unpack .../26-ruby-crack_0.4.4-4_all.deb ... 88s Unpacking ruby-crack (0.4.4-4) ... 88s Selecting previously unselected package ruby-diff-lcs. 88s Preparing to unpack .../27-ruby-diff-lcs_1.5.1-1_all.deb ... 88s Unpacking ruby-diff-lcs (1.5.1-1) ... 88s Selecting previously unselected package ruby-unf-ext. 88s Preparing to unpack .../28-ruby-unf-ext_0.0.7.7-1build7_amd64.deb ... 88s Unpacking ruby-unf-ext (0.0.7.7-1build7) ... 88s Selecting previously unselected package ruby-unf. 88s Preparing to unpack .../29-ruby-unf_0.1.4-2.1_all.deb ... 88s Unpacking ruby-unf (0.1.4-2.1) ... 88s Selecting previously unselected package ruby-domain-name. 88s Preparing to unpack .../30-ruby-domain-name_0.6.20240107-1_all.deb ... 88s Unpacking ruby-domain-name (0.6.20240107-1) ... 88s Selecting previously unselected package ruby-faraday-net-http. 88s Preparing to unpack .../31-ruby-faraday-net-http_3.0.2-2_all.deb ... 88s Unpacking ruby-faraday-net-http (3.0.2-2) ... 88s Selecting previously unselected package ruby-faraday. 88s Preparing to unpack .../32-ruby-faraday_2.10.0-2_all.deb ... 88s Unpacking ruby-faraday (2.10.0-2) ... 88s Selecting previously unselected package ruby-faraday-follow-redirects. 88s Preparing to unpack .../33-ruby-faraday-follow-redirects_0.3.0-2_all.deb ... 88s Unpacking ruby-faraday-follow-redirects (0.3.0-2) ... 88s Selecting previously unselected package ruby-hashdiff. 88s Preparing to unpack .../34-ruby-hashdiff_1.1.0-1_all.deb ... 88s Unpacking ruby-hashdiff (1.1.0-1) ... 88s Selecting previously unselected package ruby-http-cookie. 88s Preparing to unpack .../35-ruby-http-cookie_1.0.5-1_all.deb ... 88s Unpacking ruby-http-cookie (1.0.5-1) ... 88s Selecting previously unselected package ruby-httpclient. 88s Preparing to unpack .../36-ruby-httpclient_2.8.3+git20211122.4658227-1_all.deb ... 88s Unpacking ruby-httpclient (2.8.3+git20211122.4658227-1) ... 88s Selecting previously unselected package ruby-json-jwt. 88s Preparing to unpack .../37-ruby-json-jwt_1.14.0-2_all.deb ... 88s Unpacking ruby-json-jwt (1.14.0-2) ... 88s Selecting previously unselected package ruby-multi-json. 88s Preparing to unpack .../38-ruby-multi-json_1.14.1-2_all.deb ... 88s Unpacking ruby-multi-json (1.14.1-2) ... 88s Selecting previously unselected package ruby-rack. 88s Preparing to unpack .../39-ruby-rack_3.1.9-2_all.deb ... 88s Unpacking ruby-rack (3.1.9-2) ... 88s Selecting previously unselected package ruby-rack-oauth2. 88s Preparing to unpack .../40-ruby-rack-oauth2_2.2.1-1_all.deb ... 88s Unpacking ruby-rack-oauth2 (2.2.1-1) ... 88s Selecting previously unselected package ruby-rspec-support. 88s Preparing to unpack .../41-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-core. 88s Preparing to unpack .../42-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-expectations. 88s Preparing to unpack .../43-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-mocks. 88s Preparing to unpack .../44-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec. 88s Preparing to unpack .../45-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 88s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 88s Selecting previously unselected package ruby-rspec-its. 88s Preparing to unpack .../46-ruby-rspec-its_1.3.0-1_all.deb ... 88s Unpacking ruby-rspec-its (1.3.0-1) ... 88s Selecting previously unselected package ruby-webmock. 88s Preparing to unpack .../47-ruby-webmock_3.24.0-2_all.deb ... 88s Unpacking ruby-webmock (3.24.0-2) ... 88s Setting up ruby-power-assert (2.0.3-1) ... 88s Setting up ruby-hashdiff (1.1.0-1) ... 88s Setting up ruby-public-suffix (4.0.6+ds-2) ... 88s Setting up ruby-bindata (2.4.14-1) ... 88s Setting up rubygems-integration (1.19) ... 88s Setting up ruby-concurrent (1.3.4-1) ... 88s Setting up ruby-minitest (5.25.4-2ubuntu1) ... 88s Setting up ruby-test-unit (3.6.2-1) ... 88s Setting up ruby-net-telnet (0.2.0-1) ... 88s Setting up ruby-i18n (1.14.5-1) ... 88s Setting up ruby-aes-key-wrap (1.1.0-1) ... 88s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-webrick (1.8.1-1ubuntu1) ... 88s Setting up ruby-faraday-net-http (3.0.2-2) ... 88s Setting up ruby-did-you-mean (1.6.3-2) ... 88s Setting up ruby-xmlrpc (0.3.3-2) ... 88s Setting up ruby-zeitwerk (2.6.8-1) ... 88s Setting up ruby-addressable (2.8.5-1) ... 88s Setting up ruby-tzinfo (2.0.6-1) ... 88s Setting up rake (13.2.1-1) ... 88s Setting up ruby3.3 (3.3.6-1.1ubuntu1) ... 88s Setting up libruby:amd64 (1:3.3~ubuntu3) ... 88s Setting up ruby-rubygems (3.6.3-1) ... 88s Setting up ruby (1:3.3~ubuntu3) ... 88s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-attr-required (1.0.0-2.1) ... 88s Setting up ruby-sdbm:amd64 (1.0.0-5build5) ... 88s Setting up ruby-diff-lcs (1.5.1-1) ... 88s Setting up ruby-multi-json (1.14.1-2) ... 88s Setting up ruby-rack (3.1.9-2) ... 88s Setting up libruby3.3:amd64 (3.3.6-1.1ubuntu1) ... 88s Setting up ruby-unf-ext (0.0.7.7-1build7) ... 88s Setting up ruby-activesupport (2:6.1.7.3+dfsg-7) ... 88s Setting up ruby-faraday (2.10.0-2) ... 88s Setting up ruby-crack (0.4.4-4) ... 88s Setting up gem2deb-test-runner (2.2.5) ... 88s Setting up ruby-faraday-follow-redirects (0.3.0-2) ... 88s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-unf (0.1.4-2.1) ... 88s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-rspec-its (1.3.0-1) ... 88s Setting up ruby-webmock (3.24.0-2) ... 88s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 88s Setting up ruby-json-jwt (1.14.0-2) ... 88s Setting up ruby-domain-name (0.6.20240107-1) ... 88s Setting up ruby-rack-oauth2 (2.2.1-1) ... 88s Setting up ruby-http-cookie (1.0.5-1) ... 88s Setting up ruby-httpclient (2.8.3+git20211122.4658227-1) ... 88s Processing triggers for libc-bin (2.41-1ubuntu1) ... 89s Processing triggers for man-db (2.13.0-1) ... 90s autopkgtest [08:42:37]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 90s autopkgtest [08:42:37]: test gem2deb-test-runner: [----------------------- 90s 90s ┌──────────────────────────────────────────────────────────────────────────────┐ 90s │ Checking Rubygems dependency resolution on ruby3.3 │ 90s └──────────────────────────────────────────────────────────────────────────────┘ 90s 90s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"rack-oauth2\" 90s mv lib ./.gem2deb.lib 90s mv ./.gem2deb.lib lib 90s 90s ┌──────────────────────────────────────────────────────────────────────────────┐ 90s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 90s └──────────────────────────────────────────────────────────────────────────────┘ 90s 90s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 90s mv lib ./.gem2deb.lib 90s /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 91s 91s Rack::OAuth2::AccessToken::Authenticator 91s when Bearer token is given 91s behaves like authenticator 91s should let the token authenticate the request 91s 91s Rack::OAuth2::AccessToken::Bearer 91s .authenticate 91s should set Authorization header 91s 91s Rack::OAuth2::AccessToken 91s access_token 91s is expected to == "access_token" 91s refresh_token 91s is expected to == "refresh_token" 91s expires_in 91s is expected to == 3600 91s scope 91s is expected to == [:scope1, :scope2] 91s token_response 91s is expected to == {:access_token=>"access_token", :expires_in=>3600, :refresh_token=>"refresh_token", :scope=>"scope1 scope2", :token_type=>:bearer} 91s when access_token is missing 91s is expected to raise AttrRequired::AttrMissing 91s otherwise 91s is expected not to raise Exception 91s when extension params given 91s raw_attributes 91s is expected to include :ex_key 91s when extension params given 91s raw_attributes 91s is expected to include :ex_key 91s when extension params given 91s raw_attributes 91s is expected to include :ex_key 91s when extension params given 91s raw_attributes 91s is expected to include :ex_key 91s 91s Rack::OAuth2::Client::Error 91s status 91s is expected to == 400 91s message 91s is expected to == "invalid_request :: Include invalid parameters" 91s response 91s is expected to == {:error=>:invalid_request, :error_description=>"Include invalid parameters", :error_uri=>"http://server.example.com/error/invalid_request"} 91s 91s Rack::OAuth2::Client::Grant::AuthorizationCode 91s when code is given 91s when redirect_uri is given 91s redirect_uri 91s is expected to == "https://client.example.com/callback" 91s as_json 91s is expected to == {:code=>"code", :grant_type=>:authorization_code, :redirect_uri=>"https://client.example.com/callback"} 91s otherwise 91s redirect_uri 91s is expected to be nil 91s as_json 91s is expected to == {:code=>"code", :grant_type=>:authorization_code, :redirect_uri=>nil} 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s 91s Rack::OAuth2::Client::Grant::ClientCredentials 91s as_json 91s is expected to == {:grant_type=>:client_credentials} 91s 91s Rack::OAuth2::Client::Grant::JWTBearer 91s when JWT assertion is given 91s as_json 91s is expected to == {:assertion=>"header.payload.signature", :grant_type=>"urn:ietf:params:oauth:grant-type:jwt-bearer"} 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s 91s Rack::OAuth2::Client::Grant::Password 91s when username is given 91s when password is given 91s as_json 91s is expected to == {:grant_type=>:password, :password=>"password", :username=>"username"} 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s 91s Rack::OAuth2::Client::Grant::RefreshToken 91s when refresh_token is given 91s as_json 91s is expected to == {:grant_type=>:refresh_token, :refresh_token=>"refresh_token"} 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s 91s Rack::OAuth2::Client::Grant::SAML2Bearer 91s when JWT assertion is given 91s as_json 91s is expected to == {:assertion=>"...", :grant_type=>"urn:ietf:params:oauth:grant-type:saml2-bearer"} 91s otherwise 91s is expected to raise AttrRequired::AttrMissing 91s 91s Rack::OAuth2::Client 91s identifier 91s is expected to == "client_id" 91s secret 91s is expected to == "client_secret" 91s authorization_endpoint 91s is expected to == "/oauth2/authorize" 91s token_endpoint 91s is expected to == "/oauth2/token" 91s revocation_endpoint 91s is expected to == "/oauth2/revoke" 91s when identifier is missing 91s is expected to raise AttrRequired::AttrMissing 91s #authorization_uri 91s is expected to include "https://server.example.com/oauth2/authorize" 91s is expected to include "client_id=client_id" 91s is expected to include "redirect_uri=https%3A%2F%2Fclient.example.com%2Fcallback" 91s is expected to include "response_type=code" 91s when endpoints are absolute URIs 91s is expected to include "https://server2.example.com/oauth/authorize" 91s when scheme is specified 91s is expected to include "http://server.example.com/oauth2/authorize" 91s when response_type is token 91s is expected to include "response_type=token" 91s when response_type is an Array 91s is expected to include "response_type=token%20code" 91s when scope is given 91s is expected to include "scope=scope1%20scope2" 91s #authorization_code= 91s is expected to be an instance of Rack::OAuth2::Client::Grant::AuthorizationCode 91s #resource_owner_credentials= 91s is expected to be an instance of Rack::OAuth2::Client::Grant::Password 91s #refresh_token= 91s is expected to be an instance of Rack::OAuth2::Client::Grant::RefreshToken 91s #access_token! 91s *args handling 91s client authentication method 91s should be Basic auth as default 91s when Basic auth method is used 91s when client_id is a url 91s should be encoded in "application/x-www-form-urlencoded" 91s when basic_without_www_form_urlencode method is used 91s when client_id is a url 91s should be encoded in "application/x-www-form-urlencoded" 91s when jwt_bearer auth method specified 91s when client_secret is given 91s should be JWT bearer client assertion w/ auto-generated HS256-signed JWT assertion 91s when private_key is given 91s when RSA key 91s should be JWT bearer client assertion w/ auto-generated RS256-signed JWT assertion 91s when EC key 91s should be JWT bearer client assertion w/ auto-generated ES256-signed JWT assertion 91s when client_assertion is explicitly given 91s should be JWT bearer client assertion w/ specified assertion 91s when other auth method specified 91s should be body params 91s when auth method is specified as Hash 91s should be removed before sending request 91s scopes 91s when scope option given 91s should specify given scope 91s unknown params 91s should be included in body params 91s local_http_config handling 91s example at ./spec/rack/oauth2/client_spec.rb:313 91s when bearer token is given 91s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 91s token_type 91s is expected to == :bearer 91s access_token 92s is expected to == "access_token" 92s refresh_token 92s is expected to == "refresh_token" 92s expires_in 92s is expected to == 3600 92s when token type is "Bearer", not "bearer" 92s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 92s token_type 92s is expected to == :bearer 92s when unknown-type token is given 92s is expected to raise StandardError with "Unknown Token Type" 92s when error response is given 92s is expected to raise Rack::OAuth2::Client::Error 92s when no body given 92s when error given 92s is expected to raise Rack::OAuth2::Client::Error 92s #revoke! 92s local_http_config handling 92s example at ./spec/rack/oauth2/client_spec.rb:406 92s when access_token given 92s is expected to == :success 92s when refresh_token given 92s as argument 92s is expected to == :success 92s as grant 92s example at ./spec/rack/oauth2/client_spec.rb:469 92s when error response given 92s is expected to raise Rack::OAuth2::Client::Error 92s when no token given 92s is expected to raise ArgumentError 92s when no host info 92s #authorization_uri 92s is expected to raise Exception with "No Host Info" 92s #access_token! 92s is expected to raise Exception with "No Host Info" 92s #revoke! 92s is expected to raise Exception with "No Host Info" 92s 92s Rack::OAuth2 92s logger 92s is expected to be a kind of Logger 92s debugging? 92s is expected to == false 92s .debug! 92s debugging? 92s is expected to == true 92s .debug 92s should enable debugging within given block 92s should not force disable debugging 92s 92s Rack::OAuth2::Server::Abstract::Error 92s when full attributes are given 92s status 92s is expected to == 400 92s error 92s is expected to == :invalid_request 92s description 92s is expected to == "Missing some required params" 92s uri 92s is expected to == "http://server.example.com/error" 92s protocol_params 92s is expected to == {:error=>:invalid_request, :error_description=>"Missing some required params", :error_uri=>"http://server.example.com/error"} 92s when optional attributes are not given 92s status 92s is expected to == 400 92s error 92s is expected to == :invalid_request 92s description 92s is expected to be nil 92s uri 92s is expected to be nil 92s protocol_params 92s is expected to == {:error=>:invalid_request, :error_description=>nil, :error_uri=>nil} 92s 92s Rack::OAuth2::Server::Abstract::BadRequest 92s status 92s is expected to == 400 92s 92s Rack::OAuth2::Server::Abstract::Unauthorized 92s status 92s is expected to == 401 92s 92s Rack::OAuth2::Server::Abstract::Forbidden 92s status 92s is expected to == 403 92s 92s Rack::OAuth2::Server::Abstract::ServerError 92s status 92s is expected to == 500 92s 92s Rack::OAuth2::Server::Abstract::TemporarilyUnavailable 92s status 92s is expected to == 503 92s 92s Rack::OAuth2::Server::Authorize::Code 92s when approved 92s status 92s is expected to == 302 92s location 92s is expected to == "http://client.example.com/callback?code=authorization_code&state=state" 92s when redirect_uri already includes query 92s location 92s is expected to == "http://client.example.com/callback?k=v&code=authorization_code&state=state" 92s when redirect_uri is missing 92s is expected to raise AttrRequired::AttrMissing 92s when code is missing 92s is expected to raise AttrRequired::AttrMissing 92s when denied 92s should redirect with error in query 92s 92s Rack::OAuth2::Server::Authorize::BadRequest 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::BadRequest 92s protocol_params 92s is expected to == {:error=>:invalid_request, :error_description=>nil, :error_uri=>nil, :state=>nil} 92s #finish 92s when redirect_uri is given 92s when protocol_params_location = :query 92s should redirect with error in query 92s when protocol_params_location = :fragment 92s should redirect with error in fragment 92s otherwise 92s should redirect without error 92s otherwise 92s should raise itself 92s 92s Rack::OAuth2::Server::Authorize::ErrorMethods 92s bad_request! 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when response_type = :code 92s should set protocol_params_location = :query 92s when response_type = :token 92s should set protocol_params_location = :fragment 92s invalid_request! 92s should raise Rack::OAuth2::Server::Authorize::BadRequest with error = :invalid_request 92s unauthorized_client! 92s should raise Rack::OAuth2::Server::Authorize::BadRequest with error = :unauthorized_client 92s access_denied! 92s should raise Rack::OAuth2::Server::Authorize::BadRequest with error = :access_denied 92s unsupported_response_type! 92s should raise Rack::OAuth2::Server::Authorize::BadRequest with error = :unsupported_response_type 92s invalid_scope! 92s should raise Rack::OAuth2::Server::Authorize::BadRequest with error = :invalid_scope 92s server_error! 92s should raise Rack::OAuth2::Server::Authorize::ServerError with error = :server_error 92s temporarily_unavailable! 92s should raise Rack::OAuth2::Server::Authorize::TemporarilyUnavailable with error = :temporarily_unavailable 92s 92s Rack::OAuth2::Server::Authorize::Extension::CodeAndToken 92s when approved 92s status 92s is expected to == 302 92s location 92s is expected to include "http://client.example.com/callback#" 92s location 92s is expected to include "code=authorization_code" 92s location 92s is expected to include "access_token=access_token" 92s location 92s is expected to include "token_type=bearer" 92s when refresh_token is given 92s location 92s is expected to include "http://client.example.com/callback#" 92s location 92s is expected to include "code=authorization_code" 92s location 92s is expected to include "access_token=access_token" 92s location 92s is expected to include "token_type=bearer" 92s when denied 92s should redirect with error in fragment 92s 92s Rack::OAuth2::Server::Authorize::Token 92s when approved 92s status 92s is expected to == 302 92s location 92s is expected to == "http://client.example.com/callback#access_token=access_token&state=state&token_type=bearer" 92s when refresh_token is given 92s location 92s is expected to == "http://client.example.com/callback#access_token=access_token&state=state&token_type=bearer" 92s when redirect_uri is missing 92s is expected to raise AttrRequired::AttrMissing 92s when access_token is missing 92s is expected to raise AttrRequired::AttrMissing 92s when denied 92s should redirect with error in fragment 92s 92s Rack::OAuth2::Server::Authorize 92s when response_type is missing 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when redirect_uri is missing 92s is expected not to raise Exception 92s when client_id is missing 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when unknown response_type is given 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when all required parameters are valid 92s when response_type = :code 92s status 92s is expected to == 200 92s when response_type = :token 92s status 92s is expected to == 200 92s Rack::OAuth2::Server::Authorize::Request 92s #varified_redirect_uri 92s when an Array of pre-registered URIs are given 92s when given redirect_uri is valid against one of them 92s should be valid 92s otherwise 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when exact mathed redirect_uri is given 92s should be valid 92s when partially mathed redirect_uri is given 92s when partial matching allowed 92s should be valid 92s otherwise 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when invalid redirect_uri is given 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s when redirect_uri is missing 92s when pre-registered redirect_uri is a String 92s should use pre-registered redirect_uri 92s when pre-registered redirect_uri is an Array 92s when only 1 92s when partial match allowed 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s otherwise 92s should use pre-registered redirect_uri 92s when more than 2 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s extensibility 92s extensions 92s is expected to == [Rack::OAuth2::Server::Authorize::Extension::CodeAndToken] 92s code token 92s is expected to == Rack::OAuth2::Server::Authorize::Extension::CodeAndToken 92s token code 92s is expected to == Rack::OAuth2::Server::Authorize::Extension::CodeAndToken 92s token code id_token 92s is expected to raise Rack::OAuth2::Server::Authorize::BadRequest 92s id_token 92s is expected to == Rack::OAuth2::Server::Authorize::Extension::IdToken 92s extensions 92s is expected to == [Rack::OAuth2::Server::Authorize::Extension::CodeAndToken, Rack::OAuth2::Server::Authorize::Extension::IdToken] 92s 92s Rack::OAuth2::Server::Authorize::Code 92s authorization request 92s when code_challenge is given 92s when code_challenge_method is given 92s code_challenge 92s is expected to == "0yNaoH6_ya0wrwUCrhXys79O47JMfywrgXgWJsVar2o" 92s code_challenge_method 92s is expected to == "S256" 92s when code_challenge_method is omitted 92s code_challenge 92s is expected to == "k0-gGihgALHEKbLMO9szfMhPFmQxT_cPOzEtRACZNKw" 92s code_challenge_method 92s is expected to == nil 92s otherwise 92s code_challenge 92s is expected to == nil 92s code_challenge_method 92s is expected to == nil 92s token request 92s when code_verifier is given 92s code_verifier 92s is expected to == "98305bf6a412bbad39bfcaab4184c772" 92s #verify_code_verifier! 92s when code_verifier is given with code_challenge_method=plain 92s is expected not to raise Exception 92s when collect code_challenge is given 92s is expected not to raise Exception 92s when wrong code_challenge is blank 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s when code_challenge is nil 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s when unknown code_challenge_method is given 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s otherwise 92s code_verifier 92s is expected to == nil 92s #verify_code_verifier! 92s when code_verifier is given with code_challenge_method=plain 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s when collect code_challenge is given 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s when wrong code_challenge is blank 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s when code_challenge is nil 92s is expected not to raise Exception 92s when unknown code_challenge_method is given 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest with message matching /invalid_grant/ 92s 92s Rack::OAuth2::Server::Authorize::Code 92s authorization request 92s when response_mode is given 92s response_mode 92s is expected to == "form_post" 92s otherwise 92s response_mode 92s is expected to == nil 92s 92s Rack::OAuth2::Server::Resource::Bearer::Unauthorized 92s is expected to be a kind of Rack::OAuth2::Server::Resource::Unauthorized 92s #scheme 92s scheme 92s is expected to == :Bearer 92s #finish 92s should use Bearer scheme 92s 92s Rack::OAuth2::Server::Resource::Bearer::ErrorMethods 92s unauthorized! 92s is expected to raise Rack::OAuth2::Server::Resource::Bearer::Unauthorized 92s invalid_token! 92s should raise Rack::OAuth2::Server::Resource::Bearer::Unauthorized with error = :invalid_token 92s 92s Rack::OAuth2::Server::Resource::Bearer 92s when no access token is given 92s behaves like skipped_authentication_request 92s should skip OAuth 2.0 authentication 92s when valid_token is given 92s when token is in Authorization header 92s behaves like authenticated_bearer_request 92s should be authenticated 92s when token is in params 92s behaves like authenticated_bearer_request 92s should be authenticated 92s when invalid authorization header is given 92s behaves like skipped_authentication_request 92s should skip OAuth 2.0 authentication 92s when invalid_token is given 92s when token is in Authorization header 92s behaves like unauthorized_bearer_request 92s should be unauthorized 92s when token is in params 92s behaves like unauthorized_bearer_request 92s should be unauthorized 92s realm 92s when specified 92s should use specified realm 92s otherwize 92s should use default realm 92s when multiple access_token is given 92s when token is in Authorization header and params 92s behaves like bad_bearer_request 92s should be bad_request 92s 92s Rack::OAuth2::Server::Resource::BadRequest 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::BadRequest 92s #finish 92s should respond in JSON 92s 92s Rack::OAuth2::Server::Resource::Unauthorized 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::Unauthorized 92s #scheme 92s is expected to raise RuntimeError with "Define me!" 92s when scheme is defined 92s #finish 92s should respond in JSON 92s when error_code is not invalid_token 92s should have error_code in body but not in WWW-Authenticate header 92s when no error_code is given 92s should have error_code in body but not in WWW-Authenticate header 92s when realm is specified 92s should use given realm 92s 92s Rack::OAuth2::Server::Resource::Forbidden 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::Forbidden 92s #finish 92s should respond in JSON 92s when scope option is given 92s should have blank WWW-Authenticate header 92s 92s Rack::OAuth2::Server::Resource::Bearer::ErrorMethods 92s bad_request! 92s is expected to raise Rack::OAuth2::Server::Resource::BadRequest 92s unauthorized! 92s is expected to raise RuntimeError with "Define me!" 92s invalid_request! 92s should raise Rack::OAuth2::Server::Resource::BadRequest with error = :invalid_request 92s invalid_token! 92s is expected to raise RuntimeError with "Define me!" 92s insufficient_scope! 92s should raise Rack::OAuth2::Server::Resource::Forbidden with error = :insufficient_scope 92s 92s Rack::OAuth2::Server::Resource 92s realm 92s is expected to == "realm" 92s 92s Rack::OAuth2::Server::Resource::Request 92s #setup! 92s is expected to raise RuntimeError with "Define me!" 92s #oauth2? 92s is expected to raise RuntimeError with "Define me!" 92s 92s Rack::OAuth2::Server::Token::AuthorizationCode 92s should prevent to be cached 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s when code is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s 92s Rack::OAuth2::Server::Token::ClientCredentials 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s basic auth 92s status 92s is expected to == 200 92s compliance with RFC6749 sec 2.3.1 92s status 92s is expected to == 200 92s 92s Rack::OAuth2::Server::Token::BadRequest 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::BadRequest 92s #finish 92s should respond in JSON 92s 92s Rack::OAuth2::Server::Token::Unauthorized 92s is expected to be a kind of Rack::OAuth2::Server::Abstract::Unauthorized 92s #finish 92s should respond in JSON 92s 92s Rack::OAuth2::Server::Token::ErrorMethods 92s bad_request! 92s is expected to raise Rack::OAuth2::Server::Token::BadRequest 92s unauthorized! 92s is expected to raise Rack::OAuth2::Server::Token::Unauthorized 92s invalid_request! 92s should raise Rack::OAuth2::Server::Token::BadRequest with error = :invalid_request 92s invalid_client! 92s should raise Rack::OAuth2::Server::Token::Unauthorized with error = :invalid_client 92s invalid_grant! 92s should raise Rack::OAuth2::Server::Token::BadRequest with error = :invalid_grant 92s unauthorized_client! 92s should raise Rack::OAuth2::Server::Token::BadRequest with error = :unauthorized_client 92s unsupported_grant_type! 92s should raise Rack::OAuth2::Server::Token::BadRequest with error = :unsupported_grant_type 92s invalid_scope! 92s should raise Rack::OAuth2::Server::Token::BadRequest with error = :invalid_scope 92s 92s Rack::OAuth2::Server::Token::JWTBearer 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s when assertion is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s 92s Rack::OAuth2::Server::Token::Password 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s when username is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when password is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s 92s Rack::OAuth2::Server::Token::RefreshToken 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s when refresh_token is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s 92s Rack::OAuth2::Server::Token::SAML2Bearer 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s body 92s is expected to include "\"token_type\":\"bearer\"" 92s when assertion is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s 92s Rack::OAuth2::Server::Token 92s when multiple client credentials are given 92s when different credentials are given 92s should fail with unsupported_grant_type 92s when same credentials are given 92s should ignore duplicates 92s when unsupported grant_type is given 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"unsupported_grant_type\"" 92s when client_id is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when grant_type is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when client_id is given via JWT client assertion 92s when client_assertion is invalid JWT 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when client_assertion_type is missing 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when client_assertion_type is unknown 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s when client_assertion issuer is different from client_id 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s otherwise 92s status 92s is expected to == 200 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"access_token\":\"access_token\"" 92s when invalid_request 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_request\"" 92s body 92s is expected to include "\"error_description\":\"The request is missing a required parameter, includes an unsupported paramet...tials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.\"" 92s when invalid_client 92s status 92s is expected to == 401 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_client\"" 92s body 92s is expected to include "\"error_description\":\"The client identifier provided is invalid, the client failed to authenticate...lude its credentials, provided multiple client credentials, or used unsupported credentials type.\"" 92s headers 92s is expected to include "WWW-Authenticate" 92s when invalid_grant 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_grant\"" 92s body 92s is expected to include "\"error_description\":\"The provided access grant is invalid, expired, or revoked (e.g. invalid asse...token, bad end-user password credentials, or mismatching authorization code and redirection URI).\"" 92s when unauthorized_client 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"unauthorized_client\"" 92s body 92s is expected to include "\"error_description\":\"The authenticated client is not authorized to use the access grant type provided.\"" 92s when unsupported_grant_type 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"unsupported_grant_type\"" 92s body 92s is expected to include "\"error_description\":\"The access grant included - its type or another attribute - is not supported by the authorization server.\"" 92s when invalid_scope 92s status 92s is expected to == 400 92s content_type 92s is expected to == "application/json" 92s body 92s is expected to include "\"error\":\"invalid_scope\"" 92s body 92s is expected to include "\"error_description\":\"The requested scope is invalid, unknown, malformed, or exceeds the previously granted scope.\"" 92s when skip_www_authenticate option is specified on invalid_client 92s headers 92s is expected not to include "WWW-Authenticate" 92s when responding 92s when access_token is missing 92s is expected to raise AttrRequired::AttrMissing 92s extensibility 92s extensions 92s is expected to == [Rack::OAuth2::Server::Token::Extension::Example] 92s JWT assertion 92s is expected to == Rack::OAuth2::Server::Token::Extension::Example 92s 92s Rack::OAuth2::Util 92s .www_form_url_encode 92s is expected to == "%3D%2B+.-%2F" 92s .www_form_urldecode 92s is expected to == "=+ .-/" 92s .base64_encode 92s is expected to == "PSsgLi0v" 92s .compact_hash 92s is expected to == {:k1=>"v1"} 92s .parse_uri 92s when String is given 92s is expected to be a kind of URI::Generic 92s when URI is given 92s should be itself 92s when invalid URI is given 92s is expected to raise URI::InvalidURIError 92s otherwise 92s is expected to raise StandardError 92s .redirect_uri 92s when location = :fragment 92s is expected to == "http://client.example.com#k1=v1" 92s when location = :query 92s is expected to == "http://client.example.com?k1=v1" 92s .uri_match? 92s when invalid URI is given 92s is expected to == false 92s when exactly same 92s is expected to == true 92s when path prefix matches 92s is expected to == true 92s otherwise 92s is expected to == false 92s 92s Finished in 1 second (files took 0.84172 seconds to load) 92s 339 examples, 0 failures 92s 92s mv ./.gem2deb.lib lib 92s autopkgtest [08:42:39]: test gem2deb-test-runner: -----------------------] 92s gem2deb-test-runner PASS 92s autopkgtest [08:42:39]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 93s autopkgtest [08:42:40]: @@@@@@@@@@@@@@@@@@@@ summary 93s gem2deb-test-runner PASS 109s nova [W] Skipping flock for amd64 109s Creating nova instance adt-plucky-amd64-ruby-rack-oauth2-20250310-084107-juju-7f2275-prod-proposed-migration-environment-15-576aab36-3610-4a41-b8b0-150c7249b826 from image adt/ubuntu-plucky-amd64-server-20250306.img (UUID 60d877d7-b74c-4f24-920d-f4570db0a338)... 109s nova [W] Timed out waiting for 119377b0-e7a4-4c3a-a9ce-b989eccb5551 to get deleted.