Diff of the two buildlogs: -- --- b1/build.log 2024-04-30 17:51:26.576637302 +0000 +++ b2/build.log 2024-04-30 17:52:09.242825301 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 30 05:50:25 -12 2024 -I: pbuilder-time-stamp: 1714499425 +I: Current time: Tue Jun 3 14:14:29 +14 2025 +I: pbuilder-time-stamp: 1748909669 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,54 +28,86 @@ dpkg-source: info: applying 0001-Remove-git-from-gemspec.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/53757/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/123752/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-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 Jun 3 00:14 /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/123752/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/123752/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='trixie' - 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]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0c9ff81f81b74d2aa0aaeb3c4c1f0844' - 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='53757' - PS1='# ' - PS2='> ' + INVOCATION_ID=7e9564692c8c4908980664ea9de5cc3d + 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=123752 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.g4W9h981/pbuilderrc_giUB --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.g4W9h981/b1 --logfile b1/build.log ruby-rspec-collection-matchers_1.2.0-2.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.g4W9h981/pbuilderrc_rIw4 --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.g4W9h981/b2 --logfile b2/build.log ruby-rspec-collection-matchers_1.2.0-2.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 ionos12-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:12 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/53757/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 27 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/123752/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -88,7 +120,7 @@ Depends: debhelper-compat (= 12), gem2deb (>= 1), rake, ruby-activemodel, ruby-rspec, ruby-rspec-expectations (>= 3) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. -(Reading database ... 19885 files and directories currently installed.) +(Reading database ... 19709 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: @@ -374,32 +406,31 @@ Get: 137 http://deb.debian.org/debian trixie/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 138 http://deb.debian.org/debian trixie/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 139 http://deb.debian.org/debian trixie/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 51.4 MB in 1s (55.7 MB/s) +Fetched 51.4 MB in 1s (88.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libdb5.3:i386: dependency problems, but removing anyway as you requested: libperl5.38:i386 depends on libdb5.3. libpam-modules:i386 depends on libdb5.3. -(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 ... 19885 files and directories currently installed.) +(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 ... 19709 files and directories currently installed.) Removing libdb5.3:i386 (5.3.28+dfsg2-4+b1) ... Selecting previously unselected package libdb5.3t64: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 ... 19878 files and directories currently installed.) +(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 ... 19702 files and directories currently installed.) Preparing to unpack .../libdb5.3t64_5.3.28+dfsg2-7_i386.deb ... Unpacking libdb5.3t64:i386 (5.3.28+dfsg2-7) ... Setting up libdb5.3t64:i386 (5.3.28+dfsg2-7) ... dpkg: libssl3:i386: dependency problems, but removing anyway as you requested: - libkrb5-3:i386 depends on libssl3 (>= 3.0.0). coreutils depends on libssl3 (>= 3.0.0). -(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 ... 19884 files and directories currently installed.) +(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 ... 19708 files and directories currently installed.) Removing libssl3:i386 (3.1.5-1) ... Selecting previously unselected package libssl3t64: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 ... 19871 files and directories currently installed.) +(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 ... 19695 files and directories currently installed.) Preparing to unpack .../libssl3t64_3.2.1-3_i386.deb ... Unpacking libssl3t64:i386 (3.2.1-3) ... Setting up libssl3t64:i386 (3.2.1-3) ... Selecting previously unselected package libpython3.11-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 ... 19886 files and directories currently installed.) +(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 ... 19710 files and directories currently installed.) Preparing to unpack .../libpython3.11-minimal_3.11.9-1_i386.deb ... Unpacking libpython3.11-minimal:i386 (3.11.9-1) ... Selecting previously unselected package libexpat1:i386. @@ -412,7 +443,7 @@ Setting up libexpat1:i386 (2.6.2-1) ... Setting up python3.11-minimal (3.11.9-1) ... Selecting previously unselected package python3-minimal. -(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 ... 20202 files and directories currently installed.) +(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 ... 20026 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.11.8-1_i386.deb ... Unpacking python3-minimal (3.11.8-1) ... Selecting previously unselected package media-types. @@ -445,7 +476,7 @@ Unpacking libpython3-stdlib:i386 (3.11.8-1) ... Setting up python3-minimal (3.11.8-1) ... Selecting previously unselected package python3. -(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 ... 21194 files and directories currently installed.) +(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 ... 21018 files and directories currently installed.) Preparing to unpack .../000-python3_3.11.8-1_i386.deb ... Unpacking python3 (3.11.8-1) ... Selecting previously unselected package sensible-utils. @@ -852,8 +883,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Apr 30 17:51:05 UTC 2024. -Universal Time is now: Tue Apr 30 17:51:05 UTC 2024. +Local time is now: Tue Jun 3 00:14:55 UTC 2025. +Universal Time is now: Tue Jun 3 00:14:55 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -978,7 +1009,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-rspec-collection-matchers-1.2.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-collection-matchers_1.2.0-2_source.changes +I: user script /srv/workspace/pbuilder/123752/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/123752/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-rspec-collection-matchers-1.2.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-collection-matchers_1.2.0-2_source.changes dpkg-buildpackage: info: source package ruby-rspec-collection-matchers dpkg-buildpackage: info: source version 1.2.0-2 dpkg-buildpackage: info: source distribution unstable @@ -1007,7 +1042,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-rspec-collection-matchers/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240430-61132-xux7km/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250603-5105-qjenhv/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: prerelease dependency on rspec-expectations (>= 2.99.0.beta1) is not recommended WARNING: open-ended dependency on bundler (>= 1.3, development) is not recommended @@ -1021,7 +1056,7 @@ Name: rspec-collection_matchers Version: 1.2.0 File: rspec-collection_matchers-1.2.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all /tmp/d20240430-61132-xux7km/rspec-collection_matchers-1.2.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all /tmp/d20250603-5105-qjenhv/rspec-collection_matchers-1.2.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all/gems/rspec-collection_matchers-1.2.0/lib/rspec/collection_matchers.rb /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all/gems/rspec-collection_matchers-1.2.0/lib/rspec/collection_matchers/have.rb @@ -1062,82 +1097,76 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 37918 +Randomized with seed 644 -Have extensions for rails - have something other than error_on or errors_on - has a standard rspec description - has a standard rspec failure message - errors_on - calls valid? - provides a failure message including the number actually given - returns the errors on that attribute - provides a description including the name of what the error is on - ActiveModel class that takes no arguments to valid? - with nil name - has one error - with non-blank name - has no error - error_on - provides a failure message including the number actually given - provides a description including the name of what the error is on +RSpec::CollectionMatchers::Syntax + expression generation + when only :should is enabled + generates a positive expression using the expect syntax + generates a negative expression using the expect syntax + when both :should and :expect are enabled + generates a positive expression using the expect syntax + generates a negative expression using the expect syntax + when only :expect is enabled + generates a positive expression using the expect syntax + generates a negative expression using the expect syntax have matcher + have(n).things on an object which is not a collection nor contains one + fails + expect(...).to have(n).items + fails if target has a collection of items with > n members + passes if target has a collection of items with n members + converts a String argument to Integer + fails if target has a collection of items with < n members + converts :no to 0 + behaves like an RSpec matcher + matches a valid value when using #== so it can be composed + does not match an invalid value when using #== so it can be composed + have(n).characters where target IS a String + fails if the length is incorrect + passes if the length is correct + RSpec::CollectionMatchers::Have + has method_missing as private + does not respond_to? method_missing (because it's private) + respond_to? + is true for a method that it's superclass (Object) defines + is true for a method which Have defines + is true if the owner responds to the method + is false if the owner doesn't respond to the method + is false for a method which neither Object nor nor Have defines + RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied + works fine + expect(...).to have(1).item when Inflector is defined + pluralizes the collection name expect(...).to have(1).item when ActiveSupport::Inflector is defined pluralizes the collection name when ActiveSupport::Inflector is partially loaded without its inflectors does not pluralize the collection name + expect(...).not_to have(n).items + fails if target has a collection of items with n members + passes if target has a collection of items with < n members + passes if target has a collection of items with > n members expectations compounded with RSpec::Matchers::Composable using #or - passes when only second expectation is met passes when only first expectation is met - fails with relevant error when neither expectation is met - passes when both expectations are met - using #and - fails with relevant error when only first expectation fails passes when both expectations are met - fails with relevant error when both expectations fail - fails with relevant error when only second expectation fails + passes when only second expectation is met + fails with relevant error when neither expectation is met using the have matcher as an argument of another matcher has an alias for the have_at_most matcher (PENDING: Not yet implemented) - has an alias for the have_at_least matcher (PENDING: Not yet implemented) has an alias for the have matcher - RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied - works fine - have(n).characters where target IS a String - fails if the length is incorrect - passes if the length is correct - have(n).items(args, block) - passes args to target - passes block to target - have(n).items where target IS a collection - fails when the number of items IN the collection is not as expected - references the number of items IN the collection - have(n).things on an object which is not a collection nor contains one - fails - expect(...).to have_exactly(n).items - fails if target has a collection of items with > n members - fails if target has a collection of items with < n members - converts :no to 0 + has an alias for the have_at_least matcher (PENDING: Not yet implemented) + using #and + fails with relevant error when only second expectation fails + fails with relevant error when only first expectation fails + fails with relevant error when both expectations fail + passes when both expectations are met + expect(...).to have_at_least(n).items passes if target has a collection of items with n members - expect(...).not_to have(n).items - passes if target has a collection of items with < n members - fails if target has a collection of items with n members + fails if target has a collection of items with < n members + provides educational negative failure messages passes if target has a collection of items with > n members - RSpec::CollectionMatchers::Have - has method_missing as private - does not respond_to? method_missing (because it's private) - respond_to? - is true for a method which Have defines - is false for a method which neither Object nor nor Have defines - is true for a method that it's superclass (Object) defines - is true if the owner responds to the method - is false if the owner doesn't respond to the method - RSpec::CollectionMatchers::Have for a collection owner that implements #send - works when #send is defined directly on an array - works when doing automatic pluralization - blows up when the owner doesn't respond to that method - works in the straightforward case description generation the have_at_least matcher generates its own description @@ -1145,42 +1174,48 @@ generates its own description the have_at_most matcher generates its own description - expect(...).to have(1).item when Inflector is defined - pluralizes the collection name - expect(...).to have(n).items + have(n).items where target IS a collection + fails when the number of items IN the collection is not as expected + references the number of items IN the collection + have(n).items(args, block) + passes args to target + passes block to target + expect(...).to have_exactly(n).items + passes if target has a collection of items with n members fails if target has a collection of items with > n members converts :no to 0 fails if target has a collection of items with < n members - converts a String argument to Integer - passes if target has a collection of items with n members - behaves like an RSpec matcher - matches a valid value when using #== so it can be composed - does not match an invalid value when using #== so it can be composed + RSpec::CollectionMatchers::Have for a collection owner that implements #send + works in the straightforward case + works when #send is defined directly on an array + works when doing automatic pluralization + blows up when the owner doesn't respond to that method expect(...).to have(n).items where result responds to items but returns something other than a collection provides a meaningful error provides a meaningful error - expect(...).to have_at_least(n).items - passes if target has a collection of items with n members - provides educational negative failure messages - fails if target has a collection of items with < n members - passes if target has a collection of items with > n members expect(...).to have_at_most(n).items - fails if target has a collection of items with > n members provides educational negative failure messages - passes if target has a collection of items with < n members passes if target has a collection of items with n members + fails if target has a collection of items with > n members + passes if target has a collection of items with < n members -RSpec::CollectionMatchers::Syntax - expression generation - when only :should is enabled - generates a negative expression using the expect syntax - generates a positive expression using the expect syntax - when both :should and :expect are enabled - generates a negative expression using the expect syntax - generates a positive expression using the expect syntax - when only :expect is enabled - generates a positive expression using the expect syntax - generates a negative expression using the expect syntax +Have extensions for rails + errors_on + provides a failure message including the number actually given + provides a description including the name of what the error is on + returns the errors on that attribute + calls valid? + ActiveModel class that takes no arguments to valid? + with non-blank name + has no error + with nil name + has one error + error_on + provides a description including the name of what the error is on + provides a failure message including the number actually given + have something other than error_on or errors_on + has a standard rspec description + has a standard rspec failure message Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1192,10 +1227,10 @@ # Not yet implemented # ./spec/rspec/collection_matchers/have_spec.rb:444 -Finished in 0.2443 seconds (files took 0.54907 seconds to load) +Finished in 0.13773 seconds (files took 0.3172 seconds to load) 76 examples, 0 failures, 2 pending -Randomized with seed 37918 +Randomized with seed 644 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1227,12 +1262,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/123752/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/123752/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/53757 and its subdirectories -I: Current time: Tue Apr 30 05:51:25 -12 2024 -I: pbuilder-time-stamp: 1714499485 +I: removing directory /srv/workspace/pbuilder/123752 and its subdirectories +I: Current time: Tue Jun 3 14:15:08 +14 2025 +I: pbuilder-time-stamp: 1748909708