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

Jenkins Randomized Gradle Check Failed on main #1994

Closed
opensearch-ci-bot opened this issue Jan 27, 2022 · 3 comments
Closed

Jenkins Randomized Gradle Check Failed on main #1994

opensearch-ci-bot opened this issue Jan 27, 2022 · 3 comments
Labels
bug Something isn't working cicd

Comments

@opensearch-ci-bot
Copy link
Collaborator

opensearch-ci-bot commented Jan 27, 2022

@opensearch-project/opensearch-core team, please take a look at Build 2092 in gradle_check log for more information.

https://fork-jenkins.searchservices.aws.dev/job/OpenSearch_CI/job/PR_Checks/job/Gradle_Check/2092/artifact/gradle_check_2092.log

https://fork-jenkins.searchservices.aws.dev/job/OpenSearch_CI/job/PR_Checks/job/Gradle_Check/2092/artifact/gradle_check_2092_reports.zip

@opensearch-ci-bot opensearch-ci-bot added bug Something isn't working cicd labels Jan 27, 2022
@tlfeng
Copy link
Collaborator

tlfeng commented Jan 27, 2022

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':server:spotlessJavaCheck'.
> The following files had format violations:
      server/src/test/java/org/opensearch/index/engine/InternalEngineTests.java
          @@ -55,7 +55,6 @@
           import·org.apache.lucene.index.LeafReader;
           import·org.apache.lucene.index.LeafReaderContext;
           import·org.apache.lucene.index.LiveIndexWriterConfig;
          -import·org.apache.lucene.index.LogByteSizeMergePolicy;
           import·org.apache.lucene.index.LogDocMergePolicy;
           import·org.apache.lucene.index.MergePolicy;
           import·org.apache.lucene.index.NoMergePolicy;
  Run './gradlew :server:spotlessApply' to fix these violations.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:bugfix:buildBwcLinuxTar'.
> Process '/var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/bugfix/build/bwc/checkout-1.2/gradlew [-Dbuild.snapshot=true, -Dscan.tag.NESTED, --parallel, distribution:archives:linux-tar:assemble]' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':distribution:bwc:minor:buildBwcLinuxTar'.
> Process '/var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/minor/build/bwc/checkout-1.x/gradlew [-Dbuild.snapshot=true, -Dscan.tag.NESTED, --parallel, distribution:archives:linux-tar:assemble]' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
==============================================================================

@tlfeng
Copy link
Collaborator

tlfeng commented Jan 27, 2022

The 2 BWC test failure might caused by temporary network issue.

> Task :distribution:bwc:bugfix:buildBwcLinuxTar FAILED
 [1.2.4] > Task :distribution:archives:buildLinux
 [1.2.4] > Task :distribution:archives:buildLinux FAILED
 [1.2.4] build complete, generating: /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/bugfix/build/bwc/checkout-1.2/build/2092.tar.bz2
 [1.2.4] 
 [1.2.4] 148 actionable tasks: 148 executed
 [1.2.4] FAILURE: Build failed with an exception.
 [1.2.4] 
 [1.2.4] * What went wrong:
 [1.2.4] Execution failed for task ':distribution:archives:buildLinux'.
 [1.2.4] > Could not resolve all files for configuration ':distribution:archives:jdk_bundled_linux_x64'.
 [1.2.4]    > Could not download linux-15.0.1-x64.tar.gz (adoptopenjdk_15:linux:15.0.1)
 [1.2.4]       > Could not get resource 'https://api.adoptopenjdk.net/v3/binary/version/jdk-15.0.1+9/linux/x64/jdk/hotspot/normal/adoptopenjdk'.
 [1.2.4]          > Could not GET 'https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.1+9/OpenJDK15U-jdk_x64_linux_hotspot_15.0.1_9.tar.gz'. Received status code 502 from server: Bad Gateway
 [1.2.4] 
 [1.2.4] * Try:
 [1.2.4] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 [1.2.4] 
 [1.2.4] * Get more help at https://help.gradle.org
 [1.2.4] 
 [1.2.4] BUILD FAILED in 5m 56s
Output for /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/bugfix/build/bwc/checkout-1.2/gradlew:

> Task :distribution:bwc:minor:buildBwcLinuxTar
 [1.3.0] > Task :distribution:archives:buildLinux FAILED
 [1.3.0] build complete, generating: /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/minor/build/bwc/checkout-1.x/build/2092.tar.bz2
 [1.3.0] 
 [1.3.0] FAILURE: Build failed with an exception.
 [1.3.0] 
 [1.3.0] * What went wrong:
 [1.3.0] Execution failed for task ':distribution:archives:buildLinux'.
 [1.3.0] > Could not resolve all files for configuration ':distribution:archives:jdk_bundled_linux_x64'.
 [1.3.0]    > Could not resolve adoptium_17:linux:17.0.1.
 [1.3.0]      Required by:
 [1.3.0]          project :distribution:archives
 [1.3.0]       > Could not resolve adoptium_17:linux:17.0.1.
 [1.3.0]          > Could not get resource 'https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.1+12/OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz'.
 [1.3.0] 148 actionable tasks: 148 executed
 [1.3.0]             > Could not HEAD 'https://objects.githubusercontent.com/github-production-release-asset-2e65be/372925194/ed946bd9-cab1-45a3-8405-543994f2e7d7?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220127%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220127T124021Z&X-Amz-Expires=300&X-Amz-Signature=ad0fbf2f9decf880113ef30024807bf6b46f15686ebfc814c97aa4fccc2992ed&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=372925194&response-content-disposition=attachment%3B%20filename%3DOpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz&response-content-type=application%2Foctet-stream'. Received status code 503 from server: first byte timeout
 [1.3.0] 
 [1.3.0] * Try:
 [1.3.0] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 [1.3.0] 
 [1.3.0] * Get more help at https://help.gradle.org
 [1.3.0] 
 [1.3.0] BUILD FAILED in 6m 3s
Output for /var/CITOOL/workflow/OpenSearch_CI/PR_Checks/Gradle_Check/search/distribution/bwc/minor/build/bwc/checkout-1.x/gradlew:

> Task :distribution:bwc:minor:buildBwcLinuxTar FAILED

@tlfeng
Copy link
Collaborator

tlfeng commented Jan 27, 2022

The unused import import·org.apache.lucene.index.LogByteSizeMergePolicy has been removed by PR #1983. That import seems a leftover of the PR #1761

@tlfeng tlfeng closed this as completed Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cicd
Projects
None yet
Development

No branches or pull requests

2 participants