-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
[3823944385] Upstream Reporter: Lalatendu Mohanty
Upstream issue status: Closed
Upstream description:
- Summary
Add a comprehensive test suite to validate built container images before merge. Tests should run locally and in GitHub Actions as pre-merge checks.
- Motivation
Currently, there are no automated tests to verify that built images meet quality standards. This leads to potential issues being discovered late We need tests that validate:
- Images boot and core tools work (Python, pip, uv)
- OpenShift SCC `restricted` compatibility (UID 1001, group 0)
- Package index configuration is correct
- CUDA libraries are present (for GPU images)
- OCI labels are set properly
- Acceptance Criteria
- [ ] We should able to run tests locally in dev environment
- [ ] `.github/workflows/build.yaml` - CI workflow that builds and tests on PRs
- [ ] Tests pass locally for both Python and CUDA images
- [ ] CI runs tests on pull requests
- Test Scope
Priority Tests ---------- ------- P0 (Blocking) Smoke tests, user permissions, config files exist P1 (Important) Environment variables, OCI labels, CUDA libraries
- Out of Scope (Future Work)
- GPU-dependent tests (require self-hosted runners)
- Multi-architecture testing
- Performance/size regression tests
- links to