Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8591576pxu; Sun, 27 Dec 2020 12:03:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVpOHgDv3HMy/xol0EaAfHAkRcJCHoAL56pidgtLHVNcXqgZ6Un5OkyL60EKjGx/4EbEoe X-Received: by 2002:a17:906:2f07:: with SMTP id v7mr33497564eji.343.1609099395472; Sun, 27 Dec 2020 12:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609099395; cv=none; d=google.com; s=arc-20160816; b=VF07RJ6H0Q827CML9ooYSjMp1faZ+d2V30jtvLM0Vx6d1VikMzaMQfJ01NppcO69nx Y582lwGw+79bxB8cvKELgHinOl0xonaUMa9aO7Tn17UDdM0asxFiXtC8AXXcSTTFV1pF mZ0MURb7WveUNcnpOLBRd5z18PPNFR2Kqoq2cc/nXxpes9tec9mtWa6324EQqZBnLFYr K6pQ7z3bBPQBwFACvIxBTgmuRdxURYt6oZLWYhW/12kbWzf/LLGSCUghUfN7B8LvngvT mRdUsENVxwxUepZU1hCLOwMUzcELVCQf2PWeTDj2aKs7O1+Rv92NDqGCp2bcATvf16BP 4O2A== 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=CCyTtxeQ/2wD8VxKgYKuPRRB6ZhCqK8ijOpnQMPS1DI=; b=PDkTkY5etGZTb0UWKh3jRZqoaoexoN0Q80y4TMYnMXdD/ePoY/ObIoksW2TJFj5t00 M1JIuLf8+5N21KIbBpuzWsIH0db7riEqSBbf67gZP0rwau9jWQ0L5BhwC+99/CyeyIhr LJC217Iyvxd6SND9TQU78WjcLrbnNL5Y2GRvuJjEvnDClHzwm6jX2MlXyubH2p4z9KG0 NWKbxcdvaG85uu2eGxCy/uJ/70VHzphpVNNp8TpvJVaWIkipZitAVjslO51J+eefwQZ4 ZuIDQGPyx7mREqw6Ttik6BAqiPTTzoqQOs+FAcUX7KibZ1LqKs0ABNCI5fm7SOYC/iq/ 7rMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cvqQ5l2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si18713578edw.158.2020.12.27.12.02.53; Sun, 27 Dec 2020 12:03:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cvqQ5l2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726390AbgL0UBM (ORCPT + 99 others); Sun, 27 Dec 2020 15:01:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726350AbgL0UBL (ORCPT ); Sun, 27 Dec 2020 15:01:11 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B514C061795 for ; Sun, 27 Dec 2020 12:00:31 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id hk16so5360032pjb.4 for ; Sun, 27 Dec 2020 12:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CCyTtxeQ/2wD8VxKgYKuPRRB6ZhCqK8ijOpnQMPS1DI=; b=cvqQ5l2UZ7Nt2IS50m3j7Q0YL/BSipq714qbez8/6cZoo9FZa/R2sL3+j5LA5md+8q HCX6enAqtGIq3uD4Jhjq5Vsp5gkPRBwKJVpwQgHLPbxp4PZrf0zcYChSNfXqEfmTK7Ho LG6GmKmzMDo7BMZvQfawWf1yLCbk5PTIeNJLfvQIMyc58W2PYsRz70iOG21Fv0iryyAV ZUxpYGE0ydnwyc55l5hyGKKWibqR8psUdELb0feIJGKtR0+dc5Sdhsgofs3nmsLUEwrR p1aBri+jaR/r/IeJmM0Q0D1rdUVgl19E4+DLPF/6E6oaKBhcEqrCyXBDpbRHu7t4Fs6U s4CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CCyTtxeQ/2wD8VxKgYKuPRRB6ZhCqK8ijOpnQMPS1DI=; b=jgSU1blMHz/0arAc+2UnbCUrdFDj2ZLM7NGbg6ggq3xFPC6a90h/eZlDCDvkP5ShGZ vqfQrHBvnsZlFqA0qIJPoegqSiEnQio3NlGf5dc0CGxUq0wLiGfRjoeKnpWcuFEhj2C/ J7czB8/DFCJ6Gc4clJ9fp2wIYEOUP9n0/fXE9j9HLe3TY/cEppIFwcpEIxQ7cFp42IIN Q7KlE+Py6b07PLw13U99Ha8aIefFCkAygSLixU+oARy2pw9HXoa5PuQzOueE6FleESMK NxaLLkw7ylDiGxYGok6WdgIR0eMx4bdxMga1c+8C256OlyyzSYMfdUZctoZrvhb6cIWH cTAw== X-Gm-Message-State: AOAM532yYIX8nhHXgU3NV3g+Y5+Mp3RK8ibzpI+uEKQczdjAxscg3gyT iTl2gZ1TvE/FYuYcxZydimYpaSBcAHwFifzcUoSXkw== X-Received: by 2002:a17:902:fe87:b029:da:5d3b:4a84 with SMTP id x7-20020a170902fe87b02900da5d3b4a84mr42465536plm.51.1609099230919; Sun, 27 Dec 2020 12:00:30 -0800 (PST) MIME-Version: 1.0 References: <20201222073900.3490607-1-davidgow@google.com> In-Reply-To: <20201222073900.3490607-1-davidgow@google.com> From: Brendan Higgins Date: Sun, 27 Dec 2020 12:00:19 -0800 Message-ID: Subject: Re: [PATCH] kunit: tool: Force the use of the 'tty' console for UML To: David Gow Cc: Petr Mladek , Shuah Khan , "open list:KERNEL SELFTEST FRAMEWORK" , KUnit Development , Linux Kernel Mailing List , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 21, 2020 at 11:39 PM David Gow wrote: > > kunit_tool relies on the UML console outputting printk() output to the > tty in order to get results. Since the default console driver could > change, pass 'console=tty' to the kernel. > > This is triggered by a change[1] to use ttynull as a fallback console > driver which -- by chance or by design -- seems to have changed the > default console output on UML, breaking kunit_tool. While this may be > fixed, we should be less fragile to such changes in the default. > > [1]: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=757055ae8dedf5333af17b3b5b4b70ba9bc9da4e > > Signed-off-by: David Gow > Fixes: 757055ae8ded ("init/console: Use ttynull as a fallback when there is no console") Acked-by: Brendan Higgins Thanks for taking care of this!