Summary: | dev-python/py-1.4.20 fails tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Meier <maekke> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | REGRESSION |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=514442 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506042 | ||
Attachments: |
dev-python:py-1.4.20:20140401-185144.log
build.log |
Description
Markus Meier
![]() Did not replicate. ~/cvsPortage/gentoo-x86/dev-python/py $ ebuild py-1.4.20.ebuild clean test platform linux2 -- Python 2.6.9 -- py-1.4.20 -- pytest-2.5.2 == test session starts == platform linux2 -- Python 3.2.5 -- py-1.4.20 -- pytest-2.5.2 plugins: cov == test session starts == platform linux -- Python 3.3.4 -- py-1.4.20 -- pytest-2.5.2 plugins: cov == test session starts == platform linux2 -- Python 2.7.6 -- py-1.4.20 -- pytest-2.5.2 plugins: cov == test session starts == platform linux2 -- Python 2.7.3[pypy-2.0.2-final] -- py-1.4.20 -- pytest-2.5.2 == 728 passed, 20 skipped, 4 xfailed, 2 xpassed in 35.58 seconds == == 729 passed, 20 skipped, 4 xfailed, 1 xpassed in 37.00 seconds == == 729 passed, 20 skipped, 5 xfailed in 38.15 seconds == == 729 passed, 20 skipped, 5 xfailed in 38.52 seconds == == 728 passed, 21 skipped, 4 xfailed, 1 xpassed in 47.45 seconds == Created attachment 376268 [details]
build.log
the failure is (partially) reproducible on an other arm box. this box has less python packages installed - is it possible that the package is not pulling in all test-deps?
hmm, from bug 514442 ___________ ERROR at setup of TestCommonCrypto.test_supports_cipher ____________ Error evaluating 'skipif' expression True Failed: expression is not a string More than a coincidence. I know nothing about alpha, however what we have here in common is alpha running testsuites using pytest on 2 arm boxes by you and one by your colleague klausman and seeing them do this oddity. I wonder is it possible alpha has problem with pytest. is it possible that the package is not pulling in all test-deps? Generally this is quite evident from reports of failure to import a module of a dep not installed. Actually I misread arm as alpha however there is still this commonality between them. I played around a bit with pytest and it looks like py-1.4.20 should depend on >=pytest-2.4.2 -- with both that and 2.5.2, the test suite completes just fine on alpha. 19 Jul 2014; Tobias Klausmann <klausman@gentoo.org> py-1.4.20.ebuild: Update pytest dep and drop ia64 and hppa stable keywords. Details in bug 506042 |