[Bug 1976263] [NEW] python-oslo.log ftbfs in the jammy release pocket
Matthias Klose
1976263 at bugs.launchpad.net
Mon May 30 12:53:57 UTC 2022
Public bug reported:
as seen in a test rebuild, this package fails to build in the jammy
release pocket (note the log behind the link might go away):
https://launchpadlibrarian.net/604215825/buildlog_ubuntu-jammy-
amd64.python-oslo.log_4.6.1-0ubuntu1_BUILDING.txt.gz
[...]
======================================================================
FAIL: oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging
oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/oslo_log/tests/unit/test_log.py", line 974, in test_user_identity_logging
self.assertEqual(expected, self.stream.getvalue())
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 393, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
HAS CONTEXT [99 myuser mytenant mydomain myuserdomain myprojectdomain]: test
'''
actual = '''\
HAS CONTEXT [99 myuser - mydomain myuserdomain myprojectdomain]: test
'''
======================================================================
FAIL: oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging_set_format
oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging_set_format
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/oslo_log/tests/unit/test_log.py", line 990, in test_user_identity_logging_set_format
self.assertEqual(expected, self.stream.getvalue())
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 393, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
HAS CONTEXT [99 myuser mytenant]: test
'''
actual = '''\
HAS CONTEXT [99 myuser -]: test
'''
----------------------------------------------------------------------
Ran 194 tests in 13.488s
FAILED (failures=2, skipped=1)
** Affects: python-oslo.log (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs rls-jj-incoming
** Tags added: ftbfs rls-jj-incoming
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-oslo.log in Ubuntu.
https://bugs.launchpad.net/bugs/1976263
Title:
python-oslo.log ftbfs in the jammy release pocket
Status in python-oslo.log package in Ubuntu:
New
Bug description:
as seen in a test rebuild, this package fails to build in the jammy
release pocket (note the log behind the link might go away):
https://launchpadlibrarian.net/604215825/buildlog_ubuntu-jammy-
amd64.python-oslo.log_4.6.1-0ubuntu1_BUILDING.txt.gz
[...]
======================================================================
FAIL: oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging
oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/oslo_log/tests/unit/test_log.py", line 974, in test_user_identity_logging
self.assertEqual(expected, self.stream.getvalue())
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 393, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
HAS CONTEXT [99 myuser mytenant mydomain myuserdomain myprojectdomain]: test
'''
actual = '''\
HAS CONTEXT [99 myuser - mydomain myuserdomain myprojectdomain]: test
'''
======================================================================
FAIL: oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging_set_format
oslo_log.tests.unit.test_log.ContextFormatterTestCase.test_user_identity_logging_set_format
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/oslo_log/tests/unit/test_log.py", line 990, in test_user_identity_logging_set_format
self.assertEqual(expected, self.stream.getvalue())
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 393, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
HAS CONTEXT [99 myuser mytenant]: test
'''
actual = '''\
HAS CONTEXT [99 myuser -]: test
'''
----------------------------------------------------------------------
Ran 194 tests in 13.488s
FAILED (failures=2, skipped=1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-oslo.log/+bug/1976263/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list