Skip to content

Conversation

@zhanggbj
Copy link
Collaborator

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhanggbj

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

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 10, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 10, 2025
@zhanggbj
Copy link
Collaborator Author

/test pull-cloud-provider-vsphere-e2e-test

@rikatz
Copy link
Member

rikatz commented Jun 10, 2025

I think the e2e tests are broken at all :) saw similar issue on my PR

@chrischdi ideas?

@chrischdi
Copy link
Member

/retest

(did some fixups yesterday)

Note: maybe you want to consider kubernetes-sigs/cluster-api-provider-vsphere#3490

@k8s-ci-robot
Copy link
Contributor

@zhanggbj: 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
pull-cloud-provider-vsphere-e2e-test 8815392 link false /test pull-cloud-provider-vsphere-e2e-test
pull-cloud-provider-vsphere-e2e-test-on-latest-k8s-version 8815392 link false /test pull-cloud-provider-vsphere-e2e-test-on-latest-k8s-version

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

Comment on lines +323 to +331
By("Dump workload resources to artifacts", func() {
framework.DumpAllResources(ctx, framework.DumpAllResourcesInput{
Lister: workloadProxy.GetClient(),
KubeConfigPath: workloadProxy.GetKubeconfigPath(),
ClusterctlConfigPath: workloadKubeconfig,
Namespace: "kube-system",
LogPath: filepath.Join(artifactFolder, "clusters", workloadProxy.GetName(), "resources"),
})
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DumpAllResources tries to dump CAPI resources from a workload cluster (which does not have the CRD's installed or any information of them).

It also does not dump any logs afaik. (it uses the logpath to dump clusterctl describe, but that also only makes sense in a management cluster).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @chrischdi. Wanted to reuse that for a quick debug for e2e failure yesterday. As you pointed, this won't help for workload cluster. Let me fix it and reopen this PR later.

@zhanggbj zhanggbj changed the title Add workload cluster kube-system logs to artifacts [TestOnly]Add workload cluster kube-system logs to artifacts Jun 12, 2025
@zhanggbj zhanggbj closed this Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants