-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I was following the tutorial: https://intellabs.github.io/kAFL/tutorials/windows/windows_template.html#build-the-windows-vm-template
When building the template Windows I got an error at the VSIX installation:
qemu.windows: TASK [install WDK VSIX extension] **********************************************
qemu.windows: fatal: [default]: FAILED! => changed=true
qemu.windows: cmd: '"C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VSIXInstaller.exe" /quiet /admin /logFile:C:\wdk_vsix.log WDK.vsix'
qemu.windows: delta: '0:00:22.125011'
qemu.windows: end: '2025-01-27 21:05:15.964369'
qemu.windows: msg: non-zero return code qemu.windows: rc: 2148734217 qemu.windows: start: '2025-01-27 21:04:53.839357' qemu.windows: stderr: '' qemu.windows: stderr_lines: <omitted> qemu.windows: stdout: '' qemu.windows: stdout_lines: <omitted>
qemu.windows:
qemu.windows: PLAY RECAP *********************************************************************
qemu.windows: default : ok=12 changed=11 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0 qemu.windows: 2025/01/27 22:05:16 [INFO] (telemetry) ending ansible
==> qemu.windows: Provisioning step had errors: Running the cleanup provisioner, if present...
2025/01/27 22:05:16 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2025/01/27 22:05:16 failed to unlock port lockfile: close tcp [::]:5929: use of closed network connection
2025/01/27 22:05:16 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2025/01/27 22:05:16 failed to unlock port lockfile: close tcp [::]:2433: use of closed network connection
2025/01/27 22:05:16 packer-plugin-qemu_v1.1.0_x5.0_linux_amd64 plugin: 2025/01/27 22:05:16 Deleting floppy disk: /tmp/packer3500442997
==> qemu.windows: Deleting output directory...
2025/01/27 22:05:16 [INFO] (telemetry) ending qemu.windows
==> Wait completed after 24 minutes 14 seconds
2025/01/27 22:05:16 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2025/01/27 22:05:16 machine readable: qemu.windows,error []string{"Error executing Ansible: Non-zero exit status: exit status 2"}
==> Builds finished but no artifacts were created.
Build 'qemu.windows' errored after 24 minutes 14 seconds: Error executing Ansible: Non-zero exit status: exit status 2
2025/01/27 22:05:16 [INFO] (telemetry) Finalizing.
==> Wait completed after 24 minutes 14 seconds
==> Some builds didn't complete successfully and had errors:
--> qemu.windows: Error executing Ansible: Non-zero exit status: exit status 2
==> Builds finished but no artifacts were created.
2025/01/27 22:05:16 waiting for all plugin processes to complete...
2025/01/27 22:05:16 /home/zeropio/.config/packer/plugins/github.com/hashicorp/ansible/packer-plugin-ansible_v1.1.2_x5.0_linux_amd64: plugin process exited
2025/01/27 22:05:16 /home/zeropio/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.0_x5.0_linux_amd64: plugin process exited
2025/01/27 22:05:16 /home/zeropio/.config/packer/plugins/github.com/hashicorp/vagrant/packer-plugin-vagrant_v1.1.5_x5.0_linux_amd64: plugin process exited
make[1]: *** [Makefile:14: build] Error 1
make[1]: Leaving directory '/home/zeropio/kAFL/kafl/examples/templates/windows'
I'm just running the build (currently with errors output):
$ PACKER_LOG=1 make build
I see there was a similar error before: #44 (comment)
Any fix? Am I doing something wrong?
Metadata
Metadata
Assignees
Labels
No labels