Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 659706 Details for
Bug 741789
dev-ruby/rspec-mocks-3.9.1 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 34.21 KB, created by
Agostino Sarubbo
on 2020-09-12 09:34:44 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-09-12 09:34:44 UTC
Size:
34.21 KB
patch
obsolete
> * Package: dev-ruby/rspec-mocks-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, 63224656 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-jobs: 1 > sync-rsync-verify-max-age: 24 > sync-rsync-extra-opts: > sync-rsync-verify-metamanifest: yes > >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-mocks-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-mocks-3.9.1-git.tgz to /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/all >>>> Source unpacked in /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work >>>> Preparing source in /var/tmp/portage/dev-ruby/rspec-mocks-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-mocks-3.9.1/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work ... > * Running compile phase for all ... >>>> Source compiled. >>>> Test phase: dev-ruby/rspec-mocks-3.9.1 > * Running test phase for ruby25 ... >Simplecov could not be loaded >Run options: exclude {:ordered_and_vague_counts_unsupported=>true} > >Randomized with seed 49611 >.............................................................................................................................................................................................................................................................................................................................................FF.FFF...................................................................................*.......................................................................................*................*...........................................................................................................................F...............................................................................................................................................................................................................................*........................................................................................................................................................................................................................................................................................................................................................................................**....................................................................................................................................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) 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 > # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:105:in `block (4 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/reraising_eager_raises_spec.rb:100:in `block (3 levels) in <top (required)>' > > 2) 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: > > 2.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original > #<Double (anonymous)> 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 <module:Matchers>' > > 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 <module:Matchers>' > > 3) 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: > > 3.1) Failure/Error: expect(list).to receive_message_chain(:to_a, :length).and_call_original > #<Double (anonymous)> is a pure test double. `and_call_original` is only available on a partial double. > # ./spec/rspec/mocks/matchers/receive_message_chain_spec.rb:69:in `block (3 levels) in <module:Matchers>' > > 3.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:69:in `block (3 levels) in <module:Matchers>' > > 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 "/usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'" to match /receive_spec.rb:165/ > Diff: > @@ -1 +1 @@ > -/receive_spec.rb:165/ > +"/usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'" > Shared Example Group: "an expect syntax expectation" called from ./spec/rspec/mocks/matchers/receive_spec.rb:464 > # ./spec/rspec/mocks/matchers/receive_spec.rb:167:in `block (3 levels) in <module:Mocks>' > > 5) #any_instance invocation order when setting a message expectation raises an error if 'with' follows 'and_return' > # see Github issue #42 > Got 2 failures: > > 5.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:81:in `block (4 levels) in <module:Mocks>' > > 5.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 > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb:327:in `notify' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb:311:in `__raise' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb:7:in `raise_second_instance_received_message_error' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb:100:in `verify' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `block in verify_all' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `each_value' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `verify_all' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks.rb:45:in `verify' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rspec.rb:23:in `verify_mocks_for_rspec' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:517:in `verify_mocks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:511:in `run_after_example' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:276:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:610:in `run_around_example_hooks_for' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/bin/rspec:4:in `<top (required)>' > # /usr/bin/rspec-3:9:in `load' > # /usr/bin/rspec-3:9:in `<main>' > # > # Showing full backtrace because every line was filtered out. > # 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_raise' > # see Github issue #42 > Got 2 failures: > > 6.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:86:in `block (4 levels) in <module:Mocks>' > > 6.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 > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb:327:in `notify' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/error_generator.rb:311:in `__raise' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/error_generator.rb:7:in `raise_second_instance_received_message_error' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/any_instance/recorder.rb:100:in `verify' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `block in verify_all' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `each_value' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks/space.rb:75:in `verify_all' > # /var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1/lib/rspec/mocks.rb:45:in `verify' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/mocking_adapters/rspec.rb:23:in `verify_mocks_for_rspec' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:517:in `verify_mocks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:511:in `run_after_example' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:276:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:610:in `run_around_example_hooks_for' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke' > # /usr/lib64/ruby/gems/2.5.0/gems/rspec-core-3.9.1/bin/rspec:4:in `<top (required)>' > # /usr/bin/rspec-3:9:in `load' > # /usr/bin/rspec-3:9:in `<main>' > # > # Showing full backtrace because every line was filtered out. > # 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 > # 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 }") > #<Object:0x000055f5c07ecff0> yielded || to block with arity of 1 > # ./spec/rspec/mocks/and_yield_spec.rb:111:in `eval' > # (eval):1:in `block (6 levels) in <top (required)>' > # ./spec/rspec/mocks/and_yield_spec.rb:111:in `eval' > # ./spec/rspec/mocks/and_yield_spec.rb:111:in `block (6 levels) in <top (required)>' > > 7.2) Failure/Error: expect(default_arg).to receive(:bar) > > (#<Object:0x000055f5c07ed040>).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 <top (required)>' > >Failures: > > 1) Diffs printed when arguments don't match with a non matcher object prints a diff with hash args > Failure/Error: > expect { > d.foo(:bad => :hash) > }.to fail_with(/\A#<Double "double"> received :foo with unexpected arguments\n expected: \(#{hash_regex_inspect expected_hash}\)\n got: \(#{hash_regex_inspect actual_hash}\)\nDiff:\n@@ \-1\,2 \+1\,2 @@\n\-\[#{hash_regex_inspect expected_hash}\]\n\+\[#{hash_regex_inspect actual_hash}\]\n\z/) > > expected RSpec::Mocks::MockExpectationError with message matching /\A#<Double "double"> received :foo with unexpected arguments\n expected: \(\{:baz=>:quz,\ :foo=>:ba...:hash\}\)\nDiff:\n@@ \-1\,2 \+1\,2 @@\n\-\[\{:baz=>:quz,\ :foo=>:bar\}\]\n\+\[\{:bad=>:hash\}\]\n\z/, got #<RSpec::Mocks::MockExpectationError: #<Double "double"> received :foo with unexpected arguments > ex...>:bar}) > got: ({:bad=>:hash}) > Diff: > @@ -1 +1 @@ > -[{:baz=>:quz, :foo=>:bar}] > +[{:bad=>:hash}] > > with backtrace: > # ./spec/rspec/mocks/diffing_spec.rb:70:in `block (5 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:69:in `block (4 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:67:in `block (3 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:69:in `block (4 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:67:in `block (3 levels) in <top (required)>' > > 2) Diffs printed when arguments don't match with a non matcher object prints a diff with array args > Failure/Error: > expect { > d.foo([]) > }.to fail_with("#<Double \"double\"> received :foo with unexpected arguments\n expected: ([:a, :b, :c])\n got: ([])\nDiff:\n@@ -1,2 +1,2 @@\n-[[:a, :b, :c]]\n+[[]]\n") > > expected RSpec::Mocks::MockExpectationError with "#<Double \"double\"> received :foo with unexpected arguments\n expected: ([:a, :b, :c])\n got: ([])\nDiff:\n@@ -1,2 +1,2 @@\n-[[:a, :b, :c]]\n+[[]]\n", got #<RSpec::Mocks::MockExpectationError: #<Double "double"> received :foo with unexpected arguments > expected: ([:a, :b, :c]) > got: ([]) > Diff: > @@ -1 +1 @@ > -[[:a, :b, :c]] > +[[]] > > with backtrace: > # ./spec/rspec/mocks/diffing_spec.rb:103:in `block (5 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:102:in `block (4 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:100:in `block (3 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:102:in `block (4 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:100:in `block (3 levels) in <top (required)>' > > 3) Diffs printed when arguments don't match with a non matcher object that defines #description does not use the object's description for a non-matcher object that implements #description > Failure/Error: > expect { > d.foo([]) > }.to fail_with("#<Double \"double\"> received :foo with unexpected arguments\n" \ > " expected: (#{collab_inspect})\n" \ > " got: ([])\nDiff:\n@@ -1,2 +1,2 @@\n-[#{collab_inspect}]\n+[[]]\n") > > expected RSpec::Mocks::MockExpectationError with "#<Double \"double\"> received :foo with unexpected arguments\n expected: (#<Double :collab>)\n got: ([])\nDiff:\n@@ -1,2 +1,2 @@\n-[#<Double :collab>]\n+[[]]\n", got #<RSpec::Mocks::MockExpectationError: #<Double "double"> received :foo with unexpected arguments > expected: (#<Double :collab>) > got: ([]) > Diff: > @@ -1 +1 @@ > -[#<Double :collab>] > +[[]] > > with backtrace: > # ./spec/rspec/mocks/diffing_spec.rb:117:in `block (6 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:116:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:110:in `block (4 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:116:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:110:in `block (4 levels) in <top (required)>' > > 4) Diffs printed when arguments don't match with a matcher object that does not define #description for a matcher object that does not implement #description > Failure/Error: > expect { > d.foo([:a, :b]) > }.to fail_with("#<Double \"double\"> received :foo with unexpected arguments\n" \ > " expected: (#{collab_inspect})\n" \ > " got: ([:a, :b])\nDiff:\n@@ -1,2 +1,2 @@\n-[#{collab_pp}]\n+[[:a, :b]]\n") > > expected RSpec::Mocks::MockExpectationError with "#<Double \"double\"> received :foo with unexpected arguments\n expected: (#<MyCollab>)\n got: ([:a, :b])\nDiff:\n@@ -1,2 +1,2 @@\n-[#<MyCollab>]\n+[[:a, :b]]\n", got #<RSpec::Mocks::MockExpectationError: #<Double "double"> received :foo with unexpected arguments > expected: (#<MyCollab>) > got: ([:a, :b]) > Diff: > @@ -1 +1 @@ > -[#<MyCollab>] > +[[:a, :b]] > > with backtrace: > # ./spec/rspec/mocks/diffing_spec.rb:164:in `block (6 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:163:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:146:in `block (4 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:163:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:146:in `block (4 levels) in <top (required)>' > > 5) Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description > Failure/Error: > expect { > d.foo([:a, :b]) > }.to fail_with("#<Double \"double\"> received :foo with unexpected arguments\n" \ > " expected: (#{collab_description})\n" \ > " got: ([:a, :b])\nDiff:\n@@ -1,2 +1,2 @@\n-[\"#{collab_description}\"]\n+[[:a, :b]]\n") > > expected RSpec::Mocks::MockExpectationError with "#<Double \"double\"> received :foo with unexpected arguments\n expected: (fake_matcher_description)\n got: ([:a, :b])\nDiff:\n@@ -1,2 +1,2 @@\n-[\"fake_matcher_description\"]\n+[[:a, :b]]\n", got #<RSpec::Mocks::MockExpectationError: #<Double "double"> received :foo with unexpected arguments > ex...er_description) > got: ([:a, :b]) > Diff: > @@ -1 +1 @@ > -["fake_matcher_description"] > +[[:a, :b]] > > with backtrace: > # ./spec/rspec/mocks/diffing_spec.rb:136:in `block (6 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:135:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:129:in `block (4 levels) in <top (required)>' > # ./spec/rspec/mocks/diffing_spec.rb:135:in `block (5 levels) in <top (required)>' > # ./spec/spec_helper.rb:45:in `with_unfulfilled_double' > # ./spec/rspec/mocks/diffing_spec.rb:129:in `block (4 levels) in <top (required)>' > > 6) Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs > Failure/Error: > expect { > expect([foo]).to include(bar) > }.to fail_with(<<-EOS.gsub(/^\s+\|/, '')) > |expected [#<Double "Foo">] to include #<Double "Bar"> > |Diff: > |@@ -1,2 +1,2 @@ > |-[#<Double "Bar">] > |+[#<Double "Foo">] > EOS > > expected RSpec::Expectations::ExpectationNotMetError with "expected [#<Double \"Foo\">] to include #<Double \"Bar\">\nDiff:\n@@ -1,2 +1,2 @@\n-[#<Double \"Bar\">]\n+[#<Double \"Foo\">]\n", got #<RSpec::Expectations::ExpectationNotMetError: expected [#<Double "Foo">] to include #<Double "Bar"> > Diff: > @@ -1 +1 @@ > -[#<Double "Bar">] > +[#<Double "Foo">] > > with backtrace: > # ./spec/rspec/mocks/formatting_spec.rb:100:in `block (3 levels) in <top (required)>' > # ./spec/rspec/mocks/formatting_spec.rb:99:in `block (2 levels) in <top (required)>' > # ./spec/rspec/mocks/formatting_spec.rb:99:in `block (2 levels) in <top (required)>' > >Finished in 1.11 seconds (files took 0.29429 seconds to load) >1698 examples, 6 failures, 7 pending > >Failed examples: > >rspec ./spec/rspec/mocks/diffing_spec.rb:66 # Diffs printed when arguments don't match with a non matcher object prints a diff with hash args >rspec ./spec/rspec/mocks/diffing_spec.rb:99 # Diffs printed when arguments don't match with a non matcher object prints a diff with array args >rspec ./spec/rspec/mocks/diffing_spec.rb:109 # Diffs printed when arguments don't match with a non matcher object that defines #description does not use the object's description for a non-matcher object that implements #description >rspec ./spec/rspec/mocks/diffing_spec.rb:145 # Diffs printed when arguments don't match with a matcher object that does not define #description for a matcher object that does not implement #description >rspec ./spec/rspec/mocks/diffing_spec.rb:128 # Diffs printed when arguments don't match with a matcher object that defines #description uses the object's description >rspec ./spec/rspec/mocks/formatting_spec.rb:93 # Test doubles format well in failure messages formats the doubles when they appear in data structures and diffs > >Randomized with seed 49611 > > * ERROR: dev-ruby/rspec-mocks-3.9.1::gentoo failed (test phase): > * rspec failed > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2169: Called ruby-ng_src_test > * environment, line 1830: Called _ruby_each_implementation 'each_ruby_test' > * environment, line 576: Called _ruby_invoke_environment 'ruby25' 'each_ruby_test' > * environment, line 697: Called each_ruby_test > * environment, line 888: Called each_fakegem_test > * environment, line 872: Called ruby-ng_rspec > * environment, line 1786: 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-mocks-3.9.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-ruby/rspec-mocks-3.9.1::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-ruby/rspec-mocks-3.9.1:20200911-160929.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1' > * S: '/var/tmp/portage/dev-ruby/rspec-mocks-3.9.1/work/ruby25/rspec-mocks-3.9.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 741789
: 659706