Skip to content

Drop ES 7 (EOL) and upgrade all Elasticsearch E2E tests to 8.18.8#13715

Merged
wu-sheng merged 4 commits intomasterfrom
fix/upgrade-es-eck
Feb 27, 2026
Merged

Drop ES 7 (EOL) and upgrade all Elasticsearch E2E tests to 8.18.8#13715
wu-sheng merged 4 commits intomasterfrom
fix/upgrade-es-eck

Conversation

@wu-sheng
Copy link
Member

@wu-sheng wu-sheng commented Feb 27, 2026

Fix E2E test failures caused by EOL Elasticsearch 7 and outdated ECK deployment

  • Explain briefly why the bug exists and how to fix it.

Elasticsearch 7 has reached end-of-life. The Helm-based E2E tests (Istio, Cilium, eBPF profiling) were failing because the old skywalking-helm chart's ECK-provisioned ES could not start properly in the CI KinD environment.

Changes:

  • Update SW_KUBERNETES_COMMIT_SHA to latest skywalking-helm (2850db1) which upgrades ECK to deploy ES 8.18.8
  • Remove all ES 7.x test entries (7.16.3, 7.17.10) from CI workflow
  • Consolidate ES 8.x test versions to 8.18.8 (removing 8.1.0, 8.8.1, 8.9.0, 8.18.1)
  • Update all hardcoded ES docker images in 18 docker-compose files from 7.15.0/8.3.2 to 8.18.8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@wu-sheng wu-sheng added the test Test requirements about performance, feature or before release. label Feb 27, 2026
@wu-sheng wu-sheng added this to the 10.4.0 milestone Feb 27, 2026
kezhenxu94
kezhenxu94 previously approved these changes Feb 27, 2026
ES 8 enables security by default, unlike ES 7. The 12 docker-compose
files that were upgraded from ES 7.15.0 to 8.18.8 need this setting
explicitly disabled for the E2E tests to connect without authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
wu-sheng and others added 2 commits February 27, 2026 10:32
The new skywalking-helm chart uses ECK (Elastic Cloud on Kubernetes) CRDs
to deploy Elasticsearch, replacing the old StatefulSet-based approach.
The ECK operator must be installed first so the Elasticsearch CRD is
available when the skywalking chart is applied.

For each ES-based K8s E2E test:
- Add "Install ECK operator" step that pulls the chart, extracts the
  bundled eck-operator subchart, installs it, and waits for readiness
- Add --set eckOperator.enabled=false to skip the bundled operator
  (already installed separately)
- Remove obsolete elasticsearch.replicas/minimumMasterNodes settings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add `helm dep up skywalking-helm` after `helm pull --untar` in all 13
  Helm-based e2e.yaml files. The OCI chart package does not include
  pre-packaged subchart .tgz files in charts/, so `helm dep up` is
  needed to download the eck-operator subchart dependency before
  installing it.
- Remove OpenSearch 1.x test entries (Storage 1.3.10, Trace Profiling
  1.1.0/1.3.6, Zipkin 1.2.0, UI Menu 1.1.0/1.3.6) from CI workflow.
  Keep OpenSearch 2.x and 3.x tests.
@wu-sheng wu-sheng merged commit 92a8f5d into master Feb 27, 2026
482 of 487 checks passed
@wu-sheng wu-sheng deleted the fix/upgrade-es-eck branch February 27, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Test requirements about performance, feature or before release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants