✓ pass on Combined (All three PRs merged) · 1.1 s
Cycle (a→b, b→a) fails helm install and helm lint; no objects applied.
Same test on other tiers: PR1 ✓ passPR2 ✓ passPR3 — n/a
Requirements
R06 Circular dependencies are detected and reported implemented
This approach of building a directed acyclic graph (DAG) is prone to circular dependencies. 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, subcharts.
What the test observed
The test asserts on these facts. Times come from the kube-apiserver audit log (UTC).
install exit code
1
install stderr
Error: INSTALLATION FAILED: subchart circular dependency detected in hip-subcharts-cycle: cycle detected among nodes: a, b
helm apply count
0
lint exit code
1
lint output
==> Linting charts/hip-subcharts-cycle [INFO] Chart.yaml: icon is recommended [INFO] values.yaml: file does not exist [ERROR] /Users/rohit/Documents/helm-hip-0025-e2e/charts/hip-subcharts-cycle: subchart circular dependency detected in hip-subcharts-cycle: cycle detected among nodes: a, b Error: 1 chart(s) linted, 1 chart(s) failed
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/hip-subcharts-cycle |
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:47:21.631 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-subchart-cycle-detected --ignore-not-found --wait=true --timeout=120s [exit 0, 0.0s] 18:47:21.676 $ kubectl --context kind-hip0025-e2e create namespace e2e-combined-subchart-cycle-detected [exit 0, 0.0s] namespace/e2e-combined-subchart-cycle-detected created 18:47:21.713 $ .bin/helm-combined install cycle-test charts/hip-subcharts-cycle --wait=ordered --timeout 2m --kube-context kind-hip0025-e2e [exit 1, 0.1s] Error: INSTALLATION FAILED: subchart circular dependency detected in hip-subcharts-cycle: cycle detected among nodes: a, b 18:47:22.792 $ .bin/helm-combined lint charts/hip-subcharts-cycle --kube-context kind-hip0025-e2e [exit 1, 0.0s] ==> Linting charts/hip-subcharts-cycle [INFO] Chart.yaml: icon is recommended [INFO] values.yaml: file does not exist [ERROR] /Users/rohit/Documents/helm-hip-0025-e2e/charts/hip-subcharts-cycle: subchart circular dependency detected in hip-subcharts-cycle: cycle detected among nodes: a, b Error: 1 chart(s) linted, 1 chart(s) failed 18:47:22.823 $ kubectl --context kind-hip0025-e2e delete namespace e2e-combined-subchart-cycle-detected --wait=false [exit 0, 0.0s] namespace "e2e-combined-subchart-cycle-detected" deleted
Files
| File | Size | Content |
|---|---|---|
| audit.jsonl | 2.6 KB | 2 kube-apiserver audit records for the namespace of the test |
| commands.log | 1.2 KB | the commands above |
| observations.json | 746 B | the observations above, as JSON |