* Package: dev-ruby/spy-1.0.0 * Repository: gentoo * Maintainer: ruby@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ruby_targets_ruby25 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-mirror/gentoo/commit/9f04fa6c2d0fe7f9e7bae836989339421a0c6aaf (Mon Aug 24 02:05:34 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 64359960 total, 38158008 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 24 Aug 2020 02:05:34 +0000 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-r1::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.1::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.1::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::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* MIT" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" 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" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/dev-ruby/spy-1.0.0/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="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 -fno-diagnostics-color" 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 -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 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" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, 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 .gem file... ... [ ok ] * Uncompressing metadata ... [ ok ] * Unpacking data.tar.gz ... [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/spy-1.0.0/work >>> Preparing source in /var/tmp/portage/dev-ruby/spy-1.0.0/work ... * Running prepare phase for all ... * Running prepare phase for all ... * Running source copy phase for ruby25 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/spy-1.0.0/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/spy-1.0.0/work ... * Running compile phase for all ... >>> Source compiled. >>> Test phase: dev-ruby/spy-1.0.0 * Running test phase for ruby25 ... /usr/bin/ruby25 -w -I"lib:test" -I"/usr/lib64/ruby/gems/2.5.0/gems/rake-13.0.1/lib" "/usr/lib64/ruby/gems/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/integration/test_api.rb" "test/integration/test_constant_spying.rb" "test/integration/test_instance_method.rb" "test/integration/test_mocking.rb" "test/integration/test_subroutine_spying.rb" "test/spy/test_mock.rb" "test/spy/test_subroutine.rb" "test/test_helper.rb" /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_subroutine_spying.rb:24: warning: method redefined; discarding old test_spy_on_hooks_and_saves_spy_with_array /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_subroutine_spying.rb:12: warning: previous definition of test_spy_on_hooks_and_saves_spy_with_array was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/spy/test_subroutine.rb:160: warning: method redefined; discarding old test_spy_hook_records_number_of_calls /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/spy/test_subroutine.rb:140: warning: previous definition of test_spy_hook_records_number_of_calls was here Run options: --seed 8193 # Running: ../var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old bar /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_instance_method.rb:5: warning: previous definition of bar was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old bar /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of bar was here .....F/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old public_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/support/pen.rb:66: warning: previous definition of public_method was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old public_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of public_method was here ........./var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old private_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/support/pen.rb:74: warning: previous definition of private_method was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old private_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of private_method was here ./var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old another /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/support/pen.rb:62: warning: previous definition of another was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old another /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of another was here ./var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old protected_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/support/pen.rb:70: warning: previous definition of protected_method was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old protected_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of protected_method was here ../var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:56: warning: method redefined; discarding old meta_class_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/support/pen.rb:80: warning: previous definition of meta_class_method was here /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:73: warning: method redefined; discarding old meta_class_method /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/lib/spy/subroutine.rb:231: warning: previous definition of meta_class_method was here .....................................DEPRECATED: Use assert_nil if expecting nil from /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_constant_spying.rb:33. This will fail in Minitest 6. DEPRECATED: Use assert_nil if expecting nil from /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_constant_spying.rb:42. This will fail in Minitest 6. DEPRECATED: Use assert_nil if expecting nil from /var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_constant_spying.rb:51. This will fail in Minitest 6. .... Finished in 0.031290s, 1981.4934 runs/s, 3899.0676 assertions/s. 1) Failure: Spy::TestSubroutine#test_spy_and_raise_raises_the_set_exception [/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/spy/test_subroutine.rb:92]: --- expected +++ actual @@ -1 +1 @@ -[#, @singleton_method=true, @plan=#, @was_hooked=true, @calls=[], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=nil, @original_method=#, @hook_opts={:visibility=>:public}>] +[#, @singleton_method=true, @plan=nil, @was_hooked=true, @calls=[#, @called_from="/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_api.rb:31:in `test_have_received_with'", @args=[:bar], @block=nil, @result=nil>], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=1..1, @original_method=#, @hook_opts={:visibility=>:public}>, #, @singleton_method=true, @plan=nil, @was_hooked=true, @calls=[#, @called_from="/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_api.rb:17:in `test_assert_received_with'", @args=[:world], @block=nil, @result=nil>], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=1..1, @original_method=#, @hook_opts={:visibility=>:public}>, #, @singleton_method=true, @plan=nil, @was_hooked=true, @calls=[#, @called_from="/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_api.rb:25:in `test_have_received'", @args=[:foo], @block=nil, @result=nil>], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=1..1, @original_method=#, @hook_opts={:visibility=>:public}>, #, @singleton_method=true, @plan=nil, @was_hooked=true, @calls=[#, @called_from="/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0/test/integration/test_api.rb:12:in `test_assert_received'", @args=[:hello], @block=nil, @result=nil>], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=1..1, @original_method=#, @hook_opts={:visibility=>:public}>, #, @singleton_method=true, @plan=#, @was_hooked=true, @calls=[], @do_not_check_plan_arity=false, @hooked=false, @method_owner=#>, @original_method_visibility=:public, @arity_range=nil, @original_method=#, @hook_opts={:visibility=>:public}>] 62 runs, 122 assertions, 1 failures, 0 errors, 0 skips rake aborted! Command failed with status (1): [ruby -w -I"lib:test" -I"/usr/lib64/ruby/gems/2.5.0/gems/rake-13.0.1/lib" "/usr/lib64/ruby/gems/2.5.0/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" "test/integration/test_api.rb" "test/integration/test_constant_spying.rb" "test/integration/test_instance_method.rb" "test/integration/test_mocking.rb" "test/integration/test_subroutine_spying.rb" "test/spy/test_mock.rb" "test/spy/test_subroutine.rb" "test/test_helper.rb" ] Tasks: TOP => test (See full trace by running task with --trace) * ERROR: dev-ruby/spy-1.0.0::gentoo failed (test phase): * tests failed * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2042: Called ruby-ng_src_test * environment, line 1703: Called _ruby_each_implementation 'each_ruby_test' * environment, line 453: Called _ruby_invoke_environment 'ruby25' 'each_ruby_test' * environment, line 574: Called each_ruby_test * environment, line 761: Called each_fakegem_test * environment, line 739: Called die * The specific snippet of code: * ${RUBY} -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed" * * If you need support, post the output of `emerge --info '=dev-ruby/spy-1.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/spy-1.0.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-ruby/spy-1.0.0:20200824-035119.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/spy-1.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/spy-1.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0' * S: '/var/tmp/portage/dev-ruby/spy-1.0.0/work/ruby25/spy-1.0.0'