Skip to content

virtiofs behavior on Windows is unclear though support is macOS-only #23222

Description

@bobsira

What Happened?

virtiofs is currently supported only on macOS, but on Windows it can still be exercised and produce errors that look like real failures. This causes confusion because the behavior is from an unsupported platform path, not necessarily a functional regression.

Attach the log file

Running tool: C:\Program Files\Go\bin\go.exe test -test.fullpath=true -timeout 30s -run ^TestVirtiofsValidateMountString$ k8s.io/minikube/pkg/drivers/common/virtiofs

=== RUN   TestVirtiofsValidateMountString
    c:/dev/minikube/pkg/drivers/common/virtiofs/virtiofs_test.go:47: failed to parse mountString "C:\\Users\\bosira\\AppData\\Local\\Temp\\TestVirtiofsValidateMountString3941094040\\001:/mnt/models": host path "C" is not an absolute path
--- FAIL: TestVirtiofsValidateMountString (0.00s)
FAIL
FAIL    k8s.io/minikube/pkg/drivers/common/virtiofs     1.271s

Operating System

Windows

Driver

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions