yaks icon indicating copy to clipboard operation
yaks copied to clipboard

yaks 0.14.1 tests are not running

Open Duvel opened this issue 3 years ago • 7 comments

I just tried version 0.1.4.1, but the tests don't run and the container logs show this error:

The JAVA_HOME environment variable is not defined correctly,
this environment variable is needed to run this program.

Duvel avatar Feb 09 '23 08:02 Duvel

Hi, could you please elaborate on how and where you run your YAKS tests?

christophd avatar Feb 09 '23 08:02 christophd

I run my tests on a kubernetes cluster and I just upgraded the operator like this:

./yaks install -n yaks --global=false --force

This will start re-executing the tests and those failed.

The tests themselvers are run like this:

./yaks run -n yaks folder_with_features

Duvel avatar Feb 09 '23 08:02 Duvel

Just tested, this error also occurred in 0.13.0.

Duvel avatar Feb 09 '23 09:02 Duvel

Just tested on Minikube and YAKS 0.14.1. This is working for me. Could you please uninstall YAKS with

yaks uninstall --all

Are you also running on Minikube?

christophd avatar Feb 09 '23 14:02 christophd

Please also make sure to update the YAKS CLI binary

christophd avatar Feb 09 '23 14:02 christophd

Uninstalling yaks didn't help :( Same error in the pod.

I'm running the tests in an Rancher Kubernetes Engine cluster.

Duvel avatar Feb 09 '23 16:02 Duvel

I installed minikube and there the test does execute.

Maybe the nodes in my cluster don't like the new base image.

Duvel avatar Feb 09 '23 17:02 Duvel