[Pkg-mailman-hackers] Bug#954604: mailman-hyperkitty: FTBFS: dh_auto_test: error: pybuild --test --test-nose2 -i python{version} -p "3.7 3.8" returned exit code 13
Pierre-Elliott Bécue
peb at debian.org
Thu Apr 16 09:25:03 BST 2020
Le dimanche 22 mars 2020 à 08:55:33+0100, Lucas Nussbaum a écrit :
> Source: mailman-hyperkitty
> Version: 1.1.0-9
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200321 ftbfs-bullseye
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > debian/rules build
> > dh build --with python3 --buildsystem=pybuild
> > dh_update_autotools_config -O--buildsystem=pybuild
> > dh_autoreconf -O--buildsystem=pybuild
> > dh_auto_configure -O--buildsystem=pybuild
> > I: pybuild base:217: python3.7 setup.py config
> > running config
> > I: pybuild base:217: python3.8 setup.py config
> > running config
> > dh_auto_build -O--buildsystem=pybuild
> > I: pybuild base:217: /usr/bin/python3.7 setup.py build
> > running build
> > running build_py
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty
> > copying mailman_hyperkitty/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > copying mailman_hyperkitty/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > copying mailman_hyperkitty/tests/test_archiver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > running egg_info
> > writing mailman_hyperkitty.egg-info/PKG-INFO
> > writing dependency_links to mailman_hyperkitty.egg-info/dependency_links.txt
> > writing requirements to mailman_hyperkitty.egg-info/requires.txt
> > writing top-level names to mailman_hyperkitty.egg-info/top_level.txt
> > reading manifest file 'mailman_hyperkitty.egg-info/SOURCES.txt'
> > reading manifest template 'MANIFEST.in'
> > writing manifest file 'mailman_hyperkitty.egg-info/SOURCES.txt'
> > I: pybuild base:217: /usr/bin/python3 setup.py build
> > running build
> > running build_py
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mailman-hyperkitty/build/mailman_hyperkitty
> > copying mailman_hyperkitty/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mailman-hyperkitty/build/mailman_hyperkitty
> > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > copying mailman_hyperkitty/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > copying mailman_hyperkitty/tests/test_archiver.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mailman-hyperkitty/build/mailman_hyperkitty/tests
> > running egg_info
> > writing mailman_hyperkitty.egg-info/PKG-INFO
> > writing dependency_links to mailman_hyperkitty.egg-info/dependency_links.txt
> > writing requirements to mailman_hyperkitty.egg-info/requires.txt
> > writing top-level names to mailman_hyperkitty.egg-info/top_level.txt
> > reading manifest file 'mailman_hyperkitty.egg-info/SOURCES.txt'
> > reading manifest template 'MANIFEST.in'
> > writing manifest file 'mailman_hyperkitty.egg-info/SOURCES.txt'
> > dh_auto_test -O--buildsystem=pybuild
> > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build; python3.7 -m nose2 -v
> > test_archive_message (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_archive_message_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_archive_message_invalid (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_archive_message_replay (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_archive_message_unavailable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_archive_message_unserializable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... skipped The encoding doesn't fail in python3
> > test_list_url (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_list_url_permalink_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_list_url_permalink_invalid (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_permalink (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_queued_archive_message_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_queued_message_enqueue_exception (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_queued_message_finish_exception (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> > test_queued_message_unparseable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase) ... ERROR
> >
> > ======================================================================
> > ERROR: test_archive_message (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_archive_message_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_archive_message_invalid (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_archive_message_replay (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_archive_message_unavailable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_list_url (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_list_url_permalink_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_list_url_permalink_invalid (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_permalink (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_queued_archive_message_error (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_queued_message_enqueue_exception (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_queued_message_finish_exception (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ======================================================================
> > ERROR: test_queued_message_unparseable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build/mailman_hyperkitty/tests/test_archiver.py", line 89, in setUp
> > """.format(tmpdir=self._tempdir))
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 127, in push
> > self._clear()
> > File "/usr/lib/python3/dist-packages/mailman/config/config.py", line 100, in _clear
> > getUtility(ILanguageManager).clear()
> > File "/usr/lib/python3/dist-packages/zope/component/_api.py", line 169, in getUtility
> > raise ComponentLookupError(interface, name)
> > zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.languages.ILanguageManager>, '')
> >
> > ----------------------------------------------------------------------
> > Ran 14 tests in 0.003s
> >
> > FAILED (errors=13, skipped=1)
> > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_mailman-hyperkitty/build; python3.7 -m nose2 -v
> > dh_auto_test: error: pybuild --test --test-nose2 -i python{version} -p "3.7 3.8" returned exit code 13
>
> The full build log is available from:
> http://qa-logs.debian.net/2020/03/21/mailman-hyperkitty_1.1.0-9_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.
Thanks for the report. This is due to incompatibilites coming from zope
interface > 5. It'll get fixed as soon as mailman 3.3.1 enters Debian,
which should happen… when they release it. :P
I'll package 3.3.1~rc1 in experimental.
WBR,
--
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20200416/621ddacb/attachment.sig>
More information about the Pkg-mailman-hackers
mailing list