*From the log I believe this issue is the same as https://issues.redhat.com/browse/MTA-3239*
Steps to Reproduce:
1. Ensure you're running windows containers and that you have the following env variables
NAME | VALUE |
---|---|
DOTNET_PROVIDER_IMG | quay.io/konveyor/dotnet-external-provider:release-0.7 |
RUNNER_IMG | quay.io/konveyor/kantra:latest |
PODMAN_BIN | C:\Program Files\Docker\Docker\resources\bin\docker.exe |
2.Execute the following command
./windows-mta-cli.exe analyze --input D:\redhat\apps\nerd-dinner --output D:\redhat\nerd-dinner-report --overwrite --provider dotnet --rules D:\redhat\rules\dotnet --run-local=false
The app used is: https://github.com/konveyor/analyzer-lsp/tree/main/external-providers/dotnet-external-provider/examples/nerd-dinner and the rule folder contains the two yaml files attached.
Actual results:
The analysis fails with the following error
time="2025-05-14T13:30:58+02:00" level=info msg="--run-local set to false. Running analysis in container mode" time="2025-05-14T13:30:58+02:00" level=info msg="running windup shim" args="convert --outputdir=/opt/shimoutput /opt/xmlrules" output="D:\\redhat\\nerd-dinner-report" volumes="{\"C:\\\\Users\\\\Brugui\\\\AppData\\\\Local\\\\Temp\\\\transform-output-3124556005\":\"/opt/shimoutput\",\"D:\\\\redhat\\\\rules\\\\dotnet\":\"/opt/xmlrules/dotnet\"}" time="2025-05-14T13:30:58+02:00" level=info msg="generating shim log in file" file="D:\\redhat\\nerd-dinner-report\\shim.log" C:\Program Files\Docker\Docker\resources\bin\docker.exe run --rm --name ovLJTBFRiTXepXrA --entrypoint /usr/local/bin/windup-shim -v C:\Users\Brugui\AppData\Local\Temp\transform-output-3124556005:/opt/shimoutput -v D:\redhat\rules\dotnet:/opt/xmlrules/dotnet quay.io/konveyor/kantra:latest convert --outputdir=/opt/shimoutput /opt/xmlrulestime="2025-05-14T13:30:58+02:00" level=error msg="container run error" error="exit status 125" time="2025-05-14T13:30:58+02:00" level=error msg="failed to convert xml rules" error="docker: Error response from daemon: invalid volume specification: 'C:\\Users\\Brugui\\AppData\\Local\\Temp\\transform-output-3124556005:/opt/shimoutput'.\nSee 'docker run --help'.\n" Error: docker: Error response from daemon: invalid volume specification: 'C:\Users\Brugui\AppData\Local\Temp\transform-output-3124556005:/opt/shimoutput'. See 'docker run --help'.
Expected results:
The analysis should complete
Additional info
// code placeholder docker info Client: Version: 27.0.3 Context: desktop-windows Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.15.1-desktop.1 Path: C:\Program Files\Docker\cli-plugins\docker-buildx.exe compose: Docker Compose (Docker Inc.) Version: v2.28.1-desktop.1 Path: C:\Program Files\Docker\cli-plugins\docker-compose.exe debug: Get a shell into any image or container (Docker Inc.) Version: 0.0.32 Path: C:\Program Files\Docker\cli-plugins\docker-debug.exe desktop: Docker Desktop commands (Alpha) (Docker Inc.) Version: v0.0.14 Path: C:\Program Files\Docker\cli-plugins\docker-desktop.exe dev: Docker Dev Environments (Docker Inc.) Version: v0.1.2 Path: C:\Program Files\Docker\cli-plugins\docker-dev.exe extension: Manages Docker extensions (Docker Inc.) Version: v0.2.25 Path: C:\Program Files\Docker\cli-plugins\docker-extension.exe feedback: Provide feedback, right in your terminal! (Docker Inc.) Version: v1.0.5 Path: C:\Program Files\Docker\cli-plugins\docker-feedback.exe init: Creates Docker-related starter files for your project (Docker Inc.) Version: v1.3.0 Path: C:\Program Files\Docker\cli-plugins\docker-init.exe sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.) Version: 0.6.0 Path: C:\Program Files\Docker\cli-plugins\docker-sbom.exe scout: Docker Scout (Docker Inc.) Version: v1.10.0 Path: C:\Program Files\Docker\cli-plugins\docker-scout.exeServer: Containers: 8 Running: 2 Paused: 0 Stopped: 6 Images: 8 Server Version: 27.0.3 Storage Driver: windowsfilter Windows: Logging Driver: json-file Plugins: Volume: local Network: ics internal l2bridge l2tunnel nat null overlay private transparent Log: awslogs etwlogs fluentd gcplogs gelf json-file local splunk syslog Swarm: inactive Default Isolation: hyperv Kernel Version: 10.0 26100 (26100.1.amd64fre.ge_release.240331-1435) Operating System: Microsoft Windows Version 24H2 (OS Build 26100.4061) OSType: windows Architecture: x86_64 CPUs: 16 Total Memory: 31.92GiB Name: DESKTOP-67FCGKE ID: 570ee86e-dda3-4b76-bcb0-1ad3f7afaeca Docker Root Dir: C:\ProgramData\Docker Debug Mode: false Labels: com.docker.desktop.address=npipe://\\.\pipe\docker_cli Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false Product License: Community Engine
- relates to
-
MTA-5229 [Documentation for] [CLI] .NET framework analysis fails on Windows
-
- Closed
-