[Bug 1974682] Re: openstack-tox-py3N jobs continously fails

Andreas Hasenack 1974682 at bugs.launchpad.net
Thu Apr 13 18:57:24 UTC 2023


# aodh

I verified the test results and am satisfied that they show the executed
planned test case, and that the results are correct.

The package built correctly in all architectures and Ubuntu releases it
was meant for.

There are no DEP8 regressions.

There is no SRU freeze ongoing at the moment.

There is no halted phasing on the previous update.

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

Title:
  openstack-tox-py3N jobs continously fails

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive wallaby series:
  Fix Released
Status in Ubuntu Cloud Archive xena series:
  Fix Released
Status in Ubuntu Cloud Archive yoga series:
  Fix Committed
Status in python-aodhclient:
  Confirmed
Status in aodh package in Ubuntu:
  Fix Released
Status in python-aodhclient package in Ubuntu:
  Fix Released
Status in aodh source package in Jammy:
  Fix Released

Bug description:
  [Impact]
  these changes fix the aodhclient functional tests and are needed
  in order for packages such as aodh to be able to run their tests.

  [Test Plan]
  run aodh tempest/functional tests

  [Regression Potential]
  no regressions expected and aodh CI func tests should pass once this lands

  --------------------------------------------------------------------------

  Currently openstack-tox-py36/9 jobs are both broken.

  Debugging the failures, I suspect the recent change in aodh is causing
  the problem.

  https://review.opendev.org/c/openstack/aodh/+/829870

  ~~~
  aodhclient.tests.functional.test_alarm.AodhClientGnocchiRulesTest.test_update_gnaggrresthr_gnaggrmetricthr
  ----------------------------------------------------------------------------------------------------------

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

        File "/home/tkajinam/git/openstack/python-aodhclient/aodhclient/tests/functional/test_alarm.py", line 837, in test_update_gnaggrresthr_gnaggrmetricthr
      result = self.aodh(

        File "/home/tkajinam/git/openstack/python-aodhclient/aodhclient/tests/functional/base.py", line 67, in aodh
      return self.clients.aodh(*args, **kwargs)

        File "/home/tkajinam/git/openstack/python-aodhclient/aodhclient/tests/functional/base.py", line 43, in aodh
      return base.execute("aodh", action, flags, params, fail_ok,

        File "/home/tkajinam/git/openstack/python-aodhclient/.tox/py39/lib/python3.9/site-packages/tempest/lib/cli/base.py", line 63, in execute
      raise exceptions.CommandFailed(proc.returncode,

      tempest.lib.exceptions.CommandFailed: Command '['/home/tkajinam/git/openstack/python-aodhclient/.tox/py39/bin/aodh', '--os-auth-plugin', 'aodh-noauth', '--user-id', 'f4a65d12-7e8f-489c-92a3-36d2da311441', '--project-id', '20b9ebcd-d704-4c9c-89e2-df691f3bfba5', '--aodh-endpoint', 'http://localhost:8042', 'alarm', 'create', '--type', 'gnocchi_aggregation_by_resources_threshold', '--name', 'alarm123', '--metric', 'cpu', '--threshold', '80', '--query', '{"=": {"creator": "cr3at0r"}}', '--resource-type', 'generic', '--aggregation-method', 'last']' returned non-zero exit status 1.
  stdout:
  b''
  stderr:
  b'{\'cause\': \'Invalid input\', \'reason\': "\'aggregate\' operation invalid for dictionary value @ data[\'operations\']", \'detail\': [\'operations\']} (HTTP 400) (Request-ID: req-8fcf38cd-76c3-404d-9ec1-c0f27eed8264)\n'
  ~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1974682/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list