]
Eyal Edri commented on OVIRT-2783:
----------------------------------
It looks like a syntax error, before it can’t install tox:
File "/usr/lib/python2.7/site-packages/more_itertools/more.py", line 340def
_collate(*iterables, key=lambda a: a, reverse=False):^SyntaxError: invalid syntax
CI fails - tox error
--------------------
Key: OVIRT-2783
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-2783
Project: oVirt - virtualization made easy
Issue Type: By-EMAIL
Reporter: Pavel Bar
Assignee: infra
Hi,
We experience problems with failed CI on VDSM patches.
Examples:
http://jenkins.ovirt.org/job/vdsm_standard-check-patch/10633/
http://jenkins.ovirt.org/job/vdsm_standard-check-patch/10634/
http://jenkins.ovirt.org/job/vdsm_standard-check-patch/10635/
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
--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100107)