test_uninstall_reverse_order_for_ordered_install

✓ pass on PR1 (PR1 · subchart sequencing) · 11.3 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

R10 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

14:52:07.505  delete Deployment/parent
14:52:07.613  delete Deployment/subchart-b
14:52:07.720  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.

14:51:57.618 $ 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]


14:51:57.657 $ 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


14:51:57.693 $ .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, 9.8s]
NAME: r
LAST DEPLOYED: Mon Nov 16 09:51:57 2026
NAMESPACE: e2e-pr1-uninstall-reverse-order-for-ordered-install
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


14:52:07.463 $ .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


14:52:08.836 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-uninstall-reverse-order-for-ordered-install --wait=false
[exit 0, 0.0s]
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