✓ pass on Combined (All three PRs merged) · 1.2 s
Circular group dependency (a -> b -> c -> a) exits non-zero naming the cycle, nothing applied.
Same test on other tiers: PR1 — n/aPR2 ✓ passPR3 — n/a
Requirements
R21 Resource-group cycles are detected and reported implemented
During the templating phase, Helm will have logic to detect, and report any circular dependencies found in the chart templates.HIP-0025, Chart dependencies example
The test needs these tier features: ordered, groups.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
exit code
1
stderr
Error: INSTALLATION FAILED: resource-group circular dependency detected in hip-groups-cycle: cycle detected among nodes: group-a, group-b, group-c
apiserver applies
(none)
helm lint exit code
1
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 directory | Chart | Archive | sha256 |
|---|---|---|---|
| charts/hip-groups-cycle | hip-groups-cycle 0.1.0 · apiVersion v3R21 circular group dependency - A -> B -> C -> A |
hip-groups-cycle-0.1.0.tgz · 417 B | df80e6310334f49a |
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.
03:28:58.631 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-group-cycle-detected-and-rejected --ignore-not-found --wait=true --timeout=120s [exit 0, 0.0s] 03:28:58.677 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-group-cycle-detected-and-rejected [exit 0, 0.0s] namespace/e2e-combined-group-cycle-detected-and-rejected created 03:28:58.718 $ .bin/helm-combined install r charts/hip-groups-cycle --namespace e2e-combined-group-cycle-detected-and-rejected --wait=ordered --kube-context kind-hip0025-e2e [exit 1, 0.1s] Error: INSTALLATION FAILED: resource-group circular dependency detected in hip-groups-cycle: cycle detected among nodes: group-a, group-b, group-c 03:28:59.802 $ .bin/helm-combined lint charts/hip-groups-cycle --kube-context kind-hip0025-e2e [exit 1, 0.0s] ==> Linting charts/hip-groups-cycle [INFO] Chart.yaml: icon is recommended [ERROR] /Users/rohit/Documents/helm-hip-0025-e2e/charts/hip-groups-cycle: resource-group circular dependency detected in hip-groups-cycle: cycle detected among nodes: group-a, group-b, group-c Error: 1 chart(s) linted, 1 chart(s) failed 03:28:59.835 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-group-cycle-detected-and-rejected --wait=false [exit 0, 0.0s] namespace "e2e-combined-group-cycle-detected-and-rejected" deleted
Files
| File | Size | Content |
|---|---|---|
| audit.jsonl | 2.7 KB | 2 kube-apiserver audit records for the namespace of the test |
| commands.log | 1.3 KB | the commands above |
| observations.json | 367 B | the observations above, as JSON |