Skip to content

Commit

Permalink
test: use two workers in qemu tests by default
Browse files Browse the repository at this point in the history
Fixes #9870

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Dec 4, 2024
1 parent 5a4bdf6 commit 77e9db4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 17 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T14:18:12Z by kres 232fe63.
# Generated on 2024-12-04T12:34:25Z by kres 232fe63.

name: default
concurrency:
Expand Down Expand Up @@ -1014,7 +1014,6 @@ jobs:
env:
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-no-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand All @@ -1027,7 +1026,6 @@ jobs:
CILIUM_INSTALL_TYPE: strict
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium-strict
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand All @@ -1040,7 +1038,6 @@ jobs:
CILIUM_INSTALL_TYPE: strict
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium-strict-kubespan
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand Down Expand Up @@ -1228,7 +1225,6 @@ jobs:
GITHUB_STEP_NAME: ${{ github.job}}-conformance-qemu
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_CPUS: "4"
QEMU_WORKERS: "2"
TEST_MODE: fast-conformance
run: |
sudo -E make e2e-qemu
Expand Down Expand Up @@ -1469,6 +1465,7 @@ jobs:
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_EXTRA_DISKS: "3"
QEMU_MEMORY_WORKERS: "4096"
QEMU_WORKERS: "1"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH_WORKER: '@_out/installer-extensions-patch.yaml:@hack/test/patches/extensions.yaml:@hack/test/patches/dm-raid-module.yaml'
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/integration-cilium-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T13:53:18Z by kres 232fe63.
# Generated on 2024-12-04T11:25:05Z by kres 232fe63.

name: integration-cilium-cron
concurrency:
Expand Down Expand Up @@ -82,7 +82,6 @@ jobs:
env:
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-no-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand All @@ -95,7 +94,6 @@ jobs:
CILIUM_INSTALL_TYPE: strict
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium-strict
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand All @@ -108,7 +106,6 @@ jobs:
CILIUM_INSTALL_TYPE: strict
GITHUB_STEP_NAME: ${{ github.job}}-e2e-cilium-strict-kubespan
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_WORKERS: "2"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH: '@hack/test/patches/cilium-kubeproxy.yaml'
WITH_CUSTOM_CNI: cilium
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/integration-conformance-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T13:48:17Z by kres 232fe63.
# Generated on 2024-12-04T11:25:05Z by kres 232fe63.

name: integration-conformance-cron
concurrency:
Expand Down Expand Up @@ -83,7 +83,6 @@ jobs:
GITHUB_STEP_NAME: ${{ github.job}}-conformance-qemu
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_CPUS: "4"
QEMU_WORKERS: "2"
TEST_MODE: fast-conformance
run: |
sudo -E make e2e-qemu
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration-extensions-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-11-28T13:53:18Z by kres 232fe63.
# Generated on 2024-12-04T12:34:25Z by kres 232fe63.

name: integration-extensions-cron
concurrency:
Expand Down Expand Up @@ -113,6 +113,7 @@ jobs:
IMAGE_REGISTRY: registry.dev.siderolabs.io
QEMU_EXTRA_DISKS: "3"
QEMU_MEMORY_WORKERS: "4096"
QEMU_WORKERS: "1"
SHORT_INTEGRATION_TEST: "yes"
WITH_CONFIG_PATCH_WORKER: '@_out/installer-extensions-patch.yaml:@hack/test/patches/extensions.yaml:@hack/test/patches/dm-raid-module.yaml'
run: |
Expand Down
5 changes: 1 addition & 4 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ spec:
withSudo: true
environment:
GITHUB_STEP_NAME: ${{ github.job}}-conformance-qemu
QEMU_WORKERS: 2
QEMU_CPUS: 4
TEST_MODE: fast-conformance
IMAGE_REGISTRY: registry.dev.siderolabs.io
Expand Down Expand Up @@ -1054,6 +1053,7 @@ spec:
withSudo: true
environment:
GITHUB_STEP_NAME: ${{ github.job}}-e2e-extensions
QEMU_WORKERS: 1
QEMU_MEMORY_WORKERS: 4096
WITH_CONFIG_PATCH_WORKER: "@_out/installer-extensions-patch.yaml:@hack/test/patches/extensions.yaml:@hack/test/patches/dm-raid-module.yaml"
QEMU_EXTRA_DISKS: 3
Expand Down Expand Up @@ -1113,7 +1113,6 @@ spec:
WITH_SKIP_K8S_NODE_READINESS_CHECK: yes
WITH_CUSTOM_CNI: cilium
WITH_FIREWALL: accept
QEMU_WORKERS: 2
WITH_CONFIG_PATCH: "@hack/test/patches/cilium-no-kubeproxy.yaml"
IMAGE_REGISTRY: registry.dev.siderolabs.io
- name: e2e-cilium-strict
Expand All @@ -1125,7 +1124,6 @@ spec:
WITH_SKIP_K8S_NODE_READINESS_CHECK: yes
WITH_CUSTOM_CNI: cilium
WITH_FIREWALL: accept
QEMU_WORKERS: 2
CILIUM_INSTALL_TYPE: strict
WITH_CONFIG_PATCH: "@hack/test/patches/cilium-kubeproxy.yaml"
IMAGE_REGISTRY: registry.dev.siderolabs.io
Expand All @@ -1139,7 +1137,6 @@ spec:
WITH_CUSTOM_CNI: cilium
WITH_FIREWALL: accept
WITH_KUBESPAN: true
QEMU_WORKERS: 2
CILIUM_INSTALL_TYPE: strict
WITH_CONFIG_PATCH: "@hack/test/patches/cilium-kubeproxy.yaml"
IMAGE_REGISTRY: registry.dev.siderolabs.io
Expand Down
2 changes: 1 addition & 1 deletion hack/test/e2e-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function create_cluster {
--name="${CLUSTER_NAME}" \
--kubernetes-version="${KUBERNETES_VERSION}" \
--controlplanes=3 \
--workers="${QEMU_WORKERS:-1}" \
--workers="${QEMU_WORKERS:-2}" \
--disk=15360 \
--extra-disks="${QEMU_EXTRA_DISKS:-0}" \
--extra-disks-size="${QEMU_EXTRA_DISKS_SIZE:-5120}" \
Expand Down

0 comments on commit 77e9db4

Please sign in to comment.