test_v2_chart_with_ordered_wait_fails

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

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

Same test on other tiers: PR1 ✓ passPR2 ✓ passCombined ✓ 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: 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. This run did not keep chart archives, so the links go to the chart directories in the harness commit.

Chart directory
charts/v2-annotated

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:43:18.054 $ 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]


18:43:18.088 $ 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


18:43:18.119 $ .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


18:43:18.144 $ .bin/helm-pr3 list -o json --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
[]


18:43:18.177 $ 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