[Bug 1933708] Re: Testcase 'test_create_continuous_audit_with_wrong_interval' was broken

Launchpad Bug Tracker 1933708 at bugs.launchpad.net
Fri Dec 20 13:54:24 UTC 2024


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: watcher (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to watcher in Ubuntu.
https://bugs.launchpad.net/bugs/1933708

Title:
  Testcase 'test_create_continuous_audit_with_wrong_interval' was broken

Status in watcher:
  Fix Released
Status in watcher package in Ubuntu:
  Confirmed

Bug description:
  In the latest zuul results, got broken testcase:

  ==============================
  Failed 1 tests - output below:
  ==============================

  watcher.tests.api.v1.test_audits.TestPost.test_create_continuous_audit_with_wrong_interval
  ------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

        File "/usr/lib/python3.6/unittest/mock.py", line 1183, in patched
      return func(*args, **keywargs)

        File "/home/zuul/src/opendev.org/openstack/watcher/watcher/tests/api/v1/test_audits.py", line 705, in test_create_continuous_audit_with_wrong_interval
      self.assertIn(expected_error_msg, response.json['error_message'])

        File "/home/zuul/src/opendev.org/openstack/watcher/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 421, in assertIn
      self.assertThat(haystack, Contains(needle), message)

        File "/home/zuul/src/opendev.org/openstack/watcher/.tox/py36/lib/python3.6/site-packages/testtools/testcase.py", line 502, in assertThat
      raise mismatch_error

      testtools.matchers._impl.MismatchError: 'Exactly 5 or 6 columns
  has to be specified for iteratorexpression.' not in '{"faultcode":
  "Server", "faultstring": "Exactly 5 or 6 columns has to be specified
  for iterator expression.", "debuginfo": null}'

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




More information about the Ubuntu-openstack-bugs mailing list