[Bug 1976263] Re: python-oslo.log ftbfs in the jammy release pocket

Brian Murray 1976263 at bugs.launchpad.net
Tue May 31 23:56:22 UTC 2022


*** This bug is a duplicate of bug 1976106 ***
    https://bugs.launchpad.net/bugs/1976106

** This bug has been marked a duplicate of bug 1976106
   [SRU] FTBFS logging_user_identity_format's default is using deprecated (now removed) tenant

-- 
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