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: test_concurrent_futures hangs
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: bquinlan, nadeem.vawda, tebeka
Priority: normal Keywords:

Created on 2012-03-07 01:30 by tebeka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (6)
msg155043 - (view) Author: Miki Tebeka (tebeka) * Date: 2012-03-07 01:30
Running "make test" on 3.3a source tree on Ubuntu 11.10 (64bit) hangs at test_concurrent_futures
msg155080 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-03-07 12:22
Is this a single failure that you encountered, or have you been able to
reproduce it on subsequent runs? I haven't seen a failure in
test_concurrent_futures in 10-15 runs of "make test" (also on Ubuntu
11.10 64-bit).
msg155090 - (view) Author: Miki Tebeka (tebeka) * Date: 2012-03-07 14:53
I happended several times. Ran it this morning an got passed it, however other tests failed though:
======================================================================
ERROR: test_anydbm_creation (test.test_dbm.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 70, in test_anydbm_creation
    self.read_helper(f)
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 111, in read_helper
    self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'

======================================================================
ERROR: test_anydbm_modification (test.test_dbm.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 85, in test_anydbm_modification
    self.read_helper(f)
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 111, in read_helper
    self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'

======================================================================
ERROR: test_anydbm_read (test.test_dbm.TestCase-dbm.ndbm)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 91, in test_anydbm_read
    self.read_helper(f)
  File "/home/miki/src/Python-3.3.0a1/Lib/test/test_dbm.py", line 111, in read_helper
    self.assertEqual(self._dict[key], f[key.encode("ascii")])
KeyError: b'0'

----------------------------------------------------------------------
Ran 18 tests in 0.149s

FAILED (errors=3)
msg155096 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-03-07 16:40
> I happended several times.

Hmm. If you hit another failure, can you post the random seed and any
other interesting info that might help figure this out?

The test_dbm failures look like issue 14120. You might want to follow up
there.
msg155098 - (view) Author: Brian Quinlan (bquinlan) * (Python committer) Date: 2012-03-07 17:00
Could you run just the test_concurrent_futures test, hit ctrl-C at the point where it hangs, and send the traceback here?
msg155267 - (view) Author: Miki Tebeka (tebeka) * Date: 2012-03-09 22:27
Of course now the tests pass and I can't reproduce it. Sorry.
You can close the issue or wait to see if someone else has the same problem.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58422
2012-10-13 21:55:51nadeem.vawdasetstatus: open -> closed
resolution: works for me
stage: needs patch -> resolved
2012-03-09 22:27:45tebekasetmessages: + msg155267
2012-03-07 17:00:08bquinlansetmessages: + msg155098
2012-03-07 16:40:56nadeem.vawdasetnosy: + bquinlan
messages: + msg155096
2012-03-07 14:53:13tebekasetmessages: + msg155090
2012-03-07 12:22:14nadeem.vawdasetnosy: + nadeem.vawda
messages: + msg155080

type: behavior
stage: needs patch
2012-03-07 01:30:49tebekacreate