Ovstorage contributor services client conformance

From NVIDIA-Omniverse/ovstorage · View interactive version

Ovstorage contributor services client conformance is an AI agent skill from the GitHub repository NVIDIA-Omniverse/ovstorage. Use when checking the Storage API wire contract that ovstorage-plugin-services-client depends on.

How to use this skill

Skill file

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

or the suite itself may have moved).

services-client plugin.

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:

The suite's own

CODE0

covers the alternative boto3 test-data generator and the OpenAPI

schema-diff hooks.

What it covers

The suite's Gherkin features live under

conformance_tests/src/conformance_tests/features/. The current

coverage areas are:

discovery.

delete-folder semantics.

Write, Copy, Delete, FetchWriteTypeInfo.

Watches (EventConsumerService) and ACL-specific behavior are NOT

covered by this suite today.

Interpreting failures

A test failure either (a) flags a real plugin/server bug, or (b)

indicates the conformance suite has been updated and the

implementation under test hasn't caught up. The pytest output names

the scenario; read the matching .feature and step-definitions under

conformance_tests/src/conformance_tests/features/ for the expected

behavior.

Related reading

CODE0

CODE0

CODE0

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.