Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaks 0.14.1 tests are not running #463

Open
Duvel opened this issue Feb 9, 2023 · 7 comments
Open

yaks 0.14.1 tests are not running #463

Duvel opened this issue Feb 9, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@Duvel
Copy link

Duvel commented Feb 9, 2023

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
Copy link
Member

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

@Duvel
Copy link
Author

Duvel commented Feb 9, 2023

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
Copy link
Author

Duvel commented Feb 9, 2023

Just tested, this error also occurred in 0.13.0.

@christophd christophd added the bug Something isn't working label Feb 9, 2023
@christophd
Copy link
Member

christophd commented Feb 9, 2023

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
Copy link
Member

Please also make sure to update the YAKS CLI binary

@Duvel
Copy link
Author

Duvel commented Feb 9, 2023

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

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

@Duvel
Copy link
Author

Duvel commented Feb 9, 2023

I installed minikube and there the test does execute.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants