Skip to content

test(tmachine): qualify DEB and RPM package upgrades - #3521

Draft
elezar wants to merge 4 commits into
mainfrom
codex/ubuntu-deb-upgrade-test
Draft

elezar wants to merge 4 commits into
mainfrom
codex/ubuntu-deb-upgrade-test

Conversation

@elezar

@elezar elezar commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

Add tmachine package-upgrade qualification for Ubuntu DEB and Fedora RPM installations. Each lane installs the latest retained prerelease package set and matching runtime images, upgrades to candidate artifacts built by the current workflow, and verifies gateway and sandbox continuity.

Related Issue

No issue required: this is a localized release-qualification test scaffold extending the existing packaged integration architecture.

Changes

  • Stage the latest retained prerelease DEB or RPM artifacts with checksum verification and matching runtime images.
  • Build candidate DEB and RPM artifacts for the label-gated test:upgrade PR path; candidate RPMs use the Fedora container packaging workflow.
  • Add tmachine source installers for Ubuntu/Docker DEB and Fedora/rootless-Podman RPM packages.
  • Verify exact RPM replacement, gateway recovery, an existing sandbox marker, and a newly created sandbox after upgrade.
  • Run both upgrade lanes in Release Dev and Release Tag qualification matrices.
  • Keep DEB and RPM source inputs isolated so both formats can run from one prepared integration artifact.

Testing

  • mise run pre-commit passes
  • nix fmt tests/config.nix
  • nix build .#tmachine-config --no-link
  • Ansible syntax checks for DEB and RPM source/install/upgrade playbooks
  • actionlint for modified branch and release workflows
  • Retained v0.1.0-pre.4 RPM artifact filenames and checksums verified against staging selectors
  • Full tmachine upgrade runs (require candidate workflow artifacts and KVM)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@copy-pr-bot

copy-pr-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@github-actions

Copy link
Copy Markdown

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar

elezar commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

/ok-to-test 878d186

@elezar elezar added the test:upgrade Run tmachine Debian upgrade qualification on PR mirrors label Sep 21, 2026
Signed-off-by: Evan Lezar <elezar@nvidia.com>
@elezar elezar changed the title test(tmachine): add Debian upgrade scenario test(tmachine): qualify DEB and RPM package upgrades Sep 21, 2026
@elezar

elezar commented Sep 21, 2026

Copy link
Copy Markdown
Member Author

/ok-to-test c8ab35d

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

Labels

test:upgrade Run tmachine Debian upgrade qualification on PR mirrors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant