Public bug reported: Seen both in the packaging and when running tox -e py38 against the upstream codebase:
octavia.tests.unit.certificates.manager.test_barbican_legacy.TestBarbicanManager.test_set_acls ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/jamespage/src/upstream/openstack/octavia/octavia/tests/unit/certificates/manager/test_barbican_legacy.py", line 81, in setUp self.secret1 = mock.Mock(spec=secrets.Secret) File "/usr/lib/python3.8/unittest/mock.py", line 1063, in __init__ _safe_super(CallableMixin, self).__init__( File "/usr/lib/python3.8/unittest/mock.py", line 444, in __init__ self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self) File "/usr/lib/python3.8/unittest/mock.py", line 499, in _mock_add_spec if asyncio.iscoroutinefunction(getattr(spec, attr, None)): File "/usr/lib/python3.8/unittest/mock.py", line 2850, in __get__ return self() File "/usr/lib/python3.8/unittest/mock.py", line 1081, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib/python3.8/unittest/mock.py", line 1085, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib/python3.8/unittest/mock.py", line 1140, in _execute_mock_call raise effect ValueError The test case has multiple tests - sometimes they pass, sometimes >=1 will fail with a raise of ValueError. ** Affects: octavia (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1869171 Title: py38: inconsistent unit test error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/octavia/+bug/1869171/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs