This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 'make test' failed inside ssh+tmux
Type: Stage:
Components: Build Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kmash
Priority: normal Keywords:

Created on 2020-10-25 19:40 by kmash, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg379603 - (view) Author: Kostiantyn Mashukov (kmash) Date: 2020-10-25 19:40
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).
msg379604 - (view) Author: Kostiantyn Mashukov (kmash) Date: 2020-10-25 19:44
Does it mean that running python script inside ssh+tmux session could fail if it uses functionality that fails those tests?
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86315
2020-10-25 19:44:37kmashsetmessages: + msg379604
2020-10-25 19:40:07kmashcreate