Hi,
it's a known issue:
https://stackoverflow.com/questions/54648246/invalid-syntax-in-more-itertools-when-running-pytest
Posted a patch for this:
https://gerrit.ovirt.org/#/c/102849/
Regards, Marcin
On 8/25/19 8:04 PM, Nir Soffer wrote:
On Sun, Aug 25, 2019, 15:19 Pavel Bar <pbar@redhat.com> wrote:
Hi,We experience problems with failed CI on VDSM patches.
Does it work locally and in travis?
_______________________________________________Examples:
This is what we see in logs:
out=`tox --version`; \
if [ $? -ne 0 ]; then \
echo "Error: cannot run tox, please install tox \
2.9.1 or later"; \
exit 1; \
fi; \
version=`echo $out | cut -d' ' -f1`; \
if python2.7 build-aux/vercmp $version 2.9.1; then \
echo "Error: tox is too old, please install tox \
2.9.1 or later"; \
exit 1; \
fi
Traceback (most recent call last):
File "/usr/bin/tox", line 7, in <module>
from tox import cmdline
File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in <module>
from .hookspecs import hookimpl
File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in <module>
from pluggy import HookimplMarker
File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in <module>
from .manager import PluginManager, PluginValidationError
File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in <module>
import importlib_metadata
File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py", line 9, in <module>
import zipp
File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in <module>
import more_itertools
File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line 1, in <module>
from more_itertools.more import * # noqa
File "/usr/lib/python2.7/site-packages/more_itertools/more.py", line 340
def _collate(*iterables, key=lambda a: a, reverse=False):
^
SyntaxError: invalid syntax
Error: cannot run tox, please install tox 2.9.1 or later
make: *** [tox] Error 1
+ teardown
+ res=2
+ '[' 2 -ne 0 ']'
+ echo '*** err: 2'
*** err: 2
+ collect_logs
+ tar --directory /var/log --exclude 'journal/*' -czf /home/jenkins/workspace/vdsm_standard-check-patch/vdsm/exported-artifacts/mock_varlogs.tar.gz .
+ tar --directory /var/host_log --exclude 'journal/*' -czf /home/jenkins/workspace/vdsm_standard-check-patch/vdsm/exported-artifacts/host_varlogs.tar.gz .
+ teardown_storage
+ python2 tests/storage/userstorage.py teardown
Can someone look at it?
Thank you in advance!
Pavel
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/VADZM35IRVN4EY24MOM3JIHLWQKASLRG/
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AVD6QSBEPRTDYI7W2XNWSEPD4OT35LIW/