test_v2_chart_with_ordered_wait_fails

✓ pass on PR2 (PR2 · resource-group sequencing (stacked on PR1)) · 0.1 s

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

Same test on other tiers: PR1 ✓ passPR3 ✓ 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: 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. 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:48:18.719 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-v2-chart-with-ordered-wait-fails --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


18:48:18.755 $ kubectl --context kind-hip0025-e2e create namespace e2e-pr2-v2-chart-with-ordered-wait-fails
[exit 0, 0.0s]
namespace/e2e-pr2-v2-chart-with-ordered-wait-fails created


18:48:18.786 $ .bin/helm-pr2 install r charts/v2-annotated --namespace e2e-pr2-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)


18:48:18.812 $ .bin/helm-pr2 list -o json --kube-context kind-hip0025-e2e
[exit 0, 0.0s]
[]


18:48:18.845 $ kubectl --context kind-hip0025-e2e delete namespace e2e-pr2-v2-chart-with-ordered-wait-fails --wait=false
[exit 0, 0.0s]
namespace "e2e-pr2-v2-chart-with-ordered-wait-fails" deleted


Files

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