[Pkg-mailman-hackers] Bug#996806: mailmain3: Expected test results for arc_validate tests need updating
Andrei POPESCU
andreimpopescu at gmail.com
Tue Oct 19 06:28:27 BST 2021
Control: reassign -1 mailman3 3.3.3-1
On Ma, 19 oct 21, 01:10:28, Scott Kitterman wrote:
> Package: mailmain3
> Version: 3.3.3-1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
>
> mailman3 now fails tests with authheaders 0.14.1 since support for
> comments in ARC results was added. Although this isn't precisely an
> FTBFS, a autopkgtest failure has similar effects.
>
> Please update the expected results as this not an authheaders error.
>
> ======================================================================
> FAIL: test_authentication_whitelist_hit (mailman.handlers.tests.test_arc_validate.TestValidateAuthenticity)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/autopkgtest-lxc.wj1y37tc/downtmp/build.0B5/src/src/mailman/handlers/tests/test_arc_validate.py", line 238, in test_authentication_whitelist_hit
> self.assertEqual(msg["Authentication-Results"], ''.join(res))
> AssertionError: 'exam[50 chars]ss header.d=valimail.com; arc=none (Message is not ARC signed)' != 'exam[50 chars]ss header.d=valimail.com; arc=none'
> - example.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=valimail.com; arc=none (Message is not ARC signed)
> ? ----------------------------
> + example.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=valimail.com; arc=none
>
>
> ======================================================================
> FAIL: test_authentication_whitelist_miss (mailman.handlers.tests.test_arc_validate.TestValidateAuthenticity)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/autopkgtest-lxc.wj1y37tc/downtmp/build.0B5/src/src/mailman/handlers/tests/test_arc_validate.py", line 279, in test_authentication_whitelist_miss
> self.assertEqual(msg["Authentication-Results"],
> AssertionError: 'test[13 chars]ss header.d=valimail.com; arc=none (Message is not ARC signed)' != 'test[13 chars]ss header.d=valimail.com; arc=none'
> - test.com; dkim=pass header.d=valimail.com; arc=none (Message is not ARC signed)
> ? ----------------------------
> + test.com; dkim=pass header.d=valimail.com; arc=none
>
>
> ======================================================================
> FAIL: test_chain_validation_fail (mailman.handlers.tests.test_arc_validate.TestValidateAuthenticity)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/autopkgtest-lxc.wj1y37tc/downtmp/build.0B5/src/src/mailman/handlers/tests/test_arc_validate.py", line 195, in test_chain_validation_fail
> self.assertEqual(msg["Authentication-Results"], ''.join(res))
> AssertionError: 'list[94 chars] arc=fail (Most recent ARC-Message-Signature did not validate)' != 'list[94 chars] arc=fail'
> - lists.example.org; spf=pass smtp.mfrom=jqd at d1.example; dkim=pass header.i=@d1.example; dmarc=pass; arc=fail (Most recent ARC-Message-Signature did not validate)
> ? -----------------------------------------------------
> + lists.example.org; spf=pass smtp.mfrom=jqd at d1.example; dkim=pass header.i=@d1.example; dmarc=pass; arc=fail
>
>
> ----------------------------------------------------------------------
>
> Scott K
Fixing typing error in package name.
Kind regards,
Andrei
--
Looking after bugs assigned to unknown or inexistent packages
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20211019/fc046568/attachment.sig>
More information about the Pkg-mailman-hackers
mailing list