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

Itests failing on microk8s in main #77

Open
PietroPasotti opened this issue May 10, 2022 · 2 comments
Open

Itests failing on microk8s in main #77

PietroPasotti opened this issue May 10, 2022 · 2 comments

Comments

@PietroPasotti
Copy link
Contributor

When I try to run the integration tests on main (microk8s), I get:
image

I noticed that the CI only has LXD env tests. Is it an idea to include microk8s to the substrates on which to run the itests?

To reproduce:
checkout main
tox -vve integration
wait for the boom

@stonepreston
Copy link
Contributor

I think you need charm to build reactive charms, do the tests work after installing charm?

sudo snap install charm --classic

@addyess
Copy link
Member

addyess commented May 12, 2022

Agree, it's not an issue with microk8s, but an issue with not having the required tools installed to run the integration tests.

charmed-kubernetes/actions-operator

I believe the integration tests test deploying a machine bundle(https://github.com/charmed-kubernetes/pytest-operator/blob/main/tests/integration/test_pytest_operator.py#L12-L47) into the model

Because of this, deploying into a kubernetes type model is yet to be supported for the integration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants