<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&amp;focusedCommentId=35550#comment-35550 ]</pre>
<h3>eyal edri commented on OVIRT-1817:</h3>
<p>The only way I know to &lsquo;invalidate&rsquo; old pkg in mock is to specify the version you need in .packages ( i.e &gt;= $ver ). Otherwise, the mock cache should expire in 2 days.</p>
<p>On Thu, Dec 21, 2017 at 6:08 PM, Nir Soffer &lt;nsoffer@redhat.com&gt; wrote:</p>
<blockquote><p>Forgot to add links to failing builds: <a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-">http://jenkins.ovirt.org/job/ovirt-imageio_master_check-</a> patch-fc25-x86_64/490/console <a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-">http://jenkins.ovirt.org/job/ovirt-imageio_master_check-</a> patch-fcraw-x86_64/145/console <a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-">http://jenkins.ovirt.org/job/ovirt-imageio_master_check-</a> patch-fc27-x86_64/145/console <a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-">http://jenkins.ovirt.org/job/ovirt-imageio_master_check-</a> patch-el7-x86_64/769/console <a href="http://jenkins.ovirt.org/job/ovirt-imageio_master_check-">http://jenkins.ovirt.org/job/ovirt-imageio_master_check-</a> patch-fc26-x86_64/458/console</p>
<p>On Thu, Dec 21, 2017 at 5:55 PM Nir Soffer &lt;nsoffer@redhat.com&gt; wrote:</p>
<blockquote><p>I added 2 packages to ovirt-imageio packages files: <a href="https://gerrit.ovirt.org/#/c/85639/">https://gerrit.ovirt.org/#/c/85639/</a></p>
<p>The next patch using these packages <a href="https://gerrit.ovirt.org/#/c/85245/">https://gerrit.ovirt.org/#/c/85245/</a></p>
<p>fail to import the package on some slaves:</p>
<p><strong>00:02:34.093</strong> ==================================== ERRORS ====================================*00:02:34.093* <em>_________________</em>_ ERROR collecting test/qemuimg_test.py _____________________*00:02:34.093* ImportError while importing test module '/home/jenkins/workspace/ovirt-imageio_master_check-patch-el7-x86_64/ovirt-imageio/common/test/qemuimg_test.py'.*00:02:34.094* Hint: make sure your test modules/packages have valid Python names.*00:02:34.094* Traceback:*00:02:34.094* test/qemuimg_test.py:16: in &lt;module&gt;*00:02:34.094*     from ovirt_imageio_common import qemuimg*00:02:34.094* ovirt_imageio_common/qemuimg.py:11: in &lt;module&gt;*00:02:34.094*     from . compat import subprocess*00:02:34.095* ovirt_imageio_common/compat.py:12: in &lt;module&gt;*00:02:34.095*     import subprocess32 as subprocess  # NOQA: F401 (unused import)*00:02:34.095* E   ImportError: No module named subprocess32*00:02:34.095* !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!*00:02:34.096* =========================== 1 error in 1.06 seconds ============================</p>
<p>Do we have a way to invalidate mock cache manually?</p>
<p>Nir</p></blockquote>
<p><em>____________________________________________</em>_ Infra mailing list Infra@ovirt.org <a href="http://lists.ovirt.org/mailman/listinfo/infra">http://lists.ovirt.org/mailman/listinfo/infra</a></p></blockquote>
<p>&mdash;</p>
<p>Eyal edri</p>
<p>MANAGER</p>
<p>RHV DevOps</p>
<p>EMEA VIRTUALIZATION R&amp;D</p>
<p>Red Hat EMEA &lt;<a href="https://www.redhat.com/">https://www.redhat.com/</a>&gt; &lt;<a href="https://red.ht/sig">https://red.ht/sig</a>&gt; TRIED. TESTED. TRUSTED. &lt;<a href="https://redhat.com/trusted">https://redhat.com/trusted</a>&gt; phone: +972-9-7692018 irc: eedri (on #tlv #rhev-dev #rhev-integ)</p>
<blockquote><h3>package included in .packages file, missing in check-patch.sh &ndash; caching issue?</h3>
<pre>     Key: OVIRT-1817
     URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1817
 Project: oVirt - virtualization made easy
         Issue Type: Improvement
         Components: oVirt CI
Reporter: Nir Soffer
Assignee: infra</pre>
<p>I added 2 packages to ovirt-imageio packages files: <a href="https://gerrit.ovirt.org/#/c/85639/">https://gerrit.ovirt.org/#/c/85639/</a> The next patch using these packages <a href="https://gerrit.ovirt.org/#/c/85245/">https://gerrit.ovirt.org/#/c/85245/</a> fail to import the package on some slaves: <strong>00:02:34.093</strong> ==================================== ERRORS ====================================*00:02:34.093* <em>_________________</em>_ ERROR collecting test/qemuimg_test.py _____________________*00:02:34.093* ImportError while importing test module '/home/jenkins/workspace/ovirt-imageio_master_check-patch-el7-x86_64/ovirt-imageio/common/test/qemuimg_test.py'.*00:02:34.094* Hint: make sure your test modules/packages have valid Python names.*00:02:34.094* Traceback:*00:02:34.094* test/qemuimg_test.py:16: in &lt;module&gt;*00:02:34.094*     from ovirt_imageio_common import qemuimg*00:02:34.094* ovirt_imageio_common/qemuimg.py:11: in &lt;module&gt;*00:02:34.094*     from . compat import subprocess*00:02:34.095* ovirt_imageio_common/compat.py:12: in &lt;module&gt;*00:02:34.095*     import subprocess32 as subprocess  # NOQA: F401 (unused import)*00:02:34.095* E   ImportError: No module named subprocess32*00:02:34.095* !!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!*00:02:34.096* =========================== 1 error in 1.06 seconds ============================ Do we have a way to invalidate mock cache manually? Nir</p></blockquote>
<p>&mdash; This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100075)</p>

<img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3tuiUfRTk64K-2BOjFTKd1eQk0jeaIcBJlLyWiNcvGIsCfxaYIbnSSZ5n5g-2FFAwse349mKKxFQJ8h-2FY6gV-2BKhpyUfAO2xszwz4CcILXaNX6Xc-2FlDgmflUKntctunMYkPnxKt-2FhBJX3P0x9ZCUF0GeONEQIUn-2FF1KBf1fAXvoXpIX-2B8RiS7xJQ0Xme2ELGa6QDZ5VyoBxuz09XesU0NWy6cCNRrmBL4T-2FLqxAH84qencxP9FgroDdEu69Zb2AOH2mZzczOK2Xx5VSb-2BcCPryYH0c6uPIf0Jap7yM-2BEFj0HxtNz2g9SNSTgiPlrTTRCXsToZaL5jcqHN3CsmEzQq1MtwIHT1aBkNhqmrm-2FmntkccKsefHlAiDFi5O8Il6jL4c3azoGfA8ag-2B-2Bvy0xK9SbM7xUJRrA36APzf9F80Xx" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>