* Package: dev-ruby/rspec-expectations-3.9.1 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 ruby_targets_ruby26 ruby_targets_ruby27 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/05883922ff986b86198048d92f66e18ea094147a (Fri Sep 11 05:13:50 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.6 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1024-aws x86_64) ================================================================= System uname: Linux-5.4.0-1024-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 KiB Mem: 71926564 total, 63229336 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* MIT" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... * Running unpack phase for all ... >>> Unpacking rspec-expectations-3.9.1-git.tgz to /var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work/all >>> Source unpacked in /var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work >>> Preparing source in /var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby25 ... * Running source copy phase for ruby26 ... * Running source copy phase for ruby27 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work ... * Running compile phase for all ... >>> Source compiled. >>> Test phase: dev-ruby/rspec-expectations-3.9.1 * Running test phase for ruby25 ... Simplecov could not be loaded Randomized with seed 1045 ............................................................................................................F.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...................F.............................................................................................................F......................................................................................................................................................................................................................................................................................................................................F.........................................................................................................................................................................................................................................................................................................F...........................................................................................................................................................................*****................F.....................................F........................................................................................................................................................................................................................................................................ 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 passes if target has the expected as a key # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:218 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:54 2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:218 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:77 3) #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:218 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:65 4) #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:218 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:71 5) #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:218 did not execute the example # ./spec/rspec/matchers/built_in/include_spec.rb:58 Failures: 1) RSpec::Expectations#fail_with with --color tells the differ to use color Failure/Error: expect { RSpec::Expectations.fail_with "message", actual, expected }.to fail_with("message\nDiff:#{expected_diff}") expected RSpec::Expectations::ExpectationNotMetError with "message\nDiff:\e[0m\n\e[0m\e[34m@@ -1,2 +1,2 @@\n\e[0m\e[31m-foo bang baz\n\e[0m\e[32m+foo bar baz\n\e[0m", got # with backtrace: # ./spec/rspec/expectations/fail_with_spec.rb:68:in `block (3 levels) in ' # ./spec/rspec/expectations/fail_with_spec.rb:67:in `block (2 levels) in ' # ./spec/rspec/expectations/fail_with_spec.rb:67:in `block (2 levels) in ' 2) #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected Failure/Error: expect { expect(person).to have_attributes(:name => correct_name, :age => wrong_age) }.to fail_including(expected_diff) expected RSpec::Expectations::ExpectationNotMetError with a string including "@@ -1,3 +1,3 @@\n-:age => 11,\n+:age => 33,\n :name => \"Correct name\",", got # ...t had attributes {:age => 33, :name => "Correct name"} Diff: @@ -1 +1 @@ -:age => 11, +:age => 33, > with backtrace: # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:179:in `block (4 levels) in ' # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:178:in `block (3 levels) in ' # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:178:in `block (3 levels) in ' 3) #have_attributes matcher expect(...).to have_attributes(with_one_attribute) diffs the attributes received with those expected Failure/Error: expect { expect(person).to have_attributes(:name => wrong_name) }.to fail_including(expected_diff) expected RSpec::Expectations::ExpectationNotMetError with a string including "@@ -1,2 +1,2 @@\n-:name => \"Wrong Name\",\n+:name => \"Correct name\",", got # ...utes {:name => "Correct name"} Diff: @@ -1 +1 @@ -:name => "Wrong Name", +:name => "Correct name", > with backtrace: # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:80:in `block (4 levels) in ' # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:79:in `block (3 levels) in ' # ./spec/rspec/matchers/built_in/have_attributes_spec.rb:79:in `block (3 levels) in ' 4) RSpec::Expectations#fail_with with matchers uses matcher descriptions in place of matchers in diffs Failure/Error: expect { RSpec::Expectations.fail_with "message", actual, expected }.to fail_with("message\nDiff:#{expected_diff}") expected RSpec::Expectations::ExpectationNotMetError with "message\nDiff:\n@@ -1,2 +1,2 @@\n-[\"poo\", \"car\"]\n+[(a string matching /foo/), (a string matching /bar/)]\n", got # with backtrace: # ./spec/rspec/expectations/fail_with_spec.rb:52:in `block (3 levels) in ' # ./spec/rspec/expectations/fail_with_spec.rb:51:in `block (2 levels) in ' # ./spec/rspec/expectations/fail_with_spec.rb:51:in `block (2 levels) in ' 5) RSpec::Matchers::DSL::Matcher handles multiline string diffs Failure/Error: expect(diff).to eq "Diff:\n@@ -1,3 +1,3 @@\n-line1\n+LINE1\nline2\n" expected: "Diff:\n@@ -1,3 +1,3 @@\n-line1\n+LINE1\nline2\n" got: "Diff:\n@@ -1 +1 @@\n-line1\n+LINE1\n" (compared using ==) Diff: @@ -1,6 +1,5 @@ Diff: -@@ -1,3 +1,3 @@ +@@ -1 +1 @@ -line1 +LINE1 -line2 # ./spec/rspec/matchers/dsl_spec.rb:476:in `block (2 levels) in ' 6) expect(...).to match(expected) provides a diff on failure Failure/Error: expect { expect("foo").to match(/bar/) }.to fail_with(failure_message_that_includes_diff) expected RSpec::Expectations::ExpectationNotMetError with message matching / \s*Diff: \s*@@ -1,2 \+1,2 @@ \s*-\/bar\/ \s*\+"foo"/, got # with backtrace: # ./spec/rspec/matchers/built_in/match_spec.rb:75:in `block (3 levels) in ' # ./spec/rspec/matchers/built_in/match_spec.rb:75:in `block (2 levels) in ' # ./spec/rspec/matchers/built_in/match_spec.rb:75:in `block (2 levels) in ' 7) #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff Failure/Error: expect { expect(build_target(:foo => 1, :bar => 2)).to include(:foo => 1, :bar => 3) }.to fail_including(failure_string) expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,3 +1,3 @@\n-:bar => 3,\n+:bar => 2,\n :foo => 1,", got # 2, :foo => 1} to include {:bar => 3} Diff: @@ -1 +1 @@ -:bar => 3, +:bar => 2, > with backtrace: # ./spec/rspec/matchers/built_in/include_spec.rb:100:in `block (4 levels) in ' # ./spec/rspec/matchers/built_in/include_spec.rb:99:in `block (3 levels) in ' Shared Example Group: "a Hash target" called from ./spec/rspec/matchers/built_in/include_spec.rb:196 # ./spec/rspec/matchers/built_in/include_spec.rb:99:in `block (3 levels) in ' 8) #include matcher expect(...).to include(with, multiple, args) for an array target correctly diffs lists of hashes Failure/Error: expect { expect([ { :number => 1 }, { :number => 2 }, { :number => 3 } ]).to include( { :number => 1 }, { :number => 0 }, { :number => 3 } ) expected RSpec::Expectations::ExpectationNotMetError with a string including "Diff:\n@@ -1,2 +1,2 @@\n-[{:number => 1}, {:number => 0}, {:number => 3}]\n+[{:number => 1}, {:number => 2}, {:number => 3}]", got # 1}, {:number => 2}, {:number => ...@ -1 +1 @@ -[{:number=>1}, {:number=>0}, {:number=>3}] +[{:number=>1}, {:number=>2}, {:number=>3}] > with backtrace: # ./spec/rspec/matchers/built_in/include_spec.rb:289:in `block (5 levels) in ' # ./spec/rspec/matchers/built_in/include_spec.rb:288:in `block (4 levels) in ' # ./spec/rspec/matchers/built_in/include_spec.rb:288:in `block (4 levels) in ' Finished in 1.78 seconds (files took 0.29901 seconds to load) 2265 examples, 8 failures, 5 pending Failed examples: rspec ./spec/rspec/expectations/fail_with_spec.rb:62 # RSpec::Expectations#fail_with with --color tells the differ to use color rspec ./spec/rspec/matchers/built_in/have_attributes_spec.rb:168 # #have_attributes matcher expect(...).to have_attributes(with_multiple_attributes) diffs the attributes received with those expected rspec ./spec/rspec/matchers/built_in/have_attributes_spec.rb:70 # #have_attributes matcher expect(...).to have_attributes(with_one_attribute) diffs the attributes received with those expected rspec ./spec/rspec/expectations/fail_with_spec.rb:39 # RSpec::Expectations#fail_with with matchers uses matcher descriptions in place of matchers in diffs rspec ./spec/rspec/matchers/dsl_spec.rb:459 # RSpec::Matchers::DSL::Matcher handles multiline string diffs rspec ./spec/rspec/matchers/built_in/match_spec.rb:66 # expect(...).to match(expected) provides a diff on failure rspec ./spec/rspec/matchers/built_in/include_spec.rb[1:2:7:1:5] # #include matcher expect(...).to include(with_one_arg) for a hash target behaves like a Hash target provides a valid diff rspec ./spec/rspec/matchers/built_in/include_spec.rb:285 # #include matcher expect(...).to include(with, multiple, args) for an array target correctly diffs lists of hashes Randomized with seed 1045 * ERROR: dev-ruby/rspec-expectations-3.9.1::gentoo failed (test phase): * rspec failed * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2149: Called ruby-ng_src_test * environment, line 1810: Called _ruby_each_implementation 'each_ruby_test' * environment, line 558: Called _ruby_invoke_environment 'ruby25' 'each_ruby_test' * environment, line 679: Called each_ruby_test * environment, line 868: Called each_fakegem_test * environment, line 852: Called ruby-ng_rspec * environment, line 1766: Called die * The specific snippet of code: * ${RUBY} -S rspec-${version} ${rspec_params} ${files} || die "rspec failed" * * If you need support, post the output of `emerge --info '=dev-ruby/rspec-expectations-3.9.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/rspec-expectations-3.9.1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-ruby/rspec-expectations-3.9.1:20200911-161256.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work/ruby25/rspec-expectations-3.9.1' * S: '/var/tmp/portage/dev-ruby/rspec-expectations-3.9.1/work/ruby25/rspec-expectations-3.9.1'