Skip to content

Commit

Permalink
Merge pull request #33446 from ivanvc/remove-duplicated-etcd-robustne…
Browse files Browse the repository at this point in the history
…ss-periodic-job

etcd: Remove duplicated etcd robustness periodic job
  • Loading branch information
k8s-ci-robot authored Sep 10, 2024
2 parents d870e42 + 59a6774 commit 9696171
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 126 deletions.
106 changes: 6 additions & 100 deletions config/jobs/etcd/etcd-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,100 +100,6 @@ periodics:
nodeSelector:
kubernetes.io/arch: amd64

- name: ci-etcd-robustness-amd64
interval: 24h
cluster: k8s-infra-prow-build
decorate: true
decoration_config:
timeout: 210m
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-create-test-group: 'true'
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20240705-131cd74733-master
command:
- runner.sh
args:
- bash
- -c
- |
result=0
apt-get -o APT::Update::Error-Mode=any 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 120 --timeout '200m' --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=/data/results make test-robustness || result=$?
if [ -d /data/results ]; then
zip -r ${ARTIFACTS}/results.zip /data/results
fi
exit $result
resources:
requests:
cpu: "7"
memory: "14Gi"
limits:
cpu: "7"
memory: "14Gi"
# fuse needs privileged mode
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: amd64

- name: ci-etcd-robustness-arm64
interval: 24h
cluster: k8s-infra-prow-build
decorate: true
decoration_config:
timeout: 210m
extra_refs:
- org: etcd-io
repo: etcd
base_ref: main
annotations:
testgrid-create-test-group: 'true'
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20240705-131cd74733-master
command:
- runner.sh
args:
- bash
- -c
- |
result=0
apt-get -o APT::Update::Error-Mode=any 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 120 --timeout '200m' --run TestRobustnessExploratory"
make gofail-enable
make build
VERBOSE=1 GOOS=linux GOARCH=arm64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/data/results make test-robustness || result=$?
if [ -d /data/results ]; then
zip -r ${ARTIFACTS}/results.zip /data/results
fi
exit $result
resources:
requests:
cpu: "7"
memory: "14Gi"
limits:
cpu: "7"
memory: "14Gi"
# fuse needs privileged mode
securityContext:
privileged: true
nodeSelector:
kubernetes.io/arch: arm64

- name: ci-etcd-robustness-main-amd64
interval: 24h
cluster: k8s-infra-prow-build
Expand All @@ -216,7 +122,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down Expand Up @@ -261,7 +167,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down Expand Up @@ -306,7 +212,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down Expand Up @@ -351,7 +257,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down Expand Up @@ -396,7 +302,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down Expand Up @@ -441,7 +347,7 @@ periodics:
- -c
- |
result=0
apt update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
apt-get -o APT::Update::Error-Mode=any 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
Expand Down
26 changes: 0 additions & 26 deletions config/testgrids/kubernetes/sig-etcd/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,6 @@ dashboards:
- name: sig-etcd-postsubmits
- name: sig-etcd-robustness
dashboard_tab:
- name: ci-etcd-robustness-amd64
test_group_name: ci-etcd-robustness-amd64
file_bug_template:
url: https://github.com/etcd-io/etcd/issues/new
options:
- key: template
value: bug-report.yml
- key: title
value: '[robustness tests] main-amd64: <test-name>'
- key: problem
value: <test-url>
- key: etcdVersion
value: v3.6
- name: ci-etcd-robustness-arm64
test_group_name: ci-etcd-robustness-arm64
file_bug_template:
url: https://github.com/etcd-io/etcd/issues/new
options:
- key: template
value: bug-report.yml
- key: title
value: '[robustness tests] main-arm64: <test-name>'
- key: problem
value: <test-url>
- key: etcdVersion
value: v3.6
- name: ci-etcd-robustness-main-amd64
test_group_name: ci-etcd-robustness-main-amd64
file_bug_template:
Expand Down

0 comments on commit 9696171

Please sign in to comment.