[Bug 1892881] Re: mailman-hyperkitty: FTBFS: dh_auto_test: error: pybuild --test --test-nose2 -i python{version} -p "3.7 3.8" returned exit code 13

Bug Watch Updater 1892881 at bugs.launchpad.net
Thu Feb 25 21:59:19 UTC 2021


** Changed in: mailman-hyperkitty (Debian)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1892881

Title:
  mailman-hyperkitty: FTBFS: dh_auto_test: error: pybuild --test --test-
  nose2 -i python{version} -p "3.7 3.8" returned exit code 13

Status in mailman-hyperkitty package in Ubuntu:
  Fix Released
Status in mailman-hyperkitty package in Debian:
  Fix Released

Bug description:
  Imported from Debian bug http://bugs.debian.org/954604:

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman-hyperkitty/+bug/1892881/+subscriptions



More information about the Ubuntu-sponsors mailing list