Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dumb-init.spec'], chrootPath='/var/lib/mock/f33-build-356420-60122/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dumb-init.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/dumb-init-1.2.2-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dumb-init.spec'], chrootPath='/var/lib/mock/f33-build-356420-60122/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dumb-init.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LJwYi9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dumb-init-1.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/dumb-init-1.2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dumb-init-1.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dumb-init.sleep.patch):' Patch #0 (dumb-init.sleep.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/child_processes_test.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F7GeHb + umask 022 + cd /builddir/build/BUILD + cd dumb-init-1.2.2 + gcc -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -o dumb-init dumb-init.c + help2man --no-discard-stderr --include debian/help2man --no-info --name 'Entry-point for containers that proxies signals' ./dumb-init + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WCrux8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64 + cd dumb-init-1.2.2 + install -Dpm0755 dumb-init /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64/usr/bin/dumb-init + install -Dpm0644 dumb-init.1 /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64/usr/share/man/man1/dumb-init.1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.2-6.fc33 --unique-debug-suffix -1.2.2-6.fc33.riscv64 --unique-debug-src-base dumb-init-1.2.2-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dumb-init-1.2.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64/usr/bin/dumb-init extracting debug info from /builddir/build/BUILDROOT/dumb-init-1.2.2-6.fc33.riscv64/usr/bin/dumb-init original debug info size: 84kB, size after compression: 88kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 22 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DKdD8b + umask 022 + cd /builddir/build/BUILD + cd dumb-init-1.2.2 + PATH=.:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + timeout --signal=KILL 60 pytest-3 -vv tests/ ============================= test session starts ============================== platform linux -- Python 3.9.0, pytest-6.0.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/dumb-init-1.2.2, configfile: pytest.ini collecting ... collected 178 items tests/child_processes_test.py::test_setsid_signals_entire_group[1] PASSED [ 0%] tests/child_processes_test.py::test_setsid_signals_entire_group[0] PASSED [ 1%] tests/child_processes_test.py::test_no_setsid_doesnt_signal_entire_group[1] PASSED [ 1%] tests/child_processes_test.py::test_no_setsid_doesnt_signal_entire_group[0] PASSED [ 2%] tests/child_processes_test.py::test_all_processes_receive_term_on_exit_if_setsid[1] FAILED [ 2%] tests/child_processes_test.py::test_all_processes_receive_term_on_exit_if_setsid[0] FAILED [ 3%] tests/child_processes_test.py::test_processes_dont_receive_term_on_exit_if_no_setsid[1] PASSED [ 3%] tests/child_processes_test.py::test_processes_dont_receive_term_on_exit_if_no_setsid[0] PASSED [ 4%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-1-args0] PASSED [ 5%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-1-args1] PASSED [ 5%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-1-args2] PASSED [ 6%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-1-args3] PASSED [ 6%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-0-args0] PASSED [ 7%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-0-args1] PASSED [ 7%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-0-args2] PASSED [ 8%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[1-0-args3] PASSED [ 8%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-1-args0] PASSED [ 9%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-1-args1] PASSED [ 10%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-1-args2] PASSED [ 10%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-1-args3] PASSED [ 11%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-0-args0] PASSED [ 11%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-0-args1] PASSED [ 12%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-0-args2] PASSED [ 12%] tests/child_processes_test.py::test_fails_nonzero_with_bad_exec[0-0-args3] PASSED [ 13%] tests/cli_test.py::test_no_arguments_prints_usage[1-1] PASSED [ 14%] tests/cli_test.py::test_no_arguments_prints_usage[1-0] PASSED [ 14%] tests/cli_test.py::test_no_arguments_prints_usage[0-1] PASSED [ 15%] tests/cli_test.py::test_no_arguments_prints_usage[0-0] PASSED [ 15%] tests/cli_test.py::test_exits_invalid_with_invalid_args[1-1] PASSED [ 16%] tests/cli_test.py::test_exits_invalid_with_invalid_args[1-0] PASSED [ 16%] tests/cli_test.py::test_exits_invalid_with_invalid_args[0-1] /var/tmp/rpm-tmp.DKdD8b: line 32: 101631 Killed PATH=.:$PATH timeout --signal=KILL 60 pytest-3 -vv tests/ error: Bad exit status from /var/tmp/rpm-tmp.DKdD8b (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DKdD8b (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dumb-init.spec