0s autopkgtest [19:10:59]: starting date and time: 2025-10-29 19:10:59+0000 0s autopkgtest [19:10:59]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:10:59]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.clo4aedg/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruby-faraday-follow-redirects --apt-upgrade ruby-json-jwt --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-faraday-follow-redirects/0.4.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-1.secgroup --name adt-resolute-ppc64el-ruby-json-jwt-20251029-191059-juju-7f2275-prod-proposed-migration-environment-20-0eed9a8e-25ce-4339-931e-da145cb2646d --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-ruby-json-jwt-20251029-191059-juju-7f2275-prod-proposed-migration-environment-20-0eed9a8e-25ce-4339-931e-da145cb2646d from image adt/ubuntu-resolute-ppc64el-server-20251029.img (UUID 27271d73-b679-46bf-826f-8c22ef3a1484)... 50s autopkgtest [19:11:49]: testbed dpkg architecture: ppc64el 50s autopkgtest [19:11:49]: testbed apt version: 3.1.11 50s autopkgtest [19:11:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 51s autopkgtest [19:11:50]: testbed release detected to be: None 51s autopkgtest [19:11:50]: updating testbed package index (apt update) 52s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 52s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 52s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 52s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 52s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [70.5 kB] 52s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5856 B] 52s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [206 kB] 52s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [3669 kB] 53s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [269 kB] 53s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted ppc64el Packages [940 B] 53s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [2494 kB] 54s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [38.5 kB] 54s Fetched 6843 kB in 3s (2448 kB/s) 55s Reading package lists... 56s Failed to check for VM: Permission denied 56s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 56s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 56s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 56s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 57s Reading package lists... 57s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s autopkgtest [19:11:57]: upgrading testbed (apt dist-upgrade and autopurge) 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Calculating upgrade... 59s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Solving dependencies... 59s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s autopkgtest [19:12:00]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:02:41 UTC 2025 62s autopkgtest [19:12:01]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-json-jwt 63s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-json-jwt 1.16.7-1 (dsc) [2253 B] 63s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-json-jwt 1.16.7-1 (tar) [30.1 kB] 63s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-json-jwt 1.16.7-1 (diff) [3284 B] 63s gpgv: Signature made Sun Mar 9 22:02:02 2025 UTC 63s gpgv: using RSA key 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4 63s gpgv: Can't check signature: No public key 63s dpkg-source: warning: cannot verify inline signature for ./ruby-json-jwt_1.16.7-1.dsc: no acceptable signature found 63s autopkgtest [19:12:02]: testing package ruby-json-jwt version 1.16.7-1 64s autopkgtest [19:12:03]: build not needed 64s autopkgtest [19:12:03]: test gem2deb-test-runner: preparing testbed 64s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Solving dependencies... 65s The following NEW packages will be installed: 65s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-activesupport 65s ruby-addressable ruby-aes-key-wrap ruby-base64 ruby-bindata ruby-concurrent 65s ruby-connection-pool ruby-crack ruby-csv ruby-did-you-mean ruby-diff-lcs 65s ruby-faraday ruby-faraday-follow-redirects ruby-faraday-net-http 65s ruby-hashdiff ruby-i18n ruby-json ruby-json-jwt ruby-minitest 65s ruby-net-telnet ruby-power-assert ruby-public-suffix ruby-rspec 65s ruby-rspec-core ruby-rspec-expectations ruby-rspec-its ruby-rspec-mocks 65s ruby-rspec-support ruby-ruby2-keywords ruby-rubygems ruby-test-unit 65s ruby-tzinfo ruby-webmock ruby-webrick ruby-xmlrpc ruby3.3 65s rubygems-integration 65s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 65s Need to get 8451 kB of archives. 65s After this operation, 46.3 MB of additional disk space will be used. 65s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el rubygems-integration all 1.19 [5550 B] 65s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-csv all 3.3.4-1 [43.0 kB] 65s Get:3 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-did-you-mean all 1.6.3-2 [14.8 kB] 65s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-net-telnet all 0.2.0-1 [13.3 kB] 65s Get:5 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-ruby2-keywords all 0.0.5-1 [4280 B] 65s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-webrick all 1.9.1-1 [60.8 kB] 65s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-xmlrpc all 0.3.3-2 [24.8 kB] 65s Get:8 http://ftpmaster.internal/ubuntu resolute/main ppc64el libruby3.3 ppc64el 3.3.8-2ubuntu2 [6368 kB] 66s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby3.3 ppc64el 3.3.8-2ubuntu2 [58.9 kB] 66s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el libruby ppc64el 1:3.3 [5172 B] 66s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 66s Get:12 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby ppc64el 1:3.3 [3666 B] 66s Get:13 http://ftpmaster.internal/ubuntu resolute/main ppc64el rake all 13.2.1-1 [45.8 kB] 66s Get:14 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-minitest all 5.25.4-3 [48.8 kB] 66s Get:15 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-power-assert all 2.0.3-1 [12.0 kB] 66s Get:16 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-test-unit all 3.6.2-1 [67.0 kB] 66s Get:17 http://ftpmaster.internal/ubuntu resolute/universe ppc64el gem2deb-test-runner ppc64el 2.2.5 [18.3 kB] 66s Get:18 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-concurrent all 1.3.4-1 [283 kB] 66s Get:19 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-i18n all 1.14.7-1 [42.8 kB] 66s Get:20 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-tzinfo all 2.0.6-1 [55.2 kB] 66s Get:21 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-connection-pool all 2.4.1-1 [8876 B] 66s Get:22 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-base64 all 0.2.0-2 [7168 B] 66s Get:23 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-activesupport all 2:7.2.2.1+dfsg-7 [224 kB] 66s Get:24 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-public-suffix all 6.0.1-1 [14.4 kB] 66s Get:25 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-addressable all 2.8.7-2 [55.4 kB] 66s Get:26 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-aes-key-wrap all 1.1.0-1 [5228 B] 66s Get:27 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-bindata all 2.4.14-1 [41.4 kB] 67s Get:28 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-crack all 0.4.4-4 [8764 B] 67s Get:29 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-diff-lcs all 1.5.1-1 [22.8 kB] 67s Get:30 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-faraday-net-http all 3.0.2-2 [5716 B] 67s Get:31 http://ftpmaster.internal/ubuntu resolute/main ppc64el ruby-json ppc64el 2.9.1+dfsg-1 [59.3 kB] 67s Get:32 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-faraday all 2.12.2-1 [37.2 kB] 67s Get:33 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el ruby-faraday-follow-redirects all 0.4.0-1 [6674 B] 67s Get:34 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-hashdiff all 1.1.0-1 [12.9 kB] 67s Get:35 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-json-jwt all 1.16.7-1 [11.7 kB] 67s Get:36 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 67s Get:37 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 67s Get:38 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 67s Get:39 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 67s Get:40 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 67s Get:41 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-rspec-its all 1.3.0-1 [6212 B] 67s Get:42 http://ftpmaster.internal/ubuntu resolute/universe ppc64el ruby-webmock all 3.25.1-1 [48.0 kB] 67s Fetched 8451 kB in 2s (4180 kB/s) 67s Selecting previously unselected package rubygems-integration. 67s (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 ... 76559 files and directories currently installed.) 67s Preparing to unpack .../00-rubygems-integration_1.19_all.deb ... 67s Unpacking rubygems-integration (1.19) ... 67s Selecting previously unselected package ruby-csv. 67s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 67s Unpacking ruby-csv (3.3.4-1) ... 67s Selecting previously unselected package ruby-did-you-mean. 67s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2_all.deb ... 67s Unpacking ruby-did-you-mean (1.6.3-2) ... 67s Selecting previously unselected package ruby-net-telnet. 67s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1_all.deb ... 67s Unpacking ruby-net-telnet (0.2.0-1) ... 67s Selecting previously unselected package ruby-ruby2-keywords. 67s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1_all.deb ... 67s Unpacking ruby-ruby2-keywords (0.0.5-1) ... 67s Selecting previously unselected package ruby-webrick. 67s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 67s Unpacking ruby-webrick (1.9.1-1) ... 67s Selecting previously unselected package ruby-xmlrpc. 67s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2_all.deb ... 67s Unpacking ruby-xmlrpc (0.3.3-2) ... 67s Selecting previously unselected package libruby3.3:ppc64el. 67s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu2_ppc64el.deb ... 67s Unpacking libruby3.3:ppc64el (3.3.8-2ubuntu2) ... 68s Selecting previously unselected package ruby3.3. 68s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu2_ppc64el.deb ... 68s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 68s Selecting previously unselected package libruby:ppc64el. 68s Preparing to unpack .../09-libruby_1%3a3.3_ppc64el.deb ... 68s Unpacking libruby:ppc64el (1:3.3) ... 68s Selecting previously unselected package ruby-rubygems. 68s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 68s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 68s Selecting previously unselected package ruby. 68s Preparing to unpack .../11-ruby_1%3a3.3_ppc64el.deb ... 68s Unpacking ruby (1:3.3) ... 68s Selecting previously unselected package rake. 68s Preparing to unpack .../12-rake_13.2.1-1_all.deb ... 68s Unpacking rake (13.2.1-1) ... 68s Selecting previously unselected package ruby-minitest. 68s Preparing to unpack .../13-ruby-minitest_5.25.4-3_all.deb ... 68s Unpacking ruby-minitest (5.25.4-3) ... 68s Selecting previously unselected package ruby-power-assert. 68s Preparing to unpack .../14-ruby-power-assert_2.0.3-1_all.deb ... 68s Unpacking ruby-power-assert (2.0.3-1) ... 68s Selecting previously unselected package ruby-test-unit. 68s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 68s Unpacking ruby-test-unit (3.6.2-1) ... 68s Selecting previously unselected package gem2deb-test-runner. 68s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_ppc64el.deb ... 68s Unpacking gem2deb-test-runner (2.2.5) ... 68s Selecting previously unselected package ruby-concurrent. 68s Preparing to unpack .../17-ruby-concurrent_1.3.4-1_all.deb ... 68s Unpacking ruby-concurrent (1.3.4-1) ... 69s Selecting previously unselected package ruby-i18n. 69s Preparing to unpack .../18-ruby-i18n_1.14.7-1_all.deb ... 69s Unpacking ruby-i18n (1.14.7-1) ... 69s Selecting previously unselected package ruby-tzinfo. 69s Preparing to unpack .../19-ruby-tzinfo_2.0.6-1_all.deb ... 69s Unpacking ruby-tzinfo (2.0.6-1) ... 69s Selecting previously unselected package ruby-connection-pool. 69s Preparing to unpack .../20-ruby-connection-pool_2.4.1-1_all.deb ... 69s Unpacking ruby-connection-pool (2.4.1-1) ... 69s Selecting previously unselected package ruby-base64. 69s Preparing to unpack .../21-ruby-base64_0.2.0-2_all.deb ... 69s Unpacking ruby-base64 (0.2.0-2) ... 69s Selecting previously unselected package ruby-activesupport. 69s Preparing to unpack .../22-ruby-activesupport_2%3a7.2.2.1+dfsg-7_all.deb ... 69s Unpacking ruby-activesupport (2:7.2.2.1+dfsg-7) ... 69s Selecting previously unselected package ruby-public-suffix. 69s Preparing to unpack .../23-ruby-public-suffix_6.0.1-1_all.deb ... 69s Unpacking ruby-public-suffix (6.0.1-1) ... 69s Selecting previously unselected package ruby-addressable. 69s Preparing to unpack .../24-ruby-addressable_2.8.7-2_all.deb ... 69s Unpacking ruby-addressable (2.8.7-2) ... 69s Selecting previously unselected package ruby-aes-key-wrap. 69s Preparing to unpack .../25-ruby-aes-key-wrap_1.1.0-1_all.deb ... 69s Unpacking ruby-aes-key-wrap (1.1.0-1) ... 69s Selecting previously unselected package ruby-bindata. 69s Preparing to unpack .../26-ruby-bindata_2.4.14-1_all.deb ... 69s Unpacking ruby-bindata (2.4.14-1) ... 69s Selecting previously unselected package ruby-crack. 69s Preparing to unpack .../27-ruby-crack_0.4.4-4_all.deb ... 69s Unpacking ruby-crack (0.4.4-4) ... 69s Selecting previously unselected package ruby-diff-lcs. 69s Preparing to unpack .../28-ruby-diff-lcs_1.5.1-1_all.deb ... 69s Unpacking ruby-diff-lcs (1.5.1-1) ... 69s Selecting previously unselected package ruby-faraday-net-http. 69s Preparing to unpack .../29-ruby-faraday-net-http_3.0.2-2_all.deb ... 69s Unpacking ruby-faraday-net-http (3.0.2-2) ... 69s Selecting previously unselected package ruby-json:ppc64el. 69s Preparing to unpack .../30-ruby-json_2.9.1+dfsg-1_ppc64el.deb ... 69s Unpacking ruby-json:ppc64el (2.9.1+dfsg-1) ... 69s Selecting previously unselected package ruby-faraday. 69s Preparing to unpack .../31-ruby-faraday_2.12.2-1_all.deb ... 69s Unpacking ruby-faraday (2.12.2-1) ... 69s Selecting previously unselected package ruby-faraday-follow-redirects. 69s Preparing to unpack .../32-ruby-faraday-follow-redirects_0.4.0-1_all.deb ... 69s Unpacking ruby-faraday-follow-redirects (0.4.0-1) ... 69s Selecting previously unselected package ruby-hashdiff. 69s Preparing to unpack .../33-ruby-hashdiff_1.1.0-1_all.deb ... 69s Unpacking ruby-hashdiff (1.1.0-1) ... 69s Selecting previously unselected package ruby-json-jwt. 69s Preparing to unpack .../34-ruby-json-jwt_1.16.7-1_all.deb ... 69s Unpacking ruby-json-jwt (1.16.7-1) ... 69s Selecting previously unselected package ruby-rspec-support. 69s Preparing to unpack .../35-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 69s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 69s Selecting previously unselected package ruby-rspec-core. 69s Preparing to unpack .../36-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 69s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 69s Selecting previously unselected package ruby-rspec-expectations. 69s Preparing to unpack .../37-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 69s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 69s Selecting previously unselected package ruby-rspec-mocks. 69s Preparing to unpack .../38-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 69s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 69s Selecting previously unselected package ruby-rspec. 69s Preparing to unpack .../39-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 69s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 69s Selecting previously unselected package ruby-rspec-its. 69s Preparing to unpack .../40-ruby-rspec-its_1.3.0-1_all.deb ... 69s Unpacking ruby-rspec-its (1.3.0-1) ... 69s Selecting previously unselected package ruby-webmock. 69s Preparing to unpack .../41-ruby-webmock_3.25.1-1_all.deb ... 69s Unpacking ruby-webmock (3.25.1-1) ... 69s Setting up ruby-ruby2-keywords (0.0.5-1) ... 69s Setting up ruby-power-assert (2.0.3-1) ... 69s Setting up ruby-hashdiff (1.1.0-1) ... 69s Setting up ruby-public-suffix (6.0.1-1) ... 69s Setting up ruby-bindata (2.4.14-1) ... 69s Setting up rubygems-integration (1.19) ... 69s Setting up ruby-concurrent (1.3.4-1) ... 69s Setting up ruby-minitest (5.25.4-3) ... 69s Setting up ruby-test-unit (3.6.2-1) ... 69s Setting up ruby-net-telnet (0.2.0-1) ... 69s Setting up ruby-csv (3.3.4-1) ... 69s Setting up ruby-base64 (0.2.0-2) ... 69s Setting up ruby-i18n (1.14.7-1) ... 69s Setting up ruby-aes-key-wrap (1.1.0-1) ... 69s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 69s Setting up ruby-webrick (1.9.1-1) ... 69s Setting up ruby-faraday-net-http (3.0.2-2) ... 69s Setting up ruby-connection-pool (2.4.1-1) ... 69s Setting up ruby-did-you-mean (1.6.3-2) ... 69s Setting up ruby-xmlrpc (0.3.3-2) ... 69s Setting up ruby-addressable (2.8.7-2) ... 69s Setting up ruby-tzinfo (2.0.6-1) ... 69s Setting up rake (13.2.1-1) ... 69s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 69s Setting up libruby3.3:ppc64el (3.3.8-2ubuntu2) ... 69s Setting up ruby-activesupport (2:7.2.2.1+dfsg-7) ... 69s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 69s Setting up libruby:ppc64el (1:3.3) ... 69s Setting up ruby (1:3.3) ... 69s Setting up ruby-json:ppc64el (2.9.1+dfsg-1) ... 69s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 69s Setting up ruby-diff-lcs (1.5.1-1) ... 69s Setting up ruby-faraday (2.12.2-1) ... 69s Setting up ruby-crack (0.4.4-4) ... 69s Setting up gem2deb-test-runner (2.2.5) ... 69s Setting up ruby-faraday-follow-redirects (0.4.0-1) ... 69s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 69s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 69s Setting up ruby-rspec-its (1.3.0-1) ... 69s Setting up ruby-webmock (3.25.1-1) ... 69s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 69s Setting up ruby-json-jwt (1.16.7-1) ... 69s Processing triggers for libc-bin (2.42-0ubuntu3) ... 69s Processing triggers for man-db (2.13.1-1) ... 70s autopkgtest [19:12:09]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 70s autopkgtest [19:12:09]: test gem2deb-test-runner: [----------------------- 70s 70s ┌──────────────────────────────────────────────────────────────────────────────┐ 70s │ Checking Rubygems dependency resolution on ruby3.3 │ 70s └──────────────────────────────────────────────────────────────────────────────┘ 70s 70s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"json-jwt\" 70s mv lib ./.gem2deb.lib 71s mv ./.gem2deb.lib lib 71s 71s ┌──────────────────────────────────────────────────────────────────────────────┐ 71s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 71s └──────────────────────────────────────────────────────────────────────────────┘ 71s 71s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 71s mv lib ./.gem2deb.lib 71s /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation 72s 72s interop 72s with jsrsasign 72s JWS 72s verify 72s should succeed 72s 72s interop 72s with Nimbus JOSE 72s Nimbus JOSE unavailable (PENDING: No reason given) 72s 72s interop 72s with RFC Example 72s JWK Thubmprint 72s thumbprint 72s is expected to == "NzbLsXh8uDCcd-6MNwXF4W_7noWXFZAfHkxZsRGC9Xs" 72s 72s JSON::JWE 72s #content_type 72s is expected to == "application/jose" 72s encrypt! 72s when plaintext given 72s when alg=dir 72s TODO (PENDING: Not yet implemented) 72s when alg=A128KW 72s TODO (PENDING: Not yet implemented) 72s when alg=A256KW 72s TODO (PENDING: Not yet implemented) 72s when unknonw/unsupported algorithm given 72s when alg=unknown 72s behaves like unexpected_algorithm_for_encryption 72s is expected to raise JSON::JWE::UnexpectedAlgorithm 72s when enc=unknown 72s behaves like unexpected_algorithm_for_encryption 72s is expected to raise JSON::JWE::UnexpectedAlgorithm 72s when alg=ECDH-ES 72s behaves like unsupported_algorithm_for_encryption 72s is expected to raise NotImplementedError 72s when alg=ECDH-ES+A128KW 72s behaves like unsupported_algorithm_for_encryption 72s is expected to raise NotImplementedError 72s when alg=ECDH-ES+A256KW 72s behaves like unsupported_algorithm_for_encryption 72s is expected to raise NotImplementedError 72s decrypt! 72s when alg=RSA1_5 72s when enc=A128GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A256GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A128CBC-HS256 72s behaves like decryptable 72s is expected to == "Hello World" 72s when enc=A256CBC-HS512 72s behaves like decryptable 72s is expected to == "Hello World" 72s when alg=RSA-OAEP 72s when enc=A128GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A256GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A128CBC-HS256 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_cbc_authentication_tag 72s with missing signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with good pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with bad pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A256CBC-HS512 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_cbc_authentication_tag 72s with missing signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with good pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with bad pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s when alg=dir 72s when enc=A128GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A256GCM 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_gcm_authentication_tag 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A128CBC-HS256 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_cbc_authentication_tag 72s with missing signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with good pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with bad pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s when enc=A256CBC-HS512 72s behaves like decryptable 72s is expected to == "Hello World" 72s behaves like verify_cbc_authentication_tag 72s with missing signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with good pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s with bad pkcs7 padding and bad signature 72s behaves like signature_verification_failure 72s is expected to raise JSON::JWE::DecryptionFailed 72s when alg=A128KW 72s TODO (PENDING: Not yet implemented) 72s when alg=A256KW 72s TODO (PENDING: Not yet implemented) 72s when unknonw/unsupported algorithm given 72s when alg=unknown 72s behaves like unexpected_algorithm_for_decryption 72s is expected to raise JSON::JWE::UnexpectedAlgorithm 72s when enc=unknown 72s behaves like unexpected_algorithm_for_decryption 72s is expected to raise JSON::JWE::UnexpectedAlgorithm 72s when alg=ECDH-ES 72s behaves like unsupported_algorithm_for_decryption 72s is expected to raise NotImplementedError 72s when alg=ECDH-ES+A128KW 72s behaves like unsupported_algorithm_for_decryption 72s is expected to raise NotImplementedError 72s when alg=ECDH-ES+A256KW 72s behaves like unsupported_algorithm_for_decryption 72s is expected to raise NotImplementedError 72s 72s JSON::JWK::JWKizable 72s #to_jwk 72s OpenSSL::PKey::RSA 72s public_key 72s behaves like jwkizable_as_public 72s is expected to be an instance of JSON::JWK 72s is expected to include "kty", "n", and "e" 72s is expected not to include "d", "p", and "q" 72s private_key 72s behaves like jwkizable_as_private 72s is expected to be an instance of JSON::JWK 72s is expected to include "kty", "n", and "e" 72s is expected to include "d", "p", and "q" 72s OpenSSL::PKey::EC 72s public_key 72s behaves like jwkizable_as_public 72s is expected to be an instance of JSON::JWK 72s is expected to include "kty", "crv", "x", and "y" 72s is expected not to include "d" 72s private_key 72s behaves like jwkizable_as_private 72s is expected to be an instance of JSON::JWK 72s is expected to include "kty", "crv", "x", and "y" 72s is expected to include "d" 72s 72s JSON::JWK::Set::Fetcher 72s JSON::JWK::Set::Fetcher::Cache 72s just execute givne block 72s debugging feature 72s logger 72s is expected to be a kind of Logger 72s debugging? 72s is expected to == false 72s .debug! 72s debugging? 72s is expected to == true 72s .debug 72s should enable debugging within given block 72s should not force disable debugging 72s .http_client 72s with http_config 72s should configure OpenIDConnect, SWD and Rack::OAuth2's http_client 72s fetching feature 72s .cache 72s as default 72s is expected to be an instance of JSON::JWK::Set::Fetcher::Cache 72s when specified 72s is expected to be an instance of CustomCache 72s .fetch 72s when not cached 72s should request to jwks_uri 72s when unknown 72s is expected to raise JSON::JWK::Set::KidNotFound 72s when cached 72s when known 72s should not request to jwks_uri 72s is expected to be an instance of JSON::JWK 72s when auto_detect disabled 72s is expected to be an instance of JSON::JWK::Set 72s cache options 72s when cache options not given 72s with auto_detect 72s behaves like receive_options_as_blank_hash 72s behaves like receive_options_as_hash 72s example at ./spec/json/jwk/set/fetcher_spec.rb:163 72s when cache options given 72s with auto_detect 72s behaves like receive_options_as_hash 72s example at ./spec/json/jwk/set/fetcher_spec.rb:163 72s without auto_detect 72s behaves like receive_options_as_hash 72s example at ./spec/json/jwk/set/fetcher_spec.rb:163 72s when kid & auto_detect are included in the given options 72s as hash 72s behaves like receive_options_as_hash 72s example at ./spec/json/jwk/set/fetcher_spec.rb:163 72s as keyward args 72s is expected to raise ArgumentError 72s 72s JSON::JWK::Set 72s #content_type 72s is expected to == "application/jwk-set+json" 72s when single JWK given 72s is expected to == [{"e"=>"AQAB", "kid"=>"nuBTimkcSt_AuEsD8Yv3l8CoGV31bu_3gsRDGN1iVKA", "kty"=>:RSA, "n"=>"x9vNhcvSrxjse...cVAZuhTTNaDLtLIJ6G0yNJvfEieJUhA8wGBoPhD3LMQwQMxTMerpjZhP_qjm6GgeWpKf-iVil86_PSy_z0Vw06_rD0sfXPtlQ"}] 72s when multiple JWKs given 72s is expected to == [{"e"=>"AQAB", "kid"=>"nuBTimkcSt_AuEsD8Yv3l8CoGV31bu_3gsRDGN1iVKA", "kty"=>:RSA, "n"=>"x9vNhcvSrxjse...cVAZuhTTNaDLtLIJ6G0yNJvfEieJUhA8wGBoPhD3LMQwQMxTMerpjZhP_qjm6GgeWpKf-iVil86_PSy_z0Vw06_rD0sfXPtlQ"}] 72s when an Array of JWKs given 72s is expected to == [{"e"=>"AQAB", "kid"=>"nuBTimkcSt_AuEsD8Yv3l8CoGV31bu_3gsRDGN1iVKA", "kty"=>:RSA, "n"=>"x9vNhcvSrxjse...cVAZuhTTNaDLtLIJ6G0yNJvfEieJUhA8wGBoPhD3LMQwQMxTMerpjZhP_qjm6GgeWpKf-iVil86_PSy_z0Vw06_rD0sfXPtlQ"}] 72s when JSON::JWK given 72s should keep JSON::JWK 72s when pure Hash given 72s should convert into JSON::JWK 72s when pure Hash with :keys key given 72s should convert into JSON::JWK 72s #as_json 72s should become proper JWK set format 72s #to_json 72s is expected not to raise Exception 72s 72s JSON::JWK 72s #initialize 72s when no imput 72s is expected to be blank 72s with OpenSSL::PKey::RSA 72s behaves like jwk_with_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to == "nuBTimkcSt_AuEsD8Yv3l8CoGV31bu_3gsRDGN1iVKA" 72s with OpenSSL::PKey::EC 72s behaves like jwk_with_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to == "-egRpLjyZCqxBh4OOfd8JSvXwayHmNFAUNkbi8exfhc" 72s with String 72s behaves like jwk_with_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to == "XZPWsTEZFIerowAF9GHzBtq5CkAOcVvIBnkMu0IIQH0" 72s with JSON::JWK 72s behaves like jwk_with_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to == "XZPWsTEZFIerowAF9GHzBtq5CkAOcVvIBnkMu0IIQH0" 72s with Hash 72s behaves like jwk_with_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to == "XZPWsTEZFIerowAF9GHzBtq5CkAOcVvIBnkMu0IIQH0" 72s with nothing 72s behaves like jwk_without_kid 72s is expected to be an instance of JSON::JWK 72s kid 72s is expected to be blank 72s #content_type 72s is expected to == "application/jwk+json" 72s when RSA public key given 72s is expected to include :kty, :e, and :n 72s kty 72s is expected to == :RSA 72s e 72s is expected to == "AQAB" 72s n 72s is expected to == "x9vNhcvSrxjsegZAAo4OEuoZOV_oxINEeWneJYczS80_bQ1J6lSSJ81qecxXAzCLPlvsFoP4eeUNXSt_G7hP7SAM479N-kY_Mzbi...hLcVAZuhTTNaDLtLIJ6G0yNJvfEieJUhA8wGBoPhD3LMQwQMxTMerpjZhP_qjm6GgeWpKf-iVil86_PSy_z0Vw06_rD0sfXPtlQ" 72s when kid/use options given 72s is expected to include :kid and :use 72s kid 72s is expected to == "12345" 72s use 72s is expected to == :sig 72s #thumbprint 72s using default hash function 72s is expected to == "nuBTimkcSt_AuEsD8Yv3l8CoGV31bu_3gsRDGN1iVKA" 72s using SHA512 hash function 72s is expected to == "6v7pXTnQLMiQgvJlPJUdhAUSuGLzgF8C1r3ABAMFet6bc53ea-Pq4ZGbGu3RoAFsNRT1-RhTzDqtqXuLU6NOtw" 72s #to_key 72s is expected to be an instance of OpenSSL::PKey::RSA 72s when EC public key given 72s EC256 72s is expected to include :kty, :crv, :x, and :y 72s kty 72s is expected to == :EC 72s x 72s is expected to == "saPyrO4Lh9kh2FxrF9y1QVmZznWnRRJwpr12UHqzrVY" 72s y 72s is expected to == "MMz4W9zzqlrJhqr-JyrpvlnaIIyZQE6DfrgPkxMAw1M" 72s EC384 72s is expected to include :kty, :crv, :x, and :y 72s kty 72s is expected to == :EC 72s x 72s is expected to == "plzApyFnK7qzhg5XnIZbFj2hZoH2Vdl4-RFm7DnsNMG9tyqrpfq2RyjfKABbcFRt" 72s y 72s is expected to == "ixBzffhk3fcbmeipGLkvQBNCzeNm6QL3hOUTH6IFBzOL0Y7HsGTopNTTspLjlivb" 72s EC512 72s is expected to include :kty, :crv, :x, and :y 72s kty 72s is expected to == :EC 72s x 72s is expected to == "AcMCD-a0a6rnE9TvC0mOqF_DGXRg5Y3iTb4eHNwTm2kD6iujx9M_f8d_FGHr0OhpqzEn4rYPYZouGsbIPEgL0q__" 72s y 72s is expected to == "AULYEd8l-bV_BI289aezhSLZ1RDF2ltgDPEy9Y7YtqYa4cJcpiyzVDMpXWwBp6cjg6TXINkoVrVXZhN404ihu4I2" 72s unknown curve 72s is expected to raise JSON::JWK::UnknownAlgorithm with "Unknown EC Curve" 72s #thumbprint 72s using default hash function 72s is expected to == "-egRpLjyZCqxBh4OOfd8JSvXwayHmNFAUNkbi8exfhc" 72s using SHA512 hash function 72s is expected to == "B_yXDZJ9doudaVCj5q5vqxshvVtW2IFnz_ypvRt5O60gemkDAhO78L6YMyTWH0ZRm15cO2_laTSaNO9yZQFsvQ" 72s #to_key 72s is expected to be an instance of OpenSSL::PKey::EC 72s when shared secret given 72s kty 72s is expected to == :oct 72s x 72s is expected to == "secret" 72s #thumbprint 72s using default hash function 72s is expected to == "XZPWsTEZFIerowAF9GHzBtq5CkAOcVvIBnkMu0IIQH0" 72s using SHA512 hash function 72s is expected to == "rK7EtcEe9Xr0kryR9lNnyOTRe7Vb_BglbTBtbcVG2LzvL26_PFaMCwOtiUiXWfCK-wV8vcxjmvbcvV4ZxDE0FQ" 72s #to_key 72s is expected to be an instance of String 72s unknown key type 73s is expected to raise JSON::JWK::UnknownAlgorithm with "Unknown Key Type" 73s 73s JSON::JWS 73s before sign 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:none, :typ=>:JWT} 73s signature 73s is expected to be nil 73s #content_type 73s is expected to == "application/jose" 73s decode 73s blank payload not allowed 73s should raise format error 73s blank payload allowed 73s should not raise an error 73s #sign! 73s HS256 73s when String key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS256, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "DyuTgO2Ggb5nrhkkhI-RjVYIBe3o8oL4ijkAn94YPxQ" 73s with blank payload 73s is expected to == "iRFMM3GknVfzRTxlVQT87jfIw32Ik3lUYNGePPk5wnM" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS256, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "DyuTgO2Ggb5nrhkkhI-RjVYIBe3o8oL4ijkAn94YPxQ" 73s with blank payload 73s is expected to == "iRFMM3GknVfzRTxlVQT87jfIw32Ik3lUYNGePPk5wnM" 73s HS384 73s when String key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS384, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "a5-7rr61TG8Snv9xxJ7l064ky-SCq1Mswe9t8HEorvoc_nnfIeUy9WQCLMIli34R" 73s with blank payload 73s is expected to == "rxyzr3I2RWRBgQaewQt3yjdp3BqkrFh-iHcet318OYHWhXvyzAE0npf0l0xi5DOV" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS384, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "a5-7rr61TG8Snv9xxJ7l064ky-SCq1Mswe9t8HEorvoc_nnfIeUy9WQCLMIli34R" 73s with blank payload 73s is expected to == "rxyzr3I2RWRBgQaewQt3yjdp3BqkrFh-iHcet318OYHWhXvyzAE0npf0l0xi5DOV" 73s HS512 73s when String key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS512, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "ce-GlHDaNwaHfmAFRGp3QPPKvrpruTug2hC1bf6yNlbuvkMwJw2jFZgq_4wmIPetRdiBy7XFq7rrtmw1Im7tmQ" 73s with blank payload 73s is expected to == "VDHOrPYrwycjaKbwccObXi6dmw4fVFqiFsNFQjqYHQAkxJGxqhfVLc1_WfKMa6C7vGSGroabaVdK7nn08XPdSQ" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:HS512, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "ce-GlHDaNwaHfmAFRGp3QPPKvrpruTug2hC1bf6yNlbuvkMwJw2jFZgq_4wmIPetRdiBy7XFq7rrtmw1Im7tmQ" 73s with blank payload 73s is expected to == "VDHOrPYrwycjaKbwccObXi6dmw4fVFqiFsNFQjqYHQAkxJGxqhfVLc1_WfKMa6C7vGSGroabaVdK7nn08XPdSQ" 73s RS256 73s when OpenSSL::PKey::RSA key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS256, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "E5VELqAdla2Bx1axc9KFxO0EiCr0Mw6HPYX070qGQ8zA_XmyxGPUZLyyWU_6Cn399W-oYBWO2ynLlr8pqqjP3jXevyCeYeGRVN0H...PbHLVGUopIoxoqe4XjoBpzE5UvhrVl5LYbdjbyJhu5ZIA8GLsgwtUFh3dfdIechORoR3k5NSFSv8157bAEa8t4iwgWD2MSNSQnw" 73s with blank payload 73s is expected to == "WthQjouPVbErM7McwSY4slJjHaWqmFg1qKdmTDvttkiyAEcTjVViJkNHH9Mp573h13cXtLob1xh3UJYh5_-hSA4Y24zdyck3jp3f...3kHMns43GtT5bm-aJoMLct0nO1GBapQAiKUknTsw24IfOkX4vJNQzIWVSzx3zOxXjcVHlH92af6NknIlPCfRparLC9YEK2NkJYg" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS256, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "E5VELqAdla2Bx1axc9KFxO0EiCr0Mw6HPYX070qGQ8zA_XmyxGPUZLyyWU_6Cn399W-oYBWO2ynLlr8pqqjP3jXevyCeYeGRVN0H...PbHLVGUopIoxoqe4XjoBpzE5UvhrVl5LYbdjbyJhu5ZIA8GLsgwtUFh3dfdIechORoR3k5NSFSv8157bAEa8t4iwgWD2MSNSQnw" 73s with blank payload 73s is expected to == "WthQjouPVbErM7McwSY4slJjHaWqmFg1qKdmTDvttkiyAEcTjVViJkNHH9Mp573h13cXtLob1xh3UJYh5_-hSA4Y24zdyck3jp3f...3kHMns43GtT5bm-aJoMLct0nO1GBapQAiKUknTsw24IfOkX4vJNQzIWVSzx3zOxXjcVHlH92af6NknIlPCfRparLC9YEK2NkJYg" 73s RS384 73s when OpenSSL::PKey::RSA key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS384, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "lT5JbytGKgG9QrwkJuxgw7UjmN9tjkEQW9pVGR2XnKEdC0_wLNIzAmT-jTwyMDGBLUkWO7opDOP6Xy6_DOTg58k9PwVkyQzrLnmx..._LUgy80udJvbi8MAYJVUf0QYtQDrX2wnT_-eiiWjD5XafLuXEQVDRh-v2MKAwdvtXMq5cZ08Zjl2SyHxJ3OqhEeWPvYGltxZh_A" 73s with blank payload 73s is expected to == "Jy6XNLNAyujRHYoCOtFqu7z0imHZMiwkwBr73ok_DDSDxQSA9ryt_q_tX0u8knpAIRcTJuNA0-s5DkGbpIj9coKgZ5JBvE_n9ijv...LzONWr_QpCN-UFgmJHO7yBwaP-RWnLDW3hYlb4IybRIvMQQicjkjNaNwLTmwo31orVxO53GcSjyhU2y_R843nQcNjTT_lD1QRvg" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS384, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "lT5JbytGKgG9QrwkJuxgw7UjmN9tjkEQW9pVGR2XnKEdC0_wLNIzAmT-jTwyMDGBLUkWO7opDOP6Xy6_DOTg58k9PwVkyQzrLnmx..._LUgy80udJvbi8MAYJVUf0QYtQDrX2wnT_-eiiWjD5XafLuXEQVDRh-v2MKAwdvtXMq5cZ08Zjl2SyHxJ3OqhEeWPvYGltxZh_A" 73s with blank payload 73s is expected to == "Jy6XNLNAyujRHYoCOtFqu7z0imHZMiwkwBr73ok_DDSDxQSA9ryt_q_tX0u8knpAIRcTJuNA0-s5DkGbpIj9coKgZ5JBvE_n9ijv...LzONWr_QpCN-UFgmJHO7yBwaP-RWnLDW3hYlb4IybRIvMQQicjkjNaNwLTmwo31orVxO53GcSjyhU2y_R843nQcNjTT_lD1QRvg" 73s RS512 73s when OpenSSL::PKey::RSA key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS512, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "EHeGM2Mo3ghhUfSB99AlREehrbC6OPE-nYL_rwf88ysTnJ8L1QQ0UuCrXq4SpRutGLK_bYTK3ZALvFRPoOgK_g0QWmqv6qjQRU_Q...tU0cKSalUp4geaBDH7QRcexrolIctdQFbNKTXQxoigxD3NLNkKGH7f6A8KZdcOm8AnEjullcZs8_OWGnW43p1qrxoBRSivb9pqQ" 73s with blank payload 73s is expected to == "ws2HZ6wvh8GMrFKiIHXDogyx8HFpa4wvrLxfZaMfCoMPf0SZ4V3tiEZRWfrxyvwpsdBj2Mgm5lt3IYAHhlI2hqWvuikDq6tuVilo...LK-UkDQVclFmEM3JXrPG7YSRodtKlwJ-ESDx6CaJXXDAgitSF32dslcIkmOXRJqjNmF15i_aVg0ExiU92WTpCrdwzWTt4Aphqlw" 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:RS512, :typ=>:JWT} 73s behaves like generate_expected_signature 73s is expected to == "EHeGM2Mo3ghhUfSB99AlREehrbC6OPE-nYL_rwf88ysTnJ8L1QQ0UuCrXq4SpRutGLK_bYTK3ZALvFRPoOgK_g0QWmqv6qjQRU_Q...tU0cKSalUp4geaBDH7QRcexrolIctdQFbNKTXQxoigxD3NLNkKGH7f6A8KZdcOm8AnEjullcZs8_OWGnW43p1qrxoBRSivb9pqQ" 73s with blank payload 73s is expected to == "ws2HZ6wvh8GMrFKiIHXDogyx8HFpa4wvrLxfZaMfCoMPf0SZ4V3tiEZRWfrxyvwpsdBj2Mgm5lt3IYAHhlI2hqWvuikDq6tuVilo...LK-UkDQVclFmEM3JXrPG7YSRodtKlwJ-ESDx6CaJXXDAgitSF32dslcIkmOXRJqjNmF15i_aVg0ExiU92WTpCrdwzWTt4Aphqlw" 73s ES256 73s when OpenSSL::PKey::EC key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES256, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES256, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s ES384 73s when OpenSSL::PKey::EC key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES384, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES384, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s ES512 73s when OpenSSL::PKey::EC key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES512, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES512, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s ES256K 73s when OpenSSL::PKey::EC key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES256K, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s when JSON::JWK key given 73s behaves like jwt_with_alg 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s header 73s is expected to == {:alg=>:ES256K, :typ=>:JWT} 73s behaves like self_verifiable 73s should be self-verifiable 73s when JSON::JWK::Set key given 73s when jwk is found by given kid 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s otherwise 73s is expected to raise JSON::JWK::Set::KidNotFound 73s unknown algorithm 73s is expected to raise JSON::JWS::UnexpectedAlgorithm 73s #verify! 73s HS256 73s when String key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s HS384 73s when String key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s HS512 73s when String key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s RS256 73s when OpenSSL::PKey::RSA key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s RS384 73s when OpenSSL::PKey::RSA key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s RS512 73s when OpenSSL::PKey::RSA key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s ES256 73s when OpenSSL::PKey::EC key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s ES384 73s when OpenSSL::PKey::EC key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s ES512 73s when OpenSSL::PKey::EC key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s ES256K 73s when OpenSSL::PKey::EC key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK key given 73s behaves like success_signature_verification 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s with blank payload 73s is expected to be a kind of JSON::JWT 73s header 73s should be parsed successfully 73s claims 73s should be parsed successfully 73s when JSON::JWK::Set key given 73s when jwk is found by given kid 73s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 73s otherwise 73s is expected to raise JSON::JWK::Set::KidNotFound 73s unknown algorithm 73s is expected to raise JSON::JWS::UnexpectedAlgorithm 73s #to_json 73s as default 73s should JSONize payload 73s with blank payload 73s should JSONize payload 73s when syntax option given 73s when general 73s should return General JWS JSON Serialization 73s with blank payload 73s should return General JWS JSON Serialization 73s when not signed yet 73s should not fail 73s with blank payload 73s should not fail 73s when flattened 73s should return Flattened JWS JSON Serialization 73s with blank payload 73s should return Flattened JWS JSON Serialization 73s when not signed yet 73s should not fail 73s with blank payload 73s should not fail 73s 73s JSON::JWT 73s version 73s is expected not to be blank 73s #initialize 73s doesn't try to modify a frozen hash 73s when not signed nor encrypted 73s is expected to == "eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.eyJpc3MiOiJqb2UiLCJleHAiOjEzMDA4MTkzODAsImh0dHA6Ly9leGFtcGxlLmNvbS9pc19yb290Ijp0cnVlfQ." 73s #content_type 73s is expected to == "application/jwt" 73s #sign 73s HS256 73s is expected to be a kind of JSON::JWS 73s HS384 73s is expected to be a kind of JSON::JWS 73s HS512 73s is expected to be a kind of JSON::JWS 73s RS256 73s is expected to be a kind of JSON::JWS 73s RS384 73s is expected to be a kind of JSON::JWS 73s RS512 74s is expected to be a kind of JSON::JWS 74s when no algirithm specified 74s when key is String 74s alg 74s is expected to == :HS256 74s when key is RSA key 74s alg 74s is expected to == :RS256 74s when key is EC key 74s when prime256v1 74s alg 74s is expected to == :ES256 74s when secp384r1 74s alg 74s is expected to == :ES384 74s when secp521r1 74s alg 74s is expected to == :ES512 74s when secp256k1 74s alg 74s is expected to == :ES256K 74s when key is JWK with kty=okt 74s alg 74s is expected to == :HS256 74s when key is JWK with kty=RSA 74s alg 74s is expected to == :RS256 74s when key is JWK with kty=EC 74s when prime256v1 74s alg 74s is expected to == :ES256 74s when secp384r1 74s alg 74s is expected to == :ES384 74s when secp521r1 74s alg 74s is expected to == :ES512 74s when secp256k1 74s alg 74s is expected to == :ES256K 74s when non-JWK key is given 74s should not set kid header automatically 74s when JWK is given 74s should set kid header automatically 74s object copy behaviour 74s when original JWT is modified 74s copied JWS 74s should be affected as shallow copy, but not as a simple reference 74s when copied JWS is modified 74s original JWT 74s should be affected as shallow copy, but not as a simple reference 74s #encrypt 74s should encryptable without signing 74s should encryptable after signed 74s should accept optional algorithm 74s should accept optional algorithm and encryption method 74s when non-JWK key is given 74s should not set kid header automatically 74s when JWK is given 74s should set kid header automatically 74s .decode 74s when not signed nor encrypted 74s no signature given 74s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 74s when signed 74s when no secret/key given 74s should do verification 74s when secret/key given 74s should do verification 74s when alg header malformed 74s from alg=HS256 74s to alg=none 74s is expected to raise JSON::JWT::VerificationFailed 74s from alg=RS256 74s to alg=none 74s is expected to raise JSON::JWT::UnexpectedAlgorithm 74s to alg=HS256 74s is expected to raise JSON::JWS::UnexpectedAlgorithm 74s from alg=PS512 74s to alg=PS256 74s when verification algorithm is specified 74s is expected to raise JSON::JWS::UnexpectedAlgorithm with "Unexpected alg header" 74s otherwise 74s is expected not to raise Exception 74s to alg=RS516 74s when verification algorithm is specified 74s is expected to raise JSON::JWS::UnexpectedAlgorithm with "Unexpected alg header" 74s otherwise 74s is expected not to raise Exception 74s when :skip_verification given as secret/key 74s should skip verification 74s when JSON Serialization given 74s when general 74s behaves like json_serialization_parser 74s when proper secret given 74s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 74s when verification skipped 74s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 74s when wrong secret given 74s is expected to raise JSON::JWT::VerificationFailed 74s when flattened 74s behaves like json_serialization_parser 74s when proper secret given 74s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 74s when verification skipped 74s is expected to == {"exp"=>1300819380, "http://example.com/is_root"=>true, "iss"=>"joe"} 74s when wrong secret given 74s is expected to raise JSON::JWT::VerificationFailed 74s when encrypted 74s should decryptable 74s when :skip_decryption given as secret/key 74s should skip verification 74s when alg & enc is specified 74s when expected 74s is expected not to raise Exception 74s when alg is unexpected 74s is expected to raise JSON::JWE::UnexpectedAlgorithm with "Unexpected alg header" 74s when enc is unexpected 74s is expected to raise JSON::JWE::UnexpectedAlgorithm with "Unexpected enc header" 74s when JSON parse failed 74s is expected to raise JSON::JWT::InvalidFormat 74s when unexpected format 74s when too few dots 74s is expected to raise JSON::JWT::InvalidFormat 74s when too many dots 74s is expected to raise JSON::JWT::InvalidFormat 74s when JWS & JWE can be mixed-up (CVE-2023-51774) 74s is expected to raise JSON::JWT::InvalidFormat 74s .pretty_generate 74s size 74s is expected to == 2 74s first 74s is expected to == "{\n \"typ\": \"JWT\",\n \"alg\": \"HS256\"\n}" 74s last 74s is expected to == "{\n \"iss\": \"joe\",\n \"exp\": 1300819380,\n \"http://example.com/is_root\": true\n}" 74s 74s Pending: (Failures listed here are expected and do not affect your suite's status) 74s 74s 1) interop with Nimbus JOSE Nimbus JOSE unavailable 74s # No reason given 74s # ./spec/interop/with_nimbus_jose_spec.rb:96 74s 74s 2) JSON::JWE encrypt! when plaintext given when alg=dir TODO 74s # Not yet implemented 74s # ./spec/json/jwe_spec.rb:35 74s 74s 3) JSON::JWE encrypt! when plaintext given when alg=A128KW TODO 74s # Not yet implemented 74s # ./spec/json/jwe_spec.rb:39 74s 74s 4) JSON::JWE encrypt! when plaintext given when alg=A256KW TODO 74s # Not yet implemented 74s # ./spec/json/jwe_spec.rb:43 74s 74s 5) JSON::JWE decrypt! when alg=A128KW TODO 74s # Not yet implemented 74s # ./spec/json/jwe_spec.rb:275 74s 74s 6) JSON::JWE decrypt! when alg=A256KW TODO 74s # Not yet implemented 74s # ./spec/json/jwe_spec.rb:279 74s 74s Finished in 1.88 seconds (files took 0.96702 seconds to load) 74s 410 examples, 0 failures, 6 pending 74s 74s mv ./.gem2deb.lib lib 74s autopkgtest [19:12:13]: test gem2deb-test-runner: -----------------------] 74s autopkgtest [19:12:13]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 74s gem2deb-test-runner PASS 75s autopkgtest [19:12:14]: @@@@@@@@@@@@@@@@@@@@ summary 75s gem2deb-test-runner PASS