diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0f5e7f8ff..3f89a3185 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -21,6 +21,7 @@ jobs: needs: Get-CI-Image-Tag strategy: matrix: + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. java: [11, 17, 21.0.1] os: [ubuntu-latest] @@ -56,6 +57,7 @@ jobs: Check-neural-search-windows: strategy: matrix: + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. java: [11, 17, 21.0.1] os: [windows-latest] @@ -84,6 +86,7 @@ jobs: needs: Get-CI-Image-Tag strategy: matrix: + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. java: [11, 17, 21.0.1] os: [ubuntu-latest] @@ -118,6 +121,7 @@ jobs: Precommit-neural-search-windows: strategy: matrix: + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. java: [11, 17, 21.0.1] os: [windows-latest] diff --git a/.github/workflows/backwards_compatibility_tests_workflow.yml b/.github/workflows/backwards_compatibility_tests_workflow.yml index 539c14ebc..030f930fa 100644 --- a/.github/workflows/backwards_compatibility_tests_workflow.yml +++ b/.github/workflows/backwards_compatibility_tests_workflow.yml @@ -13,7 +13,8 @@ jobs: Restart-Upgrade-BWCTests-NeuralSearch: strategy: matrix: - java: [ 11, 17, 21 ] + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. + java: [ 11, 17, 21.0.1 ] os: [ubuntu-latest,windows-latest] bwc_version : ["2.9.0","2.10.0","2.11.0","2.12.0-SNAPSHOT"] opensearch_version : [ "3.0.0-SNAPSHOT" ] @@ -35,6 +36,7 @@ jobs: - name: Run NeuralSearch Restart-Upgrade BWC Tests from BWCVersion-${{ matrix.bwc_version }} to OpenSearch Version-${{ matrix.opensearch_version }} on ${{matrix.os}} run: | echo "Running restart-upgrade backwards compatibility tests ..." +# ./gradlew :qa:restart-upgrade:testAgainstNewCluster -D'tests.bwc.version=${{ matrix.bwc_version }}' Rolling-Upgrade-BWCTests-NeuralSearch: strategy: @@ -61,3 +63,4 @@ jobs: - name: Run NeuralSearch Rolling-Upgrade BWC Tests from BWCVersion-${{ matrix.bwc_version }} to OpenSearch Version-${{ matrix.opensearch_version }} on ${{matrix.os}} run: | echo "Running rolling-upgrade backwards compatibility tests ..." +# ./gradlew :qa:rolling-upgrade:testRollingUpgrade -D'tests.bwc.version=${{ matrix.bwc_version }}' diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index 009e18ca9..163b8c220 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -20,7 +20,8 @@ jobs: integ-test-with-security-linux: strategy: matrix: - java: [11, 17, 21] + # Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted. + java: [11, 17, 21.0.1] name: Run Integration Tests on Linux runs-on: ubuntu-latest @@ -47,4 +48,4 @@ jobs: # switching the user, as OpenSearch cluster can only be started as root/Administrator on linux-deb/linux-rpm/windows-zip. run: | chown -R 1000:1000 `pwd` - su `id -un 1000` -c "whoami && java -version" + su `id -un 1000` -c "whoami && java -version && ./gradlew integTest -Dsecurity.enabled=true"