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]Support of GeoJson Point for GeoPoint field (#4597) #4842

Merged

Conversation

heemin32
Copy link
Contributor

  • Support of GeoJson Point for GeoPoint field

See opensearch-project/geospatial#152

Signed-off-by: Heemin Kim heemin@amazon.com
(cherry picked from commit a282d39)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@heemin32 heemin32 requested review from a team and reta as code owners October 19, 2022 18:54
@heemin32 heemin32 changed the title Support of GeoJson Point for GeoPoint field (#4597) [Backport 2.x]Support of GeoJson Point for GeoPoint field (#4597) Oct 19, 2022
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32 heemin32 closed this Oct 19, 2022
@heemin32 heemin32 reopened this Oct 19, 2022
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32 heemin32 closed this Oct 19, 2022
@heemin32 heemin32 reopened this Oct 19, 2022
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32 heemin32 force-pushed the backport/backport-4597-to-2.x branch from 86fd99e to 2786f7b Compare October 20, 2022 00:58
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32
Copy link
Contributor Author

All unrelated test failures.

@heemin32
Copy link
Contributor Author

@dblock Please take a look and merge it.

@dblock
Copy link
Member

dblock commented Oct 20, 2022

@dblock Please take a look and merge it.

Please take a look at these unrelated failures, and for each locate whether it's intermittent and whether there's an issue already opened, and link the PR to it - we keep count so we can address issues in priority order. Please open new issues for any new intermittent failures. You can then force push on your branch to retry CI till it's green. Unfortunately flakey tests are what we live with rn :(

@heemin32
Copy link
Contributor Author

Failure of org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse is from #4259

@heemin32 heemin32 closed this Oct 20, 2022
@heemin32 heemin32 reopened this Oct 20, 2022
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32
Copy link
Contributor Author

Failing test is from #4859

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32
Copy link
Contributor Author

#4831 & #4861

@heemin32 heemin32 force-pushed the backport/backport-4597-to-2.x branch from 2786f7b to a8ec925 Compare October 20, 2022 20:51
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@dblock
Copy link
Member

dblock commented Oct 20, 2022

Tests with failures:
 - org.opensearch.index.fielddata.SortedSetDVStringFieldDataTests.testSortMissingLast
 - org.opensearch.index.fielddata.SortedSetDVStringFieldDataTests.testSortMissingLastReverse
 - 

@heemin32 This is not a fluke isn't it? I didn't try

@heemin32
Copy link
Contributor Author

heemin32 commented Oct 20, 2022

Tests with failures:
 - org.opensearch.index.fielddata.SortedSetDVStringFieldDataTests.testSortMissingLast
 - org.opensearch.index.fielddata.SortedSetDVStringFieldDataTests.testSortMissingLastReverse
 - 

@heemin32 This is not a fluke isn't it? I didn't try

Those are flaky tests. The tests passed in local when tried several times.
#4861

@heemin32
Copy link
Contributor Author

heemin32 commented Oct 20, 2022

@dblock We should merge this PR to 2.x branch. #4270

@dblock
Copy link
Member

dblock commented Oct 21, 2022

I backported #4270 in #4867, rebase?

@heemin32 heemin32 force-pushed the backport/backport-4597-to-2.x branch from a8ec925 to 4b82a6f Compare October 21, 2022 16:10
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@dblock
Copy link
Member

dblock commented Oct 21, 2022

I added a section in dev guide on what to do with flakey tests, care to try it out for me @heemin32?
#4868

@heemin32
Copy link
Contributor Author

heemin32 commented Oct 21, 2022

[Test Result](https://build.ci.opensearch.org/job/gradle-check/5183/testReport/) (4 failures / -4)
[org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/190_index_prefix_search/search with uppercase regex}](https://build.ci.opensearch.org/job/gradle-check/5183/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_190_index_prefix_search_search_with_uppercase_regex_/)
[org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/190_index_prefix_search/search with uppercase regex}](https://build.ci.opensearch.org/job/gradle-check/5183/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_190_index_prefix_search_search_with_uppercase_regex__2/)
[org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/190_index_prefix_search/search with uppercase regex}](https://build.ci.opensearch.org/job/gradle-check/5183/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_190_index_prefix_search_search_with_uppercase_regex__3/)
[org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=search/190_index_prefix_search/search with uppercase regex}](https://build.ci.opensearch.org/job/gradle-check/5183/testReport/junit/org.opensearch.backwards/MixedClusterClientYamlTestSuiteIT/test__p0_search_190_index_prefix_search_search_with_uppercase_regex__4/)

Existing issue: #4831

@heemin32
Copy link
Contributor Author

heemin32 commented Oct 21, 2022

I added a section in dev guide on what to do with flakey tests, care to try it out for me @heemin32? #4868

3. Search through [issues](https://github.com/opensearch-project/OpenSearch/issues?q=is%3Aopen+is%3Aissue+label%3A%22Flakey+Random+Test+Failure%22) using the name of the failed test for whether this is a known flakey test. 
-> Why not just search issue using failed test name as keyword? Some issue might not have been tagged properly yet.
5. If an existing issue is found, paste a link to the known issue in a comment to your PR.
6. If no existing issue is found, open one.
-> If no existing issue is found, open one and paste a link to the issue in a comment to your PR.
8. Retry CI via the GitHub UX or by pushing an update to your PR.
-> Retry CI via the GitHub UX is only available to maintainers.
-> Would be nice state clearly about how many times someone should try. Until everything succeed?

@andrross
Copy link
Member

@heemin32 can you rebase to pull in #4869?

* Support of GeoJson Point for GeoPoint field

See opensearch-project/geospatial#152

Signed-off-by: Heemin Kim <heemin@amazon.com>
(cherry picked from commit a282d39)
Signed-off-by: Heemin Kim <heemin@amazon.com>
@heemin32 heemin32 force-pushed the backport/backport-4597-to-2.x branch from 4b82a6f to 77c40db Compare October 21, 2022 18:48
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@andrross
Copy link
Member

@heemin32 can you fix the changelog conflicts?

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@heemin32
Copy link
Contributor Author

[Test Result](https://build.ci.opensearch.org/job/gradle-check/5263/testReport/) (4 failures / +4)
[org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse](https://build.ci.opensearch.org/job/gradle-check/5263/testReport/junit/org.opensearch.search/PitMultiNodeTests/testCreatePitWhileNodeDropWithAllowPartialCreationFalse/)
[org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse](https://build.ci.opensearch.org/job/gradle-check/5263/testReport/junit/org.opensearch.search/PitMultiNodeTests/testCreatePitWhileNodeDropWithAllowPartialCreationFalse_2/)
[org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse](https://build.ci.opensearch.org/job/gradle-check/5263/testReport/junit/org.opensearch.search/PitMultiNodeTests/testCreatePitWhileNodeDropWithAllowPartialCreationFalse_3/)
[org.opensearch.search.PitMultiNodeTests.testCreatePitWhileNodeDropWithAllowPartialCreationFalse](https://build.ci.opensearch.org/job/gradle-check/5263/testReport/junit/org.opensearch.search/PitMultiNodeTests/testCreatePitWhileNodeDropWithAllowPartialCreationFalse_4/)

Flaky test: #4259

@heemin32 heemin32 closed this Oct 21, 2022
@heemin32 heemin32 reopened this Oct 21, 2022
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@andrross andrross merged commit 0503897 into opensearch-project:2.x Oct 21, 2022
@heemin32 heemin32 deleted the backport/backport-4597-to-2.x branch October 21, 2022 23:35
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