← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1832392] [NEW] nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words failing in py27 jobs since June 10

 

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

Public bug reported:

Seen here:

http://logs.openstack.org/61/660761/7/check/openstack-tox-
py27/b10a9a6/testr_results.html.gz

ft1.34: nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words_StringException: Traceback (most recent call last):
  File "nova/tests/unit/test_hacking.py", line 593, in test_check_doubled_words
    expected_errors=errors)
  File "nova/tests/unit/test_hacking.py", line 295, in _assert_has_errors
    self.assertEqual(expected_errors or [], actual_errors)
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/home/zuul/src/opendev.org/openstack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: [(1, 0, 'N343')] != []

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%20%5B(1%2C%200%2C%20'N343')%5D%20!%3D%20%5B%5D%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

Looks like this is happening on master and stable/stein, probably due to
bionic nodes being used. It's happening on multiple node providers so
must be something new in bionic py27 as of June 10.

I can't really tell what version of python 2.7 is on the nodes when this
fails though.

http://changelogs.ubuntu.com/changelogs/pool/main/p/python2.7/python2.7_2.7.15~rc1-1ubuntu0.1/changelog
isn't showing me any changes since 2018 either.

** Affects: nova
     Importance: High
         Status: Confirmed

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1832392

Title:
  nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words
  failing in py27 jobs since June 10

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  Seen here:

  http://logs.openstack.org/61/660761/7/check/openstack-tox-
  py27/b10a9a6/testr_results.html.gz

  ft1.34: nova.tests.unit.test_hacking.HackingTestCase.test_check_doubled_words_StringException: Traceback (most recent call last):
    File "nova/tests/unit/test_hacking.py", line 593, in test_check_doubled_words
      expected_errors=errors)
    File "nova/tests/unit/test_hacking.py", line 295, in _assert_has_errors
      self.assertEqual(expected_errors or [], actual_errors)
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/zuul/src/opendev.org/openstack/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 498, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: [(1, 0, 'N343')] != []

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%20%5B(1%2C%200%2C%20'N343')%5D%20!%3D%20%5B%5D%5C%22%20AND%20tags%3A%5C%22console%5C%22&from=7d

  Looks like this is happening on master and stable/stein, probably due
  to bionic nodes being used. It's happening on multiple node providers
  so must be something new in bionic py27 as of June 10.

  I can't really tell what version of python 2.7 is on the nodes when
  this fails though.

  http://changelogs.ubuntu.com/changelogs/pool/main/p/python2.7/python2.7_2.7.15~rc1-1ubuntu0.1/changelog
  isn't showing me any changes since 2018 either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1832392/+subscriptions