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

Implement a kubetest2 tester for e2e-framework #132

Closed
vladimirvivien opened this issue Apr 19, 2022 · 7 comments · Fixed by #168
Closed

Implement a kubetest2 tester for e2e-framework #132

vladimirvivien opened this issue Apr 19, 2022 · 7 comments · Fixed by #168

Comments

@vladimirvivien
Copy link
Contributor

vladimirvivien commented Apr 19, 2022

This is a marker issue to indicate that this project should have a Kubetest2 tester implemented. Kubetest2 can stand up an environment and/or lunch tests. It has several providers implemented including kind, gce, etc.

Adding a kubetest2 tester would allow this project to delegate environment startup/tear down to kubetest2 and reuse existing providers. I propose that the implementation be contributed to the kubetest2 project to make it easy to build/run.

Test writers who are looking to adopt kubetest2 can use this project to write tests and use the kubetest2 binary to launch the test similar to the following:

kubetest2 kind -v 2 \
  --up \
  --down \
  --test=e2e-framework \
  --assess='boombap'
  --skip-assessment='network'
@tyxeron
Copy link

tyxeron commented Apr 22, 2022

This would be super nice. We are currently looking for an end-to-end test framework to test our k8s setup. How far down the road would you guess this feature is? Is there currently a workaround for this?

@vladimirvivien
Copy link
Contributor Author

Hi @tyxeron there is currently no one immediately working on this. It's mostly a nice to have since the e2e framework provides its own programmatic way of managing test lifecycles including the ability to launch external environments.

Please take a look at the examples for ways of running end-to-end tests using code that can launch kind as part of the test lifecycle. While kind is the only env that is inherently supported, the api is easy to support any env.

Hope that helps

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 25, 2022
@vladimirvivien
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 3, 2022
@vladimirvivien
Copy link
Contributor Author

See kubernetes-sigs/kubetest2#218

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 29, 2022
@vladimirvivien
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants