test_upgrade_follows_install_order_and_waits_leaf

✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 25.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 ✓ 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

08:43:29.838  patch  Deployment/subchart-a
08:43:33.757  ready  Deployment/subchart-a (new pod)
08:43:33.872  patch  Deployment/subchart-b
08:43:37.762  ready  Deployment/subchart-b (new pod)
08:43:37.875  patch  Deployment/parent
08:43:41.776  ready  Deployment/parent (new pod)
08:43:41.866  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.

08:43:17.648 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-upgrade-follows-install-order-and-waits-leaf --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.1s]


08:43:17.709 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-upgrade-follows-install-order-and-waits-leaf
[exit 0, 0.1s]
namespace/e2e-pr2-upgrade-follows-install-order-and-waits-leaf created


08:43:17.782 $ .bin/helm-pr2 install r charts/hip-lifecycle --namespace e2e-pr2-upgrade-follows-install-order-and-waits-leaf --set global.rev=1 --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 0, 11.9s]
NAME: r
LAST DEPLOYED: Thu Oct  8 04:43:18 2026
NAMESPACE: e2e-pr2-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


08:43:29.732 $ .bin/helm-pr2 upgrade r charts/hip-lifecycle --namespace e2e-pr2-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: Thu Oct  8 04:43:29 2026
NAMESPACE: e2e-pr2-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 2
DESCRIPTION: Upgrade complete
TEST SUITE: None


08:43:42.884 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-upgrade-follows-install-order-and-waits-leaf --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-upgrade-follows-install-order-and-waits-leaf" deleted


Files

FileSizeContent
audit.jsonl 252.5 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