Andy Fiddaman <a...@omnios.org> added the comment:
Jakub's results looks very familiar to me, having been working on python 3.9 on illumos. For OmniOS, we currently skip these tests via --ignorefile: # wchar_t related failures *.test_re.ReTests.test_locale_compiled *.test_re.ReTests.test_locale_caching # illumos does not support multiple SCM_RIGHTS messages in a packet *FDPassSeparate* # These tests fail on illumos and the first consumes a significant # amount of memory. Investigation required. test.test_socket.SendfileUsingSendfileTest.testCount test.test_socket.SendfileUsingSendfileTest.testWithTimeout test.test_socket.SendfileUsingSendfileTest.testOffset # test.test_asyncio.test_sendfile.* test.test_asyncio.test_subprocess.SubprocessMultiLoopWatcherTests.* We are also carrying some local patches for the following. Several come from Solaris. - Stop python detecting and using epoll() on illumos - scheduling priorities can be < 0 https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/mod-posix-sched_priority.patch - differences in sendfile behaviour (improves the situation but is not complete) https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/mod-posix-sendfile.patch - Enable sendfile for shutil.copy (mismatch between library and testsuite in terms of whether sendfile() is enabled on illumos) https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/mod-shutil-sendfile.patch - Fixes for building the socket module (_XOPEN_SOURCE=600) https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/mod-socket-xpg6.patch - Emulate clock_gettime(CLOCK_THREAD_CPUTIME_ID) https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/mod-time-threadtime.patch - PTY patch https://github.com/citrus-it/omnios-build/blob/python39/build/python39/patches/pty.patch and a few others, not all of which are suitable for upstream. https://github.com/citrus-it/omnios-build/tree/python39/build/python39/patches With all of this in place, the headline test stats for OmniOS Python 3.9 are: 401 tests OK. 24 tests skipped: test_dbm_gnu test_epoll test_gdb test_idle test_kqueue test_msilib test_ossaudiodev test_smtpnet test_socketserver 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 Tests result: SUCCESS and, additionally, the dtrace tests succeed (we test them separately as they require elevated privileges). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42173> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com