Skip to content

[e2e] Tests are failing on main #5165

@richardcase

Description

@richardcase

/kind bug

What steps did you take and what happened:

The e2e tests are failing on main before it gets to anything to do with the AMIs. Looking at the error its failing when running kustomize here: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/test/e2e/shared/suite.go#L79

The error is:

Error: trouble configuring builtin PatchTransformer with config: `
patch: platform-kustomization.yaml
`: unable to parse SM or JSON patch from [platform-kustomization.yaml]

I created a PR (see #5164) to just run the e2e on main.

What did you expect to happen:

I'd expect the e2e to get past this point.

Anything else you would like to add:

I don't see what has changed in this area, the upstream function (see this: https://github.com/kubernetes-sigs/cluster-api/blob/main/test/framework/kubernetesversions/template.go#L71) hasn't changed in years.

Environment:

  • Cluster-api-provider-aws version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.priority/critical-urgentHighest priority. Must be actively worked on as someone's top priority right now.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions