From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eydZU-0002ga-6Y for qemu-devel@nongnu.org; Wed, 21 Mar 2018 09:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eydZQ-0007Ox-5L for qemu-devel@nongnu.org; Wed, 21 Mar 2018 09:14:28 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60182 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eydZP-0007Ob-Q1 for qemu-devel@nongnu.org; Wed, 21 Mar 2018 09:14:24 -0400 References: <20180216164620.GA53727@humpty.home.comstyle.com> <85dc7f9f-95e1-c666-ee17-8f04d008d21b@gmx.com> <128f62e5-9184-57e5-88c1-d5cc4bf27d4f@redhat.com> <20180321081112.GE26017@lemon.usersys.redhat.com> From: Eric Blake Message-ID: <9b247ea1-7a91-6d39-6c80-7c1679c6a098@redhat.com> Date: Wed, 21 Mar 2018 08:14:10 -0500 MIME-Version: 1.0 In-Reply-To: <20180321081112.GE26017@lemon.usersys.redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] make vm-test [was: [PATCH] maintainers: Add myself as a OpenBSD maintainer] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Kamil Rytarowski , Brad Smith , qemu-devel@nongnu.org On 03/21/2018 03:11 AM, Fam Zheng wrote: >> Thanks for this; today was my first day trying the various vm-build- >> targets. >> >> Question: is this expected behavior? >> >> $ make vm-build-ubuntu.i386 >> VM-IMAGE ubuntu.i386 >> ... >> Image resized. >> debconf: unable to initialize frontend: Dialog >> debconf: (TERM is not set, so the dialog frontend is not usable.) >> >> I'm wondering if the image initialized incorrectly, and as a result can't do >> as much as it's supposed to do, or runs way slower than it needs to? The >> command eventually completed with status 0, but failed to find a 32-bit >> compile error in the rdma code, and the output log does not look like it >> actually attempted to compile anything in qemu (unless it did compile it, >> but the logs were not output to stdout/stderr). >> >> make vm-build-freebsd was a lot faster at completing for me (but shows that >> we still have a lot of clang warnings about address of a packed struct >> member). >> > > Was it a clean repo? Did you try "rm -rf ~/.cache/qemu-vm"? This morning the > command worked for me from a clean env (on RHEL 7, using a QEMU built from > qemu.git), and I didn't see the errors/warnings you pasted. (BTW I don't > understand how sudo has anything to do with the dummy host name.) I repeated the test twice this morning after 'rm -rf ~/.cache/qemu-vm', first after 'rm tests/vm/ubuntu.i386.img' in an incremental tree, and second in a fresh git checkout. Here's a full pastebin of the first try (I hit ^C after seeing it look the same as yesterday, even after the fresh redownload that took more than 10 minutes): https://paste.fedoraproject.org/paste/p8Th7AroLAprGY03ffzGHA The results are the same; debconf is somehow unable to connect to the guest, and as a result, the guest is not properly initialized with the additional packages it needs, and then everything else about the image is broken. Then on the second try, I got a dreaded message about my /home being nearly full, (having multiple .img files in two different build directories pushed me over limits), and it died a much harder death due to ENOSPC. Let me resize my /home and retry (thankfully I still have some disk space free to throw at the problem), and I'll report back if that makes a difference. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org