Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-method_source.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587698637.651626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3115871d1e847a6a25263f833d00008', '-D', '/var/lib/mock/epel-7-x86_64-1587698637.651626/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-method_source.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-method_source-0.8.2-11.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-method_source.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587698637.651626/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '23fef2a5c3aa4a2da705b0eb14456af3', '-D', '/var/lib/mock/epel-7-x86_64-1587698637.651626/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8p7pm0iz:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-method_source.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oa3568 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rubygem-method_source-0.8.2 + /usr/bin/mkdir -p rubygem-method_source-0.8.2 + cd rubygem-method_source-0.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc /builddir/build/SOURCES/method_source-0.8.2.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-method_source-0.8.2 Bin dir: /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/bin Gem home: /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/.gemtest /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/.travis.yml /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/.yardopts /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/Gemfile /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/LICENSE /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/README.markdown /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/Rakefile /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/lib/method_source.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/lib/method_source/code_helpers.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/lib/method_source/source_location.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/lib/method_source/version.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/method_source.gemspec /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/test/test.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/test/test_code_helpers.rb /builddir/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2/test/test_helper.rb Successfully installed method_source-0.8.2 Parsing documentation for method_source-0.8.2 Parsing sources... 25% [ 1/ 4] lib/method_source.rb 50% [ 2/ 4] lib/method_source/code_helpers.rb 75% [ 3/ 4] lib/method_source/source_location.rb 100% [ 4/ 4] lib/method_source/version.rb Installing ri documentation for method_source-0.8.2 Installing darkfish documentation for method_source-0.8.2 Done installing documentation for method_source after 0 seconds 1 gem installed + pushd ./usr/share/gems/gems/method_source-0.8.2 ~/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2 ~/build/BUILD/rubygem-method_source-0.8.2 Patch #0 (rubygem-method_source-0.8.2-fix-fixnum-bignum-warnings.patch): + echo 'Patch #0 (rubygem-method_source-0.8.2-fix-fixnum-bignum-warnings.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/rubygem-method_source-0.8.2-fix-fixnum-bignum-warnings.patch patching file lib/method_source/code_helpers.rb patching file lib/method_source/source_location.rb + popd ~/build/BUILD/rubygem-method_source-0.8.2 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yfcAnp + umask 022 + cd /builddir/build/BUILD Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tr6pEF + cd rubygem-method_source-0.8.2 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 + cd rubygem-method_source-0.8.2 + mkdir -p /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/rubygem-method_source-0.8.2 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Yv5Q4V + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/rubygem-method_source-0.8.2/usr/share/gems/gems/method_source-0.8.2 ~/build/BUILD/rubygem-method_source-0.8.2 + cd rubygem-method_source-0.8.2 + pushd ./usr/share/gems/gems/method_source-0.8.2 + patch -p1 + cat /builddir/build/SOURCES/rubygem-method_source-0.8.2-fix-fixnum-bignum-warnings-tests.patch patching file test/test.rb + bacon test/test.rb MethodSource source_location (testing 1.8 implementation) - should return correct source_location for a method - should not raise for immediate instance methods - should not raise for immediate methods - should define methods on Method and UnboundMethod and Proc Methods - should return source for method - should return source for a method defined in a module - should return source for a singleton method as an instance method - should return source for a singleton method - should return a comment for method - should return source for an *_evaled method - should raise error for evaled methods that do not pass __FILE__ and __LINE__ + 1 as its arguments - should raise for C methods Lambdas and Procs - should return source for proc - should return an empty string if there is no comment - should return source for lambda - should return comment for lambda Comment tests - should correctly extract multi-line comments - should correctly strip leading whitespace before comments - should keep empty comment lines - should ignore blank lines between comments - should align all comments to same indent level 21 specifications (34 requirements), 0 failures, 0 errors ~/build/BUILD/rubygem-method_source-0.8.2 Processing files: rubygem-method_source-0.8.2-11.el7.noarch + popd + exit 0 Provides: rubygem(method_source) = 0.8.2 rubygem-method_source = 0.8.2-11.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-method_source-doc-0.8.2-11.el7.noarch Provides: rubygem-method_source-doc = 0.8.2-11.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 Wrote: /builddir/build/RPMS/rubygem-method_source-0.8.2-11.el7.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-method_source-doc-0.8.2-11.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0AdMsN + umask 022 + cd /builddir/build/BUILD + cd rubygem-method_source-0.8.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-method_source-0.8.2-11.el7.x86_64 + exit 0 Child return code was: 0