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,
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
~~~ tests.functiona l.test_ alarm.AodhClien tGnocchiRulesTe st.test_ update_ gnaggrresthr_ gnaggrmetricthr ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
aodhclient.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/ tkajinam/ git/openstack/ python- aodhclient/ aodhclient/ tests/functiona l/test_ alarm.py" , line 837, in test_update_ gnaggrresthr_ gnaggrmetricthr
result = self.aodh(
File "/home/ tkajinam/ git/openstack/ python- aodhclient/ aodhclient/ tests/functiona l/base. py", line 67, in aodh aodh(*args, **kwargs)
return self.clients.
File "/home/ tkajinam/ git/openstack/ python- aodhclient/ aodhclient/ tests/functiona l/base. py", line 43, in aodh "aodh", action, flags, params, fail_ok,
return base.execute(
File "/home/ tkajinam/ git/openstack/ python- aodhclient/ .tox/py39/ lib/python3. 9/site- packages/ tempest/ lib/cli/ base.py" , line 63, in execute CommandFailed( proc.returncode ,
raise exceptions.
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-36d2da3114 41', '--project-id', '20b9ebcd- d704-4c9c- 89e2-df691f3bfb a5', '--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. operations\ ']", \'detail\': [\'operations\']} (HTTP 400) (Request-ID: req-8fcf38cd- 76c3-404d- 9ec1-c0f27eed82 64)\n'
stdout:
b''
stderr:
b'{\'cause\': \'Invalid input\', \'reason\': "\'aggregate\' operation invalid for dictionary value @ data[\'
~~~