From 46fd0584198762b3af00fbfe2c54b7435f51a930 Mon Sep 17 00:00:00 2001 From: Ivan Valdes Date: Wed, 5 Jun 2024 15:11:10 -0700 Subject: [PATCH 1/2] Update etcd pull-etcd-unit-test presubmit job * Rename job to pull-etcd-unit-test-amd64. * Tune the resources requested/limits according to job runs on Grafana. * Update running arguments to match the current GitHub workflow. * Store output JUnit artifacts. --- config/jobs/etcd/etcd-presubmits.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/config/jobs/etcd/etcd-presubmits.yaml b/config/jobs/etcd/etcd-presubmits.yaml index 626c5442956d..e85498eac567 100644 --- a/config/jobs/etcd/etcd-presubmits.yaml +++ b/config/jobs/etcd/etcd-presubmits.yaml @@ -25,7 +25,7 @@ presubmits: cpu: "4" memory: "4Gi" - - name: pull-etcd-unit-test + - name: pull-etcd-unit-test-amd64 cluster: eks-prow-build-cluster always_run: true branches: @@ -33,22 +33,25 @@ presubmits: decorate: true annotations: testgrid-dashboards: sig-etcd-presubmits - testgrid-tab-name: pull-etcd-unit-test + testgrid-tab-name: pull-etcd-unit-test-amd64 spec: containers: - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master command: - runner.sh args: - - make - - test-unit + - bash + - -c + - | + export JUNIT_REPORT_DIR=${ARTIFACTS} + GOOS=linux GOARCH=amd64 CPU=4 GO_TEST_FLAGS='-p=2' make test-unit resources: requests: cpu: "4" - memory: "4Gi" + memory: "2Gi" limits: cpu: "4" - memory: "4Gi" + memory: "2Gi" - name: pull-etcd-verify cluster: eks-prow-build-cluster From 8b9d5b5b1563ac8294d99a252d370384bc5d224e Mon Sep 17 00:00:00 2001 From: Ivan Valdes Date: Wed, 5 Jun 2024 15:40:08 -0700 Subject: [PATCH 2/2] Add pull-etcd-unit-test-386 to etcd presubmits --- config/jobs/etcd/etcd-presubmits.yaml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/config/jobs/etcd/etcd-presubmits.yaml b/config/jobs/etcd/etcd-presubmits.yaml index e85498eac567..f677d7d64016 100644 --- a/config/jobs/etcd/etcd-presubmits.yaml +++ b/config/jobs/etcd/etcd-presubmits.yaml @@ -53,6 +53,35 @@ presubmits: cpu: "4" memory: "2Gi" + - name: pull-etcd-unit-test-386 + cluster: eks-prow-build-cluster + optional: true # remove this once the job is green + always_run: true + branches: + - main + decorate: true + annotations: + testgrid-dashboards: sig-etcd-presubmits + testgrid-tab-name: pull-etcd-unit-test-386 + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master + command: + - runner.sh + args: + - bash + - -c + - | + export JUNIT_REPORT_DIR=${ARTIFACTS} + GOOS=linux GOARCH=386 CPU=1 GO_TEST_FLAGS='-p=4' make test-unit + resources: + requests: + cpu: "4" + memory: "4Gi" + limits: + cpu: "4" + memory: "4Gi" + - name: pull-etcd-verify cluster: eks-prow-build-cluster always_run: true