0s autopkgtest [11:23:37]: starting date: 2024-03-11 0s autopkgtest [11:23:37]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [11:23:37]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.e0bi14gd/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.1,src:openssl --apt-upgrade ruby-openid-connect --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=ruby3.1/3.1.2-7ubuntu5 openssl/3.0.13-0ubuntu1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-15.secgroup --name adt-noble-arm64-ruby-openid-connect-20240311-112337-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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/ 96s autopkgtest [11:25:13]: @@@@@@@@@@@@@@@@@@@@ test bed setup 96s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 96s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 96s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2616 kB] 97s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [438 kB] 97s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [37.3 kB] 97s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [585 kB] 97s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 97s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 97s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 97s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2965 kB] 97s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 97s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [39.6 kB] 97s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 99s Fetched 6834 kB in 2s (4070 kB/s) 99s Reading package lists... 102s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade... 104s The following packages will be REMOVED: 104s libssl3 104s The following NEW packages will be installed: 104s libssl3t64 104s The following packages will be upgraded: 104s openssl 104s 1 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 104s Need to get 2753 kB of archives. 104s After this operation, 72.7 kB of additional disk space will be used. 104s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 openssl arm64 3.0.13-0ubuntu1 [983 kB] 105s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libssl3t64 arm64 3.0.13-0ubuntu1 [1770 kB] 106s Fetched 2753 kB in 1s (3743 kB/s) 107s (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 ... 74748 files and directories currently installed.) 107s Preparing to unpack .../openssl_3.0.13-0ubuntu1_arm64.deb ... 107s Unpacking openssl (3.0.13-0ubuntu1) over (3.0.10-1ubuntu4) ... 107s dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: 107s wget depends on libssl3 (>= 3.0.0). 107s u-boot-tools depends on libssl3 (>= 3.0.0). 107s tnftp depends on libssl3 (>= 3.0.0). 107s tcpdump depends on libssl3 (>= 3.0.0). 107s systemd-resolved depends on libssl3 (>= 3.0.0). 107s systemd depends on libssl3 (>= 3.0.0). 107s sudo depends on libssl3 (>= 3.0.0). 107s sbsigntool depends on libssl3 (>= 3.0.0). 107s rsync depends on libssl3 (>= 3.0.0). 107s python3-cryptography depends on libssl3 (>= 3.0.0). 107s openssh-server depends on libssl3 (>= 3.0.10). 107s openssh-client depends on libssl3 (>= 3.0.10). 107s mtd-utils depends on libssl3 (>= 3.0.0). 107s mokutil depends on libssl3 (>= 3.0.0). 107s linux-headers-6.8.0-11-generic depends on libssl3 (>= 3.0.0). 107s libsystemd-shared:arm64 depends on libssl3 (>= 3.0.0). 107s libssh-4:arm64 depends on libssl3 (>= 3.0.0). 107s libsasl2-modules:arm64 depends on libssl3 (>= 3.0.0). 107s libsasl2-2:arm64 depends on libssl3 (>= 3.0.0). 107s libpython3.12-minimal:arm64 depends on libssl3 (>= 3.0.0). 107s libnvme1 depends on libssl3 (>= 3.0.0). 107s libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). 107s libkmod2:arm64 depends on libssl3 (>= 3.0.0). 107s libfido2-1:arm64 depends on libssl3 (>= 3.0.0). 107s libcurl4:arm64 depends on libssl3 (>= 3.0.0). 107s libcryptsetup12:arm64 depends on libssl3 (>= 3.0.0). 107s kmod depends on libssl3 (>= 3.0.0). 107s dhcpcd-base depends on libssl3 (>= 3.0.0). 107s bind9-libs:arm64 depends on libssl3 (>= 3.0.0). 107s 107s (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 ... 74748 files and directories currently installed.) 107s Removing libssl3:arm64 (3.0.10-1ubuntu4) ... 107s Selecting previously unselected package libssl3t64:arm64. 107s (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 ... 74737 files and directories currently installed.) 107s Preparing to unpack .../libssl3t64_3.0.13-0ubuntu1_arm64.deb ... 107s Unpacking libssl3t64:arm64 (3.0.13-0ubuntu1) ... 107s Setting up libssl3t64:arm64 (3.0.13-0ubuntu1) ... 107s Setting up openssl (3.0.13-0ubuntu1) ... 107s Processing triggers for man-db (2.12.0-3) ... 108s Processing triggers for libc-bin (2.39-0ubuntu2) ... 108s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 111s sh: Attempting to set up Debian/Ubuntu apt sources automatically 111s sh: Distribution appears to be Ubuntu 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 114s eatmydata is already the newest version (131-1). 114s dbus is already the newest version (1.14.10-4ubuntu1). 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s rng-tools-debian is already the newest version (2.4). 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Reading package lists... 116s Building dependency tree... 116s Reading state information... 117s haveged is already the newest version (1.9.14-1ubuntu1). 117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s The following packages will be REMOVED: 118s cloud-init* python3-configobj* python3-debconf* 119s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 119s After this operation, 3248 kB disk space will be freed. 119s (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 ... 74750 files and directories currently installed.) 119s Removing cloud-init (24.1-0ubuntu1) ... 120s Removing python3-configobj (5.0.8-3) ... 120s Removing python3-debconf (1.5.86) ... 120s Processing triggers for man-db (2.12.0-3) ... 120s (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 ... 74361 files and directories currently installed.) 120s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 121s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 121s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 122s Reading package lists... 122s Building dependency tree... 122s Reading state information... 122s linux-generic is already the newest version (6.8.0-11.11+1). 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 123s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 123s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 123s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 123s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 124s Reading package lists... 125s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s Calculating upgrade... 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 128s autopkgtest [11:25:45]: rebooting testbed after setup commands that affected boot 154s autopkgtest [11:26:11]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 154s autopkgtest [11:26:11]: testbed dpkg architecture: arm64 156s autopkgtest [11:26:13]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-openid-connect 158s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (dsc) [2327 B] 158s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (tar) [27.5 kB] 158s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-openid-connect 1.3.0-2 (diff) [3728 B] 158s gpgv: Signature made Mon Jun 12 18:45:46 2023 UTC 158s gpgv: using RSA key D30863E26020E543F4719A838F53E0193B294B75 158s gpgv: Can't check signature: No public key 158s dpkg-source: warning: cannot verify inline signature for ./ruby-openid-connect_1.3.0-2.dsc: no acceptable signature found 158s autopkgtest [11:26:15]: testing package ruby-openid-connect version 1.3.0-2 158s autopkgtest [11:26:15]: build not needed 159s autopkgtest [11:26:16]: test gem2deb-test-runner: preparing testbed 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 162s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 162s Starting 2 pkgProblemResolver with broken count: 0 162s Done 162s Done 162s Starting pkgProblemResolver with broken count: 0 162s Starting 2 pkgProblemResolver with broken count: 0 162s Done 163s The following additional packages will be installed: 163s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-activemodel 163s ruby-activesupport ruby-addressable ruby-aes-key-wrap ruby-attr-required 163s ruby-bindata ruby-concurrent ruby-crack ruby-diff-lcs ruby-domain-name 163s ruby-hashdiff ruby-http-cookie ruby-httpclient ruby-i18n ruby-json-jwt 163s ruby-mail ruby-mini-mime ruby-multi-json ruby-net-telnet ruby-openid-connect 163s ruby-public-suffix ruby-rack ruby-rack-oauth2 ruby-rspec ruby-rspec-core 163s ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks ruby-rspec-support 163s ruby-rubygems ruby-sdbm ruby-swd ruby-tzinfo ruby-unf ruby-unf-ext 163s ruby-validate-email ruby-validate-url ruby-webfinger ruby-webmock 163s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.1 rubygems-integration 163s Suggested packages: 163s ri ruby-dev bundler 163s Recommended packages: 163s zip ruby-sqlite3 ruby-oj fonts-lato libjs-jquery 163s The following NEW packages will be installed: 163s gem2deb-test-runner libruby libruby3.1 rake ruby ruby-activemodel 163s ruby-activesupport ruby-addressable ruby-aes-key-wrap ruby-attr-required 163s ruby-bindata ruby-concurrent ruby-crack ruby-diff-lcs ruby-domain-name 163s ruby-hashdiff ruby-http-cookie ruby-httpclient ruby-i18n ruby-json-jwt 163s ruby-mail ruby-mini-mime ruby-multi-json ruby-net-telnet ruby-openid-connect 163s ruby-public-suffix ruby-rack ruby-rack-oauth2 ruby-rspec ruby-rspec-core 163s ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks ruby-rspec-support 163s ruby-rubygems ruby-sdbm ruby-swd ruby-tzinfo ruby-unf ruby-unf-ext 163s ruby-validate-email ruby-validate-url ruby-webfinger ruby-webmock 163s ruby-webrick ruby-xmlrpc ruby-zeitwerk ruby3.1 rubygems-integration 163s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 163s 1 not fully installed or removed. 163s Need to get 7592 kB of archives. 163s After this operation, 44.6 MB of additional disk space will be used. 163s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 163s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 163s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 163s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 163s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 163s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 163s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 163s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libruby3.1 arm64 3.1.2-7ubuntu5 [5116 kB] 164s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 ruby3.1 arm64 3.1.2-7ubuntu5 [49.0 kB] 164s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 164s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 164s Get:12 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-concurrent all 1.1.6+dfsg-5build3 [212 kB] 164s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-i18n all 1.14.1-1 [42.0 kB] 164s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-tzinfo all 2.0.6-1 [55.2 kB] 164s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-zeitwerk all 2.6.8-1 [36.0 kB] 164s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-activesupport all 2:6.1.7.3+dfsg-3 [198 kB] 164s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-activemodel all 2:6.1.7.3+dfsg-3 [63.4 kB] 164s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-attr-required all 1.0.0-2.1 [4620 B] 164s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-bindata all 2.4.14-1 [41.4 kB] 164s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-aes-key-wrap all 1.1.0-1 [5228 B] 164s Get:21 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-json-jwt all 1.14.0-2 [10.6 kB] 164s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rack all 2.2.7-1 [114 kB] 164s Get:23 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-unf-ext arm64 0.0.7.7-1build5 [154 kB] 164s Get:24 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-unf all 0.1.4-2.1 [4744 B] 164s Get:25 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-domain-name all 0.6.20240107-1 [48.1 kB] 164s Get:26 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-http-cookie all 1.0.5-1 [23.7 kB] 164s Get:27 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-httpclient all 2.8.3+git20211122.4658227-1 [62.7 kB] 164s Get:28 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rack-oauth2 all 1.21.3-1 [18.5 kB] 164s Get:29 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-swd all 1.0.1-2.1 [5858 B] 164s Get:30 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mini-mime all 1.1.5-1 [19.9 kB] 164s Get:31 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-mail all 2.8.1+dfsg1-2 [290 kB] 164s Get:32 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-validate-email all 0.1.6+git-1 [4476 B] 164s Get:33 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-public-suffix all 4.0.6+ds-2 [14.1 kB] 164s Get:34 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-addressable all 2.8.5-1 [55.3 kB] 164s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-validate-url all 1.0.2+git-2 [5176 B] 164s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-multi-json all 1.14.1-2 [15.7 kB] 164s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-webfinger all 1.0.2-2.1 [5842 B] 164s Get:38 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-openid-connect all 1.3.0-2 [14.0 kB] 164s Get:39 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 164s Get:40 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 164s Get:41 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 164s Get:42 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 164s Get:43 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 164s Get:44 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 164s Get:45 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-its all 1.3.0-1 [6212 B] 164s Get:46 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-crack all 0.4.4-4 [8764 B] 164s Get:47 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-hashdiff all 1.1.0-1 [12.9 kB] 164s Get:48 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-webmock all 3.18.1-2 [47.1 kB] 164s Get:49 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 165s Fetched 7592 kB in 1s (7024 kB/s) 165s Selecting previously unselected package rubygems-integration. 165s (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 ... 74306 files and directories currently installed.) 165s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 165s Unpacking rubygems-integration (1.18) ... 165s Selecting previously unselected package rake. 165s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 165s Unpacking rake (13.0.6-3) ... 165s Selecting previously unselected package ruby-net-telnet. 165s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 165s Unpacking ruby-net-telnet (0.2.0-1) ... 165s Selecting previously unselected package ruby-webrick. 165s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 165s Unpacking ruby-webrick (1.8.1-1) ... 165s Selecting previously unselected package ruby-xmlrpc. 165s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 165s Unpacking ruby-xmlrpc (0.3.2-2) ... 165s Selecting previously unselected package libruby:arm64. 165s Preparing to unpack .../05-libruby_1%3a3.1+1_arm64.deb ... 165s Unpacking libruby:arm64 (1:3.1+1) ... 165s Selecting previously unselected package ruby-sdbm:arm64. 165s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_arm64.deb ... 165s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 165s Selecting previously unselected package libruby3.1:arm64. 165s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu5_arm64.deb ... 165s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu5) ... 165s Selecting previously unselected package ruby3.1. 165s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu5_arm64.deb ... 165s Unpacking ruby3.1 (3.1.2-7ubuntu5) ... 165s Selecting previously unselected package ruby-rubygems. 165s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 165s Unpacking ruby-rubygems (3.4.20-1) ... 165s Selecting previously unselected package ruby. 166s Preparing to unpack .../10-ruby_1%3a3.1+1_arm64.deb ... 166s Unpacking ruby (1:3.1+1) ... 166s Selecting previously unselected package ruby-concurrent. 166s Preparing to unpack .../11-ruby-concurrent_1.1.6+dfsg-5build3_all.deb ... 166s Unpacking ruby-concurrent (1.1.6+dfsg-5build3) ... 166s Selecting previously unselected package ruby-i18n. 166s Preparing to unpack .../12-ruby-i18n_1.14.1-1_all.deb ... 166s Unpacking ruby-i18n (1.14.1-1) ... 166s Selecting previously unselected package ruby-tzinfo. 166s Preparing to unpack .../13-ruby-tzinfo_2.0.6-1_all.deb ... 166s Unpacking ruby-tzinfo (2.0.6-1) ... 166s Selecting previously unselected package ruby-zeitwerk. 166s Preparing to unpack .../14-ruby-zeitwerk_2.6.8-1_all.deb ... 166s Unpacking ruby-zeitwerk (2.6.8-1) ... 166s Selecting previously unselected package ruby-activesupport. 166s Preparing to unpack .../15-ruby-activesupport_2%3a6.1.7.3+dfsg-3_all.deb ... 166s Unpacking ruby-activesupport (2:6.1.7.3+dfsg-3) ... 166s Selecting previously unselected package ruby-activemodel. 166s Preparing to unpack .../16-ruby-activemodel_2%3a6.1.7.3+dfsg-3_all.deb ... 166s Unpacking ruby-activemodel (2:6.1.7.3+dfsg-3) ... 166s Selecting previously unselected package ruby-attr-required. 166s Preparing to unpack .../17-ruby-attr-required_1.0.0-2.1_all.deb ... 166s Unpacking ruby-attr-required (1.0.0-2.1) ... 166s Selecting previously unselected package ruby-bindata. 166s Preparing to unpack .../18-ruby-bindata_2.4.14-1_all.deb ... 166s Unpacking ruby-bindata (2.4.14-1) ... 166s Selecting previously unselected package ruby-aes-key-wrap. 166s Preparing to unpack .../19-ruby-aes-key-wrap_1.1.0-1_all.deb ... 166s Unpacking ruby-aes-key-wrap (1.1.0-1) ... 166s Selecting previously unselected package ruby-json-jwt. 166s Preparing to unpack .../20-ruby-json-jwt_1.14.0-2_all.deb ... 166s Unpacking ruby-json-jwt (1.14.0-2) ... 166s Selecting previously unselected package ruby-rack. 166s Preparing to unpack .../21-ruby-rack_2.2.7-1_all.deb ... 166s Unpacking ruby-rack (2.2.7-1) ... 166s Selecting previously unselected package ruby-unf-ext. 166s Preparing to unpack .../22-ruby-unf-ext_0.0.7.7-1build5_arm64.deb ... 166s Unpacking ruby-unf-ext (0.0.7.7-1build5) ... 166s Selecting previously unselected package ruby-unf. 166s Preparing to unpack .../23-ruby-unf_0.1.4-2.1_all.deb ... 166s Unpacking ruby-unf (0.1.4-2.1) ... 166s Selecting previously unselected package ruby-domain-name. 166s Preparing to unpack .../24-ruby-domain-name_0.6.20240107-1_all.deb ... 166s Unpacking ruby-domain-name (0.6.20240107-1) ... 166s Selecting previously unselected package ruby-http-cookie. 166s Preparing to unpack .../25-ruby-http-cookie_1.0.5-1_all.deb ... 166s Unpacking ruby-http-cookie (1.0.5-1) ... 166s Selecting previously unselected package ruby-httpclient. 166s Preparing to unpack .../26-ruby-httpclient_2.8.3+git20211122.4658227-1_all.deb ... 166s Unpacking ruby-httpclient (2.8.3+git20211122.4658227-1) ... 166s Selecting previously unselected package ruby-rack-oauth2. 166s Preparing to unpack .../27-ruby-rack-oauth2_1.21.3-1_all.deb ... 166s Unpacking ruby-rack-oauth2 (1.21.3-1) ... 166s Selecting previously unselected package ruby-swd. 166s Preparing to unpack .../28-ruby-swd_1.0.1-2.1_all.deb ... 166s Unpacking ruby-swd (1.0.1-2.1) ... 166s Selecting previously unselected package ruby-mini-mime. 166s Preparing to unpack .../29-ruby-mini-mime_1.1.5-1_all.deb ... 166s Unpacking ruby-mini-mime (1.1.5-1) ... 166s Selecting previously unselected package ruby-mail. 166s Preparing to unpack .../30-ruby-mail_2.8.1+dfsg1-2_all.deb ... 166s Unpacking ruby-mail (2.8.1+dfsg1-2) ... 166s Selecting previously unselected package ruby-validate-email. 166s Preparing to unpack .../31-ruby-validate-email_0.1.6+git-1_all.deb ... 166s Unpacking ruby-validate-email (0.1.6+git-1) ... 166s Selecting previously unselected package ruby-public-suffix. 166s Preparing to unpack .../32-ruby-public-suffix_4.0.6+ds-2_all.deb ... 166s Unpacking ruby-public-suffix (4.0.6+ds-2) ... 166s Selecting previously unselected package ruby-addressable. 167s Preparing to unpack .../33-ruby-addressable_2.8.5-1_all.deb ... 167s Unpacking ruby-addressable (2.8.5-1) ... 167s Selecting previously unselected package ruby-validate-url. 167s Preparing to unpack .../34-ruby-validate-url_1.0.2+git-2_all.deb ... 167s Unpacking ruby-validate-url (1.0.2+git-2) ... 167s Selecting previously unselected package ruby-multi-json. 167s Preparing to unpack .../35-ruby-multi-json_1.14.1-2_all.deb ... 167s Unpacking ruby-multi-json (1.14.1-2) ... 167s Selecting previously unselected package ruby-webfinger. 167s Preparing to unpack .../36-ruby-webfinger_1.0.2-2.1_all.deb ... 167s Unpacking ruby-webfinger (1.0.2-2.1) ... 167s Selecting previously unselected package ruby-openid-connect. 167s Preparing to unpack .../37-ruby-openid-connect_1.3.0-2_all.deb ... 167s Unpacking ruby-openid-connect (1.3.0-2) ... 167s Selecting previously unselected package ruby-rspec-support. 167s Preparing to unpack .../38-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec-core. 167s Preparing to unpack .../39-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-diff-lcs. 167s Preparing to unpack .../40-ruby-diff-lcs_1.5.0-1_all.deb ... 167s Unpacking ruby-diff-lcs (1.5.0-1) ... 167s Selecting previously unselected package ruby-rspec-expectations. 167s Preparing to unpack .../41-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec-mocks. 167s Preparing to unpack .../42-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec. 167s Preparing to unpack .../43-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 167s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 167s Selecting previously unselected package ruby-rspec-its. 167s Preparing to unpack .../44-ruby-rspec-its_1.3.0-1_all.deb ... 167s Unpacking ruby-rspec-its (1.3.0-1) ... 167s Selecting previously unselected package ruby-crack. 167s Preparing to unpack .../45-ruby-crack_0.4.4-4_all.deb ... 167s Unpacking ruby-crack (0.4.4-4) ... 167s Selecting previously unselected package ruby-hashdiff. 167s Preparing to unpack .../46-ruby-hashdiff_1.1.0-1_all.deb ... 167s Unpacking ruby-hashdiff (1.1.0-1) ... 167s Selecting previously unselected package ruby-webmock. 167s Preparing to unpack .../47-ruby-webmock_3.18.1-2_all.deb ... 167s Unpacking ruby-webmock (3.18.1-2) ... 168s Selecting previously unselected package gem2deb-test-runner. 168s Preparing to unpack .../48-gem2deb-test-runner_2.2.2_arm64.deb ... 168s Unpacking gem2deb-test-runner (2.2.2) ... 168s Setting up ruby-hashdiff (1.1.0-1) ... 168s Setting up ruby-public-suffix (4.0.6+ds-2) ... 168s Setting up ruby-bindata (2.4.14-1) ... 168s Setting up rubygems-integration (1.18) ... 168s Setting up ruby-concurrent (1.1.6+dfsg-5build3) ... 168s Setting up ruby-net-telnet (0.2.0-1) ... 168s Setting up ruby-i18n (1.14.1-1) ... 168s Setting up ruby-aes-key-wrap (1.1.0-1) ... 168s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 168s Setting up ruby-webrick (1.8.1-1) ... 168s Setting up ruby-xmlrpc (0.3.2-2) ... 168s Setting up ruby-zeitwerk (2.6.8-1) ... 168s Setting up ruby-addressable (2.8.5-1) ... 168s Setting up ruby-tzinfo (2.0.6-1) ... 168s Setting up rake (13.0.6-3) ... 168s Setting up libruby:arm64 (1:3.1+1) ... 168s Setting up ruby-rubygems (3.4.20-1) ... 168s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 168s Setting up libruby3.1:arm64 (3.1.2-7ubuntu5) ... 168s Setting up ruby3.1 (3.1.2-7ubuntu5) ... 168s Setting up ruby (1:3.1+1) ... 168s Setting up ruby-mini-mime (1.1.5-1) ... 168s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 168s Setting up ruby-attr-required (1.0.0-2.1) ... 168s Setting up ruby-diff-lcs (1.5.0-1) ... 168s Setting up ruby-multi-json (1.14.1-2) ... 168s Setting up ruby-rack (2.2.7-1) ... 168s Setting up ruby-unf-ext (0.0.7.7-1build5) ... 168s Setting up ruby-activesupport (2:6.1.7.3+dfsg-3) ... 168s Setting up ruby-crack (0.4.4-4) ... 168s Setting up gem2deb-test-runner (2.2.2) ... 168s Setting up ruby-mail (2.8.1+dfsg1-2) ... 168s Setting up ruby-activemodel (2:6.1.7.3+dfsg-3) ... 168s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 168s Setting up ruby-unf (0.1.4-2.1) ... 168s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 168s Setting up ruby-rspec-its (1.3.0-1) ... 168s Setting up ruby-webmock (3.18.1-2) ... 168s Setting up ruby-validate-url (1.0.2+git-2) ... 168s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 168s Setting up ruby-json-jwt (1.14.0-2) ... 168s Setting up ruby-validate-email (0.1.6+git-1) ... 168s Setting up ruby-domain-name (0.6.20240107-1) ... 168s Setting up ruby-http-cookie (1.0.5-1) ... 168s Setting up ruby-httpclient (2.8.3+git20211122.4658227-1) ... 168s Setting up ruby-webfinger (1.0.2-2.1) ... 168s Setting up ruby-swd (1.0.1-2.1) ... 168s Setting up ruby-rack-oauth2 (1.21.3-1) ... 168s Setting up ruby-openid-connect (1.3.0-2) ... 168s Setting up autopkgtest-satdep (0) ... 168s Processing triggers for libc-bin (2.39-0ubuntu2) ... 168s Processing triggers for man-db (2.12.0-3) ... 173s (Reading database ... 79343 files and directories currently installed.) 173s Removing autopkgtest-satdep (0) ... 174s autopkgtest [11:26:31]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 174s autopkgtest [11:26:31]: test gem2deb-test-runner: [----------------------- 175s 175s ┌──────────────────────────────────────────────────────────────────────────────┐ 175s │ Checking Rubygems dependency resolution on ruby3.1 │ 175s └──────────────────────────────────────────────────────────────────────────────┘ 175s 175s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"openid_connect\" 175s 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 176s should raise OpenIDConnect::Forbidden 176s when unauthorized 176s should raise OpenIDConnect::Unauthorized 176s when forbidden 176s should raise OpenIDConnect::Forbidden 176s when unknown 176s should raise OpenIDConnect::HttpError 176s 176s OpenIDConnect::Client::Registrar 176s when endpoint given 176s when required attributes given 176s is expected to be valid 176s otherwise 176s is expected not to be valid 176s otherwise 176s is expected not to be valid 176s #initialize 176s creates attribute writers for all attributes 176s #sector_identifier 176s when sector_identifier_uri given 176s sector_identifier 176s is expected to == "client2.example.com" 176s when sector_identifier_uri is invalid URI 176s is expected not to be valid 176s otherwise 176s when redirect_uris includes only one host 176s sector_identifier 176s is expected to == "client.example.com" 176s when redirect_uris includes multiple hosts 176s sector_identifier 176s is expected to be nil 176s when subject_type=pairwise 176s is expected not to be valid 176s when redirect_uris includes invalid URL 176s sector_identifier 176s is expected to be nil 176s #redirect_uris 176s when query included 176s is expected to be valid 176s redirect_uris 176s is expected to == ["http://client.example.com/callback?foo=bar"] 176s when fragment included 176s is expected to be valid 176s #contacts 176s when contacts given 176s when invalid email included 176s is expected not to be valid 176s when localhost address included 176s is expected not to be valid 176s otherwise 176s is expected to be valid 176s #as_json 176s when valid 176s as_json 176s is expected to == {:redirect_uris=>["https://client.example.com/callback"]} 176s otherwise 176s is expected to raise OpenIDConnect::ValidationFailed 176s #register! 176s should return OpenIDConnect::Client 176s when failed 176s should raise OpenIDConnect::Client::Registrar::RegistrationFailed 176s #validate! 176s when valid 176s is expected not to raise Exception 176s otherwise 176s is expected to raise OpenIDConnect::ValidationFailed 176s http_client 176s when initial_access_token given 176s when Rack::OAuth2::AccessToken::Bearer given 176s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 176s access_token 176s is expected to == "access_token" 176s otherwise 176s is expected to be an instance of Rack::OAuth2::AccessToken::Bearer 176s access_token 176s is expected to == "access_token" 176s otherwise 176s is expected to be an instance of WebMockHTTPClient 176s 176s OpenIDConnect::Client 176s endpoints 176s when host info is given 176s authorization_uri 176s is expected to include "https://server.example.com/oauth2/authorize" 176s authorization_uri 176s is expected to include "scope=openid" 176s userinfo_uri 176s is expected to == "https://server.example.com/userinfo" 176s otherwise 176s authorization_uri 176s is expected to raise Exception with "No Host Info" 176s userinfo_uri 176s is expected to raise Exception with "No Host Info" 176s #authorization_uri 176s response_type 176s is expected to == "code" 176s when response_type is given 176s when array given 176s is expected to == "code token" 176s when scalar given 176s is expected to == "token" 176s as default 176s is expected to == "code" 176s scope 176s when scope is given 176s when openid scope is included 176s is expected to == "openid email" 176s otherwise 176s is expected to == "email openid" 176s as default 176s is expected to == "openid" 176s prompt 176s when prompt is a scalar value 176s is expected to == "login" 176s when prompt is a space-delimited string 176s is expected to == "login consent" 176s when prompt is an array 176s is expected to == "login consent" 176s #access_token! 176s when bearer token is returned 176s should return OpenIDConnect::AccessToken 176s when id_token is returned 176s should include id_token 176s when invalid JSON is returned 176s should raise OpenIDConnect::Exception 176s 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-11T11:26:34.610291 #1624] 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 177s is expected to be a kind of String 177s when block given 177s should allow add additional headers (PENDING: Temporarily skipped with xit) 177s when access_token is given 177s when access_token is a Rack::OAuth2::AccessToken 177s 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 178s should include at_hash 178s when both access_token and code are given 179s should include at_hash 179s when neither access_token nor code are given 179s should include at_hash 179s #as_json 179s is expected to == {:aud=>"client_id", :exp=>1710156997, :iat=>2024-03-11 11:26:37.056708960 +0000, :iss=>"https://server.example.com", :sub=>"user_id"} 179s .decode 180s is expected to be a kind of OpenIDConnect::ResponseObject::IdToken 180s iss 180s is expected to == "https://server.example.com" 180s sub 180s is expected to == "user_id" 180s aud 182s is expected to == "client_id" 182s exp 182s is expected to == 1710156999 182s raw_attributes 183s is expected to be an instance of JSON::JWS 183s when self-issued 183s when valid 183s when key == :self_issued 183s is expected not to raise Exception 183s 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 186s is expected to be present 186s iat 186s is expected to be present 186s sub_jwk 187s is expected to be present 187s iss 187s is expected to == "https://self-issued.me" 187s sub_jwk 188s is expected to == {"e"=>"AQAB", "kid"=>"vmzH2KuFeF_Nr-NqxAuNkKCfKdqwZKMkU4moTlnJh2Q", "kty"=>:RSA, "n"=>"stLDB4IlLiUl8u...XKLQcfi2ceqt1kPqGfGwLd8W9Gk_AsiskUM3TbH9gyC_6FieC9TxXEOPR1Nbu9HPkrsRZsNT--NzxtVyhbzyKYrgvKCpZWSRoQ"} 188s subject 189s is expected to == "JviCVnxcJLc5RGQDklLG0TWsvoXUew17Zhv07Kf8ezE" 189s 189s OpenIDConnect::ResponseObject::UserInfo::Address 189s attributes 189s required_attributes 189s is expected to == [] 189s optional_attributes 189s is expected to == [:formatted, :street_address, :locality, :region, :postal_code, :country] 189s validations 189s when all attributes are blank 189s valid? 189s is expected to == false 189s errors 189s is expected to include :base 189s 189s OpenIDConnect::ResponseObject::UserInfo 189s attributes 189s required_attributes 189s is expected to == [] 189s optional_attributes 189s 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] 189s validations 189s when all attributes are blank 189s valid? 189s is expected to == false 189s errors 189s is expected to include :base 189s when email is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :email 189s when email_verified is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :email_verified 189s when zoneinfo is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :zoneinfo 189s when locale is invalid 189s TODO (PENDING: Not yet implemented) 189s when profile is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :profile 189s when picture is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :picture 189s when website is invalid 189s valid? 189s is expected to == false 189s errors 189s is expected to include :website 189s when address is blank 189s valid? 189s is expected to == false 189s errors 189s is expected to include :address 189s #address= 189s when Hash is given 189s address 189s is expected to be a kind of OpenIDConnect::ResponseObject::UserInfo::Address 189s when Address is given 189s address 189s is expected to be a kind of OpenIDConnect::ResponseObject::UserInfo::Address 189s #to_json 189s to_json 189s is expected to include "\"sub\":\"nov.matake#12345\"" 189s to_json 189s is expected to include "\"address\":{\"formatted\":\"Tokyo, Japan\"}" 189s 189s OpenIDConnect 189s logger 189s is expected to be a kind of Logger 189s debugging? 189s is expected to == false 189s .debug! 189s debugging? 189s is expected to == true 189s .debug 189s should enable debugging within given block 189s should not force disable debugging 189s .http_client 189s with http_config 189s should configure OpenIDConnect, SWD and Rack::OAuth2's http_client 189s 189s Rack::OAuth2::Server::Authorize::Extension::CodeAndIdTokenAndToken 189s when id_token is given 189s status 190s is expected to == 302 190s location 190s is expected to include "http://client.example.com/callback#" 190s location 192s is expected to include "access_token=access_token" 192s location 192s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...k_eFH6B3kl_cdB2NrpvJ_DH8swwihqeTACBfC55p3Nl94OzVv6coSC8QXP0-ge5OVZgw47ZyqDD1y6cOFc2MKCmpz83zajsdesg" 192s location 193s is expected to include "token_type=bearer" 193s location 193s is expected to include "code=authorization_code" 193s location 194s is expected to include "state=state" 194s when id_token is String 194s location 194s is expected to include "id_token=id_token" 194s otherwise 194s is expected to raise AttrRequired::AttrMissing with "'access_token', 'code', 'id_token' required." 194s when error response 194s should set protocol_params_location = :fragment 194s 194s Rack::OAuth2::Server::Authorize::Extension::CodeAndIdToken 194s when id_token is given 194s status 194s is expected to == 302 194s location 195s is expected to include "http://client.example.com/callback#" 195s location 196s is expected to include "code=authorization_code" 196s location 197s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...JbalithNsESuYgXl5bw1h4OucL0_2IH-cyMVlUqlV4zx2_JRgVY3NAaHgVK40ewS287ifr2DKVnRqfKWIwtVfZtvxy-kvxZHzPQ" 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 197s is expected to == 302 197s location 198s is expected to include "http://client.example.com/callback#" 198s location 198s is expected to include "access_token=access_token" 198s location 199s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...DHOSIVrpzvUkAfE_8Dr3a9NpWnlEIt0d_73B3czB-vQDgEs6-meUynIVAtt8V8-Ot7guhxEfVpPvZoo8ea7qwYP20b9XrjfblIA" 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 202s is expected to include "id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIsInN1Yi...zbATKD_bo6s9hZm31aV1hDMfsctawT2aCK4w4-o9E3mxnmvA6hc7cvemN9noZXLUboeHgEzYTcYDJdKL9gIFjHsujOeTOVxOKAA" 202s 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 203s Rack::OAuth2::Server::Authorize::RequestWithConnectParams 203s prompt 203s when a space-delimited string given 203s prompt 203s is expected to == ["login", "consent"] 203s when a single string given 203s prompt 203s is expected to == ["login"] 203s max_age 203s when numeric value given 203s max_age 203s is expected to == 5 203s when non-numeric string given 203s max_age 203s is expected to == 0 203s 203s Rack::OAuth2::Server::Token::AuthorizationCode 203s when id_token is given 203s status 203s is expected to == 200 203s body 204s is expected to include "\"id_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIs...5DkM-Mjb9bd03hPGaAsOYZry451xB54D3Sn6pEUImkfh0eoU-zY1_e08tReKGpwU_PcCjNJIz2Ga7nFrw8QW_WJwnkreVoPSg\"" 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 205s is expected to == 200 205s body 205s is expected to include "\"id_token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL3NlcnZlci5leGFtcGxlLmNvbSIs...NsENF_EqR1NbwCcOIY_CqAkSkLkfUZNX88KfF3p_ECI0ay2q96Fvn7w3_jR6-M64kKsRqRguVD6IDJKFVnR3kyTX2zxzkwyzA\"" 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.95 seconds (files took 0.87094 seconds to load) 205s 234 examples, 0 failures, 2 pending 205s 205s mv ./.gem2deb.lib lib 206s autopkgtest [11:27:03]: test gem2deb-test-runner: -----------------------] 206s gem2deb-test-runner PASS 206s autopkgtest [11:27:03]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 207s autopkgtest [11:27:04]: @@@@@@@@@@@@@@@@@@@@ summary 207s gem2deb-test-runner PASS 220s Creating nova instance adt-noble-arm64-ruby-openid-connect-20240311-112337-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240311.img (UUID 900cfff9-7f1a-42c7-81a7-22635cd2a5f9)...