test_upgrade_follows_install_order_and_waits_leaf

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

18:41:58.110  patch  Deployment/subchart-a
18:42:01.444  ready  Deployment/subchart-a (new pod)
18:42:01.573  patch  Deployment/subchart-b
18:42:05.650  ready  Deployment/subchart-b (new pod)
18:42:05.750  patch  Deployment/parent
18:42:09.446  ready  Deployment/parent (new pod)
18:42:09.550  helm writes release record: deployed

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-lifecycle

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:41:47.955 $ 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]


18:41:48.018 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-upgrade-follows-install-order-and-waits-leaf
[exit 0, 0.0s]
namespace/e2e-pr2-upgrade-follows-install-order-and-waits-leaf created


18:41:48.072 $ .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, 9.4s]
NAME: r
LAST DEPLOYED: Mon Oct  5 14:41:48 2026
NAMESPACE: e2e-pr2-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None


18:41:57.515 $ .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.0s]
Release "r" has been upgraded. Happy Helming!
NAME: r
LAST DEPLOYED: Mon Oct  5 14:41:57 2026
NAMESPACE: e2e-pr2-upgrade-follows-install-order-and-waits-leaf
STATUS: deployed
REVISION: 2
DESCRIPTION: Upgrade complete
TEST SUITE: None


18:42:10.570 $ 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 248.9 KB 49 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