test_uninstall_runs_in_reverse_order

✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 9.0 s

Uninstall after ordered install deletes app before database and queue (reverse of install order).

Same test on other tiers: PR1 — n/aPR3 — 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, groups.

What the test observed

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

uninstall timeline

18:48:15.699  delete Deployment/app
18:48:15.810  delete Deployment/queue
18:48:15.810  delete Deployment/db

deletion timestamps

app18:48:15.699
queue18:48:15.810
db18:48:15.810

Charts

The charts that the helm commands below read. This run did not keep chart archives, so the links go to the chart directories in the harness commit.

Chart directory
charts/hip-groups-upgrade

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.

18:48:07.891 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-uninstall-runs-in-reverse-order --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


18:48:07.926 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-uninstall-runs-in-reverse-order
[exit 0, 0.0s]
namespace/e2e-pr2-uninstall-runs-in-reverse-order created


18:48:07.966 $ .bin/helm-pr2 install r charts/hip-groups-upgrade --namespace e2e-pr2-uninstall-runs-in-reverse-order --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 7.7s]
NAME: r
LAST DEPLOYED: Mon Oct  5 14:48:08 2026
NAMESPACE: e2e-pr2-uninstall-runs-in-reverse-order
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


18:48:15.648 $ .bin/helm-pr2 uninstall r --namespace e2e-pr2-uninstall-runs-in-reverse-order --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 0.3s]
release "r" uninstalled


18:48:16.925 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-uninstall-runs-in-reverse-order --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-uninstall-runs-in-reverse-order" deleted


Files

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