[ost][rfe] ability to use custom repos

Description

I started to test using lago with master repos and my custom engine built.
It was built on 7.10 one test failed and I noticed that newer engine was
installed instead of my specific version. It seems that we need an ability
to define which version of the rpms should be used during the tests.

Thanks,
Piotr

Activity

Show:

Eyal Edri November 6, 2016 at 10:00 AM

Getting into specific digits of versions sounds like very complicated solution which might break often.
We will add a job for it as mentioned before, and it will allow giving any 'custom refspec' as all CI jobs are allowing today. (e.g refs/heads/master for merged refs/changes/12/65912/4 for an open patch)

Piotr Kliczewski November 6, 2016 at 9:09 AM

I think that 3.6, 4.0 and master is not enough. I was thinking about four
digit versions but i like Dan's idea of using hashes. This would be perfect
for devs.

6 lis 2016 10:05 "eyal edri [Administrator] (oVirt JIRA)" <
jira@ovirt-jira.atlassian.net> napisał(a):

eyal edri [Administrator]
<https://ovirt-jira.atlassian.net/secure/ViewProfile.jspa?name=eedri>
commented on [image: By-EMAIL]
<https://ovirt-jira.atlassian.net/browse/OVIRT-763>

Re: [ost][rfe] ability to use custom repos
<https://ovirt-jira.atlassian.net/browse/OVIRT-763>

I renamed the task, since you can choose version today by choosing to run
the relevant suite (3.6,4.0,master), the requirement should be to allow
running with custom repos.
So one option will be to use the '-s' param and another one will be add a
jenkins job to support it as mentioned in this ticket.
[image: Add Comment]
<https://ovirt-jira.atlassian.net/browse/OVIRT-763#add-comment> Add Comment
<https://ovirt-jira.atlassian.net/browse/OVIRT-763#add-comment>

This message was sent by Atlassian JIRA (v1000.499.4#100018-sha1:b6a952e)
[image: Atlassian logo]

Eyal Edri November 6, 2016 at 9:04 AM

I renamed the task, since you can choose version today by choosing to run the relevant suite (3.6,4.0,master), the requirement should be to allow running with custom repos.
So one option will be to use the '-s' param and another one will be add a jenkins job to support it as mentioned in this ticket.

Eyal Edri November 3, 2016 at 2:41 PM

can you show or what is not working for you? maybe we can help

Piotr Kliczewski November 3, 2016 at 2:35 PM

I will check this approach on my machine but it would not solve the issue with system tests described earlier. If it works it partially solves the issue.

Nadav Goldin November 3, 2016 at 2:26 PM

In order to run it directly with

use:

This will prefer the RPMs found in the ovirt-engine_master_build, also, if you would like to use different resources(i.e. vdsm and engine), create a configuration file, assuming it is 'extra-sources':

and run:

the "-s" parameter can accept any parameter that repoman accepts, it is quite flexible, have a look at: http://repoman.readthedocs.io, - tell me how it works for you.

- we have an open ticket for that https://ovirt-jira.atlassian.net/browse/OST-9 , though until it is completed - it should be fairly easy to run it locally by triggering the build_artifacts from the Jenkins job and passing the URL/or locally built RPMs to ./run_suite.sh.

Eyal Edri November 3, 2016 at 1:57 PM

we would value it also, but currently we don't have available resources to do it, its in the queue.
Until then, anyone should be able to run Lago + OST if needed on his machine without too much effort, and if documentation is missing or something isn't working please report it and we'll do our best to help.

danken November 3, 2016 at 1:53 PM

I would value a jenkins job running ovirt-system-test with specific engine and vdsm hashes. Applications whose hashes are not specified should be taken from the default repository.

Nadav Goldin November 3, 2016 at 1:43 PM

Hi , sorry for missing them, I'm closing the GitHub issue as this is the right place for it(OST).

You can run it with a custom repo in the following manner, in Lago directly:

the custom-source will be used first.
About passing it from run_suite.sh, I'll test and update.

Piotr Kliczewski November 3, 2016 at 1:41 PM

I saw when running system testes that somehow it is not using the latest merged version.

On my machine I created custom repo with my changes and I pulled dependencies from ovirt repo for this specific version. I run the tests several times to make sure that my changes are not breaking anything. In between ovirt repo was updated with newest build which caused lago to pull it instead of my changes.

Both scenarios make lago/system tests unpredictable. I am do not know what I am testing and this leads to wrong assumptions.

Won't Fix

Details

Assignee

Reporter

Priority

Created October 10, 2016 at 11:42 AM
Updated November 29, 2016 at 12:18 PM
Resolved November 3, 2016 at 12:59 PM