Message ID | 20190612111949.25117-1-alex.bennee@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 12 Jun 2019 at 12:19, Alex Bennée <alex.bennee@linaro.org> wrote: > > The following changes since commit 219dca61ebf41625831d4f96a720852baf44b762: > > Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging (2019-06-11 16:02:07 +0100) > > are available in the Git repository at: > > https://github.com/stsquad/qemu.git tags/pull-testing-gdbstub-cputlb-120619-2 > > for you to fetch changes up to dfffdccbf6984ad7042b3123cba9e29c4f3c9a2b: > > gdbstub: Implement qemu physical memory mode (2019-06-12 11:23:08 +0100) > > ---------------------------------------------------------------- > Various fixes and updates: > > - editor config tweak for shell scripts > - iotest updates (still not default for make check) > - various docker updates > - gcc/ubsan updates for travis > - clean-ups for tests/vm including autoinstall (-netbsd) > - semihosting fix for Coverity > - fixes for cputlb in 64-on-32 cases > - gdbstub re-factor + maintainership update OpenBSD: make: Entering directory '/home/peter.maydell/qemu-openbsd/build' python3 -B /home/peter.maydell/qemu-openbsd/tests/vm/openbsd --debug --build-dir /home/peter.maydell/qemu-openbsd/build --image "/home/peter.maydell/.cache/qemu-vm/images/openbsd.img" --force --build-image /home/peter.maydell/.cache/qemu-vm/images/openbsd.img Formatting '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp', fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16 ### Downloading install iso ... ### Preparing iso and disk image ... ### Booting installer ... DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm -device VGA -drive file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev socket,id=mon,path=/var/tmp/tmpnelhp5du/qemu-20711-monitor.sock -mon chardev=mon,mode=control -display none -vga none -machine pc -chardev socket,id=console,path=/var/tmp/tmpnelhp5du/qemu-20711-console.sock,server,nowait -serial chardev:console -nodefaults -m 4G -cpu max -netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm -device VGA -drive file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso' DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} DEBUG:QMP:<<< {'return': {}} DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': {'command-line': 'info usernet'}} DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD Source Address Port Dest. Address Port RecvQ SendQ\r\n TCP[HOST_FORWARD] 13 127.0.0.1 46357 10.0.2.15 22 0 0\r\n'} console: *** read timeout *** console: waiting for: 'boot>' console: line buffer: Failed to prepare guest environment Traceback (most recent call last): File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line 370, in main return vm.build_image(args.image) File "/home/peter.maydell/qemu-openbsd/tests/vm/openbsd", line 85, in build_image self.console_wait_send("boot>", "set tty com0\n") File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line 267, in console_wait_send self.console_wait(wait) File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line 229, in console_wait chars = vm.console_socket.recv(1024) socket.timeout: timed out DEBUG:QMP:>>> {'execute': 'quit'} DEBUG:QMP:<<< {'return': {}} /home/peter.maydell/qemu-openbsd/tests/vm/Makefile.include:47: recipe for target '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img' failed make: *** [/home/peter.maydell/.cache/qemu-vm/images/openbsd.img] Error 2 make: Leaving directory '/home/peter.maydell/qemu-openbsd/build' FreeBSD: make: Entering directory '/home/peter.maydell/qemu-freebsd/build' python3 -B /home/peter.maydell/qemu-freebsd/tests/vm/freebsd --debug --build-dir /home/peter.maydell/qemu-freebsd/build --image "/home/peter.maydell/.cache/qemu-vm/images/freebsd.img" --force --build-image /home/peter.maydell/.cache/qemu-vm/images/freebsd.img /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso.xz: 595.0 MiB / 851.1 MiB = 0.699, 78 MiB/s, 0:10 Formatting '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp', fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16 ### Downloading install iso ... ### Preparing iso and disk image ... ### Booting installer ... DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm -device VGA -drive file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev socket,id=mon,path=/var/tmp/tmpxwprc886/qemu-20701-monitor.sock -mon chardev=mon,mode=control -display none -vga none -machine pc -chardev socket,id=console,path=/var/tmp/tmpxwprc886/qemu-20701-console.sock,server,nowait -serial chardev:console -nodefaults -m 4G -cpu max -netdev user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm -device VGA -drive file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso' DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} DEBUG:QMP:<<< {'return': {}} DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': {'command-line': 'info usernet'}} DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD Source Address Port Dest. Address Port RecvQ SendQ\r\n TCP[HOST_FORWARD] 13 127.0.0.1 39777 10.0.2.15 22 0 0\r\n'} console: *** read timeout *** console: waiting for: 'Autoboot' console: line buffer: Failed to prepare guest environment Traceback (most recent call last): File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 370, in main return vm.build_image(args.image) File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 94, in build_image self.console_boot_serial() File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 71, in console_boot_serial self.console_wait_send("Autoboot", "3") File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 267, in console_wait_send self.console_wait(wait) File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 229, in console_wait chars = vm.console_socket.recv(1024) socket.timeout: timed out DEBUG:QMP:>>> {'execute': 'quit'} DEBUG:QMP:<<< {'timestamp': {'seconds': 1560354157, 'microseconds': 358016}, 'event': 'NIC_RX_FILTER_CHANGED', 'data': {'path': '/machine/peripheral-anon/device[0]/virtio-backend'}} DEBUG:QMP:<<< {'return': {}} /home/peter.maydell/qemu-freebsd/tests/vm/Makefile.include:47: recipe for target '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img' failed make: *** [/home/peter.maydell/.cache/qemu-vm/images/freebsd.img] Error 2 make: Leaving directory '/home/peter.maydell/qemu-freebsd/build' thanks -- PMM
Le mer. 12 juin 2019 18:04, Peter Maydell <peter.maydell@linaro.org> a écrit : > On Wed, 12 Jun 2019 at 12:19, Alex Bennée <alex.bennee@linaro.org> wrote: > > > > The following changes since commit > 219dca61ebf41625831d4f96a720852baf44b762: > > > > Merge remote-tracking branch > 'remotes/ehabkost/tags/x86-next-pull-request' into staging (2019-06-11 > 16:02:07 +0100) > > > > are available in the Git repository at: > > > > https://github.com/stsquad/qemu.git > tags/pull-testing-gdbstub-cputlb-120619-2 > > > > for you to fetch changes up to dfffdccbf6984ad7042b3123cba9e29c4f3c9a2b: > > > > gdbstub: Implement qemu physical memory mode (2019-06-12 11:23:08 > +0100) > > > > ---------------------------------------------------------------- > > Various fixes and updates: > > > > - editor config tweak for shell scripts > > - iotest updates (still not default for make check) > > - various docker updates > > - gcc/ubsan updates for travis > > - clean-ups for tests/vm including autoinstall (-netbsd) > > - semihosting fix for Coverity > > - fixes for cputlb in 64-on-32 cases > > - gdbstub re-factor + maintainership update > > OpenBSD: > > make: Entering directory '/home/peter.maydell/qemu-openbsd/build' > python3 -B /home/peter.maydell/qemu-openbsd/tests/vm/openbsd --debug > --build-dir /home/peter.maydell/qemu-openbsd/build --image > "/home/peter.maydell/.cache/qemu-vm/images/openbsd.img" --force > --build-image /home/peter.maydell/.cache/qemu-vm/images/openbsd.img > Formatting '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp', > fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off > refcount_bits=16 > ### Downloading install iso ... > ### Preparing iso and disk image ... > ### Booting installer ... > DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > > file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso > DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev > socket,id=mon,path=/var/tmp/tmpnelhp5du/qemu-20711-monitor.sock -mon > chardev=mon,mode=control -display none -vga none -machine pc -chardev > > socket,id=console,path=/var/tmp/tmpnelhp5du/qemu-20711-console.sock,server,nowait > -serial chardev:console -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > > file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso' > DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} > DEBUG:QMP:<<< {'return': {}} > DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': > {'command-line': 'info usernet'}} > DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD > Source Address Port Dest. Address Port RecvQ SendQ\r\n > TCP[HOST_FORWARD] 13 127.0.0.1 46357 10.0.2.15 22 > 0 0\r\n'} > console: *** read timeout *** > console: waiting for: 'boot>' > console: line buffer: > > > Failed to prepare guest environment > Traceback (most recent call last): > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line 370, in > main > return vm.build_image(args.image) > File "/home/peter.maydell/qemu-openbsd/tests/vm/openbsd", line 85, > in build_image > self.console_wait_send("boot>", "set tty com0\n") > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line > 267, in console_wait_send > self.console_wait(wait) > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line > 229, in console_wait > chars = vm.console_socket.recv(1024) > socket.timeout: timed out > DEBUG:QMP:>>> {'execute': 'quit'} > DEBUG:QMP:<<< {'return': {}} > /home/peter.maydell/qemu-openbsd/tests/vm/Makefile.include:47: recipe > for target '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img' > failed > make: *** [/home/peter.maydell/.cache/qemu-vm/images/openbsd.img] Error 2 > make: Leaving directory '/home/peter.maydell/qemu-openbsd/build' > > > FreeBSD: > > make: Entering directory '/home/peter.maydell/qemu-freebsd/build' > python3 -B /home/peter.maydell/qemu-freebsd/tests/vm/freebsd --debug > --build-dir /home/peter.maydell/qemu-freebsd/build --image > "/home/peter.maydell/.cache/qemu-vm/images/freebsd.img" --force > --build-image /home/peter.maydell/.cache/qemu-vm/images/freebsd.img > /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso.xz: > 595.0 MiB / 851.1 MiB = 0.699, 78 MiB/s, 0:10 > Formatting '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp', > fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off > refcount_bits=16 > ### Downloading install iso ... > ### Preparing iso and disk image ... > ### Booting installer ... > DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > > file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso > DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev > socket,id=mon,path=/var/tmp/tmpxwprc886/qemu-20701-monitor.sock -mon > chardev=mon,mode=control -display none -vga none -machine pc -chardev > > socket,id=console,path=/var/tmp/tmpxwprc886/qemu-20701-console.sock,server,nowait > -serial chardev:console -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > > file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso' > DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} > DEBUG:QMP:<<< {'return': {}} > DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': > {'command-line': 'info usernet'}} > DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD > Source Address Port Dest. Address Port RecvQ SendQ\r\n > TCP[HOST_FORWARD] 13 127.0.0.1 39777 10.0.2.15 22 > 0 0\r\n'} > console: *** read timeout *** > console: waiting for: 'Autoboot' > console: line buffer: > > > Failed to prepare guest environment > Traceback (most recent call last): > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 370, in > main > return vm.build_image(args.image) > File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 94, > in build_image > self.console_boot_serial() > File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 71, > in console_boot_serial > self.console_wait_send("Autoboot", "3") > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line > 267, in console_wait_send > self.console_wait(wait) > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line > 229, in console_wait > chars = vm.console_socket.recv(1024) > socket.timeout: timed out > DEBUG:QMP:>>> {'execute': 'quit'} > DEBUG:QMP:<<< {'timestamp': {'seconds': 1560354157, 'microseconds': > 358016}, 'event': 'NIC_RX_FILTER_CHANGED', 'data': {'path': > '/machine/peripheral-anon/device[0]/virtio-backend'}} > DEBUG:QMP:<<< {'return': {}} > /home/peter.maydell/qemu-freebsd/tests/vm/Makefile.include:47: recipe > for target '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img' > failed > make: *** [/home/peter.maydell/.cache/qemu-vm/images/freebsd.img] Error 2 > make: Leaving directory '/home/peter.maydell/qemu-freebsd/build' > 3 errors seems the same Python socket char dropped/missed issue we are trying to figure out with Cleber. >
It looks like it's still trying to use the system QEMU (which is broken for this in hackbox) to launch. Is there a built qemu-system-x86_64 in your build directory? On Wed, 12 Jun 2019 at 16:57, Peter Maydell <peter.maydell@linaro.org> wrote: > > On Wed, 12 Jun 2019 at 12:19, Alex Bennée <alex.bennee@linaro.org> wrote: > > > > The following changes since commit 219dca61ebf41625831d4f96a720852baf44b762: > > > > Merge remote-tracking branch 'remotes/ehabkost/tags/x86-next-pull-request' into staging (2019-06-11 16:02:07 +0100) > > > > are available in the Git repository at: > > > > https://github.com/stsquad/qemu.git tags/pull-testing-gdbstub-cputlb-120619-2 > > > > for you to fetch changes up to dfffdccbf6984ad7042b3123cba9e29c4f3c9a2b: > > > > gdbstub: Implement qemu physical memory mode (2019-06-12 11:23:08 +0100) > > > > ---------------------------------------------------------------- > > Various fixes and updates: > > > > - editor config tweak for shell scripts > > - iotest updates (still not default for make check) > > - various docker updates > > - gcc/ubsan updates for travis > > - clean-ups for tests/vm including autoinstall (-netbsd) > > - semihosting fix for Coverity > > - fixes for cputlb in 64-on-32 cases > > - gdbstub re-factor + maintainership update > > OpenBSD: > > make: Entering directory '/home/peter.maydell/qemu-openbsd/build' > python3 -B /home/peter.maydell/qemu-openbsd/tests/vm/openbsd --debug > --build-dir /home/peter.maydell/qemu-openbsd/build --image > "/home/peter.maydell/.cache/qemu-vm/images/openbsd.img" --force > --build-image /home/peter.maydell/.cache/qemu-vm/images/openbsd.img > Formatting '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp', > fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off > refcount_bits=16 > ### Downloading install iso ... > ### Preparing iso and disk image ... > ### Booting installer ... > DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso > DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev > socket,id=mon,path=/var/tmp/tmpnelhp5du/qemu-20711-monitor.sock -mon > chardev=mon,mode=control -display none -vga none -machine pc -chardev > socket,id=console,path=/var/tmp/tmpnelhp5du/qemu-20711-console.sock,server,nowait > -serial chardev:console -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > file=/home/peter.maydell/.cache/qemu-vm/images/openbsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/openbsd.img.install.iso' > DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} > DEBUG:QMP:<<< {'return': {}} > DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': > {'command-line': 'info usernet'}} > DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD > Source Address Port Dest. Address Port RecvQ SendQ\r\n > TCP[HOST_FORWARD] 13 127.0.0.1 46357 10.0.2.15 22 > 0 0\r\n'} > console: *** read timeout *** > console: waiting for: 'boot>' > console: line buffer: > > > Failed to prepare guest environment > Traceback (most recent call last): > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line 370, in main > return vm.build_image(args.image) > File "/home/peter.maydell/qemu-openbsd/tests/vm/openbsd", line 85, > in build_image > self.console_wait_send("boot>", "set tty com0\n") > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line > 267, in console_wait_send > self.console_wait(wait) > File "/home/peter.maydell/qemu-openbsd/tests/vm/basevm.py", line > 229, in console_wait > chars = vm.console_socket.recv(1024) > socket.timeout: timed out > DEBUG:QMP:>>> {'execute': 'quit'} > DEBUG:QMP:<<< {'return': {}} > /home/peter.maydell/qemu-openbsd/tests/vm/Makefile.include:47: recipe > for target '/home/peter.maydell/.cache/qemu-vm/images/openbsd.img' > failed > make: *** [/home/peter.maydell/.cache/qemu-vm/images/openbsd.img] Error 2 > make: Leaving directory '/home/peter.maydell/qemu-openbsd/build' > > > FreeBSD: > > make: Entering directory '/home/peter.maydell/qemu-freebsd/build' > python3 -B /home/peter.maydell/qemu-freebsd/tests/vm/freebsd --debug > --build-dir /home/peter.maydell/qemu-freebsd/build --image > "/home/peter.maydell/.cache/qemu-vm/images/freebsd.img" --force > --build-image /home/peter.maydell/.cache/qemu-vm/images/freebsd.img > /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso.xz: > 595.0 MiB / 851.1 MiB = 0.699, 78 MiB/s, 0:10 > Formatting '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp', > fmt=qcow2 size=21474836480 cluster_size=65536 lazy_refcounts=off > refcount_bits=16 > ### Downloading install iso ... > ### Preparing iso and disk image ... > ### Booting installer ... > DEBUG:root:QEMU args: -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso > DEBUG:qemu:VM launch command: 'qemu-system-x86_64 -chardev > socket,id=mon,path=/var/tmp/tmpxwprc886/qemu-20701-monitor.sock -mon > chardev=mon,mode=control -display none -vga none -machine pc -chardev > socket,id=console,path=/var/tmp/tmpxwprc886/qemu-20701-console.sock,server,nowait > -serial chardev:console -nodefaults -m 4G -cpu max -netdev > user,id=vnet,hostfwd=:127.0.0.1:0-:22 -device > virtio-net-pci,netdev=vnet -vnc 127.0.0.1:0,to=20 -smp 18 -enable-kvm > -device VGA -drive > file=/home/peter.maydell/.cache/qemu-vm/images/freebsd.img.tmp,if=none,id=drive0,cache=writeback > -device virtio-blk,drive=drive0,bootindex=0 -machine graphics=off > -cdrom /home/peter.maydell/.cache/qemu-vm/images/freebsd.img.install.iso' > DEBUG:QMP:>>> {'execute': 'qmp_capabilities'} > DEBUG:QMP:<<< {'return': {}} > DEBUG:QMP:>>> {'execute': 'human-monitor-command', 'arguments': > {'command-line': 'info usernet'}} > DEBUG:QMP:<<< {'return': 'VLAN -1 (vnet):\r\n Protocol[State] FD > Source Address Port Dest. Address Port RecvQ SendQ\r\n > TCP[HOST_FORWARD] 13 127.0.0.1 39777 10.0.2.15 22 > 0 0\r\n'} > console: *** read timeout *** > console: waiting for: 'Autoboot' > console: line buffer: > > > Failed to prepare guest environment > Traceback (most recent call last): > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line 370, in main > return vm.build_image(args.image) > File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 94, > in build_image > self.console_boot_serial() > File "/home/peter.maydell/qemu-freebsd/tests/vm/freebsd", line 71, > in console_boot_serial > self.console_wait_send("Autoboot", "3") > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line > 267, in console_wait_send > self.console_wait(wait) > File "/home/peter.maydell/qemu-freebsd/tests/vm/basevm.py", line > 229, in console_wait > chars = vm.console_socket.recv(1024) > socket.timeout: timed out > DEBUG:QMP:>>> {'execute': 'quit'} > DEBUG:QMP:<<< {'timestamp': {'seconds': 1560354157, 'microseconds': > 358016}, 'event': 'NIC_RX_FILTER_CHANGED', 'data': {'path': > '/machine/peripheral-anon/device[0]/virtio-backend'}} > DEBUG:QMP:<<< {'return': {}} > /home/peter.maydell/qemu-freebsd/tests/vm/Makefile.include:47: recipe > for target '/home/peter.maydell/.cache/qemu-vm/images/freebsd.img' > failed > make: *** [/home/peter.maydell/.cache/qemu-vm/images/freebsd.img] Error 2 > make: Leaving directory '/home/peter.maydell/qemu-freebsd/build' > > thanks > -- PMM
On Wed, 12 Jun 2019 at 17:42, Alex Bennée <alex.bennee@linaro.org> wrote: > > It looks like it's still trying to use the system QEMU (which is > broken for this in hackbox) to launch. Is there a built > qemu-system-x86_64 in your build directory? No -- the build process here is just make -C build vm-build-openbsd (etc) on a configured tree. I can add the 'do a local built in this tree' step to my scripts, but I wonder if maybe the test target should depend on something so it gets built before it's used? PS: NetBSD worked fine. thanks -- PMM
Peter Maydell <peter.maydell@linaro.org> writes: > On Wed, 12 Jun 2019 at 17:42, Alex Bennée <alex.bennee@linaro.org> wrote: >> >> It looks like it's still trying to use the system QEMU (which is >> broken for this in hackbox) to launch. Is there a built >> qemu-system-x86_64 in your build directory? > > No -- the build process here is just make -C build vm-build-openbsd > (etc) on a configured tree. I can add the 'do a local built in > this tree' step to my scripts, but I wonder if maybe the test > target should depend on something so it gets built before it's used? > > PS: NetBSD worked fine. I dropped the NetBSD autoinstall over serial. I suspect we have a combination of dodgy serial emulation combined with something the BSD's exercise. > > thanks > -- PMM -- Alex Bennée