Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp120341rbb; Fri, 23 Feb 2024 14:07:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUKV3htfrBD+fZRzvyHFEEV4WDsiF7GZCb0i2g9l6rpFmMiwMpTghJCPJnz0SypAre0aK8TnfGbYIMJUr00BxYx7dqFYxgtUo89PFYMOg== X-Google-Smtp-Source: AGHT+IHGGn7cPfZuuIStiTldx3T9QRv8W711Yn1Y/2IVxeaySWpvoBPf2GJMRLMpyIguYCfeHavb X-Received: by 2002:ac2:4a6d:0:b0:512:eef0:3e60 with SMTP id q13-20020ac24a6d000000b00512eef03e60mr180700lfp.16.1708726052873; Fri, 23 Feb 2024 14:07:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708726052; cv=pass; d=google.com; s=arc-20160816; b=fEcID9dzfdacT2m5ZS1J5HcqLkvKnruNprNhk2V3Ouc8wKr4qKQqYVUcKR2Ra1MnoD 0Js05Ib9ebQP9Qntr4gBHMLh8pQ7l+tb7BGesyl5MAD3N+0FW01ou0ASKpOHeMwEfRq4 EVRyAs56onwkQIu4m1Ekai7sddbPs1HzqQCw7+Qo2G+qVmcbAOOlHSAEXdt5ozd5ND1I kuUManQGzixU6MzZ1ORU7OelFZUlr29ydNAUrAplOnATnbSvCS1hPs/pofkvSrKaC7oe MNStLF5AYk5spPMg3aN+xh4wlDhwXZrZMrOZvRJWcwOuW20J2H7bqJJ5ZEFwVi+b91aU 86og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=mERD5D5sAvS0twAioGZ9rpcPlzA/moYLeMlByp7P/lw=; fh=AxH6yPwWYmX1+BzpUDVyR9vLCBlwvG0u1qUgFukk6a4=; b=ae4wSUFX0pjxPAx/iVDHO8jtQx0F9L316CGNvyeA2szrDeTsi8SkB7ut1bqjtStLgX s1f26Qr0ldGNTwIssV1vlPMl9AxoN1/tH5OQ0M2mzlb6uaJTcWO3Qvci/SRPNHTEtrvX BfNDiF1D4kqUWU9/kPLljTrQKnfVyoBptpAXEtkm2x0uvBqnmVXPTBaWtma0uwJLSJgT LT/djMPc5niRlqR4BrDZNvpigc0dLq8DjklCgq6iZ29fx4417s9R5ceIP3C53HhNU6Rh xENK0nGrf4uq/O3ZdxA/Xd6m0xBkUZ6TzEI7JR87ILJBBMUjcR37x0fy936PIGCoFuiX YwtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=BJ+rMO2X; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-79236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id yj8-20020a170907708800b00a3f6a94b08dsi1997584ejb.684.2024.02.23.14.07.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 14:07:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=BJ+rMO2X; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-79236-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79236-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 711FD1F247E0 for ; Fri, 23 Feb 2024 22:07:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 96DC114CAC1; Fri, 23 Feb 2024 22:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="BJ+rMO2X" Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) (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 DC7EB1493B1 for ; Fri, 23 Feb 2024 22:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708726045; cv=none; b=bTWokoDz1/BByw+oc2q7D2/V5Gx8R2YxNvFT5xWie2mKk/zofCgftrV95lgkBtJ0fsEfjFwNObfw34cKCsd1majiXp5splSDajKhqnwylovtFn0ht9tdv8YNR+YLN4f+BSVKk4e/GA6tm8A3s8T1qEdDvbB1czE797TbjC42yEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708726045; c=relaxed/simple; bh=0J6B8YE1odeNkLXVvb4YcSuTvRMJz2YgyoOVBHbe++c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=McGUFZPhCLdiIAs0p8nE/0CG0JI9BH53uhYi1C5TFqJeR66JZWtInY4tPodSnDLgEXJj/aAqK6TgpNTphsfNSrcuzd4aMtl0neE+N7nRwiPgToJuGcCr5bAOLFDvi2dkLaYuYjm3O0+nMMxhVutnpZsJ/OQ2chpQOUbXwksMrIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BJ+rMO2X; arc=none smtp.client-ip=209.85.166.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-il1-f177.google.com with SMTP id e9e14a558f8ab-363acc3bbd8so725365ab.1 for ; Fri, 23 Feb 2024 14:07:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1708726042; x=1709330842; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mERD5D5sAvS0twAioGZ9rpcPlzA/moYLeMlByp7P/lw=; b=BJ+rMO2XKNA6s26TR4k/hRqH4p1qdS30LUfngCsMVj5rmxSpOTgM8QzaSJbubiucqL 7WkGm8TNo5cwH+0YzOyX/9KH2KHrFpEmdSzgqOYjd1qA2udsmFjcJuVXyzGSiV4xGrBB 3t9QQD5XNyniGumG2No6GiziD2PEst6v8Z6GI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708726042; x=1709330842; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mERD5D5sAvS0twAioGZ9rpcPlzA/moYLeMlByp7P/lw=; b=Fig+QfYN0J/CxFDWGQOK7QSdqSiTvWapPUImnir40sMKHSVF08MsYPBmlYd9Gj+HZH 9O7cdAUElUfENNBsok/b3TeQweLF/8iPerA+dJlm6YwBpRATgJ3ZGBTwZ7ij+gu8NhXu aus/37TxmUHZFujBqKV9UlMPEpA9+qmHojAcz9+if58LATw7O3fRSDV1GRujLoFNc6Iu AqFMuPvzgaBihNFfOEFD4Kro2Awu3eAw6BjoeTE/FPAdFwsSNDn3PTrqEuFA1k4Qafty t7j02uQ9DNMfDTHFHh5ini0rQ0YMajoV6yY4sj6EoqiBER+IgLLUeBW+mnlBs5zf7Xrl 3TKQ== X-Forwarded-Encrypted: i=1; AJvYcCVsAGirfwjWbV2g7O5dU+ulY4z5SgqL4rYHmo5TOLyVUI8AEtrYzKof0d4tIUx2mlZ5dnhieyfCAyRUgCNxD2DyOZwyUkgHd16SwNTZ X-Gm-Message-State: AOJu0Yx1HsYwr+e9lZWA0UaC7FGxtmiEwEWwg4hItjskouHRWTqsoBWv cW8z4I0zKf1QzkjaFjwcufiNt9OevsEHvefULTLhjsbqLXInMSI0MBWHWI4EF1I= X-Received: by 2002:a6b:da17:0:b0:7c7:a02d:f102 with SMTP id x23-20020a6bda17000000b007c7a02df102mr1287016iob.0.1708726042026; Fri, 23 Feb 2024 14:07:22 -0800 (PST) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id j3-20020a05663822c300b00472f79e0001sm3950166jat.171.2024.02.23.14.07.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Feb 2024 14:07:21 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2024 15:07:20 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] selftests: lib.mk: Do not process TEST_GEN_MODS_DIR Content-Language: en-US To: Marcos Paulo de Souza Cc: 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, Shuah Khan References: <20240221220404.11585-1-mpdesouza@suse.com> From: Shuah Khan In-Reply-To: <20240221220404.11585-1-mpdesouza@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/21/24 15:04, 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. > Did you send the patch to me so I can apply it on top of what I have in next? thanks, -- Shuah