[openstack-dev] [Neutron] Availability of external testing logs

Torbjorn Tornkvist kruskakli at gmail.com
Tue Jan 7 12:22:16 UTC 2014


My problem seem to be the same as reported here:

https://bitbucket.org/pypa/setuptools/issue/129/assertionerror-egg-info-pkg-info-is-not-a

Not quite shure however how to bring in the fix into my setup.

Cheers, Tobbe

On 2014-01-07 10:38, Torbjorn Tornkvist wrote:
> Hi,
>
> Sorry for the problems.
> I've missed any direct mails to me (I'm drowning in Openstack mails...)
> I will make sure our Jenkins setup won't be left unattended in the future.
>
> How can I remove those '-1' votes?
>
> It seems that from:  Jan 2, 2014 5:46:26 PM
> after change: https://review.openstack.org/#/c/64696/
>
> something happend that makes the my tox crash with a traceback.
> I'll include the traceback below in case someone can give some help.
> (I'm afraid I don't know anything about python...)
> -------------------------------------------------------
> vagrant at quantal64:~/neutron$ sudo tox -e py27 -r -- 
> neutron.tests.unit.ml2.test_mechanism_ncs
> GLOB sdist-make: /home/vagrant/neutron/setup.py
> py27 create: /home/vagrant/neutron/.tox/py27
> ERROR: invocation failed, logfile: 
> /home/vagrant/neutron/.tox/py27/log/py27-0.log
> ERROR: actionid=py27
> msg=getenv
> cmdargs=['/usr/bin/python2.7', 
> '/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py', 
> '--setuptools', '--python', '/usr/bin/python2.7', 'py27']
> env={'LC_NUMERIC': 'sv_SE.UTF-8', 'LOGNAME': 'root', 'USER': 'root', 
> 'HOME': '/home/vagrant', 'LC_PAPER': 'sv_SE.UTF-8', 'PATH': 
> '/home/vagrant/neutron/.tox/py27/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games', 
> 'DISPLAY': 'localhost:10.0', 'LANG': 'en_US.utf8', 'TERM': 
> 'xterm-256color', 'SHELL': '/bin/bash', 'LANGUAGE': 'en_US:', 
> 'LC_MEASUREMENT': 'sv_SE.UTF-8', 'SUDO_USER': 'vagrant', 'USERNAME': 
> 'root', 'LC_IDENTIFICATION': 'sv_SE.UTF-8', 'LC_ADDRESS': 
> 'sv_SE.UTF-8', 'SUDO_UID': '1000', 'VIRTUAL_ENV': 
> '/home/vagrant/neutron/.tox/py27', 'SUDO_COMMAND': '/usr/local/bin/tox 
> -e py27 -r -- neutron.tests.unit.ml2.test_mechanism_ncs', 'SUDO_GID': 
> '1000', 'LC_TELEPHONE': 'sv_SE.UTF-8', 'LC_MONETARY': 'sv_SE.UTF-8', 
> 'LC_NAME': 'sv_SE.UTF-8', 'MAIL': '/var/mail/root', 'LC_TIME': 
> 'sv_SE.UTF-8', 'LS_COLORS': 
> 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01 
> ;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
> Already using interpreter /usr/bin/python2.7
> New python executable in py27/bin/python2.7
> Also creating executable in py27/bin/python
> Installing setuptools, pip...
>   Complete output from command 
> /home/vagrant/neutron/.tox/py27/bin/python2.7 -c "import sys, pip; 
> pip...ll\"] + sys.argv[1:])" setuptools pip:
>   Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/__init__.py", 
> line 9, in <module>
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/log.py", 
> line 8, in <module>
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 2696, in <module>
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 429, in __init__
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 443, in add_entry
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 1722, in find_in_zip
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 1298, in has_metadata
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 1614, in _has
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/pkg_resources.py", 
> line 1488, in _zipinfo_name
> AssertionError: 
> /usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/EGG-INFO/PKG-INFO 
> is not a subpath of 
> /usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv_support/setuptools-2.0.2-py2.py3-none-any.whl/
> ----------------------------------------
> ...Installing setuptools, pip...done.
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py", 
> line 2334, in <module>
>     main()
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py", 
> line 820, in main
>     symlink=options.symlink)
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py", 
> line 988, in create_environment
>     install_wheel(to_install, py_executable, search_dirs)
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py", 
> line 956, in install_wheel
>     'PIP_NO_INDEX': '1'
>   File 
> "/usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py", 
> line 898, in call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /home/vagrant/neutron/.tox/py27/bin/python2.7 -c 
> "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed 
> with error code 1
>
> ERROR: InvocationError: /usr/bin/python2.7 
> /usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py 
> --setuptools --python /usr/bin/python2.7 py27 (see 
> /home/vagrant/neutron/.tox/py27/log/py27-0.log)
> _____________________________________________________________________________________________________ 
> summary 
> ______________________________________________________________________________________________________
> ERROR:   py27: InvocationError: /usr/bin/python2.7 
> /usr/local/lib/python2.7/dist-packages/virtualenv-1.11-py2.7.egg/virtualenv.py 
> --setuptools --python /usr/bin/python2.7 py27 (see 
> /home/vagrant/neutron/.tox/py27/log/py27-0.log)
>
> --------------------------------------------------------
>
>
> Cheers, Tobbe
>
>
>
> On 2014-01-06 10:36, Dave Cahill wrote:
>> Hi,
>>
>> "Tail-F NCS Jenkins" seems to still be causing issues. It voted -1 on 
>> some
>> patches today [1][2] which seem to be fine according to all other 
>> jobs. It gives
>> no information on what went wrong, so it's essentially a dead end.
>>
>> I've CCed the owner of the job according to the list Anita posted [3], so
>> hopefully they can disable voting. Salvatore mentioned on IRC that it 
>> might
>> make sense to ask the infra team to nullify the access credentials 
>> for the job
>> if no response is forthcoming from the job owner.
>>
>> Thanks,
>> Dave.
>>
>> [1] https://review.openstack.org/#/c/48574/
>> [2] https://review.openstack.org/#/c/53052/
>> [3] https://review.openstack.org/#/admin/groups/91,members
>>
>>
>> On Tue, Dec 31, 2013 at 12:24 PM, Joe Gordon <joe.gordon0 at gmail.com 
>> <mailto:joe.gordon0 at gmail.com>> wrote:
>>
>>
>>
>>
>>     On Mon, Dec 23, 2013 at 11:13 AM, Sean Dague <sean at dague.net
>>     <mailto:sean at dague.net>> wrote:
>>
>>         On 12/23/2013 12:10 PM, Collins, Sean wrote:
>>         > On Sun, Dec 22, 2013 at 12:30:50PM +0100, Salvatore Orlando
>>         wrote:
>>         >> I would suggest that external jobs should not vote until
>>         logs are publicly
>>         >> accessible, otherwise contributors would have no reason to
>>         understand where
>>         >> the negative vote came from.
>>         >
>>         > +1
>>         >
>>         > I've had Tail-F NCS Jenkins -1 some things that the OpenStack
>>         > Jenkins has +1'd, and other times where I've seen it +1
>>         things that
>>         > OpenStack Jenkins -1'd.
>>
>>         Agreed.
>>
>>         I also think we need to have these systems prove themselves on
>>         reliability before they post votes back. A mis configured CI
>>         system can
>>         easily -1 the entire patch stream, and many of us use
>>         -Verified-1 as a
>>         filter criteria on reviews, which effectively makes that a
>>         DOS attack.
>>
>>         Detailed public results need to come first. After those look
>>         reliable,
>>         voting can be allowed.
>>
>>
>>
>>     FYI, we are trying to record the requirements at
>>     http://ci.openstack.org/third_party.html/, patch:
>>     https://review.openstack.org/#/c/63478/
>>
>>           -Sean
>>
>>         --
>>         Sean Dague
>>         Samsung Research America
>>         sean at dague.net <mailto:sean at dague.net> /
>>         sean.dague at samsung.com <mailto:sean.dague at samsung.com>
>>         http://dague.net
>>
>>
>>         _______________________________________________
>>         OpenStack-dev mailing list
>>         OpenStack-dev at lists.openstack.org
>>         <mailto:OpenStack-dev at lists.openstack.org>
>>         http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>>
>>     _______________________________________________
>>     OpenStack-dev mailing list
>>     OpenStack-dev at lists.openstack.org
>>     <mailto:OpenStack-dev at lists.openstack.org>
>>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140107/996f9059/attachment.html>


More information about the OpenStack-dev mailing list