Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp559127rwb; Sat, 13 Aug 2022 04:08:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Fy67ltaBfS0sDt4ntOTg8VNifm0SLXD7H/idEApyIC9g/69qZFW+MNW5yKvkiXm8aWmEG X-Received: by 2002:a17:902:e848:b0:170:84c5:ae15 with SMTP id t8-20020a170902e84800b0017084c5ae15mr8108258plg.43.1660388917578; Sat, 13 Aug 2022 04:08:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660388917; cv=none; d=google.com; s=arc-20160816; b=sXHMfvR3zVZTKy4TvaORaNYIJ3n8WOoXUCszauIHRxCXN3qtDF3iqcfIsVFlTwcQaW hkGLQy/BUMkxX/Lx4xVZvCVWGpnfn1CJ6Obud0T+HbMafLXRuiTbjSOW+MYQZcCPy2Ll WUNywTgEQp46+UMUHU38axRAJSa0UKAMhvOAv7pS3Zuqpn70uY+l8Lo0/7hx/osS8J0e BUjpQww2//TPOJ6rR6sCTOxVocADFScnqNtgYfpJZ60aR4bD2zN6wmh2DizJyxKhckcQ 7c2EOaau2Eb7RSw/fih3YPEjAONThg4TjP1tRzSkZ8g0VynLnJoKgrriOFjGzHvOL8T2 DsZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HPuvTq5hFjRHTYbOkDpZrmTC++rMWhoNof888/AkPnc=; b=S17L8uiBGv7LfHxTeOmT2pclpUJhgOG+qdWuu3Iwv73pzytdJrjPat+l05v6euMhUr m5jyITGcVQLxsvcpmqFTeg85j5VqsW/CnRKubURitPEFinDD8pYsUrfCHUUTdgITZZO3 dRHU/Lb+4vBMr8gw60V9xNVkDO0SOuOG6xbOgWRcZmwPr2UveaZMQ6oBFZuvvQswlJQ9 jJzZ4gtZxIBE3u6PF1aTMmI231QzraSLPVo+D1lHyvLwikXkssbKtzaMChO2mScOPJUc a5Cx1NoBP+tA1+4NS6EBzMKidd6isPrWM8BVQ6mSiab4UVYIO1nHJpMG598OPkPribWs gQgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AAkADSOe; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k9-20020a056a00168900b0052b40ddaec6si5272125pfc.203.2022.08.13.04.08.23; Sat, 13 Aug 2022 04:08:37 -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=@gmail.com header.s=20210112 header.b=AAkADSOe; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbiHMKgj (ORCPT + 99 others); Sat, 13 Aug 2022 06:36:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239250AbiHMKgh (ORCPT ); Sat, 13 Aug 2022 06:36:37 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 693EE248E5 for ; Sat, 13 Aug 2022 03:36:32 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id n4so3592675wrp.10 for ; Sat, 13 Aug 2022 03:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc; bh=HPuvTq5hFjRHTYbOkDpZrmTC++rMWhoNof888/AkPnc=; b=AAkADSOegOTUqUha0RqJU/WOWtpIjaLnBBG1CrsD/pTFaDC5BIaxwKdWiZikvRIgYh s7eFvvYg9gMQc//tTE42QQddOXmeHvZ4MS83ppg6epa96YRuh8OGTlQj9DxjZXu/fBD9 lAt9813Qn6Tm+qfP1mf5fJ9GTvDqa1/F0Cap73LnLNSTgD27ynLXw0YdUluth7N/YL76 9Pu53gAg2dKbdHa5mt5t5Cn1Z1XBr60o3e6L3TIV0XDCtLZtZyZC2Fp4+j1aGOs1nJ27 T2Oz20n/JhJzsOvlKoSHajPdJd2qA8QxRU6OXiK4IM1gFI1VZ/XvSuuLGn8GvMujOQ26 G4Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=HPuvTq5hFjRHTYbOkDpZrmTC++rMWhoNof888/AkPnc=; b=xDYizJqtBSSnq3cg5UeQIfaRhtG9cq520r0Hngkj9mhJvRh3K3uFjmvq2nA3wAm7Mi Scg/1E5ECJfx0qCb+HXOLyiVnPTOBu/qN3+8JZCwD0amK43WYpCxITLJ6mF68XLv88vB kI8Ta1Kaefcid9+z1L1ZEjwDiAra4kdR8oZSCEsmliLplbwVAy9gP+j9U4NwC1LGbe2u 0eGD4f7Z95nWpPXp+9tYQypOdBP8cTZ5O6KVT5RkftvdcNMdXG2DVHfCf+f/43cp3V0/ TC7+Q6FpXVGaE9gVSg4YyjxOLKaZ8pEmKVX4DgvM48GT/9MzlQKVgoFreyeD/S5Yyd6E MwEQ== X-Gm-Message-State: ACgBeo0nITKsSbRHM4BtxVdmcKXdXXieQ9Ngjy4o73N5fvNtoagX5um5 a7mYiynHSd/yJfVrXGy4aks= X-Received: by 2002:a05:6000:2c6:b0:222:411:a934 with SMTP id o6-20020a05600002c600b002220411a934mr4067190wry.155.1660386990870; Sat, 13 Aug 2022 03:36:30 -0700 (PDT) Received: from elementary ([94.73.32.249]) by smtp.gmail.com with ESMTPSA id c3-20020adffb43000000b00222d512d96asm1725763wrs.75.2022.08.13.03.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Aug 2022 03:36:30 -0700 (PDT) Date: Sat, 13 Aug 2022 12:36:19 +0200 From: =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= To: Daniel Latypov Cc: David Gow , Javier Martinez Canillas , Thomas Zimmermann , Maxime Ripard , Daniel Vetter , David Airlie , maarten.lankhorst@linux.intel.com, Jani Nikula , =?iso-8859-1?Q?Ma=EDra?= Canal , Isabella Basso , magalilemes00@gmail.com, tales.aparecida@gmail.com, dri-devel@lists.freedesktop.org, KUnit Development , Linux Kernel Mailing List Subject: Re: [PATCH v2 4/4] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb565() Message-ID: <20220813103619.GA12453@elementary> References: <20220709115837.560877-1-jose.exposito89@gmail.com> <20220709115837.560877-5-jose.exposito89@gmail.com> <20220717170054.GA1028249@elementary> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, Aug 10, 2022 at 09:41:18AM -0700, Daniel Latypov wrote: > On Sun, Jul 17, 2022 at 10:01 AM Jos? Exp?sito > wrote: > > > > Jos? Exp?sito wrote: > > > I already fixed the warning and added the reviewed by tags, however, I > > > noticed that rebasing the series on the latest drm-misc-next show this > > > error: > > > [...] > > > > Sorry for the extra email. I forgot to mention that the error is only > > present in UML. Running in other architectures works as expected. > > Tested on x86_64 and PowerPC. > > Can you take a look at the raw output? > > It would be .kunit/test.log (or replace .kunit with w/e --build_dir > you're using). > You could also run the test with --raw_output to have kunit.py print > that out instead. > We might want to compare the output on UML vs x86 and see what looks suspicious. > > These errors > [ERROR] Test: xrgb8888_to_rgb332_test: missing subtest result line! > means that kunit.py can't parse the KTAP output. > > It could be that the output is mangled for some reason. > I recall running into a UML-specific issue with output mangling on an > old kernel fork. I doubt it's related to this one, but it shows that > it's possible there could be something going on. > > -Daniel Hi! Sorry for not clarifying the error in this thread. I fixed it in v3 (already merged). The issue was in my implementation. I was overwriting a few bytes of memory due to an out of bounds bug. Thanks to the crash I mentioned, I detected it before the code got merged. Thanks a lot for the pointers Daniel, the next time I'll check .kunit/test.log for usefull information. Jose