Title: make test failures, 2 tests failed: test_embed test_tabnanny
Type: compile error Stage:
Components: Tests Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Pattesvador, asholomitskiy84, iritkatriel
Priority: normal Keywords:

Created on 2021-03-21 15:38 by Pattesvador, last changed 2021-05-04 22:06 by asholomitskiy84.

File name Uploaded Description Edit
log_make_test 3.8.9.log asholomitskiy84, 2021-05-04 14:10
log_make_test 3.9.2.log asholomitskiy84, 2021-05-04 14:10
Messages (5)
msg389237 - (view) Author: Pattesvador (Pattesvador) Date: 2021-03-21 15:38
I'm trying to install python 3.9.2 on a 18.04.5 ubuntu. I downloaded the Python-3.9.2.tar.xz and followed the readme.txt installation instructions. When executing the "make test" command I get this error : 

== Tests result: FAILURE then FAILURE ==

397 tests OK.

2 tests failed:
    test_embed test_tabnanny

26 tests skipped:
    test_bz2 test_dbm_gnu test_dbm_ndbm test_devpoll test_idle
    test_ioctl test_kqueue test_lzma test_msilib test_ossaudiodev
    test_readline test_smtpnet test_sqlite test_ssl test_startfile
    test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly
    test_turtle test_winconsoleio test_winreg test_winsound
    test_zipfile64 test_zoneinfo

2 re-run tests:
    test_embed test_tabnanny

Total duration: 9 min 26 sec
Tests result: FAILURE then FAILURE
Récolte du processus fils perdant 0x55e48cc2b400 PID 15880 
Makefile:1199: recipe for target 'test' failed
make: *** [test] Error 2
Retrait du processus fils 0x55e48cc2b400 PID 15880 de la chaîne.

I don't know what to do. I've read one issue on the topic but I have to admit that I didn't understand a thing. Here's the issue

Thank you for your answers.
msg391092 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-04-14 18:29
As Victor suggested in

Try to run directly the two failing tests in verbose mode, copy/paste the output into a file and attach the file here:

python -m test test_embed test_tabnanny -v
msg392900 - (view) Author: Alexei S (asholomitskiy84) Date: 2021-05-04 14:11
I have opened the same issue
msg392962 - (view) Author: Alexei S (asholomitskiy84) Date: 2021-05-04 22:01
python3 -m ~/Загрузки/Python-3.8.9/Lib/test/test_embed -v
/usr/bin/python3: Error while finding module specification for '/home/alexei/Загрузки/Python-3.8.9/Lib/test/test_embed' (ModuleNotFoundError: No module named '/home/alexei/Загрузки/Python-3')

it doesn't recognize '-' ??
msg392963 - (view) Author: Alexei S (asholomitskiy84) Date: 2021-05-04 22:06
i rename folder and tried
python3 -m '~/Загрузки/Python-389/Lib/test/test_embed' -v

/usr/bin/python3: No module named ~/Загрузки/Python-389/Lib/test/test_embed

Date User Action Args
2021-05-04 22:06:22asholomitskiy84setmessages: + msg392963
2021-05-04 22:01:04asholomitskiy84setmessages: + msg392962
2021-05-04 14:11:43asholomitskiy84setnosy: + asholomitskiy84
messages: + msg392900
2021-05-04 14:10:15asholomitskiy84setfiles: + log_make_test 3.9.2.log
2021-05-04 14:10:01asholomitskiy84setfiles: + log_make_test 3.8.9.log
2021-05-03 04:38:45asholomitskiy84settype: compile error
components: + Tests
2021-04-14 18:29:22iritkatrielsetnosy: + iritkatriel
messages: + msg391092
2021-03-21 15:38:59Pattesvadorcreate