From e5af80c3269e9d5323a66c9c11e9dd840372edda Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Thu, 12 Dec 2024 13:37:54 +0000 Subject: [PATCH] chore(common-instancetypes): Install binutil-gold in arm64 jobs (#3818) This is a workaround to a known issue with binutils and go >=v1.21 that currently requires ld.gold to be installed on arm64: https://sourceware.org/bugzilla/show_bug.cgi?id=19962 Fedora rawhide removes this requirement but the patch hasn't made it into a released version yet: https://src.fedoraproject.org/rpms/golang/blob/a867bd88a656c1d6e91e7b18bab696dc3fcf1e77/f/0006-Default-to-ld.bfd-on-ARM64.patch https://github.com/golang/go/issues/22040 Signed-off-by: Lee Yarwood --- .../common-instancetypes-presubmits.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml b/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml index f98fbfa01c..0c31cb20de 100644 --- a/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml +++ b/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml @@ -120,7 +120,7 @@ presubmits: - /usr/local/bin/runner.sh - "/bin/sh" - "-c" - - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + - "sudo dnf install binutils-gold -y && make kubevirt-up && make kubevirt-sync && make kubevirt-functest" env: - name: KUBEVIRT_PROVIDER value: kind-1.28 @@ -287,7 +287,7 @@ presubmits: - /usr/local/bin/runner.sh - "/bin/sh" - "-c" - - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + - "sudo dnf install binutils-gold -y && make kubevirt-up && make kubevirt-sync && make kubevirt-functest" env: - name: KUBEVIRT_PROVIDER value: kind-1.28 @@ -376,7 +376,7 @@ presubmits: - /usr/local/bin/runner.sh - "/bin/sh" - "-c" - - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + - "sudo dnf install binutils-gold -y && make kubevirt-up && make kubevirt-sync && make kubevirt-functest" env: - name: KUBEVIRT_PROVIDER value: kind-1.28 @@ -504,7 +504,7 @@ presubmits: - /usr/local/bin/runner.sh - "/bin/sh" - "-c" - - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + - "sudo dnf install binutils-gold -y && make kubevirt-up && make kubevirt-sync && make kubevirt-functest" env: - name: KUBEVIRT_PROVIDER value: kind-1.28