test_uninstall_reverse_order_for_ordered_install

✓ pass on PR1 (PR1 · subchart sequencing) · 13.4 s

Uninstall of a sequenced release deletes in exact reverse: parent -> b -> a, each after the previous is gone.

Same test on other tiers: PR2 ✓ passPR3 — n/aCombined ✓ pass

Requirements

R09 Uninstall runs in reverse order implemented

Uninstalls: Helm would uninstall resources in the reverse order they were installed, as per the sequencing order.HIP-0025, Sequencing order

The test needs these tier features: ordered, subcharts.

What the test observed

The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).

uninstall timeline

00:59:40.691  delete Deployment/parent
00:59:40.803  delete Deployment/subchart-b
00:59:40.915  delete Deployment/subchart-a

Charts

The charts that the helm commands below read. The run keeps each chart as an archive. Click a chart to see its files and the commands that inspect or install it.

Chart directoryChartArchivesha256
charts/hip-lifecycle hip-lifecycle 0.1.0 · apiVersion v3Parent with sequenced subcharts a -> b -> parent for lifecycle tests (upgrade, uninstall, rollback) hip-lifecycle-0.1.0.tgz · 1.2 KB a06bfada6ae70d40

Commands

Every command that the test ran, in order, with the start time, the exit code and the output. The paths are relative to the root of the repository.

00:59:28.738 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-uninstall-reverse-order-for-ordered-install --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


00:59:28.780 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr1-uninstall-reverse-order-for-ordered-install
[exit 0, 0.0s]
namespace/e2e-pr1-uninstall-reverse-order-for-ordered-install created


00:59:28.817 $ .bin/helm-pr1 install r charts/hip-lifecycle --namespace e2e-pr1-uninstall-reverse-order-for-ordered-install --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 11.8s]
NAME: r
LAST DEPLOYED: Sun Nov  1 19:59:28 2026
NAMESPACE: e2e-pr1-uninstall-reverse-order-for-ordered-install
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


00:59:40.643 $ .bin/helm-pr1 uninstall r --namespace e2e-pr1-uninstall-reverse-order-for-ordered-install --kube-context kind-hip0025-e2e
[exit 0, 0.4s]
release "r" uninstalled


00:59:42.041 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-uninstall-reverse-order-for-ordered-install --wait=false
[exit 0, 0.1s]
namespace "e2e-pr1-uninstall-reverse-order-for-ordered-install" deleted


Files

FileSizeContent
audit.jsonl 14.9 KB 11 kube-apiserver audit records for the namespace of the test
commands.log 1.1 KB the commands above
observations.json 218 B the observations above, as JSON