You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trying to run docker/ci/ci.sh up results in the images failing to complete the gradle clean stage with the following error:
> [wi-build builder 4/4] RUN gradle clean:
0.749 Starting a Gradle Daemon (subsequent builds will be faster)
13.55 > Task :buildSrc:reaper:compileJava
13.55 > Task :buildSrc:reaper:processResources NO-SOURCE
13.55 > Task :buildSrc:reaper:classes
13.55 > Task :buildSrc:reaper:jar
26.85
26.85 > Task :buildSrc:compileJava
26.85 /home/wazuh-indexer/buildSrc/src/main/java/org/opensearch/gradle/info/GlobalBuildInfoPlugin.java:202: error: constructor InstallationLocation in class InstallationLocation cannot be applied to given types;
26.85 final InstallationLocation location = new InstallationLocation(javaHome, "Java home");
26.85 ^
26.85 required: File,String,boolean,boolean
26.85 found: File,String
26.85 reason: actual and formal argument lists differ in length
26.85 Note: Some input files use or override a deprecated API.
26.85 Note: Recompile with -Xlint:deprecation for details.
26.85 1 error
26.95
26.95 > Task :buildSrc:compileJava FAILED
26.95
26.95 FAILURE: Build failed with an exception.
26.95
26.95 * What went wrong:
26.95 Execution failed for task ':buildSrc:compileJava'.
26.95 > Compilation failed; see the compiler error output for details.
26.95
26.95 * Try:
26.95 > Run with --info option to get more log output.
26.95
26.95 BUILD FAILED in 26s
26.95 3 actionable tasks: 3 executed
To Reproduce
Clone the indexer repo and switch to it
Go into docker/ci
Run ci.sh up
Expected behavior
Docker images should be built and containers brought up that should be capable of building our packages.
The text was updated successfully, but these errors were encountered:
There is a merged PR for this on opensearch's repo, but it's beyond 2.15, so we will have to wait until the next version bump to include it. Otherwise we may risk merging conflicts.
For the time being, I think I can lock the the docker containers to an older version of gradle (8.7).
Describe the bug
Trying to run
docker/ci/ci.sh up
results in the images failing to complete thegradle clean
stage with the following error:To Reproduce
docker/ci
ci.sh up
Expected behavior
Docker images should be built and containers brought up that should be capable of building our packages.
The text was updated successfully, but these errors were encountered: