Diff of the two buildlogs: -- --- b1/build.log 2025-01-20 15:11:13.348360257 +0000 +++ b2/build.log 2025-01-20 15:12:35.700656259 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 20 03:08:54 -12 2025 -I: pbuilder-time-stamp: 1737385734 +I: Current time: Mon Feb 23 11:34:15 +14 2026 +I: pbuilder-time-stamp: 1771796055 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 001_replace-simplecov-formatter.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1057168/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 22 21:34 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='01d05714cf274fd286268df7b5e592cc' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1057168' - PS1='# ' - PS2='> ' + INVOCATION_ID=3470d1750c8742e0bf271750be0c3fab + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1676467 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lk65bccQ/pbuilderrc_HqWD --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lk65bccQ/b1 --logfile b1/build.log ruby-ref_2.0.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.lk65bccQ/pbuilderrc_O3Eo --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.lk65bccQ/b2 --logfile b2/build.log ruby-ref_2.0.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1057168/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -284,7 +316,7 @@ Get: 169 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 170 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 171 http://deb.debian.org/debian trixie/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 56.1 MB in 1s (80.9 MB/s) +Fetched 56.1 MB in 1s (77.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:arm64. (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 ... 19970 files and directories currently installed.) @@ -851,8 +883,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Jan 20 15:09:46 UTC 2025. -Universal Time is now: Mon Jan 20 15:09:46 UTC 2025. +Local time is now: Sun Feb 22 21:34:41 UTC 2026. +Universal Time is now: Sun Feb 22 21:34:41 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -1005,7 +1037,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-ref-2.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-ref_2.0.0-2_source.changes +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-ref-2.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-ref_2.0.0-2_source.changes dpkg-buildpackage: info: source package ruby-ref dpkg-buildpackage: info: source version 2.0.0-2 dpkg-buildpackage: info: source distribution unstable @@ -1078,198 +1114,198 @@ /usr/bin/ruby3.1 -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 /build/reproducible-path/ruby-ref-2.0.0/spec/spec_helper.rb:4:in `': [DEPRECATION] ::[] is deprecated. Use ::new instead. -Randomized with seed 46265 +Randomized with seed 26287 + +Ref::StrongReference + #object + is expected to equal 3500 + is expected to equal # + #inspect + is expected not to be empty + +Ref::SoftValueMap + behaves like a reference value map + removes entries that have been garbage collected + is expected to be nil + can clear the map + is expected to be nil + size + is expected to eq 1 + can merge in another hash + is expected to eq "value 3" + can interate over all entries + is expected to eq ["value 1", "value 3"] + can turn into a hash + is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + #merge + calls the given block for each key in `other` + returns a deep copy when merging an empty hash + adds members not in the original hash + returns a new object + retains the value for all members without values in the given hash + updates all members with the new values from a given hash + inspect + is expected not to be nil + can get all values + is expected to eq ["value 1", "value 3"] + can turn into an array + is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + keeps entries with strong references + is expected to eq "value 2" + can delete entries + is expected to be nil + +Ref::SoftKeyMap + behaves like a reference key map + can clear the map + is expected to be nil + can interate over all entries + is expected to eq ["value 1", "value 3"] + can turn into a hash + is expected to eq [[#, "value 1"], [#, "value 3"]] + can turn into an array + is expected to eq [[#, "value 1"], [#, "value 3"]] + size + is expected to eq 1 + keeps entries with strong references + is expected to eq "value 2" + removes entries that have been garbage collected + is expected to be nil + #merge + updates all members with the new values from a given hash + returns a new object + retains the value for all members without values in the given hash + calls the given block for each key in `other` + returns a deep copy when merging an empty hash + adds members not in the original hash + can get all keys + is expected to eq [#] + inspect + is expected not to be nil + can merge in another hash + is expected to eq "value 3" + can delete entries + is expected to be nil Ref::SoftReference #inspect when GC is called inspects not be nil #object + when has a lot of objects + get the correct object when has not garbage collected objects gets the object when references are not collected immediately the object can't be nil + +Ref::WeakReference + #object + when has not garbage collected objects + gets the object when has a lot of objects get the correct object + #inspect + when GC is called + inspects not be nil Ref::ReferenceQueue #pop - when the queue is not empty - is expected to equal <#Ref::WeakReference: #> when the queue is empty is expected to be nil + when the queue is not empty + is expected to equal <#Ref::WeakReference: #> + references are added when the object has been collected + is expected to eq 8009600 #push when the queue is empty is expected to be empty is expected to equal 0 when the queue is not empty - is expected not to be empty is expected to equal 2 + is expected not to be empty + references are added immediately if the_object has been collected + is expected to equal <#Ref::Mock::MockWeakReference: #8009700 (not accessible)> #shift when the queue is empty is expected to be nil when the queue is not empty - is expected to equal <#Ref::WeakReference: #> - references are added when the object has been collected - is expected to eq 2005820 - references are added immediately if the_object has been collected - is expected to equal <#Ref::Mock::MockWeakReference: #2005840 (not accessible)> + is expected to equal <#Ref::WeakReference: #> -Ref::SoftValueMap +Ref::WeakValueMap behaves like a reference value map #merge returns a deep copy when merging an empty hash - adds members not in the original hash retains the value for all members without values in the given hash - returns a new object updates all members with the new values from a given hash + returns a new object + adds members not in the original hash calls the given block for each key in `other` - can delete entries - is expected to be nil - can get all values + size + is expected to eq 1 + can interate over all entries is expected to eq ["value 1", "value 3"] - can clear the map - is expected to be nil can turn into a hash is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] - can interate over all entries - is expected to eq ["value 1", "value 3"] - size - is expected to eq 1 + keeps entries with strong references + is expected to eq "value 2" can turn into an array is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] - can merge in another hash - is expected to eq "value 3" inspect is expected not to be nil - keeps entries with strong references - is expected to eq "value 2" + can delete entries + is expected to be nil removes entries that have been garbage collected is expected to be nil + can merge in another hash + is expected to eq "value 3" + can clear the map + is expected to be nil + can get all values + is expected to eq ["value 1", "value 3"] Ref::Mock + gc with argument + is expected to equal # gc with no argument is expected to be nil - gc with argument - is expected to equal # -Ref::SoftKeyMap +Ref::WeakKeyMap behaves like a reference key map - inspect - is expected not to be nil - #merge - retains the value for all members without values in the given hash - calls the given block for each key in `other` - updates all members with the new values from a given hash - adds members not in the original hash - returns a deep copy when merging an empty hash - returns a new object - can get all keys - is expected to eq [#] size is expected to eq 1 + inspect + is expected not to be nil can clear the map is expected to be nil can interate over all entries is expected to eq ["value 1", "value 3"] - can turn into an array - is expected to eq [[#, "value 1"], [#, "value 3"]] - can delete entries - is expected to be nil - keeps entries with strong references - is expected to eq "value 2" + can turn into a hash + is expected to eq [[#, "value 1"], [#, "value 3"]] can merge in another hash is expected to eq "value 3" - can turn into a hash - is expected to eq [[#, "value 1"], [#, "value 3"]] - removes entries that have been garbage collected - is expected to be nil - -Ref::WeakValueMap - behaves like a reference value map - can turn into a hash - is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] - size - is expected to eq 1 + can turn into an array + is expected to eq [[#, "value 1"], [#, "value 3"]] keeps entries with strong references is expected to eq "value 2" - inspect - is expected not to be nil - can merge in another hash - is expected to eq "value 3" - #merge - calls the given block for each key in `other` - updates all members with the new values from a given hash - returns a deep copy when merging an empty hash - retains the value for all members without values in the given hash - adds members not in the original hash - returns a new object can delete entries is expected to be nil - can turn into an array - is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] - removes entries that have been garbage collected - is expected to be nil - can interate over all entries - is expected to eq ["value 1", "value 3"] - can get all values - is expected to eq ["value 1", "value 3"] - can clear the map - is expected to be nil - -Ref::WeakReference - #inspect - when GC is called - inspects not be nil - #object - when has a lot of objects - get the correct object - when has not garbage collected objects - gets the object - -Ref::StrongReference - #object - is expected to equal # - is expected to equal 6010960 - #inspect - is expected not to be empty - -Ref::WeakKeyMap - behaves like a reference key map + can get all keys + is expected to eq [#] removes entries that have been garbage collected is expected to be nil #merge - returns a new object + updates all members with the new values from a given hash adds members not in the original hash + returns a deep copy when merging an empty hash + returns a new object retains the value for all members without values in the given hash - updates all members with the new values from a given hash calls the given block for each key in `other` - returns a deep copy when merging an empty hash - can get all keys - is expected to eq [#] - can interate over all entries - is expected to eq ["value 1", "value 3"] - inspect - is expected not to be nil - can clear the map - is expected to be nil - keeps entries with strong references - is expected to eq "value 2" - can merge in another hash - is expected to eq "value 3" - can delete entries - is expected to be nil - size - is expected to eq 1 - can turn into an array - is expected to eq [[#, "value 1"], [#, "value 3"]] - can turn into a hash - is expected to eq [[#, "value 1"], [#, "value 3"]] -Finished in 22.94 seconds (files took 0.68157 seconds to load) +Finished in 20.78 seconds (files took 0.37512 seconds to load) 90 examples, 0 failures -Randomized with seed 46265 +Randomized with seed 26287 [Coveralls] Outside the CI environment, not sending data. /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner @@ -1282,198 +1318,198 @@ /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 /build/reproducible-path/ruby-ref-2.0.0/spec/spec_helper.rb:4:in `': [DEPRECATION] ::[] is deprecated. Use ::new instead. -Randomized with seed 16327 - -Ref::SoftReference - #inspect - when GC is called - inspects not be nil - #object - when has not garbage collected objects - gets the object - when has a lot of objects - get the correct object - when references are not collected immediately - the object can't be nil - -Ref::Mock - gc with no argument - is expected to be nil - gc with argument - is expected to equal # +Randomized with seed 58994 Ref::SoftValueMap behaves like a reference value map keeps entries with strong references is expected to eq "value 2" - can turn into an array - is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + can interate over all entries + is expected to eq ["value 1", "value 3"] + can get all values + is expected to eq ["value 1", "value 3"] inspect is expected not to be nil + can delete entries + is expected to be nil + can turn into a hash + is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] can clear the map is expected to be nil + can merge in another hash + is expected to eq "value 3" + can turn into an array + is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] #merge - retains the value for all members without values in the given hash - returns a deep copy when merging an empty hash - returns a new object adds members not in the original hash updates all members with the new values from a given hash calls the given block for each key in `other` - can merge in another hash - is expected to eq "value 3" + retains the value for all members without values in the given hash + returns a new object + returns a deep copy when merging an empty hash + size + is expected to eq 1 removes entries that have been garbage collected is expected to be nil + +Ref::WeakReference + #object + when has not garbage collected objects + gets the object + when has a lot of objects + get the correct object + #inspect + when GC is called + inspects not be nil + +Ref::WeakKeyMap + behaves like a reference key map can turn into a hash - is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + is expected to eq [[#, "value 1"], [#, "value 3"]] + can merge in another hash + is expected to eq "value 3" size is expected to eq 1 can delete entries is expected to be nil - can get all values - is expected to eq ["value 1", "value 3"] + removes entries that have been garbage collected + is expected to be nil can interate over all entries is expected to eq ["value 1", "value 3"] - -Ref::SoftKeyMap - behaves like a reference key map - can delete entries + inspect + is expected not to be nil + can clear the map is expected to be nil + can turn into an array + is expected to eq [[#, "value 1"], [#, "value 3"]] #merge returns a deep copy when merging an empty hash returns a new object + updates all members with the new values from a given hash + retains the value for all members without values in the given hash adds members not in the original hash calls the given block for each key in `other` - retains the value for all members without values in the given hash - updates all members with the new values from a given hash - can interate over all entries - is expected to eq ["value 1", "value 3"] - can merge in another hash - is expected to eq "value 3" keeps entries with strong references is expected to eq "value 2" - can turn into an array - is expected to eq [[#, "value 1"], [#, "value 3"]] - size - is expected to eq 1 - removes entries that have been garbage collected - is expected to be nil - can turn into a hash - is expected to eq [[#, "value 1"], [#, "value 3"]] can get all keys - is expected to eq [#] - can clear the map - is expected to be nil - inspect - is expected not to be nil + is expected to eq [#] Ref::ReferenceQueue references are added immediately if the_object has been collected - is expected to equal <#Ref::Mock::MockWeakReference: #2007760 (not accessible)> - references are added when the object has been collected - is expected to eq 2007780 + is expected to equal <#Ref::Mock::MockWeakReference: #2005660 (not accessible)> #pop when the queue is not empty - is expected to equal <#Ref::WeakReference: #> + is expected to equal <#Ref::WeakReference: #> when the queue is empty is expected to be nil + #shift + when the queue is not empty + is expected to equal <#Ref::WeakReference: #> + when the queue is empty + is expected to be nil + references are added when the object has been collected + is expected to eq 2005760 #push when the queue is not empty - is expected to equal 2 is expected not to be empty + is expected to equal 2 when the queue is empty - is expected to be empty is expected to equal 0 - #shift - when the queue is not empty - is expected to equal <#Ref::WeakReference: #> - when the queue is empty - is expected to be nil + is expected to be empty Ref::WeakValueMap behaves like a reference value map - can turn into an array - is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] - can clear the map + can delete entries is expected to be nil + can interate over all entries + is expected to eq ["value 1", "value 3"] + inspect + is expected not to be nil size is expected to eq 1 removes entries that have been garbage collected is expected to be nil - can delete entries - is expected to be nil #merge - returns a deep copy when merging an empty hash - retains the value for all members without values in the given hash calls the given block for each key in `other` updates all members with the new values from a given hash + returns a deep copy when merging an empty hash returns a new object + retains the value for all members without values in the given hash adds members not in the original hash + keeps entries with strong references + is expected to eq "value 2" can merge in another hash is expected to eq "value 3" - inspect - is expected not to be nil can get all values is expected to eq ["value 1", "value 3"] - keeps entries with strong references - is expected to eq "value 2" - can interate over all entries - is expected to eq ["value 1", "value 3"] can turn into a hash is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + can clear the map + is expected to be nil + can turn into an array + is expected to eq [["key 1", "value 1"], ["key 3", "value 3"]] + +Ref::SoftReference + #object + when references are not collected immediately + the object can't be nil + when has a lot of objects + get the correct object + when has not garbage collected objects + gets the object + #inspect + when GC is called + inspects not be nil Ref::StrongReference #inspect is expected not to be empty #object - is expected to equal 2009080 - is expected to equal # + is expected to equal 4009080 + is expected to equal # -Ref::WeakKeyMap +Ref::SoftKeyMap behaves like a reference key map - can interate over all entries - is expected to eq ["value 1", "value 3"] + removes entries that have been garbage collected + is expected to be nil + can turn into an array + is expected to eq [[#, "value 1"], [#, "value 3"]] + size + is expected to eq 1 + keeps entries with strong references + is expected to eq "value 2" + can get all keys + is expected to eq [#] inspect is expected not to be nil - can delete entries + can turn into a hash + is expected to eq [[#, "value 1"], [#, "value 3"]] + can clear the map is expected to be nil #merge + adds members not in the original hash calls the given block for each key in `other` returns a new object - adds members not in the original hash - retains the value for all members without values in the given hash - updates all members with the new values from a given hash returns a deep copy when merging an empty hash - keeps entries with strong references - is expected to eq "value 2" - can turn into an array - is expected to eq [[#, "value 1"], [#, "value 3"]] - can turn into a hash - is expected to eq [[#, "value 1"], [#, "value 3"]] - size - is expected to eq 1 - removes entries that have been garbage collected + updates all members with the new values from a given hash + retains the value for all members without values in the given hash + can interate over all entries + is expected to eq ["value 1", "value 3"] + can delete entries is expected to be nil can merge in another hash is expected to eq "value 3" - can get all keys - is expected to eq [#] - can clear the map - is expected to be nil -Ref::WeakReference - #object - when has a lot of objects - get the correct object - when has not garbage collected objects - gets the object - #inspect - when GC is called - inspects not be nil +Ref::Mock + gc with argument + is expected to equal # + gc with no argument + is expected to be nil -Finished in 13.89 seconds (files took 0.74358 seconds to load) +Finished in 10.34 seconds (files took 0.38042 seconds to load) 90 examples, 0 failures -Randomized with seed 16327 +Randomized with seed 58994 [Coveralls] Outside the CI environment, not sending data. @@ -1505,12 +1541,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1676467/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1057168 and its subdirectories -I: Current time: Mon Jan 20 03:11:12 -12 2025 -I: pbuilder-time-stamp: 1737385872 +I: removing directory /srv/workspace/pbuilder/1676467 and its subdirectories +I: Current time: Mon Feb 23 11:35:33 +14 2026 +I: pbuilder-time-stamp: 1771796133