[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#997877: mailman3: autopkgtest needs update for new version of python-click: changed messages



Source: mailman3
Version: 3.3.3-1
Severity: serious
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python-click

[X-Debbugs-CC: debian-ci@lists.debian.org, python-click@packages.debian.org]

Dear maintainer(s),

With a recent upload of python-click the autopkgtest of mailman3 fails
in testing when that autopkgtest is run with the binary packages of
python-click from unstable. It passes when run with only packages from
testing. In tabular form:

                       pass            fail
python-click           from testing    8.0.2-1
mailman3               from testing    3.3.3-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. It looks like
the messages from python-click became a bit more verbose and the
autopkgtest from mailman3 checks the messages verbatim.

Currently this regression is blocking the migration of python-click to
testing [1]. Of course, python-click shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in python-click was intended and your package needs to update to
the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from python-click should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=python-click

https://ci.debian.net/data/autopkgtest/testing/i386/m/mailman3/16216259/log.gz

======================================================================
FAIL: test_bad_filename
(mailman.commands.tests.test_cli_syncmembers.TestCLISyncMembers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/tests/test_cli_syncmembers.py",
line 57, in test_bad_filename
    self.assertEqual(
AssertionError: "Usag[110 chars]LENAME': 'bad': No such file or
directory\n" != "Usag[110 chars]LENAME': Could not open file: bad: No
such file or directory\n"
  Usage: syncmembers [OPTIONS] FILENAME LISTSPEC
  Try 'syncmembers --help' for help.
  - Error: Invalid value for 'FILENAME': 'bad': No such file or directory
?                                      ^   -
+ Error: Invalid value for 'FILENAME': Could not open file: bad: No such
file or directory
?                                      ^^^^^^^^^^^^^^^^^^^^^


======================================================================
FAIL: test_sync_delivery_bogus
(mailman.commands.tests.test_cli_syncmembers.TestCLISyncMembers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/tests/test_cli_syncmembers.py",
line 372, in test_sync_delivery_bogus
    self.assertEqual(
AssertionError: "Usag[123 chars]-d': 'bogus' is not one of 'regular',
'mime', [29 chars]'.\n" != "Usag[123 chars]-d': invalid choice: bogus.
(choose from regul[33 chars]d)\n"
  Usage: syncmembers [OPTIONS] FILENAME LISTSPEC
  Try 'syncmembers --help' for help.
  - Error: Invalid value for '--delivery' / '-d': 'bogus' is not one of
'regular', 'mime', 'plain', 'summary', 'disabled'.
?                                               ^     ^^^ ^^ ^^^^^^^^^^
      -  -    -  -     -  -       -  -        ^^
+ Error: Invalid value for '--delivery' / '-d': invalid choice: bogus.
(choose from regular, mime, plain, summary, disabled)
?                                               ^^^^^^^^^^^^^^^^
^^^^^^^ ^^^^ ^^                                       ^


======================================================================
FAIL: test_bad_filename
(mailman.commands.tests.test_cli_delmembers.TestCLIDelMembers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/tests/test_cli_delmembers.py",
line 55, in test_bad_filename
    self.assertEqual(
AssertionError: "Usag[95 chars] / '-f': 'bad': No such file or
directory\n" != "Usag[95 chars] / '-f': Could not open file: bad: No
such file or directory\n"
  Usage: delmembers [OPTIONS]
  Try 'delmembers --help' for help.
  - Error: Invalid value for '--file' / '-f': 'bad': No such file or
directory
?                                           ^   -
+ Error: Invalid value for '--file' / '-f': Could not open file: bad: No
such file or directory
?                                           ^^^^^^^^^^^^^^^^^^^^^


======================================================================
FAIL: test_add_delivery_bogus
(mailman.commands.tests.test_cli_addmembers.TestCLIAddMembers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/tests/test_cli_addmembers.py",
line 263, in test_add_delivery_bogus
    self.assertEqual(
AssertionError: "Usag[121 chars]-d': 'bogus' is not one of 'regular',
'mime', [29 chars]'.\n" != "Usag[121 chars]-d': invalid choice: bogus.
(choose from regul[33 chars]d)\n"
  Usage: addmembers [OPTIONS] FILENAME LISTSPEC
  Try 'addmembers --help' for help.
  - Error: Invalid value for '--delivery' / '-d': 'bogus' is not one of
'regular', 'mime', 'plain', 'summary', 'disabled'.
?                                               ^     ^^^ ^^ ^^^^^^^^^^
      -  -    -  -     -  -       -  -        ^^
+ Error: Invalid value for '--delivery' / '-d': invalid choice: bogus.
(choose from regular, mime, plain, summary, disabled)
?                                               ^^^^^^^^^^^^^^^^
^^^^^^^ ^^^^ ^^                                       ^


======================================================================
FAIL: test_bad_filename
(mailman.commands.tests.test_cli_addmembers.TestCLIAddMembers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/tests/test_cli_addmembers.py",
line 56, in test_bad_filename
    self.assertEqual(
AssertionError: "Usag[108 chars]LENAME': 'bad': No such file or
directory\n" != "Usag[108 chars]LENAME': Could not open file: bad: No
such file or directory\n"
  Usage: addmembers [OPTIONS] FILENAME LISTSPEC
  Try 'addmembers --help' for help.
  - Error: Invalid value for 'FILENAME': 'bad': No such file or directory
?                                      ^   -
+ Error: Invalid value for 'FILENAME': Could not open file: bad: No such
file or directory
?                                      ^^^^^^^^^^^^^^^^^^^^^


======================================================================
FAIL:
/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/docs/import.rst
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for import.rst
  File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/docs/import.rst",
line 0

----------------------------------------------------------------------
File
"/tmp/autopkgtest-lxc.yd8254dv/downtmp/build.OCH/src/src/mailman/commands/docs/import.rst",
line 60, in import.rst
Failed example:
    command('mailman import21 import@example.com ' + pickle_file)
Differences (ndiff with -expected +actual):
    + Importing members       + Importing owners        + Importing
moderators
    + Importing defers        + Importing holds         + Importing
rejects       + Importing discards

----------------------------------------------------------------------
Ran 1989 tests in 199.481s

FAILED (failures=6, skipped=1, expected failures=4)
autopkgtest [02:13:31]: test mailman3-nose2


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: