[jira] [Created] (CLOUDSTACK-8582) Fix test cases failing on simulator
Gaurav Aradhye created CLOUDSTACK-8582: -- Summary: Fix test cases failing on simulator Key: CLOUDSTACK-8582 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8582 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Fix the test cases failing on simulator -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8579) Fix cleanup in few test cases
Gaurav Aradhye created CLOUDSTACK-8579: -- Summary: Fix cleanup in few test cases Key: CLOUDSTACK-8579 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8579 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 cleanup list should be declared before returning from setUpClass() so that tearDownClass() works properly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8554) Fix string conversion issue in few netscaler test cases
Gaurav Aradhye created CLOUDSTACK-8554: -- Summary: Fix string conversion issue in few netscaler test cases Key: CLOUDSTACK-8554 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8554 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Fix issue Exception object is directly converted to lower without converting it to string. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8546) Fix test script issue in testpath_vMotion_vmware.py
Gaurav Aradhye created CLOUDSTACK-8546: -- Summary: Fix test script issue in testpath_vMotion_vmware.py Key: CLOUDSTACK-8546 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8546 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The skip test code in the test suite is not written properly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8542) Correct the tests in test_vpc_on_host_maintenance.py and remove invalid tests
Gaurav Aradhye created CLOUDSTACK-8542: -- Summary: Correct the tests in test_vpc_on_host_maintenance.py and remove invalid tests Key: CLOUDSTACK-8542 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8542 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The test in the test suite is checking that when the hosts are in maintenance state, then VPC created with start=False parameter should be in inactive state. However, this is not correct. VPC is in inactive state only after it is deleted. Hence the state of the VPC created when the hosts are in maintenance state is Enabled only. Further, the VPC won't be deleted by any cleanup threads because it is in enabled state and not in inactive state. Remove the test case which asserts that VPC should be removed after cleanup interval. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8534) Fix import and pep8 issues in test_redundant_router_upgrades.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8534. -- Resolution: Fixed Fix import and pep8 issues in test_redundant_router_upgrades.py --- Key: CLOUDSTACK-8534 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8534 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Fix import and pep8 issues in test_redundant_router_upgrades.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8534) Fix import and pep8 issues in test_redundant_router_upgrades.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8534: --- Issue Type: Test (was: Bug) Fix import and pep8 issues in test_redundant_router_upgrades.py --- Key: CLOUDSTACK-8534 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8534 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Fix import and pep8 issues in test_redundant_router_upgrades.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-7861) [Automation] Fix the script test_eip_elb.py - Wrong mysql select command
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-7861. -- Resolution: Fixed [Automation] Fix the script test_eip_elb.py - Wrong mysql select command -- Key: CLOUDSTACK-7861 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7861 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Gaurav Aradhye Priority: Critical Fix For: 4.6.0 Notice the public_ip_address= condition in the select statement below: {noformat} test_02_acquire_ip_enable_static_nat (integration.component.test_eip_elb.TestEIP): DEBUG: Response : {success : u'true'} test_02_acquire_ip_enable_static_nat (integration.component.test_eip_elb.TestEIP): DEBUG: select is_system, one_to_one_nat from user_ip_address where public_ip_address='{networkid : u'7a48a65d-c771-4492-855b-6486dd2fd03c', domain : u'ROOT', domainid : u'2e24144e-649c-11e4-9a6e-7ea53edf270f', isstaticnat : False, zoneid : u'e5579dec-ab4a-4207-9e1b-7286c084d2f7', allocated : u'2014-11-05T04:47:04+', id : u'cce3cd84-c792-468f-ba3c-73630124d232', physicalnetworkid : u'5450776f-0a44-498c-a0ba-5667f31b74b2', fordisplay : True, issourcenat : False, vlanid : u'437ffafb-73c0-4733-9897-184ebf3ed08d', state : u'Allocating', forvirtualnetwork : True, zonename : u'XenRT-Zone-0', tags : [], associatednetworkname : u'guestNetworkForBasicZone', vlanname : u'vlan://935', associatednetworkid : u'2e34b2ae-9bbf-488a-9a9b-c1ee532eb464', ipaddress : u'10.81.96.111', isportable : False, account : u'test-TestEIP-L8KOEI', issystem : False}'; test_02_acquire_ip_enable_static_nat (integration.component.test_eip_elb.TestEIP): CRITICAL: EXCEPTION: test_02_acquire_ip_enable_static_nat: ['Traceback (most recent call last):\n', ' File /usr/lib/python2.7/unittest/case.py, line 332, in run\n testMethod()\n', ' File /root/cloudstack/test/integration/component/test_eip_elb.py, line 397, in test_02_acquire_ip_enable_static_nat\n% public_ip.ipaddress\n', ' File /usr/local/lib/python2.7/dist-packages/marvin/dbConnection.py, line 51, in execute\ncursor.execute(sql, params)\n', ' File /usr/local/lib/python2.7/dist-packages/mysql/connector/cursor.py, line 494, in execute\nself._handle_result(self._connection.cmd_query(stmt))\n', ' File /usr/local/lib/python2.7/dist-packages/mysql/connector/connection.py, line 683, in cmd_query\nstatement))\n', ' File /usr/local/lib/python2.7/dist-packages/mysql/connector/connection.py, line 601, in _handle_result\nraise errors.get_exception(packet)\n', ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '7a48a65d-c771-4492-855b-6486dd2fd03c', domain : u'ROOT', domainid : u'2e24144e-6' at line 1\n] - end captured logging - {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-2251) Automation: Dedicated Resources - Public IP Addresses and VLANs per Tenant
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-2251. -- Resolution: Fixed Automation: Dedicated Resources - Public IP Addresses and VLANs per Tenant --- Key: CLOUDSTACK-2251 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2251 Project: CloudStack Issue Type: Sub-task Security Level: Public(Anyone can view this level - this is the default.) Reporter: Sudha Ponnaganti Assignee: Gaurav Aradhye Fix For: Future -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CLOUDSTACK-8138) [Automation] test_15_revert_vm_to_snapshot : VM state should be stopped before revert
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-8138. Resolution: Fixed [Automation] test_15_revert_vm_to_snapshot : VM state should be stopped before revert - Key: CLOUDSTACK-8138 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8138 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Reporter: Rayees Namathponnan Assignee: Gaurav Aradhye Fix For: 4.6.0 In test case integration.component.test_escalations_instances.TestInstances.test_15_revert_vm_to_snapshot , we should check VM state is stopped before VM revert # Stop Virtual machine befor reverting VM to a snapshot taken without memory vm_created.stop(self.userapiclient) # Reverting the VM to Snapshot 1 VmSnapshot.revertToSnapshot( self.userapiclient, snapshot1.id ) # L Currently test cases failing with below error File /usr/lib/python2.7/unittest/case.py, line 332, in run testMethod() File /root/cloudstack/test/integration/component/test_escalations_instances.py, line 2632, in test_15_revert_vm_to_snapshot snapshot1.id File /usr/local/lib/python2.7/dist-packages/marvin/lib/base.py, line 4337, in revertToSnapshot return apiclient.revertToVMSnapshot(cmd) File /usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py, line 2846, in revertToVMSnapshot response = self.connection.marvinRequest(command, response_type=response, method=method) File /usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py, line 379, in marvinRequest raise e 'Job failed: {jobprocstatus : 0, created : u\'2014-12-25T07:29:06+\', cmd : u\'org.apache.cloudstack.api.command.user.vmsnapshot.RevertToVMSnapshotCmd\', userid : u\'212c570b-9e91-4d14-8198-051a46ae7181\', jobstatus : 2, jobid : u\'6d31ff1b-bba0-43b6-bdbd-a0c93bee1110\', jobresultcode : 530, jobresulttype : u\'object\', jobresult : {errorcode : 431, errortext : u\'VM Snapshot revert not allowed. This will result in VM state change. You can revert running VM to disk and memory type snapshot and stopped VM to disk type snapshot\'}, accountid : u\'ceda5a6d-9ab1-4029-ab0c-5ad80b3d8cba\'}\n -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8138) [Automation] test_15_revert_vm_to_snapshot : VM state should be stopped before revert
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8138. -- [Automation] test_15_revert_vm_to_snapshot : VM state should be stopped before revert - Key: CLOUDSTACK-8138 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8138 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Reporter: Rayees Namathponnan Assignee: Gaurav Aradhye Fix For: 4.6.0 In test case integration.component.test_escalations_instances.TestInstances.test_15_revert_vm_to_snapshot , we should check VM state is stopped before VM revert # Stop Virtual machine befor reverting VM to a snapshot taken without memory vm_created.stop(self.userapiclient) # Reverting the VM to Snapshot 1 VmSnapshot.revertToSnapshot( self.userapiclient, snapshot1.id ) # L Currently test cases failing with below error File /usr/lib/python2.7/unittest/case.py, line 332, in run testMethod() File /root/cloudstack/test/integration/component/test_escalations_instances.py, line 2632, in test_15_revert_vm_to_snapshot snapshot1.id File /usr/local/lib/python2.7/dist-packages/marvin/lib/base.py, line 4337, in revertToSnapshot return apiclient.revertToVMSnapshot(cmd) File /usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py, line 2846, in revertToVMSnapshot response = self.connection.marvinRequest(command, response_type=response, method=method) File /usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py, line 379, in marvinRequest raise e 'Job failed: {jobprocstatus : 0, created : u\'2014-12-25T07:29:06+\', cmd : u\'org.apache.cloudstack.api.command.user.vmsnapshot.RevertToVMSnapshotCmd\', userid : u\'212c570b-9e91-4d14-8198-051a46ae7181\', jobstatus : 2, jobid : u\'6d31ff1b-bba0-43b6-bdbd-a0c93bee1110\', jobresultcode : 530, jobresulttype : u\'object\', jobresult : {errorcode : 431, errortext : u\'VM Snapshot revert not allowed. This will result in VM state change. You can revert running VM to disk and memory type snapshot and stopped VM to disk type snapshot\'}, accountid : u\'ceda5a6d-9ab1-4029-ab0c-5ad80b3d8cba\'}\n -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8490) Fix static code issues for test_browse_templates.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8490. -- Resolution: Fixed This is taken care by Sailaja Fix static code issues for test_browse_templates.py --- Key: CLOUDSTACK-8490 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8490 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix static code issues for test_browse_templates.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8520) Improve logging in the test case
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8520. -- Resolution: Fixed Improve logging in the test case Key: CLOUDSTACK-8520 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8520 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8501) Correct the test case test_add_cluster_datacenter_spaces
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8501. -- Resolution: Fixed Correct the test case test_add_cluster_datacenter_spaces -- Key: CLOUDSTACK-8501 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8501 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The cluster name is not mentioned during addCluster operation, which is causing test case failure -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8515) Skip snapshot test cases on HyperV
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8515. -- Resolution: Fixed Skip snapshot test cases on HyperV -- Key: CLOUDSTACK-8515 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8515 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Skip snapshot test cases on hyperv as snapshot is not supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8534) Fix import and pep8 issues in test_redundant_router_upgrades.py
Gaurav Aradhye created CLOUDSTACK-8534: -- Summary: Fix import and pep8 issues in test_redundant_router_upgrades.py Key: CLOUDSTACK-8534 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8534 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Fix import and pep8 issues in test_redundant_router_upgrades.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8527) Skip VPC test case on HyperV
Gaurav Aradhye created CLOUDSTACK-8527: -- Summary: Skip VPC test case on HyperV Key: CLOUDSTACK-8527 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8527 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Skip VPC test cases on HyperV as feature not supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8527) Skip VPC test case on HyperV
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8527. -- Resolution: Fixed Skip VPC test case on HyperV Key: CLOUDSTACK-8527 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8527 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Skip VPC test cases on HyperV as feature not supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8526) Use more memory for VM deployment on HyperV in case trying to SSH to VM
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8526. -- Resolution: Fixed Use more memory for VM deployment on HyperV in case trying to SSH to VM --- Key: CLOUDSTACK-8526 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8526 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 HyperV Vms are GUI based and they require at least 1 GB memory so as to enable the SSH service in them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8526) Use more memory for VM deployment on HyperV in case trying to SSH to VM
Gaurav Aradhye created CLOUDSTACK-8526: -- Summary: Use more memory for VM deployment on HyperV in case trying to SSH to VM Key: CLOUDSTACK-8526 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8526 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 HyperV Vms are GUI based and they require at least 1 GB memory so as to enable the SSH service in them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8518) Fix testpath_disable_enable_zone.py test suite
Gaurav Aradhye created CLOUDSTACK-8518: -- Summary: Fix testpath_disable_enable_zone.py test suite Key: CLOUDSTACK-8518 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8518 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Changes: 1. Skip snapshot test cases for hyperv and LXC hypervisors 2. Include enable host script in tearDownClass so that in case test fails, hosts are not left in disabled state -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8518) Fix testpath_disable_enable_zone.py test suite
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8518. -- Resolution: Fixed Fix testpath_disable_enable_zone.py test suite -- Key: CLOUDSTACK-8518 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8518 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Changes: 1. Skip snapshot test cases for hyperv and LXC hypervisors 2. Include enable host script in tearDownClass so that in case test fails, hosts are not left in disabled state -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8516) Fix syntax errors in testpath_storage_migration.py
Gaurav Aradhye created CLOUDSTACK-8516: -- Summary: Fix syntax errors in testpath_storage_migration.py Key: CLOUDSTACK-8516 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8516 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8516) Fix syntax errors in testpath_storage_migration.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8516. -- Resolution: Fixed Fix syntax errors in testpath_storage_migration.py -- Key: CLOUDSTACK-8516 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8516 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8521) Improve logging in the test case
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8521. -- Resolution: Fixed Improve logging in the test case Key: CLOUDSTACK-8521 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8521 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8523) Improve logging in the test case
Gaurav Aradhye created CLOUDSTACK-8523: -- Summary: Improve logging in the test case Key: CLOUDSTACK-8523 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8523 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8521) Improve logging in the test case
Gaurav Aradhye created CLOUDSTACK-8521: -- Summary: Improve logging in the test case Key: CLOUDSTACK-8521 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8521 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8522) Improve logging in the test case
Gaurav Aradhye created CLOUDSTACK-8522: -- Summary: Improve logging in the test case Key: CLOUDSTACK-8522 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8522 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8523) Improve logging in the test case
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8523. -- Resolution: Fixed Improve logging in the test case Key: CLOUDSTACK-8523 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8523 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8520) Improve logging in the test case
Gaurav Aradhye created CLOUDSTACK-8520: -- Summary: Improve logging in the test case Key: CLOUDSTACK-8520 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8520 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8522) Improve logging in the test case
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8522. -- Resolution: Fixed Improve logging in the test case Key: CLOUDSTACK-8522 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8522 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Add debug messages wherever necessary so that test developer does not need to run the test case again and again to find out the root cause of the issue -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8515) Skip snapshot test cases on HyperV
Gaurav Aradhye created CLOUDSTACK-8515: -- Summary: Skip snapshot test cases on HyperV Key: CLOUDSTACK-8515 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8515 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Skip snapshot test cases on hyperv as snapshot is not supported. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8514) test_haproxy.py - Check router state after starting router before validating network rules
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8514. -- Resolution: Fixed test_haproxy.py - Check router state after starting router before validating network rules -- Key: CLOUDSTACK-8514 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8514 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The test case test_08_create_policy_router_stopped fails in automation runs because the router state is not verified if running, when the routers is stopped and started again. In this case SSH fails if the router is still in starting state. Hence, before doing SSH, check if the router it is in running state, then only proceed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8514) test_haproxy.py - Check router state after starting router before validating network rules
Gaurav Aradhye created CLOUDSTACK-8514: -- Summary: test_haproxy.py - Check router state after starting router before validating network rules Key: CLOUDSTACK-8514 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8514 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The test case test_08_create_policy_router_stopped fails in automation runs because the router state is not verified if running, when the routers is stopped and started again. In this case SSH fails if the router is still in starting state. Hence, before doing SSH, check if the router it is in running state, then only proceed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8511) Move the file test_escalations_hosts.py to maint folder
Gaurav Aradhye created CLOUDSTACK-8511: -- Summary: Move the file test_escalations_hosts.py to maint folder Key: CLOUDSTACK-8511 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8511 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The test suite contains script which disables zone/cluster and enables them again. This should be present in maint folder as it should be run serially. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8512) Fix test script issues in test_escalations_hosts.py
Gaurav Aradhye created CLOUDSTACK-8512: -- Summary: Fix test script issues in test_escalations_hosts.py Key: CLOUDSTACK-8512 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8512 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The test script has several issues related to calling base class methods and retrieving data from database. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8511) Move the file test_escalations_hosts.py to maint folder
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8511. -- Resolution: Fixed Move the file test_escalations_hosts.py to maint folder --- Key: CLOUDSTACK-8511 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8511 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The test suite contains script which disables zone/cluster and enables them again. This should be present in maint folder as it should be run serially. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8512) Fix test script issues in test_escalations_hosts.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8512. -- Resolution: Fixed Fix test script issues in test_escalations_hosts.py --- Key: CLOUDSTACK-8512 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8512 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The test script has several issues related to calling base class methods and retrieving data from database. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8498) Including schedule as default key value pair in recurring_snapshot dictionary in test_data.py
Gaurav Aradhye created CLOUDSTACK-8498: -- Summary: Including schedule as default key value pair in recurring_snapshot dictionary in test_data.py Key: CLOUDSTACK-8498 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8498 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 Some test cases are failing because schedule key is absent in recurring_snapshot dict. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8394) Skip test cases through setUp() instead of setUpClass()
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8394: --- Status: Reviewable (was: In Progress) Skip test cases through setUp() instead of setUpClass() --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in setUp() and skip the test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8482) Enhance recurring snapshot policy test cases
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8482. -- Enhance recurring snapshot policy test cases Key: CLOUDSTACK-8482 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8482 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Current test cases do not verify that only maximum snapshots mentioned in the snapshot policy are retained. Enhance the current test cases to take care of this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CLOUDSTACK-8482) Enhance recurring snapshot policy test cases
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-8482. Resolution: Fixed Enhance recurring snapshot policy test cases Key: CLOUDSTACK-8482 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8482 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Current test cases do not verify that only maximum snapshots mentioned in the snapshot policy are retained. Enhance the current test cases to take care of this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8450) Fix test_escalations_hosts.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8450. -- Resolution: Fixed Fix test_escalations_hosts.py - Key: CLOUDSTACK-8450 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8450 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Number of arguments in method definition and method call are mismatched in this test suite. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-6537) Test Case Changes
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-6537. -- Resolution: Fixed Test Case Changes - Key: CLOUDSTACK-6537 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6537 Project: CloudStack Issue Type: Sub-task Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.4.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.4.4 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8466) Fix import error in testpath_snapshot_limits.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8466. -- Resolution: Fixed Fix import error in testpath_snapshot_limits.py --- Key: CLOUDSTACK-8466 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8466 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future testpath_snapshot_limits.py is failing with import error cannot import name BACKEDUP. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8377) Marvin - base library - Fix list function for PhysicalNetwork class
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8377. -- Resolution: Fixed Marvin - base library - Fix list function for PhysicalNetwork class --- Key: CLOUDSTACK-8377 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8377 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Remove map function from list function in PhysicalNetwork class. The map function fails when listPhysicalNetwork API returns None. Instead return the response as it is. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8492) Fix string comparison createChecksum method in common.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8492. -- Resolution: Fixed Fix string comparison createChecksum method in common.py Key: CLOUDSTACK-8492 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8492 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The hypervisor is not converted to lowercase, hence it's failing for some hypervisors while trying to access dictionary elements -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8374) Adding port groups verification steps in networking test cases
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8374. -- Resolution: Fixed Adding port groups verification steps in networking test cases -- Key: CLOUDSTACK-8374 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8374 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future As a part of this task, add port groups verification steps in test cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8492) Fix string comparison createChecksum method in common.py
Gaurav Aradhye created CLOUDSTACK-8492: -- Summary: Fix string comparison createChecksum method in common.py Key: CLOUDSTACK-8492 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8492 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The hypervisor is not converted to lowercase, hence it's failing for some hypervisors while trying to access dictionary elements -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8481) Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8481. -- Resolution: Fixed Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected Key: CLOUDSTACK-8481 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8481 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CLOUDSTACK-8394) Skip test cases through setUp() instead of setUpClass()
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-8394. Resolution: Fixed Skip test cases through setUp() instead of setUpClass() --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in setUp() and skip the test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8490) Fix static code issues for test_browse_templates.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8490: --- Issue Type: Test (was: Bug) Fix static code issues for test_browse_templates.py --- Key: CLOUDSTACK-8490 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8490 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix static code issues for test_browse_templates.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8390) Skip VPC tests on Hyper-V
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8390. -- Resolution: Fixed Skip VPC tests on Hyper-V - Key: CLOUDSTACK-8390 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8390 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 VPC is not supported on Hyper-V. Skip related test cases on Hyper-V. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8449) Include zoneid parameter in base library for updateConfiuration method
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8449. -- Resolution: Fixed Include zoneid parameter in base library for updateConfiuration method -- Key: CLOUDSTACK-8449 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8449 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Some test cases pass zoneid for Configurations.update method but it is absent in base library. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8453) Fix DB result check in test_VirtualRouter_alerts.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8453. -- Resolution: Fixed Fix DB result check in test_VirtualRouter_alerts.py --- Key: CLOUDSTACK-8453 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8453 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future After stopping the apache service, the alerts in database is matched currently with the string Monitoring Service on VR RouterName. The database contains the subject as Monitoring Service on VR RouterName. 2015-05-07 10:36:07,207 [INFO] [The process apache2 is not running trying recover ] apache2 The string matching should be made less strict and should be made to use like % operator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8388) Tests - fix pep8 issues
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8388. -- Resolution: Fixed Tests - fix pep8 issues --- Key: CLOUDSTACK-8388 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8388 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix pep8 issues in all test files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8332) Add test case to check SSVM and system VM creation after setting system.vm.default.hypervisor to xenserver
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8332. -- Resolution: Fixed Add test case to check SSVM and system VM creation after setting system.vm.default.hypervisor to xenserver Key: CLOUDSTACK-8332 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8332 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 # Validate the following: # 1. Check if the setup has more than 1 zones and one of the zones has xenserver host # 2. Deploy VMs using all templates present in the setup of different hypervisors # 3. Set the global setting system.vm.default.hypervisor to xenserver # 4. Destroy all the system vms and wait for them to get recreated # 5. When all the SSVMs are up and running again, deploy VMs on all presen hypervisors, VMs should get deployed successfully # 6. The system Vms in the zone where Xenserver template is present should be running on Xenserver only and not on any other hypervisor present in the setup -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8466) Fix import error in testpath_snapshot_limits.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8466: --- Issue Type: Test (was: Bug) Fix import error in testpath_snapshot_limits.py --- Key: CLOUDSTACK-8466 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8466 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future testpath_snapshot_limits.py is failing with import error cannot import name BACKEDUP. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8475) Fix import errors in testpath_storage_migration.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8475. -- Resolution: Fixed Fix import errors in testpath_storage_migration.py -- Key: CLOUDSTACK-8475 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8475 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix import erros in testpath_storage_migration.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8500) Adding missing key in test_data.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8500. -- Resolution: Fixed Adding missing key in test_data.py -- Key: CLOUDSTACK-8500 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8500 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 restartManagementServerThroughTestCase key is absent in test_data.py while it is being used in testpaths. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8500) Adding missing key in test_data.py
Gaurav Aradhye created CLOUDSTACK-8500: -- Summary: Adding missing key in test_data.py Key: CLOUDSTACK-8500 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8500 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 restartManagementServerThroughTestCase key is absent in test_data.py while it is being used in testpaths. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8498) Including schedule as default key value pair in recurring_snapshot dictionary in test_data.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8498. -- Resolution: Fixed Including schedule as default key value pair in recurring_snapshot dictionary in test_data.py - Key: CLOUDSTACK-8498 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8498 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Some test cases are failing because schedule key is absent in recurring_snapshot dict. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8501) Correct the test case test_add_cluster_datacenter_spaces
Gaurav Aradhye created CLOUDSTACK-8501: -- Summary: Correct the test case test_add_cluster_datacenter_spaces Key: CLOUDSTACK-8501 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8501 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 The cluster name is not mentioned during addCluster operation, which is causing test case failure -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8490) Fix static code issues for test_browse_templates.py
Gaurav Aradhye created CLOUDSTACK-8490: -- Summary: Fix static code issues for test_browse_templates.py Key: CLOUDSTACK-8490 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8490 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Fix static code issues for test_browse_templates.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8481) Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected
Gaurav Aradhye created CLOUDSTACK-8481: -- Summary: Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected Key: CLOUDSTACK-8481 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8481 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Add test cases for validating global limit concurrent.snapshots.threshold.perhost is respected -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8482) Enhance recurring snapshot policy test cases
Gaurav Aradhye created CLOUDSTACK-8482: -- Summary: Enhance recurring snapshot policy test cases Key: CLOUDSTACK-8482 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8482 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Current test cases do not verify that only maximum snapshots mentioned in the snapshot policy are retained. Enhance the current test cases to take care of this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8475) Fix import errors in testpath_storage_migration.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8475: --- Description: Fix import erros in testpath_storage_migration.py (was: Fix import erros and pep8 issues in testpath_storage_migration.py) Fix import errors in testpath_storage_migration.py -- Key: CLOUDSTACK-8475 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8475 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix import erros in testpath_storage_migration.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8475) Fix import errors in testpath_storage_migration.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8475: --- Summary: Fix import errors in testpath_storage_migration.py (was: Fix import errors and pep8 issues in testpath_storage_migration.py) Fix import errors in testpath_storage_migration.py -- Key: CLOUDSTACK-8475 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8475 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix import erros and pep8 issues in testpath_storage_migration.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8475) Fix import erros and pep8 issues in testpath_storage_migration.py
Gaurav Aradhye created CLOUDSTACK-8475: -- Summary: Fix import erros and pep8 issues in testpath_storage_migration.py Key: CLOUDSTACK-8475 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8475 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Fix import erros and pep8 issues in testpath_storage_migration.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8475) Fix import errors and pep8 issues in testpath_storage_migration.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8475: --- Summary: Fix import errors and pep8 issues in testpath_storage_migration.py (was: Fix import erros and pep8 issues in testpath_storage_migration.py) Fix import errors and pep8 issues in testpath_storage_migration.py -- Key: CLOUDSTACK-8475 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8475 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Fix import erros and pep8 issues in testpath_storage_migration.py -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8468) Correct test case in test_bugs.py
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8468. -- Resolution: Pending Closed Correct test case in test_bugs.py - Key: CLOUDSTACK-8468 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8468 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future test_es_47_list_os_types_win_2012 should be run only when the global setting apply.allocation.algorithm.to.pods is set to True. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8468) Correct test case in test_bugs.py
Gaurav Aradhye created CLOUDSTACK-8468: -- Summary: Correct test case in test_bugs.py Key: CLOUDSTACK-8468 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8468 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future test_es_47_list_os_types_win_2012 should be run only when the global setting apply.allocation.algorithm.to.pods is set to True. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8466) Fix import error in testpath_snapshot_limits.py
Gaurav Aradhye created CLOUDSTACK-8466: -- Summary: Fix import error in testpath_snapshot_limits.py Key: CLOUDSTACK-8466 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8466 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future testpath_snapshot_limits.py is failing with import error cannot import name BACKEDUP. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8453) Fix DB result check in test_VirtualRouter_alerts.py
Gaurav Aradhye created CLOUDSTACK-8453: -- Summary: Fix DB result check in test_VirtualRouter_alerts.py Key: CLOUDSTACK-8453 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8453 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future After stopping the apache service, the alerts in database is matched currently with the string Monitoring Service on VR RouterName. The database contains the subject as Monitoring Service on VR RouterName. 2015-05-07 10:36:07,207 [INFO] [The process apache2 is not running trying recover ] apache2 The string matching should be made less strict and should be made to use like % operator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8449) Include zoneid parameter in base library for updateConfiuration method
Gaurav Aradhye created CLOUDSTACK-8449: -- Summary: Include zoneid parameter in base library for updateConfiuration method Key: CLOUDSTACK-8449 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8449 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Some test cases pass zoneid for Configurations.update method but it is absent in base library. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8450) Fix test_escalations_hosts.py
Gaurav Aradhye created CLOUDSTACK-8450: -- Summary: Fix test_escalations_hosts.py Key: CLOUDSTACK-8450 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8450 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Number of arguments in method definition and method call are mismatched in this test suite. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8445) Keep only dvs tag for test case which tests the VCenter port groups
Gaurav Aradhye created CLOUDSTACK-8445: -- Summary: Keep only dvs tag for test case which tests the VCenter port groups Key: CLOUDSTACK-8445 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8445 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Environment: VMware Advanced Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future The test cases is tested only for DVS. This will prevent it to run on normal configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8445) Keep only dvs tag for test case which tests the VCenter port groups
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8445. -- Resolution: Fixed Keep only dvs tag for test case which tests the VCenter port groups - Key: CLOUDSTACK-8445 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8445 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Environment: VMware Advanced Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future The test cases is tested only for DVS. This will prevent it to run on normal configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8394) Skip test cases through setUp() instead of setUpClass()
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8394: --- Description: When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in setUp() and skip the test case. was:When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in a custom decorator. Decorator will skip or run test cases accordingly. Skip test cases through setUp() instead of setUpClass() --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in setUp() and skip the test case. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8394) Skip test cases through setUp() instead of setUpClass()
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8394: --- Summary: Skip test cases through setUp() instead of setUpClass() (was: Use decorators to skip test case depending on class variables set in setUpClass) Skip test cases through setUp() instead of setUpClass() --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in a custom decorator. Decorator will skip or run test cases accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CLOUDSTACK-8403) Modify tags accordingly for test cases which can't be run on simulator
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye resolved CLOUDSTACK-8403. Resolution: Fixed Modify tags accordingly for test cases which can't be run on simulator -- Key: CLOUDSTACK-8403 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8403 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Set required_hardware=true for tests which should not be run on the simulator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8403) Modify tags accordingly for test cases which can't be run on simulator
Gaurav Aradhye created CLOUDSTACK-8403: -- Summary: Modify tags accordingly for test cases which can't be run on simulator Key: CLOUDSTACK-8403 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8403 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Set required_hardware=true for tests which should not be run on the simulator. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8394) Use decorators to skip test case depending on class variables set in setUpClass
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8394: --- Summary: Use decorators to skip test case depending on class variables set in setUpClass (was: Move skip test part from setUpClass to individual test case) Use decorators to skip test case depending on class variables set in setUpClass --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass in setUpClass and read it in setUp() method and skip test case accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CLOUDSTACK-8394) Use decorators to skip test case depending on class variables set in setUpClass
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye updated CLOUDSTACK-8394: --- Description: When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in a custom decorator. Decorator will skip or run test cases accordingly. (was: When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass in setUpClass and read it in setUp() method and skip test case accordingly.) Use decorators to skip test case depending on class variables set in setUpClass --- Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass and read this variable value in a custom decorator. Decorator will skip or run test cases accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8394) Move skip test part from setUpClass to individual test case
Gaurav Aradhye created CLOUDSTACK-8394: -- Summary: Move skip test part from setUpClass to individual test case Key: CLOUDSTACK-8394 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8394 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future When the tests are skipped through setUpClass, the statement raise unittest.SkipTest() is used. This is seen as exception in the logs. To avoid this, alternatively we can set class level variable in setUpClass in setUpClass and read it in setUp() method and skip test case accordingly. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8390) Skip VPC tests on Hyper-V
Gaurav Aradhye created CLOUDSTACK-8390: -- Summary: Skip VPC tests on Hyper-V Key: CLOUDSTACK-8390 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8390 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: 4.6.0 Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: 4.6.0 VPC is not supported on Hyper-V. Skip related test cases on Hyper-V. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8388) Tests - fix pep8 issues
Gaurav Aradhye created CLOUDSTACK-8388: -- Summary: Tests - fix pep8 issues Key: CLOUDSTACK-8388 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8388 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Fix pep8 issues in all test files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8330) Tag test cases which can be run on DVS
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8330. -- Tag test cases which can be run on DVS -- Key: CLOUDSTACK-8330 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8330 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Tag test cases which can be run with DVS configuration -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8323) Add BVT test case to confirm the proper network adapter types addition for Vmware
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8323. -- Add BVT test case to confirm the proper network adapter types addition for Vmware - Key: CLOUDSTACK-8323 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8323 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The test case will verify that when a template is registered with nicAdapter as VMXNET3 and when VM is deployed with this VM, also when extra networks are added to the VM, then the NIC adapter in VCenter is shown as VMXNET3 for both the NICs of VM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8356) Mention netaddr module as dependency in marvin setup.py file as it is used across test cases
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8356. -- Resolution: Fixed Mention netaddr module as dependency in marvin setup.py file as it is used across test cases Key: CLOUDSTACK-8356 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8356 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future The netaddr module is used in various test cases but it is not mentioned in setup.py file. Test cases will fail with import error if the module is absent on user machine even when marvin is installed. Mentioning the netaddr module in setup.py file so it is installed with marvin. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8336) Add restart network test case for shared network (with and without cleanup)
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8336. -- Add restart network test case for shared network (with and without cleanup) --- Key: CLOUDSTACK-8336 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8336 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 Add restart network test case for shared network, with and without cleanup option -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8344) Fix SSH failures in test_haproxy.py test cases
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8344. -- Resolution: Fixed Fix SSH failures in test_haproxy.py test cases -- Key: CLOUDSTACK-8344 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8344 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 The test case in test suite test_haproxy.py are failing while attempting SSH due to Authentication error. The test cases are using host credentials while trying to connect to user VM. Instead they should use VM username and password. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8375) Marvin - Code improvement - VCenter port groups verification
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8375. -- Resolution: Fixed Marvin - Code improvement - VCenter port groups verification Key: CLOUDSTACK-8375 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8375 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Improving the code related to VCenter port groups modification. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8361) Add functionality in marvin in to check the port groups in VCenter corresponding to configuration of traffics in physical networks
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8361. -- Resolution: Fixed Add functionality in marvin in to check the port groups in VCenter corresponding to configuration of traffics in physical networks -- Key: CLOUDSTACK-8361 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8361 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future As part of this task, adding common functions in marvin which can be called from any test case. The function verifies that Port groups are present in a VCenter corresponding the different traffics present in physical networks of zones. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8340) Adding test case for stop and start router for VPC
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8340. -- Adding test case for stop and start router for VPC -- Key: CLOUDSTACK-8340 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8340 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: 4.6.0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (CLOUDSTACK-8380) Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gaurav Aradhye closed CLOUDSTACK-8380. -- Resolution: Fixed Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed - Key: CLOUDSTACK-8380 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8380 Project: CloudStack Issue Type: Test Security Level: Public(Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Labels: automation Fix For: Future Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8380) Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed
Gaurav Aradhye created CLOUDSTACK-8380: -- Summary: Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed Key: CLOUDSTACK-8380 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8380 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Add script to testSetupSuccess.py to check VCenter port groups are created for storage, management and public traffic as soon as zone is deployed -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8377) Marvin - base library - Fix list function for PhysicalNetwork class
Gaurav Aradhye created CLOUDSTACK-8377: -- Summary: Marvin - base library - Fix list function for PhysicalNetwork class Key: CLOUDSTACK-8377 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8377 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future Remove map function from list function in PhysicalNetwork class. The map function fails when listPhysicalNetwork API returns None. Instead return the response as it is. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8374) Adding port groups verification steps in networking test cases
Gaurav Aradhye created CLOUDSTACK-8374: -- Summary: Adding port groups verification steps in networking test cases Key: CLOUDSTACK-8374 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8374 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Assignee: Gaurav Aradhye Fix For: Future As a part of this task, add port groups verification steps in test cases. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CLOUDSTACK-8361) Add functionality in marvin in to check the port groups in VCenter corresponding to configuration of traffics in physical networks
Gaurav Aradhye created CLOUDSTACK-8361: -- Summary: Add functionality in marvin in to check the port groups in VCenter corresponding to configuration of traffics in physical networks Key: CLOUDSTACK-8361 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8361 Project: CloudStack Issue Type: Test Security Level: Public (Anyone can view this level - this is the default.) Components: Automation Affects Versions: Future Reporter: Gaurav Aradhye Fix For: Future -- This message was sent by Atlassian JIRA (v6.3.4#6332)