Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2427539pxp; Mon, 21 Mar 2022 20:06:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb2vdWg6qudU2WFKeNkP1eSPow4M2RcYVYDMoPZfakdGFBC30v9N/SPuz3IboO8pFLaOVA X-Received: by 2002:a17:902:e881:b0:154:b33:f30c with SMTP id w1-20020a170902e88100b001540b33f30cmr16063302plg.161.1647918412618; Mon, 21 Mar 2022 20:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647918412; cv=none; d=google.com; s=arc-20160816; b=Juhk24ZA+afiR0bqeGXXX0BwKMZEkhBFngQiwSLhD0lvfO324IhdgJoGJ+tChWSyif c2lQuu+yBPfy7Szt/CNQeVYz/9Bw+8Yb+N4jBp5W0oO3esCxHb/jOrfwt8BAxuEcTneV 7axGFG+Llz36COgdM4QN1gsROfmrEnePzpa3qwxhZjpoSTE2X3bQhsXbEBLq+kUGPF4b /Dc7WnVzdOtP3AW2tzdPeAaFRuyCDrXz679+mSd7/p6t9VFRNKYUmt4W5xLM4Zzx9B8y zsFL2/NO2BaVGDzQ82C4YYqbgckXgdarXcUovPGL0dKywrITtXN6atcXpSUrwfA8qPvE p7pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=iWK3feft3dNiZtIemrCAwRu94qxJfEWj6FbRG7WZ2SQ=; b=Rhwz9AKidJ2EJx86It4ZQZxReCI5JxrKhDVwZdyUFRrwDGvffLLwnhRrUG0N8o+wPP viBGaMxxBxkFIKH9q9vQYDONoDM5AXv3qoliKobsKkj2dKV6AV/gbgG91CUpQGp9D8nI Q+Ujn4BK7XFvXsEWLLAycaf52BGE8dBmEbs77m5s0Bx6H29HmYzL6ySbkXlNq8/TRvEk ohU3EUWnQAfIrU813c3A5B4Q312c8x6rtJqHuLD++Jq2KP6oIrdZyoquB6EUjnJIjoCD gJWRXp5wJY6B83SxWBGpFJYV+MsjYRBWEFGCByWE2GGE11z18E3I7eRVasSQwIjLQJ74 yuHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OHV1xId+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x12-20020a170902b40c00b00153bfaf62e2si11853104plr.249.2022.03.21.20.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 20:06:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OHV1xId+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1A6C1DA60; Mon, 21 Mar 2022 19:39:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235601AbiCVClP (ORCPT + 99 others); Mon, 21 Mar 2022 22:41:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235474AbiCVClN (ORCPT ); Mon, 21 Mar 2022 22:41:13 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12A21BEB8 for ; Mon, 21 Mar 2022 19:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647916786; x=1679452786; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=MVRDQpXXQf7bjaR/Df+5U5lgjPu0P+yUN0qIYsAb4ws=; b=OHV1xId+PKpUDxockPGadV+OKPKPvLdUpoefX2JJZGimsmWEyUOWKN3g EeGDJRrPNpqoWMiKUPwfs0ZPCNaaHeTi8HfYMBb75ou7Sl9Q9Dqy3E8j9 f7qESuOtW9u3685txB1xjvKesSYtRowDfnJetyVQTZs7gxMW0n4RbgJ/Q KUg5LNYLNi3sI+M//kvTKThHzQGsp7llLinflSEErrCkRYvz13EKlxnpc GVDHQ5eadyIYixUHws4ZVdMoNRmhx+kZ4wZ+HbEJZQtAE+Qhh8UaBBVJL tBAY16Zj8NSL8HCaiwNnfXAJP3m3f7QNJ1uN+FMHvqQJxeypSgUa5zbDA A==; X-IronPort-AV: E=McAfee;i="6200,9189,10293"; a="320907263" X-IronPort-AV: E=Sophos;i="5.90,200,1643702400"; d="scan'208";a="320907263" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 19:39:46 -0700 X-IronPort-AV: E=Sophos;i="5.90,200,1643702400"; d="scan'208";a="716742214" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.30.60]) ([10.255.30.60]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 19:39:44 -0700 Subject: Re: [tip:sched/core] BUILD SUCCESS 3387ce4d8a5f2956fab827edf499fe6780e83faa To: Nathan Chancellor , kernel test robot Cc: x86-ml , linux-kernel@vger.kernel.org References: <6238fde0.Qe5umewxqwiDe2GE%lkp@intel.com> From: "Chen, Rong A" Message-ID: <24dd031a-8ea7-5f01-4d80-3fb30d212c8a@intel.com> Date: Tue, 22 Mar 2022 10:39:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE 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 3/22/2022 7:17 AM, Nathan Chancellor wrote: > Hello, > > On Tue, Mar 22, 2022 at 06:36:16AM +0800, kernel test robot wrote: >> tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core >> branch HEAD: 3387ce4d8a5f2956fab827edf499fe6780e83faa headers/prep: Fix header to build standalone: >> >> elapsed time: 730m >> >> configs tested: 114 >> configs skipped: 3 >> >> The following configs have been built successfully. >> More configs may be tested in the coming days. >> >> gcc tested configs: > ... >> arm allyesconfig >> arm allmodconfig > > This caught my eye due to my earlier report: > > https://lore.kernel.org/r/YjiddAnoCCz7Tbt3@dev-arch.thelio-3990X/ > > Are you sure these configurations built sucessfully? > > > $ git show -s > commit 3387ce4d8a5f2956fab827edf499fe6780e83faa > Author: Ingo Molnar > Date: Mon Mar 21 11:05:50 2022 +0100 > > headers/prep: Fix header to build standalone: > > Add the dependency to , because > cgroup_move_task() will dereference 'struct css_set'. > > ( Only older toolchains are affected, due to variations in > the implementation of rcu_assign_pointer() et al. ) > > Cc: Peter Zijlstra > Cc: Linus Torvalds > Reported-by: Sachin Sant > Reported-by: Andrew Morton > Reported-by: Borislav Petkov > Signed-off-by: Ingo Molnar > > $ make -skj"$(nproc)" ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- allmodconfig kernel/sched/ > In file included from kernel/sched/fair.c:52: > kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory > 87 | # include > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [scripts/Makefile.build:288: kernel/sched/fair.o] Error 1 > In file included from kernel/sched/build_utility.c:52: > kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory > 87 | # include > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [scripts/Makefile.build:288: kernel/sched/build_utility.o] Error 1 > In file included from kernel/sched/build_policy.c:33: > kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory > 87 | # include > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [scripts/Makefile.build:288: kernel/sched/build_policy.o] Error 1 > In file included from kernel/sched/core.c:81: > kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory > 87 | # include > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > ... > > I am curious to know how this error was not caught by these builds? > Perhaps an old .config from a previous allmodconfig is being reused, > rather than just running "make allmodconfig"? If that is the case, it > seems like that methodology will miss out on new configuration options > over time. > > Cheers, > Nathan > Hi Nathan, Thanks for your reminding, the problem commit is 4ff8f2ca6ccd ("sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies"), the bot has sent two build reports related to it: https://lore.kernel.org/all/202203152116.qphmikIZ-lkp@intel.com/ https://lore.kernel.org/all/202203152144.uFQqgVUf-lkp@intel.com/ and more reports were stopped to avoid too many noise, like below one: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 97add482e9033a9386baa8824fbea34d0cbfe663 commit: 4ff8f2ca6ccd9e0cc5665d09f86d631b3ae3a14c [7191/13392] sched/headers: Reorganize, clean up and optimize kernel/sched/sched.h dependencies :::::: branch date: 17 hours ago :::::: commit date: 3 weeks ago config: arm-randconfig-c002-20220317 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=4ff8f2ca6ccd9e0cc5665d09f86d631b3ae3a14c git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 4ff8f2ca6ccd9e0cc5665d09f86d631b3ae3a14c # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from kernel/sched/core.c:79: >> kernel/sched/sched.h:87:11: fatal error: asm/paravirt_api_clock.h: No such file or directory 87 | # include | ^~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. We'll adjust the strategy avoid blocking some important reports. Best Regards, Rong Chen