From d7376f1dfbbb771a5bac7dce553c721c7cf2d9e6 Mon Sep 17 00:00:00 2001 From: Siyuan Zhang Date: Fri, 8 Mar 2024 13:43:44 -0800 Subject: [PATCH] etcd: add periodic tests ci-etcd-unit-test-amd64 and ci-etcd-robustness-amd64 Signed-off-by: Siyuan Zhang --- config/jobs/etcd/etcd-periodics.yaml | 68 ++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/config/jobs/etcd/etcd-periodics.yaml b/config/jobs/etcd/etcd-periodics.yaml index 2e29bfbffb53..52d11bc02310 100644 --- a/config/jobs/etcd/etcd-periodics.yaml +++ b/config/jobs/etcd/etcd-periodics.yaml @@ -30,3 +30,71 @@ periodics: limits: cpu: "4" memory: "8Gi" +- name: ci-etcd-unit-test-amd64 + interval: 4h + cluster: eks-prow-build-cluster + decorate: true + decoration_config: + timeout: 60m + extra_refs: + - org: etcd-io + repo: etcd + base_ref: main + annotations: + testgrid-dashboards: sig-etcd-periodics + testgrid-tab-name: ci-etcd-unit-test-amd64 + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240223-1ded72f317-master + command: + - runner.sh + args: + - make + - test-unit + resources: + requests: + cpu: "4" + memory: "4Gi" + limits: + cpu: "4" + memory: "4Gi" +- name: ci-etcd-robustness-amd64 + interval: 24h + cluster: eks-prow-build-cluster + decorate: true + decoration_config: + timeout: 200m + extra_refs: + - org: etcd-io + repo: etcd + base_ref: main + annotations: + testgrid-dashboards: sig-etcd-periodics + testgrid-tab-name: ci-etcd-robustness-amd64 + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240223-1ded72f317-master + command: + - runner.sh + args: + - bash + - -c + - | + apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3 + sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf + make install-lazyfs + set -euo pipefail + GO_TEST_FLAGS="-v --count 150 --failfast --run TestRobustnessExploratory" + make gofail-enable + make build + VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/tmp/results make test-robustness + resources: + requests: + cpu: "8" + memory: "8Gi" + limits: + cpu: "8" + memory: "8Gi" + # fuse needs privileged mode + securityContext: + privileged: true