Uploaded image for project: 'AI Platform Core Components'
  1. AI Platform Core Components
  2. AIPCC-10906

[opendatahub-io/base-containers] Add a comprehensive test suite to validate built container images

    • False
    • Hide

      None

      Show
      None
    • False

      [3823944385] Upstream Reporter: Lalatendu Mohanty
      Upstream issue status: Closed
      Upstream description:

        1. 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.

        1. 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
        1. 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
        1. Test Scope
      Priority Tests
      ---------- -------
      P0 (Blocking) Smoke tests, user permissions, config files exist
      P1 (Important) Environment variables, OCI labels, CUDA libraries
        1. Out of Scope (Future Work)
      • GPU-dependent tests (require self-hosted runners)
      • Multi-architecture testing
      • Performance/size regression tests

              Unassigned Unassigned
              upstream-sync Upstream Sync
              Antonio's Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: