Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd: Remove duplicated etcd robustness periodic job #33446

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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