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.

Title: test_subprocess fails
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.8
Status: closed Resolution: duplicate
Dependencies: Superseder: test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x
View: 34326
Assigned To: Nosy List: ashermancinelli, matrixise, xtreak
Priority: normal Keywords:

Created on 2018-08-03 00:55 by ashermancinelli, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg323007 - (view) Author: Asher Mancinelli (ashermancinelli) Date: 2018-08-03 00:55
Cloned master (v3.8) from github. os: Arch x86_64, kernel: 4.14.56-1-lts. successfully ran `./configure --enable-optimizations` and `make`, but failed with this error message when running `make test` 

FAIL: test_close_fds (test.test_subprocess.POSIXProcessTestCase)
Traceback (most recent call last):
  File "/home/asher/sources/cpython3.8/Lib/test/", line 2378, in test_close_fds
    "Some fds were left open")
AssertionError: {3} is not false : Some fds were left open

FAIL: test_close_fds_after_preexec (test.test_subprocess.POSIXProcessTestCase)
Traceback (most recent call last):
  File "/home/asher/sources/cpython3.8/Lib/test/", line 2653, in test_close_fds_after_preexec
    self.assertNotIn(fd, remaining_fds)
AssertionError: 3 unexpectedly found in {0, 1, 2, 3}

FAIL: test_pass_fds (test.test_subprocess.POSIXProcessTestCase)
Traceback (most recent call last):
  File "/home/asher/sources/cpython3.8/Lib/test/support/", line 615, in wrapper
    return func(*args, **kw)
  File "/home/asher/sources/cpython3.8/Lib/test/", line 2503, in test_pass_fds
    "fd to be closed passed")
AssertionError: {4} is not false : fd to be closed passed

Ran 285 tests in 23.861s

FAILED (failures=3, skipped=28)
test test_subprocess failed
1 test failed again:

== Tests result: FAILURE then FAILURE ==

404 tests OK.

1 test failed:

13 tests skipped:
    test_devpoll test_gdb test_kqueue test_msilib test_ossaudiodev
    test_startfile test_tix test_tk test_ttk_guionly test_winconsoleio
    test_winreg test_winsound test_zipfile64

1 re-run test:

Total duration: 3 min 59 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1058: test] Error 2
msg323017 - (view) Author: Karthikeyan Singaravelan (xtreak) * (Python committer) Date: 2018-08-03 04:30
Related issue :

msg323030 - (view) Author: Stéphane Wirtel (matrixise) * (Python committer) Date: 2018-08-03 06:10
It's a duplicate of this issue:

I close this issue.

Thank you for your feedback.
Date User Action Args
2022-04-11 14:59:04adminsetgithub: 78508
2018-08-03 20:09:10berker.peksagsetsuperseder: test_subprocess.POSIXProcessTestCase fails in AMD64 Ubuntu 3.x
2018-08-03 06:10:33matrixisesetstatus: open -> closed

nosy: + matrixise
messages: + msg323030

resolution: duplicate
stage: resolved
2018-08-03 04:30:00xtreaksetnosy: + xtreak
messages: + msg323017
2018-08-03 00:57:47ppperrysettype: crash -> behavior
components: + Tests, - Build
title: CPython make test crash -> test_subprocess fails
2018-08-03 00:55:31ashermancinellicreate