0s autopkgtest [09:31:32]: starting date and time: 2026-02-03 09:31:32+0000 0s autopkgtest [09:31:32]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [09:31:32]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._0amxg4z/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:ruby3.3 --apt-upgrade ruby-recursive-open-struct --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruby3.3/3.3.8-2ubuntu3 -- lxd -r lxd-armhf-10.145.243.171 lxd-armhf-10.145.243.171:autopkgtest/ubuntu/resolute/armhf 22s autopkgtest [09:31:54]: testbed dpkg architecture: armhf 24s autopkgtest [09:31:56]: testbed apt version: 3.1.14 30s autopkgtest [09:32:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 33s autopkgtest [09:32:05]: testbed release detected to be: None 44s autopkgtest [09:32:16]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 50s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 50s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 50s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 51s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.8 kB] 51s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [269 kB] 51s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1270 kB] 51s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B] 51s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [299 kB] 51s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [1002 kB] 52s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [6868 B] 52s Get:12 http://ftpmaster.internal/ubuntu resolute/main Sources [1404 kB] 52s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 52s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 54s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1373 kB] 54s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.0 MB] 59s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [176 kB] 61s Fetched 43.0 MB in 14s (2972 kB/s) 62s Reading package lists... 68s autopkgtest [09:32:40]: upgrading testbed (apt dist-upgrade and autopurge) 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s Calculating upgrade... 72s The following packages will be upgraded: 72s systemd-hwe-hwdb 73s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Need to get 3152 B of archives. 73s After this operation, 1024 B of additional disk space will be used. 73s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf systemd-hwe-hwdb all 259.0.1 [3152 B] 74s Fetched 3152 B in 1s (2674 B/s) 74s (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 ... 68394 files and directories currently installed.) 74s Preparing to unpack .../systemd-hwe-hwdb_259.0.1_all.deb ... 74s Unpacking systemd-hwe-hwdb (259.0.1) over (257.7.1) ... 74s Setting up systemd-hwe-hwdb (259.0.1) ... 75s Processing triggers for udev (259-1ubuntu3) ... 77s Reading package lists... 77s Building dependency tree... 77s Reading state information... 78s Solving dependencies... 78s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 83s autopkgtest [09:32:55]: rebooting testbed after setup commands that affected boot 130s autopkgtest [09:33:42]: 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 160s autopkgtest [09:34:12]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-recursive-open-struct 174s Get:1 http://ftpmaster.internal/ubuntu resolute/universe ruby-recursive-open-struct 2.0.0-1 (dsc) [2189 B] 174s Get:2 http://ftpmaster.internal/ubuntu resolute/universe ruby-recursive-open-struct 2.0.0-1 (tar) [18.9 kB] 174s Get:3 http://ftpmaster.internal/ubuntu resolute/universe ruby-recursive-open-struct 2.0.0-1 (diff) [2884 B] 175s gpgv: Signature made Sat Oct 25 15:52:38 2025 UTC 175s gpgv: using RSA key 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4 175s gpgv: Can't check signature: No public key 175s dpkg-source: warning: cannot verify inline signature for ./ruby-recursive-open-struct_2.0.0-1.dsc: no acceptable signature found 175s autopkgtest [09:34:27]: testing package ruby-recursive-open-struct version 2.0.0-1 179s autopkgtest [09:34:31]: build not needed 182s autopkgtest [09:34:33]: test gem2deb-test-runner: preparing testbed 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s Solving dependencies... 184s The following NEW packages will be installed: 184s gem2deb-test-runner libruby libruby3.3 pry rake ruby ruby-coderay ruby-csv 184s ruby-did-you-mean ruby-diff-lcs ruby-method-source ruby-minitest 184s ruby-net-telnet ruby-power-assert ruby-recursive-open-struct ruby-rspec 184s ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks ruby-rspec-support 184s ruby-ruby2-keywords ruby-rubygems ruby-test-unit ruby-webrick ruby-xmlrpc 184s ruby3.3 rubygems-integration 185s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 185s Need to get 6951 kB of archives. 185s After this operation, 38.5 MB of additional disk space will be used. 185s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf rubygems-integration all 1.19build1 [5666 B] 185s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-csv all 3.3.4-1 [43.0 kB] 185s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-did-you-mean all 1.6.3-2build1 [14.9 kB] 185s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-net-telnet all 0.2.0-1build1 [13.5 kB] 185s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-ruby2-keywords all 0.0.5-1build1 [4398 B] 185s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-webrick all 1.9.1-1 [60.8 kB] 185s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-xmlrpc all 0.3.3-2build1 [24.9 kB] 185s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libruby3.3 armhf 3.3.8-2ubuntu3 [5593 kB] 187s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf ruby3.3 armhf 3.3.8-2ubuntu3 [49.0 kB] 187s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libruby armhf 1:3.3 [5162 B] 187s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf ruby-rubygems all 3.6.7-2ubuntu1 [332 kB] 187s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf ruby armhf 1:3.3 [3670 B] 187s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf rake all 13.2.1-1build1 [45.9 kB] 187s Get:14 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-minitest all 5.26.1-1 [49.3 kB] 187s Get:15 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-power-assert all 2.0.5-1 [12.0 kB] 187s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-test-unit all 3.6.2-1 [67.0 kB] 187s Get:17 http://ftpmaster.internal/ubuntu resolute/universe armhf gem2deb-test-runner armhf 2.2.5 [18.3 kB] 187s Get:18 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-coderay all 1.1.3-8build1 [78.4 kB] 187s Get:19 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-method-source all 1.1.0-1 [8502 B] 187s Get:20 http://ftpmaster.internal/ubuntu resolute/universe armhf pry all 0.15.2-1 [122 kB] 188s Get:21 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-diff-lcs all 1.5.1-1 [22.8 kB] 188s Get:22 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-recursive-open-struct all 2.0.0-1 [8386 B] 188s Get:23 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-support all 3.13.0c0e0m0s1-2 [29.2 kB] 188s Get:24 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-core all 3.13.0c0e0m0s1-2 [164 kB] 188s Get:25 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [89.8 kB] 188s Get:26 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.0 kB] 188s Get:27 http://ftpmaster.internal/ubuntu resolute/universe armhf ruby-rspec all 3.13.0c0e0m0s1-2 [3500 B] 188s Fetched 6951 kB in 3s (2274 kB/s) 188s Selecting previously unselected package rubygems-integration. 188s (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 ... 68395 files and directories currently installed.) 188s Preparing to unpack .../00-rubygems-integration_1.19build1_all.deb ... 188s Unpacking rubygems-integration (1.19build1) ... 188s Selecting previously unselected package ruby-csv. 188s Preparing to unpack .../01-ruby-csv_3.3.4-1_all.deb ... 188s Unpacking ruby-csv (3.3.4-1) ... 188s Selecting previously unselected package ruby-did-you-mean. 188s Preparing to unpack .../02-ruby-did-you-mean_1.6.3-2build1_all.deb ... 188s Unpacking ruby-did-you-mean (1.6.3-2build1) ... 188s Selecting previously unselected package ruby-net-telnet. 188s Preparing to unpack .../03-ruby-net-telnet_0.2.0-1build1_all.deb ... 188s Unpacking ruby-net-telnet (0.2.0-1build1) ... 188s Selecting previously unselected package ruby-ruby2-keywords. 188s Preparing to unpack .../04-ruby-ruby2-keywords_0.0.5-1build1_all.deb ... 188s Unpacking ruby-ruby2-keywords (0.0.5-1build1) ... 188s Selecting previously unselected package ruby-webrick. 188s Preparing to unpack .../05-ruby-webrick_1.9.1-1_all.deb ... 188s Unpacking ruby-webrick (1.9.1-1) ... 188s Selecting previously unselected package ruby-xmlrpc. 188s Preparing to unpack .../06-ruby-xmlrpc_0.3.3-2build1_all.deb ... 188s Unpacking ruby-xmlrpc (0.3.3-2build1) ... 188s Selecting previously unselected package libruby3.3:armhf. 188s Preparing to unpack .../07-libruby3.3_3.3.8-2ubuntu3_armhf.deb ... 188s Unpacking libruby3.3:armhf (3.3.8-2ubuntu3) ... 189s Selecting previously unselected package ruby3.3. 189s Preparing to unpack .../08-ruby3.3_3.3.8-2ubuntu3_armhf.deb ... 189s Unpacking ruby3.3 (3.3.8-2ubuntu3) ... 189s Selecting previously unselected package libruby:armhf. 189s Preparing to unpack .../09-libruby_1%3a3.3_armhf.deb ... 189s Unpacking libruby:armhf (1:3.3) ... 189s Selecting previously unselected package ruby-rubygems. 189s Preparing to unpack .../10-ruby-rubygems_3.6.7-2ubuntu1_all.deb ... 189s Unpacking ruby-rubygems (3.6.7-2ubuntu1) ... 189s Selecting previously unselected package ruby. 189s Preparing to unpack .../11-ruby_1%3a3.3_armhf.deb ... 189s Unpacking ruby (1:3.3) ... 189s Selecting previously unselected package rake. 189s Preparing to unpack .../12-rake_13.2.1-1build1_all.deb ... 189s Unpacking rake (13.2.1-1build1) ... 189s Selecting previously unselected package ruby-minitest. 189s Preparing to unpack .../13-ruby-minitest_5.26.1-1_all.deb ... 189s Unpacking ruby-minitest (5.26.1-1) ... 189s Selecting previously unselected package ruby-power-assert. 189s Preparing to unpack .../14-ruby-power-assert_2.0.5-1_all.deb ... 189s Unpacking ruby-power-assert (2.0.5-1) ... 189s Selecting previously unselected package ruby-test-unit. 189s Preparing to unpack .../15-ruby-test-unit_3.6.2-1_all.deb ... 189s Unpacking ruby-test-unit (3.6.2-1) ... 189s Selecting previously unselected package gem2deb-test-runner. 189s Preparing to unpack .../16-gem2deb-test-runner_2.2.5_armhf.deb ... 189s Unpacking gem2deb-test-runner (2.2.5) ... 189s Selecting previously unselected package ruby-coderay. 189s Preparing to unpack .../17-ruby-coderay_1.1.3-8build1_all.deb ... 189s Unpacking ruby-coderay (1.1.3-8build1) ... 189s Selecting previously unselected package ruby-method-source. 189s Preparing to unpack .../18-ruby-method-source_1.1.0-1_all.deb ... 189s Unpacking ruby-method-source (1.1.0-1) ... 189s Selecting previously unselected package pry. 189s Preparing to unpack .../19-pry_0.15.2-1_all.deb ... 189s Unpacking pry (0.15.2-1) ... 189s Selecting previously unselected package ruby-diff-lcs. 189s Preparing to unpack .../20-ruby-diff-lcs_1.5.1-1_all.deb ... 189s Unpacking ruby-diff-lcs (1.5.1-1) ... 189s Selecting previously unselected package ruby-recursive-open-struct. 189s Preparing to unpack .../21-ruby-recursive-open-struct_2.0.0-1_all.deb ... 189s Unpacking ruby-recursive-open-struct (2.0.0-1) ... 189s Selecting previously unselected package ruby-rspec-support. 189s Preparing to unpack .../22-ruby-rspec-support_3.13.0c0e0m0s1-2_all.deb ... 189s Unpacking ruby-rspec-support (3.13.0c0e0m0s1-2) ... 189s Selecting previously unselected package ruby-rspec-core. 189s Preparing to unpack .../23-ruby-rspec-core_3.13.0c0e0m0s1-2_all.deb ... 189s Unpacking ruby-rspec-core (3.13.0c0e0m0s1-2) ... 189s Selecting previously unselected package ruby-rspec-expectations. 189s Preparing to unpack .../24-ruby-rspec-expectations_3.13.0c0e0m0s1-2_all.deb ... 189s Unpacking ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 189s Selecting previously unselected package ruby-rspec-mocks. 189s Preparing to unpack .../25-ruby-rspec-mocks_3.13.0c0e0m0s1-2_all.deb ... 189s Unpacking ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 189s Selecting previously unselected package ruby-rspec. 189s Preparing to unpack .../26-ruby-rspec_3.13.0c0e0m0s1-2_all.deb ... 189s Unpacking ruby-rspec (3.13.0c0e0m0s1-2) ... 189s Setting up ruby-ruby2-keywords (0.0.5-1build1) ... 189s Setting up ruby-power-assert (2.0.5-1) ... 189s Setting up rubygems-integration (1.19build1) ... 189s Setting up ruby-minitest (5.26.1-1) ... 189s Setting up ruby-method-source (1.1.0-1) ... 189s Setting up ruby-test-unit (3.6.2-1) ... 189s Setting up ruby-net-telnet (0.2.0-1build1) ... 189s Setting up ruby-csv (3.3.4-1) ... 189s Setting up ruby-rspec-support (3.13.0c0e0m0s1-2) ... 189s Setting up ruby-webrick (1.9.1-1) ... 189s Setting up ruby-did-you-mean (1.6.3-2build1) ... 189s Setting up ruby-xmlrpc (0.3.3-2build1) ... 189s Setting up rake (13.2.1-1build1) ... 189s Setting up libruby3.3:armhf (3.3.8-2ubuntu3) ... 189s Setting up ruby-recursive-open-struct (2.0.0-1) ... 189s Setting up ruby3.3 (3.3.8-2ubuntu3) ... 189s Setting up libruby:armhf (1:3.3) ... 189s Setting up ruby (1:3.3) ... 189s Setting up ruby-coderay (1.1.3-8build1) ... 189s Setting up ruby-rspec-core (3.13.0c0e0m0s1-2) ... 189s Setting up pry (0.15.2-1) ... 189s Setting up ruby-diff-lcs (1.5.1-1) ... 189s Setting up ruby-rubygems (3.6.7-2ubuntu1) ... 189s Setting up gem2deb-test-runner (2.2.5) ... 189s Setting up ruby-rspec-expectations (3.13.0c0e0m0s1-2) ... 189s Setting up ruby-rspec-mocks (3.13.0c0e0m0s1-2) ... 189s Setting up ruby-rspec (3.13.0c0e0m0s1-2) ... 189s Processing triggers for libc-bin (2.42-2ubuntu4) ... 190s Processing triggers for man-db (2.13.1-1) ... 202s autopkgtest [09:34:54]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 202s autopkgtest [09:34:54]: test gem2deb-test-runner: [----------------------- 204s 204s ┌──────────────────────────────────────────────────────────────────────────────┐ 204s │ Checking Rubygems dependency resolution on ruby3.3 │ 204s └──────────────────────────────────────────────────────────────────────────────┘ 204s 204s RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"recursive-open-struct\" 204s mv lib ./.gem2deb.lib 204s mv ./.gem2deb.lib lib 204s 204s ┌──────────────────────────────────────────────────────────────────────────────┐ 204s │ Run tests for ruby3.3 from debian/ruby-tests.rake │ 204s └──────────────────────────────────────────────────────────────────────────────┘ 204s 204s RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 204s mv lib ./.gem2deb.lib 204s /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 205s Run options: include {:focus=>true} 205s 205s All examples were filtered out; ignoring {:focus=>true} 205s 205s RecursiveOpenStruct 205s #debug_inspect 205s should have a simple way of display 205s 205s RecursiveOpenStruct 205s indifferent access 205s setting value with method 205s allows getting with method 205s allows getting with symbol 205s allows getting with string 205s setting value with symbol 205s allows getting with method 205s allows getting with symbol 205s allows getting with string 205s setting value with string 205s allows getting with method 205s allows getting with symbol 205s allows getting with string 205s overwriting values 205s set with method 205s overrides with symbol 205s overrides with string 205s set with symbol 205s overrides with method 205s overrides with string 205s set with string 205s overrides with method 205s overrides with symbol 205s set with hash 205s overrides with method 205s overrides with symbol 205s overrides with string 205s when preserve_original_keys is not enabled 205s transforms original keys to symbols 205s after initialization 205s in recursive hashes 205s after resetting value 205s when preserve_original_keys is enabled 205s preserves the original keys 205s after initialization 205s in recursive hashes 205s after resetting value 205s when undefined method 205s when raise_on_missing is enabled 205s raises NoMethodError 205s when raise_on_missing is disabled 205s preserves the original keys 205s returns nil 205s 205s RecursiveOpenStruct 205s behavior it inherits from OpenStruct 205s when not initialized from anything 205s can represent arbitrary data objects 205s returns nil for missing attributes 205s when initialized with nil 205s returns nil for missing attributes 205s when initialized with an empty hash 205s returns nil for missing attributes 205s when initialized from a hash 205s can modify an existing key 205s that contains symbol keys 205s turns those symbol keys into method names 205s that contains string keys 205s turns those string keys into method names 205s that contains keys that mirror existing private methods 205s handles subscript notation without calling the method name first (#42) 205s that contains keys that mirror existing public methods inherited from Object 205s handles subscript notation without calling the existing methods 205s handling of arbitrary attributes 205s #respond? 205s is expected to respond to #blah 205s is expected to respond to #blah= 205s is expected not to respond to #asdf 205s is expected not to respond to #asdf= 205s #methods 205s is expected to include :blah 205s is expected to include :blah= 205s is expected not to include :asdf 205s is expected not to include :asdf= 205s handling of freezing 205s can read existing keys 205s cannot write new keys 205s cannot write existing keys 205s with recursive structure 205s can read existing sub-elements 205s can write new sub-elements 205s can write existing sub-elements 205s 205s RecursiveOpenStruct 205s OpenStruct 2.0+ methods 205s Hash style setter 205s method exists 205s changes the value 205s delete_field 205s removes the value 205s removes the getter method 205s removes the setter method 205s works with indifferent access 205s eql? 205s with identical ROS 205s is expected to be eql # 205s with similar ROS 205s is expected to be eql # 205s with same Hash 205s is expected to be eql # 205s with duplicated ROS 205s fails on different value 205s fails on missing field 205s fails on added field 205s hash 205s calculates table hash 205s each_pair 205s iterates over hash keys, with keys as symbol 205s 205s RecursiveOpenStruct 205s OpenStruct 2.3.0+ methods 205s #dig 205s recurse_over_arrays: false 205s OpenStruct-like behavior 205s is expected to eq 2 205s is expected to eq "doo" 205s is expected to eq "one" 205s recursive behavior 205s is expected to eq #"one"}]> 205s is expected to eq {:inner=>"one"} 205s recurse_over_arrays: true 205s OpenStruct-like behavior 205s is expected to eq 2 205s is expected to eq "doo" 205s is expected to eq "one" 205s recursive behavior 205s is expected to eq #"one"}]> 205s is expected to eq # 205s 205s RecursiveOpenStruct 205s subclassing RecursiveOpenStruct 205s nested objects use the subclass of the parent 205s 205s RecursiveOpenStruct 205s recursive behavior 205s can convert the entire hash tree back into a hash 205s returns accessed hashes as RecursiveOpenStructs instead of hashes 205s handles subscript notation the same way as dotted notation 205s uses #key_as_a_hash to return key as a Hash 205s handles sub-element replacement with dotted notation before member setup 205s handles being dump then loaded by Marshal 205s can modify a key of a sub-element 205s handling loops in the original Hashes 205s is expected to eq "a" 205s is expected to eq "b" 205s is expected to eq "a" 205s is expected to eq "b" 205s is expected to eq #"b", :h1=>{:a=>"a", :h2=>{...}}}> 205s is expected not to eq #"a", :h2=>{:a=>"b", :h1=>{...}}}> 205s subscript mutation notation 205s handles the basic case 205s recurses properly 205s can replace the entire hash 205s updates sub-element cache 205s after a sub-element has been modified 205s does not mutate the original hash tree passed to the constructor 205s limits the deep-copy to the initial hash tree 205s .to_h 205s returns a hash tree that contains those modifications 205s modifying the returned hash tree does not modify the ROS 205s #dup 205s preserves sub-element modifications 205s allows the copy's sub-elements to be modified independently from the original's 205s when memoizing and then modifying entire recursive structures 205s when modifying an entire Hash 205s returns the modified value instead of the memoized one 205s the old value no longer exists 205s when modifying an entire Array 205s returns the modified value instead of the memoized one 205s recursing over arrays 205s when dump and loaded by Marshal 205s is expected to eq 3 205s is expected to eq "1" 205s is expected to eq "2" 205s is expected to eq [{:foo=>"1"}, {:foo=>"2"}, "baz"] 205s is expected to eq "baz" 205s when recursing over arrays is enabled 205s is expected to eq 3 205s is expected to eq "1" 205s is expected to eq "2" 205s is expected to eq [{:foo=>"1"}, {:foo=>"2"}, "baz"] 205s is expected to eq "baz" 205s when an inner value changes 205s Retains changes across Array lookups 205s propagates the changes through to .to_h across Array lookups 205s deep-copies hashes within Arrays 205s does not mutate the input hash passed to the constructor 205s the deep copy recurses over Arrays as well 205s #dup 205s preserves sub-element modifications 205s allows the copy's sub-elements to be modified independently from the original's 205s when array is nested deeper 205s is expected to eq 3 205s Retains changes across Array lookups 205s when array is in an array 205s is expected to eq 1 205s is expected to eq 3 205s Retains changes across Array lookups 205s when recursing over arrays is disabled 205s is expected to eq 3 205s is expected to eq {:foo=>"1"} 205s is expected to eq "1" 205s modifying an array and recursing over it 205s when adding an array with hashes into the tree 205s ROS's it 205s when appending a hash to an array 205s ROS's it 205s the changes show up in .to_h 205s after appending a hash to an array 205s can have new values be set 205s nested nil values 205s returns nil 205s returns a hash with the key and a nil value 205s 205s Finished in 0.0562 seconds (files took 0.29218 seconds to load) 205s 132 examples, 0 failures 205s 205s mv ./.gem2deb.lib lib 205s autopkgtest [09:34:57]: test gem2deb-test-runner: -----------------------] 212s autopkgtest [09:35:04]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 212s gem2deb-test-runner PASS 216s autopkgtest [09:35:08]: @@@@@@@@@@@@@@@@@@@@ summary 216s gem2deb-test-runner PASS