[JIRA] (OVIRT-2783) CI fails - tox error
by Eyal Edri (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jir... ]
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 <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)
5 years, 3 months
[JIRA] (OVIRT-2783) CI fails - tox error
by Pavel Bar (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jir... ]
Pavel Bar commented on OVIRT-2783:
----------------------------------
Hi,
Thanks! :)
Will it be merged today?
On Mon, Aug 26, 2019 at 6:25 PM Marcin Sobczyk <msobczyk(a)redhat.com> wrote:
> Hi,
>
> it's a known issue:
>
>
> https://stackoverflow.com/questions/54648246/invalid-syntax-in-more-itert...
>
> 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(a)redhat.com> 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 <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(a)ovirt.org
>> To unsubscribe send an email to devel-leave(a)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/VADZM35IRVN...
>>
>
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)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/AVD6QSBEPRT...
>
>
> 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)
5 years, 3 months
[JIRA] (OVIRT-2783) CI fails - tox error
by Marcin Sobczyk (oVirt JIRA)
[ https://ovirt-jira.atlassian.net/browse/OVIRT-2783?page=com.atlassian.jir... ]
Marcin Sobczyk commented on OVIRT-2783:
---------------------------------------
Hi,
it's a known issue:
https://stackoverflow.com/questions/54648246/invalid-syntax-in-more-itert...
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(a)redhat.com
> <mailto:pbar@redhat.com>> 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 <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(a)ovirt.org <mailto:devel@ovirt.org>
> To unsubscribe send an email to devel-leave(a)ovirt.org
> <mailto: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/VADZM35IRVN...
>
>
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)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/AVD6QSBEPRT...
> 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)
5 years, 3 months