Skip to content

Run Basic Baremetal Test #13

@abhibongale

Description

@abhibongale

Implement the stackbox test command to run Tempest tests against the Ironic environment. This executes the same tests that run in CI, proving the local environment reproduces CI behavior.

Start with a basic baremetal deployment test to verify end-to-end functionality.

Goals

  • Implement stackbox test command
  • Run Tempest tests in container
  • Support test filtering by regex
  • Show test progress and results
  • Handle test failures gracefully
  • Match CI test execution

Tasks

  • Implement test runner in stackbox/core/tempest.py
  • Update CLI test command (remove stub)
  • Run tempest in Docker container
  • Stream test output to console
  • Parse test results
  • Support --regex filter
  • Support --verbose mode
  • Handle test failures
  • Save test results
  • Document test execution

Acceptance Criteria

  • stackbox test runs successfully
  • Can filter tests with --regex
  • Test output is displayed in real-time
  • Pass/fail results are shown
  • Test failures show details
  • Results saved to .stackbox/tempest/results/
  • Can run specific test by name
  • Exit code reflects test success/failure

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions