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

Seyeong Kim 1974682 at bugs.launchpad.net
Wed Apr 12 07:31:35 UTC 2023


I verified this by checking code directly installed in aodh unit. and
checked metric command if there is no issue

please let me know if there is anything

i  aodh-api                        1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - API server
ii  aodh-common                     1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - common files
ii  aodh-evaluator                  1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - alarm evaluator
ii  aodh-expirer                    1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - expirer
ii  aodh-listener                   1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - listener
ii  aodh-notifier                   1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - alarm notifier
ii  python3-aodh                    1:14.0.0-0ubuntu1.1~cloud0        all          OpenStack Telemetry (Ceilometer) Alarming - Python 3 libraries

** Tags removed: verification-yoga-needed
** Tags added: verification-yoga-done

-- 
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 Committed

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