test_upgrade_follows_install_order_and_waits_leaf

✓ pass on PR1 (PR1 · subchart sequencing) · 24.6 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: PR2 ✓ passPR3 — n/aCombined ✓ pass

Requirements

R08 Upgrades apply in install order implemented

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

R35 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

00:59:15.638  patch  Deployment/subchart-a
00:59:19.522  ready  Deployment/subchart-a (new pod)
00:59:19.657  patch  Deployment/subchart-b
00:59:23.532  ready  Deployment/subchart-b (new pod)
00:59:23.647  patch  Deployment/parent
00:59:27.542  ready  Deployment/parent (new pod)
00:59:27.653  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.

00:59:04.331 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-upgrade-follows-install-order-and-waits-leaf --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


00:59:04.382 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr1-upgrade-follows-install-order-and-waits-leaf
[exit 0, 0.0s]
namespace/e2e-pr1-upgrade-follows-install-order-and-waits-leaf created


00:59:04.431 $ .bin/helm-pr1 install r charts/hip-lifecycle --namespace e2e-pr1-upgrade-follows-install-order-and-waits-leaf --set global.rev=1 --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 11.1s]
NAME: r
LAST DEPLOYED: Sun Nov  1 19:59:04 2026
NAMESPACE: e2e-pr1-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


00:59:15.512 $ .bin/helm-pr1 upgrade r charts/hip-lifecycle --namespace e2e-pr1-upgrade-follows-install-order-and-waits-leaf --set global.rev=2 --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 12.1s]
Release "r" has been upgraded. Happy Helming!
NAME: r
LAST DEPLOYED: Sun Nov  1 19:59:15 2026
NAMESPACE: e2e-pr1-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 2
DESCRIPTION: Upgrade complete
TEST SUITE: None


00:59:28.685 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr1-upgrade-follows-install-order-and-waits-leaf --wait=false
[exit 0, 0.1s]
namespace "e2e-pr1-upgrade-follows-install-order-and-waits-leaf" deleted


Files

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