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-383731-62137/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=1607817600 Wrote: /builddir/build/SRPMS/dumb-init-1.2.5-1.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-383731-62137/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=1607817600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VzoUPe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dumb-init-1.2.5 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/dumb-init-1.2.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dumb-init-1.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v0eX7c + umask 022 + cd /builddir/build/BUILD + cd dumb-init-1.2.5 + 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.5A95Ea + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64 + cd dumb-init-1.2.5 + install -Dpm0755 dumb-init /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64/usr/bin/dumb-init + install -Dpm0644 dumb-init.1 /builddir/build/BUILDROOT/dumb-init-1.2.5-1.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.5-1.fc33 --unique-debug-suffix -1.2.5-1.fc33.riscv64 --unique-debug-src-base dumb-init-1.2.5-1.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.5 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dumb-init-1.2.5-1.fc33.riscv64/usr/bin/dumb-init extracting debug info from /builddir/build/BUILDROOT/dumb-init-1.2.5-1.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. 23 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.Gb4Obd + umask 022 + cd /builddir/build/BUILD + cd dumb-init-1.2.5 + 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.1, 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.5, configfile: pytest.ini collecting ... collected 182 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 [ 4%] 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 [ 9%] 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 [ 10%] 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 [ 13%] 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 [ 14%] 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 [ 15%] 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 [ 18%] tests/cli_test.py::test_help_message[1-0--h] PASSED [ 19%] tests/cli_test.py::test_help_message[1-0---help] PASSED [ 19%] tests/cli_test.py::test_help_message[0-1--h] PASSED [ 20%] tests/cli_test.py::test_help_message[0-1---help] PASSED [ 20%] tests/cli_test.py::test_help_message[0-0--h] PASSED [ 21%] tests/cli_test.py::test_help_message[0-0---help] PASSED [ 21%] tests/cli_test.py::test_version_message[1-1--V] PASSED [ 22%] tests/cli_test.py::test_version_message[1-1---version] PASSED [ 23%] tests/cli_test.py::test_version_message[1-0--V] PASSED [ 23%] tests/cli_test.py::test_version_message[1-0---version] PASSED [ 24%] tests/cli_test.py::test_version_message[0-1--V] PASSED [ 24%] tests/cli_test.py::test_version_message[0-1---version] PASSED [ 25%] tests/cli_test.py::test_version_message[0-0--V] PASSED [ 25%] tests/cli_test.py::test_version_message[0-0---version] PASSED [ 26%] tests/cli_test.py::test_verbose[-v] PASSED [ 26%] tests/cli_test.py::test_verbose[--verbose] PASSED [ 27%] 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 [ 28%] 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 [ 29%] 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 [ 30%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args2] PASSED [ 31%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args3] PASSED [ 31%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args4] PASSED [ 32%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args5] PASSED [ 32%] tests/cli_test.py::test_rewrite_errors[1-1-extra_args6] PASSED [ 33%] 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 [ 34%] 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 [ 35%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args1] PASSED [ 36%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args2] PASSED [ 36%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args3] PASSED [ 37%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args4] PASSED [ 37%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args5] PASSED [ 38%] 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 [ 39%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args8] PASSED [ 40%] tests/cli_test.py::test_rewrite_errors[1-0-extra_args9] PASSED [ 40%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args0] PASSED [ 41%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args1] PASSED [ 41%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args2] PASSED [ 42%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args3] PASSED [ 42%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args4] PASSED [ 43%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args5] PASSED [ 43%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args6] PASSED [ 44%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args7] PASSED [ 45%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args8] PASSED [ 45%] tests/cli_test.py::test_rewrite_errors[0-1-extra_args9] PASSED [ 46%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args0] PASSED [ 46%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args1] PASSED [ 47%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args2] PASSED [ 47%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args3] PASSED [ 48%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args4] PASSED [ 48%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args5] PASSED [ 49%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args6] PASSED [ 50%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args7] PASSED [ 50%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args8] PASSED [ 51%] tests/cli_test.py::test_rewrite_errors[0-0-extra_args9] PASSED [ 51%] tests/cwd_test.py::test_working_directories[1-1] PASSED [ 52%] tests/cwd_test.py::test_working_directories[1-0] PASSED [ 52%] tests/cwd_test.py::test_working_directories[0-1] PASSED [ 53%] tests/cwd_test.py::test_working_directories[0-0] PASSED [ 53%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-0] PASSED [ 54%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-1] PASSED [ 54%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-2] PASSED [ 55%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-32] PASSED [ 56%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-64] PASSED [ 56%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-127] PASSED [ 57%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-254] PASSED [ 57%] tests/exit_status_test.py::test_exit_status_regular_exit[1-1-255] PASSED [ 58%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-0] PASSED [ 58%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-1] PASSED [ 59%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-2] PASSED [ 59%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-32] PASSED [ 60%] 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 [ 61%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-254] PASSED [ 62%] tests/exit_status_test.py::test_exit_status_regular_exit[1-0-255] PASSED [ 62%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-0] PASSED [ 63%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-1] PASSED [ 63%] tests/exit_status_test.py::test_exit_status_regular_exit[0-1-2] /var/tmp/rpm-tmp.Gb4Obd: line 32: 16012 Killed PATH=.:$PATH timeout --signal=KILL 60 pytest-3 -vv tests/ error: Bad exit status from /var/tmp/rpm-tmp.Gb4Obd (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Gb4Obd (%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