Opensearh build check fails on REDHAT 9 with error:Could not GET 'https://ci.opensearch.org/ci/dbc/snapshots/lucene/adoptium_21/linux/21.0.4/linux-21.0.4.pom'. Received status code 403 from server: Forbidden

Openserach [v2.17.1]:
We forked the Opensearch-project/Opensearch locally and just trying to build and run tests but the ./gradlew check command fails with following error:
FAILURE: Build failed with following error .

  • What went wrong:

Execution failed for task ‘:distribution:bwc:maintenance:buildBwcLinuxTar’.

> Building 1.3.20 didn’t generate expected file /home/ec2-user/opensearch-pankaj-repo/distribution/bwc/maintenance/build/bwc/checkout-1.3/distribution/archives/linux-tar/build/distributions/opensearch-min-1.3.20-SNAPSHOT-linux-x64.tar.gz

Here is the error in test report:

The verbose log shows following error:
org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve adoptium_21:linux:21.0.4.
Caused by: org.gradle.api.resources.ResourceException: Could not get resource ‘https://ci.opensearch.org/ci/dbc/snapshots/lucene/adoptium_21/linux/21.0.4/linux-21.0.4.pom’.
Caused by: org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not GET ‘https://ci.opensearch.org/ci/dbc/snapshots/lucene/adoptium_21/linux/21.0.4/linux-21.0.4.pom’. Received status code 403 from server: Forbidden

Configuration:
We are using AWS EC2 machine with following OS:
Red Hat Enterprise Linux 9
REDHAT_SUPPORT_PRODUCT_VERSION=“9.4”
Installed both JDK 11 and JDK 17 with following environment variables set:
$JAVA11_HOME=/usr/lib/jvm/java-11-openjdk-11.0.25.0.9-3.el9.x86_64/
$JAVA17_HOME=/usr/lib/jvm/jre-17-openjdk-17.0.13.0.11-4.el9.x86_64
$JAVA_HOME=/usr/lib/jvm/jre-17-openjdk-17.0.13.0.11-4.el9.x86_64

Since I am newbie to opensearch and java, your expert help and guidance is very much appreciated. Looking forward your prompt help.

Thank you,
~PC