From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6628950350153908224 X-Received: by 2002:adf:e507:: with SMTP id j7mr183199wrm.12.1543501512085; Thu, 29 Nov 2018 06:25:12 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:d9c8:: with SMTP id q191ls429472wmg.9.canary-gmail; Thu, 29 Nov 2018 06:25:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/VbukjCRq2pFm7slXYJLh6LaAK/jvYGp7PvP+dMunNWZwQaMJlU48z2cu6fnZ8VB2xA9WMD X-Received: by 2002:a1c:2343:: with SMTP id j64mr227839wmj.15.1543501511688; Thu, 29 Nov 2018 06:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501511; cv=none; d=google.com; s=arc-20160816; b=VjN3gZcS/txVFQxAOK6PX8wXhQKg1DP130fHn37DbmLjO33Rw20/gi7Y3RES9eofRI 5kKpS6u6pS3N/FrtImBKZjHQ+ODd8LGElaNf6I6Z7MCo+XvkTkgkGll1Y58ig7EKbZy+ fOWxaNMSLd8GqQVx8rnUyrP8OCYMKLNxCpHS7Sng786a92AVNQ8WdgU18hu+menMSsON p9Swsl2sZBw6CxGBXycleeykPzZIBQ8Wi4IDB+wi4Kg4kcWlq2qX4cgSz26730TSbiu+ +u9kz6A3jl3QZp77eFZv3Syqg3sycukauRjYiKTNmygSFuOmt/2mqxym+zocuRxFyzrC rmag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:cc:to :subject; bh=kq2PNZHXgCXoHPWrOywAfvGQeYnQlfj8ywuiPL3AcGE=; b=yndAqDCoUtSlKDSCCw3Wu09YgFSHBTBwXTqoWi6ImDd/Hg8mF4+AeBu/tbFIDCg157 vGGDNOpNp5IlVGtoutrtkjAgQvYqW1LhAphD2QZ9GaHPJBUhM7nYXPlOAZnAL/RuM9vE bRVnZw705wk5FE3sWWnMZJIOePbahn7jjkk0wio51aHIh/fHHtJ/sAngwV+LNcQ7pCM+ u0Y0RsoElCG58Wh2MrakODZibQ5Ba3Nkwt9DG2Mp7VnAivb80IHI2UtNKDgrnUgOrNpH 8CG9GWr9VimAZJCNS+uXvz5GOZpDNwk8bMPYd003Iz2ZZILnRZl0l1W7ySiXTDOneVo2 rdsQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id j20si27969wme.1.2018.11.29.06.25.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 06:25:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.50.180] (nat-ppp-217.71.235.199-satnet-spb.ru [217.71.235.199] (may be forged)) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wATEP8wX017651 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 29 Nov 2018 15:25:09 +0100 Subject: Re: qemu test with start_vm fails To: Andreas Reichel Cc: isar-users@googlegroups.com, Henning Schild References: <20181128162524.GA12380@iiotirae> <7db5e0b2-52e8-f15f-96b6-88385de5a498@ilbers.de> <20181129122017.GA27213@iiotirae> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: <3c25378a-446c-6ead-6776-89427a553349@ilbers.de> Date: Thu, 29 Nov 2018 17:25:03 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181129122017.GA27213@iiotirae> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: iJfnCl6hH0pY On 11/29/18 3:20 PM, Andreas Reichel wrote: > On Wed, Nov 28, 2018 at 08:34:58PM +0300, Maxim Yu. Osipov wrote: >> Hi Andreas, >> >> I would suggest to double check your statements before blaming that >> something is not working >> > Hi, > > well unfortunately I was correct. There is an error in Isar: > the offline cache is included in the root file system :) In your initial report you stated: > -------- Forwarded Message -------- > Subject: qemu test with start_vm fails > Date: Wed, 28 Nov 2018 17:25:24 +0100 > From: Andreas Reichel > To: isar-users@googlegroups.com > > Hi, > > I built > > multiconfig:qemuarm-stretch:isar-image-base > > and wanted to test the image with > > start_vm -a arm -d stretch > > which failed inside my docker container so I extracted the qemu command > generated and started qemu outside of docker. > > This failed to work because the generated ext4 image had no > space left and the kernel root parameter is set to "rw" by the > output of start_vm script, causing systemd to hang. You said that you were unable to launch 'start_vm -a arm -d stretch' without providing details of environment/feature enabled/commit id used. At least now I know that you use offline cache (BTW, offline cache feature is broken in current next, so I may only guess on which commit id you base on). I hope that it should be clear how to correctly report the problem next time. > There is a /base-apt in the resulting .ext4.img. I'll look on that and fix it if necessary (previously we had images with not cleaned up /var/cache/apt). > This way I got a rootfs of 720 MB with no free space, despite the > 64M extra space. (file system overhead). > > In your CI you obviously do not use the offline cache feature, > that's why in CI this did not happen. I've just checked-in into 'next' the patch debe3392 "scripts/ci: enable use of cached base repository for fast build" and it passes OK in 'next' with the reverted patch d40a9ac0. The easy way to run it on your debian PC just call * isar$./scripts/ci_build.sh -q -f * isar$ source isar-init-build-env * isar/build$vm_smoke_test -q -f Maxim. -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov