Skip to content

Test on Clean VM #24

@abhibongale

Description

@abhibongale

Test the complete StackBox workflow on a clean Ubuntu VM to verify setup instructions and catch any missing dependencies or assumptions.

Test Environment

  • Fresh Ubuntu 22.04 VM
  • No prior Docker/Python setup
  • Follow documentation exactly

Test Workflow

# 1. System setup
sudo apt-get update
sudo apt-get install -y docker.io python3-pip git

# 2. Clone StackBox
git clone https://github.com/user/stackbox
cd stackbox

# 3. Install
pip3 install -e .

# 4. Clone Ironic
git clone https://opendev.org/openstack/ironic ~/code/ironic

# 5. Initialize
stackbox init ironic-basic --ironic-repo ~/code/ironic

# 6. Run tests
stackbox test

# 7. Make change
echo "# test" >> ~/code/ironic/ironic/__init__.py

# 8. Rebuild
time stackbox rebuild ironic

# 9. Test again
stackbox test

# 10. Clean up
stackbox down --volumes

Acceptance Criteria

  • All commands work on clean VM
  • Documentation is accurate
  • Dependencies are documented
  • Setup completes in < 30 minutes
  • First test run succeeds
  • Rebuild < 2 minutes
  • No manual intervention needed
  • All features work

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