Following the below instruction from k8s cluster setup wiki:
- Build a docker container for controller and push to registry
./scripts/build.sh
For Mac, run the corresponding commands instead, that is:
brew install maven
brew tap AdoptOpenJDK/openjdk
mvn clean
mvn compile
mvn install <----- got below test errors
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] AlcorControllerAppTest.contextLoadsTest » IllegalState Failed to load Applicat...
[ERROR] GoalStateProvisionerClientTest.greet_messageDeliveredToServer:96 » NullPointer
[ERROR] DataCenterConfigLoaderTest.machineConfigFileLoadTest:29 » NullPointer
[ERROR] DebugControllerTest.shouldReturnDefaultMessage » IllegalState Failed to load A...
[INFO]
[ERROR] Tests run: 13, Failures: 0, Errors: 4, Skipped: 0
This error could be due to different JDK version used in mac vs linux.
Following the below instruction from k8s cluster setup wiki:
./scripts/build.sh
For Mac, run the corresponding commands instead, that is:
brew install maven
brew tap AdoptOpenJDK/openjdk
mvn clean
mvn compile
mvn install <----- got below test errors
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] AlcorControllerAppTest.contextLoadsTest » IllegalState Failed to load Applicat...
[ERROR] GoalStateProvisionerClientTest.greet_messageDeliveredToServer:96 » NullPointer
[ERROR] DataCenterConfigLoaderTest.machineConfigFileLoadTest:29 » NullPointer
[ERROR] DebugControllerTest.shouldReturnDefaultMessage » IllegalState Failed to load A...
[INFO]
[ERROR] Tests run: 13, Failures: 0, Errors: 4, Skipped: 0
This error could be due to different JDK version used in mac vs linux.