The Cinder Cert script currently only runs the Tempest
tests tagged with volume.api, should be all Volume tests
to make sure we get things like attach and other commands
fully tested.
Change-Id: Ic15d2ad6d3616bfde4838873d0c79664b009ef1f
In cinder_driver_certs.sh, the tests are run and output is
piped to "tee". Currently, checking the exit code of this
command only checks that "tee" exited properly. Using the
pipefail option for this script will ensure the entire
pipe succeeds before passing a driver.
Change-Id: I58311aa0e2c779467d39c4477c4ea39d14eda207
Closes-Bug: #1289129
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check. Add a note to HACKING.rst
Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
The use of exec and tee doesn't seem to be quite right, and was
unreliable in terms of catching the exit status of the tempest
test as well as not catching the output when things went wrong.
This changes the way we do the redirect and the tee to something
that should be more robust and seems to work reliably in testing.
Change-Id: Ieb9d725839fb8e3f9e2e63a2b7b2e9c7c86713a2
This fixes an error in the devstack/functions
setup_develop call, which tries to cd to
$REQUIREMENTS_DIR, which is created in lib/infra
Change-Id: Ie65d2ba83547acc4ea36d1191e6e90dc21da1fa7
Closes-Bug: #1276365
Changes to tempest run_tests.sh
(commit: 17520e49a7e69b3817856a739121a1fb2906f2cc)
breaks the cinder_driver_cert script. A backward
compatible run_tempest.sh script was added,
so for now we should update the cinder_driver_cert
script to use that
Change-Id: I611a01dd4788ae01da8a6167a530f9e44733dfc6
Closes-Bug: #1269531
This adds a simple wrapper to call tempest volume tests.
The idea is to make it easy to execute and capture results
from tempest.api.volume.test_*
Concept is for drivers in Cinder to configure cinder.conf as
needed and then run this script which will restart services and
kick off the tempest tests, and capture the output to a logfile
for submission.
To run,
1. deploy devstack as normal with tempest included in enabled_services
2. modify cinder.conf appropriately for your driver
3. execute the script devstack/driver_certs/cinder_driver_cert.sh
Change-Id: I98ec9e1e418a8416406db5e2e6ffd21992e392cf