On Mon, Feb 22, 2016 at 9:06 PM, Yaniv Kaul <ykaul@redhat.com> wrote:
On Mon, Feb 22, 2016 at 5:25 PM, Yaniv Bronheim <ybronhei@redhat.com> wrote:
Hi,
I added recently to check-merged phase a job for automatic functional test run. see for example http://jenkins.ovirt.org/job/vdsm_master_check-merged-fc23-x86_64/52/

Excellent!
 

https://gerrit.ovirt.org/#/c/48268/58/automation/check-merged.sh - generally, it installs lago in the jenkins machine, set up f23 vm, ssh to it, run vdsm service (in deploy.sh), and the commands in check-merged.sh

I think it'd be cool if it could set up and additional EL 7.2 VM and run those same tests in parallel to the one on the F23 one.
Y.

yes, that's part of the plans and the reason we use lago. should be quick and easy to add additional envs - I'll check what stops us now, we wanted to stable it first with the libvirt bug we had last week in f23, and to avoid overload on the jenkins vms. but I think now we're ready
 
 

You can see the commands in check-merged.sh (I'll try to improve the readability there). 
you can add new tests there by adding them to FUNCTIONAL_TESTS_LIST or calling your own script inside the vm - I think maybe to change it to run all scripts under certain directory instead of the current ./run_test.sh call. I'll see how the usage involves and will improve it.

To check your changes before merging you can use - http://jenkins.ovirt.org/job/vdsm_master_check-merged-fc23-x86_64/build?delay=0sec which requires jenkins.com login

Currently many functional tests under tests/functional are broken - vmQoSTests.py virtTests.py momTests.py that import VdsProxy - please try to fix them or remove them if its not in use.
 
--
Yaniv Bronhaim.

_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel




--
Yaniv Bronhaim.