test_upgrade_follows_install_order_and_waits_leaf

✓ pass on Combined (All three PRs merged) · 20.1 s

Upgrade patches a -> b -> parent, each after the previous is ready again; helm finishes after the leaf is ready.

Same test on other tiers: PR1 ✓ passPR2 ✓ passPR3 — n/a

Requirements

R09 Upgrades apply in install order implemented

A similar process would apply for upgrades. [...] Upgrades would follow the same order as installation.HIP-0025, Specification

R15 Readiness is checked only for resources something depends on deviation

A resources readiness is checked if there is a resource that depends on it as per the sequencing DAG, otherwise the checks are ignored.HIP-0025, Readiness

Note: Decision D1: the executor also waits on leaf batches, so a successful install means every sequenced resource reached ready. Skipping leaf checks would report success for a release whose last batch never became ready.

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).

upgrade timeline

14:51:56.540  patch  Deployment/subchart-a
14:51:59.441  ready  Deployment/subchart-a (new pod)
14:51:59.554  patch  Deployment/subchart-b
14:52:02.454  ready  Deployment/subchart-b (new pod)
14:52:02.568  patch  Deployment/parent
14:52:05.457  ready  Deployment/parent (new pod)
14:52:05.562  helm writes release record: deployed

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:46.481 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-upgrade-follows-install-order-and-waits-leaf --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


14:51:46.523 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-upgrade-follows-install-order-and-waits-leaf
[exit 0, 0.0s]
namespace/e2e-combined-upgrade-follows-install-order-and-waits-leaf created


14:51:46.563 $ .bin/helm-combined install r charts/hip-lifecycle --namespace e2e-combined-upgrade-follows-install-order-and-waits-leaf --set global.rev=1 --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 9.9s]
NAME: r
LAST DEPLOYED: Mon Nov 16 09:51:46 2026
NAMESPACE: e2e-combined-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


14:51:56.448 $ .bin/helm-combined upgrade r charts/hip-lifecycle --namespace e2e-combined-upgrade-follows-install-order-and-waits-leaf --set global.rev=2 --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 9.1s]
Release "r" has been upgraded. Happy Helming!
NAME: r
LAST DEPLOYED: Mon Nov 16 09:51:56 2026
NAMESPACE: e2e-combined-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 2
DESCRIPTION: Upgrade complete
TEST SUITE: None


14:52:06.577 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-upgrade-follows-install-order-and-waits-leaf --wait=false
[exit 0, 0.0s]
namespace "e2e-combined-upgrade-follows-install-order-and-waits-leaf" deleted


Files

FileSizeContent
audit.jsonl 247.1 KB 48 kube-apiserver audit records for the namespace of the test
commands.log 1.5 KB the commands above
observations.json 458 B the observations above, as JSON