[issue42149] Python 'make test' failed inside ssh+tmux

Kostiantyn Mashukov report at bugs.python.org
Sun Oct 25 15:40:07 EDT 2020


New submission from Kostiantyn Mashukov <mail at highrox.com>:

Short version:
When building python from source code on linux (Debian10 amd64) inside ssh+tmux session 'make test' ends up with some tests failed.
  
Long version:
Build environment - freshly installed Debian10-amd64 os. Added build dependency packages: libreadline-dev libbz2-dev libffi-dev liblzma-dev libssl-dev libsqlite3-dev libgdbm-dev libncursesw5-dev tk-dev libgdbm-compat-dev

If you ssh to this machine, start tmux and initiate build like this:
./configure && make && make test
the whole testing phase will fail due to some failed tests.
----------------------------------------
7 tests failed:                                                                                                                                                                               
   test_generators test_multiprocessing_fork                                                                                                                                                 
   test_multiprocessing_forkserver test_multiprocessing_spawn                                                                                                                                   
   test_pdb test_regrtest test_threading                                                                                                                                                     
                                                                                                                                                                                              
14 tests skipped:                                                                                                                                                                             
   test_devpoll test_gdb test_ioctl test_kqueue test_msilib                                                                                                                           
   test_ossaudiodev test_startfile test_tix test_tk test_ttk_guionly                                                                                                                         
    test_winconsoleio test_winreg test_winsound test_zipfile64                                                                                                                                
                                                                                                                                                                                              
7 re-run tests:                                                                                                                                                                               
    test_generators test_multiprocessing_fork                                                                                                                                                 
    test_multiprocessing_forkserver test_multiprocessing_spawn                                                                                                                                
    test_pdb test_regrtest test_threading                                                                                                                                                     
                                                                                                                                                                                              
Total duration: 10 min 34 sec                                                                                                                                                                 
Tests result: FAILURE then FAILURE
-----------------------------------------
Running the same build process on the same machine ends up fine, if running: locally inside xterm, locally inside xterm+tmux, remotely inside ssh only (without tmux).

----------
components: Build
messages: 379603
nosy: kmash
priority: normal
severity: normal
status: open
title: Python 'make test' failed inside ssh+tmux
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42149>
_______________________________________


More information about the Python-bugs-list mailing list