Skip to content

Commit 9265b05

Browse files
authored
Merge branch '2.19' into backport/backport-18935-to-2.19
Signed-off-by: Craig Perkins <cwperx@amazon.com>
2 parents 93f2a9a + d9d178d commit 9265b05

File tree

14 files changed

+43
-7
lines changed

14 files changed

+43
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1212
- Bump Apache Lucene to 9.12.3 ([#19444](https://github.com/opensearch-project/OpenSearch/pull/19444))
1313
- Bump `commons-beanutils:commons-beanutils` from 1.9.4 to 1.11.0 ([#18401](https://github.com/opensearch-project/OpenSearch/issues/18401))
1414
- Bump `org.apache.poi` version from 5.2.5 to 5.4.1 in /plugins/ingest-attachment ([#17887](https://github.com/opensearch-project/OpenSearch/pull/17887))
15+
- Bump `org.bouncycastle:bc-fips` from 2.0.0 to 2.1.2 ([#19155](https://github.com/opensearch-project/OpenSearch/pull/19155))
16+
- Bump `org.apache.commons:commons-lang3` from 3.14.0 to 3.18.0 ([#19155](https://github.com/opensearch-project/OpenSearch/pull/19155))
17+
- Bump `org.bouncycastle:bcprov-jdk18on` from 1.78 to 1.79 ([#19155](https://github.com/opensearch-project/OpenSearch/pull/19155))
18+
- Bump `org.bouncycastle:bcmail-jdk18on` from 1.78 to 1.79 ([#19155](https://github.com/opensearch-project/OpenSearch/pull/19155))
19+
- Bump `org.bouncycastle:bcpkix-jdk18on` from 1.78 to 1.79 ([#19155](https://github.com/opensearch-project/OpenSearch/pull/19155))
1520
- Bump `org.apache.tika` from 2.9.2 to 3.2.2 ([#19242](https://github.com/opensearch-project/OpenSearch/pull/19242))
1621
- Bump `org.apache.commons:commons-compress` from 1.26.1 to 1.28.0 ([#19125](https://github.com/opensearch-project/OpenSearch/pull/19242))
1722
- Bump `org.apache.commons:commonscodec` from 1.16.1 to 1.18.0 ([#19125](https://github.com/opensearch-project/OpenSearch/pull/19242))
1823
- Bump bouncycastle from 1.79 to 1.82 ([#19552](https://github.com/opensearch-project/OpenSearch/pull/19552))
1924
- Bump `org.ajoberstar.grgit:grgit-core` from 5.2.1 to 5.3.2 ([#19606](https://github.com/opensearch-project/OpenSearch/pull/19606))
25+
- Bump `com.nimbusds:nimbus-jose-jwt` from 10.0.2 to 10.3 ([#19604](https://github.com/opensearch-project/OpenSearch/pull/19604))
2026

2127
### Deprecated
2228

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,10 @@ gradle.projectsEvaluated {
425425

426426
project.tasks.withType(Test) { task ->
427427
if (task != null) {
428+
// BouncyCastle introduced cleanup daemon with 5-second delay giving thread leak failures
429+
// See https://github.com/opensearch-project/OpenSearch/issues/19238
430+
task.systemProperty('org.bouncycastle.native.cleanup_delay', '0')
431+
428432
if (BuildParams.runtimeJavaVersion > JavaVersion.VERSION_17) {
429433
task.jvmArgs += ["-Djava.security.manager=allow"]
430434
}

distribution/tools/plugin-cli/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
compileOnly project(":server")
3939
compileOnly project(":libs:opensearch-cli")
4040
api "org.bouncycastle:bcpg-fips:2.0.9"
41-
api "org.bouncycastle:bc-fips:2.0.0"
41+
api "org.bouncycastle:bc-fips:2.1.2"
4242
testImplementation project(":test:framework")
4343
testImplementation 'com.google.jimfs:jimfs:1.3.0'
4444
testRuntimeOnly("com.google.guava:guava:${versions.guava}") {

distribution/tools/plugin-cli/licenses/bc-fips-2.0.0.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
061fbe8383f70489dda95a11a2a4739eb818ff2c

distribution/tools/plugin-cli/src/test/java/org/opensearch/plugins/InstallPluginCommandTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
package org.opensearch.plugins;
3434

3535
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;
36+
import com.carrotsearch.randomizedtesting.annotations.ThreadLeakFilters;
3637

3738
import com.google.common.jimfs.Configuration;
3839
import com.google.common.jimfs.Jimfs;
@@ -71,6 +72,7 @@
7172
import org.opensearch.env.Environment;
7273
import org.opensearch.env.TestEnvironment;
7374
import org.opensearch.semver.SemverRange;
75+
import org.opensearch.test.BouncyCastleThreadFilter;
7476
import org.opensearch.test.OpenSearchTestCase;
7577
import org.opensearch.test.PosixPermissionsResetter;
7678
import org.opensearch.test.VersionUtils;
@@ -134,6 +136,7 @@
134136
import static org.hamcrest.Matchers.startsWith;
135137

136138
@LuceneTestCase.SuppressFileSystems("*")
139+
@ThreadLeakFilters(filters = BouncyCastleThreadFilter.class)
137140
public class InstallPluginCommandTests extends OpenSearchTestCase {
138141

139142
private InstallPluginCommand skipJarHellCommand;

plugins/repository-azure/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies {
6363
api "net.java.dev.jna:jna-platform:${versions.jna}"
6464
api 'com.microsoft.azure:msal4j:1.18.0'
6565
api 'com.nimbusds:oauth2-oidc-sdk:11.21'
66-
api 'com.nimbusds:nimbus-jose-jwt:9.41.1'
66+
api 'com.nimbusds:nimbus-jose-jwt:10.3'
6767
api 'com.nimbusds:content-type:2.3'
6868
api 'com.nimbusds:lang-tag:1.7'
6969
// Both msal4j:1.14.3 and oauth2-oidc-sdk:11.9.1 has compile dependency on different versions of json-smart,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5d7a2aed3502099fa8552e5c16726fd4c9a27e0c

plugins/repository-azure/licenses/nimbus-jose-jwt-9.41.1.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/repository-hdfs/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dependencies {
7676
api "org.apache.commons:commons-compress:${versions.commonscompress}"
7777
api 'org.apache.commons:commons-configuration2:2.11.0'
7878
api "commons-io:commons-io:${versions.commonsio}"
79-
api 'org.apache.commons:commons-lang3:3.17.0'
79+
api 'org.apache.commons:commons-lang3:3.18.0'
8080
implementation 'com.google.re2j:re2j:1.8'
8181
api 'javax.servlet:servlet-api:2.5'
8282
api "org.slf4j:slf4j-api:${versions.slf4j}"

0 commit comments

Comments
 (0)