Rayees Namathponnan created CLOUDSTACK-5506: -----------------------------------------------
Summary: [Automation] component.test_egress_fw_rules test cases failed with error "global name 'list_virtual_machines' is not defined" Key: CLOUDSTACK-5506 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5506 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.3.0 Environment: Automation Reporter: Rayees Namathponnan Fix For: 4.3.0 26 test case from suite integration.component.test_egress_fw_rules failed with error Error Message Warning! Cleanup failed: global name 'list_virtual_machines' is not defined -------------------- >> begin captured logging << -------------------- CSLog: DEBUG: sending GET request: listDomains {} requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&name=expunge.interval&command=listConfigurations&signature=QTt2mo%2FRMKOAzjJuTeJUvdn7NgQ%3D&response=json&listall=True HTTP/1.1" 200 220 test_01_1_egress_fr1 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&name=expunge.interval&command=listConfigurations&signature=QTt2mo%2FRMKOAzjJuTeJUvdn7NgQ%3D&response=json&listall=True Response: { "listconfigurationsresponse" : { "count":1 ,"configuration" : [ {"category":"Advanced","name":"expunge.interval","value":"60","description":"The interval (in seconds) to wait before running the expunge thread."} ] } } test_01_1_egress_fr1 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: sending GET request: listConfigurations {'name': 'expunge.delay', 'listall': True} test_01_1_egress_fr1 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Computed Signature by Marvin: C8BlUCJKbFRmvpjVRJjHaEiVPsk= requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&name=expunge.delay&command=listConfigurations&signature=C8BlUCJKbFRmvpjVRJjHaEiVPsk%3D&response=json&listall=True HTTP/1.1" 200 287 test_01_1_egress_fr1 (integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&name=expunge.delay&command=listConfigurations&signature=C8BlUCJKbFRmvpjVRJjHaEiVPsk%3D&response=json&listall=True Response: { "listconfigurationsresponse" : { "count":1 ,"configuration" : [ {"category":"Advanced","name":"expunge.delay","value":"60","description":"Determines how long (in seconds) to wait before actually expunging destroyed vm. The default value = the default value of expunge.interval"} ] } } test_01_1_egress_fr1 (integration.component.test_egress_fw_rules.TestEgressFWRules): CRITICAL: EXCEPTION: test_01_1_egress_fr1: Traceback (most recent call last): File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run self.tearDown() File "/data/Repo2/qa/cloudstack/test/integration/component/test_egress_fw_rules.py", line 397, in tearDown self.fail("Warning! Cleanup failed: %s" % e) File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail raise self.failureException(msg) AssertionError: Warning! Cleanup failed: global name 'list_virtual_machines' is not defined --------------------- >> end captured logging << --------------------- Stacktrace File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run self.tearDown() File "/data/Repo2/qa/cloudstack/test/integration/component/test_egress_fw_rules.py", line 397, in tearDown self.fail("Warning! Cleanup failed: %s" % e) File "/usr/local/lib/python2.7/unittest/case.py", line 393, in fail raise self.failureException(msg) Warning! Cleanup failed: global name 'list_virtual_machines' is not defined -------------------- >> begin captured logging << -------------------- CSLog: DEBUG: sending GET request: listDomains {} CSLog: DEBUG: Computed Signature by Marvin: 7xWumVrzi5c0u8uO4EJ+GTaPsGE= requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&command=listDomains&signature=7xWumVrzi5c0u8uO4EJ%2BGTaPsGE%3D&response=json HTTP/1.1" 200 1191 CSLog: DEBUG: Request: http://10.223.49.197:8080/client/api?apiKey=xD2wDZTvUzDtHF5SAMlCud-rv-Li61wOoIYy8KLUHKIHUqxoe0gSvxoi57iu2_h5fMnVzwH9U5FTYmDv8rCgbQ&command=listDomains&signature=7xWumVrzi5c0u8uO4EJ%2BGTaPsGE%3D&response=json Response: { "listdomainsresponse" : { "count":6 ,"domain" : [ {"id":"ff80e446-6410-11e3-9c62-52b2d980df8a","name":"ROOT","level":0,"haschild":true,"path":"ROOT"}, {"id":"d59c5dac-1a17-47f2-88d7-8e14784737a8","name":"Domain-LGR811","level":1,"parentdomainid":"ff80e446-6410-11e3-9c62-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-LGR811"}, {"id":"065f6e3a-40e2-4f4d-9aba-d08ee32ed168","name":"Domain-TXRWRR","level":1,"parentdomainid":"ff80e446-6410-11e3-9c62-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-TXRWRR"}, {"id":"b90c91fd-bfa0-473a-9a8a-37cd68b572fb","name":"NROOT-VTCS9B","level":1,"parentdomainid":"ff80e446-6410-11e3-9c62-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/NROOT-VTCS9B"}, {"id":"d1bed7a7-c5f5-4ce7-9e8a-ef03e9b28670","name":"Domain-HI5HO0","level":1,"parentdomainid":"ff80e446-6410-11e3-9c62-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-HI5HO0"}, {"id":"0a274c7f-d2db-4ce2-a4ad-062a5a32febf","name":"Domain-RWY4L8","level":1,"parentdomainid":"ff80e446-6410-11e3-9c62-52b2d980df8a","parentdomainname":"ROOT","haschild":false,"path":"ROOT/Domain-RWY4L8"} ] } } CSLog: DEBUG: sending GET request: listZones {} CSLog: DEBUG: Computed Signature by Marvin: Xzei9VpJZfBwP3aSUQ4zm7rA07g= job 39 Regression_VMWARE_50_Multi_2 -- This message was sent by Atlassian JIRA (v6.1.4#6159)