Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2225813ioo; Mon, 23 May 2022 13:11:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTSQAZjDd+p5JL5RLMRF+ZwemZMMD3bj9+Y9nKIj9cRrWUn26KZ+WAkGYwb1DbblvMP8C4 X-Received: by 2002:a17:907:7ea1:b0:6f4:82c9:c366 with SMTP id qb33-20020a1709077ea100b006f482c9c366mr22524367ejc.758.1653336687284; Mon, 23 May 2022 13:11:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653336687; cv=none; d=google.com; s=arc-20160816; b=n0OnueWsfbZ6vGoGB3KDtNfUI77Y+NxllC6iPWzebCokPavYuiwSA4X8eLBVtEWULu pOPSjrQiOU0vaCEQMWL+96F10T22mKVsCGegylNWgk5giNWht99/S5e1T+MiRDclD/QT NLhFnDJ5lbYbk062+3Y09D6QzftAmEgfrGhzYuCgrPKg6EyvO6JgWudMAVF42n8mGS0o +InC1UqaVfG8EoV1giDaqZV1DS8re6mji+emzY3W1wGe5FURqEiK0uKVBRocrghqgFvS Bw8FpQTQxIncVQXln0AeKbEAYXsHjBy/qR8VCPg13driP0+FkonNICvKxFISyv27EH5a delA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature:dkim-filter; bh=bYIxjle3eayijpoTpp2cDmwXc3QPG+ma+cLeqznHpqs=; b=Enko4JyOSe6rPvCx3fO11aYgTgTRxbEEh0TKnq/VumrRh39NT/F2VApw3gSoKevO3O qKm7AwTa0BabTfYjH5jlO/Q/XFakVHJNTIHhMSZaiKUHwYmEbD7eWAe3dmBhwz5jOGw1 ZOhz1ViVBs9MoJIxjcj28wgHi9TyaportM6U8FWMTG6XGybpIY6+MM5okTdguWKi4R1D S1XA0Y4lKpxGBR8ewCByT1KBU1yeZl1+H0HtwO68qcjzL68avMgVany8dkzsdKGZzjJR ev+nXbqOJpQVW2mrk2GAeyXv8hSV/+3L453muIn1Ih4yvKI5sIzl/6fsQhD0kExmrgg1 Rftg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b="rh17//oV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a17090699c400b006fe8d7af992si15655805ejn.894.2022.05.23.13.10.59; Mon, 23 May 2022 13:11:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b="rh17//oV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231317AbiEWTjf (ORCPT + 99 others); Mon, 23 May 2022 15:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232163AbiEWTj0 (ORCPT ); Mon, 23 May 2022 15:39:26 -0400 Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 774E333365 for ; Mon, 23 May 2022 12:30:42 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 66D9F3D2F3F; Mon, 23 May 2022 15:30:41 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id zZSMELB1_qKE; Mon, 23 May 2022 15:30:37 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id DD9E13D3052; Mon, 23 May 2022 15:30:37 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com DD9E13D3052 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1653334237; bh=bYIxjle3eayijpoTpp2cDmwXc3QPG+ma+cLeqznHpqs=; h=Date:From:To:Message-ID:MIME-Version; b=rh17//oVkpDiE2emLdmVCtx5v4pW4vAcdXRcoc2rqNO5sTYI8h/e0DqZaATe0QgXM TylPrPSwt7pKgybRGzEmlfr6Mf5/vkWQSdngH5vVbM2qeUCCJTLI7Af1lm/8wGs4Ps evOMX6UE62l9DktzZFlOhOCJvM75qb8JBaRlfcMPnIExa8LeSyPKs+g2WWh+UJTSTR 7oKneQASRg6phouGpBRErpjtQpnRKyA+nE1KE2XLCEJdp1yMf/bznYAC5sg9hACzLF XpY2OS+NdusCBbIYKnpyFCHXUgTpYUz04dTwU4hJ7chFU2Lky2Jb8PosEQFo4GcIg2 e45mBsLutaVyw== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RQyvfg6AOMMU; Mon, 23 May 2022 15:30:37 -0400 (EDT) Received: from mail03.efficios.com (mail03.efficios.com [167.114.26.124]) by mail.efficios.com (Postfix) with ESMTP id D358F3D304A; Mon, 23 May 2022 15:30:37 -0400 (EDT) Date: Mon, 23 May 2022 15:30:37 -0400 (EDT) From: Mathieu Desnoyers To: kernel test robot Cc: Greg Kroah-Hartman , linux-kernel , lkp , 0day robot Message-ID: <1454426300.65656.1653334237745.JavaMail.zimbra@efficios.com> In-Reply-To: <20220523141434.GA17163@xsang-OptiPlex-9020> References: <20220523141434.GA17163@xsang-OptiPlex-9020> Subject: Re: [rseq] 3bb11f3f68: kernel-selftests.rseq.make_fail MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [167.114.26.124] X-Mailer: Zimbra 8.8.15_GA_4257 (ZimbraWebClient - FF100 (Linux)/8.8.15_GA_4257) Thread-Topic: 3bb11f3f68: kernel-selftests.rseq.make_fail Thread-Index: 0Sh53EzkXBVp7zJy4EZOAvI+r5aIEA== X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 May 23, 2022, at 10:14 AM, kernel test robot oliver.sang@intel.com= wrote: > Greeting, >=20 > FYI, we noticed the following commit (built with gcc-11): >=20 > commit: 3bb11f3f6872a692759f653f90d10674deb330a4 ("rseq: Remove broken ua= pi > field layout on 32-bit little endian") > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git > linux-5.15.y >=20 > in testcase: kernel-selftests > version: kernel-selftests-x86_64-8d3977ef-1_20220520 > with following parameters: >=20 >=09group: rseq >=09ucode: 0xec >=20 > test-description: The kernel contains a set of "self tests" under the > tools/testing/selftests/ directory. These are intended to be small unit t= ests > to exercise individual code paths in the kernel. > test-url: https://www.kernel.org/doc/Documentation/kselftest.txt >=20 >=20 > on test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz with 1= 6G > memory >=20 > caused below changes (please refer to attached dmesg/kmsg for entire > log/backtrace): I suspect this is because commit "rseq: Remove broken uapi field layout on = 32-bit little endian" needs to have this prior commit cherry-picked as well: commit 5c105d55a9 ("selftests/rseq: introduce own copy of rseq uapi header"= ) Thanks, Mathieu >=20 >=20 >=20 >=20 > If you fix the issue, kindly add following tag > Reported-by: kernel test robot >=20 > KERNEL SELFTESTS: linux_headers_dir is > /usr/src/linux-headers-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f653= f90d10674deb330a4 > 2022-05-21 14:37:09 ln -sf /usr/bin/clang > 2022-05-21 14:37:09 ln -sf /usr/bin/llc > 2022-05-21 14:37:09 sed -i s/default_timeout=3D45/default_timeout=3D300/ > kselftest/runner.sh > 2022-05-21 14:37:09 make -C rseq > make: Entering directory > '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f6= 53f90d10674deb330a4/tools/testing/selftests/rseq' > gcc -O2 -Wall -g -I./ -I../../../../usr/include/ > -L/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f= 653f90d10674deb330a4/tools/testing/selftests/rseq > -Wl,-rpath=3D./ -shared -fPIC rseq.c -lpthread -o > /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f65= 3f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so > In file included from rseq.c:30: > rseq.h: In function =E2=80=98rseq_clear_rseq_cs=E2=80=99: > rseq.h:143:20: error: request for member =E2=80=98ptr=E2=80=99 in somethi= ng not a structure or > union > 143 | __rseq_abi.rseq_cs.ptr =3D 0; > | ^ > make: *** [Makefile:27: > /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f65= 3f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so] > Error 1 > make: Leaving directory > '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f6= 53f90d10674deb330a4/tools/testing/selftests/rseq' > 2022-05-21 14:37:10 make run_tests -C rseq > make: Entering directory > '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f6= 53f90d10674deb330a4/tools/testing/selftests/rseq' > gcc -O2 -Wall -g -I./ -I../../../../usr/include/ > -L/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f= 653f90d10674deb330a4/tools/testing/selftests/rseq > -Wl,-rpath=3D./ -shared -fPIC rseq.c -lpthread -o > /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f65= 3f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so > In file included from rseq.c:30: > rseq.h: In function =E2=80=98rseq_clear_rseq_cs=E2=80=99: > rseq.h:143:20: error: request for member =E2=80=98ptr=E2=80=99 in somethi= ng not a structure or > union > 143 | __rseq_abi.rseq_cs.ptr =3D 0; > | ^ > make: *** [Makefile:27: > /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f65= 3f90d10674deb330a4/tools/testing/selftests/rseq/librseq.so] > Error 1 > make: Leaving directory > '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-3bb11f3f6872a692759f6= 53f90d10674deb330a4/tools/testing/selftests/rseq' >=20 >=20 >=20 > To reproduce: >=20 > git clone https://github.com/intel/lkp-tests.git > cd lkp-tests > sudo bin/lkp install job.yaml # job file is attached in = this email > bin/lkp split-job --compatible job.yaml # generate the yaml file f= or lkp run > sudo bin/lkp run generated-yaml-file >=20 > # if come across any failure that blocks the test, > # please remove ~/.lkp and /lkp dir to run from a clean state. >=20 >=20 >=20 > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp --=20 Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com