WindowsAgentArena icon indicating copy to clipboard operation
WindowsAgentArena copied to clipboard

windows could not boot and endpoint not responding

Open rabbit-tian-yi opened this issue 1 year ago • 2 comments

I tried local deployment and stuck at step 3.2 ./run-local.sh --prepare-image true

Here is terminal output

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=8G -e CPU_CORES=8 --mount type=bind,source=/Users/xyz/Documents/projects/WindowsAgentArena/src/win-arena-container/vm/image/setup.iso,target=/custom.iso -v /Users/xyz/Documents/projects/WindowsAgentArena/src/win-arena-container/vm/storage/.:/storage -v /Users/xyz/Documents/projects/WindowsAgentArena/src/win-arena-container/vm/setup/.:/shared -v /Users/xyz/Documents/projects/WindowsAgentArena/src/win-arena-container/client/.:/client --cap-add NET_ADMIN --stop-timeout 120 --entrypoint /bin/bash -e OPENAI_API_KEY=xyz 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.00...
❯ For support visit https://github.com/dockur/windows
❯ CPU: 0 | RAM: 12/13 GB | DISK: 670 GB (/0x6a656a63) | KERNEL: 6.6.26-linuxkit...

❯ Extracting local ISO image...
❯ Detecting version from ISO image...
❯ Detected: Windows 11 Enterprise (Evaluation)
❯ Adding drivers to image...
❯ Adding OEM folder to image...
❯ Adding win11x64-enterprise-eval.xml for automatic installation...
❯ Building Windows 11 image...
❯ Creating a 30G growable disk image in raw format...
Cannot find device "dockerbridge"
❯ Booting Windows using QEMU v9.1.1...

BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
Waiting for a response from the windows server. This might take a while...
❯ Windows has started successfully. You can connect using either a web browser or RDP, both accessible at localhost on the specified ports...
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...
Waiting for a response from the windows server. This might take a while...

the message Waiting for a response from the windows server. This might take a while... will not end and here is how the browser looks like

Image

Here is what I have tried:

tried https://github.com/microsoft/WindowsAgentArena/issues/22 docker image ran fine and I verified the browser ran windows just fine. docker run -it --rm -p 8006:8006 -e KVM=N --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows

tried https://github.com/microsoft/WindowsAgentArena/issues/45 but windows.boot is still missing under WindowsAgentArena/src/win-arena-container/vm/storage folder

also tried the branch of win10e-support branch https://github.com/microsoft/WindowsAgentArena/issues/22

Here is my setup: Mac OS with m3 chip, windows 11 ISO – Enterprise download (64 bit)

Really appreciate any help in fixing this issue!

rabbit-tian-yi avatar Dec 03 '24 06:12 rabbit-tian-yi

I have the same problem with you , have you solved this problem? Really appreciate any help.

Incredible61 avatar Dec 21 '24 08:12 Incredible61

I have the same problem with you , have you solved this problem? Really appreciate any help.

not really, I think this issue is related to mac, I switched to linux and code ran just fine there.

rabbit-tian-yi avatar Dec 23 '24 17:12 rabbit-tian-yi