Source: hyperkitty
Version: 1.3.2-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200709 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> ======================================================================
> ERROR: test_as_message_attachments_saved_to_folder 
> (hyperkitty.tests.models.test_email.EmailTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "./hyperkitty/tests/models/test_email.py", line 122, in 
> test_as_message_attachments_saved_to_folder
>     self.test_as_message_attachments()
>   File "./hyperkitty/tests/models/test_email.py", line 95, in 
> test_as_message_attachments
>     add_to_list("l...@example.com", msg_in)
>   File "./hyperkitty/lib/incoming.py", line 123, in add_to_list
>     email.content, attachments = scrubber.scrub()
>   File "/usr/lib/python3/dist-packages/django_mailman3/lib/scrub.py", line 
> 77, in scrub
>     attachments = self._get_all_attachments()
>   File "/usr/lib/python3/dist-packages/django_mailman3/lib/scrub.py", line 
> 95, in _get_all_attachments
>     part.set_content('')
>   File "/usr/lib/python3.8/email/message.py", line 1171, in set_content
>     super().set_content(*args, **kw)
>   File "/usr/lib/python3.8/email/message.py", line 1101, in set_content
>     content_manager.set_content(self, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 37, in set_content
>     handler(msg, obj, *args, **kw)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 185, in 
> set_text_content
>     cte, payload = _encode_text(string, charset, cte, msg.policy)
>   File "/usr/lib/python3.8/email/contentmanager.py", line 149, in _encode_text
>     if max(len(x) for x in lines) <= policy.max_line_length:
> ValueError: max() arg is an empty sequence
> 
> ----------------------------------------------------------------------
> Ran 283 tests in 109.525s
> 
> FAILED (errors=3, skipped=1)
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> make[1]: *** [debian/rules:15: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/07/09/hyperkitty_1.3.2-1_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.

Reply via email to