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