Build Warnings and Test Failures While Running OpenRemote Locally

Hi everyone,

I’m running the test suite in my fork of OpenRemote. “./gradlew clean installDist” is working but 2 out of the 175 tests are failing for “./gradlew test”. I’m running these locally.

Environment details:
- Java version: 21.0.6
- Node version: 20.11.1
- Yarn version: 4.1.0
- Gradle version: 8.13
- Docker Compose: Used profile/dev-testing.yml

My build is successful but has a few warnings like:



I’m unsure whether these warnings might be causing the failures.

Results of running tests:

The two tests that failed:


Gradle´s problem report:

I am unsure if these failures are potentially a result of running the test suite locally or if there is another issue, maybe with dependencies. Any help is greatly appreciated. Thanks!

Hi!

First of all, welcome to the forum!
Thanks for sharing the extensive details of your steps!

For me, this is relatively common.
Locally running the test suite can cause some tests to fail.
For example, as some tests rely on timing, some processes are ran ‘too fast’ or ‘too slow’.

Warnings during the ./gradlew clean installDist task aren’t a problem here either.
If the task succeeds, you should be good to go! :+1:

Hope this helps!

1 Like