devstack install_tempest fails

Bug #1605613 reported by Theuns Alberts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Theuns Alberts

Bug Description

Tried to update devstack with following steps:
----------------------------------------------

~/devstack$ ./unstack.sh
~/devstack$ ./clean.sh
~/devstack$ git pull
~/devstack$ ./stack.sh

Resulted in following failure:
------------------------------

2016-07-22 11:42:28.926 | ___________________________________ summary ____________________________________
2016-07-22 11:42:28.926 | full: skipped tests
2016-07-22 11:42:28.926 | congratulations :)
2016-07-22 11:42:28.951 | ++lib/tempest:install_tempest:610 /opt/stack/tempest/.tox/tempest/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -r requirements.txt
2016-07-22 11:42:28.951 | /home/stack/devstack/lib/tempest: line 610: /opt/stack/tempest/.tox/tempest/bin/pip: No such file or directory
2016-07-22 11:42:28.958 | +lib/tempest:install_tempest:1 exit_trap
2016-07-22 11:42:28.964 | +./stack.sh:exit_trap:480 local r=1
2016-07-22 11:42:28.971 | ++./stack.sh:exit_trap:481 jobs -p
2016-07-22 11:42:28.978 | +./stack.sh:exit_trap:481 jobs=
2016-07-22 11:42:28.985 | +./stack.sh:exit_trap:484 [[ -n '' ]]
2016-07-22 11:42:28.992 | +./stack.sh:exit_trap:490 kill_spinner
2016-07-22 11:42:28.999 | +./stack.sh:kill_spinner:376 '[' '!' -z '' ']'
2016-07-22 11:42:29.007 | +./stack.sh:exit_trap:492 [[ 1 -ne 0 ]]
2016-07-22 11:42:29.014 | +./stack.sh:exit_trap:493 echo 'Error on exit'
2016-07-22 11:42:29.014 | Error on exit
2016-07-22 11:42:29.021 | +./stack.sh:exit_trap:494 generate-subunit 1469187549 200 fail
2016-07-22 11:42:29.508 | +./stack.sh:exit_trap:495 [[ -z /opt/stack/logs ]]
2016-07-22 11:42:29.515 | +./stack.sh:exit_trap:498 /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-07-22 11:42:30.148 | +./stack.sh:exit_trap:504 exit 1

Current devstack master branch version:
---------------------------------------

commit b4f92e3a5668be1a7a4b94f428520ca4fb3f53e2
Merge: c714c7e 2381f33
Author: Jenkins <email address hidden>
Date: Fri Jul 22 02:37:33 2016 +0000

    Merge "Updated from generate-devstack-plugins-list"

Temporary solution:
-------------------
'tempest' dir does not exist, only 'venv', so rename

diff --git a/lib/tempest b/lib/tempest
index 01ad4f4..1e26f94 100644
--- a/lib/tempest
+++ b/lib/tempest
@@ -607,8 +607,8 @@ function install_tempest {
     # NOTE(mtreinish) Respect constraints in the tempest full venv, things that
     # are using a tox job other than full will not be respecting constraints but
     # running pip install -U on tempest requirements
- $TEMPEST_DIR/.tox/tempest/bin/pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
- PROJECT_VENV["tempest"]=${TEMPEST_DIR}/.tox/tempest
+ $TEMPEST_DIR/.tox/venv/bin/pip install -c $REQUIREMENTS_DIR/upper-constraints.txt -r requirements.txt
+ PROJECT_VENV["tempest"]=${TEMPEST_DIR}/.tox/venv
     popd
 }

Tags: devstack
Revision history for this message
Theuns Alberts (theuns.alberts) wrote :

I completely removed devstack (i.e. /opt/stack and related python libs) and reinstalled without any problems. The issue I reported must have been specific to my setup.

Can close this bug report.

Changed in devstack:
assignee: nobody → Theuns Alberts (theuns.alberts)
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.