[devel] python-module-sh-1.12.14-alt2: Sisyphus/x86_64 test rebuild failed

Denis Medvedev nbr на altlinux.org
Сб Дек 22 13:32:02 MSK 2018


On суббота, 22 декабря 2018 г. 9:31:41 MSK ALT 
beekeeper wrote:
> Package: python-module-sh-1.12.14-alt2
> Status: Sisyphus/x86_64 test rebuild failed
> Cannot build this package.
> Please investigate.
> Excerpt from build log:
> 
> 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) ... skipped 'Missing 
required system
> programs: lsof' 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_general_signal (__main__.FunctionalTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/src/RPM/BUILD/python3/test.py", line 1431, in
> test_general_signal p = python(py.name, _out=agg, 
_tee=True)
>   File "/usr/src/RPM/BUILD/python3/sh.py", line 1427, in 
__call__
>     return RunningCommand(cmd, call_args, stdin, stdout, 
stderr)
>   File "/usr/src/RPM/BUILD/python3/sh.py", line 774, in 
__init__
>     self.wait()
>   File "/usr/src/RPM/BUILD/python3/sh.py", line 792, in 
wait
>     self.handle_command_exit_code(exit_code)
>   File "/usr/src/RPM/BUILD/python3/sh.py", line 815, in
> handle_command_exit_code raise exc
> sh.ErrorReturnCode_1:
> 
>   RAN: /usr/bin/python3.6 /usr/src/tmp/tmp7lq5ka67
> 
>   STDOUT:
> 0
> 1
> 2
> 3
> 
>   STDERR:
> Traceback (most recent call last):
>   File "/usr/src/tmp/tmp7lq5ka67", line 14, in <module>
>     print(i)
>   File "/usr/src/tmp/tmp7lq5ka67", line 8, in sig_handler
>     print(10)
> RuntimeError: reentrant call inside <_io.BufferedWriter 
name='<stdout>'>
> 
> ----------------------------------------------------------------------
> Ran 156 tests in 61.642s
> 
> FAILED (errors=1, skipped=1)
> Coverage.py warning: Module sh.py was never imported. 
(module-not-imported)
> Coverage.py warning: No data was collected. (no-data-
collected)
> Testing Python3.6, locale 'en_US.UTF-8', poller: select
> Testing Python3.6, locale 'en_US.UTF-8', poller: poll
> Failed for 3.6, en_US.UTF-8
> error: Bad exit status from /usr/src/tmp/rpm-tmp.34258 
(%check)
> 
> RPM build errors:
>     Bad exit status from /usr/src/tmp/rpm-tmp.34258 
(%check)
> Command exited with non-zero status 1
> 73.72user 12.65system 6:43.84elapsed 21%CPU 
(0avgtext+0avgdata
> 31276maxresident)k 0inputs+0outputs 
(0major+2977779minor)pagefaults 0swaps
> hsh-rebuild: rebuild of `python-module-sh-1.12.14-
alt2.src.rpm' failed.
> Command exited with non-zero status 1
Пересобралось командой rebuild нормально.
См. #218410
Что-то в пересборочнице не так?





Подробная информация о списке рассылки Devel