Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Aug 8, 2012, 5:59 PM

Post #1 of 7 (347 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%203.x/builds/3231/steps/test/logs/stdio

[111/369] test_threaded_import
test_circular_imports (test.test_threaded_import.ThreadedImportTests) ... Exception in thread Thread-586:
Traceback (most recent call last):
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/threading.py", line 639, in _bootstrap_inner
self.run()
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/threading.py", line 596, in run
self._target(*self._args, **self._kwargs)
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_threaded_import.py", line 194, in import_ab
import A
ImportError: No module named 'A'

Exception in thread Thread-587:
Traceback (most recent call last):
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/threading.py", line 639, in _bootstrap_inner
self.run()
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/threading.py", line 596, in run
self._target(*self._args, **self._kwargs)
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_threaded_import.py", line 197, in import_ba
import B
ImportError: No module named 'B'

FAIL
test_import_hangers (test.test_threaded_import.ThreadedImportTests) ... ok
test_parallel_meta_path (test.test_threaded_import.ThreadedImportTests) ... Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
ok
test_parallel_module_init (test.test_threaded_import.ThreadedImportTests) ... Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
ok
test_parallel_path_hooks (test.test_threaded_import.ThreadedImportTests) ... Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
Trying 20 threads ... OK.
Trying 50 threads ... OK.
ok
test_side_effect_import (test.test_threaded_import.ThreadedImportTests) ... ok

======================================================================
FAIL: test_circular_imports (test.test_threaded_import.ThreadedImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_threaded_import.py", line 205, in test_circular_imports
self.assertEqual(set(results), {'a', 'b'})
AssertionError: Items in the second set but not the first:
'a'
'b'

----------------------------------------------------------------------

----------
messages: 167747
nosy: brett.cannon, haypo
priority: normal
severity: normal
status: open
title: test_circular_imports() of test_threaded_import fails on FreeBSD 9.0

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 9, 2012, 1:08 AM

Post #2 of 7 (331 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Stefan Krah added the comment:

The buildbot is running inside kvm on a heavily loaded machine. Perhaps
some timeout is too low.

----------
nosy: +skrah

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 9, 2012, 10:07 AM

Post #3 of 7 (330 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Antoine Pitrou added the comment:

> The buildbot is running inside kvm on a heavily loaded machine. Perhaps
> some timeout is too low.

Could you try to run the tests manually after having upped said timeouts? (look for "sleep" in the test file)

----------
nosy: +pitrou

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 9, 2012, 11:54 AM

Post #4 of 7 (331 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Stefan Krah added the comment:

Antoine Pitrou <report [at] bugs> wrote:
> Could you try to run the tests manually after having upped said timeouts? (look for "sleep" in the test file)

No luck there: The tests pass unmodified (100 times with the -F option).

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2012, 8:11 AM

Post #5 of 7 (332 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Antoine Pitrou added the comment:

> No luck there: The tests pass unmodified (100 times with the -F option).

You could try "-F -j16" or something similar.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 11, 2012, 11:44 AM

Post #6 of 7 (330 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Stefan Krah added the comment:

With -F -j16 I get these failures both on FreeBSD and Linux, but not
the original failure:

======================================================================
FAIL: test_parallel_meta_path (test.test_threaded_import.ThreadedImportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/hg/cpython/Lib/test/test_threaded_import.py", line 131, in test_parallel_meta_path
self.check_parallel_module_init()
File "/home/stefan/hg/cpython/Lib/test/test_threaded_import.py", line 120, in check_parallel_module_init
self.assertFalse(errors)
AssertionError: [AttributeError("'module' object has no attribute 'randrange'",)] is not false

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 17, 2012, 2:52 PM

Post #7 of 7 (320 views)
Permalink
[issue15599] test_circular_imports() of test_threaded_import fails on FreeBSD 9.0 [In reply to]

Stefan Krah added the comment:

Reproduced by another FreeBSD bot:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.x/builds/238/steps/test/logs/stdio

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue15599>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.