| Summary: | dev-python/twisted-11.1.0 fails tests | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Mikle Kolyada (RETIRED) <zlogene> |
| Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | creffett |
| Priority: | Normal | Keywords: | TESTFAILURE |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Mikle Kolyada (RETIRED)
2012-02-24 11:26:03 UTC
Created attachment 303049 [details]
build.log
localhost dev-python # FEATURES=test emerge twisted
* IMPORTANT: 1 news items need reading for repository 'progress'.
* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Calculating dependencies | * Digest verification failed:
* /mnt/gen2/old-portage/dev-python/shiboken/shiboken-1.1.0.ebuild
* Reason: Filesize does not match recorded size
* Got: 1901
* Expected: 2224
... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/twisted-11.1.0 from progress
>>> Jobs: 0 of 1 complete, 1 running Load avg: 0.09, 0.06, 0.09openpty failed: 'out of pty devices'
>>> Installing (1 of 1) dev-python/twisted-11.1.0
could not replicate
correction. I didn't notice that is the progress version of twisted. The gx86 indeed fails in the style of that build log. localhost idella # time FEATURES=test emerge =dev-python/twisted-11.1.0::gentoo
>>> Emerging (4 of 4) dev-python/twisted-11.1.0
>>> Installing (4 of 4) dev-python/twisted-11.1.0
real 7m11.899s
user 2m59.968s
sys 0m26.234s
Note the time. For a while I was getting persistent failures in both gx86 and progress, with a longer list than in the provided build log. However the time it took was 21 minutes. They were constantly timing out on a number of tests, 2 minutes per timeout. Those were done in a chroot environment.
This host is a stable gentoo. The other 2 are testing, but both accessed via chroot. Some python packages don't deal well in a chroot, you need be in a host. I finally keyworded twisted to take this version and it passed.
Was this bug lodged from testing in a chroot?
Here's some error I just encountered with a freshly installed box. Python 2.7.2 on an amd64, FEATURES=test emerge dev-python/twisted-11.0.0:
[ERROR]
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 351, in test_duplicateAdapterForInterfaceAllowed
return self._duplicateAdapterForClassOrInterfaceAllowed(TheOriginal)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 312, in _duplicateAdapterForClassOrInterfaceAllowed
components.registerAdapter(firstAdapter, original, TheInterface)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.
twisted.python.test.test_components.RegistrationTestCase.test_duplicateAdapterForInterfaceAllowed
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 268, in test_registerAdapterForInterface
return self._registerAdapterForClassOrInterface(TheOriginal)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 245, in _registerAdapterForClassOrInterface
components.registerAdapter(adapter, original, TheInterface)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.
twisted.python.test.test_components.RegistrationTestCase.test_registerAdapterForInterface
===============================================================================
[ERROR]
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 423, in test_subclassAdapterRegistrationForInterface
return self._subclassAdapterRegistrationForClassOrInterface(TheOriginal)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/test/test_components.py", line 396, in _subclassAdapterRegistrationForClassOrInterface
components.registerAdapter(firstAdapter, original, TheInterface)
File "/var/tmp/portage/dev-python/twisted-11.0.0/temp/tests/usr/lib64/python2.7/site-packages/twisted/python/components.py", line 93, in registerAdapter
raise ValueError("an adapter (%s) was already registered." % (factory, ))
exceptions.ValueError: an adapter (<function <lambda> at 0x27fd848>) was already registered.
twisted.python.test.test_components.RegistrationTestCase.test_subclassAdapterRegistrationForInterface
Please retry with 12.0.0 (In reply to comment #6) > Please retry with 12.0.0 12.0.0 finishes the tests successfully for me. (In reply to comment #7) > (In reply to comment #6) > > Please retry with 12.0.0 > > 12.0.0 finishes the tests successfully for me. 12.0.0 fixed in tree some time ago. |