Re: [lago-devel] [ovirt-devel] ovirt-system-tests run specific scenario/debugging
by Eyal Edri
AFAIK It is not possible ATM, but we were considering adding that feature
when we move from python-nose to PyTest [1].
Hmm, maybe it will be possible using the export / import feature, but will
probably need some custom code for it.
So you'll run basic suite, get your env up and running and then export it
to a tar.gz file. next time you want to test something, you import it back
and run only the test you want.
We've been working on a project called 'ovirt demo tool' [2] which will
officially replace ovirt-live using Lago images, it is still under
development, but should work for basic suite if you want to try it.
The manual job [3] should also allow saving the run as an image as an
option [3], by setting the 'create images' option to 'yes'.
[1] https://ovirt-jira.atlassian.net/browse/OST-8
[2]
https://docs.google.com/document/d/1MZdpHAjNWlpPFhOXFfMavZbg6Kh386PRBg6jG...
[3]
http://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-tes...
On Thu, Sep 14, 2017 at 8:59 PM, Marc Young <3vilpenguin(a)gmail.com> wrote:
> Is it possible to run a specific scenario without having to run back
> through spin up/tear down?
>
> I want to rapidly debug a `test-scenarios/00#_something.py` and the
> bootstrap scripts (001,002) take a really long time.
>
> Also is it possible to attach to a debugger within the test-scenario with
> pdb? I didnt have luck and it looks like its abstracted away and not
> executed as a regular python file in a way that i can get to an interactive
> debugger
>
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
--
Eyal edri
ASSOCIATE MANAGER
RHV DevOps
EMEA VIRTUALIZATION R&D
Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
phone: +972-9-7692018
irc: eedri (on #tlv #rhev-dev #rhev-integ)
7 years, 2 months
How do I disable reposync?
by Yaniv Kaul
I remember there used to be a way (and env. variable?)
It is very useful when the EPEL mirror is down...
Y.
7 years, 2 months
Re: [lago-devel] [ovirt-devel] Lago and vm templates
by Yaniv Kaul
On Thu, Aug 24, 2017 at 4:56 AM, Marc Young <3vilpenguin(a)gmail.com> wrote:
> Im currently neck deep in ovirt-system-tests and lago
> I see alot of usages about importing VMs from templates, but are there any
> examples of exporting a VM to template?
>
I assume you are looking into Lago templates, not oVirt templates?
Currently, I'm not aware of a way. What template do you need?
>
> Side note I cant find a good source of methods available for use in
> python-lago-ovirt (or even python-lago). The docs[1] are pretty lacking
>
Can you open an issue about it? What do you wish to perform?
TIA,
Y.
>
> [1] http://lago.readthedocs.io/en/latest/lago.html
>
> _______________________________________________
> Devel mailing list
> Devel(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
7 years, 2 months