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.

Author vstinner
Recipients belopolsky, davin, emilyemorehouse, eric.snow, miss-islington, nanjekyejoannah, ncoghlan, ned.deily, pablogsal, pitrou, pmpp, steve.dower, vstinner, zach.ware
Date 2020-06-10.09:06:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591780002.44.0.719627052907.issue32604@roundup.psfhosted.org>
In-reply-to
Content
test__xxsubinterpreters and test_interpreters failed on AMD64 FreeBSD Shared 3.x:
https://buildbot.python.org/all/#/builders/152/builds/973

See also bpo-37224: "[subinterpreters] test__xxsubinterpreters fails randomly".

IMO there are multiple race conditions in these tests.

======================================================================
FAIL: test_subinterpreter (test.test__xxsubinterpreters.IsRunningTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test__xxsubinterpreters.py", line 478, in test_subinterpreter
    self.assertTrue(interpreters.is_running(interp))
AssertionError: False is not true

======================================================================
FAIL: test_still_running (test.test_interpreters.TestInterpreterDestroy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_interpreters.py", line 309, in test_still_running
    interp.close()
AssertionError: RuntimeError not raised

======================================================================
FAIL: test_subinterpreter (test.test_interpreters.TestInterpreterIsRunning)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_interpreters.py", line 207, in test_subinterpreter
    self.assertTrue(interp.is_running())
AssertionError: False is not true

======================================================================
FAIL: test_already_running (test.test_interpreters.TestInterpreterRun)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_interpreters.py", line 383, in test_already_running
    self.interp.run('print("spam")')
AssertionError: RuntimeError not raised
History
Date User Action Args
2020-06-10 09:06:42vstinnersetrecipients: + vstinner, ncoghlan, belopolsky, pitrou, ned.deily, pmpp, eric.snow, zach.ware, steve.dower, davin, emilyemorehouse, pablogsal, miss-islington, nanjekyejoannah
2020-06-10 09:06:42vstinnersetmessageid: <1591780002.44.0.719627052907.issue32604@roundup.psfhosted.org>
2020-06-10 09:06:42vstinnerlinkissue32604 messages
2020-06-10 09:06:41vstinnercreate