Failing hacking tests when building Rocky Debian package under Python 3.7

Bug #1790849 reported by Thomas Goirand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Medium
Unassigned

Bug Description

Building the Nova 18.0.0 package in Sid (ie: Python 3.7), I get the below unit test failure with hacking tests:

======================================================================
FAIL: nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words
nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/nova/tests/unit/test_hacking.py", line 586, in test_check_doubled_words
    expected_errors=errors)
  File "/<<PKGBUILDDIR>>/nova/tests/unit/test_hacking.py", line 293, in _assert_has_errors
    self.assertEqual(expected_errors or [], actual_errors)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: [(1, 0, 'N343')] != []

Tags: testing py37
Matt Riedemann (mriedem)
summary: - Faiing hacking tests when building Rocky Debian package under Python 3.7
+ Failng hacking tests when building Rocky Debian package under Python 3.7
tags: added: py37
tags: added: testing
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
summary: - Failng hacking tests when building Rocky Debian package under Python 3.7
+ Failing hacking tests when building Rocky Debian package under Python
+ 3.7
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.