From a1e2c1cb4785654c330e9be3164a4e6ddfb045af Mon Sep 17 00:00:00 2001 From: Mauri de Souza Meneguzzo Date: Wed, 2 Oct 2024 13:11:44 -0300 Subject: [PATCH 1/3] chore: update pipeline to k8s v1.31.0 --- .buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml | 2 +- .buildkite/filebeat/filebeat-pipeline.yml | 4 ++-- .buildkite/metricbeat/pipeline.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml b/.buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml index 3feff930cf9..dd74b6b4704 100644 --- a/.buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml +++ b/.buildkite/deploy/kubernetes/deploy-k8s-pipeline.yml @@ -6,7 +6,7 @@ env: MODULE: "kubernetes" # Other deps - ASDF_KIND_VERSION: "0.20.0" + ASDF_KIND_VERSION: "0.24.0" IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest" diff --git a/.buildkite/filebeat/filebeat-pipeline.yml b/.buildkite/filebeat/filebeat-pipeline.yml index f92730b158c..b5aa15f6605 100644 --- a/.buildkite/filebeat/filebeat-pipeline.yml +++ b/.buildkite/filebeat/filebeat-pipeline.yml @@ -24,8 +24,8 @@ env: ASDF_MAGE_VERSION: 1.15.0 # Integration Tests - K8S_VERSION: "v1.29.0" - ASDF_KIND_VERSION: "0.20.0" + K8S_VERSION: "v1.31.0" + ASDF_KIND_VERSION: "0.24.0" # Unit tests RACE_DETECTOR: "true" diff --git a/.buildkite/metricbeat/pipeline.yml b/.buildkite/metricbeat/pipeline.yml index 3ec9af58bf6..72aafd5faf3 100644 --- a/.buildkite/metricbeat/pipeline.yml +++ b/.buildkite/metricbeat/pipeline.yml @@ -21,8 +21,8 @@ env: IMAGE_BEATS_WITH_HOOKS_LATEST: "docker.elastic.co/ci-agent-images/platform-ingest/buildkite-agent-beats-ci-with-hooks:latest" # Integration Tests - K8S_VERSION: "v1.29.0" - ASDF_KIND_VERSION: "0.20.0" + K8S_VERSION: "v1.31.0" + ASDF_KIND_VERSION: "0.24.0" # Module Tests BEAT_PATH: "metricbeat" From a07cbb965a440d9fb7bd0531996131134ea238c0 Mon Sep 17 00:00:00 2001 From: Mauri de Souza Meneguzzo Date: Tue, 15 Oct 2024 13:22:25 -0300 Subject: [PATCH 2/3] print error to debug test failures --- dev-tools/mage/gotest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-tools/mage/gotest.go b/dev-tools/mage/gotest.go index d8244403c9c..ecc8f277b94 100644 --- a/dev-tools/mage/gotest.go +++ b/dev-tools/mage/gotest.go @@ -217,6 +217,7 @@ func goTestIntegrationForSingleModule(ctx context.Context, module string) error return nil }) if err != nil { + fmt.Printf("Error: failed to run integration tests for module %s:\n%v\n", fi.Name(), err) // err will already be report to stdout, collect failed module to report at end failedModules = append(failedModules, fi.Name()) } From 8625254d1707ca85c0dbec85296fe1d06430251f Mon Sep 17 00:00:00 2001 From: Mauri de Souza Meneguzzo Date: Wed, 16 Oct 2024 08:18:08 -0300 Subject: [PATCH 3/3] revert kind to 0.20.0 --- .buildkite/filebeat/filebeat-pipeline.yml | 2 +- .buildkite/metricbeat/pipeline.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.buildkite/filebeat/filebeat-pipeline.yml b/.buildkite/filebeat/filebeat-pipeline.yml index 6809042f901..2b58709b213 100644 --- a/.buildkite/filebeat/filebeat-pipeline.yml +++ b/.buildkite/filebeat/filebeat-pipeline.yml @@ -25,7 +25,7 @@ env: # Integration Tests K8S_VERSION: "v1.31.0" - ASDF_KIND_VERSION: "0.24.0" + ASDF_KIND_VERSION: "0.20.0" # Unit tests RACE_DETECTOR: "true" diff --git a/.buildkite/metricbeat/pipeline.yml b/.buildkite/metricbeat/pipeline.yml index 63c1870c158..1a9dab4a2f9 100644 --- a/.buildkite/metricbeat/pipeline.yml +++ b/.buildkite/metricbeat/pipeline.yml @@ -22,7 +22,7 @@ env: # Integration Tests K8S_VERSION: "v1.31.0" - ASDF_KIND_VERSION: "0.24.0" + ASDF_KIND_VERSION: "0.20.0" # Module Tests BEAT_PATH: "metricbeat"