Tempest instructions are outdated

Bug #1700143 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Blazar
Confirmed
High
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)
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
Revision history for this message
Bertrand Souville (souville) wrote :

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

[testenv:blazar]
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)
Changed in blazar:
assignee: nobody → Pierre Riteau (priteau)
milestone: rocky-1 → stein-1
importance: Medium → High
Pierre Riteau (priteau)
Changed in blazar:
milestone: stein-1 → stein-2
Pierre Riteau (priteau)
Changed in blazar:
milestone: stein-2 → stein-3
Pierre Riteau (priteau)
Changed in blazar:
milestone: stein-3 → train-1
Revision history for this message
Jason Anderson (jasonandersonatuchicago) wrote :

@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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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