Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/content/how-to/ci/triage/presubmit-failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,5 @@ Post in [#forum-ocp-hypershift](https://redhat.enterprise.slack.com/archives/C04
- [Debugging CI Failures](../v2-testing/debugging.md) — Reading JUnit XML, Ginkgo output, and dump-guests artifacts
- [V2 E2E Testing Overview](../v2-testing/index.md) — Architecture of the v2 test framework
- [CI Pipeline Configuration](../v2-testing/ci-pipeline.md) — How presubmit jobs are configured
- [Test Flow](../v2-testing/test-flow.md) — End-to-end CI sequence, process boundaries, and inter-process communication
- [Daily CI Health](daily-health.md) — Monitoring periodic and presubmit job health
2 changes: 1 addition & 1 deletion docs/content/how-to/ci/v2-testing/ci-pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The `pre` steps run before tests (setup), `test` steps run the actual tests, and

## The Four CI Binaries

All v2 CI logic is implemented in Go binaries built from `test/e2e/v2/cmd/` and shipped in the `hypershift-tests` image at `/hypershift/bin/`.
All v2 CI logic is implemented in Go binaries built from `test/e2e/v2/cmd/` and shipped in the `hypershift-tests` image at `/hypershift/bin/`. For how these binaries fit into the overall CI sequence — process boundaries, parallelism, and inter-process communication — see [Test Flow](test-flow.md).

### `create-guests`

Expand Down
2 changes: 1 addition & 1 deletion docs/content/how-to/ci/v2-testing/debugging.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Debugging CI Failures

This guide explains how to diagnose failing v2 CI jobs by tracing test failures to their source clusters and reading diagnostic artifacts.
This guide explains how to diagnose failing v2 CI jobs by tracing test failures to their source clusters and reading diagnostic artifacts. For background on the overall CI pipeline sequence and process boundaries, see [Test Flow](test-flow.md).

## Finding Test Results

Expand Down
2 changes: 2 additions & 0 deletions docs/content/how-to/ci/v2-testing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ flowchart TD
5. **dump-guests** collects diagnostic artifacts in parallel. Always exits 0.
6. **destroy-guests** tears down all clusters in parallel. Exits non-zero if any destroy fails.

For the complete end-to-end sequence — including process boundaries, inter-process communication, and Ginkgo lifecycle details — see [Test Flow](test-flow.md).

!!! info "Key insight"
`run-tests` doesn't run tests itself — it invokes the same compiled `bin/test-e2e-v2` binary multiple times with different label filters and cluster targets.

Expand Down
398 changes: 398 additions & 0 deletions docs/content/how-to/ci/v2-testing/test-flow.md

Large diffs are not rendered by default.

864 changes: 862 additions & 2 deletions docs/content/reference/aggregated-docs.md

Large diffs are not rendered by default.

447 changes: 447 additions & 0 deletions docs/content/reference/e2e-v2-test-flow.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ nav:
- 'Writing V2 Tests': how-to/ci/v2-testing/writing-tests.md
- 'CI Pipeline Configuration': how-to/ci/v2-testing/ci-pipeline.md
- 'Debugging CI Failures': how-to/ci/v2-testing/debugging.md
- 'Test Flow': how-to/ci/v2-testing/test-flow.md
- 'Migrating from V1': how-to/ci/v2-testing/migration.md
- 'Cluster Capabilities': how-to/cluster-capabilities.md
- 'Common':
Expand Down
Loading