test_v2_chart_with_ordered_wait_fails

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

V2 chart: --wait=ordered exits non-zero and creates no release.

Same test on other tiers: PR1 ✓ passPR2 ✓ passPR3 ✓ pass

Requirements

R14 Charts v2 and below behave exactly as before implemented

Helm will continue to install/upgrade/uninstall/rollback all resources and dependencies at one go for all charts using Charts v2 and below.HIP-0025, Backwards compatibility

What the test observed

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

install exit code

1

stderr

Error: INSTALLATION FAILED: --wait=ordered requires chart apiVersion v3 (chart "v2-annotated" has apiVersion v2)

error type

v2-rejected

releases in namespace

(none)

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/v2-annotated v2-annotated 0.1.0 · apiVersion v2R14 v2 chart with group annotations - must work with plain --wait, reject --wait=ordered v2-annotated-0.1.0.tgz · 706 B d1010167fd1c25c4

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.

01:07:24.952 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-v2-chart-with-ordered-wait-fails --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


01:07:24.990 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-v2-chart-with-ordered-wait-fails
[exit 0, 0.0s]
namespace/e2e-combined-v2-chart-with-ordered-wait-fails created


01:07:25.024 $ .bin/helm-combined install r charts/v2-annotated --namespace e2e-combined-v2-chart-with-ordered-wait-fails --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 1, 0.0s]
Error: INSTALLATION FAILED: --wait=ordered requires chart apiVersion v3 (chart "v2-annotated" has apiVersion v2)


01:07:25.051 $ .bin/helm-combined list -o json --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
[]


01:07:25.085 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-v2-chart-with-ordered-wait-fails --wait=false
[exit 0, 0.0s]
namespace "e2e-combined-v2-chart-with-ordered-wait-fails" deleted


Files

FileSizeContent
commands.log 990 B the commands above
observations.json 350 B the observations above, as JSON