[{"id":1759265,"web_url":"http://patchwork.ozlabs.org/comment/1759265/","msgid":"<518b29b0-654d-f438-7b18-0419987ba442@amsat.org>","list_archive_url":null,"date":"2017-08-29T12:09:37","subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","submitter":{"id":70924,"url":"http://patchwork.ozlabs.org/api/people/70924/","name":"Philippe Mathieu-Daudé","email":"f4bug@amsat.org"},"content":"On 08/28/2017 02:47 PM, Fam Zheng wrote:\n> The image is prepared following instructions as in:\n> \n> https://wiki.qemu.org/Hosts/BSD\n> \n> Signed-off-by: Fam Zheng <famz@redhat.com>\n> Reviewed-by: Kamil Rytarowski <n54@gmx.com>\n> ---\n>   tests/vm/netbsd | 42 ++++++++++++++++++++++++++++++++++++++++++\n>   1 file changed, 42 insertions(+)\n>   create mode 100755 tests/vm/netbsd\n> \n> diff --git a/tests/vm/netbsd b/tests/vm/netbsd\n> new file mode 100755\n> index 0000000000..559e89c8a6\n> --- /dev/null\n> +++ b/tests/vm/netbsd\n> @@ -0,0 +1,42 @@\n> +#!/usr/bin/env python\n> +#\n> +# NetBSD VM image\n> +#\n> +# Copyright (C) 2017 Red Hat Inc.\n> +#\n> +# Authors:\n> +#  Fam Zheng <famz@redhat.com>\n> +#\n> +# This work is licensed under the terms of the GNU GPL, version 2.  See\n> +# the COPYING file in the top-level directory.\n> +#\n> +\n> +import os\n> +import sys\n> +import subprocess\n> +import basevm\n> +\n> +class NetBSDVM(basevm.BaseVM):\n> +    name = \"netbsd\"\n> +    BUILD_SCRIPT = \"\"\"\n> +        set -e;\n> +        cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);\n> +        tar -xf /dev/rld1a;\n> +        ./configure --python=python2.7 {configure_opts};\n> +        gmake -j{jobs};\n> +        gmake check;\n> +    \"\"\"\n> +\n> +    def build_image(self, img):\n> +        cimg = self._download_with_cache(\"http://download.patchew.org/netbsd-7.1-amd64.img.xz\",\n> +                                         sha256sum='b633d565b0eac3d02015cd0c81440bd8a7a8df8512615ac1ee05d318be015732')\n> +        img_tmp_xz = img + \".tmp.xz\"\n> +        img_tmp = img + \".tmp\"\n> +        subprocess.check_call([\"cp\", \"-f\", cimg, img_tmp_xz])\n> +        subprocess.check_call([\"xz\", \"-df\", img_tmp_xz])\n> +        if os.path.exists(img):\n> +            os.remove(img)\n> +        os.rename(img_tmp, img)\n> +\n> +if __name__ == \"__main__\":\n> +    sys.exit(basevm.main(NetBSDVM))\n\nThis one is failing:\n\nDEBUG:root:ssh_cmd: ssh -q -o StrictHostKeyChecking=no -o \nUserKnownHostsFile=/dev/null -o ConnectTimeout=1 -p 34091 -i \n/tmp/qemu-vm-59XYOj/id_rsa qemu@127.0.0.1\n         set -e;\n         cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);\n         tar -xf /dev/rld1a;\n         ./configure --python=python2.7 ;\n         gmake -j4;\n         gmake check;\n\n...\n   CC      bt-host.o\n   CC      bt-vhci.o\n   CC      dma-helpers.o\n   CC      vl.o\n   CC      tpm.o\nIn file included from vl.c:72:0:\n/var/tmp/qemu-test.ht0XHU/include/hw/loader.h:4:29: fatal error: \nhw/nvram/fw_cfg.h: No such file or directory\n  #include \"hw/nvram/fw_cfg.h\"\n                              ^\ncompilation terminated.\n/var/tmp/qemu-test.ht0XHU/rules.mak:66: recipe for target 'vl.o' failed\ngmake: *** [vl.o] Error 1\ngmake: *** Waiting for unfinished jobs....\ntests/vm/Makefile.include:32: recipe for target 'vm-build-netbsd' failed\nmake: *** [vm-build-netbsd] Error 3","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"mmS2VWoQ\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhSBk4TJVz9sR9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 22:10:21 +1000 (AEST)","from localhost ([::1]:44633 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dmfLX-0008Sc-4e\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 08:10:19 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:38631)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmfL2-0008Kh-PB\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 08:09:49 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmfKw-0002AW-Qj\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 08:09:48 -0400","from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:36797)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmfKw-00029x-Kr\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 08:09:42 -0400","by mail-qk0-x242.google.com with SMTP id l65so2651280qkc.3\n\tfor <qemu-devel@nongnu.org>; Tue, 29 Aug 2017 05:09:42 -0700 (PDT)","from [192.168.1.10] ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tq11sm1862939qtf.16.2017.08.29.05.09.38\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 29 Aug 2017 05:09:41 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:subject:to:cc:references:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=Z19317RwMitkl7IE1qydZMB1HQixrj4kcgFeKvWBfVc=;\n\tb=mmS2VWoQFRiJMESZFv+vYoumZzp3e1nOb3uvcAzImfCfVcGtXbF+Zcf7C0gWHZBJIN\n\tP/S44opnHHPDMlkPQTinNN9UunvUyny0exEA2uRzdASSAKvlehAOfiIzy5GOrxAlu267\n\tyClX+zBshU1oQlf1ll9+28T0QEIXbl/f6pw/UYlo9x85cfEeKJQ0Gn9eKVWAK6OjS/rh\n\t9G0l0XmV1us3+dwMHQvhBk5YNZMQpjJ7bWVv6XkqQCKPqogs9ctL8wUZWycPmpNrHtv3\n\tzwfNsCJkycKKSOPnM1/6MNMrEVrVYJxe16ULkPxZGIYnrZ1wxFUljxLvGgtlt/JyeP4Q\n\tOxDg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:subject:to:cc:references:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=Z19317RwMitkl7IE1qydZMB1HQixrj4kcgFeKvWBfVc=;\n\tb=TAf9ishWFZviFkVRI5jgzwDRoM7Ve8/YySdxw13aAf0y3fc9KEJFzCm3tgZGrfEjjF\n\tcFq8KNj8S+D1xc78GFP0eLK7yUW8G4q71F+ootxNRuv+8f/1cmIfe+BufNYXcBMAhtk7\n\t16XusQ/kg3lLzFdGC3zVCFZa5lrSG3VJ0cPHIH3eqWQpTN5Bo/J4NpgUF3BMdSMCMJoa\n\tyDyxrLvLcBQjuMJ9D4UdCYLfW/qfew2VZpmRRr2xhwObM5JQ8NW0193IvWMPOMBPkKs4\n\tkGEksPXuWQ8Eiz9qt+ZHKf/mUwFKax/xY0RSfm8wvWrAfMdGEveUmlhRFcxad7Esjv7W\n\tdTQA==","X-Gm-Message-State":"AHYfb5gSJtespE0niX1O3vJN39VDViIuck4w+LDOb60Svx0EF4xzABcq\n\tA5h+4lQBISnTew==","X-Received":"by 10.55.74.70 with SMTP id x67mr5059476qka.234.1504008581913;\n\tTue, 29 Aug 2017 05:09:41 -0700 (PDT)","To":"Fam Zheng <famz@redhat.com>, qemu-devel@nongnu.org","References":"<20170828174707.20786-1-famz@redhat.com>\n\t<20170828174707.20786-7-famz@redhat.com>","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>","Message-ID":"<518b29b0-654d-f438-7b18-0419987ba442@amsat.org>","Date":"Tue, 29 Aug 2017 09:09:37 -0300","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<20170828174707.20786-7-famz@redhat.com>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Language":"en-US","Content-Transfer-Encoding":"7bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400d:c09::242","Subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, Kamil Rytarowski\n\t<kamil@netbsd.org>, stefanha@redhat.com, Cleber Rosa <crosa@redhat.com>,\n\tpbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?=\n\t<alex.bennee@linaro.org>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1759721,"web_url":"http://patchwork.ozlabs.org/comment/1759721/","msgid":"<9bb228d9-15ac-8721-9345-f2037635d063@amsat.org>","list_archive_url":null,"date":"2017-08-29T21:47:13","subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","submitter":{"id":70924,"url":"http://patchwork.ozlabs.org/api/people/70924/","name":"Philippe Mathieu-Daudé","email":"f4bug@amsat.org"},"content":"Hi Fam,\n\nOn 08/29/2017 09:09 AM, Philippe Mathieu-Daudé wrote:\n[...]>> +if __name__ == \"__main__\":\n>> +    sys.exit(basevm.main(NetBSDVM))\n> \n> This one is failing:\n> \n> DEBUG:root:ssh_cmd: ssh -q -o StrictHostKeyChecking=no -o \n> UserKnownHostsFile=/dev/null -o ConnectTimeout=1 -p 34091 -i \n> /tmp/qemu-vm-59XYOj/id_rsa qemu@127.0.0.1\n>          set -e;\n>          cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);\n>          tar -xf /dev/rld1a;\n>          ./configure --python=python2.7 ;\n>          gmake -j4;\n>          gmake check;\n> \n> ...\n>    CC      bt-host.o\n>    CC      bt-vhci.o\n>    CC      dma-helpers.o\n>    CC      vl.o\n>    CC      tpm.o\n> In file included from vl.c:72:0:\n> /var/tmp/qemu-test.ht0XHU/include/hw/loader.h:4:29: fatal error: \n> hw/nvram/fw_cfg.h: No such file or directory\n>   #include \"hw/nvram/fw_cfg.h\"\n>                               ^\n> compilation terminated.\n> /var/tmp/qemu-test.ht0XHU/rules.mak:66: recipe for target 'vl.o' failed\n> gmake: *** [vl.o] Error 1\n> gmake: *** Waiting for unfinished jobs....\n> tests/vm/Makefile.include:32: recipe for target 'vm-build-netbsd' failed\n> make: *** [vm-build-netbsd] Error 3\n\nProbably false alarm, this seems to be an ENOMEM host error.\n\nI later got:\n\n\tCHK version_gen.h\nMakefile:342: recipe for target 'subdir-dtc' failed\ngmake[1]: *** No rule to make target 'dtc/libfdt/fdt.h', needed by \n'libfdt/fdt.o'.  Stop.\ngmake: *** [subdir-dtc] Error 2\ngmake: *** Waiting for unfinished jobs....\n\nwhich I solved running \"gmake -C dtc\" after ./configure but I'm not sure \nit is necessary or can come from my tree, this testing is veeeeeeery \nslow and mostly kill my laptop, I ended wondering on what kind of \nhardware you developed this series without going crazy nut :S","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"JT/SS1AE\"; dkim-atps=neutral"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhj101MGLz9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 07:47:47 +1000 (AEST)","from localhost ([::1]:47162 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dmoMI-0000cm-0A\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 17:47:42 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:35194)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmoLy-0000ch-D9\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 17:47:23 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmoLv-0000xL-71\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 17:47:22 -0400","from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]:34390)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dmoLv-0000ww-1j\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 17:47:19 -0400","by mail-qt0-x22d.google.com with SMTP id u11so20569125qtu.1\n\tfor <qemu-devel@nongnu.org>; Tue, 29 Aug 2017 14:47:18 -0700 (PDT)","from [192.168.1.10] ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tn125sm2540483qke.66.2017.08.29.14.47.15\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 29 Aug 2017 14:47:17 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:subject:from:to:cc:references:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-language:content-transfer-encoding; \n\tbh=D+ziGxaVZlBk6gTv4z10nF1ZBvMhxlXUlzJpOvic8iU=;\n\tb=JT/SS1AEffU+xcOkrNr0F8Ow5hxdX03FDsXuKvJCYR1UYrDivEYA2mGvRpnL1iBrbp\n\tKuTo7aywidRgrG1Y7Y+e8Qfsiqrycz7cyHPp4LObDpt1/o7rYdl+WC0+cOngb9RjFcfc\n\t+1GojBHGMwarfclwqCbfSybV6cp+yCPuEGw2fjPf6l8tXGI9zv/1H1CponyE5Tl95ZNF\n\tPqxHR8uzmaO0AJZRgUwujHy5bj+WfUABiM3UABmubtDW+LtAzYRZJX+/lR0hAynEXojS\n\t4wFHjgh3j3x/xSJOXM+fRsNHuqSEneDzequFBcLZn0s/e3waWp/TLbOzfqdjDDs0aWOO\n\tn+Tg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:subject:from:to:cc:references:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-language\n\t:content-transfer-encoding;\n\tbh=D+ziGxaVZlBk6gTv4z10nF1ZBvMhxlXUlzJpOvic8iU=;\n\tb=kRHm/kmc+LrIA3oWMKRaAJ1x23ncn7qQxiYLP7hsKt4Z6mp+YyiH5k50lHcdYVC1mo\n\tDGp21XSSL4l9jn6AW+oyTIXe9TAzF5Aqz4B76Di2TesOf47LhctM7k8qQjcHhI/bpY7S\n\t+NQLlKMg7LfllV/t3X73a5Lfk5zEXBII0YyAhRPHLu8RPSp5Gc1ps2Uw31PJrLIYcgP3\n\t0IbuoANAD/Jr+j/aKmDsVnQaIr2/878JaSkaV370FO0F/wDJmjjafCX+in6o7/sETPSE\n\tGFS0Ylup9Rgcwlh70hO9gfGd7ULsvNu+52u2vsnHpAK8FZ+mtX9fCw5dvT0LqRJbYwCv\n\tbqtA==","X-Gm-Message-State":"AHYfb5jtrE83f9QcfAK4wN1Z19aiDcHOEcuoYjryDMokpgaWsdbIqdoP\n\tV1+EcpSwKMAv3g==","X-Received":"by 10.237.36.123 with SMTP id s56mr7637449qtc.24.1504043238441; \n\tTue, 29 Aug 2017 14:47:18 -0700 (PDT)","From":"=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>","To":"Fam Zheng <famz@redhat.com>, qemu-devel@nongnu.org","References":"<20170828174707.20786-1-famz@redhat.com>\n\t<20170828174707.20786-7-famz@redhat.com>\n\t<518b29b0-654d-f438-7b18-0419987ba442@amsat.org>","Message-ID":"<9bb228d9-15ac-8721-9345-f2037635d063@amsat.org>","Date":"Tue, 29 Aug 2017 18:47:13 -0300","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<518b29b0-654d-f438-7b18-0419987ba442@amsat.org>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Language":"en-US","Content-Transfer-Encoding":"8bit","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"2607:f8b0:400d:c0d::22d","Subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, Kamil Rytarowski\n\t<kamil@netbsd.org>, stefanha@redhat.com, Cleber Rosa <crosa@redhat.com>,\n\tpbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?=\n\t<alex.bennee@linaro.org>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1759834,"web_url":"http://patchwork.ozlabs.org/comment/1759834/","msgid":"<20170830033255.GD4208@lemon.lan>","list_archive_url":null,"date":"2017-08-30T03:32:55","subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","submitter":{"id":24872,"url":"http://patchwork.ozlabs.org/api/people/24872/","name":"Fam Zheng","email":"famz@redhat.com"},"content":"On Tue, 08/29 18:47, Philippe Mathieu-Daudé wrote:\n> Hi Fam,\n> \n> On 08/29/2017 09:09 AM, Philippe Mathieu-Daudé wrote:\n> [...]>> +if __name__ == \"__main__\":\n> > > +    sys.exit(basevm.main(NetBSDVM))\n> > \n> > This one is failing:\n> > \n> > DEBUG:root:ssh_cmd: ssh -q -o StrictHostKeyChecking=no -o\n> > UserKnownHostsFile=/dev/null -o ConnectTimeout=1 -p 34091 -i\n> > /tmp/qemu-vm-59XYOj/id_rsa qemu@127.0.0.1\n> >          set -e;\n> >          cd $(mktemp -d /var/tmp/qemu-test.XXXXXX);\n> >          tar -xf /dev/rld1a;\n> >          ./configure --python=python2.7 ;\n> >          gmake -j4;\n> >          gmake check;\n> > \n> > ...\n> >    CC      bt-host.o\n> >    CC      bt-vhci.o\n> >    CC      dma-helpers.o\n> >    CC      vl.o\n> >    CC      tpm.o\n> > In file included from vl.c:72:0:\n> > /var/tmp/qemu-test.ht0XHU/include/hw/loader.h:4:29: fatal error:\n> > hw/nvram/fw_cfg.h: No such file or directory\n> >   #include \"hw/nvram/fw_cfg.h\"\n> >                               ^\n> > compilation terminated.\n> > /var/tmp/qemu-test.ht0XHU/rules.mak:66: recipe for target 'vl.o' failed\n> > gmake: *** [vl.o] Error 1\n> > gmake: *** Waiting for unfinished jobs....\n> > tests/vm/Makefile.include:32: recipe for target 'vm-build-netbsd' failed\n> > make: *** [vm-build-netbsd] Error 3\n> \n> Probably false alarm, this seems to be an ENOMEM host error.\n> \n> I later got:\n> \n> \tCHK version_gen.h\n> Makefile:342: recipe for target 'subdir-dtc' failed\n> gmake[1]: *** No rule to make target 'dtc/libfdt/fdt.h', needed by\n> 'libfdt/fdt.o'.  Stop.\n> gmake: *** [subdir-dtc] Error 2\n> gmake: *** Waiting for unfinished jobs....\n> \n> which I solved running \"gmake -C dtc\" after ./configure but I'm not sure it\n> is necessary or can come from my tree, this testing is veeeeeeery slow and\n> mostly kill my laptop, I ended wondering on what kind of hardware you\n> developed this series without going crazy nut :S\n\nNot too beefy, just a Lenovo W541 laptop with i7-4810. To save you from being\nkilled again, maybe we should reduce the default -smp to nr_cores / 2?\n\nFam","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx04.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx04.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=famz@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhrjC3K2Vz9sP5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 13:34:38 +1000 (AEST)","from localhost ([::1]:47934 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dmtlx-0000Jt-Rn\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 23:34:33 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:38437)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1dmtkW-0008Cr-Ul\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 23:33:05 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <famz@redhat.com>) id 1dmtkT-0001V1-R6\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 23:33:04 -0400","from mx1.redhat.com ([209.132.183.28]:51440)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <famz@redhat.com>) id 1dmtkT-0001UK-H9\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 23:33:01 -0400","from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 378437F7AB;\n\tWed, 30 Aug 2017 03:33:00 +0000 (UTC)","from localhost (ovpn-12-109.pek2.redhat.com [10.72.12.109])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 30D51841C0;\n\tWed, 30 Aug 2017 03:32:56 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 378437F7AB","Date":"Wed, 30 Aug 2017 11:32:55 +0800","From":"Fam Zheng <famz@redhat.com>","To":"Philippe =?iso-8859-1?q?Mathieu-Daud=E9?= <f4bug@amsat.org>","Message-ID":"<20170830033255.GD4208@lemon.lan>","References":"<20170828174707.20786-1-famz@redhat.com>\n\t<20170828174707.20786-7-famz@redhat.com>\n\t<518b29b0-654d-f438-7b18-0419987ba442@amsat.org>\n\t<9bb228d9-15ac-8721-9345-f2037635d063@amsat.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=iso-8859-1","Content-Disposition":"inline","In-Reply-To":"<9bb228d9-15ac-8721-9345-f2037635d063@amsat.org>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.15","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.28]);\n\tWed, 30 Aug 2017 03:33:00 +0000 (UTC)","Content-Transfer-Encoding":"quoted-printable","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH v4 06/10] tests: Add NetBSD image","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org, Kamil\n\tRytarowski <kamil@netbsd.org>, stefanha@redhat.com, Cleber Rosa\n\t<crosa@redhat.com>, pbonzini@redhat.com, Alex =?iso-8859-1?q?Benn=E9e?=\n\t<alex.bennee@linaro.org>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]