Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-process_executer.spec'], chrootPath='/var/lib/mock/f42-build-3313486-41426/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '24cd97f176b54dd699e877392da8e1b8', '-D', '/var/lib/mock/f42-build-3313486-41426/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-process_executer.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1741046400 Wrote: /builddir/build/SRPMS/rubygem-process_executer-2.0.0-2.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-process_executer.spec'], chrootPath='/var/lib/mock/f42-build-3313486-41426/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=864000uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'fe671837b83c41c99e5a6f98edd201ee', '-D', '/var/lib/mock/f42-build-3313486-41426/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jkoowpcr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-process_executer.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1741046400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.KSPQNZ + umask 022 + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + test -d /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CS6pVQ + umask 022 + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + rm -rf process_executer-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/process_executer-2.0.0.gem Unpacked gem: '/builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0' + STATUS=0 + '[' 0 -ne 0 ']' + cd process_executer-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar zxf /builddir/build/SOURCES/process_executer-2.0.0.tar.gz process_executer-2.0.0/spec --strip-components 1 + sed -i '/# SimpleCov configuration/,/^# Make sure to require your project/s/.*//' spec/spec_helper.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FC44kZ + umask 022 + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd process_executer-2.0.0 + gem build ../process_executer-2.0.0.gemspec WARNING: expected RubyGems version 3.5.16, was 3.6.2 WARNING: description and summary are identical WARNING: You have specified the uri: https://github.com/main-branch/process_executer for all of the following keys: homepage_uri source_code_uri Only the first one will be shown on rubygems.org WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: process_executer Version: 2.0.0 File: process_executer-2.0.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc process_executer-2.0.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0 Bin dir: /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/bin Gem home: /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/plugins /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.commitlintrc.yml /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.husky/commit-msg /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.markdownlint.yml /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.rspec /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.rubocop.yml /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/.yardopts /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/CHANGELOG.md /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/Gemfile /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/LICENSE.txt /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/README.md /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/Rakefile /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/errors.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/monitored_pipe.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/options.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/result.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/runner.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/lib/process_executer/version.rb /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/package.json /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/process_executer-2.0.0/usr/share/gems/gems/process_executer-2.0.0/process_executer.gemspec Successfully installed process_executer-2.0.0 Parsing documentation for process_executer-2.0.0 Parsing sources... 14% [ 1/ 7] lib/process_executer.rb 28% [ 2/ 7] lib/process_executer/errors.rb 42% [ 3/ 7] lib/process_executer/monitored_pipe.rb 57% [ 4/ 7] lib/process_executer/options.rb 71% [ 5/ 7] lib/process_executer/result.rb 85% [ 6/ 7] lib/process_executer/runner.rb 100% [ 7/ 7] lib/process_executer/version.rb Installing ri documentation for process_executer-2.0.0 Installing darkfish documentation for process_executer-2.0.0 Done installing documentation for process_executer after 7 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R4wC9B + umask 022 + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + '[' /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + mkdir /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd process_executer-2.0.0 + mkdir -p /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT/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/plugins ./usr/share/gems/specifications /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT/usr/share/gems/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT Scanned 34 directories and 137 files, processed 13 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tBfBHG + umask 022 + cd /builddir/build/BUILD/rubygem-process_executer-2.0.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd process_executer-2.0.0 + rspec spec ProcessExecuter::MonitoredPipe #initialize should create a new monitored pipe should start a thread to monitor the pipe should set the state to :open #close should eventually kill the thread should set the state to closed should be ok to call two or more times #to_io should return the pipe writer #fileno should return the file descriptor for the pipe writer #write with a single writer should write to the writer with multiple writers should write to the writers with a file descriptor to an open file should write to the file descriptor with a file descriptor to an open file should write to the file descriptor with :out should write to STDOUT with 1 should write to STDOUT with :err should write to STDERR with 2 should write to STDERR when there is time between the writes to the pipe should write to the writer when there is a delay before the first write to the pipe should write to the writer when there is a delay after the last write to the pipe should write to the writer with a large amount of data should write all the data to the writer when a writer raises an exception should eventually kill the monitoring thread should eventually set the state to :closed should eventually save the exception raised to #exception should raise an exception if #write is called after the pipe is closed after the pipe is closed should raise an exception ProcessExecuter::Options should define defaults for all options #initialize with no options is expected to have attributes {:chdir => :not_set, :close_others => :not_set, :err => :not_set, :in => :not_set, :new_pgroup => :not_set, :ou..., :rlimit_resourcename => :not_set, :timeout_after => nil, :umask => :not_set, :unsetenv_others => :not_set} with an option that is an Integer should not raise an Exception with all valid options should test all options should have the expected values of all options with an unknown option should raise an ArgumentError #spawn_options when no options are given is expected to eq {} when all options are given is expected to eq {:chdir=>#, :close_others=>#, :err=>#, :in=>#, :umask=>#, :unsetenv_others=>#} when an integer options is given should be included in the spawn_options when an IO option is given should be included in the spawn_options ProcessExecuter .run with command given as a single string is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:exitstatus => 0, :signaled? => false, :success? => true, :timed_out? => false} is expected to process the command with the shell and do shell expansions with a command that returns exitstatus 0 is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:exitstatus => 0, :signaled? => false, :success? => true, :timed_out? => false} is expected to capture the command output when the output can not be determined when stdout can not be determined should return nil for stdout when stderr can not be determined should return nil for stderr with a command that returns exitstatus 1 is expected to raise an command error the error raised is expected to be a kind of ProcessExecuter::FailedError is expected to have the expected error message the result object contained in the error is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:exitstatus => 1, :success? => false} is expected have the output from the command with a command that times out is expected to raise an error the error raised is expected to be a kind of ProcessExecuter::TimeoutError is expected to have the expected error message the result object contained in the error is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:success? => nil, :timed_out? => true} with a command that exits due to an unhandled signal is expected to raise an error the error raised is expected to be a kind of ProcessExecuter::SignaledError is expected to have the expected error message the result object contained in the error is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:signaled? => true, :termsig => 9} with raise_errors set to false a command that returns exitstatus 1 is not expected to raise an error is expected to return an a Result a command that times out is not expected to raise an error is expected to return a result a command that exits due to an unhandled signal is not expected to raise an error is expected to return a result with environment variables when adding environment variables is expected to add those variables in the environment when removing environment variables is expected to remove those variables from the environment when resetting the environment is expected to remove all existing variables from the environment and add the given variables running the command in a different directory is expected to run the command in the specified directory merge stdout and stderr is expected to merge stdout and stderr buffers are given for stdout and stderr is expected to capture stdout and stderr to the given buffers when a file is given to capture stdout and stderr is expected to capture stdout to the file and stderr to the buffer when a pipe exception occurs is expected to raise ProcessExecuter::ProcessIOError when given a logger a command that returns exitstatus 0 when log level is WARN is expected not to log anything when log level is INFO is expected to log the command and its status when log level is DEBUG is expected to log the command and its status AND the command stdout and stderr a command that returns exitstatus 1 when log level is WARN is expected not to log anything when log level is INFO is expected to log the command and its status a command that times out when log level is WARN is expected not to log anything when log level is INFO is expected to log the command and its status when given multiple writers to capture stdout is expected to write stdout output to all writers ProcessExecuter .spawn_and_wait when :timeout_after is specified when :timeout_after is a String should raise an ArgumentError when :timeout_after is a Complex should raise an ArgumentError when :timeout_after is nil should NOT raise an error when :timeout_after is an Integer should NOT raise an error when :timeout_after is a Float should NOT raise an error for a command that does not time out is expected to be a kind of ProcessExecuter::Result is expected to have attributes {:exitstatus => 1, :timed_out? => false} for a command that times out is expected to be a kind of ProcessExecuter::Result should have killed the process Finished in 1 minute 22.94 seconds (files took 2.66 seconds to load) 90 examples, 0 failures + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-process_executer-2.0.0-2.fc42.noarch Provides: rubygem(process_executer) = 2.0.0 rubygem-process_executer = 2.0.0-2.fc42 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-process_executer-doc-2.0.0-2.fc42.noarch Provides: rubygem-process_executer-doc = 2.0.0-2.fc42 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/BUILD/rubygem-process_executer-2.0.0-build/BUILDROOT Wrote: /builddir/build/RPMS/rubygem-process_executer-2.0.0-2.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-process_executer-doc-2.0.0-2.fc42.noarch.rpm Child return code was: 0