project-infra icon indicating copy to clipboard operation
project-infra copied to clipboard

cannier: implement parts (features, model, test set)

Open dhiller opened this issue 10 months ago • 2 comments

What this PR does / why we need it:

Implements the code parts required for the CANNIER approach 1 .

Creates cannier subcommands required to execute:

  • [ ] extract
    • [ ] features - extracts the feature vector from the test code for a given test case
      • [x] extraction code done
      • [ ] feature extraction fully implemented
    • [x] testname - extracts the names for the changed ginkgo tests for a range of commits
  • [ ] generate
    • [x] model - generates the random forest model from a set of test cases
  • [ ] host
    • [x] model

Defines the format of the feature vector. Note: most of the values returned are mocked currently.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged): Fixes #

Special notes for your reviewer:

dhiller avatar Jan 30 '25 16:01 dhiller

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

kubevirt-bot avatar Jan 30 '25 16:01 kubevirt-bot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign enp0s3 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

kubevirt-bot avatar Mar 28 '25 13:03 kubevirt-bot

/test ?

dhiller avatar Apr 29 '25 20:04 dhiller

@dhiller: The following commands are available to trigger required jobs:

/test build-autoowners-image
/test build-bootstrap-image
/test build-fedora-coreos-kubevirt-image
/test build-kubekins-e2e-image
/test build-kubevirt-infra-bootstrap-image
/test build-kubevirt-kubevirt.github.io-image
/test build-kubevirt-user-guide-image
/test build-pr-creator-image
/test build-prow-deploy-image
/test build-release-tool-image
/test build-shared-images-controller-image
/test build-test-label-analyzer-image
/test build-test-subset-image
/test build-vm-image-builder-image
/test check-prow-config
/test pull-kubevirt-org-github-config-updater
/test pull-project-infra-check-testgrid-config
/test pull-project-infra-ci-search-deploy-test
/test pull-project-infra-coverage
/test pull-project-infra-grafana-deploy-test
/test pull-project-infra-job-config-validator
/test pull-project-infra-lint
/test pull-project-infra-prow-deploy-test
/test pull-project-infra-test-external-plugins
/test pull-project-infra-test-github-ci-services
/test pull-project-infra-test-releng
/test pull-project-infra-test-robots
/test pull-prow-kubevirt-labels-update-precheck
/test pull-prow-nmstate-labels-update-precheck

Use /test all to run the following jobs that were automatically triggered:

build-test-label-analyzer-image
check-prow-config
pull-project-infra-coverage
pull-project-infra-job-config-validator
pull-project-infra-lint
pull-project-infra-test-external-plugins
pull-project-infra-test-github-ci-services
pull-project-infra-test-releng
pull-project-infra-test-robots

In response to this:

/test ?

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

kubevirt-bot avatar Apr 29 '25 20:04 kubevirt-bot

/test pull-project-infra-test-robots

dhiller avatar Apr 29 '25 20:04 dhiller

/test pull-project-infra-lint

dhiller avatar Apr 29 '25 20:04 dhiller

/test pull-project-infra-lint

dhiller avatar May 02 '25 13:05 dhiller

/test all

dhiller avatar May 02 '25 13:05 dhiller

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

kubevirt-bot avatar May 04 '25 21:05 kubevirt-bot

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kubevirt-bot avatar Sep 09 '25 10:09 kubevirt-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

kubevirt-bot avatar Oct 11 '25 10:10 kubevirt-bot

@dhiller: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
build-flakefinder-image c6f8cab4e4633cbbc9fce0522e0ea5d335d66097 link true /test build-flakefinder-image
build-ginkgo-tests-image c6f8cab4e4633cbbc9fce0522e0ea5d335d66097 link true /test build-ginkgo-tests-image

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

kubevirt-bot avatar Nov 11 '25 14:11 kubevirt-bot

/remove-lifecycle rotten /lifecycle frozen

dhiller avatar Nov 18 '25 11:11 dhiller

@dhiller: The lifecycle/frozen label cannot be applied to Pull Requests.

In response to this:

/remove-lifecycle rotten /lifecycle frozen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

kubevirt-bot avatar Nov 18 '25 11:11 kubevirt-bot