0s autopkgtest [00:11:22]: starting date: 2024-03-08 0s autopkgtest [00:11:22]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [00:11:22]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8yse_w1b/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:ruby3.2,src:openssl --apt-upgrade ruby-openid-connect --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ruby3.2/3.2.3-1build2 openssl/3.0.10-1ubuntu5' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos03-arm64-19.secgroup --name adt-noble-arm64-ruby-openid-connect-20240308-001122-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 84s autopkgtest [00:12:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 84s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 85s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [23.8 kB] 85s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [321 kB] 85s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 85s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [1838 kB] 85s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [443 kB] 85s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 85s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 85s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 85s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2181 kB] 85s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 85s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [21.5 kB] 85s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 87s Fetched 4981 kB in 1s (3679 kB/s) 87s Reading package lists... 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s Calculating upgrade... 90s The following packages will be REMOVED: 90s libssl3 90s The following NEW packages will be installed: 90s libssl3t64 90s The following packages will be upgraded: 90s initramfs-tools initramfs-tools-bin initramfs-tools-core libproc2-0 openssl 90s pci.ids procps 90s 7 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 90s Need to get 3864 kB of archives. 90s After this operation, 92.2 kB of additional disk space will be used. 90s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.10-1ubuntu5 [982 kB] 91s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.10-1ubuntu5 [1763 kB] 91s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 libproc2-0 arm64 2:4.0.4-4ubuntu1 [58.4 kB] 91s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 procps arm64 2:4.0.4-4ubuntu1 [708 kB] 91s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 pci.ids all 0.0~2024.02.02-1 [273 kB] 91s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools all 0.142ubuntu20 [9054 B] 91s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-core all 0.142ubuntu20 [49.7 kB] 91s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-bin arm64 0.142ubuntu20 [20.2 kB] 91s Fetched 3864 kB in 1s (5549 kB/s) 91s (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 ... 74662 files and directories currently installed.) 91s Preparing to unpack .../openssl_3.0.10-1ubuntu5_arm64.deb ... 91s Unpacking openssl (3.0.10-1ubuntu5) over (3.0.10-1ubuntu4) ... 92s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 92s wget depends on libssl3 (>= 3.0.0). 92s u-boot-tools depends on libssl3 (>= 3.0.0). 92s tnftp depends on libssl3 (>= 3.0.0). 92s tcpdump depends on libssl3 (>= 3.0.0). 92s systemd-resolved depends on libssl3 (>= 3.0.0). 92s systemd depends on libssl3 (>= 3.0.0). 92s sudo depends on libssl3 (>= 3.0.0). 92s sbsigntool depends on libssl3 (>= 3.0.0). 92s rsync depends on libssl3 (>= 3.0.0). 92s python3-cryptography depends on libssl3 (>= 3.0.0). 92s openssh-server depends on libssl3 (>= 3.0.10). 92s openssh-client depends on libssl3 (>= 3.0.10). 92s mtd-utils depends on libssl3 (>= 3.0.0). 92s mokutil depends on libssl3 (>= 3.0.0). 92s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 92s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 92s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 92s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 92s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 92s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 92s libnvme1 depends on libssl3 (>= 3.0.0). 92s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 92s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 92s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 92s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 92s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 92s kmod depends on libssl3 (>= 3.0.0). 92s dhcpcd-base depends on libssl3 (>= 3.0.0). 92s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 92s 92s (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 ... 74662 files and directories currently installed.) 92s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 92s Selecting previously unselected package libssl3t64:arm64. 92s (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 ... 74651 files and directories currently installed.) 92s Preparing to unpack .../0-libssl3t64_3.0.10-1ubuntu5_arm64.deb ... 92s Unpacking libssl3t64:arm64 (3.0.10-1ubuntu5) ... 92s Preparing to unpack .../1-libproc2-0_2%3a4.0.4-4ubuntu1_arm64.deb ... 92s Unpacking libproc2-0:arm64 (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 92s Preparing to unpack .../2-procps_2%3a4.0.4-4ubuntu1_arm64.deb ... 92s Unpacking procps (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 92s Preparing to unpack .../3-pci.ids_0.0~2024.02.02-1_all.deb ... 92s Unpacking pci.ids (0.0~2024.02.02-1) over (0.0~2023.11.11-1) ... 92s Preparing to unpack .../4-initramfs-tools_0.142ubuntu20_all.deb ... 92s Unpacking initramfs-tools (0.142ubuntu20) over (0.142ubuntu19) ... 92s Preparing to unpack .../5-initramfs-tools-core_0.142ubuntu20_all.deb ... 92s Unpacking initramfs-tools-core (0.142ubuntu20) over (0.142ubuntu19) ... 92s Preparing to unpack .../6-initramfs-tools-bin_0.142ubuntu20_arm64.deb ... 92s Unpacking initramfs-tools-bin (0.142ubuntu20) over (0.142ubuntu19) ... 92s Setting up pci.ids (0.0~2024.02.02-1) ... 92s Setting up libssl3t64:arm64 (3.0.10-1ubuntu5) ... 92s Setting up libproc2-0:arm64 (2:4.0.4-4ubuntu1) ... 92s Setting up procps (2:4.0.4-4ubuntu1) ... 92s Setting up openssl (3.0.10-1ubuntu5) ... 92s Setting up initramfs-tools-bin (0.142ubuntu20) ... 92s Setting up initramfs-tools-core (0.142ubuntu20) ... 92s Setting up initramfs-tools (0.142ubuntu20) ... 92s update-initramfs: deferring update (trigger activated) 92s Processing triggers for man-db (2.12.0-3) ... 94s Processing triggers for libc-bin (2.39-0ubuntu2) ... 94s Processing triggers for initramfs-tools (0.142ubuntu20) ... 94s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 94s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 106s System running in EFI mode, skipping. 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 107s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s sh: Attempting to set up Debian/Ubuntu apt sources automatically 108s sh: Distribution appears to be Ubuntu 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s eatmydata is already the newest version (131-1). 110s dbus is already the newest version (1.14.10-4ubuntu1). 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s rng-tools-debian is already the newest version (2.4). 111s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s Reading package lists... 111s Building dependency tree... 111s Reading state information... 112s haveged is already the newest version (1.9.14-1ubuntu1). 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 113s The following packages will be REMOVED: 113s cloud-init* python3-configobj* python3-debconf* 113s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 113s After this operation, 3248 kB disk space will be freed. 113s (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 ... 74664 files and directories currently installed.) 113s Removing cloud-init (24.1-0ubuntu1) ... 114s Removing python3-configobj (5.0.8-3) ... 114s Removing python3-debconf (1.5.86) ... 114s Processing triggers for man-db (2.12.0-3) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74275 files and directories currently installed.) 114s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 115s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 115s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s linux-generic is already the newest version (6.8.0-11.11+1). 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 117s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 117s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 117s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 118s Reading package lists... 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s Calculating upgrade... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 119s Reading package lists... 119s Building dependency tree... 119s Reading state information... 120s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 120s autopkgtest [00:13:22]: rebooting testbed after setup commands that affected boot 148s autopkgtest [00:13:50]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 148s autopkgtest [00:13:50]: testbed dpkg architecture: arm64 149s autopkgtest [00:13:51]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-openid-connect 152s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (dsc) [2327 B] 152s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (tar) [27.5 kB] 152s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (diff) [3728 B] 152s gpgv: Signature made Mon Jun 12 18:45:46 2023 UTC 152s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 152s gpgv: Can't check signature: No public key 152s dpkg-source: warning: cannot verify inline signature for ./ruby-openid-connect_1.3.0-2.dsc: no acceptable signature found 152s autopkgtest [00:13:54]: testing package ruby-openid-connect version 1.3.0-2 152s autopkgtest [00:13:54]: build not needed 154s autopkgtest [00:13:56]: test gem2deb-test-runner: preparing testbed 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 158s Starting 2 pkgProblemResolver with broken count: 0 158s Done 159s Done 159s Starting pkgProblemResolver with broken count: 0 159s Starting 2 pkgProblemResolver with broken count: 0 159s Done 160s The following additional packages will be installed: 160s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-activemodel 160s ruby-activesupport ruby-addressable ruby-aes-key-wrap ruby-attr-required 160s ruby-bindata ruby-concurrent ruby-crack ruby-diff-lcs ruby-domain-name 160s ruby-hashdiff ruby-http-cookie ruby-httpclient ruby-i18n ruby-json-jwt 160s ruby-mail ruby-mini-mime ruby-multi-json ruby-net-telnet ruby-openid-connect 160s ruby-public-suffix ruby-rack ruby-rack-oauth2 ruby-rspec ruby-rspec-core 160s ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks ruby-rspec-support 160s ruby-rubygems ruby-sdbm ruby-swd ruby-tzinfo ruby-unf ruby-unf-ext 160s ruby-validate-email ruby-validate-url ruby-webfinger ruby-webmock 160s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.1 rubygems-integration 160s Suggested packages: 160s ri ruby-dev bundler 160s Recommended packages: 160s zip ruby-sqlite3 ruby-oj fonts-lato libjs-jquery 160s The following NEW packages will be installed: 160s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-activemodel 160s ruby-activesupport ruby-addressable ruby-aes-key-wrap ruby-attr-required 160s ruby-bindata ruby-concurrent ruby-crack ruby-diff-lcs ruby-domain-name 160s ruby-hashdiff ruby-http-cookie ruby-httpclient ruby-i18n ruby-json-jwt 160s ruby-mail ruby-mini-mime ruby-multi-json ruby-net-telnet ruby-openid-connect 160s ruby-public-suffix ruby-rack ruby-rack-oauth2 ruby-rspec ruby-rspec-core 160s ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks ruby-rspec-support 160s ruby-rubygems ruby-sdbm ruby-swd ruby-tzinfo ruby-unf ruby-unf-ext 160s ruby-validate-email ruby-validate-url ruby-webfinger ruby-webmock 160s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.1 rubygems-integration 160s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 160s 1 not fully installed or removed. 160s Need to get 7591 kB of archives. 160s After this operation, 44.6 MB of additional disk space will be used. 160s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 160s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 160s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 160s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 160s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 161s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 161s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 161s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 libruby3.1 arm64 3.1.2-7ubuntu4 [5115 kB] 161s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 ruby3.1 arm64 3.1.2-7ubuntu4 [49.0 kB] 161s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 161s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 161s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-concurrent all 1.1.6+dfsg-5build3 [212 kB] 161s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-i18n all 1.14.1-1 [42.0 kB] 161s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-tzinfo all 2.0.6-1 [55.2 kB] 161s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-zeitwerk all 2.6.8-1 [36.0 kB] 161s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-activesupport all 2:6.1.7.3+dfsg-3 [198 kB] 161s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-activemodel all 2:6.1.7.3+dfsg-3 [63.4 kB] 161s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-attr-required all 1.0.0-2.1 [4620 B] 161s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-bindata all 2.4.14-1 [41.4 kB] 161s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-aes-key-wrap all 1.1.0-1 [5228 B] 161s Get:21 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-json-jwt all 1.14.0-2 [10.6 kB] 161s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rack all 2.2.7-1 [114 kB] 161s Get:23 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-unf-ext arm64 0.0.7.7-1build5 [154 kB] 161s Get:24 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-unf all 0.1.4-2.1 [4744 B] 161s Get:25 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-domain-name all 0.6.20240107-1 [48.1 kB] 161s Get:26 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-http-cookie all 1.0.5-1 [23.7 kB] 161s Get:27 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-httpclient all 2.8.3+git20211122.4658227-1 [62.7 kB] 161s Get:28 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rack-oauth2 all 1.21.3-1 [18.5 kB] 161s Get:29 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-swd all 1.0.1-2.1 [5858 B] 161s Get:30 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mini-mime all 1.1.5-1 [19.9 kB] 161s Get:31 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mail all 2.8.1+dfsg1-2 [290 kB] 161s Get:32 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-validate-email all 0.1.6+git-1 [4476 B] 161s Get:33 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-public-suffix all 4.0.6+ds-2 [14.1 kB] 161s Get:34 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-addressable all 2.8.5-1 [55.3 kB] 161s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-validate-url all 1.0.2+git-2 [5176 B] 161s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-multi-json all 1.14.1-2 [15.7 kB] 161s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-webfinger all 1.0.2-2.1 [5842 B] 161s Get:38 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-openid-connect all 1.3.0-2 [14.0 kB] 161s Get:39 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 161s Get:40 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 161s Get:41 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 161s Get:42 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 161s Get:43 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 161s Get:44 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 161s Get:45 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-its all 1.3.0-1 [6212 B] 161s Get:46 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-crack all 0.4.4-4 [8764 B] 161s Get:47 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-hashdiff all 1.1.0-1 [12.9 kB] 161s Get:48 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-webmock all 3.18.1-2 [47.1 kB] 161s Get:49 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 162s Fetched 7591 kB in 1s (5222 kB/s) 162s Selecting previously unselected package rubygems-integration. 162s (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 ... 74220 files and directories currently installed.) 162s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 162s Unpacking rubygems-integration (1.18) ... 162s Selecting previously unselected package rake. 162s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 162s Unpacking rake (13.0.6-3) ... 162s Selecting previously unselected package ruby-net-telnet. 162s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 162s Unpacking ruby-net-telnet (0.2.0-1) ... 162s Selecting previously unselected package ruby-webrick. 162s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 162s Unpacking ruby-webrick (1.8.1-1) ... 163s Selecting previously unselected package ruby-xmlrpc. 163s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 163s Unpacking ruby-xmlrpc (0.3.2-2) ... 163s Selecting previously unselected package libruby:arm64. 163s Preparing to unpack .../05-libruby_1%3a3.1+1_arm64.deb ... 163s Unpacking libruby:arm64 (1:3.1+1) ... 163s Selecting previously unselected package ruby-sdbm:arm64. 163s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_arm64.deb ... 163s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 163s Selecting previously unselected package libruby3.1:arm64. 163s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu4_arm64.deb ... 163s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu4) ... 164s Selecting previously unselected package ruby3.1. 164s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu4_arm64.deb ... 164s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 164s Selecting previously unselected package ruby-rubygems. 164s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 164s Unpacking ruby-rubygems (3.4.20-1) ... 164s Selecting previously unselected package ruby. 164s Preparing to unpack .../10-ruby_1%3a3.1+1_arm64.deb ... 164s Unpacking ruby (1:3.1+1) ... 164s Selecting previously unselected package ruby-concurrent. 164s Preparing to unpack .../11-ruby-concurrent_1.1.6+dfsg-5build3_all.deb ... 164s Unpacking ruby-concurrent (1.1.6+dfsg-5build3) ... 164s Selecting previously unselected package ruby-i18n. 164s Preparing to unpack .../12-ruby-i18n_1.14.1-1_all.deb ... 164s Unpacking ruby-i18n (1.14.1-1) ... 164s Selecting previously unselected package ruby-tzinfo. 164s Preparing to unpack .../13-ruby-tzinfo_2.0.6-1_all.deb ... 164s Unpacking ruby-tzinfo (2.0.6-1) ... 164s Selecting previously unselected package ruby-zeitwerk. 164s Preparing to unpack .../14-ruby-zeitwerk_2.6.8-1_all.deb ... 164s Unpacking ruby-zeitwerk (2.6.8-1) ... 164s Selecting previously unselected package ruby-activesupport. 164s Preparing to unpack .../15-ruby-activesupport_2%3a6.1.7.3+dfsg-3_all.deb ... 164s Unpacking ruby-activesupport (2:6.1.7.3+dfsg-3) ... 164s Selecting previously unselected package ruby-activemodel. 164s Preparing to unpack .../16-ruby-activemodel_2%3a6.1.7.3+dfsg-3_all.deb ... 164s Unpacking ruby-activemodel (2:6.1.7.3+dfsg-3) ... 164s Selecting previously unselected package ruby-attr-required. 164s Preparing to unpack .../17-ruby-attr-required_1.0.0-2.1_all.deb ... 164s Unpacking ruby-attr-required (1.0.0-2.1) ... 164s Selecting previously unselected package ruby-bindata. 164s Preparing to unpack .../18-ruby-bindata_2.4.14-1_all.deb ... 164s Unpacking ruby-bindata (2.4.14-1) ... 164s Selecting previously unselected package ruby-aes-key-wrap. 164s Preparing to unpack .../19-ruby-aes-key-wrap_1.1.0-1_all.deb ... 164s Unpacking ruby-aes-key-wrap (1.1.0-1) ... 164s Selecting previously unselected package ruby-json-jwt. 164s Preparing to unpack .../20-ruby-json-jwt_1.14.0-2_all.deb ... 164s Unpacking ruby-json-jwt (1.14.0-2) ... 164s Selecting previously unselected package ruby-rack. 164s Preparing to unpack .../21-ruby-rack_2.2.7-1_all.deb ... 164s Unpacking ruby-rack (2.2.7-1) ... 164s Selecting previously unselected package ruby-unf-ext. 164s Preparing to unpack .../22-ruby-unf-ext_0.0.7.7-1build5_arm64.deb ... 164s Unpacking ruby-unf-ext (0.0.7.7-1build5) ... 164s Selecting previously unselected package ruby-unf. 164s Preparing to unpack .../23-ruby-unf_0.1.4-2.1_all.deb ... 164s Unpacking ruby-unf (0.1.4-2.1) ... 164s Selecting previously unselected package ruby-domain-name. 164s Preparing to unpack .../24-ruby-domain-name_0.6.20240107-1_all.deb ... 164s Unpacking ruby-domain-name (0.6.20240107-1) ... 164s Selecting previously unselected package ruby-http-cookie. 164s Preparing to unpack .../25-ruby-http-cookie_1.0.5-1_all.deb ... 164s Unpacking ruby-http-cookie (1.0.5-1) ... 165s Selecting previously unselected package ruby-httpclient. 165s Preparing to unpack .../26-ruby-httpclient_2.8.3+git20211122.4658227-1_all.deb ... 165s Unpacking ruby-httpclient (2.8.3+git20211122.4658227-1) ... 165s Selecting previously unselected package ruby-rack-oauth2. 165s Preparing to unpack .../27-ruby-rack-oauth2_1.21.3-1_all.deb ... 165s Unpacking ruby-rack-oauth2 (1.21.3-1) ... 165s Selecting previously unselected package ruby-swd. 165s Preparing to unpack .../28-ruby-swd_1.0.1-2.1_all.deb ... 165s Unpacking ruby-swd (1.0.1-2.1) ... 165s Selecting previously unselected package ruby-mini-mime. 165s Preparing to unpack .../29-ruby-mini-mime_1.1.5-1_all.deb ... 165s Unpacking ruby-mini-mime (1.1.5-1) ... 165s Selecting previously unselected package ruby-mail. 165s Preparing to unpack .../30-ruby-mail_2.8.1+dfsg1-2_all.deb ... 165s Unpacking ruby-mail (2.8.1+dfsg1-2) ... 165s Selecting previously unselected package ruby-validate-email. 165s Preparing to unpack .../31-ruby-validate-email_0.1.6+git-1_all.deb ... 165s Unpacking ruby-validate-email (0.1.6+git-1) ... 165s Selecting previously unselected package ruby-public-suffix. 165s Preparing to unpack .../32-ruby-public-suffix_4.0.6+ds-2_all.deb ... 165s Unpacking ruby-public-suffix (4.0.6+ds-2) ... 165s Selecting previously unselected package ruby-addressable. 165s Preparing to unpack .../33-ruby-addressable_2.8.5-1_all.deb ... 165s Unpacking ruby-addressable (2.8.5-1) ... 165s Selecting previously unselected package ruby-validate-url. 165s Preparing to unpack .../34-ruby-validate-url_1.0.2+git-2_all.deb ... 165s Unpacking ruby-validate-url (1.0.2+git-2) ... 165s Selecting previously unselected package ruby-multi-json. 165s Preparing to unpack .../35-ruby-multi-json_1.14.1-2_all.deb ... 165s Unpacking ruby-multi-json (1.14.1-2) ... 165s Selecting previously unselected package ruby-webfinger. 165s Preparing to unpack .../36-ruby-webfinger_1.0.2-2.1_all.deb ... 165s Unpacking ruby-webfinger (1.0.2-2.1) ... 165s Selecting previously unselected package ruby-openid-connect. 165s Preparing to unpack .../37-ruby-openid-connect_1.3.0-2_all.deb ... 165s Unpacking ruby-openid-connect (1.3.0-2) ... 165s Selecting previously unselected package ruby-rspec-support. 165s Preparing to unpack .../38-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 165s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 165s Selecting previously unselected package ruby-rspec-core. 165s Preparing to unpack .../39-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 165s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 165s Selecting previously unselected package ruby-diff-lcs. 165s Preparing to unpack .../40-ruby-diff-lcs_1.5.0-1_all.deb ... 165s Unpacking ruby-diff-lcs (1.5.0-1) ... 165s Selecting previously unselected package ruby-rspec-expectations. 165s Preparing to unpack .../41-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 166s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 166s Selecting previously unselected package ruby-rspec-mocks. 166s Preparing to unpack .../42-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 166s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 166s Selecting previously unselected package ruby-rspec. 166s Preparing to unpack .../43-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 166s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 166s Selecting previously unselected package ruby-rspec-its. 166s Preparing to unpack .../44-ruby-rspec-its_1.3.0-1_all.deb ... 166s Unpacking ruby-rspec-its (1.3.0-1) ... 166s Selecting previously unselected package ruby-crack. 166s Preparing to unpack .../45-ruby-crack_0.4.4-4_all.deb ... 166s Unpacking ruby-crack (0.4.4-4) ... 166s Selecting previously unselected package ruby-hashdiff. 166s Preparing to unpack .../46-ruby-hashdiff_1.1.0-1_all.deb ... 166s Unpacking ruby-hashdiff (1.1.0-1) ... 166s Selecting previously unselected package ruby-webmock. 166s Preparing to unpack .../47-ruby-webmock_3.18.1-2_all.deb ... 166s Unpacking ruby-webmock (3.18.1-2) ... 166s Selecting previously unselected package gem2deb-test-runner. 166s Preparing to unpack .../48-gem2deb-test-runner_2.2.2_arm64.deb ... 166s Unpacking gem2deb-test-runner (2.2.2) ... 166s Setting up ruby-hashdiff (1.1.0-1) ... 166s Setting up ruby-public-suffix (4.0.6+ds-2) ... 166s Setting up ruby-bindata (2.4.14-1) ... 166s Setting up rubygems-integration (1.18) ... 166s Setting up ruby-concurrent (1.1.6+dfsg-5build3) ... 166s Setting up ruby-net-telnet (0.2.0-1) ... 166s Setting up ruby-i18n (1.14.1-1) ... 166s Setting up ruby-aes-key-wrap (1.1.0-1) ... 166s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 166s Setting up ruby-webrick (1.8.1-1) ... 166s Setting up ruby-xmlrpc (0.3.2-2) ... 166s Setting up ruby-zeitwerk (2.6.8-1) ... 166s Setting up ruby-addressable (2.8.5-1) ... 166s Setting up ruby-tzinfo (2.0.6-1) ... 166s Setting up rake (13.0.6-3) ... 166s Setting up libruby:arm64 (1:3.1+1) ... 166s Setting up ruby-rubygems (3.4.20-1) ... 166s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 166s Setting up libruby3.1:arm64 (3.1.2-7ubuntu4) ... 166s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 166s Setting up ruby (1:3.1+1) ... 166s Setting up ruby-mini-mime (1.1.5-1) ... 166s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 166s Setting up ruby-attr-required (1.0.0-2.1) ... 166s Setting up ruby-diff-lcs (1.5.0-1) ... 166s Setting up ruby-multi-json (1.14.1-2) ... 166s Setting up ruby-rack (2.2.7-1) ... 166s Setting up ruby-unf-ext (0.0.7.7-1build5) ... 166s Setting up ruby-activesupport (2:6.1.7.3+dfsg-3) ... 166s Setting up ruby-crack (0.4.4-4) ... 166s Setting up gem2deb-test-runner (2.2.2) ... 166s Setting up ruby-mail (2.8.1+dfsg1-2) ... 166s Setting up ruby-activemodel (2:6.1.7.3+dfsg-3) ... 166s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 166s Setting up ruby-unf (0.1.4-2.1) ... 166s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 166s Setting up ruby-rspec-its (1.3.0-1) ... 166s Setting up ruby-webmock (3.18.1-2) ... 166s Setting up ruby-validate-url (1.0.2+git-2) ... 166s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 166s Setting up ruby-json-jwt (1.14.0-2) ... 166s Setting up ruby-validate-email (0.1.6+git-1) ... 166s Setting up ruby-domain-name (0.6.20240107-1) ... 166s Setting up ruby-http-cookie (1.0.5-1) ... 166s Setting up ruby-httpclient (2.8.3+git20211122.4658227-1) ... 166s Setting up ruby-webfinger (1.0.2-2.1) ... 166s Setting up ruby-swd (1.0.1-2.1) ... 166s Setting up ruby-rack-oauth2 (1.21.3-1) ... 166s Setting up ruby-openid-connect (1.3.0-2) ... 166s Setting up autopkgtest-satdep (0) ... 166s Processing triggers for libc-bin (2.39-0ubuntu2) ... 166s Processing triggers for man-db (2.12.0-3) ... 172s (Reading database ... 79257 files and directories currently installed.) 172s Removing autopkgtest-satdep (0) ... 174s autopkgtest [00:14:16]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 174s autopkgtest [00:14:16]: test gem2deb-test-runner: [----------------------- 174s 174s ┌──────────────────────────────────────────────────────────────────────────────┐ 174s │ Checking Rubygems dependency resolution on ruby3.1 │ 174s └──────────────────────────────────────────────────────────────────────────────┘ 174s 174s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"openid_connect\" 174s mv lib ./.gem2deb.lib 175s mv ./.gem2deb.lib lib 175s 175s ┌──────────────────────────────────────────────────────────────────────────────┐ 175s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 175s └──────────────────────────────────────────────────────────────────────────────┘ 175s 175s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 175s mv lib ./.gem2deb.lib 175s /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation 176s 176s OpenIDConnect::AccessToken 176s token_type 176s is expected to == :bearer 176s optional_attributes 176s is expected to include :id_token 176s when id_token is given 176s when IdToken object 176s id_token 176s is expected to be a kind of OpenIDConnect::ResponseObject::IdToken 176s token_response 176s is expected not to include :id_token 176s when JWT string 176s id_token 176s is expected to == "id_token" 176s token_response 176s is expected not to include :id_token 176s #userinfo! 176s is expected to be an instance of OpenIDConnect::ResponseObject::UserInfo 176s error handling 176s behaves like access_token_error_handling 176s when bad_request 177s should raise OpenIDConnect::Forbidden 177s when unauthorized 177s should raise OpenIDConnect::Unauthorized 177s when forbidden 177s should raise OpenIDConnect::Forbidden 177s when unknown 177s should raise OpenIDConnect::HttpError 177s 177s OpenIDConnect::Client::Registrar 177s when endpoint given 177s when required attributes given 177s is expected to be valid 177s otherwise 177s is expected not to be valid 177s otherwise 177s is expected not to be valid 177s #initialize 177s creates attribute writers for all attributes 177s #sector_identifier 177s when sector_identifier_uri given 177s sector_identifier 177s is expected to == "client2.example.com" 177s when sector_identifier_uri is invalid URI 177s is expected not to be valid 177s otherwise 177s when redirect_uris includes only one host 177s sector_identifier 177s is expected to == "client.example.com" 177s when redirect_uris includes multiple hosts 177s sector_identifier 177s is expected to be nil 177s when subject_type=pairwise 177s is expected not to be valid 177s when redirect_uris includes invalid URL 177s sector_identifier 177s is expected to be nil 177s #redirect_uris 177s when query included 177s is expected to be valid 177s redirect_uris 177s is expected to == ["http://client.example.com/callback?foo=bar"] 177s when fragment included 177s is expected to be valid 177s #contacts 177s when contacts given 177s when invalid email included 177s is expected not to be valid 177s when localhost address included 177s is expected not to be valid 177s otherwise 177s is expected to be valid 177s #as_json 177s when valid 177s as_json 177s is expected to == {:redirect_uris=>["https://client.example.com/callback"]} 177s otherwise 177s is expected to raise OpenIDConnect::ValidationFailed 177s #register! 177s should return OpenIDConnect::Client 177s when failed 177s should raise OpenIDConnect::Client::Registrar::RegistrationFailed 177s #validate! 177s when valid 177s is expected not to raise Exception 177s otherwise 177s is expected to raise OpenIDConnect::ValidationFailed 177s http_client 177s when initial_access_token given 177s when Rack::OAuth2::AccessToken::Bearer given 177s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 177s access_token 177s is expected to == "access_token" 177s otherwise 177s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 177s access_token 177s is expected to == "access_token" 177s otherwise 177s is expected to be an instance of WebMockHTTPClient 177s 177s OpenIDConnect::Client 177s endpoints 177s when host info is given 177s authorization_uri 177s is expected to include "https://server.example.com/oauth2/authorize" 177s authorization_uri 177s is expected to include "scope=openid" 177s userinfo_uri 177s is expected to == "https://server.example.com/userinfo" 177s otherwise 177s authorization_uri 177s is expected to raise Exception with "No Host Info" 177s userinfo_uri 177s is expected to raise Exception with "No Host Info" 177s #authorization_uri 177s response_type 177s is expected to == "code" 177s when response_type is given 177s when array given 177s is expected to == "code token" 177s when scalar given 177s is expected to == "token" 177s as default 177s is expected to == "code" 177s scope 177s when scope is given 177s when openid scope is included 177s is expected to == "openid email" 177s otherwise 177s is expected to == "email openid" 177s as default 177s is expected to == "openid" 177s prompt 177s when prompt is a scalar value 177s is expected to == "login" 177s when prompt is a space-delimited string 177s is expected to == "login consent" 177s when prompt is an array 177s is expected to == "login consent" 177s #access_token! 177s when bearer token is returned 177s should return OpenIDConnect::AccessToken 177s when id_token is returned 177s should include id_token 177s when invalid JSON is returned 177s should raise OpenIDConnect::Exception 177s otherwise 177s should raise Unexpected Token Type exception 177s when token_type is forced 177s should use forced token_type 177s 177s OpenIDConnect::ConnectObject 177s when required attributes are given 177s when optional attributes are given 177s required 177s is expected to == "Required" 177s optional 177s is expected to == "Optional" 177s otherwise 177s required 177s is expected to == "Required" 177s optional 177s is expected to == nil 177s otherwise 177s when optional attributes are given 177s is expected to raise AttrRequired::AttrMissing 177s otherwise 177s is expected to raise AttrRequired::AttrMissing 177s #as_json 177s when valid 177s as_json 177s is expected to == {:optional=>"Optional", :required=>"Required"} 177s otherwise 177s should raise OpenIDConnect::ValidationFailed with ActiveModel::Errors owner 177s #validate! 177s when valid 177s is expected to == true 177s otherwise 177s should raise OpenIDConnect::ValidationFailed with ActiveModel::Errors owner 177s 177s OpenIDConnect::Debugger::RequestFilter 177s #filter_request 177s should log request 177s #filter_response 177s should log response 177s 177s OpenIDConnect::Discovery::Provider::Config::Resource 177s #endpoint 177s when invalid host 177s is expected to raise SWD::Exception 177s 177s OpenIDConnect::Discovery::Provider::Config::Response 177s when required attributes missing 177s is expected not to be valid 177s when end_session_endpoint given 177s is expected to be valid 177s end_session_endpoint 177s is expected to == "https://server.example.com/end_session" 177s when check_session_iframe given 177s is expected to be valid 177s check_session_iframe 177s is expected to == "https://server.example.com/check_session_iframe.html" 177s #as_json 177s is expected to == {:authorization_endpoint=>"https://server.example.com/authorize", :id_token_signing_alg_values_suppor...pes_supported=>[:code, :id_token, "token id_token"], :subject_types_supported=>[:public, :pairwise]} 177s #validate! 177s when required attributes missing 177s is expected to raise OpenIDConnect::ValidationFailed 177s otherwise 177s is expected not to raise Exception 177s #jwks 177s is expected to be an instance of JSON::JWK::Set 177s #public_keys 177s is expected to be an instance of OpenSSL::PKey::RSA 177s 177s OpenIDConnect::Discovery::Provider::Config 177s discover! 177s should setup given attributes 177s when OP identifier includes custom port 177s should construct well-known URI with given port 177s when OP identifier includes path 177s should construct well-known URI with given port 177s when SWD::Exception raised 177s is expected to raise OpenIDConnect::Discovery::DiscoveryFailed 177s when response include invalid issuer 177s with normal configuration 177s is expected to raise OpenIDConnect::Discovery::DiscoveryFailed 177s when issuer validation is disabled. 177s W, [2024-03-08T00:14:19.753546 #1622] WARN -- OpenIDConnect: ignoring issuer mismach. 177s is expected not to raise Exception 177s when response include no issuer 177s is expected to raise OpenIDConnect::Discovery::DiscoveryFailed 177s 177s OpenIDConnect::Discovery::Provider 177s #discover! 177s when URI is given 177s when scheme included 177s when HTTPS 177s behaves like discover_provider 177s should succeed 177s otherwise 177s should access to https://** 177s behaves like discover_provider 177s should succeed 177s when only host is given 177s behaves like discover_provider 177s should succeed 177s when Email is given 177s behaves like discover_provider 177s should succeed 177s when error occured 177s should raise OpenIDConnect::Discovery::DiscoveryFailed 177s 177s OpenIDConnect::HttpError 177s status 177s is expected to == 400 177s message 177s is expected to == "Bad Request" 177s response 177s is expected to be nil 177s 177s OpenIDConnect::BadRequest 177s status 177s is expected to == 400 177s message 177s is expected to == "OpenIDConnect::BadRequest" 177s 177s OpenIDConnect::Unauthorized 177s status 177s is expected to == 401 177s message 177s is expected to == "OpenIDConnect::Unauthorized" 177s 177s OpenIDConnect::Forbidden 177s status 177s is expected to == 403 177s message 177s is expected to == "OpenIDConnect::Forbidden" 177s 177s OpenIDConnect::RequestObject 177s with all attributes 177s is expected to be valid 177s as_json 177s is expected to == {"client_id"=>"client_id", "display"=>"touch", "id_token"=>{"claims"=>{"acr"=>{"values"=>["2", "3", "...=>"state1234", "userinfo"=>{"claims"=>{"email"=>{"essential"=>false}, "name"=>{"essential"=>true}}}} 177s #to_jwt 177s is expected to == "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjbGllbnRfaWQiOiJjbGllbnRfaWQiLCJyZXNwb25zZV90eXBlIjoidG9rZW4...jp7InZhbHVlcyI6WyIyIiwiMyIsIjQiXX19LCJtYXhfYWdlIjoxMH19.yOc76jnkDusf5ZUzI5Gq7vnteTeOVUXd2Fr1EBZFNYU" 177s .decode 177s is expected to == {"client_id"=>"client_id", "display"=>"touch", "id_token"=>{"claims"=>{"acr"=>{"values"=>["2", "3", "...=>"state1234", "userinfo"=>{"claims"=>{"email"=>{"essential"=>false}, "name"=>{"essential"=>true}}}} 177s .fetch 177s is expected to request GET https://client.example.com/request.jwk 1 time 177s #required? 177s is expected to == false 177s #optional 177s is expected to == true 177s with no attributes 177s is expected not to be valid 177s is expected to raise OpenIDConnect::ValidationFailed 177s 177s OpenIDConnect::ResponseObject::IdToken 177s attributes 177s required_attributes 177s is expected to == [:iss, :sub, :aud, :exp, :iat] 177s optional_attributes 177s is expected to == [:acr, :amr, :azp, :jti, :sid, :auth_time, :nonce, :sub_jwk, :at_hash, :c_hash, :s_hash] 177s auth_time 177s when Time object given 177s is expected to be a kind of Numeric 177s #verify! 177s when both issuer, client_id are valid 177s is expected to == true 177s when aud(ience) is an array of identifiers 177s is expected to == true 177s when expired 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when issuer is invalid 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when issuer is missing 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when client_id is invalid 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when client_id is missing 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when nonce is given 177s when nonce is valid 177s is expected to == true 177s when nonce is invalid 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s when nonce is missing 177s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken 177s #to_jwt 178s is expected to be a kind of String 178s when block given 178s should allow add additional headers (PENDING: Temporarily skipped with xit) 178s when access_token is given 178s when access_token is a Rack::OAuth2::AccessToken 178s it should behave like id_token_with_at_hash 178s should include at_hash 178s when access_token is a String 178s it should behave like id_token_with_at_hash 178s should include at_hash 178s when code is given 179s should include at_hash 179s when both access_token and code are given 179s should include at_hash 179s when neither access_token nor code are given 180s should include at_hash 180s #as_json 180s is expected to == {:aud=>"client_id", :exp=>1709857462, :iat=>2024-03-08 00:14:22.220224397 +0000, :iss=>"https://server.example.com", :sub=>"user_id"} 180s .decode 180s is expected to be a kind of OpenIDConnect::ResponseObject::IdToken 180s iss 181s is expected to == "https://server.example.com" 181s sub 182s is expected to == "user_id" 182s aud 182s is expected to == "client_id" 182s exp 183s is expected to == 1709857464 183s raw_attributes 184s is expected to be an instance of JSON::JWS 184s when self-issued 184s when valid 184s when key == :self_issued 184s is expected not to raise Exception 184s when key == public_key 184s is expected to raise JSON::JWS::VerificationFailed 184s when invalid subject 184s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken with "Invalid subject" 184s when no sub_jwk 184s is expected to raise OpenIDConnect::ResponseObject::IdToken::InvalidToken with "Missing sub_jwk" 184s .self_issued 184s iss 184s is expected to be present 184s sub 185s is expected to be present 185s aud 185s is expected to be present 185s exp 185s is expected to be present 185s iat 186s is expected to be present 186s sub_jwk 188s is expected to be present 188s iss 189s is expected to == "https://self-issued.me" 189s sub_jwk 189s is expected to == {"e"=>"AQAB", "kid"=>"KBBE-Zd60XYS11gMF-DxgoQ6YVku_jniX5vghYJbaE0", "kty"=>:RSA, "n"=>"quoVDsJRIBBed6...fKWeJhy-KlkQNKXft-8SHcQSHIDhxGC1n9o6o4qq3-5Ai-qxUG1iyK5_ZOpG8T0kNe2R4J0in1apyFFpL83iXbTFO4UAIW8ryQ"} 190s subject 190s is expected to == "0le-hZrpp99J4LJWR9fDwN5piUNPol62xdp4LgizrDs" 190s 190s OpenIDConnect::ResponseObject::UserInfo::Address 190s attributes 190s required_attributes 190s is expected to == [] 190s optional_attributes 190s is expected to == [:formatted, :street_address, :locality, :region, :postal_code, :country] 190s validations 190s when all attributes are blank 190s valid? 190s is expected to == false 190s errors 190s is expected to include :base 190s 190s OpenIDConnect::ResponseObject::UserInfo 190s attributes 190s required_attributes 190s is expected to == [] 190s optional_attributes 190s is expected to == [:sub, :name, :given_name, :family_name, :middle_name, :nickname, :preferred_username, :profile, :pic...ender, :birthdate, :zoneinfo, :locale, :phone_number, :phone_number_verified, :address, :updated_at] 190s validations 190s when all attributes are blank 190s valid? 190s is expected to == false 190s errors 190s is expected to include :base 190s when email is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :email 190s when email_verified is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :email_verified 190s when zoneinfo is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :zoneinfo 190s when locale is invalid 190s TODO (PENDING: Not yet implemented) 190s when profile is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :profile 190s when picture is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :picture 190s when website is invalid 190s valid? 190s is expected to == false 190s errors 190s is expected to include :website 190s when address is blank 190s valid? 190s is expected to == false 190s errors 190s is expected to include :address 190s #address= 190s when Hash is given 190s address 190s is expected to be a kind of OpenIDConnect::ResponseObject::UserInfo::Address 190s when Address is given 190s address 190s is expected to be a kind of OpenIDConnect::ResponseObject::UserInfo::Address 190s #to_json 190s to_json 190s is expected to include "\"sub\":\"nov.matake#12345\"" 190s to_json 190s is expected to include "\"address\":{\"formatted\":\"Tokyo, Japan\"}" 190s 190s OpenIDConnect 190s logger 190s is expected to be a kind of Logger 190s debugging? 190s is expected to == false 190s .debug! 190s debugging? 190s is expected to == true 190s .debug 190s should enable debugging within given block 190s should not force disable debugging 190s .http_client 190s with http_config 190s should configure OpenIDConnect, SWD and Rack::OAuth2's http_client 190s 190s Rack::OAuth2::Server::Authorize::Extension::CodeAndIdTokenAndToken 190s when id_token is given 190s status 190s is expected to == 302 190s location 191s is expected to include "http://client.example.com/callback#" 191s location 191s is expected to include "access_token=access_token" 191s location 193s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...29jn31Rm5ems4qh4U-B73PfV9r3GL8N7A97H4uA5D4byMeeiYXFsF1iRSnvDvrW5f8JS3_y89v0VAK_TAKoU-F-FKXRVJm4g1rg" 193s location 193s is expected to include "token_type=bearer" 193s location 194s is expected to include "code=authorization_code" 194s location 195s is expected to include "state=state" 195s when id_token is String 195s location 195s is expected to include "id_token=id_token" 195s otherwise 195s is expected to raise AttrRequired::AttrMissing with "'access_token', 'code', 'id_token' required." 195s when error response 195s should set protocol_params_location = :fragment 195s 195s Rack::OAuth2::Server::Authorize::Extension::CodeAndIdToken 195s when id_token is given 195s status 195s is expected to == 302 195s location 196s is expected to include "http://client.example.com/callback#" 196s location 196s is expected to include "code=authorization_code" 196s location 197s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...nlIU7ZHMf6LzwA0cQ4WHHFLzzWVSjwKisQiFio7yw5Qy1wbg38WjN4c4V9Mwm-zvI-q0gLjnXGioEzPb-7HsM59q92lMVO8qQpA" 197s location 197s is expected to include "state=state" 197s when id_token is String 197s location 197s is expected to include "id_token=non_jwt_string" 197s otherwise 197s is expected to raise AttrRequired::AttrMissing with "'id_token' required." 197s when error response 197s should set protocol_params_location = :fragment 197s 197s Rack::OAuth2::Server::Authorize::Extension::IdTokenAndToken 197s when id_token is given 197s status 198s is expected to == 302 198s location 198s is expected to include "http://client.example.com/callback#" 198s location 199s is expected to include "access_token=access_token" 199s location 199s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...qVwboELTjLWkrZDTOhCnXgnK6Q3bcjVtLTHwV3Pot5124zTFAbiL94DintCPk4QNqc8gj1CqnQgQO-FKE9lrrDUPqwqsEC1PmgA" 199s location 200s is expected to include "token_type=bearer" 200s location 200s is expected to include "state=state" 200s when id_token is String 200s location 200s is expected to include "id_token=id_token" 200s otherwise 200s is expected to raise AttrRequired::AttrMissing with "'id_token' required." 200s when error response 200s should set protocol_params_location = :fragment 200s 200s Rack::OAuth2::Server::Authorize::Extension::IdToken 200s when id_token is given 200s status 201s is expected to == 302 201s location 201s is expected to include "http://client.example.com/callback#" 201s location 201s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...rUF_bMRSKeQFoM-vzp6JsFm_624A8InFS6rv7yeRpgew9slVSgF62ZX1yJQ2zTnsD4GVlG4CDH0mQAuIRtcWqik4VjgpyYCTbJw" 201s location 202s is expected to include "state=state" 202s when id_token is String 202s location 202s is expected to include "id_token=id_token" 202s when id_token is missing 202s is expected to raise AttrRequired::AttrMissing with "'id_token' required." 202s when error response 202s should set protocol_params_location = :fragment 202s when openid scope given 202s is expected to == true 202s 202s Rack::OAuth2::Server::Authorize::RequestWithConnectParams 202s prompt 202s when a space-delimited string given 202s prompt 202s is expected to == ["login", "consent"] 202s when a single string given 202s prompt 202s is expected to == ["login"] 202s max_age 202s when numeric value given 202s max_age 202s is expected to == 5 202s when non-numeric string given 202s max_age 202s is expected to == 0 202s 202s Rack::OAuth2::Server::Token::AuthorizationCode 202s when id_token is given 202s status 203s is expected to == 200 203s body 204s is expected to include "\"id_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIs...TilnjREvED4RyuzLdDnSrF-D2qqUr5RYhOjqZwqwT2BOLS7-D9mhLRlGqfML2f9JdIXcCbnnsp2cbbux-83T1OC1f3Mjp6pAQ\"" 204s when id_token is String 204s body 204s is expected to include "\"id_token\":\"id_token\"" 204s otherwise 204s status 204s is expected to == 200 204s body 204s is expected not to include "id_token" 204s 204s Rack::OAuth2::Server::Token::RefreshToken 204s when id_token is given 204s status 204s is expected to == 200 204s body 205s is expected to include "\"id_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIs...vz_1bJFfSceivhpjkESiOVTAsF_FeSbvzljp5UUdWWSwDeqSHTl_gENPmUNGIul1qsx0SzHiI4AzJV_W2cXGxaFeYb0nLRZTw\"" 205s when id_token is String 205s body 205s is expected to include "\"id_token\":\"id_token\"" 205s otherwise 205s status 205s is expected to == 200 205s body 205s is expected not to include "id_token" 205s 205s Pending: (Failures listed here are expected and do not affect your suite's status) 205s 205s 1) OpenIDConnect::ResponseObject::IdToken#to_jwt when block given should allow add additional headers 205s # Temporarily skipped with xit 205s # ./spec/openid_connect/response_object/id_token_spec.rb:156 205s 205s 2) OpenIDConnect::ResponseObject::UserInfo validations when locale is invalid TODO 205s # Not yet implemented 205s # ./spec/openid_connect/response_object/user_info_spec.rb:71 205s 205s Finished in 28.42 seconds (files took 0.95994 seconds to load) 205s 234 examples, 0 failures, 2 pending 205s 205s mv ./.gem2deb.lib lib 206s autopkgtest [00:14:48]: test gem2deb-test-runner: -----------------------] 207s autopkgtest [00:14:49]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 207s gem2deb-test-runner PASS 207s autopkgtest [00:14:49]: @@@@@@@@@@@@@@@@@@@@ summary 207s gem2deb-test-runner PASS 219s Creating nova instance adt-noble-arm64-ruby-openid-connect-20240308-001122-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240307.img (UUID 00fdfee3-5cf8-4806-8086-451645753def)...