Title: Python-3.8.1 "test_importlib" failed
Type: Stage: resolved
Components: Build Versions: Python 3.8
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Darryl Hall Jr, Divyansh_tiwari, rahul-kumi, viana200610, vstinner, xtreak
Priority: normal Keywords:

Created on 2020-01-14 04:52 by Divyansh_tiwari, last changed 2021-09-01 15:50 by vstinner. This issue is now closed.

Messages (5)
msg359945 - (view) Author: Divyansh tiwari (Divyansh_tiwari) Date: 2020-01-14 04:52
Python-3.8.1 after "make test" command in Ubuntu terminal report an error saying "test_importlib" failed.

= Tests result: FAILURE then FAILURE ==

1 test failed:

1 re-run test:

I re-ran the test my the command make test TESTOPTS="-v test_importlib"

but again result in failed
msg359946 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2020-01-14 05:46
Can you please attach the output log of the test?
msg370473 - (view) Author: Darryl Hall Jr (Darryl Hall Jr) Date: 2020-05-31 14:50
@Divyansh_tiwari I had the same issue, but on Python-3.8.3. I ran `sudo apt-get install zlib1g-dev` then `sudo apt-get install zlibc`. After installing those 2 packages, I reran `make test` and had test results = success. I hope this might work for you as well.
msg377515 - (view) Author: Vinícius Viana W. (viana200610) Date: 2020-09-26 00:58
I had this issue too, but in Python-3.8.6. I did what @Darryl Hall Jr suggested. But in my case, I just needed to ran 'sudo apt-get install zlib1g-dev', and then, I ran 'sudo make testall', and I got: 'Tests result: SUCCESS'!

Thank you
msg400846 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-09-01 15:50
> Can you please attach the output log of the test?

Since the original reporter didn't reply, we cannot investigate the issue and I close it. If you still have the issue, please reopen the issue with the full test output (attached as a file).
Date User Action Args
2021-09-01 15:50:04vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg400846

resolution: out of date
stage: resolved
2020-09-26 14:07:18rahul-kumisetnosy: + rahul-kumi
2020-09-26 00:58:14viana200610setnosy: + viana200610
messages: + msg377515
2020-05-31 14:50:17Darryl Hall Jrsetstatus: pending -> open
nosy: + Darryl Hall Jr
messages: + msg370473

2020-03-11 10:36:52xtreaksetstatus: open -> pending
2020-01-14 05:46:16xtreaksetnosy: + xtreak
messages: + msg359946
2020-01-14 04:52:26Divyansh_tiwaricreate