Received: by 2002:adf:e804:0:0:0:0:0 with SMTP id o4csp2395640wrm; Thu, 10 Oct 2019 06:44:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxArBLwBAs4ENNMBo9jBrYaB1Fzt6NQNRB404H5AanFL5DLk3ff+pVVX+fn62XoTiZPbWjC X-Received: by 2002:a05:620a:127a:: with SMTP id b26mr9641468qkl.61.1570715044380; Thu, 10 Oct 2019 06:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570715044; cv=none; d=google.com; s=arc-20160816; b=EK90CNPU1C+Bp2KAWeWkjHEFp6zboaV6L5un1NcPSywVMiIEXiretq/y76tmp7sGod IqIpzUGDeezW531IcjO0V7wcNIqZv6APaQzGUVXBc3O3Hji+vlb+VcvNSs5xTrDBt2EX UJ9K1DX2crzCy9JHPevX3Ks4j5RiQCCJSr2YnpZyv7ub3mPB0YZ6Z+3tj+qARYPFmkki mNfu22ItROVq2jIKJkXCIMsUdT6TaVuDQVc42ZeAqtA6P4yBw42mqK1HBqNURRdEJ0ZG uBUV2/jomFuhYIhBBI6fWQKDpUT4pnd4uF0YUio8bzaZB2FKuFBbg/DecAIl5YAC0bl4 LknA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=Q2fRCbwTFySOnCK3JiOVij95RQS5p6saSe3jyZO1Srw=; b=R4iYJm0nqVQEGYnhC/5O96CZhwdm7nXMU0NtKaoykbbJRnq5a3La7/uyVeRmmfcvnn jVzFF8eggoaqxieHmPnb/WI5iMs+WlLUX2N02tL7YDPjapayP2RM59uKeYgUsinK1vW7 WBqmNnKIHj8b4O9vceH9qgWiYEmAiBAdY7h4uojGLEMgfD5s+tQsoagXWDEJPHppi1i1 DMs+znXse0Gew+s+owAOcxLCLzGKs4ZOiZ2+EFXcOta4PNnKDrQZS+frlg7G4SBWg775 6xO4WrnKKpLTG1WsLX0q+fK6+q1TGOxrfPZBr6WfhxAwqMzggvS4R8DsKCH15S4aPOsh oIIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r33si5662317qvr.107.2019.10.10.06.44.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Oct 2019 06:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1]:39742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIYjb-0005NJ-TH for alex.bennee@linaro.org; Thu, 10 Oct 2019 09:44:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44436) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIYjG-0005L5-Ga for qemu-arm@nongnu.org; Thu, 10 Oct 2019 09:43:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIYjF-0006bB-3X for qemu-arm@nongnu.org; Thu, 10 Oct 2019 09:43:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iIYjE-0006aZ-Qo for qemu-arm@nongnu.org; Thu, 10 Oct 2019 09:43:41 -0400 Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B426869089 for ; Thu, 10 Oct 2019 13:43:39 +0000 (UTC) Received: by mail-wm1-f72.google.com with SMTP id c188so1793223wmd.9 for ; Thu, 10 Oct 2019 06:43:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q2fRCbwTFySOnCK3JiOVij95RQS5p6saSe3jyZO1Srw=; b=qAfu1tplpkvc8Ajhrn7XTmjSJEAp6k6ZS23Mt6d6FDuoJeccOuK3K+4odHPCygy2L7 Nv/JJJy3+ktzfpsLZP39jClE+qPOfJHh/d5L5zZCWflykEHiMcOxNzsFP/bZ2fTHeDps XKigwRe15fMghz+ToGM9LKLUwX7aVjMqxYjq9j+0g8pi3MD5ZZkjoNKmt50rXmYrcHu9 kiH5XCXQRx+5IKI5P6IT664+aydrnWNTSAYJBv8YgNb9LiMpT26i/38xgeIuY49Nrb2s VytCAo/Qvwi6kVBQ4Zf5wSP4oxfMBWfKmcOERRtwjdf7U9anHoOTe6uDcBK6z7EK1p1l btAQ== X-Gm-Message-State: APjAAAXdr2lR9PYFSVmtBFn1L9ONtQ14KqcbEwir715F6p+GVNdq4uJT MKAbEf7Eh7F7DVDw7JDEAnpUPsrZ6LMiccZnC4PlZYMV8hbQXTFW7j2tIuLeAQbHIKANTKh2VZP cobXUHj/P2id2 X-Received: by 2002:a5d:4302:: with SMTP id h2mr9061138wrq.35.1570715018365; Thu, 10 Oct 2019 06:43:38 -0700 (PDT) X-Received: by 2002:a5d:4302:: with SMTP id h2mr9061100wrq.35.1570715018125; Thu, 10 Oct 2019 06:43:38 -0700 (PDT) Received: from [192.168.1.35] (46.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.46]) by smtp.gmail.com with ESMTPSA id s10sm9456944wmf.48.2019.10.10.06.43.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Oct 2019 06:43:37 -0700 (PDT) Subject: Re: [PATCH 1/5] tests/boot_linux_console: Add initrd test for the Exynos4210 To: Cleber Rosa , Peter Maydell References: <20191005154748.21718-1-f4bug@amsat.org> <20191005154748.21718-2-f4bug@amsat.org> <20191008214907.GA28137@localhost.localdomain> <20191009190743.GA6019@localhost.localdomain> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Thu, 10 Oct 2019 15:43:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20191009190743.GA6019@localhost.localdomain> 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: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Evgeny Voevodin , QEMU Developers , Sven Schnelle , Helge Deller , Markus Armbruster , Krzysztof Kozlowski , =?UTF-8?Q?Herv=c3=a9_Poussineau?= , Maksim Kozlov , Guenter Roeck , Laurent Vivier , Thomas Huth , Eduardo Habkost , Bartlomiej Zolnierkiewicz , qemu-arm , Richard Henderson , =?UTF-8?Q?Fr=c3=a9d=c3=a9ric_Basse?= , Igor Mitsyanko , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Jean-Christophe Dubois , Dmitry Solodkiy , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: NHJ7hDkd16tl On 10/9/19 9:07 PM, Cleber Rosa wrote: > On Wed, Oct 09, 2019 at 02:38:02PM +0100, Peter Maydell wrote: >> On Tue, 8 Oct 2019 at 22:49, Cleber Rosa wrote: >>> On Mon, Oct 07, 2019 at 05:28:49PM +0100, Peter Maydell wrote: >>> >>>> Do our other acceptance tests download random third-party >>>> (ie "not a well-known distro") binaries for the tests ? >>>> It seems a bit hazardous for reproducability and trustability >>>> reasons... [...] >>> I find it hard to judge precisely how much of a third-party some of >>> these are. I remember Philippe mentioning that one of them, I guess >>> the images used on linux_ssh_mips_malta.py, were "as official as it >>> gets" (my words, from my often misleading memory). >>> >>> Reproducibility is definitely an issue, in the sense given that some >>> of these can indeed go away, but as long as they're available the hash >>> recorded in the test should guarantee that we're running the same >>> images. So this thread is a follow up on: https://www.mail-archive.com/qemu-devel@nongnu.org/msg546430.html For Open Source software I can understand we want to be able to rebuild them, and should provide a link about how to rebuild. I don't want to rebuild images myself, I want to focus on testing QEMU. I tried once to build a MIPSsim kernel and it was a total nightmare: https://lists.nongnu.org/archive/html/qemu-devel/2018-04/msg04071.html (Thomas Huth eventually succeeded using buildroot). >>> Do you think we should do something different here? >> >> I'm not sure, which is why I asked whether this new test >> was in line with what we've done previously. Since these >> are just test cases and we don't redistribute them to >> other people there's less of a traceability/reproducibility >> worry, and if we check hashes on download that cuts off >> a lot of "fail to notice if the image changes for some >> reason" possible problems. > > Yep, because I have no clue how to do improve on this (redistributing > the binaries is definitely not on the improvement side, and neither > is not testing some machine types), the current approach seems good. QEMU machines are not restricted to running Linux or other Open Source software. It seems important to be able to test for regressions with closed-source code too, because it usually has been well tested on real hardware. I just posted a firmware test: https://www.mail-archive.com/qemu-devel@nongnu.org/msg651012.html I could find it stored compressed and uuencoded on the Wayback Machine. Since I don't want to abuse from this amazing service, and other script to decode/uncompress it, I stored it on a new repository with its SHA-1 (the default hash used by Avocado): https://github.com/philmd/qemu-testing-blob/tree/master/hppa/hp9000/712 Is this acceptable? Incorrect? Regarding Avocado tests, maybe we can simply add a "untrusted" or "closedsource" tag, so people willing to test untrusted binaries could still run the tests using 'avocado --tag untrusted_software', and we could skip these tests by default. I am very interested because I already experimented with: - AIX on PReP/40p - some RTOS on Canon PowerShot A1100 - VxWorks on MIPS and SPARC - closed-source bootloader for Raspi3/4 Regards, Phil.