[Bacport 3.7] Exclude AnalyticsEngineCompatIT from the main integTest task#5502
Merged
ahkcs merged 1 commit intoJun 2, 2026
Conversation
…Test task
AnalyticsEngineCompatIT (package org.opensearch.sql.plugin) is a smoke test
that only makes sense against a cluster bundling the analytics-engine plugin
stack. It is provisioned and run by the dedicated :analyticsEngineCompatIT
task (testClusters.analyticsEngineCompat), which adds arrow-base,
arrow-flight-rpc and analytics-engine.
The main integTest task selects tests by exclusion and excluded
org/opensearch/sql/security/** ("executed in another task") but never
excluded this smoke test, so it also ran against the plain
integTest/remoteCluster (neither of which has analytics-engine). There it is
useless and exposed to suite-wide infra flakiness; in a recent CI run it was
the descriptor recorded as failed after the test JVM wedged for ~4.5h.
Exclude the specific AnalyticsEngineCompatIT class, matching the per-class
exclude style already used in this task (e.g. legacy/ExplainIT.class).
Signed-off-by: Kai Huang <ahkcs@amazon.com>
RyanL1997
approved these changes
Jun 2, 2026
dai-chen
approved these changes
Jun 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Manual port to
3.7of the same fix proposed formainin #5501.AnalyticsEngineCompatIT(packageorg.opensearch.sql.plugin) is a smoke test that only makes sense against a cluster bundling the analytics-engine plugin stack. It is provisioned and run by its dedicated:analyticsEngineCompatITtask, whose cluster (testClusters.analyticsEngineCompat) addsarrow-base,arrow-flight-rpc, andanalytics-enginealongsideopensearch-sql.The main
integTesttask selects tests by exclusion. It already excludesorg/opensearch/sql/security/**("executed in another task"), but it never excluded this smoke test — so it also ran inside the mainintegTestsuite against the plainintegTest/remoteClusterclusters, neither of which has the analytics-engine plugin. (integTestWithSecurityis unaffected because it uses an include filter scoped toorg.opensearch.sql.security.*.)There, the test is pointless and exposed to suite-wide infra flakiness. In a recent CI run it was the descriptor recorded as the single failure after the test JVM wedged for ~4.5h (the empty test body cannot itself hang — it was just the last test in the order when the wedged JVM's REST connection dropped with
ConnectionClosedException).Fix
Exclude the specific
org/opensearch/sql/plugin/AnalyticsEngineCompatIT.classin the mainintegTesttask, matching the per-class exclude style already used there (e.g.legacy/ExplainIT.class). The compat test continues to run via its dedicated:analyticsEngineCompatITtask, which correctly provisions its dependency.This is purely a test-isolation/wiring fix in
integ-test/build.gradle; no production or test source changes.Check List
--signoff.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.