Installing MQTT CLI from Source Failing

I have an aarch 64 bit architecture and im running a yokto based linux. I don’t have any package manager system on this machine so I have to build from source.

After running the ./gradlew build i get 16 failed tests… all with very similar errors as seen below… can anyone help me?

SwarmStatusCommandIT > getCommanderStatus() FAILED
java.util.concurrent.ExecutionException at SwarmStatusCommandIT.java:87
Caused by: org.testcontainers.containers.ContainerLaunchException at GenericContainer.java:349t.java uses or ove
Caused by: org.rnorth.ducttape.RetryCountExceededException at Unreliables.java:88
Caused by: org.testcontainers.containers.ContainerLaunchException at GenericContainer.java:542
Caused by: java.lang.IllegalStateException at GenericContainer.java:514

SwarmRunStartCommandIT > startScenario() FAILED
java.util.concurrent.ExecutionException at SwarmRunStartCommandIT.java:97
Caused by: org.testcontainers.containers.ContainerLaunchException at GenericContainer.java:349
Caused by: org.rnorth.ducttape.RetryCountExceededException at Unreliables.java:88
Caused by: org.testcontainers.containers.ContainerLaunchException at GenericContainer.java:542

Hi @mike55c ,

Great that you are interested in MQTT and HiveMQ, welcome to the community!

Checking the SwarmStatusCommandIT integration test, I see that for the test it is expecting a HiveMQ Swarm running with Swarm Commander REST API accessible at the port 8080.

As you do not have HiveMQ Swarm, you can try building while skipping the test:

./gradlew build --exclude-task test

I hope this helps

Regards,
Dasha from HiveMQ team