hi,
i tried to install devstack which i got from github current master.
i am doing basic installation in OpenStack - devstack
Most of the things got fine but at the time of installing tempest i got the following error:
**********
git_timed clone git://git.openstack.org/openstack/tempest.git /opt/stack/tempest
++ local count=0
++ local timeout=0
++ [[ -n 0 ]]
++ timeout=0
++ timeout -s SIGINT 0 git clone git://git.openstack.org/openstack/tempest.git /opt/stack/tempest
Cloning into '/opt/stack/tempest'...
remote: Counting objects: 56295, done.
remote: Compressing objects: 100% (30408/30408), done.
remote: Total 56295 (delta 43121), reused 38082 (delta 25786)
Receiving objects: 100% (56295/56295), 7.96 MiB | 999.00 KiB/s, done.
Resolving deltas: 100% (43121/43121), done.
Checking connectivity... done.
++ cd /opt/stack/tempest
++ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
++ cd /opt/stack/tempest
++ head -1
++ git show --oneline
fcda4d6 Merge "Remove unused ignore_error"
++ cd /home/openstack/Documents/devstack
++ pip_install tox
+++ grep xtrace
+++ set +o
++ local 'xtrace=set -o xtrace'
++ set +o xtrace
++ sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS=file:///opt/stack/.wheelhouse /usr/local/bin/pip install tox
Requirement already satisfied (use --upgrade to upgrade): tox in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): virtualenv>=1.11.2 in /usr/local/lib/python2.7/dist-packages (from tox)
Requirement already satisfied (use --upgrade to upgrade): py>=1.4.17 in /usr/local/lib/python2.7/dist-packages (from tox)
Requirement already satisfied (use --upgrade to upgrade): pluggy<0.4.0,>=0.3.0 in /usr/local/lib/python2.7/dist-packages (from tox)
++ local test_req=tox/test-requirements.txt
++ [[ -e tox/test-requirements.txt ]]
++ pushd /opt/stack/tempest
/opt/stack/tempest ~/Documents/devstack
++ tox --notest -efull
full create: /opt/stack/tempest/.tox/full
full installdeps: setuptools, -r/opt/stack/tempest/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /opt/stack/tempest/.tox/full/log/full-1.log
ERROR: actionid: full
msg: getenv
cmdargs: [local('/opt/stack/tempest/.tox/full/bin/pip'), 'install', '-U', 'setuptools', '-r/opt/stack/tempest/requirements.txt']
env: {'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:', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SSH_CLIENT': '10.0.2.2 36648 22', 'LOGNAME': 'openstack', 'USER': 'openstack', 'os_RELEASE': '14.04', 'HOME': '/home/openstack', 'PATH': '/opt/stack/tempest/.tox/full/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/sbin:/usr/sbin:/sbin', 'DISPLAY': 'localhost:10.0', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '2', 'WHEELHOUSE': '/opt/stack/.wheelhouse', 'QT_QPA_PLATFORMTHEME': 'appmenu-qt5', 'PWD': '/opt/stack/tempest', 'PYTHONHASHSEED': '2665019553', '_': '/usr/local/bin/tox', 'DISTRO': 'trusty', 'XDG_RUNTIME_DIR': '/run/user/1000', 'VIRTUAL_ENV': '/opt/stack/tempest/.tox/full', 'PIP_FIND_LINKS': 'file:///opt/stack/.wheelhouse', 'LC_ALL': 'C', 'XDG_SESSION_ID': '1', 'os_VENDOR': 'Ubuntu', 'os_UPDATE': '', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'PIP_WHEEL_DIR': '/opt/stack/.wheelhouse', 'SSH_TTY': '/dev/pts/4', 'OLDPWD': '/home/openstack/Documents/devstack', 'NEUTRON_TEST_CONFIG_FILE': '/etc/neutron/debug.ini', 'os_CODENAME': 'trusty', 'OS_TEST_PATH': './tempest/test_discover', 'MAIL': '/var/mail/openstack', 'SSH_CONNECTION': '10.0.2.2 36648 10.0.2.15 22', 'os_PACKAGE': 'deb'}
/opt/stack/tempest/.tox/full/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
/opt/stack/tempest/.tox/full/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Collecting setuptools
Collecting pbr<2.0,>=1.3 (from -r /opt/stack/tempest/requirements.txt (line 1))
Using cached pbr-1.4.0-py2.py3-none-any.whl
Collecting cliff>=1.13.0 (from -r /opt/stack/tempest/requirements.txt (line 2))
Using cached cliff-1.14.0-py2-none-any.whl
Collecting anyjson>=0.3.3 (from -r /opt/stack/tempest/requirements.txt (line 3))
Using cached anyjson-0.3.3.tar.gz
Collecting httplib2>=0.7.5 (from -r /opt/stack/tempest/requirements.txt (line 4))
Using cached httplib2-0.9.1.tar.gz
Collecting jsonschema!=2.5.0,<3.0.0,>=2.0.0 (from -r /opt/stack/tempest/requirements.txt (line 5))
Using cached jsonschema-2.5.1-py2.py3-none-any.whl
Collecting testtools>=1.4.0 (from -r /opt/stack/tempest/requirements.txt (line 6))
Using cached testtools-1.8.0-py2.py3-none-any.whl
Collecting boto>=2.32.1 (from -r /opt/stack/tempest/requirements.txt (line 7))
Using cached boto-2.38.0-py2.py3-none-any.whl
Hash of the package https://pypi.python.org/packages/2.7/b/boto/boto-2.38.0-py2.py3-none-any.whl#md5=dd00fcddc668880494987bcb6102ecf2 (from https://pypi.python.org/simple/boto/) (f785cab4d0c4dae9e37cd363c53c0006) doesn't match the expected hash dd00fcddc668880494987bcb6102ecf2!
Bad md5 hash for package https://pypi.python.org/packages/2.7/b/boto/boto-2.38.0-py2.py3-none-any.whl#md5=dd00fcddc668880494987bcb6102ecf2 (from https://pypi.python.org/simple/boto/)
ERROR: could not install deps [setuptools, -r/opt/stack/tempest/requirements.txt]; v = InvocationError('/opt/stack/tempest/.tox/full/bin/pip install -U setuptools -r/opt/stack/tempest/requirements.txt (see /opt/stack/tempest/.tox/full/log/full-1.log)', 1)
______________________________________________________________________ summary ______________________________________________________________________
ERROR: full: could not install deps [setuptools, -r/opt/stack/tempest/requirements.txt]; v = InvocationError('/opt/stack/tempest/.tox/full/bin/pip install -U setuptools -r/opt/stack/tempest/requirements.txt (see /opt/stack/tempest/.tox/full/log/full-1.log)', 1)
+ exit_trap
+ local r=1
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 1 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
******
from the above logs boto-2.38 (md5) hash value is getting mismatched.
Suggestion:
After debugging i found that the package is downloading under /tmp/ directory and its getting downloaded upto "620K" but the actual size is "1308K" so the hash value is mismatching.
Any suggestion to solve this error.