-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
mvn clean package produce test failures & error:
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] JDKScannerTest.scan:62 expected: <3> but was: <0>
[ERROR] SDKTest.install:41 expected: <true> but was: <false>
[ERROR] SDKTest.installLocal:210 installLocal {localJava} to {/tmp/dummyJDK5200510298994160971} must be [false] but was [true] ==> expected: <false> but was: <true>
[ERROR] Errors:
[ERROR] TaskTrayTest.showTray:42 » IllegalState SDKMAN! not installed!
[INFO]
[ERROR] Tests run: 26, Failures: 3, Errors: 1, Skipped: 3
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.258 s
[INFO] Finished at: 2021-12-19T13:27:16+02:00
[INFO] ------------------------------------------------------------------------Environment:
- Ubuntu 20.04
- Apache Maven 3.8.3
- Java version: 17.0.1-oracle or 11.0.12-open
Having studied the tests, I did not understand what exactly was broken: the tests themselves or the source code.
There may be a problem in the system environment.
Ideally, it would be to move the build of the project to Docker, where the environment is exactly stable. For example based on FROM maven:3.8.4<jdkVersion>. Here are the versions.
Metadata
Metadata
Assignees
Labels
No labels