Skip to content

Conversation

@jcpowermac
Copy link
Contributor

@jcpowermac jcpowermac commented Nov 14, 2025

… tree has been built'

After bumping to k8s 1.34 (commit dd24836), which updated ginkgo/v2 from v2.23.4 to v2.27.2, all VSphereMultiNetworks tests began failing immediately with the error "cannot clone suite after tree has been built".

Root cause: The newer Ginkgo version enforces stricter checks preventing suite cloning after the tree has been built. When tests run in parallel, child processes are spawned with the "run-test" command, which re-enters main() and calls BuildExtensionTestSpecsFromOpenShiftGinkgoSuite() again, rebuilding the Ginkgo suite tree. When the child process attempts to run the test, Ginkgo's RunSpecs() calls PushClone() which fails because the tree was already built.

Solution: Only build the Ginkgo test specs when NOT in "run-test" mode. This prevents child processes from rebuilding the suite tree, allowing the clone operation to succeed during parallel test execution.

🤖 Generated with Claude Code

… tree has been built'

After bumping to k8s 1.34 (commit dd24836), which updated ginkgo/v2 from
v2.23.4 to v2.27.2, all VSphereMultiNetworks tests began failing immediately
with the error "cannot clone suite after tree has been built".

Root cause: The newer Ginkgo version enforces stricter checks preventing suite
cloning after the tree has been built. When tests run in parallel, child
processes are spawned with the "run-test" command, which re-enters main() and
calls BuildExtensionTestSpecsFromOpenShiftGinkgoSuite() again, rebuilding the
Ginkgo suite tree. When the child process attempts to run the test, Ginkgo's
RunSpecs() calls PushClone() which fails because the tree was already built.

Solution: Only build the Ginkgo test specs when NOT in "run-test" mode. This
prevents child processes from rebuilding the suite tree, allowing the clone
operation to succeed during parallel test execution.

Co-Authored-By: Claude <noreply@anthropic.com>
@jcpowermac
Copy link
Contributor Author

/test ?

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 14, 2025

@jcpowermac: The following commands are available to trigger required jobs:

/test e2e-aws-operator
/test e2e-aws-ovn
/test e2e-aws-ovn-upgrade
/test e2e-metal-ipi
/test e2e-metal-ipi-ovn-ipv6
/test e2e-metal-ipi-virtualmedia
/test goimports
/test golint
/test govet
/test images
/test okd-scos-images
/test unit
/test verify-crds-sync
/test verify-deps

The following commands are available to trigger optional jobs:

/test e2e-aws-operator-techpreview
/test e2e-azure-manual-oidc
/test e2e-azure-operator
/test e2e-azure-operator-techpreview
/test e2e-azure-ovn
/test e2e-gcp-operator
/test e2e-gcp-ovn
/test e2e-metal-ipi-ovn-dualstack
/test e2e-metal-ipi-upgrade
/test e2e-nutanix
/test e2e-nutanix-operator-multi-subnet
/test e2e-openstack
/test e2e-vsphere-host-groups-ovn-techpreview
/test e2e-vsphere-operator
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-multi-vcenter
/test e2e-vsphere-ovn-serial
/test e2e-vsphere-ovn-techpreview
/test e2e-vsphere-ovn-techpreview-serial
/test e2e-vsphere-ovn-upgrade
/test e2e-vsphere-static-ovn
/test okd-scos-e2e-aws-ovn
/test regression-clusterinfra-aws-ipi-mapi

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-machine-api-operator-main-e2e-aws-operator
pull-ci-openshift-machine-api-operator-main-e2e-aws-ovn
pull-ci-openshift-machine-api-operator-main-e2e-aws-ovn-upgrade
pull-ci-openshift-machine-api-operator-main-e2e-metal-ipi
pull-ci-openshift-machine-api-operator-main-e2e-metal-ipi-ovn-ipv6
pull-ci-openshift-machine-api-operator-main-e2e-metal-ipi-virtualmedia
pull-ci-openshift-machine-api-operator-main-goimports
pull-ci-openshift-machine-api-operator-main-golint
pull-ci-openshift-machine-api-operator-main-govet
pull-ci-openshift-machine-api-operator-main-images
pull-ci-openshift-machine-api-operator-main-okd-scos-e2e-aws-ovn
pull-ci-openshift-machine-api-operator-main-okd-scos-images
pull-ci-openshift-machine-api-operator-main-unit
pull-ci-openshift-machine-api-operator-main-verify-crds-sync
pull-ci-openshift-machine-api-operator-main-verify-deps

In response to this:

/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci openshift-ci bot requested review from RadekManak and damdo November 14, 2025 20:42
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 14, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mdbooth for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jcpowermac
Copy link
Contributor Author

/test e2e-vsphere-ovn

@jcpowermac
Copy link
Contributor Author

/test unit

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 15, 2025

@jcpowermac: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn 3853b89 link true /test e2e-aws-ovn
ci/prow/e2e-vsphere-ovn 3853b89 link false /test e2e-vsphere-ovn
ci/prow/okd-scos-e2e-aws-ovn 3853b89 link false /test okd-scos-e2e-aws-ovn

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant