From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcC8D-00072K-C5 for qemu-devel@nongnu.org; Tue, 23 Aug 2016 09:52:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcC88-0003UD-EW for qemu-devel@nongnu.org; Tue, 23 Aug 2016 09:52:45 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcC88-0003U7-4T for qemu-devel@nongnu.org; Tue, 23 Aug 2016 09:52:40 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u7NDksNM101344 for ; Tue, 23 Aug 2016 09:52:39 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 250qb2hm4h-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 23 Aug 2016 09:52:39 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 23 Aug 2016 14:52:36 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9C2DB1B0806E for ; Tue, 23 Aug 2016 14:54:12 +0100 (BST) Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u7NDqXf310158452 for ; Tue, 23 Aug 2016 13:52:33 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u7NDqXc4018862 for ; Tue, 23 Aug 2016 07:52:33 -0600 From: Sascha Silbe In-Reply-To: <87y43tccat.fsf@linaro.org> References: <1471551152-26107-1-git-send-email-silbe@linux.vnet.ibm.com> <87y43tccat.fsf@linaro.org> Date: Tue, 23 Aug 2016 15:52:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <87y43nk2xr.fsf@oc4731375738.ibm.com> Subject: Re: [Qemu-devel] [PATCH 0/3] docker tests fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?utf-8?Q?Benn=C3=A9e?= Cc: Fam Zheng , qemu-devel@nongnu.org Dear Alex, Alex Benn=C3=A9e writes: > Sascha Silbe writes: > >> A couple of fixes for issues encountered while trying out the new >> docker test support. The debian-bootstrap image still doesn't build >> for me, but that's a problem for another day. > > Can you offer any details? What host OS and what errors do you get? I'll assume you're talking about the remaining issue, rather than the ones fixed by this series. Haven't spent much time yet trying to figure it out. It looks like sources.list inside the image is missing "deb-src" lines. Running docker.py manually without --quiet (would be nice if DEBUG=3D1 did that, BTW) I get the following output: =3D=3D=3D Begin =3D=3D=3D silbe@oc4731375738:~/build/qemu-devel$ date; DEB_ARCH=3Darmel DEB_TYPE=3Dst= able EXECUTABLE=3D/usr/bin/qemu-arm-static DEBUG=3D1 /home/silbe/recoverabl= e/qemu/tests/docker/docker.py build qemu:debian-bootstrap /home/silbe/recov= erable/qemu/tests/docker/dockerfiles/debian-bootstrap.docker --include-exec= utable=3D/usr/bin/qemu-arm-static Tue Aug 23 15:39:00 CEST 2016 Building a rootfs using /usr/bin/fakeroot and /usr/sbin/debootstrap armel/s= table W: Cannot check Release signature; keyring file not available /usr/share/ke= yrings/debian-archive-keyring.gpg [...] I: Extracting zlib1g... /usr/bin/qemu-arm-static had no associated libraries (static build?) Sending build context to Docker daemon 201.2 MB Sending build context to Docker daemon=20 Step 0 : FROM scratch --->=20 Step 1 : ADD . / ---> 366e15a5b4d8 Removing intermediate container 865d34d36d2b Step 2 : RUN sed -i 's/in_target mount/echo not for docker in_target mount/= g' /debootstrap/functions ---> Running in cf539dd3a3fd ---> 313acea8974a Removing intermediate container cf539dd3a3fd Step 3 : RUN /debootstrap/debootstrap --second-stage ---> Running in 7851b75bda73 I: Keyring file not available at /usr/share/keyrings/debian-archive-keyring= .gpg; switching to https mirror https://mirrors.kernel.org/debian I: Installing core packages... [...] I: Configuring libc-bin... I: Base system installed successfully. ---> 68b8522ff2e7 Removing intermediate container 7851b75bda73 Step 4 : RUN cat /etc/apt/sources.list | sed "s/deb/deb-src/" >> /etc/apt/s= ources.list ---> Running in 4cc5be448b57 ---> 4fa669cb8511 Removing intermediate container 4cc5be448b57 Step 5 : RUN apt-get update ---> Running in 354a69607da0 Reading package lists... ---> 3025b4f79141 Removing intermediate container 354a69607da0 Step 6 : RUN apt-get -y build-dep qemu ---> Running in 81bfa9e9fce8 Reading package lists... Building dependency tree... E: You must put some 'source' URIs in your sources.list INFO[0184] The command [/bin/sh -c apt-get -y build-dep qemu] returned a no= n-zero code: 100=20 =3D=3D=3D End =3D=3D=3D Host is an x86_64 running Ubuntu 14.04. Sascha --=20 Softwareentwicklung Sascha Silbe, Niederhofenstra=C3=9Fe 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641