Tempest instructions are outdated

Bug #1700143 reported by Pierre Riteau on 2017-06-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pierre Riteau

Bug Description

The instructions for running Tempest scenario tests, located in contrib/tempest/README.rst, are out of date. They result in the following error:

    /usr/bin/bash: tools/pretty_tox.sh: No such file or directory
    ERROR: InvocationError: '/usr/bin/bash tools/pretty_tox.sh (^tempest\\.(api|scenario|thirdparty|cli)\\.test_.*reservation) '

Pierre Riteau (priteau) on 2017-06-23
Changed in blazar:
assignee: nobody → Masahito Muroi (muroi-masahito)
Changed in blazar:
assignee: Masahito Muroi (muroi-masahito) → nobody
Changed in blazar:
status: New → Confirmed
importance: Undecided → Medium
Bertrand Souville (souville) wrote :

I add the following to the tox.ini in my local environment (Tempest scenarios only):

envdir = .tox/tempest
sitepackages = {[tempestenv]sitepackages}
setenv = {[tempestenv]setenv}
deps = {[tempestenv]deps}
commands =
    find . -type f -name "*.pyc" -delete
    tempest run --serial --regex '(?:tempest\.scenario\.test_.*reservation.*)' {posargs}

See also https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/blazar.yaml

Changed in blazar:
milestone: none → rocky-1
Pierre Riteau (priteau) on 2018-09-10
Changed in blazar:
assignee: nobody → Pierre Riteau (priteau)
milestone: rocky-1 → stein-1
importance: Medium → High
Pierre Riteau (priteau) on 2018-10-23
Changed in blazar:
milestone: stein-1 → stein-2
Pierre Riteau (priteau) on 2019-01-10
Changed in blazar:
milestone: stein-2 → stein-3
Pierre Riteau (priteau) on 2019-04-15
Changed in blazar:
milestone: stein-3 → train-1

@priteau has added some new instructions to an Etherpad which can serve as a useful guide until official docs are updated: https://etherpad.openstack.org/p/blazar-running-tempest

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers