Hi everyone, Recently I submit some vdsm functional tests for localfs storage and VM creation. If you have time, may I get some code review attention for these tests? They are under topic branch VMTests. You can find them on gerrit from the following URL.
http://gerrit.ovirt.org/#/q/status:open+project:vdsm+branch:master+topic:VMTests,n,z The main idea of these patches is, firstly create a local storage backend, then create storage domains and pools, then become spm and create volumes, at last destroy them. The code can be extend to test NFS and iscsi storage backend. The VM creation test reuses the code from storage tests to create a storage layout, then boots the VM using host kernel and initramfs with the storage layout. How to verify 1 Build and install vdsm rpms 2 su 3 cd /usr/share/vdsm/tests 4 ./run_tests.sh functional/xmlrpcTests.py Note: Because of a bug https://bugzilla.redhat.com/show_bug.cgi?id=806774 storage domain UUID can not be reused even though the domain is destroyed. So if you run the tests twice, it will fail. VM creation test over localfs, and storage creation test over localfs use the same storage layout, same domain UUID, so we have to restart vdsmd manually between these two tests. I submit a patch to fix this bug at http://gerrit.ovirt.org/#/c/8144/ Thanks a lot! -- Best regards! Zhou Zheng Sheng / 周征晟 E-mail: zhshz...@linux.vnet.ibm.com Telephone: 86-10-82454397 _______________________________________________ vdsm-devel mailing list email@example.com https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel