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

Bug#949437: postorius: FTBFS and autopkgtest failure (needs update for new version of mailmanclient



Source: postorius
Version: 1.2.4-1
Severity: serious
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:mailmanclient

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

Dear maintainers,

With a recent upload of mailmanclient the autopkgtest of postorius fails
in testing when that autopkgtest is run with the binary packages of
mailmanclient from unstable. If fails during the build, on
reproducible-builds infra you can see if failing on armhf. It passes
when run with only packages from testing. In tabular form:
                       pass            fail
mailmanclient          from testing    3.3.0-1
postorius              from testing    1.2.4-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of mailmanclient to
testing [1]. Of course, mailmanclient shouldn't just break your
autopkgtest (or even worse, your package), but somehow I guess that the
change in mailmanclient was intended and your package needs to update to
the new situation. If not, feel free to reassign to mailmanclient.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from mailmanclient 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=mailmanclient

https://ci.debian.net/data/autopkgtest/testing/amd64/p/postorius/4038349/log.gz

======================================================================
ERROR: test_list_options_shows_all_addresses
(postorius.tests.mailman_api_tests.test_user.MailmanUserTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "example_project/postorius/tests/mailman_api_tests/test_user.py",
line 167, in test_list_options_shows_all_addresses
    address.verify()
  File
"/usr/lib/python3/dist-packages/mailmanclient/restobjects/address.py",
line 75, in verify
    self._connection.call(
  File
"/usr/lib/python3/dist-packages/mailmanclient/restbase/connection.py",
line 91, in call
    response = request(
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533,
in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646,
in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439,
in send
    resp = conn.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line
665, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line
412, in _make_request
    httplib_response = conn.getresponse(buffering=True)
  File "/usr/lib/python3/dist-packages/vcr/stubs/__init__.py", line 231,
in getresponse
    raise CannotOverwriteExistingCassetteException(
vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite
existing cassette
('/tmp/autopkgtest-lxc.jqexguc2/downtmp/build.aFf/src/example_project/postorius/tests/fixtures/vcr_cassettes/MailmanUserTest.test_list_options_shows_all_addresses.yaml')
in your current record mode ('once').
No match for the request (<Request (POST)
http://localhost:9001/3.0/addresses/anotheremail%40example.com/verify>)
was found.
Found 8 similar requests with 1 different matcher(s) :

1 - (<Request (POST) http://localhost:9001/3.0/domains>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.0/domains

2 - (<Request (POST) http://localhost:9001/3.0/lists>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.0/lists

3 - (<Request (POST) http://localhost:9001/3.1/users>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.1/users

4 - (<Request (POST) http://localhost:9001/3.0/members>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.0/members

5 - (<Request (POST) http://localhost:9001/3.0/users/996/addresses>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.0/users/996/addresses

6 - (<Request (POST)
http://localhost:9001/3.0/addresses/anotheremail@example.com/verify>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify !=
/3.0/addresses/anotheremail@example.com/verify

7 - (<Request (POST) http://localhost:9001/3.1/members/find>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.1/members/find

8 - (<Request (POST) http://localhost:9001/3.1/members/find>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'query']
Matchers failed :
path - assertion failure :
/3.0/addresses/anotheremail%40example.com/verify != /3.1/members/find


----------------------------------------------------------------------
Ran 253 tests in 92.104s

FAILED (errors=40, expected failures=2)

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: