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: make test failures, 2 tests failed: test_embed test_tabnanny
Type: compile error Stage: resolved
Components: Tests Versions: Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder: test_embed and test_tabnanny fails if the current directory is non-ASCII
View: 44031
Assigned To: Nosy List: Pattesvador, asholomitskiy84, iritkatriel, vstinner
Priority: normal Keywords:

Created on 2021-03-21 15:38 by Pattesvador, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
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 (6)
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 https://bugs.python.org/issue43001

Thank you for your answers.
msg391092 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-04-14 18:29
As Victor suggested in https://bugs.python.org/issue43001#msg386820:

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
https://bugs.python.org/issue44031
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

???
msg394312 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-05-25 10:20
> 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 : 

Please provide *all* commands that you typed before you got the error.
History
Date User Action Args
2022-04-11 14:59:43adminsetgithub: 87749
2022-01-29 10:46:40iritkatrielsetstatus: open -> closed
superseder: test_embed and test_tabnanny fails if the current directory is non-ASCII
resolution: duplicate
stage: resolved
2021-05-25 10:20:51vstinnersetnosy: + vstinner
messages: + msg394312
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