[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

Lukas Märdian lukas.maerdian at canonical.com
Tue Sep 1 14:43:48 BST 2020


Package: mailman-hyperkitty
Version: 1.1.0-9
Followup-For: Bug #954604
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu groovy ubuntu-patch

Dear Maintainer,

since the last update to setuptools the autopkgtest/dh_auto_test is not
running properly anymore, as pybuild tries to trigger them from with the
(empty) build directory, which makes the tests fail.

When run via nose2-3 from the source directory the tests pass as
expected.

*** /tmp/tmpolxgs94j/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

  * 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)


Thanks for considering the patch.


-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-42-generic (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru mailman-hyperkitty-1.1.0/debian/rules mailman-hyperkitty-1.1.0/debian/rules
--- mailman-hyperkitty-1.1.0/debian/rules	2018-07-28 15:42:21.000000000 +0200
+++ mailman-hyperkitty-1.1.0/debian/rules	2020-09-01 15:18:47.000000000 +0200
@@ -4,3 +4,6 @@
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	nose2-3


More information about the Pkg-mailman-hackers mailing list