[Pkg-mailman-hackers] Bug#909214: Bug#909214: mailman-hyperkitty FTBFS: FAIL: test_archive_message_unserializable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)

Pierre-Elliott Bécue peb at debian.org
Wed Oct 3 13:33:45 BST 2018


Control: tags -1 + pending upstream
Control: forwarded -1 https://gitlab.com/mailman/mailman-hyperkitty/issues/17

Le mercredi 19 septembre 2018 à 22:47:42+0300, Adrian Bunk a écrit :
> Source: mailman-hyperkitty
> Version: 1.1.0-8
> Severity: serious
> Tags: ftbfs
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mailman-hyperkitty.html
> 
> ...
> FAIL: test_archive_message_unserializable (mailman_hyperkitty.tests.test_archiver.ArchiverTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/build/1st/mailman-hyperkitty-1.1.0/mailman_hyperkitty/tests/test_archiver.py", line 357, in test_archive_message_unserializable
>     self.assertEqual(logger.error.call_count, 1)
> AssertionError: 2 != 1
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 0.982s
> 
> FAILED (failures=1)
> E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python3.7 setup.py test 
> dh_auto_test: pybuild --test -i python{version} -p "3.7 3.6" returned exit code 13
> make: *** [debian/rules:6: build] Error 25

Hi Adrian,

Thanks for the report, and sorry for the delay.

This issue is python3-related. While the serialization of the test failed in
python2.7 and raised the appropriate error stack allowing the test to pass,
in python3, the serialization… succeeds.

Hence, the error trace is messed, and the assertion fails.

I skipped the test for now, and submitted a bug upstream.

I'll upload as soon as I've access to my GPG key.

Cheers!

-- 
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.



More information about the Pkg-mailman-hackers mailing list