Skip to content

ci: make Nix test guest image pins resilient #3005

Closed as not planned
Closed as not planned

Description

@elezar

Description

The Nix-managed test guest definitions fetch Ubuntu cloud images from mutable release URLs with fixed-output hashes. When Ubuntu republishes an image at the same URL, Nix correctly rejects the download with a hash mismatch and the VM E2E lane fails before tests start.

Context

PR #3004 exposed this in the rootless Podman Ubuntu 26.04 Nix VM lane. The failing job was e2e / E2E (rust-podman-rootless, Ubuntu 26.04 Nix VM) in run https://github.com/NVIDIA/OpenShell/actions/runs/33151151454.

The amd64 Ubuntu 26.04 cloud image pin in nix/test-guest/distros/ubuntu-26-04.nix expected:

sha256-ncfFNjwBRqCLoMmqg02CwsbfuxxHGtmi8KuhGJ4hvgU=

CI downloaded bytes with:

sha256-gZa+nXlYBZy1bGx1yA/fbO6KiIW8FJ6nkdfbHH75MDU=

This prevented the VM image from building, so the guest E2E launcher and Rust tests never ran.

Definition of Done

  • Test guest distro definitions use immutable image references, a project-controlled mirror, or another mechanism that avoids unexpected breakage when upstream release URLs are republished.
  • CI failure output for image hash mismatches points maintainers to the exact distro definition and recovery path.
  • The documented update workflow covers both amd64 and arm64 guest image hashes.
  • The rootless Podman Ubuntu 26.04 Nix VM E2E lane can build its guest image without relying on mutable upstream bytes staying unchanged.

Activity

  1. github-actions commented on Sep 11, 2026

    @github-actions

    This issue has had no activity for 14 days and is now marked stale. It may be closed in 7 days if there is no further activity. Comment or remove the state:stale label to keep it open.

  2. github-actions commented on Oct 14, 2026

    @github-actions

    Closing this issue after 14 days with no activity since it was marked stale. Reopen it if the work is still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:staleInactive item at risk of automatic closure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions