Diff of the two buildlogs: -- --- b1/build.log 2023-05-15 16:36:30.515892910 +0000 +++ b2/build.log 2023-05-15 16:38:51.665714819 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 15 04:33:12 -12 2023 -I: pbuilder-time-stamp: 1684168392 +I: Current time: Mon Jun 17 12:59:33 +14 2024 +I: pbuilder-time-stamp: 1718578773 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-rspec_3.12.0c0e1m1s0.orig.tar.gz] I: copying [./ruby-rspec_3.12.0c0e1m1s0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Dec 27 06:29:19 2022 -12 +gpgv: Signature made Wed Dec 28 08:29:19 2022 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-rspec_3.12.0c0e1m1s0-1.dsc: no acceptable signature found @@ -28,52 +28,84 @@ dpkg-source: info: applying 0001-gemspecs-Drop-git-usage.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16698/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16926/tmp/hooks/D01_modify_environment starting +debug: Running on codethink11-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 Jun 17 12:59 /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/16926/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16926/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='16698' - PS1='# ' - PS2='> ' + 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=16926 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.jn54MRFh/pbuilderrc_j0gc --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jn54MRFh/b1 --logfile b1/build.log ruby-rspec_3.12.0c0e1m1s0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.jn54MRFh/pbuilderrc_BSk4 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.jn54MRFh/b2 --logfile b2/build.log --extrapackages usrmerge ruby-rspec_3.12.0c0e1m1s0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink10-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 22:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/16698/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 15 06:48 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/16926/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -300,7 +332,7 @@ Get: 161 http://deb.debian.org/debian bookworm/main arm64 ruby-nokogiri arm64 1.13.10+dfsg-2+b1 [247 kB] Get: 162 http://deb.debian.org/debian bookworm/main arm64 ruby-rr all 3.1.0-1 [40.2 kB] Get: 163 http://deb.debian.org/debian bookworm/main arm64 ruby-thread-order all 1.1.0-1.1 [5336 B] -Fetched 57.2 MB in 3s (19.8 MB/s) +Fetched 57.2 MB in 2s (37.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-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 ... 19616 files and directories currently installed.) @@ -975,8 +1007,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-rspec-3.12.0c0e1m1s0/ && 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_3.12.0c0e1m1s0-1_source.changes +I: user script /srv/workspace/pbuilder/16926/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/16926/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/ruby-rspec-3.12.0c0e1m1s0/ && 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_3.12.0c0e1m1s0-1_source.changes dpkg-buildpackage: info: source package ruby-rspec dpkg-buildpackage: info: source version 3.12.0c0e1m1s0-1 dpkg-buildpackage: info: source distribution unstable @@ -986,7 +1027,7 @@ debian/rules clean dh clean --buildsystem=ruby --with ruby debian/rules override_dh_auto_clean -make[1]: Entering directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt binnengegaan rm -rf rspec-core/tmp/ rm -rf rspec-expectations/coverage/ rm -rf rspec-mocks/coverage/ @@ -997,7 +1038,7 @@ dh_auto_clean dh_ruby --clean W: XS-Ruby-Versions is deprecated, and will be ignored -make[1]: Leaving directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt verlaten dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary @@ -1015,13 +1056,13 @@ dh_prep -O--buildsystem=ruby dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/ruby-rspec-3.12.0c0e1m1s0/debian/tmp -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230515-22212-1t48q7/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240617-25282-bmyzsw/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: rspec Version: 3.12.0 File: rspec-3.12.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/usr/share/rubygems-integration/all /tmp/d20230515-22212-1t48q7/rspec-3.12.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/usr/share/rubygems-integration/all /tmp/d20240617-25282-bmyzsw/rspec-3.12.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec/usr/share/rubygems-integration/all/gems/rspec-3.12.0/lib/rspec.rb /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec/usr/share/rubygems-integration/all/gems/rspec-3.12.0/lib/rspec/version.rb @@ -1040,7 +1081,7 @@ find lib/ -type d -empty -delete cd - cd - -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230515-22212-ctx55u/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240617-25282-coprte/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on cucumber (>= 1.3, development) is not recommended if cucumber is semantically versioned, use: @@ -1050,7 +1091,7 @@ Name: rspec-core Version: 3.12.0 File: rspec-core-3.12.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-core/usr/share/rubygems-integration/all /tmp/d20230515-22212-ctx55u/rspec-core-3.12.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-core/usr/share/rubygems-integration/all /tmp/d20240617-25282-coprte/rspec-core-3.12.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-core/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-core/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib/rspec/autorun.rb @@ -1147,7 +1188,7 @@ cd - cd - Rewriting shebang line of /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-core/usr/bin/rspec -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230515-22212-gv8s7x/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240617-25282-o7wuyh/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on cucumber (>= 1.3, development) is not recommended if cucumber is semantically versioned, use: @@ -1160,7 +1201,7 @@ Name: rspec-expectations Version: 3.12.1 File: rspec-expectations-3.12.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-expectations/usr/share/rubygems-integration/all /tmp/d20230515-22212-gv8s7x/rspec-expectations-3.12.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-expectations/usr/share/rubygems-integration/all /tmp/d20240617-25282-o7wuyh/rspec-expectations-3.12.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations.rb /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all/gems/rspec-expectations-3.12.1/lib/rspec/expectations/block_snippet_extractor.rb @@ -1226,7 +1267,7 @@ find lib/ -type d -empty -delete cd - cd - -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230515-22212-8nlpqt/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240617-25282-c8ch3u/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (> 10.0.0, development) is not recommended if rake is semantically versioned, use: @@ -1239,7 +1280,7 @@ Name: rspec-mocks Version: 3.12.1 File: rspec-mocks-3.12.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-mocks/usr/share/rubygems-integration/all /tmp/d20230515-22212-8nlpqt/rspec-mocks-3.12.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-mocks/usr/share/rubygems-integration/all /tmp/d20240617-25282-c8ch3u/rspec-mocks-3.12.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks.rb /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all/gems/rspec-mocks-3.12.1/lib/rspec/mocks/any_instance.rb @@ -1297,7 +1338,7 @@ find lib/ -type d -empty -delete cd - cd - -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230515-22212-463htb/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240617-25282-u4om8w/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (> 10.0.0, development) is not recommended if rake is semantically versioned, use: @@ -1307,7 +1348,7 @@ Name: rspec-support Version: 3.12.0 File: rspec-support-3.12.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-support/usr/share/rubygems-integration/all /tmp/d20230515-22212-463htb/rspec-support-3.12.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-support/usr/share/rubygems-integration/all /tmp/d20240617-25282-u4om8w/rspec-support-3.12.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-support/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support.rb /build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-support/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib/rspec/support/caller_filter.rb @@ -1374,7 +1415,7 @@ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec/usr/share/rubygems-integration/all:/build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/build/ruby-rspec-3.12.0c0e1m1s0/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/build/ruby-rspec-3.12.0c0e1m1s0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 debian/ruby-tests.rb -PATH=/build/ruby-rspec-3.12.0c0e1m1s0/rspec-core/exe:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games +PATH=/build/ruby-rspec-3.12.0c0e1m1s0/rspec-core/exe:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path RUBYLIB=.:/build/ruby-rspec-3.12.0c0e1m1s0/rspec-core/lib:/build/ruby-rspec-3.12.0c0e1m1s0/rspec-expectations/lib:/build/ruby-rspec-3.12.0c0e1m1s0/rspec-mocks/lib:/build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib ∙∙∙∙∙∙∙∙∙∙∙∙∙∙ @@ -1385,12 +1426,20 @@ /usr/bin/ruby3.1 -S rspec spec/integration/bisect_runners_spec.rb spec/integration/bisect_spec.rb spec/integration/fail_if_no_examples_spec.rb spec/integration/failed_line_detection_spec.rb spec/integration/filtering_spec.rb spec/integration/order_spec.rb spec/integration/output_stream_spec.rb spec/integration/persistence_failures_spec.rb spec/integration/spec_file_load_errors_spec.rb spec/integration/suite_hooks_errors_spec.rb spec/rspec/core/aggregate_failures_spec.rb spec/rspec/core/backtrace_formatter_spec.rb spec/rspec/core/bisect/coordinator_spec.rb spec/rspec/core/bisect/example_minimizer_spec.rb spec/rspec/core/bisect/server_spec.rb spec/rspec/core/bisect/shell_command_spec.rb spec/rspec/core/bisect/shell_runner_spec.rb spec/rspec/core/bisect/utilities_spec.rb spec/rspec/core/configuration/only_failures_support_spec.rb spec/rspec/core/configuration_options_spec.rb spec/rspec/core/configuration_spec.rb spec/rspec/core/did_you_mean_spec.rb spec/rspec/core/drb_spec.rb spec/rspec/core/dsl_spec.rb spec/rspec/core/example_execution_result_spec.rb spec/rspec/core/example_group_constants_spec.rb spec/rspec/core/example_group_spec.rb spec/rspec/core/example_spec.rb spec/rspec/core/example_status_persister_spec.rb spec/rspec/core/failed_example_notification_spec.rb spec/rspec/core/filter_manager_spec.rb spec/rspec/core/filterable_item_repository_spec.rb spec/rspec/core/formatters/base_text_formatter_spec.rb spec/rspec/core/formatters/console_codes_spec.rb spec/rspec/core/formatters/deprecation_formatter_spec.rb spec/rspec/core/formatters/documentation_formatter_spec.rb spec/rspec/core/formatters/exception_presenter_spec.rb spec/rspec/core/formatters/failure_list_formatter_spec.rb spec/rspec/core/formatters/fallback_message_formatter_spec.rb spec/rspec/core/formatters/helpers_spec.rb spec/rspec/core/formatters/html_formatter_spec.rb spec/rspec/core/formatters/html_snippet_extractor_spec.rb spec/rspec/core/formatters/json_formatter_spec.rb spec/rspec/core/formatters/profile_formatter_spec.rb spec/rspec/core/formatters/progress_formatter_spec.rb spec/rspec/core/formatters/snippet_extractor_spec.rb spec/rspec/core/formatters/syntax_highlighter_spec.rb spec/rspec/core/formatters_spec.rb spec/rspec/core/hooks_filtering_spec.rb spec/rspec/core/hooks_spec.rb spec/rspec/core/invocations_spec.rb spec/rspec/core/memoized_helpers_spec.rb spec/rspec/core/metadata_filter_spec.rb spec/rspec/core/metadata_spec.rb spec/rspec/core/notifications_spec.rb spec/rspec/core/option_parser_spec.rb spec/rspec/core/ordering_spec.rb spec/rspec/core/output_wrapper_spec.rb spec/rspec/core/pending_example_spec.rb spec/rspec/core/pending_spec.rb spec/rspec/core/profiler_spec.rb spec/rspec/core/project_initializer_spec.rb spec/rspec/core/rake_task_spec.rb spec/rspec/core/reporter_spec.rb spec/rspec/core/resources/a_spec.rb spec/rspec/core/resources/acceptance/foo_spec.rb spec/rspec/core/rspec_matchers_spec.rb spec/rspec/core/ruby_project_spec.rb spec/rspec/core/runner_spec.rb spec/rspec/core/set_spec.rb spec/rspec/core/shared_context_spec.rb spec/rspec/core/shared_example_group_spec.rb spec/rspec/core/suite_hooks_spec.rb spec/rspec/core/warnings_spec.rb spec/rspec/core/world_spec.rb Run options: exclude {:ruby=>#} -Randomized with seed 57271 -.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*...............................................................................................................................................................................................................................*.........................................................................................................................................................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... +Randomized with seed 6048 +.............................................................................................................................................................................................................................................................................................................................................*............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*........................................................................................................................................................................................................................... Pending: (Failures listed here are expected and do not affect your suite's status) - 1) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group + 1) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string + # lib/mathn.rb is deprecated in Ruby 2.2 + # ./spec/rspec/core/formatters/helpers_spec.rb:64 + + 2) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually + # lib/mathn.rb is deprecated in Ruby 2.2 + # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 + + 3) RSpec::Core::Metadata for an example points :example_group to the same hash object as other examples in the same group # Cannot maintain this and provide full `:example_group` backwards compatibility (see GH #1490):( Failure/Error: expect(b[:description]).to eq("new description") @@ -1402,18 +1451,10 @@ # ./spec/support/sandboxing.rb:16:in `block (3 levels) in ' # ./spec/support/sandboxing.rb:7:in `block (2 levels) in ' - 2) RSpec::Core::Formatters::Helpers format duration with mathn loaded returns 'x minutes xx.x seconds' formatted string - # lib/mathn.rb is deprecated in Ruby 2.2 - # ./spec/rspec/core/formatters/helpers_spec.rb:64 - - 3) RSpec::Core::Formatters::HtmlFormatter produced HTML with mathn loaded is identical to the one we designed manually - # lib/mathn.rb is deprecated in Ruby 2.2 - # ./spec/rspec/core/formatters/html_formatter_spec.rb:68 - -Finished in 47.67 seconds (files took 3.6 seconds to load) +Finished in 35.63 seconds (files took 2.8 seconds to load) 2184 examples, 0 failures, 3 pending -Randomized with seed 57271 +Randomized with seed 6048 cd - @@ -1424,22 +1465,22 @@ cd rspec-expectations /usr/bin/ruby3.1 -S rspec spec/rspec/expectations/block_snippet_extractor_spec.rb spec/rspec/expectations/configuration_spec.rb spec/rspec/expectations/expectation_target_spec.rb spec/rspec/expectations/extensions/kernel_spec.rb spec/rspec/expectations/fail_with_spec.rb spec/rspec/expectations/failure_aggregator_spec.rb spec/rspec/expectations/handler_spec.rb spec/rspec/expectations/minitest_integration_spec.rb spec/rspec/expectations/syntax_spec.rb spec/rspec/expectations_spec.rb spec/rspec/matchers/aliased_matcher_spec.rb spec/rspec/matchers/aliases_spec.rb spec/rspec/matchers/built_in/all_spec.rb spec/rspec/matchers/built_in/base_matcher_spec.rb spec/rspec/matchers/built_in/be_between_spec.rb spec/rspec/matchers/built_in/be_instance_of_spec.rb spec/rspec/matchers/built_in/be_kind_of_spec.rb spec/rspec/matchers/built_in/be_spec.rb spec/rspec/matchers/built_in/be_within_spec.rb spec/rspec/matchers/built_in/captures_spec.rb spec/rspec/matchers/built_in/change_spec.rb spec/rspec/matchers/built_in/compound_spec.rb spec/rspec/matchers/built_in/contain_exactly_spec.rb spec/rspec/matchers/built_in/cover_spec.rb spec/rspec/matchers/built_in/eq_spec.rb spec/rspec/matchers/built_in/eql_spec.rb spec/rspec/matchers/built_in/equal_spec.rb spec/rspec/matchers/built_in/exist_spec.rb spec/rspec/matchers/built_in/has_spec.rb spec/rspec/matchers/built_in/have_attributes_spec.rb spec/rspec/matchers/built_in/include_spec.rb spec/rspec/matchers/built_in/match_spec.rb spec/rspec/matchers/built_in/operators_spec.rb spec/rspec/matchers/built_in/output_spec.rb spec/rspec/matchers/built_in/raise_error_spec.rb spec/rspec/matchers/built_in/respond_to_spec.rb spec/rspec/matchers/built_in/satisfy_spec.rb spec/rspec/matchers/built_in/start_and_end_with_spec.rb spec/rspec/matchers/built_in/throw_symbol_spec.rb spec/rspec/matchers/built_in/yield_spec.rb spec/rspec/matchers/composable_spec.rb spec/rspec/matchers/define_negated_matcher_spec.rb spec/rspec/matchers/description_generation_spec.rb spec/rspec/matchers/dsl_spec.rb spec/rspec/matchers/english_phrasing_spec.rb spec/rspec/matchers/expecteds_for_multiple_diffs_spec.rb spec/rspec/matchers/legacy_spec.rb spec/rspec/matchers_spec.rb -Randomized with seed 60548 -......................................................................................................................................................................................................................................................................................................******...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... +Randomized with seed 47405 +.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................******........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Pending: (Failures listed here are expected and do not affect your suite's status) - 1) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target does not support count constraint + 1) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example - # ./spec/rspec/matchers/built_in/include_spec.rb:107 + # ./spec/rspec/matchers/built_in/include_spec.rb:60 - 2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send + 2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target does not support count constraint # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example - # ./spec/rspec/matchers/built_in/include_spec.rb:73 + # ./spec/rspec/matchers/built_in/include_spec.rb:107 - 3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key + 3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example - # ./spec/rspec/matchers/built_in/include_spec.rb:56 + # ./spec/rspec/matchers/built_in/include_spec.rb:73 4) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target doesn't have a key and we expect nil # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example @@ -1449,16 +1490,16 @@ # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:79 - 6) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected + 6) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:313 did not execute the example - # ./spec/rspec/matchers/built_in/include_spec.rb:60 + # ./spec/rspec/matchers/built_in/include_spec.rb:56 22 deprecation warnings total -Finished in 12.77 seconds (files took 2.32 seconds to load) +Finished in 9.16 seconds (files took 1.7 seconds to load) 2370 examples, 0 failures, 6 pending -Randomized with seed 60548 +Randomized with seed 47405 cd - @@ -1470,60 +1511,13 @@ /usr/bin/ruby3.1 -S rspec spec/rspec/mocks/and_call_original_spec.rb spec/rspec/mocks/and_invoke_spec.rb spec/rspec/mocks/and_return_spec.rb spec/rspec/mocks/and_wrap_original_spec.rb spec/rspec/mocks/and_yield_spec.rb spec/rspec/mocks/any_instance/message_chains_spec.rb spec/rspec/mocks/any_instance_spec.rb spec/rspec/mocks/argument_matchers_spec.rb spec/rspec/mocks/array_including_matcher_spec.rb spec/rspec/mocks/at_least_spec.rb spec/rspec/mocks/at_most_spec.rb spec/rspec/mocks/before_all_spec.rb spec/rspec/mocks/block_return_value_spec.rb spec/rspec/mocks/combining_implementation_instructions_spec.rb spec/rspec/mocks/configuration_spec.rb spec/rspec/mocks/diffing_spec.rb spec/rspec/mocks/double_spec.rb spec/rspec/mocks/error_generator_spec.rb spec/rspec/mocks/example_methods_spec.rb spec/rspec/mocks/expiration_spec.rb spec/rspec/mocks/failure_notification_spec.rb spec/rspec/mocks/formatting_spec.rb spec/rspec/mocks/hash_excluding_matcher_spec.rb spec/rspec/mocks/hash_including_matcher_spec.rb spec/rspec/mocks/instance_method_stasher_spec.rb spec/rspec/mocks/marshal_extension_spec.rb spec/rspec/mocks/matchers/have_received_spec.rb spec/rspec/mocks/matchers/receive_message_chain_spec.rb spec/rspec/mocks/matchers/receive_messages_spec.rb spec/rspec/mocks/matchers/receive_spec.rb spec/rspec/mocks/message_expectation_string_representation_spec.rb spec/rspec/mocks/methods_spec.rb spec/rspec/mocks/mock_expectation_error_spec.rb spec/rspec/mocks/mock_ordering_spec.rb spec/rspec/mocks/modifying_invoked_expectations_spec.rb spec/rspec/mocks/multiple_invoke_handler_spec.rb spec/rspec/mocks/multiple_return_value_spec.rb spec/rspec/mocks/mutate_const_spec.rb spec/rspec/mocks/nil_expectation_warning_spec.rb spec/rspec/mocks/null_object_double_spec.rb spec/rspec/mocks/once_counts_spec.rb spec/rspec/mocks/order_group_spec.rb spec/rspec/mocks/partial_double_spec.rb spec/rspec/mocks/partial_double_using_mocks_directly_spec.rb spec/rspec/mocks/precise_counts_spec.rb spec/rspec/mocks/reraising_eager_raises_spec.rb spec/rspec/mocks/serialization_spec.rb spec/rspec/mocks/should_syntax_spec.rb spec/rspec/mocks/space_spec.rb spec/rspec/mocks/spy_spec.rb spec/rspec/mocks/standalone_spec.rb spec/rspec/mocks/stash_spec.rb spec/rspec/mocks/stub_chain_spec.rb spec/rspec/mocks/stub_implementation_spec.rb spec/rspec/mocks/stub_spec.rb spec/rspec/mocks/stubbed_message_expectations_spec.rb spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb spec/rspec/mocks/syntax_spec.rb spec/rspec/mocks/test_double_spec.rb spec/rspec/mocks/thrice_counts_spec.rb spec/rspec/mocks/to_ary_spec.rb spec/rspec/mocks/twice_counts_spec.rb spec/rspec/mocks/verifying_doubles/class_double_with_class_loaded_spec.rb spec/rspec/mocks/verifying_doubles/class_double_with_class_not_loaded_spec.rb spec/rspec/mocks/verifying_doubles/construction_spec.rb spec/rspec/mocks/verifying_doubles/expected_arg_verification_spec.rb spec/rspec/mocks/verifying_doubles/instance_double_with_class_loaded_spec.rb spec/rspec/mocks/verifying_doubles/instance_double_with_class_not_loaded_spec.rb spec/rspec/mocks/verifying_doubles/method_visibility_spec.rb spec/rspec/mocks/verifying_doubles/naming_spec.rb spec/rspec/mocks/verifying_doubles/object_double_spec.rb spec/rspec/mocks_spec.rb Run options: exclude {:ordered_and_vague_counts_unsupported=>true} -Randomized with seed 49725 -........................................................................................................................................................................................................................................................*..........................*.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*............................................................................................................................................................................................................................................................................................................*..................................................................................................................................................................................................................................................fatal: not a git repository (or any of the parent directories): .git -.....................................................................................................................................................................................................................**........................................................................................................*....................................................................................................... +Randomized with seed 39244 +.....................................................................................................................*....................................................................................................................................fatal: not a git repository (or any of the parent directories): .git +...........................................................................................................................................................................................................................................................................................................................................**.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.............................................................................*.........................................................................................................................................................................................................................................................................................................................................................*.*..................................................................................................................... Pending: (Failures listed here are expected and do not affect your suite's status) - 1) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called - # See https://github.com/rspec/rspec-mocks/pull/467#issuecomment-28631621 - Got 2 failures: - - 1.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original - # is a pure test double. `and_call_original` is only available on a partial double. - # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:81:in `block (3 levels) in ' - - 1.2) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original - - ([1, 2, 3]).to_a(*(any args)) - expected: 1 time with any arguments - received: 0 times with any arguments - # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:81:in `block (3 levels) in ' - - 2) receive_message_chain with only the expect syntax enabled works with and_call_original - # See https://github.com/rspec/rspec-mocks/pull/467#issuecomment-28631621 - Got 2 failures: - - 2.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original - # is a pure test double. `and_call_original` is only available on a partial double. - # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:75:in `block (3 levels) in ' - - 2.2) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original - - ([1, 2, 3]).to_a(*(any args)) - expected: 1 time with any arguments - received: 0 times with any arguments - # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:75:in `block (3 levels) in ' - - 3) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message - # No reason given - Failure/Error: - expect { - verify_all - }.to raise_error { |e| - expect(e.backtrace.first).to match(/#{File.basename(__FILE__)}:#{expected_error_line}/) - } - - expected "/build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in '" to match /receive_spec.rb:216/ - Diff: - @@ -1 +1 @@ - -/receive_spec.rb:216/ - +"/build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in '" - Shared Example Group: "an expect syntax expectation" called from ./spec/rspec/mocks/matchers/receive_spec.rb:553 - # ./spec/rspec/mocks/matchers/receive_spec.rb:218:in `block (3 levels) in ' - - 4) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification + 1) Reraising eager raises during the verify step when an expectation is called out of order reraises during verification # Says bar was called 0 times when it was, see: http://git.io/pjTq Failure/Error: expect { verify_all }.to fail_with(/received :bar out of order/) expected RSpec::Mocks::MockExpectationError with message matching /received :bar out of order/ but nothing was raised @@ -1531,15 +1525,15 @@ # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:100:in `block (3 levels) in ' - 5) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' + 2) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_raise' # see Github issue #42 Got 2 failures: - 5.1) Failure/Error: expect { expect_any_instance_of(klass).to receive(:foo).and_raise(1).with("1") }.to raise_error(NoMethodError) + 2.1) Failure/Error: expect { expect_any_instance_of(klass).to receive(:foo).and_raise(1).with("1") }.to raise_error(NoMethodError) expected NoMethodError but nothing was raised # ./spec/rspec/mocks/any_instance_spec.rb:85:in `block (4 levels) in ' - 5.2) Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } + 2.2) Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } Exactly one instance should have received the following message(s) but didn't: foo # /build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in ' # /build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:111:in `notify_failure' @@ -1589,15 +1583,15 @@ # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. - 6) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' + 3) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' # see Github issue #42 Got 2 failures: - 6.1) Failure/Error: expect { expect_any_instance_of(klass).to receive(:foo).and_return(1).with("1") }.to raise_error(NoMethodError) + 3.1) Failure/Error: expect { expect_any_instance_of(klass).to receive(:foo).and_return(1).with("1") }.to raise_error(NoMethodError) expected NoMethodError but nothing was raised # ./spec/rspec/mocks/any_instance_spec.rb:80:in `block (4 levels) in ' - 6.2) Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } + 3.2) Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } Exactly one instance should have received the following message(s) but didn't: foo # /build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in ' # /build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:111:in `notify_failure' @@ -1647,27 +1641,74 @@ # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. - 7) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments that are optional yields the default argument when the argument is not given + 4) RSpec::Mocks::Matchers::Receive expect_any_instance_of(...).to receive behaves like an expect syntax expectation reports the line number of expectation of unreceived message + # No reason given + Failure/Error: + expect { + verify_all + }.to raise_error { |e| + expect(e.backtrace.first).to match(/#{File.basename(__FILE__)}:#{expected_error_line}/) + } + + expected "/build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in '" to match /receive_spec.rb:216/ + Diff: + @@ -1 +1 @@ + -/receive_spec.rb:216/ + +"/build/ruby-rspec-3.12.0c0e1m1s0/rspec-support/lib/rspec/support.rb:102:in `block in '" + Shared Example Group: "an expect syntax expectation" called from ./spec/rspec/mocks/matchers/receive_spec.rb:553 + # ./spec/rspec/mocks/matchers/receive_spec.rb:218:in `block (3 levels) in ' + + 5) RSpec::Mocks::Double#and_yield with eval context as block argument and yielded arguments that are optional yields the default argument when the argument is not given # Not sure how to achieve this yet. See rspec/rspec-mocks#714 and rspec/rspec-support#85. Got 2 failures: - 7.1) Failure/Error: eval("object.a_message { |receiver=default_arg| receiver.bar }") - # yielded || to block with arity of 1 + 5.1) Failure/Error: eval("object.a_message { |receiver=default_arg| receiver.bar }") + # yielded || to block with arity of 1 # (eval):1:in `block (6 levels) in ' # ./spec/rspec/mocks/and_yield_spec.rb:111:in `eval' # ./spec/rspec/mocks/and_yield_spec.rb:111:in `block (6 levels) in ' - 7.2) Failure/Error: expect(default_arg).to receive(:bar) + 5.2) Failure/Error: expect(default_arg).to receive(:bar) - (#).bar(*(any args)) + (#).bar(*(any args)) expected: 1 time with any arguments received: 0 times with any arguments # ./spec/rspec/mocks/and_yield_spec.rb:109:in `block (6 levels) in ' -Finished in 7.49 seconds (files took 2.01 seconds to load) + 6) receive_message_chain with only the expect syntax enabled works with and_call_original + # See https://github.com/rspec/rspec-mocks/pull/467#issuecomment-28631621 + Got 2 failures: + + 6.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original + # is a pure test double. `and_call_original` is only available on a partial double. + # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:75:in `block (3 levels) in ' + + 6.2) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original + + ([1, 2, 3]).to_a(*(any args)) + expected: 1 time with any arguments + received: 0 times with any arguments + # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:75:in `block (3 levels) in ' + + 7) receive_message_chain with only the expect syntax enabled fails with and_call_original when the entire chain is not called + # See https://github.com/rspec/rspec-mocks/pull/467#issuecomment-28631621 + Got 2 failures: + + 7.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original + # is a pure test double. `and_call_original` is only available on a partial double. + # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:81:in `block (3 levels) in ' + + 7.2) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original + + ([1, 2, 3]).to_a(*(any args)) + expected: 1 time with any arguments + received: 0 times with any arguments + # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:81:in `block (3 levels) in ' + +Finished in 4.85 seconds (files took 1.52 seconds to load) 1756 examples, 0 failures, 7 pending -Randomized with seed 49725 +Randomized with seed 39244 cd - @@ -1678,27 +1719,27 @@ cd rspec-support /usr/bin/ruby3.1 -S rspec spec/rspec/support/caller_filter_spec.rb spec/rspec/support/comparable_version_spec.rb spec/rspec/support/deprecation_helpers_spec.rb spec/rspec/support/differ_spec.rb spec/rspec/support/directory_maker_spec.rb spec/rspec/support/encoded_string_spec.rb spec/rspec/support/fuzzy_matcher_spec.rb spec/rspec/support/matcher_definition_spec.rb spec/rspec/support/method_signature_verifier_spec.rb spec/rspec/support/mutex_spec.rb spec/rspec/support/object_formatter_spec.rb spec/rspec/support/recursive_const_methods_spec.rb spec/rspec/support/reentrant_mutex_spec.rb spec/rspec/support/ruby_features_spec.rb spec/rspec/support/source/node_spec.rb spec/rspec/support/source/token_spec.rb spec/rspec/support/source_spec.rb spec/rspec/support/spec/in_sub_process_spec.rb spec/rspec/support/spec/shell_out_spec.rb spec/rspec/support/spec/stderr_splitter_spec.rb spec/rspec/support/spec/with_isolated_std_err_spec.rb spec/rspec/support/warnings_spec.rb spec/rspec/support/with_keywords_when_needed_spec.rb spec/rspec/support_spec.rb -Randomized with seed 59083 -................................................................*.........................................fatal: not a git repository (or any of the parent directories): .git -..................................................................................................................................................................................................................................................................................................................................................................................................................*............................................. +Randomized with seed 43243 +....................................................................................................................................................................................................................................................................................................................................*.............................................*..............................................................................................................................................fatal: not a git repository (or any of the parent directories): .git +......................................... Pending: (Failures listed here are expected and do not affect your suite's status) - 1) RSpec::Support::ShellOut can shell out to ruby with the current load path - # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples - # ./spec/rspec/support/spec/shell_out_spec.rb:22 - - 2) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations + 1) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations # No reason given Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure } expected /received: 0 times/ but nothing was raised # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in ' # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in ' -Finished in 4.96 seconds (files took 1.06 seconds to load) + 2) RSpec::Support::ShellOut can shell out to ruby with the current load path + # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples + # ./spec/rspec/support/spec/shell_out_spec.rb:22 + +Finished in 3.11 seconds (files took 0.78003 seconds to load) 554 examples, 0 failures, 2 pending -Randomized with seed 59083 +Randomized with seed 43243 cd - @@ -1710,17 +1751,17 @@ dh_installdocs -O--buildsystem=ruby dh_ruby_fixdocs -O--buildsystem=ruby debian/rules override_dh_installchangelogs -make[1]: Entering directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt binnengegaan for x in rspec rspec-core rspec-expectations rspec-mocks rspec-support; do \ dh_installchangelogs -pruby-$x ; \ done -make[1]: Leaving directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt verlaten debian/rules override_dh_installman -make[1]: Entering directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt binnengegaan mkdir -p man pod2man --center "" --release "" --name RSPEC --utf8 debian/rspec.1.pod man/rspec.1 dh_installman -make[1]: Leaving directory '/build/ruby-rspec-3.12.0c0e1m1s0' +make[1]: Map '/build/ruby-rspec-3.12.0c0e1m1s0' wordt verlaten dh_installsystemduser -O--buildsystem=ruby dh_perl -O--buildsystem=ruby dh_link -O--buildsystem=ruby @@ -1731,27 +1772,27 @@ dh_ruby_fixdepends -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby dh_gencontrol -O--buildsystem=ruby -dpkg-gencontrol: warning: Depends field of package ruby-rspec-core: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: package ruby-rspec-core: substitution variable ${ruby:Versions} used, but is not defined dpkg-gencontrol: warning: Depends field of package ruby-rspec: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: package ruby-rspec-core: substitution variable ${ruby:Depends} unused, but is defined +dpkg-gencontrol: warning: Depends field of package ruby-rspec-mocks: substitution variable ${shlibs:Depends} used, but is not defined +dpkg-gencontrol: warning: Depends field of package ruby-rspec-core: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec: substitution variable ${ruby:Versions} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec: substitution variable ${ruby:Depends} unused, but is defined -dpkg-gencontrol: warning: Depends field of package ruby-rspec-mocks: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: Depends field of package ruby-rspec-support: substitution variable ${shlibs:Depends} used, but is not defined -dpkg-gencontrol: warning: Depends field of package ruby-rspec-expectations: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec-mocks: substitution variable ${ruby:Versions} used, but is not defined -dpkg-gencontrol: warning: package ruby-rspec-support: substitution variable ${ruby:Versions} used, but is not defined +dpkg-gencontrol: warning: Depends field of package ruby-rspec-expectations: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec-mocks: substitution variable ${ruby:Depends} unused, but is defined +dpkg-gencontrol: warning: package ruby-rspec-core: substitution variable ${ruby:Versions} used, but is not defined +dpkg-gencontrol: warning: Depends field of package ruby-rspec-support: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec-expectations: substitution variable ${ruby:Versions} used, but is not defined +dpkg-gencontrol: warning: package ruby-rspec-core: substitution variable ${ruby:Depends} unused, but is defined +dpkg-gencontrol: warning: package ruby-rspec-support: substitution variable ${ruby:Versions} used, but is not defined dpkg-gencontrol: warning: package ruby-rspec-expectations: substitution variable ${ruby:Depends} unused, but is defined dh_md5sums -O--buildsystem=ruby dh_builddeb -O--buildsystem=ruby -dpkg-deb: building package 'ruby-rspec-mocks' in '../ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb'. -dpkg-deb: building package 'ruby-rspec-support' in '../ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb'. -dpkg-deb: building package 'ruby-rspec' in '../ruby-rspec_3.12.0c0e1m1s0-1_all.deb'. -dpkg-deb: building package 'ruby-rspec-core' in '../ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb'. -dpkg-deb: building package 'ruby-rspec-expectations' in '../ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb'. +dpkg-deb: pakket 'ruby-rspec-expectations' wordt gebouwd in '../ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb'. +dpkg-deb: pakket 'ruby-rspec-core' wordt gebouwd in '../ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb'. +dpkg-deb: pakket 'ruby-rspec-mocks' wordt gebouwd in '../ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb'. +dpkg-deb: pakket 'ruby-rspec-support' wordt gebouwd in '../ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb'. +dpkg-deb: pakket 'ruby-rspec' wordt gebouwd in '../ruby-rspec_3.12.0c0e1m1s0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../ruby-rspec_3.12.0c0e1m1s0-1_arm64.buildinfo dpkg-genchanges --build=binary -O../ruby-rspec_3.12.0c0e1m1s0-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1759,12 +1800,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/16926/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16926/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/16698 and its subdirectories -I: Current time: Mon May 15 04:36:29 -12 2023 -I: pbuilder-time-stamp: 1684168589 +I: removing directory /srv/workspace/pbuilder/16926 and its subdirectories +I: Current time: Mon Jun 17 13:01:50 +14 2024 +I: pbuilder-time-stamp: 1718578910