Services-client conformance check
The Omniverse Storage API ships its own pytest-bdd conformance
suite (Gherkin features, executed via the run-conformance-tests Poetry
script). In the root ovstorage repo, use it to check the wire contract that
ovstorage-plugin-services-client/ depends on: after a vendor-sync, before
relying on a deployed Omniverse Storage Service endpoint, or when investigating whether a
services-client failure is caused by server/API drift.
This is not the service implementation or Kubernetes deployment runbook. For
service-stack deployment and operations, use the ovstorage-services routing
in a source checkout.
When to run
- After a vendor-sync of
ovstorage-services/(the canonical contracts
or the suite itself may have moved).
- Against a deployed Omniverse Storage Service server before depending on it from the
services-client plugin.
- Periodically against the reference filesystem implementation to
smoke-test the suite itself.
How to run
The suite is a black-box pytest run against a separately-running
Storage API service. It does NOT boot an in-process server — you
start one first, then point the suite at it.
cd ovstorage-services/apis/storage-api/conformance_tests
# One-time setup
python -m venv .poetry_venv
.poetry_venv/bin/pip install poetry
.poetry_venv/bin/poetry install
source .venv/bin/activate
# In a second terminal: start the reference Storage API service
local-filesystem-service filesystem --static-dir /tmp/storage
# Default endpoints: REST http://localhost:8011, gRPC localhost:50051
# Back in the first terminal: run the suite
run-conformance-tests
run-conformance-tests is a Poetry-script entrypoint installed by
poetry install. It wraps pytest and pre-loads the default
storageapi_testdata_generator plugin; any extra args pass through to
pytest, e.g. run-conformance-tests -k stat -vv.
To target a deployed server instead of the reference filesystem,
override the endpoints via environment variables before running:
TEST_STORAGE_API_REST_ENDPOINT(defaulthttp://localhost:8011)TEST_STORAGE_API_GRPC_ENDPOINT(defaultlocalhost:50051)TEST_STORAGE_API_RESOURCE_BASE(defaultfile-storage://fileservice)
The suite's own