Skip to content

test(test): increase hotplug vm cpu fraction#2403

Merged
universal-itengineer merged 5 commits into
mainfrom
fix/test/failed-vd-resizing
May 25, 2026
Merged

test(test): increase hotplug vm cpu fraction#2403
universal-itengineer merged 5 commits into
mainfrom
fix/test/failed-vd-resizing

Conversation

@danilrwx
Copy link
Copy Markdown
Contributor

@danilrwx danilrwx commented May 25, 2026

Description

Increase CPU core fraction for the VM used in block device hotplug e2e scenarios from 5% to 100%.

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

The VirtualDiskResizing e2e test can fail while probing disks over SSH with errors like signal: killed. The VM used by the hotplug helper had only 5% CPU core fraction, which can make cloud-init, udev, qemu-guest-agent, SSH, and lsblk probes too slow during disk attach/resize operations.

Increasing the CPU fraction prevents excessive CPU throttling and makes disk probing stable without adding broad retries around SSH commands.

What is the expected result?

  1. Run VirtualDiskResizing e2e test.
  2. Verify disk size probing over SSH completes without timeout-related signal: killed errors.
  3. Verify test/e2e lint reports no issues.

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: fix
summary: Increase CPU core fraction for hotplug e2e VMs to avoid SSH disk probe timeouts.
impact_level: low

danilrwx added 3 commits May 25, 2026 14:56
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx changed the title Fix/test/failed vd resizing test(test): stabilize virtual disk resizing e2e May 25, 2026
@danilrwx danilrwx marked this pull request as ready for review May 25, 2026 14:37
@danilrwx danilrwx requested a review from Isteb4k as a code owner May 25, 2026 14:37
@danilrwx danilrwx added this to the v1.9.0 milestone May 25, 2026
danilrwx added 2 commits May 25, 2026 18:29
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
Signed-off-by: Daniil Antoshin <daniil.antoshin@flant.com>
@danilrwx danilrwx changed the title test(test): stabilize virtual disk resizing e2e test(test): increase hotplug vm cpu fraction May 25, 2026
@universal-itengineer universal-itengineer merged commit fb09e5e into main May 25, 2026
24 of 27 checks passed
@universal-itengineer universal-itengineer deleted the fix/test/failed-vd-resizing branch May 25, 2026 17:05
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.

2 participants