[Python-modules-team] Bug#741834: python-babel: FTBFS: Tests failures

David Suárez david.sephirot at gmail.com
Sun Mar 16 13:20:31 UTC 2014


Source: python-babel
Version: 1.3+dfsg.1-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140315 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[1]: Entering directory `/«BUILDDIR»/python-babel-1.3+dfsg.1'
> py.test
> ============================= test session starts ==============================
> platform linux2 -- Python 2.7.6 -- pytest-2.5.1
> collected 444 items
> 
> babel/core.py ............................................
> babel/dates.py ....F..............
> babel/localedata.py ..
> babel/numbers.py .............
> babel/plural.py ........
> babel/support.py .........
> babel/util.py ..
> babel/messages/catalog.py ...........
> babel/messages/checkers.py .
> babel/messages/extract.py ..
> babel/messages/frontend.py ..
> babel/messages/mofile.py .
> babel/messages/plurals.py .
> babel/messages/pofile.py ......
> tests/test_core.py ..............................................
> tests/test_dates.py ............................................................
> tests/test_localedata.py ......
> tests/test_numbers.py ...........................
> tests/test_plural.py .......
> tests/test_support.py ..........................
> tests/test_util.py ..
> tests/messages/test_catalog.py ....................................
> tests/messages/test_checkers.py ......
> tests/messages/test_extract.py ....................................
> tests/messages/test_frontend.py ................................
> tests/messages/test_jslexer.py .
> tests/messages/test_mofile.py ...
> tests/messages/test_plurals.py .
> tests/messages/test_pofile.py ..................................
> 
> =================================== FAILURES ===================================
> ____________________ [doctest] babel.dates.format_timedelta ____________________
> 728 
> 729     >>> format_timedelta(timedelta(hours=23), threshold=0.9, locale='en_US')
> 730     u'1 day'
> 731     >>> format_timedelta(timedelta(hours=23), threshold=1.1, locale='en_US')
> 732     u'23 hours'
> 733 
> 734     In addition directional information can be provided that informs
> 735     the user if the date is in the past or in the future:
> 736 
> 737     >>> format_timedelta(timedelta(hours=1), add_direction=True)
> UNEXPECTED EXCEPTION: AttributeError("'NoneType' object has no attribute 'plural_form'",)
> Traceback (most recent call last):
> 
>   File "/usr/lib/python2.7/doctest.py", line 1315, in __run
>     compileflags, 1) in test.globs
> 
>   File "<doctest babel.dates.format_timedelta[5]>", line 1, in <module>
> 
>   File "/«BUILDDIR»/python-babel-1.3+dfsg.1/babel/dates.py", line 780, in format_timedelta
>     plural_form = locale.plural_form(value)
> 
> AttributeError: 'NoneType' object has no attribute 'plural_form'
> 
> /«BUILDDIR»/python-babel-1.3+dfsg.1/babel/dates.py:737: UnexpectedException
> ===================== 1 failed, 443 passed in 4.60 seconds =====================
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/15/python-babel_1.3+dfsg.1-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 Python-modules-team mailing list