Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AsyncTests are flaky #749

Closed
bmwiedemann opened this issue Mar 20, 2023 · 1 comment
Closed

AsyncTests are flaky #749

bmwiedemann opened this issue Mar 20, 2023 · 1 comment

Comments

@bmwiedemann
Copy link

bmwiedemann commented Mar 20, 2023

might be similar to #699

I got a random test-failure from pexpect-4.8.0 AsyncTests.test_async_replwrap_multiline when building+testing in openSUSE-Tumbleweed 20230317 on a 4-core VM.

build script

Full log:
python-pexpect-build.log.txt

@Red-M
Copy link
Member

Red-M commented Apr 2, 2023

Please see #750

Also please see your output where all the tests pass (lines 924 to 1153):

[   64s] tests/test_FSM.py::FSMTestCase::test_run_fsm PASSED                      [  0%]
[   64s] tests/test_ansi.py::ansiTestCase::test_decode_error PASSED               [  0%]
[   64s] tests/test_ansi.py::ansiTestCase::test_fsm_memory PASSED                 [  1%]
[   64s] tests/test_ansi.py::ansiTestCase::test_lines PASSED                      [  1%]
[   64s] tests/test_ansi.py::ansiTestCase::test_number_x PASSED                   [  2%]
[   64s] tests/test_ansi.py::ansiTestCase::test_tetris PASSED                     [  2%]
[   64s] tests/test_ansi.py::ansiTestCase::test_torturet PASSED                   [  3%]
[   64s] tests/test_ansi.py::ansiTestCase::test_unicode PASSED                    [  3%]
[   64s] tests/test_ansi.py::ansiTestCase::test_utf8_bytes PASSED                 [  3%]
[   64s] tests/test_ansi.py::ansiTestCase::test_write PASSED                      [  4%]
[   66s] tests/test_async.py::AsyncTests::test_async_and_gc PASSED                [  4%]
[   66s] tests/test_async.py::AsyncTests::test_async_and_sync PASSED              [  5%]
[   66s] tests/test_async.py::AsyncTests::test_async_replwrap PASSED              [  5%]
[   66s] tests/test_async.py::AsyncTests::test_async_replwrap_multiline PASSED    [  6%]
[   66s] tests/test_async.py::AsyncTests::test_async_utf8 PASSED                  [  6%]
[   67s] tests/test_async.py::AsyncTests::test_eof PASSED                         [  6%]
[   67s] tests/test_async.py::AsyncTests::test_expect_exact PASSED                [  7%]
[   67s] tests/test_async.py::AsyncTests::test_simple_expect PASSED               [  7%]
[   69s] tests/test_async.py::AsyncTests::test_timeout PASSED                     [  8%]
[   69s] tests/test_command_list_split.py::SplitCommandLineTestCase::testSplitSizes PASSED [  8%]
[   69s] tests/test_constructor.py::TestCaseConstructor::test_constructor PASSED  [  9%]
[   70s] tests/test_constructor.py::TestCaseConstructor::test_named_parameters PASSED [  9%]
[   70s] tests/test_ctrl_chars.py::TestCtrlChars::test_bad_sendcontrol_chars PASSED [ 10%]
[   83s] tests/test_ctrl_chars.py::TestCtrlChars::test_control_chars PASSED       [ 10%]
[   83s] tests/test_ctrl_chars.py::TestCtrlChars::test_sendcontrol PASSED         [ 10%]
[   83s] tests/test_ctrl_chars.py::TestCtrlChars::test_sendeof PASSED             [ 11%]
[   84s] tests/test_ctrl_chars.py::TestCtrlChars::test_sendintr PASSED            [ 11%]
[   85s] tests/test_delay.py::TestCaseDelay::test_delayafterread PASSED           [ 12%]
[   86s] tests/test_delay.py::TestCaseDelay::test_delaybeforesend PASSED          [ 12%]
[   97s] tests/test_destructor.py::TestCaseDestructor::test_destructor PASSED     [ 13%]
[   97s] tests/test_dotall.py::TestCaseDotall::test_dotall PASSED                 [ 13%]
[   97s] tests/test_dotall.py::TestCaseDotall::test_precompiled PASSED            [ 13%]
[   97s] tests/test_env.py::TestCaseEnv::test_run_uses_env PASSED                 [ 14%]
[   97s] tests/test_env.py::TestCaseEnv::test_run_uses_env_path PASSED            [ 14%]
[   97s] tests/test_env.py::TestCaseEnv::test_run_uses_env_path_over_path PASSED  [ 15%]
[   97s] tests/test_env.py::TestCaseEnv::test_spawn_uses_env PASSED               [ 15%]
[   97s] tests/test_expect.py::ExpectTestCase::test_bad_arg PASSED                [ 16%]
[   97s] tests/test_expect.py::ExpectTestCase::test_before_across_chunks PASSED   [ 16%]
[   98s] tests/test_expect.py::ExpectTestCase::test_before_after PASSED           [ 16%]
[   98s] tests/test_expect.py::ExpectTestCase::test_before_after_exact PASSED     [ 17%]
[  103s] tests/test_expect.py::ExpectTestCase::test_before_after_timeout PASSED   [ 17%]
[  103s] tests/test_expect.py::ExpectTestCase::test_buffer_interface PASSED       [ 18%]
[  103s] tests/test_expect.py::ExpectTestCase::test_expect PASSED                 [ 18%]
[  104s] tests/test_expect.py::ExpectTestCase::test_expect_basic PASSED           [ 19%]
[  104s] tests/test_expect.py::ExpectTestCase::test_expect_echo PASSED            [ 19%]
[  104s] tests/test_expect.py::ExpectTestCase::test_expect_echo_exact PASSED      [ 20%]
[  104s] tests/test_expect.py::ExpectTestCase::test_expect_eof PASSED             [ 20%]
[  104s] tests/test_expect.py::ExpectTestCase::test_expect_exact PASSED           [ 20%]
[  105s] tests/test_expect.py::ExpectTestCase::test_expect_exact_basic PASSED     [ 21%]
[  105s] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case PASSED     [ 21%]
[  105s] tests/test_expect.py::ExpectTestCase::test_expect_ignore_case_flag PASSED [ 22%]
[  106s] tests/test_expect.py::ExpectTestCase::test_expect_index PASSED           [ 22%]
[  108s] tests/test_expect.py::ExpectTestCase::test_expect_index_exact PASSED     [ 23%]
[  108s] tests/test_expect.py::ExpectTestCase::test_expect_order PASSED           [ 23%]
[  108s] tests/test_expect.py::ExpectTestCase::test_expect_order_exact PASSED     [ 23%]
[  108s] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off PASSED     [ 24%]
[  109s] tests/test_expect.py::ExpectTestCase::test_expect_setecho_off_exact PASSED [ 24%]
[  114s] tests/test_expect.py::ExpectTestCase::test_expect_timeout PASSED         [ 25%]
[  114s] tests/test_expect.py::ExpectTestCase::test_greed PASSED                  [ 25%]
[  114s] tests/test_expect.py::ExpectTestCase::test_greed_exact PASSED            [ 26%]
[  120s] tests/test_expect.py::ExpectTestCase::test_increasing_searchwindowsize PASSED [ 26%]
[  121s] tests/test_expect.py::ExpectTestCase::test_ordering PASSED               [ 26%]
[  121s] tests/test_expect.py::ExpectTestCase::test_ordering_exact PASSED         [ 27%]
[  121s] tests/test_expect.py::ExpectTestCase::test_searchwindowsize PASSED       [ 27%]
[  123s] tests/test_expect.py::ExpectTestCase::test_signal_handling PASSED        [ 28%]
[  124s] tests/test_expect.py::ExpectTestCase::test_stdin_closed PASSED           [ 28%]
[  124s] tests/test_expect.py::ExpectTestCase::test_stdin_stdout_closed PASSED    [ 29%]
[  124s] tests/test_expect.py::ExpectTestCase::test_timeout_none PASSED           [ 29%]
[  124s] tests/test_expect.py::ExpectTestCase::test_unexpected_eof PASSED         [ 30%]
[  124s] tests/test_expect.py::ExpectTestCase::test_waitnoecho PASSED             [ 30%]
[  135s] tests/test_expect.py::ExpectTestCase::test_waitnoecho_order PASSED       [ 30%]
[  135s] tests/test_filedescriptor.py::ExpectTestCase::test_fd PASSED             [ 31%]
[  135s] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isalive PASSED     [ 31%]
[  135s] tests/test_filedescriptor.py::ExpectTestCase::test_fd_isatty PASSED      [ 32%]
[  135s] tests/test_filedescriptor.py::ExpectTestCase::test_fileobj PASSED        [ 32%]
[  135s] tests/test_filedescriptor.py::ExpectTestCase::test_maxread PASSED        [ 33%]
[  135s] tests/test_interact.py::InteractTestCase::test_interact_escape PASSED    [ 33%]
[  136s] tests/test_interact.py::InteractTestCase::test_interact_escape_None PASSED [ 33%]
[  136s] tests/test_interact.py::InteractTestCase::test_interact_exit_unicode PASSED [ 34%]
[  136s] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_consistent_multiple_calls PASSED [ 34%]
[  137s] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGHUP PASSED [ 35%]
[  137s] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGINT PASSED [ 35%]
[  137s] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_SIGKILL PASSED [ 36%]
[  137s] tests/test_isalive.py::IsAliveTestCase::test_expect_isalive_dead_after_normal_termination PASSED [ 36%]
[  138s] tests/test_isalive.py::IsAliveTestCase::test_expect_wait PASSED          [ 36%]
[  139s] tests/test_isalive.py::IsAliveTestCase::test_expect_wait_after_termination PASSED [ 37%]
[  140s] tests/test_isalive.py::IsAliveTestCase::test_forced_terminate PASSED     [ 37%]
[  141s] tests/test_isalive.py::IsAliveTestCase::test_signal_wait PASSED          [ 38%]
[  141s] tests/test_log.py::TestCaseLog::test_log PASSED                          [ 38%]
[  141s] tests/test_log.py::TestCaseLog::test_log_logfile_read PASSED             [ 39%]
[  141s] tests/test_log.py::TestCaseLog::test_log_logfile_send PASSED             [ 39%]
[  142s] tests/test_log.py::TestCaseLog::test_log_send_and_received PASSED        [ 40%]
[  142s] tests/test_misc.py::TestCaseMisc::test_bad_arguments_second_arg_is_list PASSED [ 40%]
[  142s] tests/test_misc.py::TestCaseMisc::test_bad_arguments_suggest_fdpsawn PASSED [ 40%]
[  142s] tests/test_misc.py::TestCaseMisc::test_bad_child_pid PASSED              [ 41%]
[  142s] tests/test_misc.py::TestCaseMisc::test_bad_type_in_expect PASSED         [ 41%]
[  142s] tests/test_misc.py::TestCaseMisc::test_cwd PASSED                        [ 42%]
[  142s] tests/test_misc.py::TestCaseMisc::test_eof PASSED                        [ 42%]
[  143s] tests/test_misc.py::TestCaseMisc::test_exception_tb PASSED               [ 43%]
[  143s] tests/test_misc.py::TestCaseMisc::test_isalive PASSED                    [ 43%]
[  144s] tests/test_misc.py::TestCaseMisc::test_isatty PASSED                     [ 43%]
[  144s] tests/test_misc.py::TestCaseMisc::test_isatty_poll PASSED                [ 44%]
[  144s] tests/test_misc.py::TestCaseMisc::test_iter PASSED                       [ 44%]
[  144s] tests/test_misc.py::TestCaseMisc::test_nonnative_pty_fork PASSED         [ 45%]
[  144s] tests/test_misc.py::TestCaseMisc::test_read PASSED                       [ 45%]
[  145s] tests/test_misc.py::TestCaseMisc::test_read_after_close_raises_value_error PASSED [ 46%]
[  145s] tests/test_misc.py::TestCaseMisc::test_read_poll PASSED                  [ 46%]
[  146s] tests/test_misc.py::TestCaseMisc::test_read_poll_timeout PASSED          [ 46%]
[  146s] tests/test_misc.py::TestCaseMisc::test_readline PASSED                   [ 47%]
[  146s] tests/test_misc.py::TestCaseMisc::test_readline_bin_echo PASSED          [ 47%]
[  147s] tests/test_misc.py::TestCaseMisc::test_readlines PASSED                  [ 48%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_as_string PASSED         [ 48%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_EOF PASSED [ 49%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_as_string_with_TIMEOUT PASSED [ 49%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string PASSED      [ 50%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_EOF PASSED [ 50%]
[  147s] tests/test_misc.py::TestCaseMisc::test_searcher_re_as_string_with_TIMEOUT PASSED [ 50%]
[  148s] tests/test_misc.py::TestCaseMisc::test_sighup PASSED                     [ 51%]
[  148s] tests/test_misc.py::TestCaseMisc::test_terminate PASSED                  [ 51%]
[  148s] tests/test_misc.py::TestCaseMisc::test_with PASSED                       [ 52%]
[  149s] tests/test_misc.py::TestCaseMisc::test_write PASSED                      [ 52%]
[  149s] tests/test_misc.py::TestCaseMisc::test_writelines PASSED                 [ 53%]
[  149s] tests/test_missing_command.py::MissingCommandTestCase::testMissingCommand PASSED [ 53%]
[  154s] tests/test_performance.py::PerformanceTestCase::test_100000 PASSED       [ 53%]
[  154s] tests/test_pickling.py::PickleTest::test_picking PASSED                  [ 54%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_bad_arg PASSED           [ 54%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_crlf PASSED              [ 55%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_crlf_encoding PASSED     [ 55%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_expect PASSED            [ 56%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_expect_basic PASSED      [ 56%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_expect_eof PASSED        [ 56%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact PASSED      [ 57%]
[  154s] tests/test_popen_spawn.py::ExpectTestCase::test_expect_exact_basic PASSED [ 57%]
[  159s] tests/test_popen_spawn.py::ExpectTestCase::test_expect_timeout PASSED    [ 58%]
[  159s] tests/test_popen_spawn.py::ExpectTestCase::test_timeout_none PASSED      [ 58%]
[  159s] tests/test_popen_spawn.py::ExpectTestCase::test_unexpected_eof PASSED    [ 59%]
[  159s] tests/test_pxssh.py::PxsshTestCase::test_connection_refused PASSED       [ 59%]
[  160s] tests/test_pxssh.py::PxsshTestCase::test_custom_ssh_cmd PASSED           [ 60%]
[  160s] tests/test_pxssh.py::PxsshTestCase::test_custom_ssh_cmd_debug PASSED     [ 60%]
[  160s] tests/test_pxssh.py::PxsshTestCase::test_failed_custom_ssh_cmd PASSED    [ 60%]
[  160s] tests/test_pxssh.py::PxsshTestCase::test_failed_custom_ssh_cmd_debug PASSED [ 61%]
[  161s] tests/test_pxssh.py::PxsshTestCase::test_failed_set_unique_prompt PASSED [ 61%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_fake_ssh PASSED                 [ 62%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_remote_ssh_tunnel_string PASSED [ 62%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_empty_user PASSED    [ 63%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_no_user PASSED       [ 63%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_no_username_empty_config PASSED [ 63%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_passing_string PASSED [ 64%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_user PASSED          [ 64%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_config_wrong_Host PASSED    [ 65%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_key_string PASSED           [ 65%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_ssh_tunnel_string PASSED        [ 66%]
[  162s] tests/test_pxssh.py::PxsshTestCase::test_username_or_ssh_config PASSED   [ 66%]
[  163s] tests/test_pxssh.py::PxsshTestCase::test_wrong_pw PASSED                 [ 66%]
[  163s] tests/test_replwrap.py::REPLWrapTestCase::test_existing_spawn PASSED     [ 67%]
[  165s] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_continuation PASSED [ 67%]
[  168s] tests/test_replwrap.py::REPLWrapTestCase::test_long_running_multiline PASSED [ 68%]
[  168s] tests/test_replwrap.py::REPLWrapTestCase::test_multiline PASSED          [ 68%]
[  168s] tests/test_replwrap.py::REPLWrapTestCase::test_no_change_prompt PASSED   [ 69%]
[  169s] tests/test_replwrap.py::REPLWrapTestCase::test_python PASSED             [ 69%]
[  169s] tests/test_repr.py::TestCaseMisc::test_str_before_spawn PASSED           [ 70%]
[  169s] tests/test_repr.py::TestCaseMisc::test_str_spawn PASSED                  [ 70%]
[  169s] tests/test_repr.py::TestCaseMisc::test_str_spawnu PASSED                 [ 70%]
[  169s] tests/test_run.py::RunFuncTestCase::test_run PASSED                      [ 71%]
[  169s] tests/test_run.py::RunFuncTestCase::test_run_bad_exitstatus PASSED       [ 71%]
[  174s] tests/test_run.py::RunFuncTestCase::test_run_callback PASSED             [ 72%]
[  175s] tests/test_run.py::RunFuncTestCase::test_run_event_as_function PASSED    [ 72%]
[  175s] tests/test_run.py::RunFuncTestCase::test_run_event_as_method PASSED      [ 73%]
[  175s] tests/test_run.py::RunFuncTestCase::test_run_event_as_string PASSED      [ 73%]
[  176s] tests/test_run.py::RunFuncTestCase::test_run_event_typeerror PASSED      [ 73%]
[  176s] tests/test_run.py::RunFuncTestCase::test_run_exit PASSED                 [ 74%]
[  176s] tests/test_run.py::RunUnicodeFuncTestCase::test_run PASSED               [ 74%]
[  176s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_bad_exitstatus PASSED [ 75%]
[  181s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_callback PASSED      [ 75%]
[  181s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_function PASSED [ 76%]
[  182s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_method PASSED [ 76%]
[  182s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_as_string PASSED [ 76%]
[  182s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_event_typeerror PASSED [ 77%]
[  182s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_exit PASSED          [ 77%]
[  183s] tests/test_run.py::RunUnicodeFuncTestCase::test_run_unicode PASSED       [ 78%]
[  183s] tests/test_screen.py::screenTestCase::test_cursor_save PASSED            [ 78%]
[  183s] tests/test_screen.py::screenTestCase::test_decoding_errors PASSED        [ 79%]
[  183s] tests/test_screen.py::screenTestCase::test_fill PASSED                   [ 79%]
[  183s] tests/test_screen.py::screenTestCase::test_get_region PASSED             [ 80%]
[  183s] tests/test_screen.py::screenTestCase::test_insert PASSED                 [ 80%]
[  183s] tests/test_screen.py::screenTestCase::test_no_bytes PASSED               [ 80%]
[  183s] tests/test_screen.py::screenTestCase::test_put PASSED                    [ 81%]
[  183s] tests/test_screen.py::screenTestCase::test_scroll PASSED                 [ 81%]
[  183s] tests/test_screen.py::screenTestCase::test_unicode_ascii PASSED          [ 82%]
[  183s] tests/test_screen.py::screenTestCase::test_unicode_cp437 PASSED          [ 82%]
[  183s] tests/test_screen.py::screenTestCase::test_unicode_utf8 PASSED           [ 83%]
[  183s] tests/test_socket.py::ExpectTestCase::test_fd_isalive PASSED             [ 83%]
[  183s] tests/test_socket.py::ExpectTestCase::test_fd_isalive_poll PASSED        [ 83%]
[  183s] tests/test_socket.py::ExpectTestCase::test_fd_isatty PASSED              [ 84%]
[  184s] tests/test_socket.py::ExpectTestCase::test_fd_isatty_poll PASSED         [ 84%]
[  184s] tests/test_socket.py::ExpectTestCase::test_fileobj PASSED                [ 85%]
[  195s] tests/test_socket.py::ExpectTestCase::test_interrupt PASSED              [ 85%]
[  195s] tests/test_socket.py::ExpectTestCase::test_maxread PASSED                [ 86%]
[  207s] tests/test_socket.py::ExpectTestCase::test_multiple_interrupts PASSED    [ 86%]
[  207s] tests/test_socket.py::ExpectTestCase::test_not_file_descriptor PASSED    [ 86%]
[  207s] tests/test_socket.py::ExpectTestCase::test_not_int PASSED                [ 87%]
[  208s] tests/test_socket.py::ExpectTestCase::test_socket PASSED                 [ 87%]
[  208s] tests/test_socket.py::ExpectTestCase::test_socket_with_write PASSED      [ 88%]
[  218s] tests/test_socket.py::ExpectTestCase::test_timeout PASSED                [ 88%]
[  221s] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_correctStackTrace PASSED [ 89%]
[  221s] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_exp_timeout_notThrown PASSED [ 89%]
[  221s] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_matches_exp_timeout PASSED [ 90%]
[  226s] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_pattern_printout PASSED [ 90%]
[  231s] tests/test_timeout_pattern.py::Exp_TimeoutTestCase::test_stacktraceMunging PASSED [ 90%]
[  232s] tests/test_unicode.py::UnicodeTests::test_expect_basic PASSED            [ 91%]
[  232s] tests/test_unicode.py::UnicodeTests::test_expect_echo_exact PASSED       [ 91%]
[  232s] tests/test_unicode.py::UnicodeTests::test_expect_exact_basic PASSED      [ 92%]
[  233s] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle PASSED   [ 92%]
[  233s] tests/test_unicode.py::UnicodeTests::test_expect_setecho_toggle_exact PASSED [ 93%]
[  234s] tests/test_unicode.py::UnicodeTests::test_log_unicode PASSED             [ 93%]
[  234s] tests/test_unicode.py::UnicodeTests::test_readline_bin_echo PASSED       [ 93%]
[  234s] tests/test_unicode.py::UnicodeTests::test_spawn_expect_ascii_unicode PASSED [ 94%]
[  234s] tests/test_unicode.py::UnicodeTests::test_spawn_send_unicode PASSED      [ 94%]
[  234s] tests/test_unicode.py::UnicodeTests::test_spawn_utf8_incomplete PASSED   [ 95%]
[  234s] tests/test_unicode.py::UnicodeTests::test_unicode_argv PASSED            [ 95%]
[  234s] tests/test_which.py::TestCaseWhich::test_os_defpath_which PASSED         [ 96%]
[  234s] tests/test_which.py::TestCaseWhich::test_path_from_env PASSED            [ 96%]
[  234s] tests/test_which.py::TestCaseWhich::test_path_search_which PASSED        [ 96%]
[  234s] tests/test_which.py::TestCaseWhich::test_which_finds_ls PASSED           [ 97%]
[  234s] tests/test_which.py::TestCaseWhich::test_which_follows_symlink PASSED    [ 97%]
[  235s] tests/test_which.py::TestCaseWhich::test_which_should_match_other_group_user PASSED [ 98%]
[  235s] tests/test_which.py::TestCaseWhich::test_which_should_not_match_folders PASSED [ 98%]
[  235s] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize PASSED      [ 99%]
[  235s] tests/test_winsize.py::TestCaseWinsize::test_initial_winsize_by_dimension PASSED [ 99%]
[  235s] tests/test_winsize.py::TestCaseWinsize::test_setwinsize PASSED           [100%]

From lines 1801 to 1829, your tests are being keyboard interrupted:

[  584s] >           raise exc
[  584s] E           pexpect.exceptions.TIMEOUT: 
[  584s] E           <pexpect.pty_spawn.spawn object at 0x7f83e9585c90>
[  584s] E           command: /usr/bin/bash
[  584s] E           args: [b'/usr/bin/bash', b'--rcfile', b'/home/abuild/rpmbuild/BUILD/pexpect-4.8.0/pexpect/bashrc.sh']
[  584s] E           buffer (last 100 chars): '^C'
[  584s] E           before (last 100 chars): '^C'
[  584s] E           after: <class 'pexpect.exceptions.TIMEOUT'>
[  584s] E           match: None
[  584s] E           match_index: None
[  584s] E           exitstatus: None
[  584s] E           flag_eof: False
[  584s] E           pid: 6224
[  584s] E           child_fd: 19
[  584s] E           closed: False
[  584s] E           timeout: 30
[  584s] E           delimiter: <class 'pexpect.exceptions.EOF'>
[  584s] E           logfile: None
[  584s] E           logfile_read: None
[  584s] E           logfile_send: None
[  584s] E           maxread: 2000
[  584s] E           ignorecase: False
[  584s] E           searchwindowsize: None
[  584s] E           delaybeforesend: 0.05
[  584s] E           delayafterclose: 0.1
[  584s] E           delayafterterminate: 0.1
[  584s] E           searcher: searcher_string:
[  584s] E               0: '[PEXPECT_PROMPT>'
[  584s] E               1: '[PEXPECT_PROMPT+'

Highlighting lines 1806 to 108 to show the keyboard interrupt:

[  584s] E           buffer (last 100 chars): '^C'
[  584s] E           before (last 100 chars): '^C'
[  584s] E           after: <class 'pexpect.exceptions.TIMEOUT'>

@Red-M Red-M closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants