0s autopkgtest [07:04:33]: starting date and time: 2026-02-10 07:04:33+0000 0s autopkgtest [07:04:33]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [07:04:33]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.frv8_yom/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-concurrent --apt-upgrade ruby-dry-container --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby-concurrent/1.3.6-1 -- lxd -r lxd-armhf-10.145.243.197 lxd-armhf-10.145.243.197:autopkgtest/ubuntu/resolute/armhf 28s autopkgtest [07:05:01]: testbed dpkg architecture: armhf 30s autopkgtest [07:05:03]: testbed apt version: 3.1.15 34s autopkgtest [07:05:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 36s autopkgtest [07:05:09]: testbed release detected to be: None 44s autopkgtest [07:05:17]: updating testbed package index (apt update) 46s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 46s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 46s 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] 50s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [31.1 kB] 50s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [249 kB] 50s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1556 kB] 53s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [8156 B] 53s Get:11 http://ftpmaster.internal/ubuntu resolute/main Sources [1404 kB] 55s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 84s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1386 kB] 85s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.1 MB] 105s Fetched 43.2 MB in 60s (724 kB/s) 107s Reading package lists... 112s autopkgtest [07:06:25]: upgrading testbed (apt dist-upgrade and autopurge) 114s Reading package lists... 115s Building dependency tree... 115s Reading state information... 115s Calculating upgrade... 116s The following packages will be upgraded: 116s libbrotli1 116s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Need to get 318 kB of archives. 116s After this operation, 0 B of additional disk space will be used. 116s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libbrotli1 armhf 1.2.0-3 [318 kB] 117s Fetched 318 kB in 1s (491 kB/s) 117s (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 ... 68691 files and directories currently installed.) 117s Preparing to unpack .../libbrotli1_1.2.0-3_armhf.deb ... 117s Unpacking libbrotli1:armhf (1.2.0-3) over (1.1.0-2build6) ... 117s Setting up libbrotli1:armhf (1.2.0-3) ... 117s Processing triggers for libc-bin (2.42-2ubuntu4) ... 120s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Solving dependencies... 122s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 124s autopkgtest [07:06:37]: rebooting testbed after setup commands that affected boot 168s autopkgtest [07:07:21]: 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 195s autopkgtest [07:07:48]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-dry-container 206s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-dry-container 0.7.2-2build1 (dsc) [2205 B] 206s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-dry-container 0.7.2-2build1 (tar) [14.9 kB] 206s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-dry-container 0.7.2-2build1 (diff) [2552 B] 207s gpgv: Signature made Mon Nov 24 16:35:36 2025 UTC 207s gpgv: using RSA key 25E3FF2D7F469DBE7D0D4E50AFCFEC8E669CE1C2 207s gpgv: Can't check signature: No public key 207s dpkg-source: warning: cannot verify inline signature for ./ruby-dry-container_0.7.2-2build1.dsc: no acceptable signature found 207s autopkgtest [07:08:00]: testing package ruby-dry-container version 0.7.2-2build1 210s autopkgtest [07:08:03]: build not needed 212s autopkgtest [07:08:05]: test gem2deb-test-runner: preparing testbed 214s Reading package lists... 214s Building dependency tree... 214s Reading state information... 215s Solving dependencies... 215s The following NEW packages will be installed: 215s gem2deb-test-runner libruby libruby3.3 rake ruby ruby-concurrent ruby-csv 215s ruby-did-you-mean ruby-diff-lcs ruby-dry-configurable ruby-dry-container 215s ruby-dry-core ruby-minitest ruby-net-telnet ruby-power-assert ruby-rspec 215s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 215s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-webrick ruby-xmlrpc 215s ruby3.3 rubygems-integration 215s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 215s Need to get 7058 kB of archives. 215s After this operation, 38.7 MB of additional disk space will be used. 215s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf rubygems-integration all 1.19build1 [5666 B] 215s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-csv all 3.3.4-1 [43.0 kB] 216s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 216s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 216s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 216s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-webrick all 1.9.1-1build1 [60.9 kB] 216s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 216s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libruby3.3 armhf 3.3.8-2ubuntu2 [5595 kB] 223s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf ruby3.3 armhf 3.3.8-2ubuntu2 [59.0 kB] 223s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libruby armhf 1:3.3 [5162 B] 223s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-rubygems all 3.6.7-2ubuntu2 [332 kB] 223s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf ruby armhf 1:3.3 [3670 B] 223s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf rake all 13.2.1-1build1 [45.9 kB] 223s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-minitest all 5.26.1-1 [49.3 kB] 223s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-power-assert all 3.0.1-1 [11.4 kB] 223s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 223s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 223s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf ruby-concurrent all 1.3.6-1 [284 kB] 224s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-diff-lcs all 1.5.1-1 [22.8 kB] 224s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-dry-core all 0.7.1-1 [12.4 kB] 224s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-dry-configurable all 0.9.0-2build1 [8586 B] 224s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-dry-container all 0.7.2-2build1 [8252 B] 224s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 224s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 224s Get:25 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 224s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 224s Get:27 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 225s Fetched 7058 kB in 9s (790 kB/s) 225s Selecting previously unselected package rubygems-integration. 225s (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 ... 68691 files and directories currently installed.) 225s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 225s Unpacking rubygems-integration (1.19build1) ... 225s Selecting previously unselected package ruby-csv. 225s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 225s Unpacking ruby-csv (3.3.4-1) ... 225s Selecting previously unselected package ruby-did-you-mean. 225s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 225s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 225s Selecting previously unselected package ruby-net-telnet. 225s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 225s Unpacking ruby-net-telnet (0.2.0-1build1) ... 225s Selecting previously unselected package ruby-ruby2-keywords. 225s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 225s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 225s Selecting previously unselected package ruby-webrick. 225s Preparing to unpack .../05-ruby-webrick_1.9.1-1build1_all.deb ... 225s Unpacking ruby-webrick (1.9.1-1build1) ... 225s Selecting previously unselected package ruby-xmlrpc. 225s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 225s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 225s Selecting previously unselected package libruby3.3:armhf. 225s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu2_armhf.deb ... 225s Unpacking libruby3.3:armhf (3.3.8-2ubuntu2) ... 226s Selecting previously unselected package ruby3.3. 226s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu2_armhf.deb ... 226s Unpacking ruby3.3 (3.3.8-2ubuntu2) ... 226s Selecting previously unselected package libruby:armhf. 226s Preparing to unpack .../09-libruby_1%3a3.3_armhf.deb ... 226s Unpacking libruby:armhf (1:3.3) ... 226s Selecting previously unselected package ruby-rubygems. 226s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu2_all.deb ... 226s Unpacking ruby-rubygems (3.6.7-2ubuntu2) ... 226s Selecting previously unselected package ruby. 226s Preparing to unpack .../11-ruby_1%3a3.3_armhf.deb ... 226s Unpacking ruby (1:3.3) ... 226s Selecting previously unselected package rake. 226s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 226s Unpacking rake (13.2.1-1build1) ... 226s Selecting previously unselected package ruby-minitest. 226s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 226s Unpacking ruby-minitest (5.26.1-1) ... 226s Selecting previously unselected package ruby-power-assert. 226s Preparing to unpack .../14-ruby-power-assert_3.0.1-1_all.deb ... 226s Unpacking ruby-power-assert (3.0.1-1) ... 226s Selecting previously unselected package ruby-test-unit. 226s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 226s Unpacking ruby-test-unit (3.6.2-1) ... 226s Selecting previously unselected package gem2deb-test-runner. 226s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_armhf.deb ... 226s Unpacking gem2deb-test-runner (2.2.5) ... 226s Selecting previously unselected package ruby-concurrent. 226s Preparing to unpack .../17-ruby-concurrent_1.3.6-1_all.deb ... 226s Unpacking ruby-concurrent (1.3.6-1) ... 226s Selecting previously unselected package ruby-diff-lcs. 226s Preparing to unpack .../18-ruby-diff-lcs_1.5.1-1_all.deb ... 226s Unpacking ruby-diff-lcs (1.5.1-1) ... 226s Selecting previously unselected package ruby-dry-core. 226s Preparing to unpack .../19-ruby-dry-core_0.7.1-1_all.deb ... 226s Unpacking ruby-dry-core (0.7.1-1) ... 226s Selecting previously unselected package ruby-dry-configurable. 226s Preparing to unpack .../20-ruby-dry-configurable_0.9.0-2build1_all.deb ... 226s Unpacking ruby-dry-configurable (0.9.0-2build1) ... 226s Selecting previously unselected package ruby-dry-container. 226s Preparing to unpack .../21-ruby-dry-container_0.7.2-2build1_all.deb ... 226s Unpacking ruby-dry-container (0.7.2-2build1) ... 226s Selecting previously unselected package ruby-rspec-support. 226s Preparing to unpack .../22-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 226s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 226s Selecting previously unselected package ruby-rspec-core. 226s Preparing to unpack .../23-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 226s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 226s Selecting previously unselected package ruby-rspec-expectations. 226s Preparing to unpack .../24-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 226s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 226s Selecting previously unselected package ruby-rspec-mocks. 226s Preparing to unpack .../25-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 226s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 226s Selecting previously unselected package ruby-rspec. 226s Preparing to unpack .../26-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 226s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 226s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 226s Setting up ruby-power-assert (3.0.1-1) ... 226s Setting up rubygems-integration (1.19build1) ... 226s Setting up ruby-concurrent (1.3.6-1) ... 226s Setting up ruby-minitest (5.26.1-1) ... 226s Setting up ruby-dry-core (0.7.1-1) ... 226s Setting up ruby-test-unit (3.6.2-1) ... 226s Setting up ruby-net-telnet (0.2.0-1build1) ... 226s Setting up ruby-csv (3.3.4-1) ... 226s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 226s Setting up ruby-webrick (1.9.1-1build1) ... 226s Setting up ruby-did-you-mean (1.6.3-2build1) ... 226s Setting up ruby-xmlrpc (0.3.3-2build1) ... 226s Setting up ruby-dry-configurable (0.9.0-2build1) ... 226s Setting up ruby-dry-container (0.7.2-2build1) ... 226s Setting up rake (13.2.1-1build1) ... 226s Setting up libruby3.3:armhf (3.3.8-2ubuntu2) ... 226s Setting up ruby-rubygems (3.6.7-2ubuntu2) ... 226s Setting up ruby3.3 (3.3.8-2ubuntu2) ... 226s Setting up libruby:armhf (1:3.3) ... 226s Setting up ruby (1:3.3) ... 226s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 226s Setting up ruby-diff-lcs (1.5.1-1) ... 226s Setting up gem2deb-test-runner (2.2.5) ... 226s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 226s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 226s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 226s Processing triggers for libc-bin (2.42-2ubuntu4) ... 226s Processing triggers for man-db (2.13.1-1build1) ... 235s autopkgtest [07:08:28]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 235s autopkgtest [07:08:28]: test gem2deb-test-runner: [----------------------- 238s 238s ┌──────────────────────────────────────────────────────────────────────────────┐ 238s │ Checking Rubygems dependency resolution on ruby3.3 │ 238s └──────────────────────────────────────────────────────────────────────────────┘ 238s 238s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"dry-container\" 238s mv lib ./.gem2deb.lib 238s mv ./.gem2deb.lib lib 238s 238s ┌──────────────────────────────────────────────────────────────────────────────┐ 238s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 238s └──────────────────────────────────────────────────────────────────────────────┘ 238s 238s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 238s mv lib ./.gem2deb.lib 238s /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 238s 238s Randomized with seed 9658 238s 238s Dry::Container 238s inheritance 238s sets up a container for a child class 238s behaves like a container 238s .resolve 238s accepts a fallback block 238s configuration 238s namespace_separator 238s default 238s is expected to eq "." 238s custom 238s is expected to eq "item" 238s registry 238s default 238s is expected to be a kind of Dry::Container::Registry 238s custom 238s is expected to have received call({}, :key, :item, {}) 1 time 238s resolver 238s default 238s is expected to be a kind of Dry::Container::Resolver 238s custom 238s is expected to eq # 238s is expected to have received call({}, :key) 1 time 238s with default configuration 238s registering a proc 238s with option call: false 238s registers and resolves a proc 238s without options 238s with arguments 238s registers and resolves a proc 238s without arguments 238s registers and resolves an object 238s with option memoize: true 238s registers and resolves a proc 238s only resolves the proc once 238s when receiving something other than a proc 238s is expected to raise Dry::Container::Error 238s mixing Strings and Symbols 238s is expected to eql "item" 238s #each_key 238s yields stringified versions of all registered keys to the block 238s returns the container 238s namespace 238s with nesting and when block takes arguments 238s resolves items relative to the namespace 238s when block takes arguments 238s registers items under the given namespace 238s when block does not take arguments 238s registers items under the given namespace 238s with nesting 238s registers items under the given namespaces 238s #key? 238s when key exists in container 238s is expected to equal true 238s when key does not exist in container 238s is expected to equal false 238s import 238s allows importing of nested namespaces 238s allows importing of namespaces 238s registering a block 238s without options 238s with arguments 238s registers and resolves a proc 238s does not call a proc on resolving if one accepts an arbitrary number of keyword arguments 238s without arguments 238s registers and resolves an object 238s with option call: false 238s registers and resolves a proc 238s #keys 238s returns stringified versions of all registered keys 238s registering with the same key multiple times 238s is expected to raise Dry::Container::Error 238s #decorate 238s with an instance as a decorator 238s expected to pass original value to decorator#call method 238s for not callable item 238s memoization 238s decorates static value only once 238s wrapping 238s expected to be an instance of SimpleDelegator 238s for callable item 238s memoize false 238s does not call the block until the key is resolved 238s is expected not to equal #<#:0xecc9db7c> 238s memoize true 238s is expected to equal #:0xecc99a04>)> 238s registering an object 238s with option call: false 238s registers and resolves an object 238s without options 238s registers and resolves the object 238s #merge 238s without namespace argument 238s is expected to equal :item 238s is expected to equal :item 238s with namespace argument 238s when namespace is nil 238s is expected to equal :item 238s is expected to equal :item 238s when namespace is not nil 238s is expected to equal :item 238s is expected to equal :item 238s #each 238s yields stringified versions of all registered keys to the block 238s returns the container 238s resolving with a key that has not been registered 238s is expected to raise Dry::Container::Error 238s .freeze 238s allows to freeze a container so that nothing can be registered later 238s returns self back 238s .dup 238s returns a copy that doesn't share registered keys with the parent 238s stubbing 238s keys can be stubbed 238s raises an error when key is missing 238s only other keys remain accesible 238s keys can be reverted back to their original value 238s with block argument 238s executes the block with the given stubs 238s keys are stubbed only while inside the block 238s mixing Strings and Symbols 238s is expected to eql "stub" 238s .clone 238s re-uses frozen container 238s returns a copy that doesn't share registered keys with the parent 238s 238s Dry::Container::Mixin 238s included 238s behaves like a container 238s with default configuration 238s import 238s allows importing of nested namespaces 238s allows importing of namespaces 238s mixing Strings and Symbols 238s is expected to eql "item" 238s #each_key 238s yields stringified versions of all registered keys to the block 238s returns the container 238s namespace 238s when block takes arguments 238s registers items under the given namespace 238s when block does not take arguments 238s registers items under the given namespace 238s with nesting and when block takes arguments 238s resolves items relative to the namespace 238s with nesting 238s registers items under the given namespaces 238s registering with the same key multiple times 239s is expected to raise Dry::Container::Error 239s registering an object 239s with option call: false 239s registers and resolves an object 239s without options 239s registers and resolves the object 239s resolving with a key that has not been registered 239s is expected to raise Dry::Container::Error 239s #each 239s yields stringified versions of all registered keys to the block 239s returns the container 239s #decorate 239s with an instance as a decorator 239s expected to pass original value to decorator#call method 239s for callable item 239s memoize true 239s is expected to equal #:0xecbfb340>)> 239s memoize false 239s does not call the block until the key is resolved 239s is expected not to equal #<#:0xecbf1b4c> 239s for not callable item 239s wrapping 239s expected to be an instance of SimpleDelegator 239s memoization 239s decorates static value only once 239s #merge 239s without namespace argument 239s is expected to equal :item 239s is expected to equal :item 239s with namespace argument 239s when namespace is not nil 239s is expected to equal :item 239s is expected to equal :item 239s when namespace is nil 239s is expected to equal :item 239s is expected to equal :item 239s #key? 239s when key exists in container 239s is expected to equal true 239s when key does not exist in container 239s is expected to equal false 239s registering a proc 239s without options 239s without arguments 239s registers and resolves an object 239s with arguments 239s registers and resolves a proc 239s with option memoize: true 239s only resolves the proc once 239s registers and resolves a proc 239s when receiving something other than a proc 239s is expected to raise Dry::Container::Error 239s with option call: false 239s registers and resolves a proc 239s registering a block 239s with option call: false 239s registers and resolves a proc 239s without options 239s with arguments 239s registers and resolves a proc 239s does not call a proc on resolving if one accepts an arbitrary number of keyword arguments 239s without arguments 239s registers and resolves an object 239s #keys 239s returns stringified versions of all registered keys 239s .dup 239s returns a copy that doesn't share registered keys with the parent 239s .freeze 239s allows to freeze a container so that nothing can be registered later 239s returns self back 239s .resolve 239s accepts a fallback block 239s stubbing 239s keys can be stubbed 239s raises an error when key is missing 239s only other keys remain accesible 239s keys can be reverted back to their original value 239s mixing Strings and Symbols 239s is expected to eql "stub" 239s with block argument 239s executes the block with the given stubs 239s keys are stubbed only while inside the block 239s configuration 239s resolver 239s custom 239s is expected to have received call({}, :key) 1 time 239s is expected to eq # 239s default 239s is expected to be a kind of Dry::Container::Resolver 239s registry 239s default 239s is expected to be a kind of Dry::Container::Registry 239s custom 239s is expected to have received call({}, :key, :item, {}) 1 time 239s namespace_separator 239s default 239s is expected to eq "." 239s custom 239s is expected to eq "item" 239s .clone 239s returns a copy that doesn't share registered keys with the parent 239s re-uses frozen container 239s into a class with a custom .initialize method 239s does not fail on missing member variable 239s extended 239s behaves like a container 239s .clone 239s returns a copy that doesn't share registered keys with the parent 239s re-uses frozen container 239s .resolve 239s accepts a fallback block 239s with default configuration 239s #merge 239s with namespace argument 239s when namespace is not nil 239s is expected to equal :item 239s is expected to equal :item 239s when namespace is nil 239s is expected to equal :item 239s is expected to equal :item 239s without namespace argument 239s is expected to equal :item 239s is expected to equal :item 239s #key? 239s when key exists in container 239s is expected to equal true 239s when key does not exist in container 239s is expected to equal false 239s namespace 239s with nesting 239s registers items under the given namespaces 239s with nesting and when block takes arguments 239s resolves items relative to the namespace 239s when block takes arguments 239s registers items under the given namespace 239s when block does not take arguments 239s registers items under the given namespace 239s registering an object 239s with option call: false 239s registers and resolves an object 239s without options 239s registers and resolves the object 239s import 239s allows importing of namespaces 239s allows importing of nested namespaces 239s registering a block 239s without options 239s without arguments 239s registers and resolves an object 239s with arguments 239s registers and resolves a proc 239s does not call a proc on resolving if one accepts an arbitrary number of keyword arguments 239s with option call: false 239s registers and resolves a proc 239s registering with the same key multiple times 239s is expected to raise Dry::Container::Error 239s #each_key 239s yields stringified versions of all registered keys to the block 239s returns the container 239s resolving with a key that has not been registered 239s is expected to raise Dry::Container::Error 239s registering a proc 239s with option memoize: true 239s registers and resolves a proc 239s only resolves the proc once 239s when receiving something other than a proc 239s is expected to raise Dry::Container::Error 239s with option call: false 239s registers and resolves a proc 239s without options 239s with arguments 239s registers and resolves a proc 239s without arguments 239s registers and resolves an object 239s mixing Strings and Symbols 239s is expected to eql "item" 239s #decorate 239s with an instance as a decorator 239s expected to pass original value to decorator#call method 239s for not callable item 239s memoization 239s decorates static value only once 239s wrapping 239s expected to be an instance of SimpleDelegator 239s for callable item 239s memoize false 239s does not call the block until the key is resolved 239s is expected not to equal #<#:0xecbf8794> 239s memoize true 239s is expected to equal #:0xecbf3cf8>)> 239s #each 239s yields stringified versions of all registered keys to the block 239s returns the container 239s #keys 239s returns stringified versions of all registered keys 239s stubbing 239s keys can be stubbed 239s raises an error when key is missing 239s only other keys remain accesible 239s keys can be reverted back to their original value 239s mixing Strings and Symbols 239s is expected to eql "stub" 239s with block argument 239s executes the block with the given stubs 239s keys are stubbed only while inside the block 239s .freeze 239s allows to freeze a container so that nothing can be registered later 239s returns self back 239s configuration 239s resolver 239s custom 239s is expected to have received call({}, :key) 1 time 239s is expected to eq # 239s default 239s is expected to be a kind of Dry::Container::Resolver 239s registry 239s custom 239s is expected to have received call({}, :key, :item, {}) 1 time 239s default 239s is expected to be a kind of Dry::Container::Registry 239s namespace_separator 239s default 239s is expected to eq "." 239s custom 239s is expected to eq "item" 239s .dup 239s returns a copy that doesn't share registered keys with the parent 239s 239s Top 3 slowest examples (0.02827 seconds, 11.6% of total time): 239s Dry::Container behaves like a container configuration registry custom is expected to have received call({}, :key, :item, {}) 1 time 239s 0.01288 seconds ./spec/support/shared_examples/container.rb:32 239s Dry::Container behaves like a container with default configuration registering a proc with option memoize: true when receiving something other than a proc is expected to raise Dry::Container::Error 239s 0.00957 seconds ./spec/support/shared_examples/container.rb:210 239s Dry::Container::Mixin included behaves like a container with default configuration registering a proc without options without arguments registers and resolves an object 239s 0.00582 seconds ./spec/support/shared_examples/container.rb:156 239s 239s Top 2 slowest example groups: 239s Dry::Container 239s 0.00171 seconds average (0.10426 seconds / 61 examples) ./spec/integration/container_spec.rb:1 239s Dry::Container::Mixin 239s 0.00114 seconds average (0.13751 seconds / 121 examples) ./spec/integration/mixin_spec.rb:1 239s 239s Finished in 0.24451 seconds (files took 0.22055 seconds to load) 239s 182 examples, 0 failures 239s 239s Randomized with seed 9658 239s 239s mv ./.gem2deb.lib lib 239s autopkgtest [07:08:32]: test gem2deb-test-runner: -----------------------] 243s autopkgtest [07:08:36]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 243s gem2deb-test-runner PASS 247s autopkgtest [07:08:40]: @@@@@@@@@@@@@@@@@@@@ summary 247s gem2deb-test-runner PASS