You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Dhananjay D Pathak (JIRA)" <ji...@apache.org> on 2014/02/14 14:16:19 UTC

[jira] [Created] (CLOUDSTACK-6117) [Automation] : test_implicit_planner.py fails with error as EXCEPTION: test_01_deploy_vm_with_implicit_planner cloudstackAPIException: Execute cmd: asyncquery failed, due to: Async job timeout

Dhananjay D Pathak created CLOUDSTACK-6117:
----------------------------------------------

             Summary: [Automation] : test_implicit_planner.py fails with error as EXCEPTION: test_01_deploy_vm_with_implicit_planner cloudstackAPIException: Execute cmd: asyncquery failed, due to: Async job timeout <deployVirtualMachine Jobid>
                 Key: CLOUDSTACK-6117
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6117
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: marvin
    Affects Versions: 4.2.0
         Environment: CloudPlatform 4.2.0 on Red Hat Enterprise Linux Server release 6.4 (Santiago) 
            Reporter: Dhananjay D Pathak


Marvin Test test_implicit_planner.py fails with Error as described bellow (log files are attached):

2014-02-07 06:10:14,984 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - Request: http://207.19.99.108:8080/client/api?domainid=03ffb96f-2cfa-11e3-a4f0-f245a5b3ba0f&zoneid=2010f0c3-05e5-4114-9e15-99547cd29186&apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&serviceofferingid=73e37a59-9b9d-429a-8d8f-26acf7a3bea8&displayname=testserver&signature=DynuaFeu1NgyE9wB9KhK9Uaq1eo%3D&templateid=dd84c28a-0526-4e04-8cd2-319b40e05e21&response=json&account=test-TestImplicitPlanner-URIY0A&command=deployVirtualMachine&hypervisor=XenServer Response: { "deployvirtualmachineresponse" : {"id":"d7bbe188-ff92-411d-aa76-05baf78d0500","jobid":"7226acb8-47b1-4f4a-9f7e-e91440de82a5"} }
2014-02-07 06:10:14,985 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - sending GET request: queryAsyncJobResult {'jobid': u'7226acb8-47b1-4f4a-9f7e-e91440de82a5'}
2014-02-07 06:10:14,985 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - Computed Signature by Marvin: a5n+8ad8pnEBmrzzZp1ocLXN+/Y=
2014-02-07 06:10:15,452 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - Request: http://207.19.99.108:8080/client/api?signature=a5n%2B8ad8pnEBmrzzZp1ocLXN%2B%2FY%3D&apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=queryAsyncJobResult&response=json&jobid=7226acb8-47b1-4f4a-9f7e-e91440de82a5 Response: { "queryasyncjobresultresponse" : {"accountid":"1baaca47-2cfa-11e3-a4f0-f245a5b3ba0f","userid":"1bab389c-2cfa-11e3-a4f0-f245a5b3ba0f","cmd":"org.apache.cloudstack.api.command.user.vm.DeployVMCmd","jobstatus":0,"jobprocstatus":0,"jobresultcode":0,"jobinstancetype":"VirtualMachine","jobinstanceid":"d7bbe188-ff92-411d-aa76-05baf78d0500","created":"2014-02-06T19:39:34-0500","jobid":"7226acb8-47b1-4f4a-9f7e-e91440de82a5"} }
2014-02-07 06:10:20,463 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - job: 7226acb8-47b1-4f4a-9f7e-e91440de82a5 still processing,will timeout in 3600s
.
.
.
.
.
.
.
2014-02-07 07:16:09,441 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - job: 7226acb8-47b1-4f4a-9f7e-e91440de82a5 still processing,will timeout in 10s
2014-02-07 07:16:09,442 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - sending GET request: queryAsyncJobResult {'jobid': u'7226acb8-47b1-4f4a-9f7e-e91440de82a5'}
2014-02-07 07:16:09,442 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - Computed Signature by Marvin: a5n+8ad8pnEBmrzzZp1ocLXN+/Y=
2014-02-07 07:16:09,935 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - Request: http://207.19.99.108:8080/client/api?signature=a5n%2B8ad8pnEBmrzzZp1ocLXN%2B%2FY%3D&apiKey=fvHLVRKfsEQeejLrnRbye4XT4-j_pXMYsJxRYFxqxssppq2y4Txo1XYX2ABZ1qJD-2MNScVw24WT_QYOscA1Zg&command=queryAsyncJobResult&response=json&jobid=7226acb8-47b1-4f4a-9f7e-e91440de82a5 Response: { "queryasyncjobresultresponse" : {"accountid":"1baaca47-2cfa-11e3-a4f0-f245a5b3ba0f","userid":"1bab389c-2cfa-11e3-a4f0-f245a5b3ba0f","cmd":"org.apache.cloudstack.api.command.user.vm.DeployVMCmd","jobstatus":0,"jobprocstatus":0,"jobresultcode":0,"jobinstancetype":"VirtualMachine","jobinstanceid":"d7bbe188-ff92-411d-aa76-05baf78d0500","created":"2014-02-06T19:39:34-0500","jobid":"7226acb8-47b1-4f4a-9f7e-e91440de82a5"} }
2014-02-07 07:16:14,943 - DEBUG - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - job: 7226acb8-47b1-4f4a-9f7e-e91440de82a5 still processing,will timeout in 5s
2014-02-07 07:16:14,956 - CRITICAL - test_01_deploy_vm_with_implicit_planner (integration.component.test_implicit_planner.TestImplicitPlanner) - EXCEPTION: test_01_deploy_vm_with_implicit_planner: Traceback (most recent call last):
  File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run
    testMethod()
  File "/DataDisk/temp/cloudstack/test/integration/component/test_implicit_planner.py", line 204, in test_01_deploy_vm_with_implicit_planner
    mode=self.services["mode"]
  File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 415, in create
    virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 593, in deployVirtualMachine
    response = self.connection.marvinRequest(command, response_type=response, method=method)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 280, in marvinRequest
    response = self.poll(asyncJobId, response_type)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 97, in poll
    "asyncquery", "Async job timeout %s" % jobid)
cloudstackAPIException: Execute cmd: asyncquery failed, due to: Async job timeout 7226acb8-47b1-4f4a-9f7e-e91440de82a5



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)