Skip to content

problem while preparing the image #65

Open
@Hare-67

Description

@Hare-67

Hi, thanks for your outstanding work!
I got problem while preparing the image. I run the " ./run-local.sh --prepare-image true" but waited for more than 1h without completion.

./run-local.sh --prepare-image true
Using configuration file: /mnt/c/LAM/WindowsAgentArena/config.json
Using mode: azure
Using VM Setup Image path: /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/image
Using VM storage mount path: /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/storage
Using server mount path: /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/setup
Using client mount path: /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/client
Building Container Image...
/mnt/c/LAM/WindowsAgentArena/scripts/../
Skipping winarena-base image build
[+] Building 3.2s (18/18) FINISHED docker:default
=> [internal] load build definition from Dockerfile-WinArena 0.1s
=> => transferring dockerfile: 2.34kB 0.0s
=> [internal] load metadata for docker.io/windowsarena/winarena-base:latest 0.0s
=> [build_azure 1/1] FROM docker.io/windowsarena/winarena-base:latest@sha256:5f503d0bdb1b09bdfffebdc7337c237af4d 0.0s
=> => resolve docker.io/windowsarena/winarena-base:latest@sha256:5f503d0bdb1b09bdfffebdc7337c237af4d6bd08d046a18 0.0s
=> [internal] load build context 2.3s
=> => transferring context: 67.43kB 2.3s
=> CACHED [stage-2 1/14] ONBUILD COPY src/win-arena-container/vm/setup/. /oem/ 0.0s
=> CACHED [stage-2 2/14] ONBUILD COPY src/win-arena-container/vm/unattend-files/azure_win11x64-enterprise-eval. 0.0s
=> CACHED [stage-2 3/14] ONBUILD COPY src/win-arena-container/fix_az_network.sh /run/network.sh 0.0s
=> CACHED [stage-2 4/14] RUN echo "FOLDER_NAME: oem" 0.0s
=> CACHED [stage-2 5/14] RUN echo "DEPLOY_MODE: azure" 0.0s
=> CACHED [stage-2 6/14] RUN if [ "azure" = "azure" ]; then WINDOWS_DATA_FOLDER='\\host.lan\Data'; 0.0s
=> CACHED [stage-2 7/14] COPY src/win-arena-container/client /client 0.0s
=> CACHED [stage-2 8/14] COPY src/win-arena-container/entry_setup.sh /entry_setup.sh 0.0s
=> CACHED [stage-2 9/14] COPY src/win-arena-container/start_client.sh /start_client.sh 0.0s
=> CACHED [stage-2 10/14] COPY src/win-arena-container/start_vm.sh /start_vm.sh 0.0s
=> CACHED [stage-2 11/14] COPY src/win-arena-container/entry.sh /entry.sh 0.0s
=> CACHED [stage-2 12/14] RUN find / -maxdepth 3 -type f -name ".sh" -exec dos2unix {} ; && chmod +x /.sh 0.0s
=> CACHED [stage-2 13/14] RUN apt-get update && apt-get install -y fuse 0.0s
=> exporting to image 0.2s
=> => exporting layers 0.0s
=> => exporting manifest sha256:a391f15bf2b9bc3495214beea2693dec74816f75594f370133f19dc735855c29 0.0s
=> => exporting config sha256:8b6c2ecf61d9cb4c332fda64b7787710279305775b09ae1d2f20915579e6603b 0.0s
=> => exporting attestation manifest sha256:9c9b6df1ae55f2cb074cc58187016b2774636be1ece5943e9b1835c5d0fe161a 0.0s
=> => exporting manifest list sha256:5230615bc68acb0cfe209817a5e38fd2ef377e982af6ac8fe27b97211dfff613 0.0s
=> => naming to docker.io/library/winarena:latest 0.0s
=> => unpacking to docker.io/library/winarena:latest 0.0s
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=/mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/image/setup.iso,target=/custom.iso -v /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/storage/.:/storage -v /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/vm/setup/.:/shared -v /mnt/c/LAM/WindowsAgentArena/src/win-arena-container/client/.:/client --cap-add NET_ADMIN --stop-timeout 120 --entrypoint /bin/bash -e OPENAI_API_KEY=sk-**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: 11th Gen Intel Core TM i7 11800H | RAM: 14/16 GB | DISK: 737 GB (v9fs) | KERNEL: 5.15.167.4-microsoft-standard-WSL2...

❯ Extracting local ISO image...
Waiting for a response from the windows server. This might take a while...
❯ 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...
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...
❯ 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...
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...
❯ 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...
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...
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,0B64C08B-96CA-4798-B355-2FFF52D3D169,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,0B64C08B-96CA-4798-B355-2FFF52D3D169,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
Waiting for a response from the windows server. This might take a while...
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,0B64C08B-96CA-4798-B355-2FFF52D3D169,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,0B64C08B-96CA-4798-B355-2FFF52D3D169,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
❯ Shutdown completed!
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 ps_script_log.txt:

Image

I referred to this (#24), and in my project it is already LibreOffice_24.8.2.
I can't find this version in mirror: https://mirror.raiolanetworks.com/tdf/libreoffice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions