GCP E2E Test Artifacts (v2 Framework)
This document describes the artifact directory structure produced by the e2e-v2-gke workflow.
Top-Level Files
<run-id>/
├── build-log.txt # main CI operator execution log
├── clone-log.txt # human-readable git clone and PR merge output (presubmit only)
├── clone-records.json # machine-readable clone details: commands, durations, PR metadata (presubmit only)
├── finished.json # job completion: result (SUCCESS/FAILURE), timestamp, commit SHAs
├── podinfo.json # full Kubernetes Pod spec of the CI pod
├── prowjob.json # full ProwJob CR: job name, refs, spec, labels
├── prowjob_junit.xml # single JUnit test: "Job run should complete before timeout"
├── sidecar-logs.json # Prow sidecar: secret censoring and artifact upload logs
├── started.json # job start: timestamp, PR number, repos and commit SHAs
└── artifacts/ # all CI step artifacts and build outputs
artifacts/
artifacts/
├── ci-operator-metrics.json # step durations and success/failure events per step
├── ci-operator-step-graph.json # full step graph: names, dependencies, timing, K8s manifests
├── ci-operator.log # CI operator execution log
├── junit_operator.xml # JUnit results for all step graph steps
├── metadata.json # repo, PR, commit SHAs, pod name, work namespace
├── build-logs/ # binary compilation logs (presubmit only)
│ ├── hypershift-amd64.log
│ ├── hypershift-cli-amd64.log
│ ├── hypershift-operator-amd64.log
│ ├── hypershift-tests-amd64.log
│ └── src-amd64.log
├── build-resources/ # K8s resources created during the build phase
│ ├── builds.json # OpenShift Build objects
│ ├── events.json # Kubernetes events
│ ├── imagestreams.json # ImageStream pipeline tags
│ └── pods.json # build pods
├── release/ # resolved release payload (periodic only)
│ └── artifacts/
│ └── release-images-latest # ImageStream with all component image SHAs for this run
└── e2e-v2-gke/ # all step artifacts for the e2e-v2-gke workflow
artifacts/e2e-v2-gke/
The workflow provisions a GKE management cluster, installs the HyperShift
operator, and then uses the v2 lifecycle binaries (create-guests, run-tests,
dump-guests, destroy-guests) to create the GCP guest clusters, run the test
suite against them, and tear them down. Cluster names and variants come from the
resolved TestPlan; the default GCP plan creates two clusters, one per variant
(default and ingress).
Each step directory contains build-log.txt, finished.json, and
sidecar-logs.json. Steps with additional artifacts are noted below.
e2e-v2-gke/
├── hypershift-gcp-wif-auth/ # writes WIF credential config to SHARED_DIR
├── ipi-install-rbac/ # grants image-puller RBAC to the CI pod
├── hypershift-gcp-gke-provision/ # creates ephemeral GCP projects, GKE Autopilot cluster
├── hypershift-gcp-gke-prerequisites/ # installs CRDs (prometheus-operator, Route, DNSEndpoint)
├── hypershift-install/ # installs HyperShift operator with GCP support
├── hypershift-gcp-control-plane-setup/ # creates operator GCP SA, configures WIF for PSC and ExternalDNS
├── hypershift-gcp-hosted-cluster-setup/ # generates RSA keypair, creates WIF pool/SAs, HC network
├── hypershift-resolve-nodepool-releases/ # resolves n-1..n-4 release images for NodePool skew tests
├── hypershift-write-test-plan/ # optionally writes a test plan to SHARED_DIR
├── hypershift-gcp-create-guests/ # runs `create-guests`; creates guest clusters, waits for Available and rollout
│ └── artifacts/
│ └── junit_hosted_cluster_<hc-name>.xml # version-rollout result, per cluster reaching rollout
├── tests/ # runs `run-tests`, one `test-e2e-v2` process per TestGroup
│ └── artifacts/
│ └── junit_<test-group>.xml # one per TestGroup
├── dump/ # runs `dump-guests`; `hypershift dump cluster` per cluster
│ └── artifacts/
│ └── <hc-name>/ # one directory per cluster
│ ├── hypershift-dump.tar.gz
│ ├── aggregated-discovery-api.yaml
│ ├── aggregated-discovery-apis.yaml
│ ├── event-filter.html
│ ├── timestamp
│ ├── cluster-scoped-resources/
│ │ └── core/
│ │ └── nodes/
│ │ └── <node-name>.yaml
│ ├── hostedcluster-<hc-name>/ # guest cluster dump (worker node logs + all guest namespaces)
│ │ ├── aggregated-discovery-api.yaml
│ │ ├── aggregated-discovery-apis.yaml
│ │ ├── event-filter.html
│ │ ├── timestamp
│ │ ├── worker.nodes.log # journal logs from worker nodes
│ │ ├── cluster-scoped-resources/
│ │ └── namespaces/ # guest namespaces (kube-system, openshift-*, etc.)
│ └── namespaces/
│ ├── clusters/
│ │ ├── core/
│ │ │ └── configmaps/
│ │ └── hypershift.openshift.io/
│ │ ├── hostedclusters/
│ │ └── nodepools/
│ ├── clusters-<hc-name>/
│ │ ├── apps/
│ │ │ ├── deployments/
│ │ │ ├── replicasets/
│ │ │ └── statefulsets/
│ │ ├── batch/
│ │ ├── cluster.x-k8s.io/
│ │ │ ├── clusters/
│ │ │ ├── machinedeployments/
│ │ │ ├── machines/
│ │ │ └── machinesets/
│ │ ├── core/
│ │ │ ├── configmaps/
│ │ │ ├── endpoints/
│ │ │ ├── events/
│ │ │ ├── persistentvolumeclaims/
│ │ │ ├── pods/
│ │ │ │ └── logs/ # one log file per container
│ │ │ └── services/
│ │ ├── hypershift.openshift.io/
│ │ │ ├── controlplanecomponents/
│ │ │ └── hostedcontrolplanes/
│ │ ├── monitoring.coreos.com/
│ │ ├── networking.k8s.io/
│ │ ├── policy/
│ │ └── route.openshift.io/
│ └── hypershift/
│ ├── apps/
│ │ ├── deployments/
│ │ └── replicasets/
│ ├── core/
│ │ ├── configmaps/
│ │ ├── endpoints/
│ │ ├── events/
│ │ ├── pods/
│ │ └── services/
│ └── monitoring.coreos.com/
│ ├── podmonitors/
│ └── servicemonitors/
├── hypershift-debug/ # generates quick-access debug links
│ └── artifacts/
│ └── custom-link-tools.html
├── destroy-guests/ # runs `destroy-guests`; `hypershift destroy cluster gcp` per cluster
└── hypershift-gcp-gke-deprovision/ # deletes hosted-cluster and control-plane GCP projects
Quick Navigation Index
Key Resources
| What you're looking for | Path |
|---|---|
| Guest cluster dump | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/hostedcluster-<hc-name>/ |
| Guest cluster namespaces | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/hostedcluster-<hc-name>/namespaces/ |
| Worker node logs | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/hostedcluster-<hc-name>/worker.nodes.log |
| Control plane pod logs | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters-<hc-name>/core/pods/logs/ |
| HostedCluster CR | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters/hypershift.openshift.io/hostedclusters/ |
| NodePool CR | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters/hypershift.openshift.io/nodepools/ |
| HostedControlPlane CR | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters-<hc-name>/hypershift.openshift.io/hostedcontrolplanes/ |
| Control plane pods | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters-<hc-name>/core/pods/ |
| Control plane deployments | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters-<hc-name>/apps/deployments/ |
| CAPI machines | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/clusters-<hc-name>/cluster.x-k8s.io/machines/ |
| HyperShift operator pods | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/hypershift/core/pods/ |
| HyperShift operator deployments | artifacts/e2e-v2-gke/dump/artifacts/<hc-name>/namespaces/hypershift/apps/deployments/ |
| Cluster version-rollout result | artifacts/e2e-v2-gke/hypershift-gcp-create-guests/artifacts/junit_hosted_cluster_<hc-name>.xml |
| Test results | artifacts/e2e-v2-gke/tests/artifacts/junit_<test-group>.xml |
<hc-name>is the HostedCluster name, derived fromPROW_JOB_IDand the cluster variant (e.g.default-2e2dd848abfor thedefaultvariant), making the full control plane namespaceclusters-<hc-name>. The actual value is visible in theartifacts/e2e-v2-gke/dump/artifacts/directory listing.
create-guestswritesjunit_hosted_cluster_<hc-name>.xmlonly once a cluster reaches the version-rollout phase; cluster creation or availability failures are reported in the step log instead.
Test Results
| File | Description |
|---|---|
artifacts/e2e-v2-gke/hypershift-gcp-create-guests/artifacts/junit_hosted_cluster_<hc-name>.xml |
Per-cluster version-rollout result; emitted only after the cluster becomes Available, so creation and availability failures appear in the step log instead |
artifacts/e2e-v2-gke/tests/artifacts/junit_<test-group>.xml |
Ginkgo v2 results for one TestGroup (the default GCP plan has two groups, default and ingress) |
artifacts/junit_operator.xml |
CI operator-level results |