[
https://issues.apache.org/jira/browse/CLOUDSTACK-3989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726344#comment-13726344
]
ASF subversion and git services commented on CLOUDSTACK-3989:
-------------------------------------------------------------
Commit f064ad22dc55e0e5e7b5165f1864f2339d39b8f4 in branch refs/heads/4.2 from
[~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f064ad2 ]
CLOUDSTACK-3989: We don't hold the vm object
VirtualMachine.list( only gives the list of vms but not the vm object as
returned by VirtualMachine.create( any operations on the listed VMs then
fails. Explicit call to startVirtualMachine as in setUpClass fixes this.
Signed-off-by: Prasanna Santhanam <[email protected]>
> [Automation] test_vpc_network.TestVPCNetworkG failed due to 'NoneType' object
> -----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3989
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3989
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.2.0
> Environment: Automation
> Reporter: Rayees Namathponnan
> Assignee: Prasanna Santhanam
> Fix For: 4.2.0
>
>
> Test case
> integration.component.test_vpc_network.TestVPCNetworkGc.test_02_start_vm_network_gc
>
> integration.component.test_vpc_network.TestVPCNetworkGc.test_01_wait_network_gc
> Failed with below error
> 'NoneType' object is not callable
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkGc: DEBUG: Waiting for network garbage
> collection thread to run
> testclient.testcase.TestVPCNetworkGc: DEBUG: Check if the VPC router is in
> stopped state?
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run
> self.tearDown()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_network.py",
> line 2287, in tearDown
> vm.start(self.apiclient)
> 'NoneType' object is not callable
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestVPCNetworkGc: DEBUG: Waiting for network garbage
> collection thread to run
> testclient.testcase.TestVPCNetworkGc: DEBUG: Check if the VPC router is in
> stopped state?
> --------------------- >> end captured logging << ---------------------
--
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