Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

mvn install - test failures when running on the mac only #33

@er1cthe0ne

Description

@er1cthe0ne

Following the below instruction from k8s cluster setup wiki:

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions