Rayees Namathponnan created CLOUDSTACK-7330: -----------------------------------------------
Summary: [Automation] test_persistent_networks.TestVPCNetworkOperations test failed to ListNetwrok API call Key: CLOUDSTACK-7330 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7330 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.5.0 Reporter: Rayees Namathponnan Priority: Critical Fix For: 4.5.0 Test integration/component/test_persistent_networks.py", line 1928, in test_vpc_force_delete_domain failing while list network test_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: Response : {domain : u'domain-4M0XO1', specifyipranges : False, related : u'6286d150-0603-45e1-8ae7-7c017ea08f00', zoneid : u'169dbf29-8372-43f9-891d-8002e7d27f3f', domainid : u'427de23b-229f-48f1-8a4d-ce700e66fbc6', displaytext : u'Isolated Network', gateway : u'10.1.1.1', canusefordeploy : True, physicalnetworkid : u'8cf2dd88-61b7-45b5-9be9-79acc15981de', networkdomain : u'csbcauto.advanced', service : [{name : u'StaticNat'}, {capability : [{value : u'true', name : u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name : u'Dhcp'}, {capability : [{value : u's2svpn', name : u'VpnTypes', canchooseservicecapability : False}, {value : u'pptp,l2tp,ipsec', name : u'SupportedVpnTypes', canchooseservicecapability : False}], name : u'Vpn'}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'false', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'}, {name : u'PortForwarding'}, {capability : [{value : u'tcp,udp,icmp', name : u'SupportedProtocols', canchooseservicecapability : False}], name : u'NetworkACL'}, {capability : [{value : u'true', name : u'AllowDnsSuffixModification', canchooseservicecapability : False}], name : u'Dns'}, {name : u'UserData'}], strechedl2subnet : False, id : u'6286d150-0603-45e1-8ae7-7c017ea08f00', state : u'Implemented', type : u'Isolated', broadcasturi : u'vlan://2347', zonename : u'Adv-KVM-Zone1', networkofferingavailability : u'Optional', networkofferingid : u'1079d837-1006-4ed4-8275-3874dc03f352', tags : [], displaynetwork : True, vlan : u'2347', networkofferingdisplaytext : u'VPC Network off-CZSZH7', traffictype : u'Guest', netmask : u'255.255.255.0', vpcid : u'f1c80510-9971-49de-a25a-3b421a6927ce', cidr : u'10.1.1.0/24', restartrequired : False, broadcastdomaintype : u'Vlan', account : u'test-a-TestVPCNetworkOperations-test_vpc_force_delete_domain-3K82RQ', ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8', networkofferingconservemode : False, acltype : u'Account', networkofferingname : u'VPC Network offering-B2EPH9', issystem : False} test_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: Payload: {'apiKey': u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ', 'id': u'6286d150-0603-45e1-8ae7-7c017ea08f00', 'response': 'json', 'command': 'listNetworks', 'signature': 'd4+7JeVeAlODVIDRzOkZtn5wxh0='} test_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: ========Sending GET Cmd : listNetworks======= requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.195 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?signature=d4%2B7JeVeAlODVIDRzOkZtn5wxh0%3D&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=listNetworks&id=6286d150-0603-45e1-8ae7-7c017ea08f00&response=json HTTP/1.1" 200 32 test_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: Response : None test_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): CRITICAL: FAILED: test_vpc_force_delete_domain: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run\n testMethod()\n', ' File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_persistent_networks.py", line 1928, in test_vpc_force_delete_domain\n self.fail(e)\n', ' File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail\n raise self.failureException(msg)\n', 'AssertionError: Networks list validation failed\n'] --------------------- >> end captured logging << --------------------- Stacktrace File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run testMethod() File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_persistent_networks.py", line 1928, in test_vpc_force_delete_domain self.fail(e) File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail raise self.failureException(msg) 'Networks list validation failed\n-------------------- >> begin captured stdout << ---------------------\n=== TestName: test_vpc_force_delete_domain | Status : FAILED ===\n\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\ntest_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: ::::::::::::STARTED : TC: test_vpc_force_delete_domain :::::::::::\ntest_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: Payload: {\'apiKey\': u\'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ\', \'name\': \'domain-4M0XO1\', \'command\': \'createDomain\', \'signature\': \'e5NpQWxy+T+4lCJ8biZUBaQCfJk=\', \'response\': \'json\', \'parentdomainid\': u\'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8\'}\ntest_vpc_force_delete_domain (integration.component.test_persistent_networks.TestVPCNetworkOperations): DEBUG: ========Sending GET Cmd : createDomain=======\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.195\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i- -- This message was sent by Atlassian JIRA (v6.2#6252)