kubernetes-sigs / kube-scheduler-wasm-extension

All the things to make the scheduler extendable with wasm.
Apache License 2.0
82 stars 16 forks source link

Test framework support #8

Open kerthcet opened 10 months ago

kerthcet commented 10 months ago

What would you like to be added:

We should have a test framework to run test suit each time we have new PRs. This requires the support from test infra

Why is this needed:

Project health and stability

Completion requirements:

This enhancement requires the following artifacts:

The artifacts should be linked in subsequent comments.

codefromthecrypt commented 10 months ago

Is this different than normal CI for unit tests?

kerthcet commented 10 months ago

Actually it will run the same unit test with similar commands but it will have a dashboard for tracing, both the history and the error if happens. We can get a overview of all the tests here https://testgrid.k8s.io/sig-scheduling#periodic-kueue-test-unit-main, including unit tests, integration tests, e2e tests if we have.

sanposhiho commented 10 months ago

Let's prioritize it. /priority important-soon

@kerthcet Could you work on it? 🙏

kerthcet commented 10 months ago

Yes /assign

codefromthecrypt commented 9 months ago

here is basic CI, we had several source files that were checked in even though they didn't compile https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/pull/30

kerthcet commented 9 months ago

I did some research this weekend, the testgrid will read junit.xml artifacts for display. However we have multi modules, we can't generate a unified test report cover all the packages, it's a little tricky.

pohly commented 9 months ago

I'm not sure about the exact pattern, but I think Spyglass and testgrid read all junit*.xml files in the artifacts directory. You should be able to write one file per package.

sanposhiho commented 3 months ago

/remove-priority important-soon

k8s-triage-robot commented 1 day ago

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

This bot triages un-triaged issues according to the following rules:

You can:

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

/lifecycle stale