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

Bug #1892881 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mailman-hyperkitty (Debian)
Fix Released
Unknown
mailman-hyperkitty (Ubuntu)
Fix Released
Undecided
Lukas Märdian

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.

tags: added: update-excuse
Changed in mailman-hyperkitty (Debian):
importance: Undecided → Unknown
Revision history for this message
Lukas Märdian (slyon) wrote :
Changed in mailman-hyperkitty (Ubuntu):
status: New → Confirmed
assignee: nobody → Lukas Märdian (slyon)
Lukas Märdian (slyon)
Changed in mailman-hyperkitty (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "mailman-hyperkitty_1.1.0-9ubuntu1.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mailman-hyperkitty - 1.1.0-9ubuntu1

---------------
mailman-hyperkitty (1.1.0-9ubuntu1) groovy; urgency=medium

  * Avoid testing via pybuild, as it tries running tests from the empty
    build directory. Use nose2-3 instead, as defined via Build-Depends.
    (LP: #1892881) (Closes: #954604)

 -- Lukas Märdian <email address hidden> Tue, 01 Sep 2020 15:18:47 +0200

Changed in mailman-hyperkitty (Ubuntu):
status: In Progress → Fix Released
Changed in mailman-hyperkitty (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.