weizhouapache commented on PR #13114:
URL: https://github.com/apache/cloudstack/pull/13114#issuecomment-4915742422
changed the global setting and run some smoke tests, look good
```
[root@pr13114-t16500-xcpng82-marvin ~]# less
/marvin//MarvinLogs/test_volumes_J1MAC9/results.txt
Test Volume creation for all Disk Offerings (incl. custom) ... === TestName:
test_01_create_volume | Status : SUCCESS ===
ok
Test Root Volume Encryption ... SKIP: Skipping test as volume encryption is
not supported for hypervisor xenserver
Test Data Volume Encryption ... SKIP: Skipping test as volume encryption is
not supported for hypervisor xenserver
Test Root and Data Volumes Encryption ... SKIP: Skipping test as volume
encryption is not supported for hypervisor xenserver
Attach a created Volume to a Running VM ... === TestName:
test_02_attach_volume | Status : SUCCESS ===
ok
Download a Volume attached to a VM ... === TestName:
test_03_download_attached_volume | Status : SUCCESS ===
ok
Delete a Volume attached to a VM ... === TestName:
test_04_delete_attached_volume | Status : SUCCESS ===
ok
Detach a Volume attached to a VM ... === TestName: test_05_detach_volume |
Status : SUCCESS ===
ok
Download a Volume unattached to an VM ... === TestName:
test_06_download_detached_volume | Status : SUCCESS ===
ok
Test resize (negative) non-existent volume ... === TestName:
test_07_resize_fail | Status : SUCCESS ===
ok
Test resize a volume ... === TestName: test_08_resize_volume | Status :
SUCCESS ===
ok
Delete a Volume unattached to an VM ... === TestName:
test_09_delete_detached_volume | Status : SUCCESS ===
ok
# Validate the following ... === TestName: test_10_list_volumes | Status :
SUCCESS ===
ok
Attach a created Volume to a unstarted VM ... === TestName:
test_11_attach_volume_with_unstarted_vm | Status : SUCCESS ===
ok
Test resize a volume by providing only size parameter, disk offering id is
not mandatory ... === TestName: test_12_resize_volume_with_only_size_parameter
| Status : SUCCESS ===
ok
Validates the following ... === TestName:
test_13_migrate_volume_and_change_offering | Status : SUCCESS ===
ok
Delete a Volume with delete protection ... === TestName:
test_14_delete_volume_delete_protection | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 17 tests in 1647.859s
OK (SKIP=3)
```
and
```
[root@pr13114-t16500-xcpng82-marvin ~]# head -n100
/marvin//MarvinLogs/test_vm_life_cycle_1L4MH5/results.txt
Test advanced zone virtual router ... === TestName:
test_advZoneVirtualRouter | Status : SUCCESS ===
ok
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status :
SUCCESS ===
ok
Test Multiple Deploy Virtual Machine ... === TestName:
test_deploy_vm_multiple | Status : SUCCESS ===
ok
Test VM will be migrated with it's root volume ... SKIP: VM Live Migration
with Volumes is not supported on other than KVM
Test VM will be migrated with it's root volume ... SKIP: VM Live Migration
with Volumes is not supported on other than KVM
Test VM will be migrated with it's root volume ... SKIP: VM Migration with
Volumes is not supported on other than VMware
Test VM will be migrated with it's root volume ... SKIP: VM Migration with
Volumes is not supported on other than VMware
Test VM will be migrated with it's root volume ... SKIP: VM Migration with
Volumes is not supported on other than VMware
Test VM will be migrated with it's root volume ... SKIP: VM Migration with
Volumes is not supported on other than VMware
Test secure VM migration ... SKIP: Secured migration is not supported on
other than KVM
Test Non-secured VM Migration ... SKIP: Secured migration is not supported
on other than KVM
Test destroy Virtual Machine ... SKIP: Secured migration is not supported on
other than KVM
Test Non-secured VM Migration ... SKIP: Secured migration is not supported
on other than KVM
Test the following for all found ovf templates: ... SKIP: Skipping test:
Reason - hypervisorNotSupported
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status :
SUCCESS ===
ok
Test Force Stop Virtual Machine ... === TestName: test_01_stop_vm_forced |
Status : SUCCESS ===
ok
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status :
SUCCESS ===
ok
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status :
SUCCESS ===
ok
Test Force Reboot Virtual Machine ... === TestName: test_04_reboot_vm_forced
| Status : SUCCESS ===
ok
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status :
SUCCESS ===
ok
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status :
SUCCESS ===
ok
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
ok
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm |
Status : SUCCESS ===
ok
Test for attach and detach ISO to virtual machine ... === TestName:
test_10_attachAndDetach_iso | Status : SUCCESS ===
ok
Test destroy Virtual Machine and it's volumes ... === TestName:
test_11_destroy_vm_and_volumes | Status : EXCEPTION ===
ERROR
Test attaching multiple datadisks and start VM ... === TestName:
test_12_start_vm_multiple_volumes_allocated | Status : SUCCESS ===
ok
Test destroy virtual machine with expunge parameter depending on whether the
caller's role has expunge permission. ... === TestName:
test_13_destroy_and_expunge_vm | Status : SUCCESS ===
ok
Test destroy Virtual Machine with delete protection ... === TestName:
test_14_destroy_vm_delete_protection | Status : SUCCESS ===
ok
```
the only 1 issue is because
```
======================================================================
ERROR: Test destroy Virtual Machine and it's volumes
----------------------------------------------------------------------
Traceback (most recent call last):
File "/marvin/tests/smoke/test_vm_life_cycle.py", line 861, in
test_11_destroy_vm_and_volumes
small_virtual_machine.attach_volume(self.apiclient, vol1)
File "/usr/local/lib/python3.9/site-packages/marvin/lib/base.py", line
959, in attach_volume
return apiclient.attachVolume(cmd)
File
"/usr/local/lib/python3.9/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2436, in attachVolume
response = self.connection.marvinRequest(command,
response_type=response, method=method)
File
"/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line
382, in marvinRequest
raise e
File
"/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line
377, in marvinRequest
raise self.__lastError
File
"/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line
104, in __poll
raise Exception("Job failed: %s"\
Exception: Job failed: {accountid : '7344be78-7a06-11f1-abc5-1e00b700020c',
account : 'admin', domainid : '189e1a18-7a06-11f1-abc5-1e00b700020c',
domainpath : 'ROOT', userid : '73452f2c-7a06-11f1-abc5-1e00b700020c', cmd :
'org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin',
jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult :
{errorcode : 530, errortext : 'Failed to attach volume Test Volume-W4DVB5 to VM
VM-d5eec417-f0ec-4f30-bc34-c8f17b1cf468; Failed to attach volume for uuid:
4a51ce0b-6d53-4167-bd95-52e9242a704e due to You attempted an operation on a VM
which requires PV drivers to be installed but the drivers were not detected.'},
jobinstancetype : 'Volume', jobinstanceid :
'224a3ff0-d049-476a-94c7-8a570e649b47', created : '2026-07-08T12:53:08+0000',
completed : '2026-07-08T12:53:11+0000', jobid :
'6351a9b4-6a06-48c6-ab67-0611d090ffc6', jobstatus : 2}
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_11_destroy_vm_and_volumes | Status : EXCEPTION ===
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]