81 Commits

Author SHA1 Message Date
John Bampton
fa39e61a4c
Fix spelling (#6609) 2022-11-01 08:30:01 +01:00
John Bampton
f9347ecf2c
Fix spelling (#6597) 2022-08-03 15:43:47 +05:30
John Bampton
7d23a0a759
Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
John Bampton
182899d0b5
Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687)
* refactor: remove trailing whitespace from Python files

* Add the GitHub Super-Linter

Add Python flake8 linting for W291 trailing whitespace

* Add licenses
2022-03-28 11:40:26 -03:00
John Bampton
6401c850b7
Fix spelling (#6064)
* Fix spelling

- `interupted` to `interrupted`
- `paramter` to `parameter`

* Fix more typos
2022-03-08 13:02:35 -03:00
John Bampton
08bb4ad9fe
spelling: Fix spelling Occured to Occurred (#6061)
Fix typos
2022-03-07 15:07:02 +05:30
dahn
a1f825e7c7
python3: Migrate Marvin and smoketests to python3 (#4727)
This PR prepares marvin and tests for python3. it was part of #4479, until nose2 was decided to be abandoned from that PR.

Re-PR of #4543 and #3730 to enable cooperation

Co-authored-by: Daan Hoogland <dahn@onecht.net>
Co-authored-by: Gabriel Beims Bräscher <gabriel@apache.org>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2021-05-04 23:19:37 +05:30
dahn
a348afe91b
default teardown methods with reversed() handling (#4289)
Co-authored-by: Daan Hoogland <dahn@onecht.net>
2020-11-13 07:56:28 +00:00
Daan Hoogland
5636c9bcae CLOUDSTACK-8308 automation test for Delta Snapshot 2017-10-10 19:52:49 +02:00
meenakshi_m
6e406a6002 This Submission is to check if wrong value is inserted into nics
table netmask field when creating a VM.
2017-05-17 17:01:13 +05:30
Rajani Karuturi
a79c1f6722 Merge pull request #1416 from pritisarap12/CLOUDSTACK-8717-Failed-to-start-instance-after-restoring-the-running-instance
CLOUDSTACK-8717: Failed to start instance after restoring the running instance Changing PR title and commit message
In continuation with PR #1411  and  #667

* pr/1416:
  CLOUDSTACK-8717: Failed to start instance after restoring the running instance

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>
2017-02-13 16:04:41 +05:30
sanjeev
908b769abf Merge pull request #1078 from pritisarap12/CLOUDSTACK-9066-update-testpath-to-delete-account-after-deleting-VMs-of-that-account
CLOUDSTACK-9066: Update testpath to delete account after deleting VM's of that account In testpath_snapshot_hardning.py testpath account was getting cleared prior to VM's of that account hence while cleaning up the account the VM's in that account also gets deleted hence while clearing VM's it gives exception as "No VM found".

* pr/1078:
  CLOUDSTACK-9066: Update testpath to delete account after deleting VMs of that account

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-25 14:44:53 +05:30
sanjeev
ee150aa631 Merge pull request #1031 from pritisarap12/CLOUDSTACK-9026-Modifying-testpath-for-adding-missing-parameter
CLOUDSTACK-9026: Modifying testpath for adding missing parameterAdding service_offering creation in testpath_storage_migration.py testpath which is missing right now

* pr/1031:
  CLOUDSTACK-9026: Modifying testpath for adding missing parameter

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-19 15:52:28 +05:30
Priti Sarap
207b7e3b50 CLOUDSTACK-9026: Modifying testpath for adding missing parameter 2016-02-18 18:19:24 +05:30
sanjeev
79edac0ee6 Merge pull request #1130 from pritisarap12/CLOUDSTACK-9091-Update-testpath-for-parameter-issues
CLOUDSTACK-9091: Update testpath for parameter issuesIn testpath_volume_snapshot testpath creating volume from snapshot function is passing zonid parameter to function in base class but there it doesn't take as separate parameter it takes it from "services" so updating it.

* pr/1130:
  CLOUDSTACK-9091: Update testpath for parameter issues

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-18 15:28:45 +05:30
Priti Sarap
06289da022 CLOUDSTACK-8717: Failed to start instance after restoring the running instance 2016-02-17 10:32:01 +05:30
Priti Sarap
f8c2c955e6 CLOUDSTACK-9128: Testcase to verify if snapshot_store_ref table stores actual size of back snapshot in secondary storage 2016-02-10 15:11:47 +05:30
sanjeev
cd71e05b1e Merge pull request #1190 from pritisarap12/CLOUDSTACK-9121-Adding-VmSnapshot-validation-in-testpath_revert_snap.py
CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.pyIn testpath_revert_snap.py, there was no code to check if VM snapshot is created or not hence adding code for snapshot validation.

* pr/1190:
  CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-10 10:59:21 +05:30
sanjeev
f61f23c7fa Merge pull request #869 from pritisarap12/CLOUDSTACK-8895-Verify-if-storage-can-be-selected-when-attaching-uploaded-data-volume-to-VM
CLOUDSTACK-8895: Verify if storage on storage pool can be attached to VMTest case to verify if data volume uploaded in a storage pool(Cluster wide storage pool) is available for attachment to a Virtual Machine.and also check that after attachment the volume is in correct storage pool.

* pr/869:
  CLOUDSTACK-8895: Verify if storage can be selected when attaching uploaded data volume to VM

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-10 10:57:19 +05:30
Remi Bergsma
329c012b79 Merge pull request #994 from pritisarap12/snapshot-has-no-attribute-len
CLOUDSTACK-9001: Modifying snapshot results validation Currently snapshots results validation is based on length of snapshot result but if snapshot creation fails then None type object will not have "len" attribute hence modifying the validation.

* pr/994:
  CLOUDSTACK-9001: Modifying snapshot results validation in testpath_uuid_event testpath

Signed-off-by: Remi Bergsma <github@remi.nl>
2016-01-17 13:40:31 +01:00
Priti Sarap
1cf44dee3a CLOUDSTACK-9121: Adding VmSnapshot validation in testpath_revert_snap.py 2015-12-08 16:29:13 +05:30
Priti Sarap
358115de15 CLOUDSTACK-9091: Update testpath for parameter issues 2015-11-27 12:51:50 +05:30
Priti Sarap
a8e60499fe CLOUDSTACK-9066: Update testpath to delete account after deleting VMs of that account 2015-11-17 17:25:23 +05:30
Priti Sarap
d793c7f50f CLOUDSTACK-9005: Modifying tearDown function 2015-10-29 10:58:15 +05:30
Priti Sarap
0e01c7f357 CLOUDSTACK-9001: Modifying snapshot results validation in testpath_uuid_event testpath 2015-10-28 11:19:36 +05:30
Priti Sarap
e133529289 CLOUDSTACK-8895: Verify if storage can be selected when attaching uploaded data volume to VM 2015-09-22 13:17:10 +05:30
Rohit Yadav
6e5d4a60da Merge pull request #665 from pritisarap12/CLOUDSTACK-8716-Verify-creation-of-snapshot-from-volume-when-the-task-is-performed-repeatedly-in-zone-wide-primary-Storage
CLOUDSTACK-8716: Verify creation of snapshot from volume when the task is performed repeatedly in zone wide primary StorageOn VMWare with a Zone wide primary storage and more than two clusters verify successful creation of snapshot multiple times.

* pr/665:
  CLOUDSTACK-8716: Verify creation of snapshot from volume when the task is performed repeatedly in zone wide primary Storage

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-26 15:11:27 +05:30
Rohit Yadav
8252dbd006 Merge pull request #675 from pritisarap12/CLOUDSTACK-8723-Verify-API-call-listUsageRecords-returns-usage-of-new-volume-created-after-restore-VM
CLOUDSTACK-8723: Verify API call "listUsageRecords" returns usage of new volume created after restore VMAfter restoring a running VM current ROOT disk gets destroyed and new ROOT disk gets created.
This testcase is to check if volume usage of this newly created volume is listed in listUsageRecords API.

* pr/675:
  CLOUDSTACK-8723: Verify API call "listUsageRecords" returns usage of new volume created after restore VM

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-26 15:11:11 +05:30
Priti Sarap
aa4aab8396 CLOUDSTACK-8716: Verify creation of snapshot from volume when the task is performed repeatedly in zone wide primary Storage
CLOUDSTACK-8716: Verify creation of snapshot from volume when the task is performed repeatedly in zone wide primary Storage
	 -Removing redundent code
	 -Added validate list function for list snapshot operation

CLOUDSTACK-8716: Verify creation of snapshot from volume when the task is performed repeatedly in zone wide primary Storage
2015-08-19 16:59:33 +05:30
Priti Sarap
6fd491b1ce CLOUDSTACK-8693-Adding-missing-code-in-testpath_same_vm_name.py_testpatha 2015-08-13 13:11:50 +05:30
Priti Sarap
1e6420149f CLOUDSTACK-8723: Verify API call "listUsageRecords" returns usage of new volume created after restore VM 2015-08-11 16:54:05 +05:30
Priti Sarap
b6a06b4bf5 CLOUDSTACK-8686: Data disk attach failed for clusters with only zone wide primary -Attaching the uploaded/allocated volume to a VM on zwps
This closes #631
2015-08-03 14:33:48 +05:30
Priti Sarap
66f5163426 CLOUDSTACK-8659: Verify presentation of volume id in description of events table for 'SNAPSHOT.CREATE' type
This closes #613
2015-07-27 14:57:56 +05:30
Priti Sarap
9c9e902e5c CLOUDSTACK-8664: Verify if queryAsyncJobResult api return jobinstanceid
This closes #619
2015-07-27 12:38:12 +05:30
Priti Sarap
faaf6b1f98 CLOUDSTACK-8636: Verify failure of creation of Custom disk offering with disksize parameter -Modified list validation of volume list
This closes #590
2015-07-20 12:29:05 +05:30
Priti Sarap
837486a43c CLOUDSTACK-8632: Unable to revert snapshot on XenServer 2015-07-20 12:28:31 +05:30
Gaurav Aradhye
538d6630db CLOUDSTACK-8632: Unable to revert snapshot on XenServer 2015-07-20 12:28:29 +05:30
Daan Hoogland
4ef40e215a style: empty line removed
This closes #229
2015-07-17 14:57:51 +02:00
pritisarap12
c5d016c372 CLOUDSTACK-8556: Unable to delete attached volume in cleanup
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #481
2015-07-16 10:28:00 +05:30
Priti Sarap
373b107b96 CLOUDSTACK-8636: Verify failure of creation of Custom disk offering with disksize parameter
- Clear disk offering in tearDown() class if gets created

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #592
2015-07-15 18:03:28 +05:30
Priti Sarap
abf216aed6 CLOUDSTACK-8637: Verify that VM with same Display name creation fails if vm.instancename.flag=true
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #594
2015-07-15 18:02:24 +05:30
Sowmya Krishnan
a764d2c09d Move tests to maint/ folder and added few error checking 2015-06-19 15:51:39 +05:30
pritisarap12
a5a1818d2a CLOUDSTACK-8555: Skip resize volume operation for HyperV
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #465
2015-06-18 15:23:52 +05:30
Sanjeev Neelarapu
64361d2b71 In case of vm deployment failure vm cleanup was not handled properly Corrected few script issues
This closes #472
2015-06-17 17:38:35 +05:30
Sanjeev Neelarapu
17ddb4b100 Skip VPC tests on LXC
This closes #470
2015-06-17 15:51:44 +05:30
pritisarap12
fd1ef5220b CLOUDSTACK-8553: Unable to launch VM from template because of permission issue
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #387
2015-06-12 11:54:23 +05:30
pritisarap12
09abb193a1 CLOUDSTACK-8550: Fixed cleanup issue related to VM
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #385
2015-06-12 11:47:25 +05:30
Priti Sarap
f61723dcfb CLOUDSTACK-8547: Modify hypervisor check in testpath_snapshot_hardning.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #378
2015-06-12 11:25:03 +05:30
Sanjeev Neelarapu
de6538c9e7 SKIP vm migration tests on LXC since it is not a supported hypervisor
This closes #383
2015-06-10 17:29:18 +05:30
Gaurav Aradhye
54a664730d CLOUDSTACK-8515: Skipping snapshot test cases on HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #376
2015-06-10 16:11:34 +05:30