[JIRA] (OVIRT-1817) package included in .packages file, missing in check-patch.sh - caching issue?
Barak Korren (oVirt JIRA)
jira at ovirt-jira.atlassian.net
Sun Dec 24 07:10:25 UTC 2017
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35551#comment-35551 ]
Barak Korren commented on OVIRT-1817:
-------------------------------------
[~eedri] this issue had already been resolved over IRC. It was not a caching issue, as cache was not used in the failing run at all. The issue was misnaming of a package. 'subrocess32' was used in the '{{*.packages}}' file instead of '{{python-subprocess32}}'.
> package included in .packages file, missing in check-patch.sh - caching issue?
> ------------------------------------------------------------------------------
>
> 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
>
> I added 2 packages to ovirt-imageio packages files:
> https://gerrit.ovirt.org/#/c/85639/
> The next patch using these packages
> https://gerrit.ovirt.org/#/c/85245/
> fail to import the package on some slaves:
> *00:02:34.093* ==================================== ERRORS
> ====================================*00:02:34.093*
> ____________________ 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
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100075)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20171224/af1700ea/attachment.html>
More information about the Infra
mailing list