Thanks for reporting and investigating this!

The specific issue causing this failure is fixed by cleaning up vdsm's tox.ini file:
https://gerrit.ovirt.org/#/c/77624

The general issue depending on working setuptools remain, we should think how
to ensure that we have a working (and recent enough) setuptools package on 
the slaves.

On Thu, Jun 1, 2017 at 11:18 AM ngoldin@redhat.com (oVirt JIRA) <jira@ovirt-jira.atlassian.net> wrote:

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

ngoldin@redhat.com commented on OVIRT-1426:
-------------------------------------------

This is a regression in setuptools(new release from 01/06)
https://github.com/pypa/setuptools/issues/1042

Several workarounds available there(installing six prior, etc).


> vdsm check patch jobs are failing
> ---------------------------------
>
>                 Key: OVIRT-1426
>                 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1426
>             Project: oVirt - virtualization made easy
>          Issue Type: By-EMAIL
>            Reporter: Irit Goihman
>            Assignee: infra
>
> Hi,
> All vdsm master check-patch jobs are failing starting from this morning
> (el7 and fc25).
> I see this repeating error:
> ERROR: invocation failed (exit code 1), logfile:
> /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8/log/flake8-1.log
> 05:53:56 msg: getenv
> 05:53:56 cmdargs:
> ['/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8/bin/pip',
> 'install', 'flake8==3.0.4']
> 05:53:56 env: {'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"',
> 'http_proxy': 'http://proxy01.phx.ovirt.org:3128', 'LESSOPEN':
> '||/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'USER': 'root', 'TIMEOUT':
> '600', 'PATH':
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin',
> 'HOME': '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm',
> 'GUESTFISH_RESTORE': '\\e[0m', 'GUESTFISH_INIT': '\\e[1;34m', 'MAKEFLAGS':
> ' --jobserver-fds=3,4 -j --
> NOSE_COVER_PACKAGE=/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/vdsm,/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib
> NOSE_WITH_COVERAGE=1', 'NOSE_WITH_COVERAGE': '1', 'LANG': 'en_US.UTF-8',
> 'TERM': 'vt100', 'SHELL': '/bin/bash', 'OVIRT_CI': '1', 'SHLVL': '2',
> 'HISTSIZE': '1000', 'NOSE_COVER_PACKAGE':
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/vdsm,/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib',
> 'PYTHONHASHSEED': '3892129931', 'MFLAGS': '- --jobserver-fds=3,4 -j',
> 'GUESTFISH_PS1': '\\[\\e[1;32m\\]><fs>\\[\\e[0;31m\\] ', 'VIRTUAL_ENV':
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8',
> 'MAKEOVERRIDES': '${-*-command-variables-*-}', '_': '/usr/bin/make',
> 'GUESTFISH_OUTPUT': '\\e[0m', 'HOSTNAME': 'vm0060.workers-phx.ovirt.org',
> 'HISTCONTROL': 'ignoredups', 'MAKELEVEL': '1', 'PWD':
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm', 'MAIL':
> '/var/spool/mail/root'}
> 05:53:56
> 05:53:56 The directory
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.cache/pip/http'
> or its parent directory is not owned by the current user and the cache has
> been disabled. Please check the permissions and owner of that directory. If
> executing pip with sudo, you may want sudo's -H flag.
> 05:53:56 The directory
> '/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.cache/pip'
> or its parent directory is not owned by the current user and caching wheels
> has been disabled. check the permissions and owner of that directory. If
> executing pip with sudo, you may want sudo's -H flag.
> ....
> ERROR:   flake8: could not install deps [flake8==3.0.4]; v =
> InvocationError('/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8/bin/pip
> install flake8==3.0.4 (see
> /home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/.tox/flake8/log/flake8-1.log)',
> 1)
> 05:53:56 make: *** [flake8] Error 1
> more details can be found at:
> http://jenkins.ovirt.org/job/vdsm_master_check-patch-el7-x86_64/13002/consoleFull
> Can you check?
> --
> IRIT GOIHMAN
> SOFTWARE ENGINEER
> EMEA VIRTUALIZATION R&D
> Red Hat EMEA <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> @redhatnews <https://twitter.com/redhatnews>   Red Hat
> <https://www.linkedin.com/company/red-hat>   Red Hat
> <https://www.facebook.com/RedHatInc>



--
This message was sent by Atlassian JIRA
(v1000.1026.0#100045)
_______________________________________________
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra