"Error: ISO file not found or is empty. " when running ./run-local.sh to deploy the agent in the arena
xxx@DESKTOP-MOA1P57:/mnt/e/Project/WindowsAgentArena/scripts$ ./run-local.sh Using configuration file: /mnt/e/Project/WindowsAgentArena/config.json Using mode: azure Using VM Setup Image path: /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/image Using VM storage mount path: /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/storage Using server mount path: /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/setup Using client mount path: /mnt/e/Project/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 --ipc=host -e CPU_CORES=8 -v /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/storage/.:/storage -v /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/setup/.:/shared -v /mnt/e/Project/WindowsAgentArena/src/win-arena-container/client/.:/client --cap-add NET_ADMIN --stop-timeout 120 --entrypoint /bin/bash -e OPENAI_API_KEY=xxx dockerpull.org/windowsarena/winarena:latest -c './entry.sh --prepare-image false --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: 13th Gen Intel Core TM i5 13400F | RAM: 14/16 GB | DISK: 1808 GB (v9fs) | HOST: 5.15.167.4-microsoft-standard-WSL2...
Error: ISO file not found or is empty. Waiting for a response from the windows server. This might take a while... Waiting for a response from the windows server. This might take a while...
I've been successfully completed the step "3.2 Automatic Setup of the Windows 11 golden image" and the Docker container gracefully shutted down as expected. However, when I was running the agent, it came a problem with the "missing" ISO file. I'm pretty sure that the ISO file is located correctly as shown below. I'm looking forward to your reply for the solution and thanks a lot!
xxx@DESKTOP-MOA1P57:/mnt/e/Project/WindowsAgentArena/scripts$ cd /mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/image/
xxx@DESKTOP-MOA1P57:/mnt/e/Project/WindowsAgentArena/src/win-arena-container/vm/image$ ls
README.md setup.iso
You should use the --prepare-image flag only when preparing the image:
./run-local.sh --prepare-image true
If the issue occurs after the preparation phase, ensure that after preparation the storage folder contains all the files listed here:
If the windows.boot file is missing, it will likely result in the Error: ISO file not found or is empty. error.
You should use the
--prepare-imageflag only when preparing the image:./run-local.sh --prepare-image trueIf the issue occurs after the preparation phase, ensure that after preparation the
storagefolder contains all the files listed here:If the
windows.bootfile is missing, it will likely result in theError: ISO file not found or is empty.error.
Thanks for your reply. I checked the files in the storage folder and 'windows.boot' is missing. I followed the steps in Readme and I don't know which step is wrong that leads to this problem. I have no idea how to solve it.
I suspect something went wrong during the automatic shutdown of the container.
Please pull the latest changes from the main branch, run docker pull windowsarena/winarena-base:latest again (we recently fixed some tools mirror issues) and build again the local windowsarena/winarena:latest image using ./build-container-image. After that, wipe out the content of src/win-arena-container/vm/storage and execute ./run-local.sh --prepare-image true. The preparation process will take approximately 20–30 minutes. Do not interfere with it, as the Docker container will automatically shut down once the process is complete.
Afterwards, ensure that the windows.boot file is present in the storage folder. Save a backup of the storage directory, and you can proceed to run the benchmark using ./run-local.sh --start-client true.