Skip to content

test(vm): add virtualization-dra precheck#2425

Open
yaroslavborbat wants to merge 1 commit into
mainfrom
test/add-dra-precheck
Open

test(vm): add virtualization-dra precheck#2425
yaroslavborbat wants to merge 1 commit into
mainfrom
test/add-dra-precheck

Conversation

@yaroslavborbat
Copy link
Copy Markdown
Member

@yaroslavborbat yaroslavborbat commented Jun 1, 2026

Description

Added a precheck that verifies the virtualization-dra DaemonSet is running before executing USB-related e2e tests.

Why do we need it, and what problem does it solve?

USB precheck tests require DRA support to be enabled in the cluster. Without this check, tests could fail with misleading errors when virtualization-dra is not deployed.

What is the expected result?

  1. Run e2e tests with USB precheck enabled.
  2. If virtualization-dra DaemonSet is absent, the precheck fails with a clear error message prompting to configure DRA support.
  3. If DaemonSet is present, the precheck passes and tests proceed normally.

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: test
type: chore
summary: Add virtualization-dra precheck to verify DaemonSet is running before USB e2e tests.
impact_level: low

@yaroslavborbat yaroslavborbat requested a review from Isteb4k as a code owner June 1, 2026 12:46
@yaroslavborbat yaroslavborbat added this to the v1.9.0 milestone Jun 1, 2026
Signed-off-by: Yaroslav Borbat <yaroslav.borbat@flant.com>
@yaroslavborbat yaroslavborbat force-pushed the test/add-dra-precheck branch from 40e8031 to eb89eb6 Compare June 1, 2026 13:53
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 this pull request may close these issues.

1 participant