@stefan.feilmeier
Thank you so much for a quick response.
Yes I saw,
I made recent change, I took the cnf/build.bnd from the recent build.
And the build actually failed with these:
#20 381.4 > Task :io.openems.wrapper:jar
#20 381.4 /src/io.openems.wrapper/auth0-auth0.bnd:0: warning: io.openems.wrapper.auth0-auth0: Export com.auth0.client.mgmt, has 1, private references [com.auth0.client.mgmt.groups]
#20 381.4 /src/io.openems.wrapper/auth0-auth0.bnd:0: warning: io.openems.wrapper.auth0-auth0: Export com.auth0.client.mgmt.actions, has 1, private references [com.auth0.client.mgmt.actions.modules]
#20 381.5
#20 381.5 > Task :io.openems.wrapper:assemble
#20 382.8
#20 382.8 > Task :io.openems.common:compileJava FAILED
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: com.google.guava;version=33.6.0.jre Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: com.google.gson;version=2.14.0 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: junit-jupiter-engine;version=6.0.3 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: junit-jupiter-params;version=6.0.3 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: junit-platform-engine;version=6.0.3 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: junit-platform-launcher;version=6.0.3 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: junit-vintage-engine;version=6.0.3 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: org.mockito.mockito-core;version=5.23.0 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: org.mockito.junit-jupiter;version=5.23.0 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: net.bytebuddy.byte-buddy;version=1.18.8 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: net.bytebuddy.byte-buddy-agent;version=1.18.8 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.8 /src/io.openems.common/bnd.bnd:0: error: org.objenesis;version=3.5 Not found in [bnd-cache [/src/cnf/cache/7.2.1/bnd-cache r/w=false], BndPomRepository [name=Maven Central, localRepo=/root/.m2/repository, location=cnf/cache/pom-Maven Central.xml], Templates, Release]
#20 382.9
#20 382.9 FAILURE: Build failed with an exception.
#20 382.9
#20 382.9 * What went wrong:
#20 382.9 Execution failed for task ':io.openems.common:compileJava'.
#20 382.9 > io.openems.common has errors, 12 errors were reported
#20 382.9
#20 382.9 * Try:
#20 382.9 > Run with --stacktrace option to get the stack trace.
#20 382.9 > Run with --info or --debug option to get more log output.
#20 382.9 > Run with --scan to get full insights from a Build Scan (powered by Develocity).
#20 382.9 > Get more help at https://help.gradle.org.
#20 382.9 207 actionable tasks: 207 executed
#20 382.9
#20 382.9 BUILD FAILED in 6m 22s
#20 ERROR: process "/bin/sh -c ./gradlew --no-build-cache buildEdge" did not complete successfully: exit code: 1
------
> [linux/amd64 build_edge 6/6] RUN --mount=type=bind,target=.,readwrite --mount=type=cache,target=/root/.gradle ./gradlew --no-build-cache buildEdge:
382.9 > io.openems.common has errors, 12 errors were reported
382.9
382.9 * Try:
382.9 > Run with --stacktrace option to get the stack trace.
382.9 > Run with --info or --debug option to get more log output.
382.9 > Run with --scan to get full insights from a Build Scan (powered by Develocity).
382.9 > Get more help at https://help.gradle.org.
382.9 207 actionable tasks: 207 executed
382.9
382.9 BUILD FAILED in 6m 22s
------
WARNING: No output specified with docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
Dockerfile:15
--------------------
14 | ENV OEMS_EDGE_OUTPUT=/opt/openems-edge.jar
15 | >>> RUN --mount=type=bind,target=.,readwrite \
16 | >>> --mount=type=cache,target=/root/.gradle \
17 | >>> ./gradlew --no-build-cache buildEdge
18 |
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c ./gradlew --no-build-cache buildEdge" did not complete successfully: exit code: 1
Error: buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c ./gradlew --no-build-cache buildEdge" did not complete successfully: exit code: 1
How to get this resolved from my locals and the build ? Please could you guide me.