Bug#839460: python-tz: FTBFS: Tests failures

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:17:08 UTC 2016


Source: python-tz
Version: 2015.7+dfsg-0.1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 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):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "/<<BUILDDIR>>/python-tz-2015.7+dfsg/pytz/tests/test_tzinfo.py", line 34, in <module>
>     GMT = pytz.timezone('GMT')
>   File "pytz/__init__.py", line 170, in timezone
>     raise UnknownTimeZoneError(zone)
> UnknownTimeZoneError: 'GMT'
> 
> 
> ----------------------------------------------------------------------
> Ran 41 tests in 0.009s
> 
> FAILED (errors=1)
> debian/rules:30: recipe for target 'override_dh_auto_test' failed

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/python-tz_2015.7+dfsg-0.1_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 pkg-zope-developers mailing list