Skip to content

Commit b7d8226

Browse files
authored
Merge pull request #34834 from ahrtr/etcd_test_20250521
Add robustness test on 3.6, 3,5 and 3.4
2 parents 9e83e88 + 0289dc4 commit b7d8226

File tree

1 file changed

+132
-0
lines changed

1 file changed

+132
-0
lines changed

config/jobs/etcd/etcd-presubmits.yaml

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,138 @@
11
---
22
presubmits:
33
etcd-io/etcd:
4+
- name: ci-etcd-robustness-release36-amd64
5+
cluster: k8s-infra-prow-build
6+
always_run: true
7+
decorate: true
8+
decoration_config:
9+
timeout: 210m
10+
branches:
11+
- main
12+
annotations:
13+
testgrid-dashboards: sig-etcd-presubmits
14+
testgrid-tab-name: ci-etcd-robustness-release36-amd64
15+
spec:
16+
containers:
17+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20250513-98d205aae3-master
18+
command:
19+
- runner.sh
20+
args:
21+
- bash
22+
- -c
23+
- |
24+
result=0
25+
apt-get -o APT::Update::Error-Mode=any update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
26+
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
27+
make install-lazyfs
28+
set -euo pipefail
29+
GO_TEST_FLAGS="-v --count 120 --timeout '200m' --run TestRobustnessExploratory"
30+
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/data/results make test-robustness-release-3.6 || result=$?
31+
if [ -d /data/results ]; then
32+
zip -r ${ARTIFACTS}/results.zip /data/results
33+
fi
34+
exit $result
35+
resources:
36+
requests:
37+
cpu: "7"
38+
memory: "14Gi"
39+
limits:
40+
cpu: "7"
41+
memory: "14Gi"
42+
# fuse needs privileged mode
43+
securityContext:
44+
privileged: true
45+
nodeSelector:
46+
kubernetes.io/arch: amd64
47+
48+
- name: ci-etcd-robustness-release35-amd64
49+
cluster: k8s-infra-prow-build
50+
always_run: true
51+
decorate: true
52+
decoration_config:
53+
timeout: 210m
54+
branches:
55+
- main
56+
annotations:
57+
testgrid-dashboards: sig-etcd-presubmits
58+
testgrid-tab-name: ci-etcd-robustness-release35-amd64
59+
spec:
60+
containers:
61+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20250513-98d205aae3-master
62+
command:
63+
- runner.sh
64+
args:
65+
- bash
66+
- -c
67+
- |
68+
result=0
69+
apt-get -o APT::Update::Error-Mode=any update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
70+
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
71+
make install-lazyfs
72+
set -euo pipefail
73+
GO_TEST_FLAGS="-v --count 120 --timeout '200m' --run TestRobustnessExploratory"
74+
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/data/results make test-robustness-release-3.5 || result=$?
75+
if [ -d /data/results ]; then
76+
zip -r ${ARTIFACTS}/results.zip /data/results
77+
fi
78+
exit $result
79+
resources:
80+
requests:
81+
cpu: "7"
82+
memory: "14Gi"
83+
limits:
84+
cpu: "7"
85+
memory: "14Gi"
86+
# fuse needs privileged mode
87+
securityContext:
88+
privileged: true
89+
nodeSelector:
90+
kubernetes.io/arch: amd64
91+
92+
- name: ci-etcd-robustness-release34-amd64
93+
cluster: k8s-infra-prow-build
94+
always_run: true
95+
decorate: true
96+
decoration_config:
97+
timeout: 210m
98+
branches:
99+
- main
100+
annotations:
101+
testgrid-dashboards: sig-etcd-presubmits
102+
testgrid-tab-name: ci-etcd-robustness-release34-amd64
103+
spec:
104+
containers:
105+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20250513-98d205aae3-master
106+
command:
107+
- runner.sh
108+
args:
109+
- bash
110+
- -c
111+
- |
112+
result=0
113+
apt-get -o APT::Update::Error-Mode=any update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
114+
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
115+
make install-lazyfs
116+
set -euo pipefail
117+
GO_TEST_FLAGS="-v --count 120 --timeout '200m' --run TestRobustnessExploratory"
118+
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/data/results make test-robustness-release-3.4 || result=$?
119+
if [ -d /data/results ]; then
120+
zip -r ${ARTIFACTS}/results.zip /data/results
121+
fi
122+
exit $result
123+
resources:
124+
requests:
125+
cpu: "7"
126+
memory: "14Gi"
127+
limits:
128+
cpu: "7"
129+
memory: "14Gi"
130+
# fuse needs privileged mode
131+
securityContext:
132+
privileged: true
133+
nodeSelector:
134+
kubernetes.io/arch: amd64
135+
4136
- name: pull-etcd-build
5137
cluster: eks-prow-build-cluster
6138
always_run: true

0 commit comments

Comments
 (0)