Unit test failure when building 3.44.1 in Debian Sid

Bug #1842639 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.log
Expired
Undecided
Unassigned

Bug Description

Hi,

When building in Debian Sid, I get this:

======================================================================
FAIL: oslo_log.tests.unit.test_log.LogConfigTestCase.test_log_config_append_unreadable
oslo_log.tests.unit.test_log.LogConfigTestCase.test_log_config_append_unreadable
----------------------------------------------------------------------
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/oslo_log/tests/unit/test_log.py", line 1802, in test_log_config_append_unreadable
    'test_log_config_append')
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 485, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: <function setup at 0x7f09705dcf80> returned None

Please help me fix it.

Revision history for this message
Stephen Finucane (stephenfinucane) wrote :

I've tried reproducing this but was unable to do so. Perhaps there's a race but I can't see it. Is this still an issue?

Changed in oslo.log:
status: New → Incomplete
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

It's not an issue anymore since we moved on to Ussuri...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for oslo.log because there has been no activity for 60 days.]

Changed in oslo.log:
status: Incomplete → Expired
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

I've checked again, and in fact, we still have the bug in Ussuri. Here's the output of pip freeze (that I'll be outputting every time unit testing fails in Debian packages from now on):

alabaster==0.7.8
appdirs==1.4.4
Babel==2.8.0
bandit==1.6.2
blinker==1.4
certifi==2020.4.5.1
chardet==3.0.4
cliff==3.1.0
cmd2==0.8.5
coverage==4.5.2
cryptography==2.8
debtcollector==2.0.1
decorator==4.4.2
deprecation==2.0.7
docutils==0.16
dogpile.cache==0.7.1
dulwich==0.20.2
extras==1.0.0
fixtures==3.0.0
future==0.18.2
gitdb==4.0.5
GitPython==3.1.3
idna==2.9
imagesize==1.2.0
iso8601==0.1.12
Jinja2==2.11.2
jmespath==0.10.0
jsonpatch==1.25
jsonpointer==2.0
keystoneauth1==4.0.0
linecache2==1.0.0
lxml==4.5.0
Mako==1.1.2
MarkupSafe==1.1.1
mock==4.0.2
mox3==1.0.0
msgpack==0.6.2
munch==2.3.2
netaddr==0.7.19
netifaces==0.10.9
oauthlib==3.1.0
openstackdocstheme==1.20.0
openstacksdk==0.46.0
os-client-config==2.1.0
os-service-types==1.7.0
oslo.config==8.0.2
oslo.context==3.0.2
oslo.i18n==4.0.1
oslo.log==4.1.3
oslo.serialization==3.1.1
oslo.utils==4.1.1
oslotest==4.2.0
packaging==20.3
pbr==5.4.5
prettytable==0.7.2
Pygments==2.3.1
pyinotify==0.9.6
PyJWT==1.7.1
pyparsing==2.4.7
pyperclip==1.8.0
python-dateutil==2.8.1
python-mimeparse==1.6.0
python-subunit==1.3.0
pytz==2020.1
PyYAML==5.3.1
requests==2.23.0
requestsexceptions==1.4.0
rfc3986==1.4.0
roman==2.0.0
six==1.15.0
smmap==3.0.4
Sphinx==2.4.3
stestr==2.4.0
stevedore==1.32.0
testtools==2.3.0
traceback2==1.4.0
unittest2==1.1.0
urllib3==1.25.9
voluptuous==0.11.1
wcwidth==0.1.9
wrapt==1.11.2

Note that Sid currently runs with Python 3.8.3. I hope this helps.

Cheers,

Thomas

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.