microsoft / WindowsAgentArena

Windows Agent Arena (WAA) 🪟 is a scalable OS platform for testing and benchmarking of multi-modal AI agents.
https://microsoft.github.io/WindowsAgentArena
MIT License
492 stars 50 forks source link

Error when Running .\run-local.sh #33

Closed serenahaddad closed 3 weeks ago

serenahaddad commented 1 month ago

when i run .\run-local.sh --prepare-image true --ram-size 4G --cpu-cores 4. and this is the error :

Using configuration file: /c/Users/XXXX/WindowsAgentArena/config.json Using mode: azure Using VM Setup Image path: /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/image Using VM storage mount path: /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/storage Using server mount path: /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/setup Using client mount path: /c/UsersXXXX/WindowsAgentArena/src/win-arena-container/client /dev/kvm not found. Setting use_kvm to false. Invoking Docker Container with the command: docker run -it --rm -p 8006:8006 -p 3390:3389 --name winarena --platform linux/amd64 -e KVM=N -e RAM_SIZE=4G -e CPU_CORES=4 --mount type=bind,source=/c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/image/setup.iso,target=/custom.iso -v /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/storage/.:/storage -v /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/vm/setup/.:/shared -v /c/Users/XXXX/WindowsAgentArena/src/win-arena-container/client/.:/client --cap-add NET_ADMIN --stop-timeout 120 --entrypoint /bin/bash -e AZURE_API_KEY=XXXX AZURE_ENDPOINT=XXXX windowsarena/winarena:latest -c './entry.sh --prepare-image true --start-client true --agent navi --model gpt-4o --som-origin oss --a11y-backend uia'

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/bash": stat C:/Program Files/Git/usr/bin/bash: no such file or directory: unknown.

francedot commented 1 month ago

This suggests an issue with your Docker setup, as the Docker daemon has failed to start: https://stackoverflow.com/questions/48074282/docker-container-not-starting-giving-oci-runtime-create-failed

francedot commented 3 weeks ago

Closing due to inactivity.

LXF0047 commented 3 weeks ago

When I run run_local.sh on the Ubuntu server, I encounter the following error.

(winarena) ➜ scripts ./run-local.sh --prepare-image true Using configuration file: /home/WindowsAgentArena/config.json Using mode: azure Using VM Setup Image path: /home/WindowsAgentArena/src/win-arena-container/vm/image Using VM storage mount path: /home/WindowsAgentArena/src/win-arena-container/vm/storage Using server mount path: /home/WindowsAgentArena/src/win-arena-container/vm/setup Using client mount path: /home/WindowsAgentArena/src/win-arena-container/client Invoking Docker Container with the command: docker run -it --rm -p 8006:8006 -p 3390:3389 --name winarena --platform linux/amd64 --device=/dev/kvm -e RAM_SIZE=8G -e CPU_CORES=8 --mount type=bind,source=/home/WindowsAgentArena/src/win-arena-container/vm/image/setup.iso,target=/custom.iso -v /home/WindowsAgentArena/src/win-arena-container/vm/storage/.:/storage -v /home/WindowsAgentArena/src/win-arena-container/vm/setup/.:/shared -v /home/WindowsAgentArena/src/win-arena-container/client/.:/client --cap-add NET_ADMIN --stop-timeout 120 --entrypoint /bin/bash -e OPENAI_API_KEY=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 windowsarena/winarena:latest -c './entry.sh --prepare-image true --start-client true --agent navi --model gpt-4-vision-preview --som-origin oss --a11y-backend uia' Starting WinArena... Starting VM... Starting WinArena VM... ❯ Starting Windows for Docker v0.0... ❯ For support visit https://github.com/dockur/windows ❯ CPU: Intel Xeon Gold 6142 CPU | RAM: 118/126 GB | DISK: 6635 GB (ext4) | HOST: 5.4.0-177...

❯ Extracting local ISO image...

ERRORS: Headers Error Unexpected end of archive

ERROR: Data Error : boot/en-us/bootsect.exe.mui ERROR: Data Error : boot/fonts/chs_boot.ttf ERROR: Data Error : boot/fonts/cht_boot.ttf ERROR: Data Error : boot/fonts/jpn_boot.ttf ERROR: Data Error : boot/fonts/kor_boot.ttf ERROR: Data Error : boot/fonts/malgun_boot.ttf ... ... ...