[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-25 Thread Pavel Bar (oVirt JIRA)
Pavel Bar created OVIRT-2783:


 Summary: 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 
from tox import cmdline
  File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in

from .hookspecs import hookimpl
  File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in

from pluggy import HookimplMarker
  File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in

from .manager import PluginManager, PluginValidationError
  File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in

import importlib_metadata
  File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
line 9, in 
import zipp
  File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
import more_itertools
  File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line
1, in 
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)
___
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@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/infra@ovirt.org/message/F54YQAMALUNDJYHLW5YBBVUS7EUJOR7T/


[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-25 Thread Eyal Edri (oVirt JIRA)

[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39703#comment-39703
 ] 

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 
> from tox import cmdline
>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in
> 
> from .hookspecs import hookimpl
>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in
> 
> from pluggy import HookimplMarker
>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in
> 
> from .manager import PluginManager, PluginValidationError
>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in
> 
> import importlib_metadata
>   File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
> line 9, in 
> import zipp
>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
> import more_itertools
>   File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line
> 1, in 
> 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)
___
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@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/infra@ovirt.org/message/FHAKYBKV3SOND6TJTCYWVFTULDUNIDSB/


[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-25 Thread Nir Soffer (oVirt JIRA)

[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39704#comment-39704
 ] 

Nir Soffer commented on OVIRT-2783:
---

On Sun, Aug 25, 2019, 15:19 Pavel Bar  wrote:

> Hi,
> We experience problems with failed CI on VDSM patches.
>

Does it work locally and in travis?

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 
> from tox import cmdline
>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in
> 
> from .hookspecs import hookimpl
>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in
> 
> from pluggy import HookimplMarker
>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in
> 
> from .manager import PluginManager, PluginValidationError
>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in
> 
> import importlib_metadata
>   File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
> line 9, in 
> import zipp
>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
> import more_itertools
>   File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line
> 1, in 
> 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 -- de...@ovirt.org
> To unsubscribe send an email to devel-le...@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/de...@ovirt.org/message/VADZM35IRVN4EY24MOM3JIHLWQKASLRG/
>

> 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 
> from tox import cmdline
>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in
> 
> from .hookspecs import hookimpl
>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in
> 
> from pluggy import HookimplMarker
>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in
> 
> from .manager import PluginManager, PluginValidationError
>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in
> 
> import importlib_metadata
>   File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
> line 9, in 
> import zipp
>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
> import more_itertools
>   File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line
> 1, in 
> from more_itertools.more import *  # noqa
>   F

[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-26 Thread Marcin Sobczyk (oVirt JIRA)

[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39706#comment-39706
 ] 

Marcin Sobczyk commented on OVIRT-2783:
---

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  > wrote:
>
> Hi,
> We experience problems with failed CI on VDSM patches.
>
>
> Does it work locally and in travis?
>
> 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 
>     from tox import cmdline
>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4,
> in 
>     from .hookspecs import hookimpl
>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line
> 4, in 
>     from pluggy import HookimplMarker
>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line
> 16, in 
>     from .manager import PluginManager, PluginValidationError
>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line
> 6, in 
>     import importlib_metadata
>   File
> "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
> line 9, in 
>     import zipp
>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in
> 
>     import more_itertools
>   File
> "/usr/lib/python2.7/site-packages/more_itertools/__init__.py",
> line 1, in 
>     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 -- de...@ovirt.org 
> To unsubscribe send an email to devel-le...@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/de...@ovirt.org/message/VADZM35IRVN4EY24MOM3JIHLWQKASLRG/
>
>
> ___
> Devel mailing list -- de...@ovirt.org
> To unsubscribe send an email to devel-le...@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/de...@ovirt.org/message/AVD6QSBEPRTDYI7W2XNWSEPD4OT35LIW/

> 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 $o

[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-26 Thread Pavel Bar (oVirt JIRA)

[ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39707#comment-39707
 ] 

Pavel Bar commented on OVIRT-2783:
--

Hi,
Thanks! :)
Will it be merged today?





On Mon, Aug 26, 2019 at 6:25 PM Marcin Sobczyk  wrote:

> 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  wrote:
>
>> Hi,
>> We experience problems with failed CI on VDSM patches.
>>
>
> Does it work locally and in travis?
>
> 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 
>> from tox import cmdline
>>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in
>> 
>> from .hookspecs import hookimpl
>>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in
>> 
>> from pluggy import HookimplMarker
>>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in
>> 
>> from .manager import PluginManager, PluginValidationError
>>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in
>> 
>> import importlib_metadata
>>   File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
>> line 9, in 
>> import zipp
>>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
>> import more_itertools
>>   File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py",
>> line 1, in 
>> 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 -- de...@ovirt.org
>> To unsubscribe send an email to devel-le...@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/de...@ovirt.org/message/VADZM35IRVN4EY24MOM3JIHLWQKASLRG/
>>
>
> ___
> Devel mailing list -- de...@ovirt.org
> To unsubscribe send an email to devel-le...@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/de...@ovirt.org/message/AVD6QSBEPRTDYI7W2XNWSEPD4OT35LIW/
>
>

> 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 "/

[JIRA] (OVIRT-2783) CI fails - tox error

2019-08-26 Thread Eyal Edri (oVirt JIRA)

 [ 
https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eyal Edri updated OVIRT-2783:
-
Resolution: Fixed
Status: Done  (was: To Do)

closing as this isn't an infra issue, will be solved on dev side.

> 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 
> from tox import cmdline
>   File "/usr/lib/python2.7/site-packages/tox/__init__.py", line 4, in
> 
> from .hookspecs import hookimpl
>   File "/usr/lib/python2.7/site-packages/tox/hookspecs.py", line 4, in
> 
> from pluggy import HookimplMarker
>   File "/usr/lib/python2.7/site-packages/pluggy/__init__.py", line 16, in
> 
> from .manager import PluginManager, PluginValidationError
>   File "/usr/lib/python2.7/site-packages/pluggy/manager.py", line 6, in
> 
> import importlib_metadata
>   File "/usr/lib/python2.7/site-packages/importlib_metadata/__init__.py",
> line 9, in 
> import zipp
>   File "/usr/lib/python2.7/site-packages/zipp.py", line 12, in 
> import more_itertools
>   File "/usr/lib/python2.7/site-packages/more_itertools/__init__.py", line
> 1, in 
> 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)
___
Infra mailing list -- infra@ovirt.org
To unsubscribe send an email to infra-le...@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/infra@ovirt.org/message/ABQNQR4CSAHLR3IRYA2CALYBP3IJXOQU/