Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] [rule based autotagging] add attribute value store #17441

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 4648c3f from #17342.

* [rule based autotagging] add attribute value store

Signed-off-by: Kaushal Kumar <[email protected]>

* add CHANGELOG entry

Signed-off-by: Kaushal Kumar <[email protected]>

* make the store interface generic

Signed-off-by: Kaushal Kumar <[email protected]>

* run spotless apply

Signed-off-by: Kaushal Kumar <[email protected]>

* add missing javadoc

Signed-off-by: Kaushal Kumar <[email protected]>

* improve javadoc for attribute value store

Signed-off-by: Kaushal Kumar <[email protected]>

* improve binary search bisecting expression

Signed-off-by: Kaushal Kumar <[email protected]>

* add licenses directory

Signed-off-by: Kaushal Kumar <[email protected]>

---------

Signed-off-by: Kaushal Kumar <[email protected]>
(cherry picked from commit 4648c3f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Gradle check result for 3312432: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for 3312432: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for 3312432: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@jainankitk
Copy link
Collaborator

❌ Gradle check result for 3312432: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Cardinality tests seems to be failing consistently:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/) (14 failures / +11)

    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/80_typed_keys/Test typed keys parameter for cardinality aggregation}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_80_typed_keys_Test_typed_keys_parameter_for_cardinality_aggregation_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric/Missing field without missing param}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_Missing_field_without_missing_param_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric/Only aggs test}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_Only_aggs_test_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric/Missing field with missing param}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_Missing_field_with_missing_param_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/Missing field without missing param}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_Missing_field_without_missing_param_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/Only aggs test}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_Only_aggs_test_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/Metadata test}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_Metadata_test_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric/Basic test}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_Basic_test_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/Basic test}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_Basic_test_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/profiler unsigned_long}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_profiler_unsigned_long_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/40_range/Date range unmapped with children}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_40_range_Date_range_unmapped_with_children_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric/profiler double}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_profiler_double_/)
    [org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search.aggregation/170_cardinality_metric_unsigned/profiler string}](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_aggregation_170_cardinality_metric_unsigned_profiler_string_/)
    [org.opensearch.remotemigration.RemotePrimaryRelocationIT.testMixedModeRelocation_FailInFinalize](https://build.ci.opensearch.org/job/gradle-check/53887/testReport/junit/org.opensearch.remotemigration/RemotePrimaryRelocationIT/testMixedModeRelocation_FailInFinalize/)

@cwperks
Copy link
Member

cwperks commented Feb 27, 2025

@kaushalmahi12 Could it be because #17380 is not in 2.19?

I am seeing this error:

» WARN ][o.o.a.s.TransportSearchAction] [v2.19.1-2] onPhaseStart listener [org.opensearch.action.search.SearchRequestStats@a4382da] failed
» java.lang.IllegalArgumentException: No enum constant org.opensearch.action.search.SearchPhaseName.CREATE_PIT
» at java.****/java.lang.Enum.valueOf(Enum.java:293) ~[?:?]
» at org.opensearch.action.search.SearchPhaseName.valueOf(SearchPhaseName.java:18) ~[opensearch-2.19.1-SNAPSHOT.jar:2.19.1-SNAPSHOT]
» at org.opensearch.action.search.SearchPhase.getSearchPhaseName(SearchPhase.java:77) ~[opensearch-2.19.1-SNAPSHOT.jar:2.19.1-SNAPSHOT]
» at org.opensearch.action.search.SearchRequestStats.onPhaseStart(SearchRequestStats.java:76) ~[opensearch-2.19.1-SNAPSHOT.jar:2.19.1-SNAPSHOT]
» at org.opensearch.action.search.SearchRequestOperationsListener$CompositeListener.onPhaseStart(SearchRequestOperationsListener.java:87) [opensearch-2.19.1-SNAPSHOT.jar:2.19.1-SNAPSHOT]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants