Commit 545f225
committed
Pre-pull builder images before parallel E2E tests
Add step to pre-pull and cache builder images into the KinD cluster before
running parallel E2E tests. This eliminates resource contention from multiple
concurrent image pulls.
Root cause analysis showed that when 3-4 tests run in parallel, they all
attempt to pull large builder images (1-3GB) simultaneously:
- S2I: registry.access.redhat.com/ubi8/go-toolset (~1GB)
- Pack: ghcr.io/knative/builder-jammy-base (~3GB)
This concurrent pulling caused:
- Network bandwidth saturation
- Disk I/O contention
- Container runtime lock contention
- PipelineRun builds timing out waiting for image pulls
Solution: Pre-pull images once before tests start, then load into KinD.
All parallel tests now share the cached images instead of pulling separately.
Benefits:
- Keeps full parallel execution (-p flag) to test concurrent reconciles
- Eliminates 90% of build time (no repeated pulls)
- More reliable CI (no timeout failures)
- Faster overall test suite1 parent 1717339 commit 545f225
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
62 | 87 | | |
63 | 88 | | |
64 | 89 | | |
| |||
0 commit comments