Received: by 2002:a05:7412:d384:b0:fc:a2b0:25d7 with SMTP id bq4csp16329rdb; Wed, 21 Feb 2024 14:13:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXZZN1GXb8XwQahI4JbNOsIrilfUYm+bVfzI4H1xAcV/iG9NtvLKYGrGNtJprtsDElWXGGeZbdrO6L77bj+uo6dPQO3jxgxRsNhSpxcrQ== X-Google-Smtp-Source: AGHT+IG/ay/sfC3QZtHXZRNRIpeHbfOODFr+1rrxF+/5HazZiWoA1eEP1j54ikydyAej5/e7iA9+ X-Received: by 2002:a05:6a00:2e1d:b0:6e2:43cd:ed4f with SMTP id fc29-20020a056a002e1d00b006e243cded4fmr16171472pfb.2.1708553599470; Wed, 21 Feb 2024 14:13:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708553599; cv=pass; d=google.com; s=arc-20160816; b=FGovqeoxSp/YMtyAYaLub58RkH+IQWqQpcffAq7GZy9/pHWct+7uM+jl2F2oWgWZdw B/WvW2BB9hWSiA7iB6CWDtuSNCcpeDcOqpDRYru+KUlpSmXwcnwDJ6OVwTI7sHyuf1G2 fjCo0H1HJzEKgDIt3QteYa/TW+GDGDOgPs8q7E0ez8L30LRyzUz1WNXgQQzRLQxXaagX lf/aCtJdkYQuzkU7C+dj5+FwlyktCEafl8SXtav6uJwr46KflOsGUXPf+hNfLzuwTUZo aGTmCG5KfGEPMYamZ//tuKTQLCs+4ucm74Q+nqsZfS6gMTFf9TdBODG13/IuVN1z2AYH 6ezQ== 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=qqibcnmZ+ilefTS5bxj6gFmDa81Sre7doLxhI25auX8=; fh=Y5xlZqe4g86DZdeGiGGm+2Fp8eTyi2qsUZ+XbkIC+E8=; b=niW3BGWzyVgrdVLoSWxb3vg34Aeb4k6knpfwxWmKvod4sv6xTYh0iKQqA6m+lR1zuJ Pz2cawECDdK1e1alrp/v994trF9OMhhxbi28CALsmjonoDmXpAgVF1tJ0c9J9bQ+WldZ jQqL00E5cmICFolt9+7/lqna5c/O0j7o2seqhBT70DT5s8T5bYVCFBVVMIQlIoBw6h87 XCYxr5bHHtuvB3E+hBwnVNHMcZfmYEj/SQXZbRx/HvDA2EuVl8MrnJnUClijOK5fKKOm TTVJVs4y38vt+W0tIB6Gm1ZjByjRTSp2paF1TqGq7rZibCov+ysJ+1/InOt1gBsMj7Wg sJiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=FAUHLE6r; dkim=pass header.i=@suse.com header.s=susede1 header.b=PfJ+v0k+; 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-75585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w2-20020a63b742000000b005dc7e782c25si8832948pgt.473.2024.02.21.14.13.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 14:13:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=FAUHLE6r; dkim=pass header.i=@suse.com header.s=susede1 header.b=PfJ+v0k+; 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-75585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75585-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 12542B248CD for ; Wed, 21 Feb 2024 22:04:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0173F127B68; Wed, 21 Feb 2024 22:04:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="FAUHLE6r"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="PfJ+v0k+" 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 0BEDE3A29E; Wed, 21 Feb 2024 22:04:11 +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=1708553054; cv=none; b=lKtNeHhhlCZhZiKnQf37T1jkAg/ErktjEzn2ojCaEQ14GB3fJUvxPmThyVp98LEbGBjF3SENUCBCY3GyXmXKcOgBpD6MHk1QzL3QF3kesUKmNThNpfuXKgn04gEsTJLJ4B/AtzMF/1VY/WCnOIqSKQiF5o7sYaP82fWH7l31sUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708553054; c=relaxed/simple; bh=DX/hfTQ59mOZk+bqqEkZgspTbXbnTOWP2nnPDbttQME=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=j7FddzjG5laGrsbI59LWi0b35yHsyNwHutB0vofdqIQd8OGvZ+SnvGn/KHEQ6RV5fw/DLDBmyQ7/Di5lrCHbs9wPwNz53HdQyTS8e+fJw2gcyUtFOba9A6FAeiOXl/qUhjQWY3CsoF0+8AkSgF9/nz127qtCeTxbKMBX3/fGOmQ= 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=FAUHLE6r; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=PfJ+v0k+; 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 401602214B; Wed, 21 Feb 2024 22:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708553050; 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=qqibcnmZ+ilefTS5bxj6gFmDa81Sre7doLxhI25auX8=; b=FAUHLE6rHSN4xDFQ1N7/tlM24tVQYiP/eV0MZTYyW7SAV3ASeW4295m/gEsSMzjhjIkQU+ ORhPOECw2P4brazHhKK5eau4KaAqVWEbqOc7GwNiel4gkuxEgQbctnESKt47PkwsbHQlNE Du4dskF2RM1I3jxES/U/UdqXtVgY3xE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1708553048; 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=qqibcnmZ+ilefTS5bxj6gFmDa81Sre7doLxhI25auX8=; b=PfJ+v0k+mZ4juyWl65MY6mKxlq96j9LrJVuRh1pWyCO7U5NGTQtAM24MabRyYgKfFAx/wT iTG2sf0OcXIw/3IZ1KXCKQmZDwmKd1kaJw6GPg2NfKhPyqLAQNBF/sbfjykMOrY/U66ATF XETL/LQfVW5ropjZB9IP2h3i3gFHznM= 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 B885913A25; Wed, 21 Feb 2024 22:04:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap2.dmz-prg2.suse.org with ESMTPSA id mZfSHldz1mU6JwAAn2gu4w (envelope-from ); Wed, 21 Feb 2024 22:04:07 +0000 From: Marcos Paulo de Souza To: Shuah Khan Cc: 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 19:04:03 -0300 Message-ID: <20240221220404.11585-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 Authentication-Results: smtp-out1.suse.de; dkim=pass header.d=suse.com header.s=susede1 header.b=PfJ+v0k+ X-Spamd-Result: default: False [1.69 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; DKIM_TRACE(0.00)[suse.com:+]; MX_GOOD(-0.01)[]; RCPT_COUNT_TWELVE(0.00)[12]; MID_CONTAINS_FROM(1.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[01.org:url,linuxfoundation.org:email,suse.com:dkim,suse.com:email,intel.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:98:from] X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: 1.69 X-Rspamd-Queue-Id: 401602214B X-Spam-Level: * X-Spam-Flag: NO X-Spamd-Bar: + 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. Thanks in advance, Marcos > > thanks, > -- Shuah