Source: python-sushy Version: 4.3.0-2 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@lists.debian.org Usertags: python3.11 Control: affects -1 src:python3-defaults
Dear maintainer(s),We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of python-sushy fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:
pass fail python3-defaults from testing 3.10.6-3 python-sushy from testing 4.3.0-2 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 python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [0] https://bugs.debian.org/1021984 [1] https://qa.debian.org/excuses.php?package=python3-defaults https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-sushy/28750733/log.gz ======================================================================FAIL: sushy.tests.unit.test_connector.ConnectorOpTestCase.test_access_error_basic_auth
sushy.tests.unit.test_connector.ConnectorOpTestCase.test_access_error_basic_auth ----------------------------------------------------------------------testtools.testresult.real._StringException: Traceback (most recent call last):
File "/usr/lib/python3.11/unittest/mock.py", line 1369, in patched return func(*newargs, **newkeywargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/autopkgtest-lxc.71ai3cya/downtmp/build.UmE/src/sushy/tests/unit/test_connector.py", line 554, in test_access_error_basic_auth
mock_log.assert_called_once_with(File "/usr/lib/python3.11/unittest/mock.py", line 214, in assert_called_once_with
return mock.assert_called_once_with(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3.11/unittest/mock.py", line 945, in assert_called_once_with
return self.assert_called_with(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3.11/unittest/mock.py", line 933, in assert_called_with
raise AssertionError(_error_message()) from cause AssertionError: expected call not found.Expected: warning("We have encountered an AccessError when using 'basic' authentication. %(err)s", {'err': 'HTTP GET http://redfish/v1/SessionService returned code HTTPStatus.FORBIDDEN. unknown error Extended information: none'}) Actual: warning("We have encountered an AccessError when using 'basic' authentication. %(err)s", {'err': 'HTTP GET http://redfish/v1/SessionService returned code 403. unknown error Extended information: none'})
---------------------------------------------------------------------- Ran 574 tests in 2.995s FAILED (failures=1)
OpenPGP_signature
Description: OpenPGP digital signature