<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 10:59 AM, David Caro <span dir="ltr"><<a href="mailto:dcaro@redhat.com" target="_blank">dcaro@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/14 10:54, Yaniv Bronheim wrote:<br>
> to get the files from there to where? to be accessable from the jenkins<br>
> page after the build is done?<br>
<br>
</span>I think I misunderstood something.<br>
So the files you are storing under /tmp/vdsm-results, are the already<br>
collected artifacts? If so, to get them pulled by jenkins then yes, you have<br>
to move them to exported-artifacts. This is like that because we are using the<br>
same standard for all the projects, so the jenkins code that we use for all of<br>
them is the same.<br>
<br>
If the /tmp/vdsm-results directiory is inside one of the vms created by lago<br>
and used for the vdsm functional tests, then to get it out when you do the<br>
'lago collect' you should add it to the artifacts entry in the init.json/yaml<br></blockquote><div><br></div><div>Yep, that's what I *think* I need to do. I'll test that. </div><div>But I suspect, since I've marked my hosts as 'hosts' for oVirt sake (since otherwise no repository will be created!), that it tries to collect vdsm logs - which may not exist if we fail before we even created the VDSM RPMs - this is exactly where the scp from the VMs should not abort.</div><div>Y.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5"><br>
> if so, I do it by copying the files I need to "exported-artifacts" folders,<br>
> then I also added the simple index.html with links to the files and folders<br>
> that I consider relevant for the results . this I do in the<br>
> build-artifacts.sh<br>
><br>
><br>
> On Wed, Apr 13, 2016 at 9:16 PM, David Caro <<a href="mailto:dcaro@redhat.com">dcaro@redhat.com</a>> wrote:<br>
><br>
> > On 04/13 21:08, Yaniv Kaul wrote:<br>
> > > I'm extending the VDSM functional tests, and saving files under<br>
> > > /tmp/vdsm-results/ - can I simply ask somehow to get all files from<br>
> > there,<br>
> > > perhaps via the init.json.ini file would be the right place to add this?<br>
> ><br>
> > You can use the artifacts entry in the vm definition of the init config<br>
> > file,<br>
> > you can see an example here:<br>
> ><br>
> ><br>
> > <a href="https://github.com/lago-project/lago/blob/master/tests/functional/fixtures/collect/suite.yaml" rel="noreferrer" target="_blank">https://github.com/lago-project/lago/blob/master/tests/functional/fixtures/collect/suite.yaml</a><br>
> ><br>
> > just specify the path to the directory instead of a file and it should<br>
> > recursively pull it<br>
> ><br>
> > ><br>
> > > TIA,<br>
> > > Y.<br>
> ><br>
> > > _______________________________________________<br>
> > > lago-devel mailing list<br>
> > > <a href="mailto:lago-devel@ovirt.org">lago-devel@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/lago-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/lago-devel</a><br>
> ><br>
> ><br>
> > --<br>
> > David Caro<br>
> ><br>
> > Red Hat S.L.<br>
> > Continuous Integration Engineer - EMEA ENG Virtualization R&D<br>
> ><br>
> > Tel.: <a href="tel:%2B420%20532%20294%20605" value="+420532294605">+420 532 294 605</a><br>
> > Email: <a href="mailto:dcaro@redhat.com">dcaro@redhat.com</a><br>
> > IRC: dcaro|dcaroest@{freenode|oftc|redhat}<br>
> > Web: <a href="http://www.redhat.com" rel="noreferrer" target="_blank">www.redhat.com</a><br>
> > RHT Global #: 82-62605<br>
> ><br>
> > _______________________________________________<br>
> > lago-devel mailing list<br>
> > <a href="mailto:lago-devel@ovirt.org">lago-devel@ovirt.org</a><br>
> > <a href="http://lists.ovirt.org/mailman/listinfo/lago-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/lago-devel</a><br>
> ><br>
> ><br>
><br>
><br>
> --<br>
</div></div>> *Yaniv Bronhaim.*<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
David Caro<br>
<br>
Red Hat S.L.<br>
Continuous Integration Engineer - EMEA ENG Virtualization R&D<br>
<br>
Tel.: <a href="tel:%2B420%20532%20294%20605" value="+420532294605">+420 532 294 605</a><br>
Email: <a href="mailto:dcaro@redhat.com">dcaro@redhat.com</a><br>
IRC: dcaro|dcaroest@{freenode|oftc|redhat}<br>
Web: <a href="http://www.redhat.com" rel="noreferrer" target="_blank">www.redhat.com</a><br>
RHT Global #: 82-62605<br>
</div></div></blockquote></div><br></div></div>