[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] make vm-build-openbsd (was: Re: [PATCH v2 22/23] tests:
From: |
Thomas Huth |
Subject: |
Re: [Qemu-devel] make vm-build-openbsd (was: Re: [PATCH v2 22/23] tests: Run the iotests during "make check" again) |
Date: |
Tue, 23 Jul 2019 10:58:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 23/07/2019 09.20, Thomas Huth wrote:
> On 22/07/2019 21.53, Philippe Mathieu-Daudé wrote:
> [...]
>> Since Gerd updated the OpenBSD image, do you know if we can run vm-test
>> again?
>
> I just tried it, but the OpenBSD build seems to be completely broken right
> now:
>
> $ nice make vm-build-openbsd
> VM-IMAGE openbsd
> ### Downloading install iso ...
> --2019-07-23 08:52:46--
> https://cdn.openbsd.org/pub/OpenBSD/6.5/amd64/install65.iso
> Resolving cdn.openbsd.org (cdn.openbsd.org)... 151.101.38.217
> Connecting to cdn.openbsd.org (cdn.openbsd.org)|151.101.38.217|:443...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 407169024 (388M) [application/octet-stream]
> Saving to:
> ‘/home/thuth/.cache/qemu-vm/download/54ac74c2128d6c2d3ede38756576fe89c08476bd.download’
>
> 100%[=======================================================================>]
> 407.169.024 8,55MB/s in 39s
>
> 2019-07-23 08:53:25 (9,98 MB/s) -
> ‘/home/thuth/.cache/qemu-vm/download/54ac74c2128d6c2d3ede38756576fe89c08476bd.download’
> saved [407169024/407169024]
>
> ### Preparing iso and disk image ...
> Formatting '/home/thuth/.cache/qemu-vm/images/openbsd.img.tmp', fmt=qcow2
> size=21474836480 cluster_size=65536 lazy_refcounts=off refcount_bits=16
> ### Booting installer ...
> console: *** read timeout ***
> console: waiting for: 'timezone'
> console: line buffer:
>
> con recv: Which disk is the root disk? ('?' for details) [sd0]
>
> Failed to prepare guest environment
> Traceback (most recent call last):
> File "/home/thuth/devel/qemu/tests/vm/basevm.py", line 353, in main
> return vm.build_image(args.image)
> File "/home/thuth/devel/qemu/tests/vm/openbsd", line 118, in build_image
> self.console_wait_send("timezone", "UTC\n")
> File "/home/thuth/devel/qemu/tests/vm/basevm.py", line 253, in
> console_wait_send
> self.console_wait(wait)
> File "/home/thuth/devel/qemu/tests/vm/basevm.py", line 215, in console_wait
> chars = vm.console_socket.recv(1)
> socket.timeout: timed out
> make: *** [/home/thuth/.cache/qemu-vm/images/openbsd.img] Error 2
>
> I even tried to delete the ~/.cache/qemu-vm folder, but that also did
> not help, I'm always getting that time-out now. Does it still work for
> you?
FWIW, it works again with this hack:
diff a/tests/vm/openbsd b/tests/vm/openbsd
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -115,7 +115,7 @@ class OpenBSDVM(basevm.BaseVM):
self.console_send("%s\n" % self.GUEST_PASS)
self.console_wait_send("Allow root ssh login", "yes\n")
- self.console_wait_send("timezone", "UTC\n")
+ self.console_send("UTC\n")
self.console_wait_send("root disk", "\n")
self.console_wait_send("(W)hole disk", "\n")
self.console_wait_send("(A)uto layout", "\n")
¯\_(ツ)_/¯
Thomas
- [Qemu-devel] [PATCH v2 18/23] travis: enable travis_retry for check phase, (continued)
- [Qemu-devel] [PATCH v2 18/23] travis: enable travis_retry for check phase, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 20/23] tests/qemu-iotests/check: Allow tests without groups, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 14/23] buildsys: The NSIS Windows build requires qemu-nsis.bmp installed, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 15/23] tests/docker: Let the test-mingw test generate a NSIS installer, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 13/23] buildsys: The NSIS Windows build requires the documentation installed, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 23/23] gitlab-ci: Remove qcow2 tests that are handled by "make check" already, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 22/23] tests: Run the iotests during "make check" again, Alex Bennée, 2019/07/17
- [Qemu-devel] [PATCH v2 16/23] NSIS: Add missing firmware blobs, Alex Bennée, 2019/07/17
[Qemu-devel] [PATCH v2 19/23] tests/docker: invoke the DEBUG shell with --noprofile/--norc, Alex Bennée, 2019/07/17
[Qemu-devel] [PATCH v2 21/23] tests/qemu-iotests/group: Remove some more tests from the "auto" group, Alex Bennée, 2019/07/17
Re: [Qemu-devel] [PATCH v2 00/23] testing/next for 4.1-rc2 (win, travis, iotests), Alex Bennée, 2019/07/22