0s autopkgtest [05:12:44]: starting date and time: 2026-02-10 05:12:44+0000 0s autopkgtest [05:12:44]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [05:12:44]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.tpzbpi3f/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:ruby-thor --apt-upgrade ruby-librarian --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-thor/1.5.0-1 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/resolute/armhf 28s autopkgtest [05:13:12]: testbed dpkg architecture: armhf 30s autopkgtest [05:13:14]: testbed apt version: 3.1.15 34s autopkgtest [05:13:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s autopkgtest [05:13:20]: testbed release detected to be: None 44s autopkgtest [05:13:28]: updating testbed package index (apt update) 46s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 47s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 47s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 47s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 47s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [178 kB] 47s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1727 kB] 47s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 47s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [249 kB] 47s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1556 kB] 48s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [8156 B] 48s Get:11 http://ftpmaster.internal/ubuntu resolute/main Sources [1404 kB] 48s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 49s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1386 kB] 49s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.1 MB] 53s Fetched 43.2 MB in 7s (6556 kB/s) 54s Reading package lists... 61s autopkgtest [05:13:45]: upgrading testbed (apt dist-upgrade and autopurge) 63s Reading package lists... 64s Building dependency tree... 64s Reading state information... 64s Calculating upgrade... 65s The following packages will be upgraded: 65s libbrotli1 66s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Need to get 318 kB of archives. 66s After this operation, 0 B of additional disk space will be used. 66s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libbrotli1 armhf 1.2.0-3 [318 kB] 66s Fetched 318 kB in 0s (644 kB/s) 66s (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 ... 68678 files and directories currently installed.) 67s Preparing to unpack .../libbrotli1_1.2.0-3_armhf.deb ... 67s Unpacking libbrotli1:armhf (1.2.0-3) over (1.1.0-2build6) ... 67s Setting up libbrotli1:armhf (1.2.0-3) ... 67s Processing triggers for libc-bin (2.42-2ubuntu4) ... 69s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Solving dependencies... 71s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s autopkgtest [05:13:57]: rebooting testbed after setup commands that affected boot 117s autopkgtest [05:14:41]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 149s autopkgtest [05:15:13]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-librarian 161s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-librarian 1.1.2-1 (dsc) [1512 B] 161s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-librarian 1.1.2-1 (tar) [53.9 kB] 161s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-librarian 1.1.2-1 (diff) [4764 B] 161s gpgv: Signature made Thu Nov 27 22:03:58 2025 UTC 161s gpgv: using EDDSA key C0AB4E11BF6C5B96ABFF7AEE69C52F658E988542 161s gpgv: Can't check signature: No public key 161s dpkg-source: warning: cannot verify inline signature for ./ruby-librarian_1.1.2-1.dsc: no acceptable signature found 161s autopkgtest [05:15:25]: testing package ruby-librarian version 1.1.2-1 164s autopkgtest [05:15:28]: build not needed 167s autopkgtest [05:15:31]: test gem2deb-test-runner: preparing testbed 169s Reading package lists... 170s Building dependency tree... 170s Reading state information... 170s Solving dependencies... 171s The following NEW packages will be installed: 171s gem2deb-test-runner git git-man liberror-perl libruby libruby3.3 rake ruby 171s ruby-csv ruby-did-you-mean ruby-diff-lcs ruby-fakefs ruby-librarian 171s ruby-minitest ruby-net-telnet ruby-power-assert ruby-rspec ruby-rspec-core 171s ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 171s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-thor ruby-webrick 171s ruby-xmlrpc ruby3.3 rubygems-integration 171s 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. 171s Need to get 12.7 MB of archives. 171s After this operation, 69.0 MB of additional disk space will be used. 171s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf rubygems-integration all 1.19build1 [5666 B] 171s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-csv all 3.3.4-1 [43.0 kB] 171s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 171s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 171s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 171s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-webrick all 1.9.1-1build1 [60.9 kB] 171s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 171s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libruby3.3 armhf 3.3.8-2ubuntu2 [5595 kB] 172s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf ruby3.3 armhf 3.3.8-2ubuntu2 [59.0 kB] 172s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libruby armhf 1:3.3 [5162 B] 172s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 172s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf ruby armhf 1:3.3 [3670 B] 172s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf rake all 13.2.1-1build1 [45.9 kB] 172s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-minitest all 5.26.1-1 [49.3 kB] 172s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-power-assert all 3.0.1-1 [11.4 kB] 172s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 172s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 172s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf liberror-perl all 0.17030-1 [23.5 kB] 172s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf git-man all 1:2.51.0-1ubuntu1 [1179 kB] 172s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf git armhf 1:2.51.0-1ubuntu1 [4649 kB] 172s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-diff-lcs all 1.5.1-1 [22.8 kB] 172s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-fakefs all 3.0.4-1 [31.6 kB] 172s Get:23 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf ruby-thor all 1.5.0-1 [50.8 kB] 172s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-librarian all 1.1.2-1 [31.8 kB] 172s Get:25 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 172s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 172s Get:27 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 172s Get:28 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 172s Get:29 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 173s Fetched 12.7 MB in 2s (8211 kB/s) 173s Selecting previously unselected package rubygems-integration. 173s (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 ... 68678 files and directories currently installed.) 173s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 173s Unpacking rubygems-integration (1.19build1) ... 173s Selecting previously unselected package ruby-csv. 173s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 173s Unpacking ruby-csv (3.3.4-1) ... 173s Selecting previously unselected package ruby-did-you-mean. 173s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 173s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 173s Selecting previously unselected package ruby-net-telnet. 173s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 173s Unpacking ruby-net-telnet (0.2.0-1build1) ... 173s Selecting previously unselected package ruby-ruby2-keywords. 173s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 173s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 173s Selecting previously unselected package ruby-webrick. 173s Preparing to unpack .../05-ruby-webrick_1.9.1-1build1_all.deb ... 173s Unpacking ruby-webrick (1.9.1-1build1) ... 173s Selecting previously unselected package ruby-xmlrpc. 173s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 173s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 173s Selecting previously unselected package libruby3.3:armhf. 173s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu2_armhf.deb ... 173s Unpacking libruby3.3:armhf (3.3.8-2ubuntu2) ... 174s Selecting previously unselected package ruby3.3. 174s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu2_armhf.deb ... 174s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 174s Selecting previously unselected package libruby:armhf. 174s Preparing to unpack .../09-libruby_1%3a3.3_armhf.deb ... 174s Unpacking libruby:armhf (1:3.3) ... 174s Selecting previously unselected package ruby-rubygems. 174s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 174s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 174s Selecting previously unselected package ruby. 174s Preparing to unpack .../11-ruby_1%3a3.3_armhf.deb ... 174s Unpacking ruby (1:3.3) ... 174s Selecting previously unselected package rake. 174s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 174s Unpacking rake (13.2.1-1build1) ... 174s Selecting previously unselected package ruby-minitest. 174s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 174s Unpacking ruby-minitest (5.26.1-1) ... 174s Selecting previously unselected package ruby-power-assert. 174s Preparing to unpack .../14-ruby-power-assert_3.0.1-1_all.deb ... 174s Unpacking ruby-power-assert (3.0.1-1) ... 174s Selecting previously unselected package ruby-test-unit. 174s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 174s Unpacking ruby-test-unit (3.6.2-1) ... 174s Selecting previously unselected package gem2deb-test-runner. 174s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_armhf.deb ... 174s Unpacking gem2deb-test-runner (2.2.5) ... 174s Selecting previously unselected package liberror-perl. 174s Preparing to unpack .../17-liberror-perl_0.17030-1_all.deb ... 174s Unpacking liberror-perl (0.17030-1) ... 174s Selecting previously unselected package git-man. 174s Preparing to unpack .../18-git-man_1%3a2.51.0-1ubuntu1_all.deb ... 174s Unpacking git-man (1:2.51.0-1ubuntu1) ... 174s Selecting previously unselected package git. 174s Preparing to unpack .../19-git_1%3a2.51.0-1ubuntu1_armhf.deb ... 174s Unpacking git (1:2.51.0-1ubuntu1) ... 174s Selecting previously unselected package ruby-diff-lcs. 174s Preparing to unpack .../20-ruby-diff-lcs_1.5.1-1_all.deb ... 174s Unpacking ruby-diff-lcs (1.5.1-1) ... 174s Selecting previously unselected package ruby-fakefs. 174s Preparing to unpack .../21-ruby-fakefs_3.0.4-1_all.deb ... 174s Unpacking ruby-fakefs (3.0.4-1) ... 175s Selecting previously unselected package ruby-thor. 175s Preparing to unpack .../22-ruby-thor_1.5.0-1_all.deb ... 175s Unpacking ruby-thor (1.5.0-1) ... 175s Selecting previously unselected package ruby-librarian. 175s Preparing to unpack .../23-ruby-librarian_1.1.2-1_all.deb ... 175s Unpacking ruby-librarian (1.1.2-1) ... 175s Selecting previously unselected package ruby-rspec-support. 175s Preparing to unpack .../24-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 175s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 175s Selecting previously unselected package ruby-rspec-core. 175s Preparing to unpack .../25-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 175s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 175s Selecting previously unselected package ruby-rspec-expectations. 175s Preparing to unpack .../26-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 175s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 175s Selecting previously unselected package ruby-rspec-mocks. 175s Preparing to unpack .../27-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 175s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 175s Selecting previously unselected package ruby-rspec. 175s Preparing to unpack .../28-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 175s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 175s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 175s Setting up ruby-fakefs (3.0.4-1) ... 175s Setting up ruby-power-assert (3.0.1-1) ... 175s Setting up rubygems-integration (1.19build1) ... 175s Setting up liberror-perl (0.17030-1) ... 175s Setting up ruby-minitest (5.26.1-1) ... 175s Setting up ruby-test-unit (3.6.2-1) ... 175s Setting up ruby-net-telnet (0.2.0-1build1) ... 175s Setting up ruby-csv (3.3.4-1) ... 175s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 175s Setting up ruby-webrick (1.9.1-1build1) ... 175s Setting up git-man (1:2.51.0-1ubuntu1) ... 175s Setting up ruby-did-you-mean (1.6.3-2build1) ... 175s Setting up ruby-xmlrpc (0.3.3-2build1) ... 175s Setting up git (1:2.51.0-1ubuntu1) ... 175s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 175s Setting up rake (13.2.1-1build1) ... 175s Setting up libruby3.3:armhf (3.3.8-2ubuntu2) ... 175s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 175s Setting up libruby:armhf (1:3.3) ... 175s Setting up ruby (1:3.3) ... 175s Setting up ruby-thor (1.5.0-1) ... 175s Setting up ruby-librarian (1.1.2-1) ... 175s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 175s Setting up ruby-diff-lcs (1.5.1-1) ... 175s Setting up gem2deb-test-runner (2.2.5) ... 175s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 175s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 175s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 175s Processing triggers for libc-bin (2.42-2ubuntu4) ... 175s Processing triggers for man-db (2.13.1-1build1) ... 185s autopkgtest [05:15:49]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 185s autopkgtest [05:15:49]: test gem2deb-test-runner: [----------------------- 187s 187s ┌──────────────────────────────────────────────────────────────────────────────┐ 187s │ Checking Rubygems dependency resolution on ruby3.3 │ 187s └──────────────────────────────────────────────────────────────────────────────┘ 187s 187s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"librarianp\" 187s mv lib ./.gem2deb.lib 187s mv ./.gem2deb.lib lib 187s 187s ┌──────────────────────────────────────────────────────────────────────────────┐ 187s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 187s └──────────────────────────────────────────────────────────────────────────────┘ 187s 187s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 187s mv lib ./.gem2deb.lib 188s /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 188s 188s Librarian::Mock::Cli 188s version 188s should print the version 188s 188s Librarian::Posix 188s .run! 188s returns the stdout 188s changes directory 188s reads the env 188s 188s Librarian::Source::Git::Repository 188s .bin 189s is expected not to be empty 189s .git_version 189s is expected to match /^\d+(\.\d+)+$/ 189s the original 189s should recognize it 189s should not list any remotes for it 189s should not list any remote branches for it 189s should have divergent shas for master, branch, tag, and atag 189s a clone 189s should recognize it 189s should have a single remote for it 189s should have a remote with the expected name 189s should have the remote branch 189s should be checked out on the master 189s checking for commits 189s has the master commit 190s has the branch commit 190s has the tag commit 190s has the atag commit 190s does not have a made-up commit 190s does not have a tree commit 190s checking out the branch 190s should be checked out on the branch 190s should not be checked out on the master 190s checking out the tag 190s should be checked out on the tag 190s should not be checked out on the master 190s checking out the annotated tag 190s should be checked out on the annotated tag 190s should not be checked out on the master 190s 190s Librarian::Source::Git 190s when the remote is bad 190s fails when caching 190s when the remote has a repo 190s when caching once 191s has the expected sha 191s records the history 191s when caching twice 191s keeps the expected sha 191s runs git commands once 191s when caching twice from different sources 191s has the expected sha 191s records the history 191s when caching twice from different sources, second time with sha 191s has the expected sha 191s records the history 191s when caching twice from different environments 191s has the expected sha 191s records the history 191s when caching twice from different environments, second time with sha 191s has the expected sha 191s records the history 191s when the sha is missing from a cached repo 192s has a new remote sha 193s has the expected sha 193s records the history 193s 193s Librarian::Action::Base 193s is expected to respond to #environment 193s should have the environment that was assigned to it 193s 193s Librarian::Action::Clean 193s #run 193s behavior 193s clearing the cache path 193s when the cache path is missing 193s should not try to clear the cache path 193s when the cache path is present 193s should try to clear the cache path 193s clearing the install path 193s when the install path is missing 193s should not try to clear the install path 193s when the install path is present 193s should try to clear the install path 193s should only try to clear out directories from the install path, not files 193s 193s Librarian::Action::Ensure 193s #run 193s when the environment does not know its project path 193s should raise an error describing that the specfile is mising 193s when the environment knows its project path 193s should not raise an error 193s 193s Librarian::Action::Install 193s #run 193s behavior 193s checking preconditions 193s when the specfile is missing 193s should raise an error explaining that the specfile is missing 193s when the specfile is present but the lockfile is missing 193s should raise an error explaining that the lockfile is missing 193s when the specfile and lockfile are present but inconsistent 193s should raise an error explaining the inconsistenty 193s when the specfile and lockfile are present and consistent 193s should not raise an error 193s performing the install 193s should sort and install the manifests 193s should recreate the install path if it already exists 193s 193s Librarian::Action::Resolve 193s #run 193s behavior 193s merge duplicated dependencies 193s should merge duplicated dependencies 193s 193s Librarian::Algorithms::AdjacencyListDirectedGraph 193s cyclic? 193s with an empty graph 193s is expected to equal false 193s with a 1-node acyclic graph 193s is expected to equal false 193s with a 1-node cyclic graph 193s is expected to equal true 193s with a 2-node no-edge graph 193s is expected to equal false 193s with a 2-node acyclic graph 193s is expected to equal false 193s with a 2-node cyclic graph 193s is expected to equal true 193s with a 2-scc graph 193s is expected to equal true 193s feedback_arc_set 193s with an empty graph 193s is expected to be empty 193s with a 1-node acyclic graph 193s is expected to be empty 193s with a 1-node cyclic graph 193s is expected to be == [["a", "a"]] 193s with a 2-node no-edge graph 193s is expected to be empty 193s with a 2-node acyclic graph 193s is expected to be empty 193s with a 2-node cyclic graph 193s is expected to be == [["a", "b"]] 193s with a 2-scc graph 193s is expected to be == [["a", "b"], ["c", "d"]] 193s tsort_cyclic 193s with an empty graph 193s is expected to be == [] 193s with a 1-node acyclic graph 193s is expected to be == ["a"] 193s with a 1-node cyclic graph 193s is expected to be == ["a"] 193s with a 2-node no-edge graph 193s is expected to be == ["a", "b"] 193s with a 2-node acyclic graph 193s is expected to be == ["b", "a"] 193s with a 2-node cyclic graph 193s is expected to be == ["a", "b"] 193s with a 2-scc graph 193s is expected to be == ["a", "b", "c", "d"] 193s should be deterministic 193s is expected to be == ["a", "c", "b"] 193s should be deterministic 193s is expected to be == ["a", "b", "c"] 193s 193s Librarian::Config::Database 193s when a key is given globally 193s should have the key globally 193s should not have the key in the env 193s should not have the key locally 193s should have the key generally 193s when a key is set globally 193s should have the key globally 193s should not have the key in the env 193s should not have the key locally 193s should have the key generally 193s should persist the key 193s when the key is set and unset globally 193s should not have the key globally 193s should not have the key in the env 193s should not have the key locally 193s should not have the key generally 193s should unpersist the key 193s when a key is given in the env 193s should not have the key globally 193s should have the key in the env 193s should not have the key locally 193s should have the key generally 193s when a key is given locally 193s should not have the key globally 193s should not have the key in the env 193s should have the key locally 193s should have the key generally 193s when a key is set locally 193s should not have the key globally 193s should not have the key in the env 193s should have the key locally 193s should have the key generally 193s should persist the key 193s when the key is set and unset locally 193s should not have the key globally 193s should not have the key in the env 193s should not have the key locally 193s should not have the key generally 193s should unpersist the key 193s setting malformatted keys 193s should ban caps 193s should ban double dots 193s setting banned keys 193s should ban the specfile key 193s should ban the global-config key 193s project_path 193s by default 193s should give the default project path 193s when the specfile is set in the env 193s should give the project path from the env-set specfile 193s specfile_path 193s by default 193s should give the default specfile path 193s when set in the env 193s should give the given specfile path 193s when the project_path is assigned 193s should give the assigned specfile path 193s when the specfile_name is assigned 193s should give the assigned specfile path 193s 193s Librarian::Dependency::Requirement 193s should handle nil versions 193s should handle nil versions in arrays 193s should handle .x versions 193s should handle version ranges 193s should print to_s 193s #inspect 193s is expected to eq "#= 3.2.1>" 193s 193s Librarian::Dependency 193s validations 193s when the name is blank 193s raises 193s when the name has leading whitespace 193s raises 193s when the name has trailing whitespace 193s raises 193s when the name is a single character 193s passes 193s #consistent_with? 193s is consistent with "3" and "3" 193s is inconsistent with "3" and "4" 193s is inconsistent with "3" and "0" 193s is inconsistent with "0" and "3" 193s is consistent with "3" and "!= 4" 193s is consistent with "3" and "!= 0" 193s is inconsistent with "3" and "!= 3" 193s is consistent with "3" and "> 2" 193s is inconsistent with "3" and "> 3" 193s is inconsistent with "3" and "> 4" 193s is consistent with "3" and "< 4" 193s is inconsistent with "3" and "< 3" 193s is inconsistent with "3" and "< 2" 193s is consistent with "3" and ">= 2" 193s is consistent with "3" and ">= 3" 193s is inconsistent with "3" and ">= 4" 193s is consistent with "3" and "<= 4" 193s is consistent with "3" and "<= 3" 193s is inconsistent with "3" and "<= 2" 193s is consistent with "3.4.1" and "~> 3.4.1" 193s is consistent with "3.4.2" and "~> 3.4.1" 193s is inconsistent with "3.4" and "~> 3.4.1" 193s is inconsistent with "3.5" and "~> 3.4.1" 193s is consistent with "!= 3" and "!= 3" 193s is consistent with "!= 3" and "!= 4" 193s is consistent with "!= 3" and "> 2" 193s is consistent with "!= 3" and "> 3" 193s is consistent with "!= 3" and "> 4" 193s is consistent with "!= 3" and "< 2" 193s is consistent with "!= 3" and "< 3" 193s is consistent with "!= 3" and "< 4" 193s is consistent with "!= 3" and ">= 2" 193s is consistent with "!= 3" and ">= 3" 193s is consistent with "!= 3" and ">= 4" 193s is consistent with "!= 3" and "<= 2" 193s is consistent with "!= 3" and "<= 3" 193s is consistent with "!= 3" and "<= 4" 193s is consistent with "!= 3.4.1" and "~> 3.4.1" 193s is consistent with "!= 3.4.2" and "~> 3.4.1" 193s is consistent with "!= 3.5" and "~> 3.4.1" 193s is consistent with "> 3" and "> 2" 193s is consistent with "> 3" and "> 3" 193s is consistent with "> 3" and "> 4" 193s is consistent with "> 3" and "< 4" 193s is inconsistent with "> 3" and "< 3" 193s is inconsistent with "> 3" and "< 2" 193s is consistent with "> 3" and ">= 2" 193s is consistent with "> 3" and ">= 3" 193s is consistent with "> 3" and ">= 4" 193s is consistent with "> 3" and "<= 4" 193s is inconsistent with "> 3" and "<= 3" 193s is inconsistent with "> 3" and "<= 2" 193s is consistent with "> 3.3" and "~> 3.4.1" 193s is consistent with "> 3.4.1" and "~> 3.4.1" 193s is consistent with "> 3.4.2" and "~> 3.4.1" 193s is inconsistent with "> 3.5" and "~> 3.4.1" 193s is consistent with "< 3" and "< 2" 193s is consistent with "< 3" and "< 3" 193s is consistent with "< 3" and "< 4" 193s is consistent with "< 3" and ">= 2" 193s is inconsistent with "< 3" and ">= 3" 193s is inconsistent with "< 3" and ">= 4" 193s is consistent with "< 3" and "<= 2" 193s is consistent with "< 3" and "<= 3" 193s is consistent with "< 3" and "<= 4" 193s is consistent with ">= 3" and ">= 2" 193s is consistent with ">= 3" and ">= 3" 193s is consistent with ">= 3" and ">= 4" 193s is consistent with ">= 3" and "<= 4" 193s is consistent with ">= 3" and "<= 3" 193s is inconsistent with ">= 3" and "<= 2" 193s is consistent with ">= 3.3" and "~> 3.4.1" 193s is consistent with ">= 3.4.1" and "~> 3.4.1" 193s is consistent with ">= 3.4.2" and "~> 3.4.1" 193s is inconsistent with ">= 3.5" and "~> 3.4.1" 193s is consistent with "<= 3" and "<= 2" 193s is consistent with "<= 3" and "<= 3" 193s is consistent with "<= 3" and "<= 4" 193s is consistent with "<= 3.5" and "~> 3.4.1" 193s is consistent with "<= 3.4.1" and "~> 3.4.1" 193s is consistent with "<= 3.4.2" and "~> 3.4.1" 193s is inconsistent with "<= 3.3" and "~> 3.4.1" 193s is consistent with "~> 3.4.1" and "~> 3.4.1" 193s is consistent with "~> 3.4.2" and "~> 3.4.1" 193s is consistent with "~> 3.3" and "~> 3.4.1" 193s is inconsistent with "~> 3.3.3" and "~> 3.4.1" 193s is inconsistent with "~> 3.5" and "~> 3.4.1" 193s is inconsistent with "~> 3.5.4" and "~> 3.4.1" 193s 193s Librarian::Mock::Dsl 193s a single source and a single dependency with a blank name 193s should not not run with a blank name 193s a simple specfile - a single source, a single dependency, no transitive dependencies 193s should run with a hash source 193s should run with a shortcut source 193s should run with a block hash source 193s should run with a block named source 193s should run with a default hash source 193s should run with a default named source 193s should run with a default shortcut source 193s should run with a shortcut source hash definition 193s should run with a shortcut source block definition 193s should run with a default shortcut source hash definition 193s should run with a default shortcut source block definition 193s validating source options 193s should raise when given unrecognized optiosn options 193s 193s Librarian::Environment::RuntimeCache 193s originally 193s is expected to eql false, nil, and 9 193s after put 193s is expected to eql true, 6, and 6 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s after put then delete 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s after memo 193s is expected to eql true, 6, and 6 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s after memo then delete 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s is expected to eql false, nil, and 9 193s with keyspace wrapper 193s after put 193s is expected to eql true, 6, and 6 193s 193s Librarian::Environment 193s #adapter_module 193s is expected to equal nil 193s #adapter_name 193s is expected to equal nil 193s #adapter_version 193s is expected to equal nil 193s computing the home 193s with the HOME env var 193s finds the home 193s without the HOME env var 193s finds the home (PENDING: Temporarily skipped with xit) 193s #http_proxy_uri 193s sanity 193s should have a nil http proxy uri 193s with a complex proxy 193s should have the expcted http proxy uri 193s should have the expected host 193s should have the expected user 193s should have the expected password 193s with a split proxy 193s should have the expcted http proxy uri 193s #net_http_class 193s sanity 193s should have the normal class 193s should not be marked as a proxy class 193s with a complex proxy 193s should not by marked as a proxy class for localhost 193s should not have the normal class 193s should have a subclass the normal class 193s should be marked as a proxy class 193s should have the expected proxy attributes 193s with an excluded host 193s with an exact match 193s should have the normal class 193s should not be marked as a proxy class 193s with a subdomain match 193s should have the normal class 193s should not be marked as a proxy class 193s with localhost 193s should have the normal class 193s should not be marked as a proxy class 193s with 127.0.0.1 193s should have the normal class 193s should not be marked as a proxy class 193s with a mismatch 193s should have a subclass the normal class 193s should be marked as a proxy class 193s 193s Librarian::Lockfile::Parser 193s a mock lockfile with one source and no dependencies 193s should give an empty list of dependencies 193s should give an empty list of manifests 193s a mock lockfile with one source and one dependency 193s should give a list of one dependency 193s should give a dependency with the expected name 193s should give a dependency with the expected requirement 193s should give a dependency wth the expected source 193s should give a list of one manifest 193s should give a manifest with the expected name 193s should give a manifest with the expected version 193s should give a manifest with no dependencies 193s should give a manifest with the expected source 193s should give the dependency and the manifest the same source instance 193s a mock lockfile with one source and a complex dependency 193s should give a list of one dependency 193s should have the expected dependency 193s should give a list of all the manifests 193s should include all the expected manifests 193s should have an internally consistent set of manifests 193s should have an externally consistent set of manifests 193s 193s Librarian::Lockfile 193s sanity 193s the resolution 193s is expected to be correct 193s is expected to eq 1 193s #save 193s just saving 193s should return the lockfile text 193s saving and reloading 193s should have the expected manifests 193s bouncing 193s should return the same lockfile text after bouncing as before bouncing 193s 193s Librarian::Manifest::Version 193s #inspect 193s is expected to eq "#" 193s version comparison 193s when version has only two components 193s creates a new version with only 2 version components 193s when neither version has pre-release items 193s compares 1.0.0 < 2.0.0 193s compares 2.0.0 < 2.1.0 193s compares 2.1.0 < 2.1.1 193s when versions have pre-release information 193s compares 1.0.0-alpha < 1.0.0-alpha1 193s compares 1.0.0-alpha.1 < 1.0.0-alpha.beta 193s compares 1.0.0-alpha.beta < 1.0.0-beta 193s compares 1.0.0-beta < 1.0.0-beta.2 193s compares 1.0.0-beta.2 < 1.0.0-beta.11 193s compares 1.0.0-beta.11 < 1.0.0-rc.1 193s compares 1.0.0-rc.1 < 1.0.0 193s when an invalid version number is provided 193s raises 193s when a version is converted to string 193s should be the full semver 193s should be the full gem version 193s should be the two-component version 193s 193s Librarian::ManifestSet 193s .new 193s with an array 193s should give back the array 193s should give back the hash 193s with a hash 193s should give back the array 193s should give back the hash 193s #shallow_strip! 193s should not do anything when given no names 193s should remove only the named elements 193s should allow removing all the elements 193s #shallow_keep! 193s should empty the set when given no names 193s should keep only the named elements 193s should allow keeping all the elements 193s #deep_strip! 193s should not do anything when given no names 193s should remove just the named elements if they have no dependencies 193s should remove the named elements and all their dependencies 193s should remove an entire tree of dependencies 193s should allow removing all the elements 193s should fail if index does not contain manifest 193s #deep_keep! 193s should remove all the elements when given no names 193s should keep just the named elements if they have no dependencies 193s should keep the named elements and all their dependencies 193s should keep an entire tree of dependencies 193s should allow keeping all the elements 193s 193s Librarian::Manifest 193s validations 193s when the name is blank 193s raises 193s when the name has leading whitespace 193s raises 193s when the name has trailing whitespace 193s raises 193s when the name is a single character 193s passes 193s 193s Librarian::Mock::Environment 193s #version 193s is expected to eq "1.1.2" 193s #adapter_module 193s is expected to eq Librarian::Mock 193s #adapter_name 193s is expected to eq "mock" 193s #adapter_version 193s is expected to eq "0.1.2" 193s 193s Librarian::Mock::Source::Mock 193s .new 193s is expected not to be nil 193s 193s Librarian::Resolver 193s a simple specfile 193s is expected to be correct 193s a specfile with a dep from one src depending on a dep from another src 193s is expected to be correct 193s a specfile with a dep in multiple sources 193s should have the expected number of sources 193s is expected to be correct 193s should have the manifest from the final source with a matching manifest 193s a specfile with a dep depending on a nonexistent dep 193s is expected to be nil 193s a specfile with conflicting constraints 193s is expected to be nil 193s a specfile with cyclic constraints 193s when cyclic resolutions are forbidden 193s is expected to be nil 193s when cyclic resolutions are permitted 193s should have all the manifests 193s updating 193s should not work 193s a change to the spec 193s should work 193s a pathname to a simple specfile 193s loads the specfile with the __FILE__ 193s 193s Librarian::Source::Git 193s validating options for the specfile 193s with only known options 193s should not raise 193s with an unknown option 193s should raise 193s with invalid options 193s should raise 193s 193s Librarian::SpecChangeSet 193s a simple root removal 193s should work 193s a simple root add 193s should work 193s a simple root change 193s when the change is consistent 193s should work 193s when the change is inconsistent 193s should work 193s a simple root source change 193s should work 193s 193s Pending: (Failures listed here are expected and do not affect your suite's status) 193s 193s 1) Librarian::Environment computing the home without the HOME env var finds the home 193s # Temporarily skipped with xit 193s # ./spec/unit/environment_spec.rb:38 193s 193s Finished in 3.83 seconds (files took 0.66685 seconds to load) 193s 366 examples, 0 failures, 1 pending 193s 193s mv ./.gem2deb.lib lib 193s autopkgtest [05:15:56]: test gem2deb-test-runner: -----------------------] 197s gem2deb-test-runner PASS 197s autopkgtest [05:16:01]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 201s autopkgtest [05:16:05]: @@@@@@@@@@@@@@@@@@@@ summary 201s gem2deb-test-runner PASS