Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp542100rdb; Thu, 2 Nov 2023 10:37:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuARRPGUJi+U0dCNj3B5V8f9HSRozzWAgQ8gfP8/IrKMRA+9vKi6Ufh4JShNRmgvZ3De7i X-Received: by 2002:a17:902:e803:b0:1cc:482c:bc4d with SMTP id u3-20020a170902e80300b001cc482cbc4dmr13090688plg.5.1698946625096; Thu, 02 Nov 2023 10:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698946625; cv=none; d=google.com; s=arc-20160816; b=njB8zoDYoiPfnT52DnPStHg6mnAhAWGRrlcwB0TEkweWkxlbr/Otvz6OyMVnd6wUBm OO3vN6OduDxmU50NNWtrdWY7b+y8H4IHdXz26ir1fzsURft62uLRKS753Hw/yBSN9KYi wDrfiHksAv7Xc928CbUvlcui0ioNqGdBo8sYxYyJJCxFXlG/FwghPKTaYJbBSsi3MNFE jprAUJU2LWxkpyqAbTNgcQdWv53nn/uaWD88qJ9qA8vdrPliEDA6E0crLQ9ansWo2BzN YsJ0WOKgGDcgbIWFooS9JMXROrXf0jOqAXYOsQRTfSm31PYLEAy3GyYyqXLplG7zJ34L IDug== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gSyYRRsszUw93KpxFqElxaHQE8N98U3ADvuqDXM52MI=; fh=PfDAFFqcZBFgsJWXaxHn7sR9EdaZ8cn44mC8P9wXRkQ=; b=z9bXwg+1nt2Z9FM0SS9sL6b/a6CAI8Wpsoy7vhjYtEhtPoUSDi4SyEa29E973A4B74 Bco3Vqh0yYBx+3juRkBmgDA8JVRIqeidxRvnkoxg107+CjtKfX6zqaLTCCIpmyKnlZT2 w9acZpdoq/vzWmb2nWrKh6zWjLE6nvsDVD09UKlB+oP2u08yP4+OU+ODVY1S1EFmzq+r SaZnXqwE4pmrKq1Mk0Degmmr8IDjXep7NBrt7QUmcqbm9sFi/BPI56+ZTMEZV/6YZt0E O0Cb+Nt6UcfARJ1Ky7W/Y9L4ts/WkNJ+CdNva3cnpxEr8uAk2OGtbPleF6VYYEBPzPcJ wPBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nS8RJb4G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id n1-20020a170903404100b001bdd0d0530dsi41025pla.129.2023.11.02.10.37.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 10:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nS8RJb4G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 505DC813542D; Thu, 2 Nov 2023 10:37:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229672AbjKBRgi (ORCPT + 99 others); Thu, 2 Nov 2023 13:36:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjKBRgh (ORCPT ); Thu, 2 Nov 2023 13:36:37 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C8B812E; Thu, 2 Nov 2023 10:36:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7937FC433C7; Thu, 2 Nov 2023 17:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698946591; bh=E1TTEAOAkqbcpJE5z717MbPqX+Y4ObtvXO4GZpIrpbs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nS8RJb4GMZsLnV33wab1tAIurl5vrN/BaXAd984kYUysKdv9QSUmVI6QvhdB/Qd84 T/rMu9CeKSFoCZ41Yi4ed53YPC9RMOAU3wueinCnNiWh3/nLB5Egs4GTEPuLb/hP64 Vh10jMfNcgncDKB2M0aEneEm1eE+xBkhJngpNv2ILjvBRV7qWGpYdxHQNhgIQojn0j BTlSPCB6tL5T2++8TKNUxucf8I7PIbwzWGy1L6flKxQ4O7haW1KoVOMAWJ7lYOeaW6 ubZaiAuvSzi4Aa4M0bgpZCMjrVSQAJinmbj6xdCSzIEwEZVXV61risvTQNWlPxVNO8 zsiiXOAauJMPw== Date: Thu, 2 Nov 2023 17:36:25 +0000 From: Mark Brown To: Naresh Kamboju Cc: Aishwarya TCV , =?iso-8859-1?Q?N=EDcolas_F=2E_R=2E_A=2E?= Prado , kernelci@lists.linux.dev, kernel@collabora.com, Guenter Roeck , Bjorn Andersson , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Rob Herring , Frank Rowand , Shuah Khan Subject: Re: [PATCH v3 3/3] kselftest: Add new test for detecting unprobed Devicetree devices Message-ID: References: <20230828211424.2964562-1-nfraprado@collabora.com> <20230828211424.2964562-4-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PzOuAaApHfvNPDUY" Content-Disposition: inline In-Reply-To: X-Cookie: A is for Apple. X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 10:37:02 -0700 (PDT) --PzOuAaApHfvNPDUY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 02, 2023 at 07:15:58PM +0530, Naresh Kamboju wrote: > On Thu, 2 Nov 2023 at 17:41, Aishwarya TCV wrote: > > https://storage.kernelci.org/mainline/master/v6.6-9152-gdeefd5024f07/arm64/defconfig%2Bkselftest/gcc-10/logs/kselftest.log ... > May be due to, A loop of symlinks that are pointing to self / same files ? Right, it does look like something bad is going on with symlinks: > > '/tmp/kci/linux/tools/testing/selftests/../../../build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/build/source/tools/testing/selftests/powerpc/vphn/vphn.c' > Please build by using tuxmake and validate builds are working. Note that tuxmake does an in tree build of kselftest: make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build INSTALL_PATH=/home/tuxbuild/.cache/tuxmake/builds/1/build/kselftest_install ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- 'CC=sccache aarch64-linux-gnu-gcc' 'HOSTCC=sccache gcc' kselftest-install and does it's own tarball build too, whereas kernelci does an out of tree build and uses kselftest-gen_tar: make KBUILD_BUILD_USER=KernelCI FORMAT=.xz ARCH=arm64 HOSTCC=gcc CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- CC="ccache aarch64-linux-gnu-gcc" O=/tmp/kci/linux/build -C/tmp/kci/linux -j10 kselftest-gen_tar and that the error is in the dt-extract-compatibles program which is part of the kernel (well, imported into the kernel from dtc upstream): File "/tmp/kci/linux/tools/testing/selftests/../../../scripts/dtc/dt-extract-compatibles", line 107, in compat_ignore_list.extend(parse_compatibles_to_ignore(f)) This all suggests that something to do with how the build is set up is resulting in the source symlink that gets created for out of tree builds blowing up, I guess it's not specifically the DT stuff that's blowing it up but rather that it's tripping over an existing bug. Really does look like a legitimate bug though, the source link is set up by the in tree kernel build infrastructure. I did poke a bit at reproducing outside of the KernelCI scripts but didn't manage to yet. --PzOuAaApHfvNPDUY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmVD3hgACgkQJNaLcl1U h9CV1Af/XvDWEqs0dEvo3YSlq7hdCU87XwG4tii0WazqGAe4BTjhDtd9QMjkuiHa jbGSp4XI1Ip54USgUpM5MkQSXo2VAz+gAVSnK8Xv6OGHEbSS7ECve7ZUTBnyE7ld F6o2OIR3omBOfmdI8dXZbfemhcsBOMGzos8C1u/AmffeRtn7l75zyARxo2rsO5Dy 2Ljz9xf1g3U2hQySTGRRYpF4ZmsQcevnh3lFoh1mwV6rr2E6+05khAIbpTvGUDhL o0d8MBGvot0pxqdlciZi3LX1Hd6UPe66pHnpf8HDvi1OgM6QTrngIbuCM2tdrVp5 1QLv1gI2QfDJgR47QoV2AzS24XcHcw== =JKT+ -----END PGP SIGNATURE----- --PzOuAaApHfvNPDUY--