Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp998281iob; Fri, 13 May 2022 19:06:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDYCB2MVhV1Ocurm+UWTpr+nZd5xufS9lM4drMKpL106hCtlGRgb2FxOeolDjQKUHyrn94 X-Received: by 2002:a1c:f413:0:b0:37b:d1de:5762 with SMTP id z19-20020a1cf413000000b0037bd1de5762mr7006811wma.108.1652493978040; Fri, 13 May 2022 19:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652493978; cv=none; d=google.com; s=arc-20160816; b=eQTvkBmhsMmZBIGskrm/IoxFlWYPDdPXa7qZgsKRUyHD+12g5h7JXtttHeXsSYSJQa ApOMThjH+6tYgd3E0sB6po/nT22co8VTGlvkpTts1E4tMbIT3MupmMMUjblhvmUGFO0B WV6hnZsfPlrVMHA75gdYGh5vB86BvW2eleNe9pE4nX37zn/lRrPDtnFn3rV5X7pTvOXC 597bPSCCQqD6zDBNgaW5/UxhiexuwKpd7whNFz8ITuH4Qvt8SWdbjq3Vt1x+BjKqX3Ez Gwi2IDn5gfEjmmrNBCHHs23uYiWb7bkjNpqXQcgqfOXng+sQYjpI5Puv25+TO/xDAyze Ypqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OAQeIBf4PvlO0it5TTCjNPqNomKKAaQVUSfYda6ECZw=; b=LnEmkb/TJY9MpZ0nzpKEOwUwLgXfQj9joTDSrPkEnht7j2/CoSHAz0fgUsk7W4kLMv D32rsnwjn8oJQLajkhH2SNGCYL5+jxblkmc5NUk50Z6xV3CfQjYnscZBfuUuiS3bmC8d pOXKTp2mUVpePWUCKRSrvYPE+7fwyLRiHRoIPVzgBjXDC7Ux/tpXowRw+N3dH50WB23i nY+Zl7oD46etbE0HCS1RB5MuWZtz0RrBbI0/fzQEsudpgu6jU6OA+BR1Sh6hx41gWZr2 of1zKzbnIoqfNZn7OJpJLyrtfyOqvj1W8gy8XYoaou/3uXTfuYRIi+EX9GmX868h/cVk 0cbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="VC/H6f/7"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x5-20020a5d6505000000b0020cdbc4858bsi3314229wru.636.2022.05.13.19.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 19:06:18 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b="VC/H6f/7"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 97E854891CF; Fri, 13 May 2022 17:26:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383242AbiEMSmG (ORCPT + 99 others); Fri, 13 May 2022 14:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348518AbiEMSmE (ORCPT ); Fri, 13 May 2022 14:42:04 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C459FBE0B for ; Fri, 13 May 2022 11:42:03 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id g6so17916037ejw.1 for ; Fri, 13 May 2022 11:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OAQeIBf4PvlO0it5TTCjNPqNomKKAaQVUSfYda6ECZw=; b=VC/H6f/7g19TaXnE96fTaD/G7yxQezCnJRFTTuVSlm2tUwzE2nEqWXrhMjxQzFpmks eq/SLEbaoFDjS0ArsYXvLXJkPJMBaeCOccMhJdKvsy6UiRJLQWqFo0dxGIntj49n4Xim kQHjjezNuUP0xKkwVaAY72dA9uAA1uwTb1ApvYiiDhgO8lx3QjguokP85uLOekK63gGc 13TnV2fQ27lrj45aGYYwAlFfYoK25BVIRwl6Ndayr8fRK5Vy4UwTtKoiTFXjN4Nc8p35 CsolvBbY2P1QT6l3VafV6M3tnqqgZbNr6vPxz7/46iy6Z4TrOoNwqf/UzvCx3UcAyiM2 sYHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OAQeIBf4PvlO0it5TTCjNPqNomKKAaQVUSfYda6ECZw=; b=Ns67iEZVWBLNDozIX+vYkes1LcXn/9wlLug49e63VgOtFohLn1NtG4JLPeYWuh8vvf Ej9b5jtwZsMbiTceZQZKQ1Nuf8ePmKbhds6lO2HPFQY13FHOqRZ0OW7z7s6HJHS4Kqpz qHac1giilMkGMdExvxSYvnZ8ZjIZ7LIO4Ogf5NvR/BYHJTRa0mHhB3J4Id9dpDsORGvM mmX1W0b5j4u/5JT7kCjAxWpEzaZN3hYAjFu7DvJZkpAdfHmYDCcy2KqHhTrivdfjJh0Y zuodw7TRgKiveo9/XaFOHK4gZ5NExfuy0bFC3R3uaDy35UreH2PR25xR1NopUZY0vVGE mg8A== X-Gm-Message-State: AOAM533iJgHAyLHbT2WffRu6rrt92SgoO7VjoTDGTcIDGTZ7qJKHTcKJ U/od4q/EPkkwpZGMEABI0LqM8JEKkdTfY0pSjmTb4w== X-Received: by 2002:a17:906:7309:b0:6f5:ea1:afa with SMTP id di9-20020a170906730900b006f50ea10afamr5382431ejc.170.1652467322175; Fri, 13 May 2022 11:42:02 -0700 (PDT) MIME-Version: 1.0 References: <20220513085108.3567310-1-davidgow@google.com> In-Reply-To: From: Daniel Latypov Date: Fri, 13 May 2022 11:41:51 -0700 Message-ID: Subject: Re: [PATCH] kunit: tool: Use qemu-system-i386 for i386 runs To: David Gow Cc: Brendan Higgins , Shuah Khan , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 13, 2022 at 10:56 AM Daniel Latypov wrote: > > On Fri, May 13, 2022 at 1:51 AM David Gow wrote: > > > > We're currently using the x86_64 qemu for i386 builds. While this is not > > incorrect, it's probably more sensible to use the i386 one, which will > > at least fail properly if we accidentally were to build a 64-bit kernel. > > > > Signed-off-by: David Gow > > Tested-by: Daniel Latypov > > Works for me: > [10:55:58] Testing complete. Ran 201 tests: passed: 165, skipped: 36 > [10:55:58] Elapsed time: 21.268s total, 0.003s configuring, 4.009s > building, 16.967s running > > Side note: > I ran into an unrelated bug where running on QEMU in general seems to > hang when you try to filter to a test suite that doesn't exist. > I've confirmed it happens on i386 before this patch, and it at least > also happens on x86_64. Ah, this "unrelated bug" is my fault, specifically commit a02353f49162 ("kunit: bail out of test filtering logic quicker if OOM"). The use of _any_ filter glob is broken on kunit.py + QEMU. Fix is https://lore.kernel.org/linux-kselftest/20220513183707.97290-1-dlatypov@google.com/