[PKG-Openstack-devel] Bug#746066: python-steadymark: FTBFS: Tests failures

David Suárez david.sephirot at gmail.com
Sun Apr 27 12:27:07 UTC 2014


Source: python-steadymark
Version: 0.4.5-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140426 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[2]: Entering directory `/«PKGBUILDDIR»'
> Cleaning up files that are already in .gitignore... OK!
> Running unit tests
> SteadyMark should find python code and use the previous header as title ... FAIL
> SteadyMark should find docstrings and use the previous header as title ... FAIL
> SteadyMark should find all the tests under the same header (title) ... FAIL
> SteadyMark should skip tests with the 'ignore' modeline ... ok
> SteadyMark should find doctest and use the previous header as title ... ok
> SteadyMark should find python code and use the previous header as title ... ok
> SteadyMark should accumulate the scope throughout the python code snippets ... ok
> 
> ======================================================================
> FAIL: SteadyMark should find python code and use the previous header as title
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/«PKGBUILDDIR»/tests/unit/test_parser.py", line 70, in test_find_python_code_with_titles
>     eval.when.called_with(test1.code).should.throw(AssertionError, "boom!")
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 376, in wrapper
>     value = func(self, *args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 790, in throw
>     return _that.raises(*args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 130, in raises
>     self._src, exc, e.__class__, traceback.format_exc(e)))
> AssertionError: <built-in function eval> should raise <type 'exceptions.AssertionError'>, but raised <type 'exceptions.TypeError'>:
> ORIGINAL EXCEPTION:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 118, in raises
>     self._src(*self._callable_args, **self._callable_kw)
> TypeError: eval expected at least 1 arguments, got 0
> 
> 
> ======================================================================
> FAIL: SteadyMark should find docstrings and use the previous header as title
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/«PKGBUILDDIR»/tests/unit/test_parser.py", line 124, in test_find_inline_doctests_with_titles
>     eval.when.called_with(test2.code).should.throw(AssertionError, "uh yeah")
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 376, in wrapper
>     value = func(self, *args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 790, in throw
>     return _that.raises(*args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 130, in raises
>     self._src, exc, e.__class__, traceback.format_exc(e)))
> AssertionError: <built-in function eval> should raise <type 'exceptions.AssertionError'>, but raised <type 'exceptions.TypeError'>:
> ORIGINAL EXCEPTION:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 118, in raises
>     self._src(*self._callable_args, **self._callable_kw)
> TypeError: eval expected at least 1 arguments, got 0
> 
> 
> ======================================================================
> FAIL: SteadyMark should find all the tests under the same header (title)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
>     self.test(*self.arg)
>   File "/«PKGBUILDDIR»/tests/unit/test_parser.py", line 154, in test_use_same_title_for_all_tests
>     eval.when.called_with(test1.code).should.throw(AssertionError, "FIRST")
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 376, in wrapper
>     value = func(self, *args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/__init__.py", line 790, in throw
>     return _that.raises(*args, **kw)
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 130, in raises
>     self._src, exc, e.__class__, traceback.format_exc(e)))
> AssertionError: <built-in function eval> should raise <type 'exceptions.AssertionError'>, but raised <type 'exceptions.TypeError'>:
> ORIGINAL EXCEPTION:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/sure/old.py", line 118, in raises
>     self._src(*self._callable_args, **self._callable_kw)
> TypeError: eval expected at least 1 arguments, got 0
> 
> 
> ----------------------------------------------------------------------
> Ran 7 tests in 0.013s
> 
> FAILED (failures=3)
> make[2]: *** [unit] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/04/26/python-steadymark_0.4.5-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Openstack-devel mailing list