Skip to content

passthrough: harden network perf cleanup#4372

Merged
LiliDeng merged 1 commit intomainfrom
vyadav_pass4
Mar 26, 2026
Merged

passthrough: harden network perf cleanup#4372
LiliDeng merged 1 commit intomainfrom
vyadav_pass4

Conversation

@vyadavmsft
Copy link
Collaborator

@vyadavmsft vyadavmsft commented Mar 20, 2026

Reduce noisy passthrough NIC selection logs and harden host/guest cleanup for network passthrough performance runs.

This commit skips unsupported Windows baremetal hosts for passthrough network performance, uses PowerShell-based process cleanup where needed, and avoids sysctl or Kill-tool cleanup paths that are not valid on Windows baremetal nodes.

Description

Related Issue

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Documentation update

Checklist

  • Description is filled in above
  • No credentials, secrets, or internal details are included
  • Peer review requested (if not, add required peer reviewers after raising PR)
  • Tests executed and results posted below

Test Validation

Key Test Cases:

verify_device_passthrough_on_guest

Impacted LISA Features:

NIC Passthrough

Tested Azure Marketplace Images:

Local HYperV VHD

Test Results

verify_device_passthrough_on_guest

Image VM Size Result
PASSED

Copilot AI review requested due to automatic review settings March 20, 2026 20:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hardens cleanup and reduces log noise in the network passthrough performance test suite, with additional guarding to avoid invalid cleanup paths on unsupported Windows baremetal hosts.

Changes:

  • Downgrade passthrough NIC selection logs from info to debug to reduce noise.
  • Initialize the baremetal host node early and explicitly skip host/guest passthrough perf runs when the host is Windows.
  • Make after_case cleanup more robust by skipping sysctl reset on Windows and using a PowerShell-based process stop path when needed.

Reduce noisy passthrough NIC selection logs and harden host/guest cleanup for
network passthrough performance runs.

This commit skips unsupported Windows baremetal hosts for passthrough network
performance, uses PowerShell-based process cleanup where needed, and avoids
sysctl or Kill-tool cleanup paths that are not valid on Windows baremetal
nodes.
@vyadavmsft
Copy link
Collaborator Author

@LiliDeng pls check

@vyadavmsft vyadavmsft requested a review from LiliDeng March 26, 2026 07:57
@LiliDeng LiliDeng merged commit 4a54661 into main Mar 26, 2026
58 checks passed
@LiliDeng LiliDeng deleted the vyadav_pass4 branch March 26, 2026 08:04
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.

3 participants