-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
capz-periodic-e2e-full-main CI job failing #2696
Comments
/assign @willie-yao |
@mboersma: GitHub didn't allow me to assign the following users: willie-yao. Note that only kubernetes-sigs members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
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/test-infra repository. |
/assign |
I'm not exactly familiar with clusterclass, but I saw that there were no AzureMachines or AzureMachinePools in the template spec. If that's the case, I don't think I should be adding the custom vm extension test to the clusterclass test. This is most likely the source of the issue. Pinging @CecileRobertMichon @jackfrancis to make sure this is the case. |
@willie-yao I would try to reproduce the test locally with and without the additional VM extensions foo.
Are we really using a "naked" Cluster (no actual machines) to test ClusterClass? |
I'm trying the tests now. I don't see any Machines or AzureMachine being defined in the topology spec which the clusterclass test uses. |
@jackfrancis It passes when the test is removed, and fails when it isn't. I think we should remove it for now since I don't think the test actually tests anything for the clusterclass. |
No, worker machines are defined here: https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/templates/test/ci/cluster-template-prow-topology.yaml#L44 |
sgtm |
@willie-yao let's remove it for now and file an issue that we need to backfill test coverage of vm extensions for clusterclass E2E scenarios |
The error message implies we're not even finding the resource group:
Is it possible clusterclass resource group name is different from other tests and that's why we can't list machines? |
Hmm that's interesting, I actually missed that part of the error message and I'll look into it further. |
@CecileRobertMichon Looks like there is another set of generated characters following the 'capz-e2e-2tk088-cc', which is different from the other tests. Other tests' resource group name is the same as the cluster name, but it looks like it's different for clusterclass. |
Is there a reason why the cluster name is different from the resource group name for the clusterclass? I can't find a way to get the resource group name from the E2E test files, so maybe we should be keeping the naming consistent. |
I updated #2698 to get the resource group name correctly, instead of using the clusterName as the resource group name. This should solve the problem. |
The clusterclass test spec in this job passed (unrelated tests failed unfortunately) Nice work @willie-yao! |
/kind bug
What steps did you take and what happened:
In testgrid, the capz-periodic-e2e-full-main job began failing after the custom VM extensions PR got merged. Here is the log that seems to implicate new custom VM code somehow:
What did you expect to happen:
Anything else you would like to add:
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: