<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 19, 2017 at 9:22 AM, Michal Skrivanek <span dir="ltr">&lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><blockquote type="cite"><div>On 19 Dec 2017, at 07:53, Eyal Edri &lt;<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>&gt; wrote:</div><br class="m_-3080504837579530323Apple-interchange-newline"><div><div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 19, 2017 00:20, &quot;Michal Skrivanek&quot; &lt;<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="m_-3080504837579530323quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-3080504837579530323elided-text"><br>
&gt; On 18 Dec 2017, at 13:21, Milan Zamazal &lt;<a href="mailto:mzamazal@redhat.com" target="_blank">mzamazal@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt; writes:<br>
&gt;<br>
&gt;&gt; On Mon, Dec 18, 2017 at 10:17 AM, Code Review &lt;<a href="mailto:gerrit@ovirt.org" target="_blank">gerrit@ovirt.org</a>&gt; wrote:<br>
&gt;&gt;&gt; Jenkins CI posted comments on this change.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; View Change<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Patch set 3:Continuous-Integration -1<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Build Failed<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/2882/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/o<wbr>virt-system-tests_master_check<wbr>-patch-el7-x86_64/2882/</a><br>
&gt;&gt;&gt; : FAILURE<br>
&gt;&gt;<br>
&gt;&gt; Console output of above job says:<br>
&gt;&gt;<br>
&gt;&gt; 08:13:34   # migrate_vm:<br>
&gt;&gt; 08:16:37     * Collect artifacts:<br>
&gt;&gt; 08:16:40     * Collect artifacts: Success (in 0:00:03)<br>
&gt;&gt; 08:16:40   # migrate_vm: Success (in 0:03:06)<br>
&gt;&gt; 08:16:40   # Results located at<br>
&gt;&gt; /dev/shm/ost/deployment-basic-<wbr>suite-master/default/006_migra<wbr>tions.py.junit.xml<br>
&gt;&gt; 08:16:40 @ Run test: 006_migrations.py: Success (in 0:03:50)<br>
&gt;&gt; 08:16:40 Error occured, aborting<br>
&gt;&gt;<br>
&gt;&gt; The file 006_migrations.py.junit.xml [1] says:<br>
&gt;&gt;<br>
&gt;&gt; &lt;failure type=&quot;exceptions.AssertionErro<wbr>r&quot; message=&quot;False != True after<br>
&gt;&gt; 180 seconds&quot;&gt;<br>
&gt;<br>
&gt; Reading the logs, I can see the VM migrates normally and seems to be<br>
&gt; reported to Engine correctly.  When Engine receives end-of-migration<br>
&gt; event, it sends Destroy to the source (which is correct), calls dumpxmls<br>
&gt; on the destination in the meantime (looks fine to me) and then calls<br>
<br>
</div>looks like a race between getallvmstats reporting VM as Down (statusTime: 4296271980) being processed, while there is a Down/MigrationSucceeded event arriving (with notify_time 4296273170) at about the same time<br>
Unfortunately the vdsm.log is not in DEBUG level so there’s very little information as to why and what exactly did it send out.<br>
@infra - can you enable debug log level for vdsm by default?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">How do you enable debug mode for vdsm ?</div></div></div></blockquote><div><br></div></div></div>Can be permanently set in /etc/vdsm/logger.conf</div><div>I suppose enabling for all loggers would be useful</div><div><br></div><div>see <a href="https://access.redhat.com/articles/2919931" target="_blank">https://access.redhat.com/<wbr>articles/2919931</a></div></div></blockquote><div><br></div><div><br></div><div>Since this file probably is created only after host is added, I assume it can be set only after add host test, and not in deployment scripts.</div><div>So might be needed to added as a test or step after the &#39;verify add host&#39; step.</div><div><br></div><div>I&#39;ll open a ticket on it and we&#39;ll see who can assist with it.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Thanks,</div><div>michal</div><div><div class="h5"><div><br><blockquote type="cite"><div><div dir="auto"><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_-3080504837579530323quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
It does look like a race to me - does it reproduce?<br>
<div class="m_-3080504837579530323elided-text"><br>
&gt; Destroy on the destination, which is weird and I don&#39;t understand why<br>
&gt; the Destroy is invoked.<br>
&gt;<br>
&gt; Arik, would you like to take a look?  Maybe I overlooked something or<br>
&gt; maybe there&#39;s a bug.  The logs are at<br>
&gt; <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/2882/artifact/exported-artifacts/basic-suite-master__logs/test_logs/basic-suite-master/post-006_migrations.py/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/o<wbr>virt-system-tests_master_check<wbr>-patch-el7-x86_64/2882/artifac<wbr>t/exported-artifacts/basic-<wbr>suite-master__logs/test_logs/<wbr>basic-suite-master/post-006_<wbr>migrations.py/</a><br>
&gt; and the interesting things happen around 2017-12-18 03:13:43,758-05.<br>
&gt;<br>
&gt;&gt; Can someone please have a look? Thanks.<br>
&gt;&gt;<br>
&gt;&gt; As a side note, if indeed this is the cause for the failure for the<br>
&gt;&gt; job, it&#39;s misleading to say &quot;migrate_vm: Success&quot;.<br>
&gt;&gt;<br>
&gt;&gt; [1]<br>
&gt;&gt; <a href="http://jenkins.ovirt.org/job/ovirt-system-tests_master_check-patch-el7-x86_64/2882/artifact/exported-artifacts/basic-suite-master__logs/006_migrations.py.junit.xml" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/o<wbr>virt-system-tests_master_check<wbr>-patch-el7-x86_64/2882/artifac<wbr>t/exported-artifacts/basic-<wbr>suite-master__logs/006_migrati<wbr>ons.py.junit.xml</a><br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; To view, visit change 85177. To unsubscribe, visit settings.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Gerrit-Project: ovirt-system-tests<br>
&gt;&gt;&gt; Gerrit-Branch: master<br>
&gt;&gt;&gt; Gerrit-MessageType: comment<br>
&gt;&gt;&gt; Gerrit-Change-Id: I7eb386744a2a2faf0acd734e0ba44<wbr>be22dd590b5<br>
&gt;&gt;&gt; Gerrit-Change-Number: 85177<br>
&gt;&gt;&gt; Gerrit-PatchSet: 3<br>
&gt;&gt;&gt; Gerrit-Owner: Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Gerrit-Reviewer: Dafna Ron &lt;<a href="mailto:dron@redhat.com" target="_blank">dron@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Gerrit-Reviewer: Eyal Edri &lt;<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Gerrit-Reviewer: Jenkins CI<br>
&gt;&gt;&gt; Gerrit-Reviewer: Sandro Bonazzola &lt;<a href="mailto:sbonazzo@redhat.com" target="_blank">sbonazzo@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Gerrit-Reviewer: Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;<br>
&gt;&gt;&gt; Gerrit-Comment-Date: Mon, 18 Dec 2017 08:17:11 +0000<br>
&gt;&gt;&gt; Gerrit-HasComments: No<br>
&gt; ______________________________<wbr>_________________<br>
</div>&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/devel</a><br>
<div class="m_-3080504837579530323elided-text">&gt;<br>
&gt;<br>
<br>
______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/infra</a><br>
</div></blockquote></div><br></div></div></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p style="font-family:overpass,sans-serif;margin:0px;padding:0px;font-size:14px;text-transform:uppercase;font-weight:bold"><font color="#cc0000">Eyal edri</font></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><br></p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">MANAGER</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">RHV DevOps</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase">EMEA VIRTUALIZATION R&amp;D</p><p style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><br></p><p style="font-family:overpass,sans-serif;margin:0px;font-size:10px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat EMEA</a></p><table border="0" style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.redhat.com/profiles/rh/themes/redhatdotcom/img/logo-red-hat-black.png" width="90" height="auto"></a></td><td style="font-size:10px"><a href="https://redhat.com/trusted" style="color:rgb(204,0,0);font-weight:bold" target="_blank">TRIED. TESTED. TRUSTED.</a></td></tr></tbody></table></div><div>phone: +972-9-7692018<br>irc: eedri (on #tlv #rhev-dev #rhev-integ)</div></div></div></div></div></div></div></div></div></div></div>
</div></div>