KlausDornsbach commented on PR #9504:
URL: https://github.com/apache/cloudstack/pull/9504#issuecomment-2380020018
Hey guys, looking at the Marvin test logs I have found the following error
```
n3.6/unittest/case.py", line 60, in testPartExecutor
yield
File "/usr/lib64/python3.6/unittest/case.py", line 622, in run
testMethod()
File "/marvin/tests/smoke/test_accounts.py", line 1711, in
test_user_key_renew_same_account
new_keys = User.registerUserKeys(cs_api, user_1.id)
File "/usr/local/lib/python3.6/site-packages/marvin/lib/base.py", line
338, in registerUserKeys
return apiclient.registerUserKeys(cmd)
File
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2215, in registerUserKeys
response = self.connection.marvinRequest(command,
response_type=response, method=method)
File
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line
381, in marvinRequest
raise e
File
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line
376, in marvinRequest
raise self.__lastError
File
"/usr/local/lib/python3.6/site-packages/marvin/cloudstackConnection.py", line
310, in __parseAndGetResponse
response_cls)
File "/usr/local/lib/python3.6/site-packages/marvin/jsonHelper.py", line
155, in getResultObj
raise cloudstackException.CloudstackAPIException(respname, errMsg)
Execute cmd: registeruserkeys failed, due to: errorCode: 531, errorText:Only
admins can operate on API keys owned by other users
```
Which indicates the API is outputting an error with the message `Only admins
can operate on API keys owned by other users`. This was removed in the
following commit [fixing marvin
test](https://github.com/apache/cloudstack/pull/9504/commits/4591e23e75c40a1171d0bd26fd769ea49bc39165)
and there are no more occurrences of this specific error in the code.
is it possible blueorangutang is basing tests on an older commit?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]