From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6628950350153908224 X-Received: by 2002:adf:df83:: with SMTP id z3mr1144998wrl.21.1543426506966; Wed, 28 Nov 2018 09:35:06 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:840e:: with SMTP id g14ls1394556wmd.5.canary-gmail; Wed, 28 Nov 2018 09:35:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/UEeQRD+ynVNEqbFUoS86aF5c5/i+u1T47yw8auOxmkmlQzjYUoiaz97wVSTOWGqN4v83r2 X-Received: by 2002:a7b:c188:: with SMTP id y8mr938587wmi.19.1543426506348; Wed, 28 Nov 2018 09:35:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543426506; cv=none; d=google.com; s=arc-20160816; b=yw6i2EUqzLv/PlcAAzNBLjz5FMq5sXm2zRyvFge+VTMY2pwiNd0dLDCYfJ0jrJubc9 Zq01s1rgCMkUMYfpFJK0xbR/vlrD/ARBamlHtYEClil/zpiqzQM1v0jTM2+vMV7bjHnI SglkHqvhhemHsvpZXlmywCzyi6dN09AhT7U3gdGu1p92Z3FEMTa6o2oZG40AsE9Lq+Xc NTq65gbEl0xozIF7zsSba5LgNxDXzbryF54IzYc07DchT2dc/YoHSkf8sHembeDo1J0B O6sC49tlLthUAvc/9p/Ydx9p5Ycf0P6+EWq5rQ4PhwPiUz/bsw0POA0w8iWPSAakal9F rgLA== 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:cc:organization:from:references:to :subject; bh=ncg5/Hr60hf7n841PRL+PrecXSrXiITRJVa1NWgXU4Y=; b=orTL3jvHfMyp4dndBdBFk8I5lBmrY+au1opdJQMQapLrGj5XkXPZ8Uw/nxz834bDyD JuNkhUG5xEN/R0Bice+RqkUWoMWWx9jcJDduT6mxAsE3KPtaSpYFhm8AmlFr3oOmHqZL iAO3WDMUuI1H3EthKHB/wKMJrbwm+n7lxQ8nKWMB+Pn2XQPLh1BKTZ82/yGN9tEbOFVn cDLNJfJtkMlMpHt3W8Hyzj5pvxho2SdKQeYFyksIoIh2Xn9jLE+attVR275UfgjSoSzj w/rkmN1vnUlXFUrR95/0qjdbDmvg7pAMay8wMCy5ik1Z6Dj/wfwK4r/iP3QDiwhO+emG 3J1Q== 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 k140si108249wmd.2.2018.11.28.09.35.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Nov 2018 09:35:06 -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 wASHZ3nI013335 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 28 Nov 2018 18:35:05 +0100 Subject: Re: qemu test with start_vm fails To: Andreas Reichel , isar-users@googlegroups.com References: <20181128162524.GA12380@iiotirae> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Cc: Henning Schild Message-ID: <7db5e0b2-52e8-f15f-96b6-88385de5a498@ilbers.de> Date: Wed, 28 Nov 2018 20:34:58 +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: <20181128162524.GA12380@iiotirae> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: i942qowULD8Y Hi Andreas, I would suggest to double check your statements before blaming that something is not working 1. CI is performed on regular basis on isar-build.org. The easy way to run it on your debian PC just call * isar$./scripts/ci_build.sh -q * isar/build$ source isar-init-build-env * isar/build$vm_smoke_test -q You should see something like that: vm_smoke_test -f -q ------------------------------------------------- Testing Isar [stretch] image for [arm] machine: Check login prompt: PASSED Check example module: PASSED ------------------------------------------------- Testing Isar [stretch] image for [amd64] ... Recently the "faster" (to build/try reduced set of configurations) version of CI was introduced - just pass additional key '-f' to ci_build.sh and vm_smoke_test. Moreover you are encouraged to run these scripts on your own before submitting your patches - this will save a lot of time to maintainer. Instead launching on your own PC - active developers are granted account on Jenkins on isar-build.org - CI is automated by Jenkins. Just ask Baurzhan for an account. 2. CI is not launched in docker. 3. On my stretch laptop I've just checked out the latest next, built multiconfig:qemuarm-stretch:isar-image-base and launched start_vm: isar/build$ start_vm -a arm -d stretch + qemu-system-arm -m 1024M -M virt -cpu cortex-a15 -nographic -kernel /home/myo/work/isar/src/isar/build/tmp/deploy/images/qemuarm/isar-image-base-debian-stretch-qemuarm.vmlinuz-4.9.0-8-armmp -initrd /home/myo/work/isar/src/isar/build/tmp/deploy/images/qemuarm/isar-image-base-debian-stretch-qemuarm.initrd.img-4.9.0-8-armmp -append console=ttyAMA0 root=/dev/vda rw -drive file=/home/myo/work/isar/src/isar/build/tmp/deploy/images/qemuarm/isar-image-base-debian-stretch-qemuarm.ext4.img,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.0-8-armmp (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.130-2 (2018-10-27) [snip] After a while (wait for some 3-4 min) I've got Debian GNU/Linux 9 isar ttyAMA0 isar login: When reporting a problem please provide more details about your environment (host/target/distro/Isar tree commit id etc). Maxim. On 11/28/18 7:25 PM, Andreas Reichel wrote: > 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. > > I thought, there was a CI that tested the builds with qemu on a > regular basis? > > I could start the image with "root=/dev/vda ro" parameter. > > If such basic things are not tested regularly this can cost developers a > lot of time... > > kind regards > Andreas > -- 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