<div dir="ltr">Im attempting to run via the lago commands re Barak's suggestion, but I'm running into ssh timeouts (as it seems like maybe a failing deployment)<div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>myoung at dev-vm in ~/repos/github/ovirt-system-tests/vagrant on master*<br></div><div><div>$ lago deploy</div><div>@ Deploy environment:</div><div> # [Thread-2] Deploy VM lago-vagrant-host-0:</div><div> # [Thread-1] Deploy VM lago-vagrant-engine:</div><div> * [Thread-2] Wait for ssh connectivity:</div><div> * [Thread-1] Wait for ssh connectivity:</div><div> * [Thread-2] Wait for ssh connectivity: ERROR (in 0:28:21)</div><div> # [Thread-2] Deploy VM lago-vagrant-host-0: ERROR (in 0:28:21)</div></div><div><br></div></blockquote>With no changes, using `run_suite.sh`, however, it works fine:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div><div>...snip....</div><div>/home/myoung/repos/github/ovirt-system-tests</div><div>@ Deploy oVirt environment:</div><div> # Deploy environment:</div><div> * [Thread-2] Deploy VM lago-vagrant-engine:</div><div> * [Thread-3] Deploy VM lago-vagrant-host-0:</div><div> * [Thread-3] Deploy VM lago-vagrant-host-0: Success (in 0:00:44)</div><div> * [Thread-2] Deploy VM lago-vagrant-engine: Success (in 0:13:16)</div><div> # Deploy environment: Success (in 0:13:16)</div><div>@ Deploy oVirt environment: Success (in 0:13:16)</div><div>/home/myoung/repos/github/ovirt-system-tests</div><div>Running test scenario 000_check_repo_closure.py</div><div>@ Run test: 000_check_repo_closure.py:</div><div>....snip....</div></div></blockquote><br></div><div>and even continues to a full suite success:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>@ Collect artifacts: Success (in 0:00:04)</div><div>/home/myoung/repos/github/ovirt-system-tests</div><div>run_suite.sh::main::SUCCESS:: /home/myoung/repos/github/ovirt-system-tests/vagrant - All tests passed :)</div></div><div><br></div></blockquote>Is there a lago command I'm missing/some sort of configuration change needed that I'm missing to run the lago commands manually?</div><div>I've been trying to piece together the manual commands from run_suite.sh but I dont see it doing anything that I'm outright missing.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 16, 2017 at 2:27 PM, Nadav Goldin <span dir="ltr"><<a href="mailto:ngoldin@virtual-gate.net" target="_blank">ngoldin@virtual-gate.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
Rerunning a specific python test file is possible, though it takes few<br>
manual steps. Take a look at [1].<br>
<br>
With regard to the debugger, it is possible to run the tests without<br>
'lago ovirt runtest' commands at all, directly with Lago as a Python<br>
library, though it isn't fully used in OST. Basically you would have<br>
to export the same environment variables as described in [1], and then<br>
use the same imports and decorators as found in OST(mainly the<br>
testlib.with_ovirt_prefix decorator), with that in hand you can call<br>
the python file however you'd like.<br>
<br>
Of course this is all good for debugging, but less for OST(as you need<br>
the suite logic: log collections, order of tests, etc).<br>
<br>
<br>
<br>
[1] <a href="http://lists.ovirt.org/pipermail/lago-devel/20170402/000650.html" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>pipermail/lago-devel/20170402/<wbr>000650.html</a><br>
<span class="im HOEnZb"><br>
On Thu, Sep 14, 2017 at 8:59 PM, Marc Young <<a href="mailto:3vilpenguin@gmail.com">3vilpenguin@gmail.com</a>> wrote:<br>
</span><div class="HOEnZb"><div class="h5">> Is it possible to run a specific scenario without having to run back through<br>
> spin up/tear down?<br>
><br>
> I want to rapidly debug a `test-scenarios/00#_something.<wbr>py` and the<br>
> bootstrap scripts (001,002) take a really long time.<br>
><br>
> Also is it possible to attach to a debugger within the test-scenario with<br>
> pdb? I didnt have luck and it looks like its abstracted away and not<br>
> executed as a regular python file in a way that i can get to an interactive<br>
> debugger<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> Devel mailing list<br>
> <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div>