classification
Title: test failures under Bash on Windows / WSL
Type: behavior Stage:
Components: Library (Lib), Windows Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2016-08-26 18:40 by brett.cannon, last changed 2017-04-28 21:22 by brett.cannon.

Messages (6)
msg273714 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-08-26 18:40
test_logging and test_socket seem to hang, and then there are 35 failures:

    test_asyncio test_asyncore test_dbm_dumb test_dbm_gnu test_eintr
    test_epoll test_faulthandler test_fcntl test_ftplib test_gettext
    test_httpservers test_import test_largefile test_mailbox test_mmap
    test_multiprocessing_fork test_multiprocessing_forkserver
    test_multiprocessing_main_handling test_multiprocessing_spawn
    test_netrc test_os test_pathlib test_pep277 test_posix
    test_resource test_shutil test_signal test_socketserver test_stat
    test_subprocess test_tarfile test_time test_unicode_file
    test_wsgiref test_zipfile
msg274255 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-09-02 16:38
I re-ran the test suite in a directory not under /mnt/c to see if having a different file owner would change things and it did. test_logging and test_socket still hang, but the failures go down to 23:

    test_asyncio test_asyncore test_eintr test_epoll test_faulthandler
    test_fcntl test_ftplib test_httpservers test_import test_mmap
    test_multiprocessing_fork test_multiprocessing_forkserver
    test_multiprocessing_main_handling test_multiprocessing_spawn
    test_os test_posix test_resource test_signal test_socketserver
    test_subprocess test_time test_unicode_file test_wsgiref
msg274266 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2016-09-02 17:45
And with the latest patches applied, same hanging tests, but one less failure:

    test_asyncio test_asyncore test_epoll test_faulthandler test_fcntl
    test_ftplib test_httpservers test_import test_mmap
    test_multiprocessing_fork test_multiprocessing_forkserver
    test_multiprocessing_main_handling test_multiprocessing_spawn
    test_os test_posix test_resource test_signal test_socketserver
    test_subprocess test_time test_unicode_file test_wsgiref
msg292469 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2017-04-27 18:31
Under Creators Update with a clean Ubuntu 16.04 image and only installing clang and make, I built with `CC=clang ./configure; make -s -j` and ran with `./python -m test -j0 -x test_socket` (test_socket hung in a previous run; I let it run for 10 minutes previously):

348 tests OK.

19 tests failed:
    test_asyncio test_asyncore test_epoll test_fcntl test_ftplib
    test_httpservers test_import test_mmap test_multiprocessing_fork
    test_multiprocessing_forkserver test_multiprocessing_spawn test_os
    test_posix test_resource test_selectors test_signal
    test_subprocess test_time test_unicode_file

36 tests skipped:
    test_bz2 test_crypt test_ctypes test_curses test_dbm_gnu
    test_dbm_ndbm test_devpoll test_gdb test_gzip test_idle
    test_kqueue test_lzma test_msilib test_nis test_ossaudiodev
    test_readline test_smtpnet test_socketserver test_sqlite test_ssl
    test_startfile test_tcl test_timeout test_tix test_tk
    test_ttk_guionly test_ttk_textonly test_turtle test_urllib2net
    test_urllibnet test_winconsoleio test_winreg test_winsound
    test_xmlrpc_net test_zipfile64 test_zlib

Total duration: 3 min 56 sec
Tests result: FAILURE
msg292545 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2017-04-28 19:06
Running the tests with -uall didn't change the results.
msg292551 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2017-04-28 21:22
When failures are bit more isolated they should probably be reported to https://github.com/microsoft/bashonwindows .
History
Date User Action Args
2017-04-28 21:22:38brett.cannonsetversions: + Python 3.7, - Python 3.6
2017-04-28 21:22:33brett.cannonsetmessages: + msg292551
2017-04-28 19:06:00brett.cannonsetmessages: + msg292545
2017-04-27 18:31:44brett.cannonsetmessages: + msg292469
2017-04-19 18:21:58brett.cannonsettitle: test failures under Bash on Windows -> test failures under Bash on Windows / WSL
2016-09-02 17:45:00brett.cannonsetmessages: + msg274266
2016-09-02 16:38:27brett.cannonsetmessages: + msg274255
title: test failures on Bash on Windows -> test failures under Bash on Windows
2016-08-26 18:40:52brett.cannonsettitle: test failures on Bash for Windows -> test failures on Bash on Windows
2016-08-26 18:40:37brett.cannoncreate