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-264498-51343/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-264498-51343/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.xreenA + 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.NHFrrD + umask 022 + cd /builddir/build/BUILD + cd dumb-init-1.2.2 + gcc -std=gnu99 -O2 -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.Nf0aLB + 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: 52kB, size after compression: 56kB /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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HWFVhD + 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.0b1, pytest-5.4.3, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/dumb-init-1.2.2, inifile: 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] PASSED [ 17%] tests/cli_test.py::test_exits_invalid_with_invalid_args[0-0] PASSED [ 17%] tests/cli_test.py::test_help_message[1-1--h] PASSED [ 18%] tests/cli_test.py::test_help_message[1-1---help] PASSED [ 19%] tests/cli_test.py::test_help_message[1-0--h] PASSED [ 19%] tests/cli_test.py::test_help_message[1-0---help] PASSED [ 20%] tests/cli_test.py::test_help_message[0-1--h] PASSED [ 20%] tests/cli_test.py::test_help_message[0-1---help] PASSED [ 21%] tests/cli_test.py::test_help_message[0-0--h] PASSED [ 21%] tests/cli_test.py::test_help_message[0-0---help] PASSED [ 22%] tests/cli_test.py::test_version_message[1-1--V] PASSED [ 23%] tests/cli_test.py::test_version_message[1-1---version] PASSED [ 23%] tests/cli_test.py::test_version_message[1-0--V] PASSED [ 24%] tests/cli_test.py::test_version_message[1-0---version] PASSED [ 24%] tests/cli_test.py::test_version_message[0-1--V] PASSED [ 25%] tests/cli_test.py::test_version_message[0-1---version] PASSED [ 25%] tests/cli_test.py::test_version_message[0-0--V] PASSED [ 26%] tests/cli_test.py::test_version_message[0-0---version] PASSED [ 26%] tests/cli_test.py::test_verbose[-v] PASSED [ 27%] tests/cli_test.py::test_verbose[--verbose] PASSED [ 28%] tests/cli_test.py::test_verbose_and_single_child[-c--v] PASSED [ 28%] tests/cli_test.py::test_verbose_and_single_child[-c---verbose] PASSED [ 29%] tests/cli_test.py::test_verbose_and_single_child[--single-child--v] PASSED [ 29%] tests/cli_test.py::test_verbose_and_single_child[--single-child---verbose] PASSED [ 30%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args0] PASSED [ 30%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args1] PASSED [ 31%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args2] PASSED [ 32%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args3] PASSED [ 32%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args4] PASSED [ 33%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args5] PASSED [ 33%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args6] PASSED [ 34%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args7] PASSED [ 34%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args8] PASSED [ 35%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args9] PASSED [ 35%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args0] PASSED [ 36%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args1] PASSED [ 37%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args2] PASSED [ 37%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args3] PASSED [ 38%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args4] PASSED [ 38%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args5] PASSED [ 39%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args6] PASSED [ 39%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args7] PASSED [ 40%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args8] PASSED [ 41%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args9] PASSED [ 41%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args0] PASSED [ 42%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args1] PASSED [ 42%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args2] PASSED [ 43%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args3] PASSED [ 43%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args4] PASSED [ 44%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args5] PASSED [ 44%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args6] PASSED [ 45%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args7] PASSED [ 46%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args8] PASSED [ 46%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args9] PASSED [ 47%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args0] PASSED [ 47%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args1] PASSED [ 48%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args2] PASSED [ 48%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args3] PASSED [ 49%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args4] PASSED [ 50%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args5] PASSED [ 50%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args6] PASSED [ 51%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args7] PASSED [ 51%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args8] PASSED [ 52%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args9] PASSED [ 52%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-0] PASSED [ 53%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-1] PASSED [ 53%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-2] PASSED [ 54%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-32] PASSED [ 55%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-64] PASSED [ 55%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-127] PASSED [ 56%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-254] PASSED [ 56%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-255] PASSED [ 57%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-0] PASSED [ 57%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-1] PASSED [ 58%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-2] PASSED [ 58%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-32] PASSED [ 59%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-64] PASSED [ 60%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-127] PASSED [ 60%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-254] PASSED [ 61%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-255] PASSED [ 61%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-0] PASSED [ 62%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-1] PASSED [ 62%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-2] PASSED [ 63%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-32] PASSED [ 64%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-64] PASSED [ 64%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-127] /var/tmp/rpm-tmp.HWFVhD: line 32: 34879 Killed PATH=.:$PATH timeout --signal=KILL 60 pytest-3 -vv tests/ error: Bad exit status from /var/tmp/rpm-tmp.HWFVhD (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HWFVhD (%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