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: add periodic tests ci-etcd-unit-test-amd64 and ci-etcd-robustness-amd64 #32217

Merged
merged 1 commit into from
Mar 10, 2024
Merged
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
68 changes: 68 additions & 0 deletions config/jobs/etcd/etcd-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we tested this with a local prow instance? I had a lot of trouble getting lazyfs to work within github actions. Curious to see how it behaves here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have tested this locally. Had some trouble getting lazyfs to work too, but it seems to work after setting privileged: true

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