test_readiness_timeout_per_batch_cap

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

--readiness-timeout 10s under --timeout 2m fails the never-ready batch after ~10s, not 1m or 2m.

Same test on other tiers: PR1 ✓ passPR2 ✓ passPR3 — n/a

Requirements

R12 Readiness timeout defaults to 1m, is set by --readiness-timeout, and cannot exceed --timeout implemented

Helm will wait up to a default of **1 minute** for a resource to either succeed or fail. [...] This timeout can be customized using the --readiness-timeout CLI flag [...] However, the specified readiness timeout must not exceed the overall --timeout value.HIP-0025, Readiness

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).

install

exit 1 after 10.1s

error

context deadline exceeded

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/hip-lifecycle-failure hip-lifecycle-failure 0.1.0 · apiVersion v3Chart with a never-ready subchart to test failure handling hip-lifecycle-failure-0.1.0.tgz · 721 B 81e8152aaa1933a7

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:02:13.122 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-readiness-timeout-per-batch-cap --ignore-not-found --wait=true --timeout=120s
[exit 0, 0.0s]


01:02:13.158 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-readiness-timeout-per-batch-cap
[exit 0, 0.0s]
namespace/e2e-combined-readiness-timeout-per-batch-cap created


01:02:13.193 $ .bin/helm-combined install r charts/hip-lifecycle-failure --namespace e2e-combined-readiness-timeout-per-batch-cap --wait=ordered --readiness-timeout 10s --timeout 2m --kube-context kind-hip0025-e2e
[exit 1, 10.1s]
Error: INSTALLATION FAILED: resource Deployment/e2e-combined-readiness-timeout-per-batch-cap/broken not ready. status: InProgress, message: Available: 0/1
context deadline exceeded


01:02:23.284 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-readiness-timeout-per-batch-cap --wait=false
[exit 0, 0.0s]
namespace "e2e-combined-readiness-timeout-per-batch-cap" deleted


Files

FileSizeContent
commands.log 987 B the commands above
observations.json 141 B the observations above, as JSON