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

Lucas Nussbaum lucas at debian.org
Sat Nov 19 19:31:37 UTC 2016


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

Lucas



More information about the Python-modules-team mailing list