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

Robie Basak 1974682 at bugs.launchpad.net
Wed Apr 5 13:18:26 UTC 2023


Hello Takashi, or anyone else affected,

Accepted aodh into jammy-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/aodh/1:14.0.0-0ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: aodh (Ubuntu Jammy)
       Status: Triaged => Fix Committed

** Tags added: verification-needed verification-needed-jammy

-- 
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:
  Triaged
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