[Python-modules-team] Bug#844919: Bug#844919: pytest: FTBFS: Tests failures

Sebastian Ramacher sramacher at debian.org
Sun Nov 20 10:09:01 UTC 2016


On 2016-11-19 20:31:37, Lucas Nussbaum wrote:
> On 19/11/16 at 11:06 +0100, Sebastian Ramacher wrote:
> > Control: severity -1 important
> > 
> > On 2016-11-19 08:04:11, Lucas Nussbaum wrote:
> > > Source: pytest
> > > Version: 3.0.3-1
> > > Severity: serious
> > > Tags: stretch sid
> > > User: debian-qa at lists.debian.org
> > > Usertags: qa-ftbfs-20161118 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):
> > > > /usr/lib/python2.7/dist-packages/twisted/trial/_synctest.py:23: in <module>
> > > >     from twisted.trial import itrial, util
> > > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> > > > 
> > > >     """
> > > >     
> > > >     from __future__ import division, absolute_import
> > > >     
> > > > >   import zope.interface as zi
> > > > E   AttributeError: 'module' object has no attribute 'interface'
> > > > 
> > > > /usr/lib/python2.7/dist-packages/twisted/trial/itrial.py:12: AttributeError
> > > > === 3 failed, 1640 passed, 26 skipped, 13 xfailed, 4 error in 71.75 seconds ====
> > > > E: pybuild pybuild:276: test: plugin custom failed with: exit code=1: cd debian/tmp/test-working-directory && python2.7 -m pytest --lsof -rfsxX --ignore=/<<PKGBUILDDIR>>/testing/freeze --ignore=/<<PKGBUILDDIR>>/testing/test_entry_points.py --ignore=/<<PKGBUILDDIR>>/testing/test_pdb.py /<<PKGBUILDDIR>>/testing
> > > > dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 --system=custom --test-args=cd debian/tmp/test-working-directory && {interpreter} -m pytest --lsof -rfsxX --ignore={dir}/testing/freeze --ignore={dir}/testing/test_entry_points.py --ignore={dir}/testing/test_pdb.py {dir}/testing returned exit code 13
> > > > debian/rules:25: recipe for target 'override_dh_auto_test' failed
> > 
> > I added a workaround in 3.0.4-1 by moving twisted to Build-Conflicts. Keeping
> > the bug report open until the upstream issue is fixed.
> 
> That's strange: the build was done in a clean chroot, so twisted is
> probably pulled by a build-dep

It was explicitly listed in B-D for those tests.

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20161120/0b9484ca/attachment.sig>


More information about the Python-modules-team mailing list