<html><body>
<pre>[ https://ovirt-jira.atlassian.net/browse/OVIRT-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35545#comment-35545 ]</pre>
<h3>Barak Korren commented on OVIRT-1817:</h3>
<p>{quote}</p>
<pre>> fail to import the package on some slaves:</pre>
<p>{quote}</p>
<p>This is often the result of the packages not being installable (often because of missing repos) – unfortunately mock ignores that silently because yum does e.g. when doing ‘{{yum install a b c}}’ will not result in an error is ‘b’ is not installable.</p>
<p>{quote}</p>
<pre>> Do we have a way to invalidate mock cache manually?</pre>
<p>{quote}</p>
<p>The cache is keyed by the checksums of the ‘{{*.packages}}’ and ‘{{*.repos}}’ files, so changing them invalidates it</p>
<blockquote><h3>package included in .packages file, missing in check-patch.sh – caching issue?</h3>
<pre> Key: OVIRT-1817
URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1817
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
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 <module>*00:02:34.094* from ovirt_imageio_common import qemuimg*00:02:34.094* ovirt_imageio_common/qemuimg.py:11: in <module>*00:02:34.094* from . compat import subprocess*00:02:34.095* ovirt_imageio_common/compat.py:12: in <module>*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>— 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-2BOjGpF-2BuMzoJRRB1ifzZIErtIxTccLy521zz7OxZViB5mnpbbwYJFz6flgevXOzUJVH-2FqBqvcqqqKIp3p4OcyDFOsRwvaLk1r7X8JpLEbbYtQ-2F8se-2FAoG3NqMy6MEF960fM4WCfArIPipDAxV3I9QtDxwIZkeNWD9yApPsdJra3V4NT7hIOoTif46hN9A2Na-2BIseHngSSOzrSPo87Xs5dlTOpBFCYzckFKgGNhVOIFb2pRBdbxpbBzfVBApxUhbifnO0sbrIMrLY-2Bo8UNMfIf1HSH9g1ApELvXDm3bupj4t0JUodXmP4Z0f2Jq2snR1bvoK-2B5QEr-2B1I9LJcguUi8TaLiAGKg-2FzQy-2Fp1QafmfMBP5UJflfvmA4anWDu4TUyFOH7hnUMWfwPfHwqM6-2FoFUkcVLD" 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>