Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.spec'], chrootPath='/var/lib/mock/epel8-build-58194050-6563098/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9jtmcwq0:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.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'} and shell False sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory sh: /usr/bin/python3.6: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-sh-1.12.14-16.el8.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/python-sh.spec'], chrootPath='/var/lib/mock/epel8-build-58194050-6563098/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9jtmcwq0:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DaCysQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sh-1.12.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/sh-1.12.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sh-1.12.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/no-coverage.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/pep-0538-test-fix.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/always-use-fully-versioned-python-command-in-tests.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qj2cDo + umask 022 + cd /builddir/build/BUILD + cd sh-1.12.14 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib copying sh.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WIJ2t4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch + cd sh-1.12.14 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr creating /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6/site-packages copying build/lib/sh.py -> /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6/site-packages/sh.py to sh.cpython-36.pyc writing byte-compilation script '/tmp/tmpf75_gga0.py' /usr/bin/python3.6 /tmp/tmpf75_gga0.py removing /tmp/tmpf75_gga0.py running install_egg_info running egg_info writing sh.egg-info/PKG-INFO writing dependency_links to sh.egg-info/dependency_links.txt writing top-level names to sh.egg-info/top_level.txt reading manifest file 'sh.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'sh.egg-info/SOURCES.txt' Copying sh.egg-info to /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6/site-packages/sh-1.12.14-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 1.12.14-16.el8 --unique-debug-suffix -1.12.14-16.el8.noarch --unique-debug-src-base python-sh-1.12.14-16.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sh-1.12.14 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sh-1.12.14-16.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OMcTTn + umask 022 + cd /builddir/build/BUILD + cd sh-1.12.14 + /usr/bin/python3.6 sh.py travis test_basic (__main__.ExecutionContextTests) ... ok test_importer_detects_module_name (__main__.ExecutionContextTests) ... ok test_importer_only_works_with_sh (__main__.ExecutionContextTests) ... ok test_no_bad_name (__main__.ExecutionContextTests) ... ok test_no_interfere1 (__main__.ExecutionContextTests) ... ok test_no_interfere2 (__main__.ExecutionContextTests) ... ok test_reimport_no_interfere (__main__.ExecutionContextTests) ... ok test_set_in_parent_function (__main__.ExecutionContextTests) ... ok test_append_stdout (__main__.FunctionalTests) ... ok test_arg_preprocessor (__main__.FunctionalTests) ... ok test_background (__main__.FunctionalTests) ... ok test_background_exception (__main__.FunctionalTests) ... ok test_bake_args_come_first (__main__.FunctionalTests) ... ok test_baked_command_can_be_printed (__main__.FunctionalTests) ... ok test_bg_exit_code (__main__.FunctionalTests) ... ok test_binary_input (__main__.FunctionalTests) ... ok test_binary_pipe (__main__.FunctionalTests) ... ok test_callable_interact (__main__.FunctionalTests) ... ok test_callable_stdin (__main__.FunctionalTests) ... ok test_cast_bg (__main__.FunctionalTests) ... ok test_cd_homedir (__main__.FunctionalTests) ... ok test_change_stdout_buffering (__main__.FunctionalTests) ... ok test_cmd_eq (__main__.FunctionalTests) ... ok test_command_not_found (__main__.FunctionalTests) ... ok test_command_wrapper (__main__.FunctionalTests) ... ok test_command_wrapper_equivalence (__main__.FunctionalTests) ... ok test_composition (__main__.FunctionalTests) ... ok test_custom_long_prefix (__main__.FunctionalTests) ... ok test_custom_separator (__main__.FunctionalTests) ... ok test_custom_separator_space (__main__.FunctionalTests) ... ok test_custom_timeout_signal (__main__.FunctionalTests) ... ok test_cwd (__main__.FunctionalTests) ... ok test_decode_error_handling (__main__.FunctionalTests) ... ok test_doesnt_execute_directories (__main__.FunctionalTests) ... ok test_done_callback (__main__.FunctionalTests) ... ok test_done_cb_exc (__main__.FunctionalTests) ... ok test_encoding (__main__.FunctionalTests) ... ok test_environment (__main__.FunctionalTests) tests that environments variables that we pass into sh commands ... ok test_err_piped (__main__.FunctionalTests) ... ok test_err_redirection (__main__.FunctionalTests) ... ok test_err_redirection_actual_file (__main__.FunctionalTests) ... ok test_err_to_out (__main__.FunctionalTests) ... ok test_err_to_out_and_sys_stdout (__main__.FunctionalTests) ... ok test_exception (__main__.FunctionalTests) ... ok test_exit_code (__main__.FunctionalTests) ... ok test_exit_code_from_exception (__main__.FunctionalTests) ... ok test_exit_code_with_hasattr (__main__.FunctionalTests) ... ok test_failure_with_large_output (__main__.FunctionalTests) ... ok test_fg (__main__.FunctionalTests) ... ok test_fg_alternative (__main__.FunctionalTests) ... ok test_fg_env (__main__.FunctionalTests) ... ok test_fg_exc (__main__.FunctionalTests) ... ok test_for_generator_to_err (__main__.FunctionalTests) ... ok test_fork_exc (__main__.FunctionalTests) ... ok test_general_signal (__main__.FunctionalTests) ... ok test_generator_and_callback (__main__.FunctionalTests) ... ok test_grandchild_no_sighup (__main__.FunctionalTests) ... ok test_huge_piped_data (__main__.FunctionalTests) ... ok test_incompatible_special_args (__main__.FunctionalTests) ... ok test_incremental_composition (__main__.FunctionalTests) ... ok test_internal_bufsize (__main__.FunctionalTests) ... ok test_iter_generator (__main__.FunctionalTests) ... ok test_iter_unicode (__main__.FunctionalTests) ... ok test_long_bool_option (__main__.FunctionalTests) ... ok test_long_option (__main__.FunctionalTests) ... ok test_manual_stdin_file (__main__.FunctionalTests) ... ok test_manual_stdin_iterable (__main__.FunctionalTests) ... ok test_manual_stdin_queue (__main__.FunctionalTests) ... ok test_manual_stdin_string (__main__.FunctionalTests) ... ok test_multiple_args_long_option (__main__.FunctionalTests) ... ok test_multiple_args_short_option (__main__.FunctionalTests) ... ok test_multiple_bakes (__main__.FunctionalTests) ... ok test_multiple_pipes (__main__.FunctionalTests) ... ok test_new_session (__main__.FunctionalTests) ... ok test_no_arg (__main__.FunctionalTests) ... ok test_no_err (__main__.FunctionalTests) ... ok test_no_out (__main__.FunctionalTests) ... ok test_no_pipe (__main__.FunctionalTests) ... ok test_no_proc_no_attr (__main__.FunctionalTests) ... ok test_non_ascii_error (__main__.FunctionalTests) ... ok test_non_existant_cwd (__main__.FunctionalTests) ... ok test_nonblocking_iter (__main__.FunctionalTests) ... ok test_number_arg (__main__.FunctionalTests) ... ok test_ok_code (__main__.FunctionalTests) ... ok test_ok_code_none (__main__.FunctionalTests) ... ok test_out_filename (__main__.FunctionalTests) ... ok test_out_redirection (__main__.FunctionalTests) ... ok test_output_equivalence (__main__.FunctionalTests) ... ok test_partially_applied_callback (__main__.FunctionalTests) ... ok test_patched_glob (__main__.FunctionalTests) ... ok test_patched_glob_with_recursive_argument (__main__.FunctionalTests) ... ok test_pipe_fd (__main__.FunctionalTests) ... ok test_piped_exception1 (__main__.FunctionalTests) ... ok test_piped_exception2 (__main__.FunctionalTests) ... ok test_piped_generator (__main__.FunctionalTests) ... ok test_print_command (__main__.FunctionalTests) ... ok test_pushd (__main__.FunctionalTests) test basic pushd functionality ... ok test_pushd_cd (__main__.FunctionalTests) test that pushd works like pushd/popd with built-in cd correctly ... ok test_quote_escaping (__main__.FunctionalTests) ... ok test_raw_args (__main__.FunctionalTests) ... ok test_shadowed_subcommand (__main__.FunctionalTests) ... ok test_short_bool_option (__main__.FunctionalTests) ... ok test_short_option (__main__.FunctionalTests) ... ok test_signal_exception (__main__.FunctionalTests) ... ok test_signal_group (__main__.FunctionalTests) ... ok test_sigpipe (__main__.FunctionalTests) ... ok test_stdin_from_string (__main__.FunctionalTests) ... ok test_stdin_newline_bufsize (__main__.FunctionalTests) ... ok test_stdin_unbuffered_bufsize (__main__.FunctionalTests) ... ok test_stdout_callback (__main__.FunctionalTests) ... ok test_stdout_callback_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_exit (__main__.FunctionalTests) ... ok test_stdout_callback_kill (__main__.FunctionalTests) ... ok test_stdout_callback_line_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_line_unbuffered (__main__.FunctionalTests) ... ok test_stdout_callback_no_wait (__main__.FunctionalTests) ... ok test_stdout_callback_terminate (__main__.FunctionalTests) ... ok test_stdout_callback_with_input (__main__.FunctionalTests) ... ok test_stdout_pipe (__main__.FunctionalTests) ... ok test_stringio_input (__main__.FunctionalTests) ... ok test_stringio_output (__main__.FunctionalTests) ... ok test_subcommand_and_bake (__main__.FunctionalTests) ... ok test_timeout (__main__.FunctionalTests) ... ok test_timeout_overstep (__main__.FunctionalTests) ... ok test_trunc_exc (__main__.FunctionalTests) ... ok test_tty_input (__main__.FunctionalTests) ... ok test_tty_output (__main__.FunctionalTests) ... ok test_tty_stdin (__main__.FunctionalTests) ... ok test_tty_tee (__main__.FunctionalTests) ... ok test_unchecked_pipeline_failure (__main__.FunctionalTests) ... ok test_unchecked_producer_failure (__main__.FunctionalTests) ... ok test_unicode_arg (__main__.FunctionalTests) ... ok test_unicode_exception (__main__.FunctionalTests) ... ok test_which (__main__.FunctionalTests) ... ok test_which_paths (__main__.FunctionalTests) ... ok test_with_context (__main__.FunctionalTests) ... ok test_with_context_args (__main__.FunctionalTests) ... ok test_args_deprecated (__main__.MiscTests) ... ok test_cant_import_all (__main__.MiscTests) ... ok test_change_log_message (__main__.MiscTests) ... ok test_eintr (__main__.MiscTests) ... ok test_fd_over_1024 (__main__.MiscTests) ... skipped 'Only enabled for select.select' test_no_fd_leak (__main__.MiscTests) ... ok test_percent_doesnt_fail_logging (__main__.MiscTests) test that a command name doesn't interfere with string formatting in ... ok test_pushd_thread_safety (__main__.MiscTests) ... ok test_signal_exception_aliases (__main__.MiscTests) proves that signal exceptions with numbers and names are equivalent ... ok test_stdin_nohang (__main__.MiscTests) ... ok test_stop_iteration_doesnt_block (__main__.MiscTests) proves that calling calling next() on a stopped iterator doesn't ... ok test_threaded_with_contexts (__main__.MiscTests) ... ok test_unicode_path (__main__.MiscTests) ... ok test_wraps (__main__.MiscTests) ... ok test_patch_command (__main__.MockTests) ... ok test_patch_command_cls (__main__.MockTests) ... ok test_chunk_buffered (__main__.StreamBuffererTests) ... ok test_newline_buffered (__main__.StreamBuffererTests) ... ok test_unbuffered (__main__.StreamBuffererTests) ... ok ---------------------------------------------------------------------- Ran 156 tests in 41.514s OK (skipped=1) test_basic (__main__.ExecutionContextTests) ... ok test_importer_detects_module_name (__main__.ExecutionContextTests) ... ok test_importer_only_works_with_sh (__main__.ExecutionContextTests) ... ok test_no_bad_name (__main__.ExecutionContextTests) ... ok test_no_interfere1 (__main__.ExecutionContextTests) ... ok test_no_interfere2 (__main__.ExecutionContextTests) ... ok test_reimport_no_interfere (__main__.ExecutionContextTests) ... ok test_set_in_parent_function (__main__.ExecutionContextTests) ... ok test_append_stdout (__main__.FunctionalTests) ... ok test_arg_preprocessor (__main__.FunctionalTests) ... ok test_background (__main__.FunctionalTests) ... ok test_background_exception (__main__.FunctionalTests) ... ok test_bake_args_come_first (__main__.FunctionalTests) ... ok test_baked_command_can_be_printed (__main__.FunctionalTests) ... ok test_bg_exit_code (__main__.FunctionalTests) ... ok test_binary_input (__main__.FunctionalTests) ... ok test_binary_pipe (__main__.FunctionalTests) ... ok test_callable_interact (__main__.FunctionalTests) ... ok test_callable_stdin (__main__.FunctionalTests) ... ok test_cast_bg (__main__.FunctionalTests) ... ok test_cd_homedir (__main__.FunctionalTests) ... ok test_change_stdout_buffering (__main__.FunctionalTests) ... ok test_cmd_eq (__main__.FunctionalTests) ... ok test_command_not_found (__main__.FunctionalTests) ... ok test_command_wrapper (__main__.FunctionalTests) ... ok test_command_wrapper_equivalence (__main__.FunctionalTests) ... ok test_composition (__main__.FunctionalTests) ... ok test_custom_long_prefix (__main__.FunctionalTests) ... ok test_custom_separator (__main__.FunctionalTests) ... ok test_custom_separator_space (__main__.FunctionalTests) ... ok test_custom_timeout_signal (__main__.FunctionalTests) ... ok test_cwd (__main__.FunctionalTests) ... ok test_decode_error_handling (__main__.FunctionalTests) ... ok test_doesnt_execute_directories (__main__.FunctionalTests) ... ok test_done_callback (__main__.FunctionalTests) ... ok test_done_cb_exc (__main__.FunctionalTests) ... ok test_encoding (__main__.FunctionalTests) ... ok test_environment (__main__.FunctionalTests) tests that environments variables that we pass into sh commands ... ok test_err_piped (__main__.FunctionalTests) ... ok test_err_redirection (__main__.FunctionalTests) ... ok test_err_redirection_actual_file (__main__.FunctionalTests) ... ok test_err_to_out (__main__.FunctionalTests) ... ok test_err_to_out_and_sys_stdout (__main__.FunctionalTests) ... ok test_exception (__main__.FunctionalTests) ... ok test_exit_code (__main__.FunctionalTests) ... ok test_exit_code_from_exception (__main__.FunctionalTests) ... ok test_exit_code_with_hasattr (__main__.FunctionalTests) ... ok test_failure_with_large_output (__main__.FunctionalTests) ... ok test_fg (__main__.FunctionalTests) ... ok test_fg_alternative (__main__.FunctionalTests) ... ok test_fg_env (__main__.FunctionalTests) ... ok test_fg_exc (__main__.FunctionalTests) ... ok test_for_generator_to_err (__main__.FunctionalTests) ... ok test_fork_exc (__main__.FunctionalTests) ... ok test_general_signal (__main__.FunctionalTests) ... ok test_generator_and_callback (__main__.FunctionalTests) ... ok test_grandchild_no_sighup (__main__.FunctionalTests) ... ok test_huge_piped_data (__main__.FunctionalTests) ... ok test_incompatible_special_args (__main__.FunctionalTests) ... ok test_incremental_composition (__main__.FunctionalTests) ... ok test_internal_bufsize (__main__.FunctionalTests) ... ok test_iter_generator (__main__.FunctionalTests) ... ok test_iter_unicode (__main__.FunctionalTests) ... ok test_long_bool_option (__main__.FunctionalTests) ... ok test_long_option (__main__.FunctionalTests) ... ok test_manual_stdin_file (__main__.FunctionalTests) ... ok test_manual_stdin_iterable (__main__.FunctionalTests) ... ok test_manual_stdin_queue (__main__.FunctionalTests) ... ok test_manual_stdin_string (__main__.FunctionalTests) ... ok test_multiple_args_long_option (__main__.FunctionalTests) ... ok test_multiple_args_short_option (__main__.FunctionalTests) ... ok test_multiple_bakes (__main__.FunctionalTests) ... ok test_multiple_pipes (__main__.FunctionalTests) ... ok test_new_session (__main__.FunctionalTests) ... ok test_no_arg (__main__.FunctionalTests) ... ok test_no_err (__main__.FunctionalTests) ... ok test_no_out (__main__.FunctionalTests) ... ok test_no_pipe (__main__.FunctionalTests) ... ok test_no_proc_no_attr (__main__.FunctionalTests) ... ok test_non_ascii_error (__main__.FunctionalTests) ... ok test_non_existant_cwd (__main__.FunctionalTests) ... ok test_nonblocking_iter (__main__.FunctionalTests) ... ok test_number_arg (__main__.FunctionalTests) ... ok test_ok_code (__main__.FunctionalTests) ... ok test_ok_code_none (__main__.FunctionalTests) ... ok test_out_filename (__main__.FunctionalTests) ... ok test_out_redirection (__main__.FunctionalTests) ... ok test_output_equivalence (__main__.FunctionalTests) ... ok test_partially_applied_callback (__main__.FunctionalTests) ... ok test_patched_glob (__main__.FunctionalTests) ... ok test_patched_glob_with_recursive_argument (__main__.FunctionalTests) ... ok test_pipe_fd (__main__.FunctionalTests) ... ok test_piped_exception1 (__main__.FunctionalTests) ... ok test_piped_exception2 (__main__.FunctionalTests) ... ok test_piped_generator (__main__.FunctionalTests) ... ok test_print_command (__main__.FunctionalTests) ... ok test_pushd (__main__.FunctionalTests) test basic pushd functionality ... ok test_pushd_cd (__main__.FunctionalTests) test that pushd works like pushd/popd with built-in cd correctly ... ok test_quote_escaping (__main__.FunctionalTests) ... ok test_raw_args (__main__.FunctionalTests) ... ok test_shadowed_subcommand (__main__.FunctionalTests) ... ok test_short_bool_option (__main__.FunctionalTests) ... ok test_short_option (__main__.FunctionalTests) ... ok test_signal_exception (__main__.FunctionalTests) ... ok test_signal_group (__main__.FunctionalTests) ... ok test_sigpipe (__main__.FunctionalTests) ... ok test_stdin_from_string (__main__.FunctionalTests) ... ok test_stdin_newline_bufsize (__main__.FunctionalTests) ... ok test_stdin_unbuffered_bufsize (__main__.FunctionalTests) ... ok test_stdout_callback (__main__.FunctionalTests) ... ok test_stdout_callback_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_exit (__main__.FunctionalTests) ... ok test_stdout_callback_kill (__main__.FunctionalTests) ... ok test_stdout_callback_line_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_line_unbuffered (__main__.FunctionalTests) ... ok test_stdout_callback_no_wait (__main__.FunctionalTests) ... ok test_stdout_callback_terminate (__main__.FunctionalTests) ... ok test_stdout_callback_with_input (__main__.FunctionalTests) ... ok test_stdout_pipe (__main__.FunctionalTests) ... ok test_stringio_input (__main__.FunctionalTests) ... ok test_stringio_output (__main__.FunctionalTests) ... ok test_subcommand_and_bake (__main__.FunctionalTests) ... ok test_timeout (__main__.FunctionalTests) ... ok test_timeout_overstep (__main__.FunctionalTests) ... ok test_trunc_exc (__main__.FunctionalTests) ... ok test_tty_input (__main__.FunctionalTests) ... ok test_tty_output (__main__.FunctionalTests) ... ok test_tty_stdin (__main__.FunctionalTests) ... ok test_tty_tee (__main__.FunctionalTests) ... ok test_unchecked_pipeline_failure (__main__.FunctionalTests) ... ok test_unchecked_producer_failure (__main__.FunctionalTests) ... ok test_unicode_arg (__main__.FunctionalTests) ... ok test_unicode_exception (__main__.FunctionalTests) ... ok test_which (__main__.FunctionalTests) ... ok test_which_paths (__main__.FunctionalTests) ... ok test_with_context (__main__.FunctionalTests) ... ok test_with_context_args (__main__.FunctionalTests) ... ok test_args_deprecated (__main__.MiscTests) ... ok test_cant_import_all (__main__.MiscTests) ... ok test_change_log_message (__main__.MiscTests) ... ok test_eintr (__main__.MiscTests) ... ok test_fd_over_1024 (__main__.MiscTests) ... ok test_no_fd_leak (__main__.MiscTests) ... ok test_percent_doesnt_fail_logging (__main__.MiscTests) test that a command name doesn't interfere with string formatting in ... ok test_pushd_thread_safety (__main__.MiscTests) ... ok test_signal_exception_aliases (__main__.MiscTests) proves that signal exceptions with numbers and names are equivalent ... ok test_stdin_nohang (__main__.MiscTests) ... ok test_stop_iteration_doesnt_block (__main__.MiscTests) proves that calling calling next() on a stopped iterator doesn't ... ok test_threaded_with_contexts (__main__.MiscTests) ... ok test_unicode_path (__main__.MiscTests) ... ok test_wraps (__main__.MiscTests) ... ok test_patch_command (__main__.MockTests) ... ok test_patch_command_cls (__main__.MockTests) ... ok test_chunk_buffered (__main__.StreamBuffererTests) ... ok test_newline_buffered (__main__.StreamBuffererTests) ... ok test_unbuffered (__main__.StreamBuffererTests) ... ok ---------------------------------------------------------------------- Ran 156 tests in 41.581s OK test_basic (__main__.ExecutionContextTests) ... ok test_importer_detects_module_name (__main__.ExecutionContextTests) ... ok test_importer_only_works_with_sh (__main__.ExecutionContextTests) ... ok test_no_bad_name (__main__.ExecutionContextTests) ... ok test_no_interfere1 (__main__.ExecutionContextTests) ... ok test_no_interfere2 (__main__.ExecutionContextTests) ... ok test_reimport_no_interfere (__main__.ExecutionContextTests) ... ok test_set_in_parent_function (__main__.ExecutionContextTests) ... ok test_append_stdout (__main__.FunctionalTests) ... ok test_arg_preprocessor (__main__.FunctionalTests) ... ok test_background (__main__.FunctionalTests) ... ok test_background_exception (__main__.FunctionalTests) ... ok test_bake_args_come_first (__main__.FunctionalTests) ... ok test_baked_command_can_be_printed (__main__.FunctionalTests) ... ok test_bg_exit_code (__main__.FunctionalTests) ... ok test_binary_input (__main__.FunctionalTests) ... ok test_binary_pipe (__main__.FunctionalTests) ... ok test_callable_interact (__main__.FunctionalTests) ... ok test_callable_stdin (__main__.FunctionalTests) ... ok test_cast_bg (__main__.FunctionalTests) ... ok test_cd_homedir (__main__.FunctionalTests) ... ok test_change_stdout_buffering (__main__.FunctionalTests) ... ok test_cmd_eq (__main__.FunctionalTests) ... ok test_command_not_found (__main__.FunctionalTests) ... ok test_command_wrapper (__main__.FunctionalTests) ... ok test_command_wrapper_equivalence (__main__.FunctionalTests) ... ok test_composition (__main__.FunctionalTests) ... ok test_custom_long_prefix (__main__.FunctionalTests) ... ok test_custom_separator (__main__.FunctionalTests) ... ok test_custom_separator_space (__main__.FunctionalTests) ... ok test_custom_timeout_signal (__main__.FunctionalTests) ... ok test_cwd (__main__.FunctionalTests) ... ok test_decode_error_handling (__main__.FunctionalTests) ... ok test_doesnt_execute_directories (__main__.FunctionalTests) ... ok test_done_callback (__main__.FunctionalTests) ... ok test_done_cb_exc (__main__.FunctionalTests) ... ok test_encoding (__main__.FunctionalTests) ... ok test_environment (__main__.FunctionalTests) tests that environments variables that we pass into sh commands ... ok test_err_piped (__main__.FunctionalTests) ... ok test_err_redirection (__main__.FunctionalTests) ... ok test_err_redirection_actual_file (__main__.FunctionalTests) ... ok test_err_to_out (__main__.FunctionalTests) ... ok test_err_to_out_and_sys_stdout (__main__.FunctionalTests) ... ok test_exception (__main__.FunctionalTests) ... ok test_exit_code (__main__.FunctionalTests) ... ok test_exit_code_from_exception (__main__.FunctionalTests) ... ok test_exit_code_with_hasattr (__main__.FunctionalTests) ... ok test_failure_with_large_output (__main__.FunctionalTests) ... ok test_fg (__main__.FunctionalTests) ... ok test_fg_alternative (__main__.FunctionalTests) ... ok test_fg_env (__main__.FunctionalTests) ... ok test_fg_exc (__main__.FunctionalTests) ... ok test_for_generator_to_err (__main__.FunctionalTests) ... ok test_fork_exc (__main__.FunctionalTests) ... ok test_general_signal (__main__.FunctionalTests) ... ok test_generator_and_callback (__main__.FunctionalTests) ... ok test_grandchild_no_sighup (__main__.FunctionalTests) ... ok test_huge_piped_data (__main__.FunctionalTests) ... ok test_incompatible_special_args (__main__.FunctionalTests) ... ok test_incremental_composition (__main__.FunctionalTests) ... ok test_internal_bufsize (__main__.FunctionalTests) ... ok test_iter_generator (__main__.FunctionalTests) ... ok test_iter_unicode (__main__.FunctionalTests) ... ok test_long_bool_option (__main__.FunctionalTests) ... ok test_long_option (__main__.FunctionalTests) ... ok test_manual_stdin_file (__main__.FunctionalTests) ... ok test_manual_stdin_iterable (__main__.FunctionalTests) ... ok test_manual_stdin_queue (__main__.FunctionalTests) ... ok test_manual_stdin_string (__main__.FunctionalTests) ... ok test_multiple_args_long_option (__main__.FunctionalTests) ... ok test_multiple_args_short_option (__main__.FunctionalTests) ... ok test_multiple_bakes (__main__.FunctionalTests) ... ok test_multiple_pipes (__main__.FunctionalTests) ... ok test_new_session (__main__.FunctionalTests) ... ok test_no_arg (__main__.FunctionalTests) ... ok test_no_err (__main__.FunctionalTests) ... ok test_no_out (__main__.FunctionalTests) ... ok test_no_pipe (__main__.FunctionalTests) ... ok test_no_proc_no_attr (__main__.FunctionalTests) ... ok test_non_ascii_error (__main__.FunctionalTests) ... ok test_non_existant_cwd (__main__.FunctionalTests) ... ok test_nonblocking_iter (__main__.FunctionalTests) ... ok test_number_arg (__main__.FunctionalTests) ... ok test_ok_code (__main__.FunctionalTests) ... ok test_ok_code_none (__main__.FunctionalTests) ... ok test_out_filename (__main__.FunctionalTests) ... ok test_out_redirection (__main__.FunctionalTests) ... ok test_output_equivalence (__main__.FunctionalTests) ... ok test_partially_applied_callback (__main__.FunctionalTests) ... ok test_patched_glob (__main__.FunctionalTests) ... ok test_patched_glob_with_recursive_argument (__main__.FunctionalTests) ... ok test_pipe_fd (__main__.FunctionalTests) ... ok test_piped_exception1 (__main__.FunctionalTests) ... ok test_piped_exception2 (__main__.FunctionalTests) ... ok test_piped_generator (__main__.FunctionalTests) ... ok test_print_command (__main__.FunctionalTests) ... ok test_pushd (__main__.FunctionalTests) test basic pushd functionality ... ok test_pushd_cd (__main__.FunctionalTests) test that pushd works like pushd/popd with built-in cd correctly ... ok test_quote_escaping (__main__.FunctionalTests) ... ok test_raw_args (__main__.FunctionalTests) ... ok test_shadowed_subcommand (__main__.FunctionalTests) ... ok test_short_bool_option (__main__.FunctionalTests) ... ok test_short_option (__main__.FunctionalTests) ... ok test_signal_exception (__main__.FunctionalTests) ... ok test_signal_group (__main__.FunctionalTests) ... ok test_sigpipe (__main__.FunctionalTests) ... ok test_stdin_from_string (__main__.FunctionalTests) ... ok test_stdin_newline_bufsize (__main__.FunctionalTests) ... ok test_stdin_unbuffered_bufsize (__main__.FunctionalTests) ... ok test_stdout_callback (__main__.FunctionalTests) ... ok test_stdout_callback_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_exit (__main__.FunctionalTests) ... ok test_stdout_callback_kill (__main__.FunctionalTests) ... ok test_stdout_callback_line_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_line_unbuffered (__main__.FunctionalTests) ... ok test_stdout_callback_no_wait (__main__.FunctionalTests) ... ok test_stdout_callback_terminate (__main__.FunctionalTests) ... ok test_stdout_callback_with_input (__main__.FunctionalTests) ... ok test_stdout_pipe (__main__.FunctionalTests) ... ok test_stringio_input (__main__.FunctionalTests) ... ok test_stringio_output (__main__.FunctionalTests) ... ok test_subcommand_and_bake (__main__.FunctionalTests) ... ok test_timeout (__main__.FunctionalTests) ... ok test_timeout_overstep (__main__.FunctionalTests) ... ok test_trunc_exc (__main__.FunctionalTests) ... ok test_tty_input (__main__.FunctionalTests) ... ok test_tty_output (__main__.FunctionalTests) ... ok test_tty_stdin (__main__.FunctionalTests) ... ok test_tty_tee (__main__.FunctionalTests) ... ok test_unchecked_pipeline_failure (__main__.FunctionalTests) ... ok test_unchecked_producer_failure (__main__.FunctionalTests) ... ok test_unicode_arg (__main__.FunctionalTests) ... ok test_unicode_exception (__main__.FunctionalTests) ... ok test_which (__main__.FunctionalTests) ... ok test_which_paths (__main__.FunctionalTests) ... ok test_with_context (__main__.FunctionalTests) ... ok test_with_context_args (__main__.FunctionalTests) ... ok test_args_deprecated (__main__.MiscTests) ... ok test_cant_import_all (__main__.MiscTests) ... ok test_change_log_message (__main__.MiscTests) ... ok test_eintr (__main__.MiscTests) ... ok test_fd_over_1024 (__main__.MiscTests) ... skipped 'Only enabled for select.select' test_no_fd_leak (__main__.MiscTests) ... ok test_percent_doesnt_fail_logging (__main__.MiscTests) test that a command name doesn't interfere with string formatting in ... ok test_pushd_thread_safety (__main__.MiscTests) ... ok test_signal_exception_aliases (__main__.MiscTests) proves that signal exceptions with numbers and names are equivalent ... ok test_stdin_nohang (__main__.MiscTests) ... ok test_stop_iteration_doesnt_block (__main__.MiscTests) proves that calling calling next() on a stopped iterator doesn't ... ok test_threaded_with_contexts (__main__.MiscTests) ... ok test_unicode_path (__main__.MiscTests) ... ok test_wraps (__main__.MiscTests) ... ok test_patch_command (__main__.MockTests) ... ok test_patch_command_cls (__main__.MockTests) ... ok test_chunk_buffered (__main__.StreamBuffererTests) ... ok test_newline_buffered (__main__.StreamBuffererTests) ... ok test_unbuffered (__main__.StreamBuffererTests) ... ok ---------------------------------------------------------------------- Ran 156 tests in 42.229s OK (skipped=1) test_basic (__main__.ExecutionContextTests) ... ok test_importer_detects_module_name (__main__.ExecutionContextTests) ... ok test_importer_only_works_with_sh (__main__.ExecutionContextTests) ... ok test_no_bad_name (__main__.ExecutionContextTests) ... ok test_no_interfere1 (__main__.ExecutionContextTests) ... ok test_no_interfere2 (__main__.ExecutionContextTests) ... ok test_reimport_no_interfere (__main__.ExecutionContextTests) ... ok test_set_in_parent_function (__main__.ExecutionContextTests) ... ok test_append_stdout (__main__.FunctionalTests) ... ok test_arg_preprocessor (__main__.FunctionalTests) ... ok test_background (__main__.FunctionalTests) ... ok test_background_exception (__main__.FunctionalTests) ... ok test_bake_args_come_first (__main__.FunctionalTests) ... ok test_baked_command_can_be_printed (__main__.FunctionalTests) ... ok test_bg_exit_code (__main__.FunctionalTests) ... ok test_binary_input (__main__.FunctionalTests) ... ok test_binary_pipe (__main__.FunctionalTests) ... ok test_callable_interact (__main__.FunctionalTests) ... ok test_callable_stdin (__main__.FunctionalTests) ... ok test_cast_bg (__main__.FunctionalTests) ... ok test_cd_homedir (__main__.FunctionalTests) ... ok test_change_stdout_buffering (__main__.FunctionalTests) ... ok test_cmd_eq (__main__.FunctionalTests) ... ok test_command_not_found (__main__.FunctionalTests) ... ok test_command_wrapper (__main__.FunctionalTests) ... ok test_command_wrapper_equivalence (__main__.FunctionalTests) ... ok test_composition (__main__.FunctionalTests) ... ok test_custom_long_prefix (__main__.FunctionalTests) ... ok test_custom_separator (__main__.FunctionalTests) ... ok test_custom_separator_space (__main__.FunctionalTests) ... ok test_custom_timeout_signal (__main__.FunctionalTests) ... ok test_cwd (__main__.FunctionalTests) ... ok test_decode_error_handling (__main__.FunctionalTests) ... ok test_doesnt_execute_directories (__main__.FunctionalTests) ... ok test_done_callback (__main__.FunctionalTests) ... ok test_done_cb_exc (__main__.FunctionalTests) ... ok test_encoding (__main__.FunctionalTests) ... ok test_environment (__main__.FunctionalTests) tests that environments variables that we pass into sh commands ... ok test_err_piped (__main__.FunctionalTests) ... ok test_err_redirection (__main__.FunctionalTests) ... ok test_err_redirection_actual_file (__main__.FunctionalTests) ... ok test_err_to_out (__main__.FunctionalTests) ... ok test_err_to_out_and_sys_stdout (__main__.FunctionalTests) ... ok test_exception (__main__.FunctionalTests) ... ok test_exit_code (__main__.FunctionalTests) ... ok test_exit_code_from_exception (__main__.FunctionalTests) ... ok test_exit_code_with_hasattr (__main__.FunctionalTests) ... ok test_failure_with_large_output (__main__.FunctionalTests) ... ok test_fg (__main__.FunctionalTests) ... ok test_fg_alternative (__main__.FunctionalTests) ... ok test_fg_env (__main__.FunctionalTests) ... ok test_fg_exc (__main__.FunctionalTests) ... ok test_for_generator_to_err (__main__.FunctionalTests) ... ok test_fork_exc (__main__.FunctionalTests) ... ok test_general_signal (__main__.FunctionalTests) ... ok test_generator_and_callback (__main__.FunctionalTests) ... ok test_grandchild_no_sighup (__main__.FunctionalTests) ... ok test_huge_piped_data (__main__.FunctionalTests) ... ok test_incompatible_special_args (__main__.FunctionalTests) ... ok test_incremental_composition (__main__.FunctionalTests) ... ok test_internal_bufsize (__main__.FunctionalTests) ... ok test_iter_generator (__main__.FunctionalTests) ... ok test_iter_unicode (__main__.FunctionalTests) ... ok test_long_bool_option (__main__.FunctionalTests) ... ok test_long_option (__main__.FunctionalTests) ... ok test_manual_stdin_file (__main__.FunctionalTests) ... ok test_manual_stdin_iterable (__main__.FunctionalTests) ... ok test_manual_stdin_queue (__main__.FunctionalTests) ... ok test_manual_stdin_string (__main__.FunctionalTests) ... ok test_multiple_args_long_option (__main__.FunctionalTests) ... ok test_multiple_args_short_option (__main__.FunctionalTests) ... ok test_multiple_bakes (__main__.FunctionalTests) ... ok test_multiple_pipes (__main__.FunctionalTests) ... ok test_new_session (__main__.FunctionalTests) ... ok test_no_arg (__main__.FunctionalTests) ... ok test_no_err (__main__.FunctionalTests) ... ok test_no_out (__main__.FunctionalTests) ... ok test_no_pipe (__main__.FunctionalTests) ... ok test_no_proc_no_attr (__main__.FunctionalTests) ... ok test_non_ascii_error (__main__.FunctionalTests) ... ok test_non_existant_cwd (__main__.FunctionalTests) ... ok test_nonblocking_iter (__main__.FunctionalTests) ... ok test_number_arg (__main__.FunctionalTests) ... ok test_ok_code (__main__.FunctionalTests) ... ok test_ok_code_none (__main__.FunctionalTests) ... ok test_out_filename (__main__.FunctionalTests) ... ok test_out_redirection (__main__.FunctionalTests) ... ok test_output_equivalence (__main__.FunctionalTests) ... ok test_partially_applied_callback (__main__.FunctionalTests) ... ok test_patched_glob (__main__.FunctionalTests) ... ok test_patched_glob_with_recursive_argument (__main__.FunctionalTests) ... ok test_pipe_fd (__main__.FunctionalTests) ... ok test_piped_exception1 (__main__.FunctionalTests) ... ok test_piped_exception2 (__main__.FunctionalTests) ... ERROR test_piped_generator (__main__.FunctionalTests) ... ok test_print_command (__main__.FunctionalTests) ... ok test_pushd (__main__.FunctionalTests) test basic pushd functionality ... ok test_pushd_cd (__main__.FunctionalTests) test that pushd works like pushd/popd with built-in cd correctly ... ok test_quote_escaping (__main__.FunctionalTests) ... ok test_raw_args (__main__.FunctionalTests) ... ok test_shadowed_subcommand (__main__.FunctionalTests) ... ok test_short_bool_option (__main__.FunctionalTests) ... ok test_short_option (__main__.FunctionalTests) ... ok test_signal_exception (__main__.FunctionalTests) ... ok test_signal_group (__main__.FunctionalTests) ... ok test_sigpipe (__main__.FunctionalTests) ... ok test_stdin_from_string (__main__.FunctionalTests) ... ok test_stdin_newline_bufsize (__main__.FunctionalTests) ... ok test_stdin_unbuffered_bufsize (__main__.FunctionalTests) ... ok test_stdout_callback (__main__.FunctionalTests) ... ok test_stdout_callback_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_exit (__main__.FunctionalTests) ... ok test_stdout_callback_kill (__main__.FunctionalTests) ... ok test_stdout_callback_line_buffered (__main__.FunctionalTests) ... ok test_stdout_callback_line_unbuffered (__main__.FunctionalTests) ... ok test_stdout_callback_no_wait (__main__.FunctionalTests) ... ok test_stdout_callback_terminate (__main__.FunctionalTests) ... ok test_stdout_callback_with_input (__main__.FunctionalTests) ... ok test_stdout_pipe (__main__.FunctionalTests) ... ok test_stringio_input (__main__.FunctionalTests) ... ok test_stringio_output (__main__.FunctionalTests) ... ok test_subcommand_and_bake (__main__.FunctionalTests) ... ok test_timeout (__main__.FunctionalTests) ... ok test_timeout_overstep (__main__.FunctionalTests) ... ok test_trunc_exc (__main__.FunctionalTests) ... ok test_tty_input (__main__.FunctionalTests) ... ok test_tty_output (__main__.FunctionalTests) ... ok test_tty_stdin (__main__.FunctionalTests) ... ok test_tty_tee (__main__.FunctionalTests) ... ok test_unchecked_pipeline_failure (__main__.FunctionalTests) ... ok test_unchecked_producer_failure (__main__.FunctionalTests) ... ok test_unicode_arg (__main__.FunctionalTests) ... ok test_unicode_exception (__main__.FunctionalTests) ... ok test_which (__main__.FunctionalTests) ... ok test_which_paths (__main__.FunctionalTests) ... ok test_with_context (__main__.FunctionalTests) ... ok test_with_context_args (__main__.FunctionalTests) ... ok test_args_deprecated (__main__.MiscTests) ... ok test_cant_import_all (__main__.MiscTests) ... ok test_change_log_message (__main__.MiscTests) ... ok test_eintr (__main__.MiscTests) ... ok test_fd_over_1024 (__main__.MiscTests) ... ok test_no_fd_leak (__main__.MiscTests) ... ok test_percent_doesnt_fail_logging (__main__.MiscTests) test that a command name doesn't interfere with string formatting in ... ok test_pushd_thread_safety (__main__.MiscTests) ... ok test_signal_exception_aliases (__main__.MiscTests) proves that signal exceptions with numbers and names are equivalent ... ok test_stdin_nohang (__main__.MiscTests) ... ok test_stop_iteration_doesnt_block (__main__.MiscTests) proves that calling calling next() on a stopped iterator doesn't ... ok test_threaded_with_contexts (__main__.MiscTests) ... ok test_unicode_path (__main__.MiscTests) ... ok test_wraps (__main__.MiscTests) ... ok test_patch_command (__main__.MockTests) ... ok test_patch_command_cls (__main__.MockTests) ... ok test_chunk_buffered (__main__.StreamBuffererTests) ... ok test_newline_buffered (__main__.StreamBuffererTests) ... ok test_unbuffered (__main__.StreamBuffererTests) ... ok ====================================================================== ERROR: test_piped_exception2 (__main__.FunctionalTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sh-1.12.14/test.py", line 608, in test_piped_exception2 self.assertRaises(ErrorReturnCode_2, fn) File "/usr/lib64/python3.6/unittest/case.py", line 750, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib64/python3.6/unittest/case.py", line 195, in handle callable_obj(*args, **kwargs) File "/builddir/build/BUILD/sh-1.12.14/test.py", line 606, in fn python(python(py.name, _piped=True), "-u", py2.name) File "/builddir/build/BUILD/sh-1.12.14/sh.py", line 1427, in __call__ return RunningCommand(cmd, call_args, stdin, stdout, stderr) File "/builddir/build/BUILD/sh-1.12.14/sh.py", line 774, in __init__ self.wait() File "/builddir/build/BUILD/sh-1.12.14/sh.py", line 799, in wait self.process._stdin_process.command.wait() File "/builddir/build/BUILD/sh-1.12.14/sh.py", line 792, in wait self.handle_command_exit_code(exit_code) File "/builddir/build/BUILD/sh-1.12.14/sh.py", line 815, in handle_command_exit_code raise exc sh.ErrorReturnCode_120: RAN: /usr/bin/python3.6 /tmp/tmp00wcyrc5 STDOUT: STDERR: Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='UTF-8'> BrokenPipeError: [Errno 32] Broken pipe ---------------------------------------------------------------------- Ran 156 tests in 41.927s FAILED (errors=1) Testing Python3.6, locale 'en_US.UTF-8', poller: select Testing Python3.6, locale 'en_US.UTF-8', poller: poll Testing Python3.6, locale 'C', poller: select Testing Python3.6, locale 'C', poller: poll Failed for 3.6, C RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OMcTTn (%check) Bad exit status from /var/tmp/rpm-tmp.OMcTTn (%check) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-sh.spec'