<div dir="ltr">The only way I know to &#39;invalidate&#39; old pkg in mock is to specify the version you need in .packages ( i.e &gt;= $ver ).<div>Otherwise, the mock cache should expire in 2 days.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 21, 2017 at 6:08 PM, Nir Soffer <span dir="ltr">&lt;<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@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 dir="ltr">Forgot to add links to failing builds:<div><a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-patch-fc25-x86_64/490/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-imageio_master_check-<wbr>patch-fc25-x86_64/490/console</a><br></div><div><a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-patch-fcraw-x86_64/145/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-imageio_master_check-<wbr>patch-fcraw-x86_64/145/console</a><br></div><div><a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-patch-fc27-x86_64/145/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-imageio_master_check-<wbr>patch-fc27-x86_64/145/console</a><br></div><div><a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-patch-el7-x86_64/769/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-imageio_master_check-<wbr>patch-el7-x86_64/769/console</a><br></div><div><a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-patch-fc26-x86_64/458/console" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-imageio_master_check-<wbr>patch-fc26-x86_64/458/console</a></div><div><br></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 21, 2017 at 5:55 PM Nir Soffer &lt;<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I added 2 packages to ovirt-imageio packages files:<div><a href="https://gerrit.ovirt.org/#/c/85639/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>85639/</a><br></div><div><br></div><div>The next patch using these packages</div><div><a href="https://gerrit.ovirt.org/#/c/85245/" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>85245/</a><br></div><div><br></div><div>fail to import the package on some slaves:<br></div><div><br></div><div><pre class="m_4438765023478652385m_7069328225231415218inbox-inbox-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.093</b> </span>==============================<wbr>====== ERRORS ==============================<wbr>======
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.093</b> </span>____________________ ERROR collecting test/qemuimg_test.py _____________________
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.093</b> </span>ImportError while importing test module &#39;/home/jenkins/workspace/<wbr>ovirt-imageio_master_check-<wbr>patch-el7-x86_64/ovirt-<wbr>imageio/common/test/qemuimg_<wbr>test.py&#39;.
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>Hint: make sure your test modules/packages have valid Python names.
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>Traceback:
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>test/qemuimg_test.py:16: in &lt;module&gt;
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>    from ovirt_imageio_common import qemuimg
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>ovirt_imageio_common/qemuimg.<wbr>py:11: in &lt;module&gt;
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.094</b> </span>    from . compat import subprocess
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.095</b> </span>ovirt_imageio_common/compat.<wbr>py:12: in &lt;module&gt;
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.095</b> </span>    import subprocess32 as subprocess  # NOQA: F401 (unused import)
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.095</b> </span>E   ImportError: No module named subprocess32
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.095</b> </span>!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
<span class="m_4438765023478652385m_7069328225231415218inbox-inbox-timestamp" style="box-sizing:border-box"><b style="box-sizing:border-box">00:02:34.096</b> </span>=========================== 1 error in 1.06 seconds ============================
</pre><br class="m_4438765023478652385m_7069328225231415218inbox-inbox-Apple-interchange-newline"></div><div>Do we have a way to invalidate mock cache manually?</div></div><div dir="ltr"><div><br></div><div>Nir</div><div><br></div><div><br></div><div><br><div><br></div><div><div><br></div></div></div></div></blockquote></div>
</div></div><br>______________________________<wbr>_________________<br>
Infra mailing list<br>
<a href="mailto:Infra@ovirt.org">Infra@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/infra" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/infra</a><br>
<br></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>