Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp77234rdb; Wed, 21 Feb 2024 18:05:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU73Cd6s9GPjEGD0QvHdoMqbXcQzyyMZiebvYcKMVXEgkhuRPHRWaVjK3pNV40luHMBMC67iCYpddIBq+OMwC6xHG6YDacOZF5t4SKEBg== X-Google-Smtp-Source: AGHT+IH2EPDM+YRQVO9ZIyW791Nk3IW/63nh0VKpZYcDYa5kVO/smD+yXx8pdXlVsIC1bUWMVpEP X-Received: by 2002:a9d:5a10:0:b0:6e4:4da8:eb8c with SMTP id v16-20020a9d5a10000000b006e44da8eb8cmr10135580oth.9.1708567518147; Wed, 21 Feb 2024 18:05:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708567518; cv=pass; d=google.com; s=arc-20160816; b=TEYVrLDeSOKqwpLdsXA+/WdFzCyiM/OTnfyYiiKklaINHvMAAYz2izvYfb4H2PatDW AkDpMgPLZvdAeFbCZVUM9XcqEevp0sGQ56YeTOt5iOf/fJ6Ncpi3hnuJnxMrons1J4mF Xnr7dQCzG/5lgGpzEKmLCeo6pxixzG6offpg8zufgJ1St/OMu1SlLP3hrhNhuLm8XkCW 8j2clKuv6jSc81Xi9H5WLdfHeu+a1Ht+jS2c7eeQebS31xG0oBRYXsIzPk8YGz4ajhJ/ EU8iZRuL9LDgndeV0hiVKyq1R8pCGs5NuPFeuLtkcbrQ9oAXARpz8k07gaOOBPDbUIUG buDw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Yt2nTJyCo2DcsFR2s8JybA6/3TKUrIMwu//hSiSPmVk=; fh=n5DdpY/stmWKZ5jDNNhnC1MALCEk+Ay/X3DikY+RNlo=; b=Yl3U6P5sGxxMsTQijKyE6ruqogwIJeB425Z3avxlk/GVgNLcmVDbzb9yK5zTDQZUj7 L01eW+MCX4tSfMgWQcQc4tX6afdABzUI9XuqOtvCeoNYDeM0a3IXbvLJdxw5Buixf8lf Zkjno5dQNvWhH5gvMsDuVeydN6ksdBP2Iqjk8U+N+OWROqtna9SapneTuqf2ZUEgW8jY pJYCgnloxqw38ey/CK0CeN6dVe8vIOA1w06sU6NtjxHV9IuihlyqDUZwnyIo2e8WtDza 10t7BapNu0imw9/NEEsNew6JwZdCCwGS/E3ndJWQsu3BwMVAVNedbSz9eHJsiY/RcJPJ QhrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=EFMyLwKr; dkim=pass header.i=@suse.com header.s=susede1 header.b=EFMyLwKr; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-75781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k12-20020a635a4c000000b005dc4b84b38asi8830626pgm.72.2024.02.21.18.05.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 18:05:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=EFMyLwKr; dkim=pass header.i=@suse.com header.s=susede1 header.b=EFMyLwKr; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); spf=pass (google.com: domain of linux-kernel+bounces-75781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C35B72832B6 for ; Thu, 22 Feb 2024 02:05:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A7F61428E; Thu, 22 Feb 2024 02:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="EFMyLwKr"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="EFMyLwKr" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76D27125D7; Thu, 22 Feb 2024 02:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708567511; cv=none; b=NU5RWU0xzKp4jubk0e1uf3mrhD4vSM2W1KpCRlYl7BMxMCMzRWu8HeH8d/viuYeneh/avggBc39HJ6MafzIxPIOxYYouuY7yc7+WW6hkZ6B2VjhWUkNtl5GO2opxCqvYK00EDFMHZdjTw/hnPJAE8g2yI8sBs7R95UH+rcqRw78= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708567511; c=relaxed/simple; bh=3m2O0gxqVD4leeDPk3EpgqVSoMqn/AGGWB8HA13FHP4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IbF0vFT741xxhXxbP+BnFF0xZE0v2QU2wROhLJ4x6iqcLVEGhj7N2G/QaxKlregqsrERv7o2wVafjhMKEnkEW8HBY9X+ao5xfxuaB54sa6Rt011Gz/iGyhj/1JF2Utalks602F+axjQSL5dv79fCJsuUrehgPw7L/Sb17cv9Gpg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=EFMyLwKr; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=EFMyLwKr; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id A99EC21FEF; Thu, 22 Feb 2024 02:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708567499; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yt2nTJyCo2DcsFR2s8JybA6/3TKUrIMwu//hSiSPmVk=; b=EFMyLwKrIv2T/TF+cLB4CGTgD/P/SAUnitjVyiw/hHJqjncyIlIe/EPUxTnreAIAyUk1vx 7h6ebhwTHigc5XL7GqVaOvd2q8Zwr4L6emwPkiSJjvaRrE24kKkRUySbhjsc7yUqRwUP3M hNmxbIUlr1pJ8aCQG1nCwyiQP+EUhvw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708567499; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Yt2nTJyCo2DcsFR2s8JybA6/3TKUrIMwu//hSiSPmVk=; b=EFMyLwKrIv2T/TF+cLB4CGTgD/P/SAUnitjVyiw/hHJqjncyIlIe/EPUxTnreAIAyUk1vx 7h6ebhwTHigc5XL7GqVaOvd2q8Zwr4L6emwPkiSJjvaRrE24kKkRUySbhjsc7yUqRwUP3M hNmxbIUlr1pJ8aCQG1nCwyiQP+EUhvw= Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 35F12134AF; Thu, 22 Feb 2024 02:04:58 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id W7QtOsqr1mXTUAAAn2gu4w (envelope-from ); Thu, 22 Feb 2024 02:04:58 +0000 From: Marcos Paulo de Souza To: Yujie Liu Cc: Shuah Khan , Marcos Paulo de Souza , kernel test robot , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , oe-kbuild-all@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH 1/3] selftests: lib.mk: Do not process TEST_GEN_MODS_DIR Date: Wed, 21 Feb 2024 23:04:55 -0300 Message-ID: <20240222020456.28532-1-mpdesouza@suse.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Level: Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=EFMyLwKr X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-1.51 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[suse.com:+]; MX_GOOD(-0.01)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; BAYES_HAM(-3.00)[100.00%]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[suse.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; RCPT_COUNT_TWELVE(0.00)[13]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[intel.com:email,suse.com:dkim,suse.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_TLS_ALL(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:98:from] X-Spam-Score: -1.51 X-Rspamd-Queue-Id: A99EC21FEF X-Spam-Flag: NO On Thu, 22 Feb 2024 09:28:19 +0800 Yujie Liu wrote: > On Wed, Feb 21, 2024 at 07:04:03PM -0300, Marcos Paulo de Souza wrote: > > On Wed, 21 Feb 2024 14:12:00 -0700 Shuah Khan wrote: > > > > > On 2/21/24 05:26, Marcos Paulo de Souza wrote: > > > > On Tue, 20 Feb 2024 17:19:54 -0700 Shuah Khan wrote: > > > > > > > >> On 2/19/24 06:53, Marcos Paulo de Souza wrote: > > > >>> On Mon, 19 Feb 2024 09:15:15 -0300 Marcos Paulo de Souza wrote: > > > >>> > > > >>>> On Mon, 19 Feb 2024 14:35:16 +0800 kernel test robot wrote: > > > >>>> > > > >>>>> Hi Marcos, > > > >>>>> > > > >>>>> kernel test robot noticed the following build errors: > > > >>>>> > > > >>>>> [auto build test ERROR on 345e8abe4c355bc24bab3f4a5634122e55be8665] > > > >>>>> > > > >>>>> url: https://github.com/intel-lab-lkp/linux/commits/Marcos-Paulo-de-Souza/selftests-lib-mk-Do-not-process-TEST_GEN_MODS_DIR/20240216-021601 > > > >>>>> base: 345e8abe4c355bc24bab3f4a5634122e55be8665 > > > >>>>> patch link: https://lore.kernel.org/r/20240215-lp-selftests-fixes-v1-1-89f4a6f5cddc%40suse.com > > > >>>>> patch subject: [PATCH 1/3] selftests: lib.mk: Do not process TEST_GEN_MODS_DIR > > > >>>>> compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > > > >>>>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240219/202402191417.XULH88Ct-lkp@intel.com/reproduce) > > > >>>>> > > > >>>>> If you fix the issue in a separate patch/commit (i.e. not just a new version of > > > >>>>> the same patch/commit), kindly add following tags > > > >>>>> | Reported-by: kernel test robot > > > >>>>> | Closes: https://lore.kernel.org/oe-kbuild-all/202402191417.XULH88Ct-lkp@intel.com/ > > > >>>>> > > > >>>>> All errors (new ones prefixed by >>): > > > >>>>> > > > >>>>>>> make[3]: *** /lib/modules/5.9.0-2-amd64/build: No such file or directory. Stop. > > > >>>> > > > >>>> We should ask the kernel test robot machine owners to install kernel-devel > > > >>>> package in order to have this fixed. > > > >>> > > > >>> Or maybe ask them to change the reproducer to specify KDIR to the git tree, > > > >>> instead of /lib/modules/? > > > >>> > > > >> > > > >> This would be a regression to automated test rings. Do you have any other > > > >> solutions? > > > > > > > > I would say that we could skip the these tests if kernel-devel package is not > > > > installed. Would it be acceptable? At least we would avoid such issues like this > > > > in the future as well. > > > > > > > > > > We have to check and skip build. Something we could do in the livepatch > > > Makefile. Can you send patch for this - I will oull this in for next > > > so we don't break test rings. > > > > I added a new patch in the same patchset that would cover this, skipping the > > build and test if kernel-devel is not installed. The patchset was sent earlier > > today. Please check if the new patch fixes things on the build robot. > > Hi Shuah, Hi Marcos, > > Sorry for this wrong report. The files are organized in a different way > in the bot and cause this issue. We have fixed the bot to explicitly > set KDIR to the correct path before building the selftests. The patch > [1] can also work well in bot's environment. > > [1] https://lore.kernel.org/all/20240221-lp-selftests-fixes-v2-2-a19be1e029a7@suse.com/ Hi Yujie, thanks for letting us know that the bot had different settings. Either way the patch you mentioned should help to reduce noise in the future on bot's that doesn't have kernel-devel installed. Again, thanks a lot for fixing the issue! Marcos > > Best Regards, > Yujie