Skip to content
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

Improve build fail remediation logic to factor in newer docker versions #3109

Merged

Conversation

rahulbabu95
Copy link
Member

Issue #, if available:

The current remediation logic greps for a hardcoded string from the error received from docker buildx command. Ideally we want to suggest creating a multiarch driver as a workaround if the buildx uses the default driver. To accomplish this, we could just grep for the key words on the error message instead of the entire string as it might change between different docker versions.

Description of changes:
Tested locally by building on the default driver on docker version: 25.0.3

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 23, 2024
@rahulbabu95
Copy link
Member Author

/retest kind-1-27-tooling-presubmit

@eks-distro-bot
Copy link
Collaborator

@rahulbabu95: The /retest command does not accept any targets.
The following commands are available to trigger required jobs:

  • /test autoscaler-1-25-presubmit
  • /test autoscaler-1-26-presubmit
  • /test autoscaler-1-27-presubmit
  • /test autoscaler-1-28-presubmit
  • /test autoscaler-1-29-presubmit
  • /test autoscaler-1-30-presubmit
  • /test aws-image-builder-presubmit
  • /test aws-otel-collector-tooling-presubmit
  • /test boots-tooling-presubmit
  • /test bottlerocket-bootstrap-tooling-presubmit
  • /test cert-manager-tooling-presubmit
  • /test cilium-tooling-presubmit
  • /test cloud-provider-aws-1-25-tooling-presubmit
  • /test cloud-provider-aws-1-26-tooling-presubmit
  • /test cloud-provider-aws-1-27-tooling-presubmit
  • /test cloud-provider-aws-1-28-tooling-presubmit
  • /test cloud-provider-aws-1-29-tooling-presubmit
  • /test cloud-provider-aws-1-30-tooling-presubmit
  • /test cloud-provider-nutanix-tooling-presubmit
  • /test cloud-provider-vsphere-1-25-tooling-presubmit
  • /test cloud-provider-vsphere-1-26-tooling-presubmit
  • /test cloud-provider-vsphere-1-27-tooling-presubmit
  • /test cloud-provider-vsphere-1-28-tooling-presubmit
  • /test cloud-provider-vsphere-1-29-tooling-presubmit
  • /test cloud-provider-vsphere-1-30-tooling-presubmit
  • /test cloudstack-cloudmonkey-tooling-presubmit
  • /test cluster-api-provider-aws-snow-tooling-presubmit
  • /test cluster-api-provider-cloudstack-tooling-presubmit
  • /test cluster-api-provider-nutanix-tooling-presubmit
  • /test cluster-api-provider-tinkerbell-tooling-presubmit
  • /test cluster-api-provider-vsphere-tooling-presubmit
  • /test cluster-api-tooling-presubmit
  • /test containerd-tooling-presubmit
  • /test containerd-tooling-presubmit-arm64
  • /test cri-tools-tooling-presubmit
  • /test distribution-tooling-presubmit
  • /test eks-a-admin-image-presubmit
  • /test eks-a-upgrader-image-presubmit
  • /test eks-anywhere-cli-tools-tooling-presubmit
  • /test eks-anywhere-diagnostic-collector-tooling-presubmit
  • /test eks-anywhere-packages-image-tooling-presubmit
  • /test emissary-tooling-presubmit
  • /test envoy-presubmit
  • /test etcdadm-bootstrap-provider-tooling-presubmit
  • /test etcdadm-controller-tooling-presubmit
  • /test etcdadm-tooling-presubmit
  • /test flux-tooling-presubmit
  • /test govmomi-tooling-presubmit
  • /test harbor-scanner-trivy-tooling-presubmit
  • /test harbor-tooling-presubmit
  • /test hegel-tooling-presubmit
  • /test hello-eks-anywhere-tooling-presubmit
  • /test helm-controller-tooling-presubmit
  • /test helm-tooling-presubmit
  • /test hook-tooling-presubmit
  • /test hub-tooling-presubmit
  • /test imagebuilder-1-25-presubmit
  • /test imagebuilder-1-26-presubmit
  • /test imagebuilder-1-27-presubmit
  • /test imagebuilder-1-28-presubmit
  • /test imagebuilder-1-29-presubmit
  • /test imagebuilder-1-30-presubmit
  • /test kind-1-25-tooling-presubmit
  • /test kind-1-26-tooling-presubmit
  • /test kind-1-27-tooling-presubmit
  • /test kind-1-28-tooling-presubmit
  • /test kind-1-29-tooling-presubmit
  • /test kind-1-30-tooling-presubmit
  • /test kube-rbac-proxy-tooling-presubmit
  • /test kube-vip-tooling-presubmit
  • /test kustomize-controller-tooling-presubmit
  • /test linux-bootconfig-presubmit
  • /test local-path-provisioner-tooling-presubmit
  • /test metallb-tooling-presubmit
  • /test metrics-server-presubmit
  • /test notification-controller-tooling-presubmit
  • /test prometheus-node-exporter-tooling-presubmit
  • /test prometheus-prometheus-tooling-presubmit
  • /test redis-tooling-presubmit
  • /test rolesanywhere-credential-helper-presubmit
  • /test rufio-tooling-presubmit
  • /test runc-tooling-presubmit
  • /test runc-tooling-presubmit-arm64
  • /test source-controller-tooling-presubmit
  • /test source-controller-tooling-presubmit-arm64
  • /test tink-tooling-presubmit
  • /test tinkerbell-chart-presubmit
  • /test trivy-tooling-presubmit
  • /test troubleshoot-tooling-presubmit
  • /test validate-generated-presubmit

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

  • autoscaler-1-25-presubmit
  • autoscaler-1-26-presubmit
  • autoscaler-1-27-presubmit
  • autoscaler-1-28-presubmit
  • autoscaler-1-29-presubmit
  • autoscaler-1-30-presubmit
  • aws-image-builder-presubmit
  • aws-otel-collector-tooling-presubmit
  • boots-tooling-presubmit
  • bottlerocket-bootstrap-tooling-presubmit
  • cert-manager-tooling-presubmit
  • cloud-provider-aws-1-25-tooling-presubmit
  • cloud-provider-aws-1-26-tooling-presubmit
  • cloud-provider-aws-1-27-tooling-presubmit
  • cloud-provider-aws-1-28-tooling-presubmit
  • cloud-provider-aws-1-29-tooling-presubmit
  • cloud-provider-aws-1-30-tooling-presubmit
  • cloud-provider-nutanix-tooling-presubmit
  • cloud-provider-vsphere-1-25-tooling-presubmit
  • cloud-provider-vsphere-1-26-tooling-presubmit
  • cloud-provider-vsphere-1-27-tooling-presubmit
  • cloud-provider-vsphere-1-28-tooling-presubmit
  • cloud-provider-vsphere-1-29-tooling-presubmit
  • cloud-provider-vsphere-1-30-tooling-presubmit
  • cloudstack-cloudmonkey-tooling-presubmit
  • cluster-api-provider-aws-snow-tooling-presubmit
  • cluster-api-provider-cloudstack-tooling-presubmit
  • cluster-api-provider-nutanix-tooling-presubmit
  • cluster-api-provider-tinkerbell-tooling-presubmit
  • cluster-api-provider-vsphere-tooling-presubmit
  • cluster-api-tooling-presubmit
  • containerd-tooling-presubmit
  • containerd-tooling-presubmit-arm64
  • cri-tools-tooling-presubmit
  • distribution-tooling-presubmit
  • eks-a-admin-image-presubmit
  • eks-a-upgrader-image-presubmit
  • eks-anywhere-cli-tools-tooling-presubmit
  • eks-anywhere-diagnostic-collector-tooling-presubmit
  • eks-anywhere-packages-image-tooling-presubmit
  • emissary-tooling-presubmit
  • envoy-presubmit
  • etcdadm-bootstrap-provider-tooling-presubmit
  • etcdadm-controller-tooling-presubmit
  • etcdadm-tooling-presubmit
  • flux-tooling-presubmit
  • govmomi-tooling-presubmit
  • harbor-scanner-trivy-tooling-presubmit
  • harbor-tooling-presubmit
  • hegel-tooling-presubmit
  • hello-eks-anywhere-tooling-presubmit
  • helm-controller-tooling-presubmit
  • helm-tooling-presubmit
  • hook-tooling-presubmit
  • hub-tooling-presubmit
  • imagebuilder-1-25-presubmit
  • imagebuilder-1-26-presubmit
  • imagebuilder-1-27-presubmit
  • imagebuilder-1-28-presubmit
  • imagebuilder-1-29-presubmit
  • imagebuilder-1-30-presubmit
  • kind-1-25-tooling-presubmit
  • kind-1-26-tooling-presubmit
  • kind-1-27-tooling-presubmit
  • kind-1-28-tooling-presubmit
  • kind-1-29-tooling-presubmit
  • kind-1-30-tooling-presubmit
  • kube-rbac-proxy-tooling-presubmit
  • kube-vip-tooling-presubmit
  • kustomize-controller-tooling-presubmit
  • linux-bootconfig-presubmit
  • local-path-provisioner-tooling-presubmit
  • metallb-tooling-presubmit
  • metrics-server-presubmit
  • notification-controller-tooling-presubmit
  • prometheus-node-exporter-tooling-presubmit
  • prometheus-prometheus-tooling-presubmit
  • redis-tooling-presubmit
  • rolesanywhere-credential-helper-presubmit
  • rufio-tooling-presubmit
  • runc-tooling-presubmit
  • runc-tooling-presubmit-arm64
  • source-controller-tooling-presubmit
  • source-controller-tooling-presubmit-arm64
  • tink-tooling-presubmit
  • tinkerbell-chart-presubmit
  • trivy-tooling-presubmit
  • troubleshoot-tooling-presubmit
  • validate-generated-presubmit

In response to this:

/retest kind-1-27-tooling-presubmit

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.

@rahulbabu95
Copy link
Member Author

/test kind-1-27-tooling-presubmit

Copy link
Member

@jaxesn jaxesn left a comment

Choose a reason for hiding this comment

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

Nice change!

@rahulbabu95
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rahulbabu95

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

@rahulbabu95 rahulbabu95 merged commit 8e4b281 into aws:main Apr 24, 2024
90 of 91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants