test_v2_chart_with_ordered_wait_fails

✓ pass on PR3 (PR3 · custom readiness) · 0.2 s

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

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

Requirements

R16 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: invalid argument "ordered" for "--wait" flag: invalid wait input "ordered". Valid inputs are watcher, hookOnly, and legacy

error type

flag-invalid

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

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:53:08.478 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr3-v2-chart-with-ordered-wait-fails --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


14:53:08.514 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr3-v2-chart-with-ordered-wait-fails
[exit 0, 0.0s]
namespace/e2e-pr3-v2-chart-with-ordered-wait-fails created


14:53:08.545 $ .bin/helm-pr3 install r charts/v2-annotated --namespace e2e-pr3-v2-chart-with-ordered-wait-fails --wait=ordered --timeout 3m --kube-context kind-hip0025-e2e
[exit 1, 0.0s]
Error: invalid argument "ordered" for "--wait" flag: invalid wait input "ordered". Valid inputs are watcher, hookOnly, and legacy


14:53:08.570 $ .bin/helm-pr3 list -o json --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
[]


14:53:08.604 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr3-v2-chart-with-ordered-wait-fails --wait=false
[exit 0, 0.0s]
namespace "e2e-pr3-v2-chart-with-ordered-wait-fails" deleted


Files

FileSizeContent
commands.log 967 B the commands above
observations.json 372 B the observations above, as JSON