Skip to content

virtiofs: enable additional test cases and skip one racey test#13933

Merged
benhillis merged 1 commit intomasterfrom
user/benhill/virtiofs_test_enable
Dec 17, 2025
Merged

virtiofs: enable additional test cases and skip one racey test#13933
benhillis merged 1 commit intomasterfrom
user/benhill/virtiofs_test_enable

Conversation

@benhillis
Copy link
Copy Markdown
Member

This change lights up additional virtiofs tests that previously did not work due to bugs in the virtiofs (lxutil specifically) implementation.

Copilot AI review requested due to automatic review settings December 17, 2025 19:48
@benhillis benhillis requested a review from a team as a code owner December 17, 2025 19:48
Copy link
Copy Markdown
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 enables virtiofs tests that were previously disabled due to bugs in the virtiofs implementation (specifically in lxutil), and conditionally skips one test (DrvFsTestDeleteCurrentWorkingDirectory) that has race condition issues on virtiofs. The changes are supported by an update to the Microsoft.WSL.DeviceHost package which contains the necessary bug fixes.

  • Enables VerifyDrvFsLxSymlink test cases for virtiofs that were previously skipped
  • Skips the DrvFsTestDeleteCurrentWorkingDirectory test for virtiofs due to race conditions
  • Updates package dependency to include virtiofs bug fixes

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
test/windows/DrvFsTests.cpp Removes conditional that was skipping VerifyDrvFsLxSymlink tests for VirtioFs, and updates comments to document VirtioFs behavior alongside Plan 9
test/linux/unit_tests/drvfs.c Adds conditional skip for DrvFsTestDeleteCurrentWorkingDirectory on VirtioFs with TODO comment for debugging race conditions
packages.config Updates Microsoft.WSL.DeviceHost from version 1.0.0-20251202.1 to 1.1.8-0 to include virtiofs bug fixes

@benhillis benhillis merged commit 77a35b9 into master Dec 17, 2025
12 checks passed
benhillis added a commit that referenced this pull request Dec 20, 2025
* cleanup: minor tweaks to path translation failed messages (#13892)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Localization change from build: 135812430 (#13905)

* Localization change from build: 135812430

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* remove unused string

---------

Co-authored-by: WSL localization <noreply@microsoft.com>
Co-authored-by: Ben Hillis <benhillis@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Resolve issue with config file writing sections outside of their expected header. (#13898)

* Resolve issue with config file writing sections outside of their expected header.

* add more writewslconfig variations

* formatting

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Resolve issue with buttons on notifications not working correctly (#13921)

* Resolve issue with buttons on notifications not working correctly

* pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Fix minor typo in UserConfig.cmake.sample (.exe instead of .dll) (#13926)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* test: extend networking test coverage (#13914)

* test: extend coverage of virtioproxy networking mode

* test: add dns test variations to all networking classes

* remove bridged dns variations

* pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* cleanup: remove duplicate AppId registration for wsldevicehost.dll (#13928)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* Remove the explicit desktop field when creating a Windows process (#13930)

* [GH 13837] Remove trailing slash from $XDG_RUNTIME_DIR (#13929)

* [GH 13837] Remove trailing slash from $XDG_RUNTIME_DIR

* pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* test: add more path translation variations (#13927)

* test: add more path translation variations

* Update test/windows/SimpleTests.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* virtiofs: enable additional test cases and skip one racey test (#13933)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* cleanup: add scsi disks during VM creation (#13939)

* cleanup: add scsi disks during VM creation

* pr feedback

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* cleanup: hcs logging improvements (#13942)

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

* cleanup: switch drvfs.cpp to use common MountUtil helper (#13890)

* cleanup: switch drvfs.cpp to use common MountUtil helper

* adjust mount.drvfs error logging

* adjust mount.drvfs error logging

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>

---------

Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
Co-authored-by: Blue <OneBlue@users.noreply.github.com>
Co-authored-by: WSL localization <noreply@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@benhillis benhillis deleted the user/benhill/virtiofs_test_enable branch April 23, 2026 17:00
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