Diff of the two buildlogs: -- --- b1/build.log 2025-01-18 05:59:33.833691941 +0000 +++ b2/build.log 2025-01-18 06:00:38.334756283 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Jan 17 17:56:46 -12 2025 -I: pbuilder-time-stamp: 1737179806 +I: Current time: Sat Feb 21 02:22:38 +14 2026 +I: pbuilder-time-stamp: 1771590158 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking ruby-rspec-its_1.3.0-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/52004/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/116679/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 20 12:22 /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/116679/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/116679/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='4fc4f84b6ad141708a32bb271f2ddc0f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='52004' - PS1='# ' - PS2='> ' + INVOCATION_ID=7e1fb1afc1494b5badeb92c6fe6fa914 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=116679 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.dYcsjYW2/pbuilderrc_8aT7 --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dYcsjYW2/b1 --logfile b1/build.log ruby-rspec-its_1.3.0-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.dYcsjYW2/pbuilderrc_YXaa --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dYcsjYW2/b2 --logfile b2/build.log ruby-rspec-its_1.3.0-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/52004/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/116679/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -251,7 +283,7 @@ Get: 137 http://deb.debian.org/debian unstable/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 138 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 139 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 56.3 MB in 1s (48.2 MB/s) +Fetched 56.3 MB in 1s (55.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19837 files and directories currently installed.) @@ -713,8 +745,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Jan 18 05:58:12 UTC 2025. -Universal Time is now: Sat Jan 18 05:58:12 UTC 2025. +Local time is now: Fri Feb 20 12:23:17 UTC 2026. +Universal Time is now: Fri Feb 20 12:23:17 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -847,7 +879,11 @@ fakeroot is already the newest version (1.36.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-rspec-its-1.3.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-rspec-its_1.3.0-1_source.changes +I: user script /srv/workspace/pbuilder/116679/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/116679/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-rspec-its-1.3.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-rspec-its_1.3.0-1_source.changes dpkg-buildpackage: info: source package ruby-rspec-its dpkg-buildpackage: info: source version 1.3.0-1 dpkg-buildpackage: info: source distribution unstable @@ -899,175 +935,175 @@ RUBYLIB=/build/reproducible-path/ruby-rspec-its-1.3.0/debian/ruby-rspec-its/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-rspec-its-1.3.0/debian/ruby-rspec-its/usr/share/rubygems-integration/all:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /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 -Randomized with seed 55655 +Randomized with seed 10427 RSpec::Its #its + with metadata + preserves access to metadata that ends in hash + [] + is expected to equal 17 + preserves access to metadata that doesn't end in hash + [] + is expected to equal true + when expecting throws + bad + is expected to throw :abort + good + is expected not to throw a Symbol + bad + is expected to throw :abort with "message" + bad + is expected to throw a Symbol when expecting errors bad + is expected to raise ArgumentError with "message" + good + is expected not to raise Exception + bad WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-rspec-its-1.3.0/lib/rspec/its.rb:148:in `will'. is expected to raise Exception bad is expected to raise Exception with "message" bad - is expected to raise ArgumentError with "message" - bad is expected to raise ArgumentError - good - is expected not to raise Exception + with change observation + increment + is expected to change `subject.count` from 0 + increment + is expected to change `subject.count` by at least 1 + increment + is expected to change `subject.count` from 0 to 1 + increment + is expected to change `subject.count` by 1 + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by()` is not supported" + noop + is expected not to change `subject.count` + increment + is expected to change `subject.count` by at most 1 + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_most()` is not supported" + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_least()` is not supported" + noop + is expected not to change `subject.count` from 0 + #will with non block expectations + terminator + is expected to raise ArgumentError with "`will_not` only supports block expectations" + terminator + is expected to raise ArgumentError with "`will` only supports block expectations" + with implicit subject + preserves described_class + [] + is expected to equal RSpec::Its + symbol + is expected to equal RSpec::Its with explicit subject - with false subject - false_if_first_time - is expected to equal false when it responds to #[] + [:b, "c", 4] + is expected to eq "Symbol: b; String: c; Integer: 4" + ["a"] + is expected to eq "String: a" name is expected to eq "George" when it's a hash - [:a, :deep, :key] - is expected to eq "value" when referring to a key that doesn't exist + [:not_here] + is expected to be nil [:a, :ghost] is expected to be nil + [:deep, :ghost] + is expected to raise NoMethodError using will [:deep, :ghost] is expected to raise NoMethodError - [:deep, :ghost] - is expected to raise NoMethodError - [:not_here] - is expected to be nil - [:a, :deep] - is expected to eq {:key=>"value"} [:a] is expected to eq {:deep=>{:key=>"value"}} - [:a] - is expected to eq "Symbol: a" + [:a, :deep] + is expected to eq {:key=>"value"} + [:a, :deep, :key] + is expected to eq "value" when referring to an attribute that doesn't exist it raises an error + age + is expected to raise NoMethodError using will age is expected to raise NoMethodError - age + [:a] + is expected to eq "Symbol: a" + with nil value + nil_value + is expected to be nil + accessing `subject` in `before` and `let` + + is expected to eq "my subject" + + is expected to eq "my subject" + + is expected to eq "my subject" + + is expected to eq "my subject" + when it does not respond to #[] + it raises an error + [:a] + is expected to raise NoMethodError + using will + [:a] is expected to raise NoMethodError - [:b, "c", 4] - is expected to eq "Symbol: b; String: c; Integer: 4" - ["a"] - is expected to eq "String: a" with nested attributes using should_not name is expected not to eq "Paul" - name - is expected to eq "John" name.size.class is expected to eq Integer - using will_not - name - is expected not to raise Exception + name.size + is expected to eq 4 using is_expected name is expected to eq "John" - name.size - is expected to eq 4 using are_expected name.chars.to_a is expected to eq ["J", "o", "h", "n"] - when it does not respond to #[] - it raises an error - [:a] - is expected to raise NoMethodError - using will - [:a] - is expected to raise NoMethodError - accessing `subject` in `before` and `let` - - is expected to eq "my subject" - - is expected to eq "my subject" - - is expected to eq "my subject" - - is expected to eq "my subject" - with nil value - nil_value - is expected to be nil - with a call counter + using will_not + name + is expected not to raise Exception + name + is expected to eq "John" + with nil subject + nil_if_first_time + is expected to equal nil + calling and overriding super + calls to the subject defined in the parent group + with some metadata call_count - is expected to eq 1 + is expected to eq 2 + with false subject + false_if_first_time + is expected to equal false when extending SharedContext works with an implicit subject - calling and overriding super - calls to the subject defined in the parent group in shared_context name is expected to eq "Array" - with some metadata + with a call counter call_count - is expected to eq 2 - with nil subject - nil_if_first_time - is expected to equal nil - when expecting throws - bad - is expected to throw :abort with "message" - bad - is expected to throw a Symbol - bad - is expected to throw :abort - good - is expected not to throw a Symbol + is expected to eq 1 with output capture - noop - is expected not to output "some error" to stderr - noop - is expected not to output "some output" to stdout stderr is expected to output "some error" to stderr stdout is expected to output "some output" to stdout - with metadata - preserves access to metadata that ends in hash - [] - is expected to equal 17 - preserves access to metadata that doesn't end in hash - [] - is expected to equal true - #will with non block expectations - terminator - is expected to raise ArgumentError with "`will_not` only supports block expectations" - terminator - is expected to raise ArgumentError with "`will` only supports block expectations" - with implicit subject - preserves described_class - [] - is expected to equal RSpec::Its - symbol - is expected to equal RSpec::Its - with change observation - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_least()` is not supported" - increment - is expected to change `subject.count` by at most 1 - increment - is expected to change `subject.count` by 1 - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_most()` is not supported" - increment - is expected to change `subject.count` from 0 noop - is expected not to change `subject.count` + is expected not to output "some error" to stderr noop - is expected not to change `subject.count` from 0 - increment - is expected to change `subject.count` by at least 1 - increment - is expected to change `subject.count` from 0 to 1 - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by()` is not supported" + is expected not to output "some output" to stdout -Finished in 0.39368 seconds (files took 0.40044 seconds to load) +Finished in 0.14869 seconds (files took 0.15517 seconds to load) 63 examples, 0 failures -Randomized with seed 55655 +Randomized with seed 10427 /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner @@ -1078,60 +1114,23 @@ RUBYLIB=/build/reproducible-path/ruby-rspec-its-1.3.0/debian/ruby-rspec-its/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-rspec-its-1.3.0/debian/ruby-rspec-its/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/i386-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /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 -Randomized with seed 23826 +Randomized with seed 53006 RSpec::Its #its - with change observation - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by()` is not supported" - increment - is expected to change `subject.count` by 1 - noop - is expected not to change `subject.count` - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_most()` is not supported" - noop - is expected not to change `subject.count` from 0 - increment - is expected to change `subject.count` by at most 1 - increment - is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_least()` is not supported" - increment - is expected to change `subject.count` from 0 to 1 - increment - is expected to change `subject.count` by at least 1 - increment - is expected to change `subject.count` from 0 - with metadata - preserves access to metadata that ends in hash - [] - is expected to equal 17 - preserves access to metadata that doesn't end in hash - [] - is expected to equal true - #will with non block expectations - terminator - is expected to raise ArgumentError with "`will` only supports block expectations" - terminator - is expected to raise ArgumentError with "`will_not` only supports block expectations" when expecting throws - good - is expected not to throw a Symbol bad is expected to throw :abort bad - is expected to throw a Symbol - bad is expected to throw :abort with "message" - with implicit subject - preserves described_class - symbol - is expected to equal RSpec::Its - [] - is expected to equal RSpec::Its + good + is expected not to throw a Symbol + bad + is expected to throw a Symbol when expecting errors bad + is expected to raise ArgumentError + bad is expected to raise Exception with "message" bad WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-rspec-its-1.3.0/lib/rspec/its.rb:148:in `will'. @@ -1140,18 +1139,47 @@ is expected not to raise Exception bad is expected to raise ArgumentError with "message" - bad - is expected to raise ArgumentError - with output capture + with metadata + preserves access to metadata that ends in hash + [] + is expected to equal 17 + preserves access to metadata that doesn't end in hash + [] + is expected to equal true + with implicit subject + preserves described_class + symbol + is expected to equal RSpec::Its + [] + is expected to equal RSpec::Its + with change observation + increment + is expected to change `subject.count` by at most 1 + increment + is expected to change `subject.count` from 0 to 1 + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_most()` is not supported" + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by_at_least()` is not supported" noop - is expected not to output "some output" to stdout - stdout - is expected to output "some output" to stdout + is expected not to change `subject.count` from 0 + increment + is expected to change `subject.count` by at least 1 + increment + is expected to raise NotImplementedError with "`expect { }.not_to change { }.by()` is not supported" + increment + is expected to change `subject.count` from 0 + increment + is expected to change `subject.count` by 1 noop - is expected not to output "some error" to stderr - stderr - is expected to output "some error" to stderr + is expected not to change `subject.count` with explicit subject + with some metadata + call_count + is expected to eq 2 + with nil subject + nil_if_first_time + is expected to equal nil accessing `subject` in `before` and `let` is expected to eq "my subject" @@ -1161,36 +1189,26 @@ is expected to eq "my subject" is expected to eq "my subject" - with nil subject - nil_if_first_time - is expected to equal nil - calling and overriding super - calls to the subject defined in the parent group when it does not respond to #[] it raises an error - [:a] - is expected to raise NoMethodError using will [:a] is expected to raise NoMethodError - when extending SharedContext - works with an implicit subject - with false subject - false_if_first_time - is expected to equal false - with some metadata - call_count - is expected to eq 2 + [:a] + is expected to raise NoMethodError + in shared_context + name + is expected to eq "Array" when it responds to #[] - [:a] - is expected to eq "Symbol: a" + ["a"] + is expected to eq "String: a" [:b, "c", 4] is expected to eq "Symbol: b; String: c; Integer: 4" - name - is expected to eq "George" when it's a hash [:a, :deep] is expected to eq {:key=>"value"} + [:a, :deep, :key] + is expected to eq "value" [:a] is expected to eq {:deep=>{:key=>"value"}} when referring to a key that doesn't exist @@ -1203,50 +1221,68 @@ is expected to raise NoMethodError [:a, :ghost] is expected to be nil - [:a, :deep, :key] - is expected to eq "value" + name + is expected to eq "George" when referring to an attribute that doesn't exist it raises an error + age + is expected to raise NoMethodError using will age is expected to raise NoMethodError - age - is expected to raise NoMethodError - ["a"] - is expected to eq "String: a" + [:a] + is expected to eq "Symbol: a" + calling and overriding super + calls to the subject defined in the parent group + with false subject + false_if_first_time + is expected to equal false + with nil value + nil_value + is expected to be nil with nested attributes - name.size - is expected to eq 4 - using should_not - name - is expected not to eq "Paul" + name.size.class + is expected to eq Integer name is expected to eq "John" - using is_expected - name - is expected to eq "John" - using will_not + using should_not name - is expected not to raise Exception - name.size.class - is expected to eq Integer + is expected not to eq "Paul" using are_expected name.chars.to_a is expected to eq ["J", "o", "h", "n"] - in shared_context - name - is expected to eq "Array" - with nil value - nil_value - is expected to be nil + using will_not + name + is expected not to raise Exception + using is_expected + name + is expected to eq "John" + name.size + is expected to eq 4 + when extending SharedContext + works with an implicit subject with a call counter call_count is expected to eq 1 + #will with non block expectations + terminator + is expected to raise ArgumentError with "`will` only supports block expectations" + terminator + is expected to raise ArgumentError with "`will_not` only supports block expectations" + with output capture + stdout + is expected to output "some output" to stdout + noop + is expected not to output "some output" to stdout + noop + is expected not to output "some error" to stderr + stderr + is expected to output "some error" to stderr -Finished in 0.66261 seconds (files took 0.68945 seconds to load) +Finished in 0.1519 seconds (files took 0.15324 seconds to load) 63 examples, 0 failures -Randomized with seed 23826 +Randomized with seed 53006 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1279,12 +1315,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/116679/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/116679/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/52004 and its subdirectories -I: Current time: Fri Jan 17 17:59:32 -12 2025 -I: pbuilder-time-stamp: 1737179972 +I: removing directory /srv/workspace/pbuilder/116679 and its subdirectories +I: Current time: Sat Feb 21 02:23:36 +14 2026 +I: pbuilder-time-stamp: 1771590216