Brian Muita created CLOUDSTACK-2652:
---------------------------------------
Summary: marvin.setup fails with TypeError: 'dict' object is not
callable
Key: CLOUDSTACK-2652
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2652
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Test Tools
Reporter: Brian Muita
Priority: Minor
$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl
:cloud-marvin integration-test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack marvin 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin
---
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin
---
Traceback (most recent call last):
File "deployAndRun.py", line 47, in <module>
deploy.deploy()
File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line
472, in deploy
self.loadCfg()
File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line
423, in loadCfg
apiKey, securityKey = self.registerApiKey()
File "/workspace/cloudstack/tools/marvin/marvin/deployDataCenter.py", line
362, in registerApiKey
listuserRes = self.testClient.getApiClient().listUsers(listuser)
File
"/workspace/cloudstack/tools/marvin/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 464, in listUsers
response = self.connection.marvin_request(command, response_type=response,
method=method)
File "/workspace/cloudstack/tools/marvin/marvin/cloudstackConnection.py",
line 222, in marvin_request
response = jsonHelper.getResultObj(response.json(), response_type)
TypeError: 'dict' object is not callable
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.470s
[INFO] Finished at: Thu May 23 16:23:45 EAT 2013
[INFO] Final Memory: 23M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
(pre-integration-test) on project cloud-marvin: Command execution failed.
Process exited with an error: 1 (Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira