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

[BUG] Build broken on Windows #74

Open
Tracked by #33
dblock opened this issue Oct 26, 2021 · 1 comment
Open
Tracked by #33

[BUG] Build broken on Windows #74

dblock opened this issue Oct 26, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed Priority-Medium roadmap windows

Comments

@dblock
Copy link
Member

dblock commented Oct 26, 2021

What is the bug?

Trying to build PA on Windows fails.

~/source/opensearch-project/performance-analyzer/upstream-performance-analyzer (1.1)$ ./gradlew build -Dbuild.snapshot=true
Picked up _JAVA_OPTIONS: -Xmx4096M
=======================================
OpenSearch Build Hamster says Hello!
  Gradle Version        : 6.6.1
  OS Info               : Windows Server 2019 10.0 (amd64)
  JDK Version           : 14 (OpenJDK)
  JAVA_HOME             : C:\Program Files\Java\jdk-14.0.2
  Random Testing Seed   : A49A8F9D76E7894
  In FIPS 140 mode      : false
=======================================
> Task :buildRca FAILED
> Task :updateShas FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':buildRca'.
> A problem occurred starting process 'command './gradlew''

* 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 ':updateShas'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find org.opensearch:performanceanalyzer-rca:1.1.0.0-SNAPSHOT.
     Searched in the following locations:
       - https://jcenter.bintray.com/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/maven-metadata.xml
       - https://jcenter.bintray.com/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/performanceanalyzer-rca-1.1.0.0-SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/performanceanalyzer-rca-1.1.0.0-SNAPSHOT.pom
       - file:/C:/Users/Administrator/.m2/repository/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/maven-metadata.xml
       - file:/C:/Users/Administrator/.m2/repository/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/performanceanalyzer-rca-1.1.0.0-SNAPSHOT.pom
       - https://plugins.gradle.org/m2/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/org/opensearch/performanceanalyzer-rca/1.1.0.0-SNAPSHOT/performanceanalyzer-rca-1.1.0.0-SNAPSHOT.pom
     Required by:
         project :

* 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.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
3 actionable tasks: 3 executed

What is your host/environment?
MINGW64_NT-10.0-17763 EC2AMAZ-4PA8CKB 3.1.7-340.x86_64 2021-10-12 16:29 UTC x86_64 Msys

Do you have any additional context?

Coming from opensearch-project/opensearch-build#33

@kkhatua
Copy link
Member

kkhatua commented Oct 27, 2022

Tracking parent issue: #75
Failure is due to RCA package not building on Windows. We need to build or bypass the package on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed Priority-Medium roadmap windows
Projects
None yet
Development

No branches or pull requests

2 participants