Python / pytest
Run the smoke-test subset
pytest -q -m smoke
Operational command for Run the smoke-test subset. Focus fields: collected tests, passed/failed/skipped counts and first failure trace.
Use when working the canonical Topic automation--testing-smoke-testing and the matching failure boundary.
inspect the first failing test and its fixture/dependency before broadening the suite
Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Low impactProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
collected tests, passed/failed/skipped counts and first failure traceImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
This command directly exposes collected tests, passed/failed/skipped counts and first failure trace for the selected object/context at execution time.
It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
inspect the first failing test and its fixture/dependency before broadening the suite
Command guidance
Execution context
Python / pytest
Use when
Use when working the canonical Topic automation--testing-smoke-testing and the matching failure boundary.
Important fields
collected tests, passed/failed/skipped counts and first failure trace
Common problems
Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.
Operational impact
Low-impact diagnostic/test action; understand platform effects before production use.
Runtime cautions
Capture the command, selected scope and timestamp so the result can be correlated with the original test.
Technical context
Known-good: the intended smoke set is collected and all critical tests pass. Suspicious: collection differs from expectation or one or more smoke tests fail. Next discriminating check: inspect the first failing test and its fixture/dependency before broadening the suite.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Illustrative Known-good interpretationKnown-good · Python / pytest
Illustrative state cue only; not captured output: the intended smoke set is collected and all critical tests passhealthy
Run the smoke-test subset — Known-good. Inspect collected tests, passed/failed/skipped counts and first failure trace. Observed cue: the intended smoke set is collected and all critical tests pass. This supports only the state returned by pytest -q -m smoke for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect the first failing test and its fixture/dependency before broadening the suite. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes collected tests, passed/failed/skipped counts and first failure trace for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect the first failing test and its fixture/dependency before broadening the suite
Illustrative Transitional interpretationTransitional · Python / pytest
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.transitional
Run the smoke-test subset — Transitional. Inspect collected tests, passed/failed/skipped counts and first failure trace. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by pytest -q -m smoke for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect the first failing test and its fixture/dependency before broadening the suite. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes collected tests, passed/failed/skipped counts and first failure trace for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect the first failing test and its fixture/dependency before broadening the suite
Illustrative Broken interpretationBroken · Python / pytest
Illustrative state cue only; not captured output: collection differs from expectation or one or more smoke tests failbroken
Run the smoke-test subset — Broken. Inspect collected tests, passed/failed/skipped counts and first failure trace. Observed cue: collection differs from expectation or one or more smoke tests fail. This supports only the state returned by pytest -q -m smoke for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: inspect the first failing test and its fixture/dependency before broadening the suite. Correlate the result with the same workload/test before declaring recovery.
This command directly exposes collected tests, passed/failed/skipped counts and first failure trace for the selected object/context at execution time.
Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.inspect the first failing test and its fixture/dependency before broadening the suite