citrusframework / yaks

YAKS is a platform to enable Cloud Native BDD testing on Kubernetes
Apache License 2.0
82 stars 27 forks source link

yaks 0.14.1 tests are not running #463

Open Duvel opened 1 year ago

Duvel commented 1 year ago

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.
christophd commented 1 year ago

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

Duvel commented 1 year ago

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 commented 1 year ago

Just tested, this error also occurred in 0.13.0.

christophd commented 1 year ago

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 commented 1 year ago

Please also make sure to update the YAKS CLI binary

Duvel commented 1 year ago

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

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

Duvel commented 1 year ago

I installed minikube and there the test does execute.

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