Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4815851rwl; Tue, 28 Mar 2023 11:39:51 -0700 (PDT) X-Google-Smtp-Source: AKy350bLKeyeRC8NPtrMu+B+N3M4toda9bxmsFCEPk+IDrPNvYDv2lILo3Nz6UGJ5+w2eOW4VZAx X-Received: by 2002:a17:906:3f89:b0:877:a9d2:e5e9 with SMTP id b9-20020a1709063f8900b00877a9d2e5e9mr18510352ejj.42.1680028791150; Tue, 28 Mar 2023 11:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680028791; cv=none; d=google.com; s=arc-20160816; b=C5vnbG+Xno1tMERzQHuw9zqYSnCMYr31x9kcqF4rXpckKCOg8AwtQQUgAQU6z1RSKD ZmEQI5fxqlzmm0Mz9pM4FQjlKmuIqiI0f03w3HILuh7o7UFVgWxDc8Y2v0f/96oyct49 GUX5iMOyiTqQsCoOfdz8E0cpT/QvAEj87P7zKTF1Grr1Z00Hzc2N35gTwI90PAkiAQCM 46XzfxMGqgUub1TvzEfdI8qqDZoA/Bst50kiVF5TMDsXM4/BPXmzGUQsPah2kh8A34VS dt7Xm1mGWukFJ9qDbA3MLZY+ihQINfV4wpOwfLWWQeQ5FMW/J+4g54iGdponEJNKYnvI DPmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=yuuegu1cFbRg24plQOb38sIUWOVRgzcrx7ze3bOovCw=; b=IezhOoKTPsyqSt3paaT60PBmro3cuThV10k0zZ/iP2I95Q0PBnzI2TthnuruBZSl1M IvLPnsUCnX7MLWhyVjUmOBUVsygtviyd0WtH7wwEE+0xmXrz41c36EoTKAdn64koORWg UyfGxmF7EoF2LdPBW3AgovWA9kIkKhguNzs8MtmiWPKavCCxTg53uFL4n1WJ28HQ5GJS hh0JovJL1VM6/49s7twgsUvNhc9jaXNeA6w6TKM0d+ZUinPZVPkCENI+BP0TOX5hVUoo UqDe8a7rRpu4o3lGvcEWarKAV5LAsLHlnmLQV1GDzWWau4mkWImwJzw2ZQK8bKPtZ32D Gy3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=EisE82n2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s24-20020a1709064d9800b009314fd54ad1si29212042eju.703.2023.03.28.11.39.26; Tue, 28 Mar 2023 11:39:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=EisE82n2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229795AbjC1Sao (ORCPT + 99 others); Tue, 28 Mar 2023 14:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbjC1San (ORCPT ); Tue, 28 Mar 2023 14:30:43 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4511F19BB for ; Tue, 28 Mar 2023 11:30:38 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id p204so16291968ybc.12 for ; Tue, 28 Mar 2023 11:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680028237; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yuuegu1cFbRg24plQOb38sIUWOVRgzcrx7ze3bOovCw=; b=EisE82n2osFxVjm+P56hUIztGP0SJpbOuCu+bnFrUJjzLGGVpT2AMhxGRhRvEmA+e2 mwHDcinzo8KSut3L9WhHnDG/sBbyKItO3o5cOrsEclcaVTAdmsgDzbiHLetqMON/2c7R qpZOC3CsPKMtgEHwCwx1v1wiK2iAa31b/nQXGNFHbIbIzwDXJkIOYFqK/mwHKVOKMwGS eoPsvPi7xFBVvhTj0e8R8qCfZ78hkH22H8NGb+a9kyQqKqEAASHKv2y/b5mhdDZAjIMc uBbLtidGE9RRevnYtrdZjt5I7c3DLMwMWcWbUg99OolXIxTbL0WtfU/TrRwxVn+2cC6R hvFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680028237; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yuuegu1cFbRg24plQOb38sIUWOVRgzcrx7ze3bOovCw=; b=oFUXm7yGbx4ZkeqxAA5Ul5XWiLtqyYT9iW78uGqv3195HKDFdQ/fCbJ5eSbxknvWYK hM5vszKD1BRrasdfc0Zw/txE2ZAVH7txV84zVfwqZGWp+CRUeri13ExTvYv+SSCRP6qH TMnROkf+WeinBaoVixww//hBUeSesf4wr8UflKnBS9KfEFa3sbnv0CaIAlr7hmNDjRTL 6p6vvcsOZVl6e3uvMZXEbZlX2hK/11I2vR4oVzEGAZ7m0NQgZbX9xPjy4x1OG6wzQIau JYhf8RwZMBmuU6tLQ1gumBqVb7kI3Ru1CObghJVT+C7sb0us1H4RshkkKIt68DVIPJR1 ib1g== X-Gm-Message-State: AAQBX9coTpoVWta9TtPtdumbv47/Vg9uSf1XCp9uCRZNeSku2fHgdQcS S7E1yFBItqNe/DOMRoGeLGEPwxAt0WPZQB/xAsVgvw== X-Received: by 2002:a25:ef0e:0:b0:b6a:5594:5936 with SMTP id g14-20020a25ef0e000000b00b6a55945936mr10356788ybd.5.1680028237374; Tue, 28 Mar 2023 11:30:37 -0700 (PDT) MIME-Version: 1.0 References: <20230327115331.122562-1-hca@linux.ibm.com> In-Reply-To: <20230327115331.122562-1-hca@linux.ibm.com> From: Rae Moar Date: Tue, 28 Mar 2023 14:30:22 -0400 Message-ID: Subject: Re: [PATCH] kunit: increase KUNIT_LOG_SIZE to 2048 bytes To: Heiko Carstens Cc: Brendan Higgins , David Gow , Shuah Khan , Alexander Egorenkov , Vasily Gorbik , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-15.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL autolearn=unavailable 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 Mon, Mar 27, 2023 at 7:53=E2=80=AFAM Heiko Carstens = wrote: > > The s390 specific test_unwind kunit test has 39 parameterized tests. The > results in debugfs are truncated since the full log doesn't fit into 1500 > bytes. > Therefore increase KUNIT_LOG_SIZE to 2048 bytes in a similar way like it > was done recently with commit "kunit: fix bug in debugfs logs of > parameterized tests". With that the whole test result is present. > > Reported-by: Alexander Egorenkov > Signed-off-by: Heiko Carstens > --- This looks good to me. I don't see an issue increasing the log size. Maybe eventually we could create a config option or test attribute for a large log size but for now this seems good. Glad to see people are starting to get use of the parameterized test logs after the debugfs fixes. Thanks! -Rae Reviewed-by: Rae Moar > include/kunit/test.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/kunit/test.h b/include/kunit/test.h > index 9721584027d8..57b309c6ca27 100644 > --- a/include/kunit/test.h > +++ b/include/kunit/test.h > @@ -34,7 +34,7 @@ DECLARE_STATIC_KEY_FALSE(kunit_running); > struct kunit; > > /* Size of log associated with test. */ > -#define KUNIT_LOG_SIZE 1500 > +#define KUNIT_LOG_SIZE 2048 > > /* Maximum size of parameter description string. */ > #define KUNIT_PARAM_DESC_SIZE 128 > -- > 2.37.2 >