Skip to content

Testing #8

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

Open
wants to merge 512 commits into
base: main
Choose a base branch
from
Open

Testing #8

wants to merge 512 commits into from

Conversation

avb-is-me
Copy link

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

andrross and others added 30 commits April 24, 2025 15:26
Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
I observed a failure in local testing due to this issue. The code
previously was assuming it would observe a yellow cluster after
restarting a node, but the node could restart and re-join the cluster
before the assertion causing a failure. The `onNodeStopped` callback
lets the test execute code before the node is restarted, so it should
fix this issue.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
* Bump main branch to be version 3.1.0

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update current version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update bwc version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update bwc version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Bump main branch to be version 3.1.0

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update current version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update bwc version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update bwc version

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>

* Update java-versions.properties

Signed-off-by: Andrew Ross <andrross@amazon.com>

---------

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
…hRemoteStorePressureIT (#18067)

* Increase assertBusy wait to 2 mins in wait for searchable docs

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>

* Use fixed sleep time for assertBusy

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>

---------

Signed-off-by: Shourya Dutta Biswas <114977491+shourya035@users.noreply.github.com>
---------

Signed-off-by: Rishab Nahata <rnnahata@amazon.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Jay Deng <jayd0104@gmail.com>
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
…eLoop (#18109)

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
…queue size configurable (#18088)

---------

Signed-off-by: Varun Bharadwaj <varunbharadwaj1995@gmail.com>
(cherry picked from commit c2f323a)

Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rajat Gupta <gptrajat@amazon.com>
Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
Co-authored-by: Rajat Gupta <gptrajat@amazon.com>
Signed-off-by: Manik Garg <gargmanik1317@gmail.com>
)" (#18116)

This reverts commit eba12fa.

Signed-off-by: Andrew Ross <andrross@amazon.com>
These are some of the most frequent offenders for failing builds. All
have existing issues open for tracking their fixes.

Signed-off-by: Andrew Ross <andrross@amazon.com>
I believe the test tear down is racing with the thread leak detector
because the `shutdown()` method does not actually wait for all the
threads to stop. The fix here is to use `ThreadPool::terminate` which
does the proper shutdown and ensures are threads are stopped before
returning from the tearDown method.

Signed-off-by: Andrew Ross <andrross@amazon.com>
* Fix flaky TransportMultiSearchActionTests.testCancellation

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>

* Fix typo

Signed-off-by: Andrew Ross <andrross@amazon.com>

---------

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
Signed-off-by: Andrew Ross <andrross@amazon.com>
Co-authored-by: Andrew Ross <andrross@amazon.com>
…ugins/ingest-attachment (#18101)

* Bump org.apache.commons:commons-collections4

Bumps org.apache.commons:commons-collections4 from 4.4 to 4.5.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-collections4
  dependency-version: 4.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This appears to be unused and was only relevant for very old versions of
Elasticsearch.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
(cherry picked from commit 33b88a2)

Signed-off-by: Rajat Gupta <gptrajat@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rajat Gupta <gptrajat@amazon.com>
I believe it's a mistake to assume that an operation will take more than
zero milliseconds. We don't necessarily know the resolution of the
clocks on the test machines, and a sufficently fast download in the test
environment can be truncated to zero millis.

Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Andriy Redko <drreta@gmail.com>
Allows removal of the separate maintainer check workflow

Signed-off-by: Peter Nied <peternied@hotmail.com>
luyuncheng and others added 30 commits June 27, 2025 19:44
…dQuery (#18621)

* ADD Parent-Join visit method.

Signed-off-by: luyuncheng <luyuncheng@bytedance.com>

* ADD Parent-Join visit method.

Signed-off-by: luyuncheng <luyuncheng@bytedance.com>

* ADD Parent-Join visit method.

Signed-off-by: luyuncheng <luyuncheng@bytedance.com>

* ADD Parent-Join visit method.

Signed-off-by: luyuncheng <luyuncheng@bytedance.com>

---------

Signed-off-by: luyuncheng <luyuncheng@bytedance.com>
…es (#18630)

testAutoGenerateIdNoDuplicates was modified back in 2014 to search all
docs in the index and to search all docs of a given type in the index.
When types were removed in OpenSearch 2.0, that second check had the
type removed, making it identical to the first check.

This change essentially goes back to the pre-2014 version, when the
test was just searching all docs in the index once.

Also, I modified the test to change index names on every iteration in
the hope that it becomes a bit less flaky. Generating a different
index on every iteration does not appear to violate the spirit of
the test.

Signed-off-by: Michael Froh <msfroh@apache.org>
)

---------

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
Signed-off-by: Ankit Jain <akjain@amazon.com>
Co-authored-by: Ankit Jain <akjain@amazon.com>
---------

Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
Signed-off-by: Ankit Jain <akjain@amazon.com>
Co-authored-by: Ankit Jain <akjain@amazon.com>
…8629)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
…dfs-fixture (#18645)

* Bump com.squareup.okio:okio in /test/fixtures/hdfs-fixture

Bumps [com.squareup.okio:okio](https://github.com/square/okio) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/square/okio/releases)
- [Changelog](https://github.com/square/okio/blob/master/CHANGELOG.md)
- [Commits](square/okio@parent-3.13.0...parent-3.14.0)

---
updated-dependencies:
- dependency-name: com.squareup.okio:okio
  dependency-version: 3.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
* Pass aux transport to secure settings parameters().

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Update javadocs, fix UTs.

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Spotless apply

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Pass aux transport key as unique identifier instead of transport ref.

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Consistent naming. auxTransportSettingKey -> auxTransportType.

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Changelog.

Signed-off-by: Finn Carroll <carrofin@amazon.com>

* Spotless apply

Signed-off-by: Finn Carroll <carrofin@amazon.com>

---------

Signed-off-by: Finn Carroll <carrofin@amazon.com>
* Making snapshot store/restore rate dynamic

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>

* simple the code

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>

---------

Signed-off-by: kkewwei <kewei.11@bytedance.com>
Signed-off-by: kkewwei <kkewwei@163.com>
…tribution/packages (#18646)

* Bump com.netflix.nebula.ospackage-base in /distribution/packages

Bumps com.netflix.nebula.ospackage-base from 11.11.2 to 12.0.0.

---
updated-dependencies:
- dependency-name: com.netflix.nebula.ospackage-base
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig Perkins <cwperx@amazon.com>
* copied from other branch, ready for pr

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* cleanup from merging

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* another spotless apply and fixed breaking change

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* another spotlessApply

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* forgot to change back concurrent agg stuff

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* forgot to spotless after prev fix

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* added more unit tests for coverage

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* changed to supplier, removed timer ctors

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* made feedback changes

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* forgot javadoc for new class

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* forgot to revert name to toString

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* fix count check in concurrentquerypb

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

* unmodifiable map add

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>

---------

Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
Signed-off-by: TJ Neuenfeldt <56700214+neuenfeldttj@users.noreply.github.com>
… for Regexp queries introduced in OpenSearch 3.0 (#18640)

* FIx ~ bug

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Update changelog

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
)

---------

Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
Signed-off-by: Ankit Jain <akjain@amazon.com>
Co-authored-by: Ankit Jain <akjain@amazon.com>
* Fix bug in replication lag computation.

This change fixes a bug with replication lag computation to correctly use epoch reference point with Instant.now() and DateUtils.
This change also fixes pruning logic to correctly remove the latest synced to checkpoint from tracking.  Previously we would only
prune up to the latest.  This ensures that when a new checkpoint is eventually received we aren't incorrectly computing lag from the synced-to checkpoint.

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>

* add changelog entry

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>

* Fix flaky test to hardcode time lag between checkpoint arrival.

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>

---------

Signed-off-by: Marc Handalian <marc.handalian@gmail.com>
---------

Signed-off-by: Du Tran <quangdutran809@gmail.com>
…rContext in QueryPhase (#18637)

* Initial Commit

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Javadocs

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Factory design pattern for QueryCollectorContextSpec

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Fixing Concurrent Segment Search

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Remove spec

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Renaming method

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Javadoc

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Removing support method from QueryCollectorContextSpecFactory

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Adding javadoc

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Add changelog

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Add experimentalAPI annotation

Signed-off-by: Varun Jain <varunudr@amazon.com>

* remove redundant check from getQueryCollectorContextSpec method

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Add unit tests

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Remove Test annotation

Signed-off-by: Varun Jain <varunudr@amazon.com>

* Reformatting

Signed-off-by: Varun Jain <varunudr@amazon.com>

---------

Signed-off-by: Varun Jain <varunudr@amazon.com>
…/repository-azure (#18644)

* Bump com.azure:azure-storage-blob in /plugins/repository-azure

Bumps [com.azure:azure-storage-blob](https://github.com/Azure/azure-sdk-for-java) from 12.30.0 to 12.30.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-storage-blob_12.30.0...azure-storage-blob_12.30.1)

---
updated-dependencies:
- dependency-name: com.azure:azure-storage-blob
  dependency-version: 12.30.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…18636)

* Fix checkpoint handling to prevent segment replication infinite loop

Signed-off-by: Ashish Singh <ssashish@amazon.com>

* Modify existing test to verify code change behaviour

Signed-off-by: Ashish Singh <ssashish@amazon.com>

---------

Signed-off-by: Ashish Singh <ssashish@amazon.com>
* Extend approximation to other numeric types

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix basic tests

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix basic tests

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Add Parameterized tests for all numeric types

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix FieldSortIT

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Fix FieldSortIT

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Address comments

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Update tests and changelog

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

* Update tests and changelog

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>

---------

Signed-off-by: Prudhvi Godithi <pgodithi@amazon.com>
Changes:
- Bump org.bouncycastle:bctls-fips from 2.0.19 to 2.0.20
- Bump org.bouncycastle:bcpkix-fips from 2.0.7 to 2.0.8
- Bump org.bouncycastle:bcpg-fips from 2.0.10 to 2.0.11
- Bump com.password4j:password4j from 1.8.2 to 1.8.3

Signed-off-by: Andrey Pleskach <ples@aiven.io>
Signed-off-by: Gagan Singh Saini <gagasa@amazon.com>
…ileCachedIndexInput (#18662)

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>
…mote store (#18686)

Signed-off-by: Gagan Singh Saini <gagasa@amazon.com>
Co-authored-by: Gaurav Bafna <gbbafna@amazon.com>
* Added support for range version support in semver

Signed-off-by: Shruti Garg <shrugarg@amazon.com>

* Added test coverage for missing lines

Signed-off-by: Shruti Garg <shrugarg@amazon.com>

* Fixed for non reachable code line and tests

Signed-off-by: Shruti Garg <shrugarg@amazon.com>

---------

Signed-off-by: Shruti Garg <shrugarg@amazon.com>
…dfs-fixture (#18689)

* Bump com.squareup.okio:okio in /test/fixtures/hdfs-fixture

Bumps [com.squareup.okio:okio](https://github.com/square/okio) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/square/okio/releases)
- [Changelog](https://github.com/square/okio/blob/master/CHANGELOG.md)
- [Commits](square/okio@parent-3.14.0...parent-3.15.0)

---
updated-dependencies:
- dependency-name: com.squareup.okio:okio
  dependency-version: 3.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add Semantic Version field type mapper and extensive unit tests

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>

* Refactor SemanticVersionFieldMapper for flexible index, store, and doc_values support

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>

---------

Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
…y-azure (#18691)

* Bump com.azure:azure-core in /plugins/repository-azure

Bumps [com.azure:azure-core](https://github.com/Azure/azure-sdk-for-java) from 1.55.3 to 1.55.5.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-core_1.55.3...azure-core_1.55.5)

---
updated-dependencies:
- dependency-name: com.azure:azure-core
  dependency-version: 1.55.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Exposing default codec from codec service

Signed-off-by: bharath-techie <bharath78910@gmail.com>

* addressing comments

Signed-off-by: bharath-techie <bharath78910@gmail.com>

---------

Signed-off-by: bharath-techie <bharath78910@gmail.com>
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.