[ovirt-devel] Unable to run "make check" on master with an updated Centos7
Nir Soffer
nsoffer at redhat.com
Tue Sep 26 19:17:49 UTC 2017
On יום ג׳, 26 בספט׳ 2017, 14:31 Dan Kenigsberg <danken at redhat.com> wrote:
> Right; this what makes the issue more odd. On my host
> .tox/storage-py35 fails, while .tox/storage-py36 passes; while both
> pass on jenkins.
>
Did you try to git clean your tree?
git clean -dxf
I had similar issues in the past, I think it may be stale __cache__ or
.cache dirs.
> On Tue, Sep 26, 2017 at 10:34 AM, Martin Sivak <msivak at redhat.com> wrote:
> > Well.. isn't tox using virtualenv by any chance? The Python path in
> > the traceback does not look like the standard one
> >
> > Martin
> >
> > On Mon, Sep 25, 2017 at 12:48 PM, Dan Kenigsberg <danken at redhat.com>
> wrote:
> >> nope.
> >>
> >> $ rpm -qa |grep -- -six
> >> python2-six-1.10.0-9.fc26.noarch
> >> python3-six-1.10.0-9.fc26.noarch
> >>
> >> On Mon, Sep 25, 2017 at 1:46 PM, Nir Soffer <nsoffer at redhat.com> wrote:
> >>> Missing six in your system?
> >>>
> >>>
> >>> On יום ב׳, 25 בספט׳ 2017, 13:28 Dan Kenigsberg <danken at redhat.com>
> wrote:
> >>>>
> >>>> Nir,
> >>>>
> >>>> I have not run `make check` locally for a while. It fails here, too,
> >>>> but completely differently:
> >>>>
> >>>> https://paste.fedoraproject.org/paste/jF-TlI4Dpe7d~2ZboXZ89Q
> >>>>
> >>>> Any idea where the following is coming from?
> >>>>
> >>>> ImportError while importing test module
> >>>> '/home/danken/redhat/vdsm.git/tests/storage/asyncevent_test.py'.
> >>>> Hint: make sure your test modules/packages have valid Python names.
> >>>> Traceback:
> >>>>
> ../.tox/storage-py35/lib/python3.5/site-packages/_pytest/python.py:408:
> >>>> in _importtestmodule
> >>>> mod = self.fspath.pyimport(ensuresyspath=importmode)
> >>>>
> ../.tox/storage-py35/lib/python3.5/site-packages/py/_path/local.py:662:
> >>>> in pyimport
> >>>> __import__(modname)
> >>>>
> >>>>
> ../.tox/storage-py35/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:215:
> >>>> in load_module
> >>>> py.builtin.exec_(co, mod.__dict__)
> >>>> storage/asyncevent_test.py:33: in <module>
> >>>> from testlib import VdsmTestCase
> >>>> testlib.py:35: in <module>
> >>>> from six.moves import configparser
> >>>> E ImportError: No module named 'six'
> >>>>
> >>>> On Sun, Sep 24, 2017 at 11:00 PM, Nir Soffer <nsoffer at redhat.com>
> wrote:
> >>>> > On Sun, Sep 24, 2017 at 5:37 PM Edward Haas <ehaas at redhat.com>
> wrote:
> >>>> >>
> >>>> >> Hello,
> >>>> >>
> >>>> >> After updating my Centos7 VM, the unit tests are failing on
> >>>> >> check_imports.
> >>>> >> Some kind of recursion.
> >>>> >>
> >>>> >> https://paste.fedoraproject.org/paste/lcjYudT50AJDLJnw9SH3vw
> >>>> >>
> >>>> >> I have not seen this on CI.
> >>>> >> Any ideas?
> >>>> >
> >>>> >
> >>>> > You have old __cache__ directory or something similar.
> >>>> >
> >>>> > git clean -dxf; ./autogen.sh --system && make
> >>>> >
> >>>> > will probably fix this.
> >>>> >
> >>>> > Also filing a pytest bug would be a good idea.
> >>>> >
> >>>> >>
> >>>> >>
> >>>> >> Thanks,
> >>>> >> Edy.
> >>>> >>
> >>>> >> _______________________________________________
> >>>> >> Devel mailing list
> >>>> >> Devel at ovirt.org
> >>>> >> http://lists.ovirt.org/mailman/listinfo/devel
> >>>> >
> >>>> >
> >>>> > _______________________________________________
> >>>> > Devel mailing list
> >>>> > Devel at ovirt.org
> >>>> > http://lists.ovirt.org/mailman/listinfo/devel
> >> _______________________________________________
> >> Devel mailing list
> >> Devel at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170926/bb43b563/attachment-0001.html>
More information about the Devel
mailing list