<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Oct 30, 2016 at 12:26 PM, Nadav Goldin <span dir="ltr"><<a href="mailto:ngoldin@redhat.com" target="_blank">ngoldin@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, bumping this thread due to an almost identical failure[1]:<br>
<br>
ovirt-log-collector/ovirt-log-<wbr>collector-20161030053238.log:<wbr>2016-10-30<br>
05:33:09::ERROR::__main__::<wbr>791::root:: Failed to collect logs from:<br>
192.168.200.4; /bin/ls:<br>
/rhev/data-center/mnt/blockSD/<wbr>63c4fdd3-5d0f-4d16-b1e5-<wbr>5f43caa4cf82/master/tasks/<wbr>6b3b6aa1-808c-42df-9db7-<wbr>52349f8533f2/6b3b6aa1-808c-<wbr>42df-9db7-52349f8533f2.job.0:<br>
<span class="">No such file or directory<br>
</span>ovirt-log-collector/ovirt-log-<wbr>collector-20161030053238.log-/<wbr>bin/ls:<br>
cannot access /rhev/data-center/mnt/blockSD/<wbr>63c4fdd3-5d0f-4d16-b1e5-<wbr>5f43caa4cf82/master/tasks/<wbr>6b3b6aa1-808c-42df-9db7-<wbr>52349f8533f2/6b3b6aa1-808c-<wbr>42df-9db7-52349f8533f2.<wbr>recover.1:<br>
<span class="">No such file or directory<br>
</span>ovirt-log-collector/ovirt-log-<wbr>collector-20161030053238.log-/<wbr>bin/ls:<br>
cannot access /rhev/data-center/mnt/blockSD/<wbr>63c4fdd3-5d0f-4d16-b1e5-<wbr>5f43caa4cf82/master/tasks/<wbr>6b3b6aa1-808c-42df-9db7-<wbr>52349f8533f2/6b3b6aa1-808c-<wbr>42df-9db7-52349f8533f2.task:<br>
<span class="">No such file or directory<br>
</span>ovirt-log-collector/ovirt-log-<wbr>collector-20161030053238.log-/<wbr>bin/ls:<br>
cannot access /rhev/data-center/mnt/blockSD/<wbr>63c4fdd3-5d0f-4d16-b1e5-<wbr>5f43caa4cf82/master/tasks/<wbr>6b3b6aa1-808c-42df-9db7-<wbr>52349f8533f2/6b3b6aa1-808c-<wbr>42df-9db7-52349f8533f2.<wbr>recover.0:<br>
<span class="">No such file or directory<br>
<br>
</span>To ensure I've checked lago/OST, and couldn't find any stage where<br>
there is a reference to '/rhv' nor any manipulation to<br>
ovirt-log-collector, only customizations made is a<br>
'ovirt-log-collector.conf' with user/password. The code that pulls the<br>
logs in OST[2] runs the following command on the engine VM(and there<br>
it fails):<br>
<br>
ovirt-log-collector --conf /rot/ovirt-log-collector.conf<br>
<br>
The failure comes right after 'add_secondary_storage_<wbr>domains'[3] test,<br>
which all of its steps ran successfully.<br></blockquote><div><br></div><div>Not exactly.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can anyone look into this?<br></blockquote><div><br></div><div>It may be my fault, in a way. I've added the log collector test to run in parallel to the tests that add the secondary storage domains. The directories it tries to access may or may not be available - this is probably racy. I don't think it should fail, but I can certainly see why it can. </div><div>The easiest 'fix' would be to split it to its own test (I wanted to save execution time, as most of the time spent on secondary storage domains test is not really useful).</div><div>Y.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Nadav.<br>
<br>
[1] <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-fc24-x86_64/141/console" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-system-tests_master_<wbr>check-patch-fc24-x86_64/141/<wbr>console</a><br>
[2] <a href="https://github.com/oVirt/ovirt-system-tests/blob/master/basic_suite_master/test-scenarios/002_bootstrap.py#L490" rel="noreferrer" target="_blank">https://github.com/oVirt/<wbr>ovirt-system-tests/blob/<wbr>master/basic_suite_master/<wbr>test-scenarios/002_bootstrap.<wbr>py#L490</a><br>
[3] <a href="https://github.com/oVirt/ovirt-system-tests/blob/master/basic_suite_master/test-scenarios/002_bootstrap.py#L243" rel="noreferrer" target="_blank">https://github.com/oVirt/<wbr>ovirt-system-tests/blob/<wbr>master/basic_suite_master/<wbr>test-scenarios/002_bootstrap.<wbr>py#L243</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Sep 20, 2016 at 9:45 AM, Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com">sbonazzo@redhat.com</a>> wrote:<br>
><br>
><br>
><br>
> On Fri, Sep 9, 2016 at 1:19 PM, Yaniv Kaul <<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>> wrote:<br>
>><br>
>> Indeed, this is the log collector. I wonder if we collect its logs...<br>
>> Y.<br>
><br>
><br>
> This can't be log-collector, it can be sos vdsm plugin.<br>
> That said, if we run log-collector within lago we should collect the results as job artifacts.<br>
><br>
><br>
>><br>
>><br>
>><br>
>> On Thu, Sep 8, 2016 at 6:54 PM, Eyal Edri <<a href="mailto:eedri@redhat.com">eedri@redhat.com</a>> wrote:<br>
>>><br>
>>> I'm pretty sure lago or ovirt system tests aren't doing it but its the log collector which is running during that test, I'm not near a computer so can't verify it yet.<br>
>>><br>
>>><br>
>>> On Sep 8, 2016 6:05 PM, "Nir Soffer" <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br>
>>>><br>
>>>> On Thu, Sep 8, 2016 at 5:45 PM, Eyal Edri <<a href="mailto:eedri@redhat.com">eedri@redhat.com</a>> wrote:<br>
>>>> > Adding devel.<br>
>>>> ><br>
>>>> > On Thu, Sep 8, 2016 at 5:43 PM, Shlomo Ben David <<a href="mailto:sbendavi@redhat.com">sbendavi@redhat.com</a>><br>
>>>> > wrote:<br>
>>>> >><br>
>>>> >> Hi,<br>
>>>> >><br>
>>>> >> Job [1] is failing with the following error:<br>
>>>> >><br>
>>>> >> lago.ssh: DEBUG: Command 8de75538 on lago_basic_suite_master_engine<br>
>>>> >> errors:<br>
>>>> >> ERROR: Failed to collect logs from: 192.168.200.2; /bin/ls:<br>
>>>> >> /rhev/data-center/mnt/blockSD/<wbr>eb8c9f48-5f23-48dc-ab7d-<wbr>9451890fd422/master/tasks/<wbr>1350bed7-443e-4ae6-ae1f-<wbr>9b24d18c70a8.temp:<br>
>>>> >> No such file or directory<br>
>>>> >> /bin/ls: cannot open directory<br>
>>>> >> /rhev/data-center/mnt/blockSD/<wbr>eb8c9f48-5f23-48dc-ab7d-<wbr>9451890fd422/master/tasks/<wbr>1350bed7-443e-4ae6-ae1f-<wbr>9b24d18c70a8.temp:<br>
>>>> >> No such file or directory<br>
>>>><br>
>>>> This looks like a lago issue - it should never read anything inside /rhev<br>
>>>><br>
>>>> This is a private directory for vdsm, no other process should ever depend<br>
>>>> on the content inside this directory, or even on the fact that it exists.<br>
>>>><br>
>>>> In particular, /rhev/data-center/mnt/blockSD/<wbr>*/master/tasks/*.temp<br>
>>>> Is not a log file, and lago should not collect it.<br>
>>>><br>
>>>> Nir<br>
>>>><br>
>>>> >> lago.utils: ERROR: Error while running thread<br>
>>>> >> Traceback (most recent call last):<br>
>>>> >> File "/usr/lib/python2.7/site-<wbr>packages/lago/utils.py", line 53, in<br>
>>>> >> _ret_via_queue<br>
>>>> >> queue.put({'return': func()})<br>
>>>> >> File<br>
>>>> >> "/home/jenkins/workspace/test-<wbr>repo_ovirt_experimental_<wbr>master/ovirt-system-tests/<wbr>basic_suite_master/test-<wbr>scenarios/002_bootstrap.py",<br>
>>>> >> line 493, in log_collector<br>
>>>> >> result.code, 0, 'log collector failed. Exit code is %s' % result.code<br>
>>>> >> File "/usr/lib/python2.7/site-<wbr>packages/nose/tools/trivial.<wbr>py", line 29,<br>
>>>> >> in eq_<br>
>>>> >> raise AssertionError(msg or "%r != %r" % (a, b))<br>
>>>> >> AssertionError: log collector failed. Exit code is 2<br>
>>>> >><br>
>>>> >><br>
>>>> >> * The previous issue already fixed (SDK) and now we have a new issue on<br>
>>>> >> the same area.<br>
>>>> >><br>
>>>> >><br>
>>>> >> [1] -<br>
>>>> >> <a href="http://jenkins.ovirt.org/view/experimental%20jobs/job/test-repo_ovirt_experimental_master/1462/testReport/(root)/002_bootstrap/add_secondary_storage_domains/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/view/<wbr>experimental%20jobs/job/test-<wbr>repo_ovirt_experimental_<wbr>master/1462/testReport/(root)/<wbr>002_bootstrap/add_secondary_<wbr>storage_domains/</a><br>
>>>> >><br>
>>>> >><br>
>>>> >> Best Regards,<br>
>>>> >><br>
>>>> >> Shlomi Ben-David | DevOps Engineer | Red Hat ISRAEL<br>
>>>> >> RHCSA | RHCE<br>
>>>> >> IRC: shlomibendavid (on #rhev-integ, #rhev-dev, #rhev-ci)<br>
>>>> >><br>
>>>> >> OPEN SOURCE - 1 4 011 && 011 4 1<br>
>>>> ><br>
>>>> ><br>
>>>> ><br>
>>>> ><br>
>>>> > --<br>
>>>> > Eyal Edri<br>
>>>> > Associate Manager<br>
>>>> > RHV DevOps<br>
>>>> > EMEA ENG Virtualization R&D<br>
>>>> > Red Hat Israel<br>
>>>> ><br>
>>>> > phone: <a href="tel:%2B972-9-7692018" value="+97297692018">+972-9-7692018</a><br>
>>>> > irc: eedri (on #tlv #rhev-dev #rhev-integ)<br>
>>>> ><br>
>>>> > ______________________________<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>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Sandro Bonazzola<br>
> Better technology. Faster innovation. Powered by community collaboration.<br>
> See how it works at <a href="http://redhat.com" rel="noreferrer" target="_blank">redhat.com</a><br>
><br>
><br>
> ______________________________<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></div>