From 93fcb51e67a9c0d031b2e36e0ddddfba5ea4a8a5 Mon Sep 17 00:00:00 2001 From: Malte Poll <1780588+malt3@users.noreply.github.com> Date: Tue, 14 May 2024 11:46:52 +0200 Subject: [PATCH] ci: explicitly set bazel test timeout to four hours for e2e tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com> --- .github/actions/e2e_lb/action.yml | 2 +- .github/actions/e2e_malicious_join/action.yml | 2 +- .github/actions/e2e_mini/action.yml | 2 +- .github/workflows/e2e-test-provider-example.yml | 2 +- .github/workflows/e2e-upgrade.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/e2e_lb/action.yml b/.github/actions/e2e_lb/action.yml index 1a776e426..25cad63f3 100644 --- a/.github/actions/e2e_lb/action.yml +++ b/.github/actions/e2e_lb/action.yml @@ -21,7 +21,7 @@ runs: run: | kubectl apply -f ns.yml kubectl apply -f lb.yml - bazel run //e2e/internal/lb:lb_test + bazel run --test_timeout=14400 //e2e/internal/lb:lb_test - name: Test AWS Ingress if: inputs.cloudProvider == 'aws' diff --git a/.github/actions/e2e_malicious_join/action.yml b/.github/actions/e2e_malicious_join/action.yml index 9fd11cd9a..4d84e6b97 100644 --- a/.github/actions/e2e_malicious_join/action.yml +++ b/.github/actions/e2e_malicious_join/action.yml @@ -32,7 +32,7 @@ runs: KUBECONFIG: ${{ inputs.kubeconfig }} working-directory: e2e/malicious-join run: | - bazel run //e2e/malicious-join:stamp_and_push + bazel run --test_timeout=14400 //e2e/malicious-join:stamp_and_push yq eval -i "(.spec.template.spec.containers[0].command) = \ [ \"/malicious-join_bin\", \ \"--js-endpoint=join-service.kube-system:9090\", \ diff --git a/.github/actions/e2e_mini/action.yml b/.github/actions/e2e_mini/action.yml index 7e37ece4d..2efd3a9a4 100644 --- a/.github/actions/e2e_mini/action.yml +++ b/.github/actions/e2e_mini/action.yml @@ -43,4 +43,4 @@ runs: ARM_SUBSCRIPTION_ID: ${{ inputs.azureSubscriptionID }} ARM_TENANT_ID: ${{ inputs.azureTenantID }} run: | - bazel run //e2e/miniconstellation:push_remote_test + bazel run --test_timeout=14400 //e2e/miniconstellation:push_remote_test diff --git a/.github/workflows/e2e-test-provider-example.yml b/.github/workflows/e2e-test-provider-example.yml index d3513ba96..246a16f7f 100644 --- a/.github/workflows/e2e-test-provider-example.yml +++ b/.github/workflows/e2e-test-provider-example.yml @@ -453,7 +453,7 @@ jobs: yq e '.nodeGroups.control_plane_default.zone = "eu-central-1a"' -i constellation-conf.yaml yq e '.nodeGroups.worker_default.zone = "eu-central-1a"' -i constellation-conf.yaml fi - KUBECONFIG=${{ github.workspace }}/cluster/constellation-admin.conf bazel run //e2e/provider-upgrade:provider-upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --cli "${{ github.workspace }}/build/constellation" "$IMAGE_FLAG" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG" + KUBECONFIG=${{ github.workspace }}/cluster/constellation-admin.conf bazel run --test_timeout=14400 //e2e/provider-upgrade:provider-upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --cli "${{ github.workspace }}/build/constellation" "$IMAGE_FLAG" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG" - name: Destroy Terraform Cluster # outcome is part of the steps context (https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context) diff --git a/.github/workflows/e2e-upgrade.yml b/.github/workflows/e2e-upgrade.yml index f0f9aca84..18bab8697 100644 --- a/.github/workflows/e2e-upgrade.yml +++ b/.github/workflows/e2e-upgrade.yml @@ -402,7 +402,7 @@ jobs: fi sudo sh -c 'echo "127.0.0.1 license.confidential.cloud" >> /etc/hosts' - bazel run //e2e/internal/upgrade:upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --target-image "$IMAGE" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG" + bazel run --test_timeout=14400 //e2e/internal/upgrade:upgrade_test -- --want-worker "$WORKERNODES" --want-control "$CONTROLNODES" --target-image "$IMAGE" "$KUBERNETES_FLAG" "$MICROSERVICES_FLAG" - name: Remove Terraform plugin cache if: always()