classification
Title: test failures under Bash on Windows / WSL
Type: behavior Stage:
Components: Library (Lib), Windows Versions: Python 3.6
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-19 18:21 by brett.cannon.

Messages (3)
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
History
Date User Action Args
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