[ovirt] #51: jenkins job for running vdsm functional tests

#51: jenkins job for running vdsm functional tests --------------------------+------------------------------------------- Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Keywords: functional tests jenkins jobs Blocked By: | Blocking: --------------------------+------------------------------------------- Vdsm currently has a growing set of functional tests that could use more usage by the developer base. To increase the ease and frequency with which the functional tests are run, I would like to request the addition of jenkins jobs that run the separate functional tests modules. Having them as separate jobs would empower developers to trigger tests that are relevant to their patch sets so that on successful results, the confidence level of the maintainers would significantly increase, improving upon the meaning of the verified flag. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#51: jenkins job for running vdsm functional tests -------------------------------------------+------------------------ Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Resolution: Keywords: functional tests jenkins jobs | Blocked By: Blocking: | -------------------------------------------+------------------------ Comment (by eedri): which jenkins jobs are we talking about? there are some power users in vdsm that has permissions to add jobs already. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51#comment:1> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#51: jenkins job for running vdsm functional tests -------------------------------------------+------------------------ Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Resolution: Keywords: functional tests jenkins jobs | Blocked By: Blocking: | -------------------------------------------+------------------------ Comment (by zhshzhou): I sent mail to infra list to get an power user account to configure a job for functional tests. I got the account. Functional tests requires installing vdsm packages, starting/stopping vdsm service, and the code in the functional tests will add new NFS exports and iSCSI target to the system. All these need the root privilege for process running the functional tests, and the tests may mess up with the Jenkins slave (we are adding networking tests), so a conclusion is that we need a VM to run those tests. I just get a Jenkins account and need help on allocating a new VM. Some suggestions are discussed in the mailing list on how to use VM to run the tests. The current solution in my lab is that boot a VM in snapshot mode when there is tests to run, if it's idle, shutdown it automatically. There is a Jenkins plugin (libvirt-slave) which can start/stop VM on demand. Another suggestion is that in the job specification, start a VM and ssh to it, execute scripts to run functional tests then scp the results, at last shutdown the VM. I think this is a bit complicated, not as easy as using libvirt-slave plugin, because that plugin does exactly what we do in this solution to help managing VM and tests. All the suggestions need ability to generate VM, now the infrastructure is on EC2 and linode (I guess), and we do not have this ability. I'd wait till we can generate VM and re-raise the discussion. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51#comment:2> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#51: jenkins job for running vdsm functional tests -------------------------------------------+------------------------ Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Resolution: Keywords: functional tests jenkins jobs | Blocked By: Blocking: | -------------------------------------------+------------------------ Comment (by eedri): we're nearing the point where we'll have more slaves to use for jenkins slaves. so hopefully we'll be able to support it soon. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51#comment:3> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#51: jenkins job for running vdsm functional tests -------------------------------------------+------------------------ Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Resolution: Keywords: functional tests jenkins jobs | Blocked By: Blocking: | -------------------------------------------+------------------------ Comment (by zhshzhou): Looks like http://fedoraproject.org/wiki/Features/SystemdLightweightContainers can be used to test VDSM. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51#comment:4> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.

#51: jenkins job for running vdsm functional tests -------------------------------------------+------------------------ Reporter: apuimedo | Owner: infra@… Type: enhancement | Status: new Priority: major | Milestone: oVirt 3.3 Component: Jenkins | Version: Test Severity: Normal | Resolution: Keywords: functional tests jenkins jobs | Blocked By: Blocking: | -------------------------------------------+------------------------ Comment (by eedri): OK. we're planning to upgrade our fedora 17 slave to f19, we can check it then. -- Ticket URL: <https://fedorahosted.org/ovirt/ticket/51#comment:5> ovirt <http://www.ovirt.org/> oVirt - virtualization made easy.
participants (1)
-
ovirt