Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5235801pxb; Wed, 19 Jan 2022 14:05:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4cA005tYKcz6eyXNdwOHlmkot9zVetQgpcZRRWIkCR5SomYW1JlmGDFcvkqHosScf/lHq X-Received: by 2002:a17:902:b48c:b0:14a:d42b:85bb with SMTP id y12-20020a170902b48c00b0014ad42b85bbmr11009519plr.171.1642629951749; Wed, 19 Jan 2022 14:05:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642629951; cv=none; d=google.com; s=arc-20160816; b=u8M3fZvJ1APQd3WiY0SNl/YYz40/7dccmW0WtChKgu8TFwNdF5hcLjHO3nsbYl2SMs r/Q1c24oWT8dve2LH8m3aPFWfWRUwatv+0fB+IOOqlbZdK51qzL3OFQewVUk3WBJOxL4 W496FQCmA+KOmBjWh/Gbkq93S72Y5FztV0acZUwSwNOG4vJaIA0IhGM/6yGnieTyUeQd xevRO76PpprcqvB7EtzStQRZCC4VdDSMNmEvL/amfUmJgdLKvZn/H7wHSe9AmoMIU20M +FjaaiP8ceIsvYCVNnwyPSaruYJsPYr5QxD6t5ivLhD03QlcZ6+qFRfc2iS5rSJVnDrR kEzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id; bh=BQGrUeX6ePZxlstjnD5U4EDh8RjLwdyG4OU0Ex135SY=; b=BtfFs1CJPA21xOIVOJ3dLGxL7EmxjdpHD0KJorA3tSxgymhZWSVGGjtbb605y5rnzP X98KFYdqvOx64jMHCctYF6Pv51SuKXfWoHsQkVGWPQA3QKOPJ1PcXdC2AXEU3k3lCACM BCwjC+1Sq2iW8NBOJjN7g6lbqvb688+bKlh1wZCjAeuu5prHaOiN111LRth7WPUhY9o/ zoQ9hyeEslS0sC32wQDp3155BRk+Hp4JNkwchVHhWZ1z7aNir4+NNwoYCspzPlcb9s1U qHMoKwUyFdsKKFKT6agfu3p/Kc7bIES7tVG5aLoPhIXzpK0BJ0GzdA79vYcroKtGqWqi pNKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b4si1030972pfl.173.2022.01.19.14.05.39; Wed, 19 Jan 2022 14:05:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343817AbiARIB6 (ORCPT + 99 others); Tue, 18 Jan 2022 03:01:58 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:57031 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244429AbiARIB6 (ORCPT ); Tue, 18 Jan 2022 03:01:58 -0500 Received: from [192.168.0.4] (ip5f5aeaaa.dynamic.kabel-deutschland.de [95.90.234.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 6067461EA1BE6; Tue, 18 Jan 2022 09:01:56 +0100 (CET) Message-ID: Date: Tue, 18 Jan 2022 09:01:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Problems with rcutorture on ppc64le: allmodconfig(2) and other failures Content-Language: en-US From: Paul Menzel To: "Paul E. McKenney" , Josh Triplett Cc: rcu@vger.kernel.org, linux-kselftest@vger.kernel.org, LKML , Zhouyi Zhou References: <36bd91e4-8eda-5677-7fde-40295932a640@molgen.mpg.de> In-Reply-To: <36bd91e4-8eda-5677-7fde-40295932a640@molgen.mpg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Correct references] Am 17.01.22 um 23:00 schrieb Paul Menzel: > Dear Linux folks, > > > On an IBM S822LC SL822 (ppc64le) with Ubuntu 21.04, I tried to torture > the RCU. allmodconfig(2) failed though. > > ``` > $ git describe > v5.16-10660-g0c947b893d69 > $ tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 >  ---  tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 >  --- Results directory:  2022.01.17-18.44.36-torture >  --- allmodconfig: Start Mon Jan 17 06:44:36 PM CET 2022 >  --- rcutorture: Start Mon Jan 17 06:45:02 PM CET 2022 >  --- rcutorture-kasan: Start Mon Jan 17 07:07:41 PM CET 2022 >  --- locktorture: Start Mon Jan 17 07:33:38 PM CET 2022 >  --- locktorture-kasan: Start Mon Jan 17 07:37:05 PM CET 2022 >  --- scftorture: Start Mon Jan 17 07:40:54 PM CET 2022 >  --- scftorture-kasan: Start Mon Jan 17 07:43:31 PM CET 2022 >  --- refscale-rcu: Start Mon Jan 17 07:46:34 PM CET 2022 >  --- refscale-rcu-kasan: Start Mon Jan 17 07:49:08 PM CET 2022 >  --- refscale-srcu: Start Mon Jan 17 07:52:05 PM CET 2022 >  --- refscale-srcu-kasan: Start Mon Jan 17 07:54:39 PM CET 2022 >  --- refscale-rcu-tasks: Start Mon Jan 17 07:57:35 PM CET 2022 >  --- refscale-rcu-tasks-kasan: Start Mon Jan 17 08:00:10 PM CET 2022 >  --- refscale-rcu-trace: Start Mon Jan 17 08:03:06 PM CET 2022 >  --- refscale-rcu-trace-kasan: Start Mon Jan 17 08:05:40 PM CET 2022 >  --- refscale-refcnt: Start Mon Jan 17 08:08:40 PM CET 2022 >  --- refscale-refcnt-kasan: Start Mon Jan 17 08:11:15 PM CET 2022 >  --- refscale-rwlock: Start Mon Jan 17 08:14:14 PM CET 2022 >  --- refscale-rwlock-kasan: Start Mon Jan 17 08:16:48 PM CET 2022 >  --- refscale-rwsem: Start Mon Jan 17 08:19:45 PM CET 2022 >  --- refscale-rwsem-kasan: Start Mon Jan 17 08:22:18 PM CET 2022 >  --- refscale-lock: Start Mon Jan 17 08:25:17 PM CET 2022 >  --- refscale-lock-kasan: Start Mon Jan 17 08:27:53 PM CET 2022 >  --- refscale-lock-irq: Start Mon Jan 17 08:30:58 PM CET 2022 >  --- refscale-lock-irq-kasan: Start Mon Jan 17 08:33:42 PM CET 2022 >  --- refscale-acqrel: Start Mon Jan 17 08:36:58 PM CET 2022 >  --- refscale-acqrel-kasan: Start Mon Jan 17 08:39:33 PM CET 2022 >  --- refscale-clock: Start Mon Jan 17 08:42:33 PM CET 2022 >  --- refscale-clock-kasan: Start Mon Jan 17 08:45:08 PM CET 2022 >  --- rcuscale-rcu: Start Mon Jan 17 08:48:06 PM CET 2022 >  --- rcuscale-rcu-kasan: Start Mon Jan 17 08:49:25 PM CET 2022 >  --- rcuscale-srcu: Start Mon Jan 17 08:50:56 PM CET 2022 >  --- rcuscale-srcu-kasan: Start Mon Jan 17 08:52:14 PM CET 2022 >  --- rcuscale-srcud: Start Mon Jan 17 08:53:43 PM CET 2022 >  --- rcuscale-srcud-kasan: Start Mon Jan 17 08:55:01 PM CET 2022 >  --- rcuscale-tasks: Start Mon Jan 17 08:56:31 PM CET 2022 >  --- rcuscale-tasks-kasan: Start Mon Jan 17 08:57:48 PM CET 2022 >  --- rcuscale-tasks-tracing: Start Mon Jan 17 08:59:17 PM CET 2022 >  --- rcuscale-tasks-tracing-kasan: Start Mon Jan 17 09:00:35 PM CET 2022 >  --- rcuscale-kvfree: Start Mon Jan 17 09:02:05 PM CET 2022 >  --- rcuscale-kvfree-kasan: Start Mon Jan 17 09:03:23 PM CET 2022 >  --- clocksourcewd-1: Start Mon Jan 17 09:04:52 PM CET 2022 >  --- clocksourcewd-1-kasan: Start Mon Jan 17 09:06:11 PM CET 2022 >  --- clocksourcewd-2: Start Mon Jan 17 09:07:42 PM CET 2022 >  --- clocksourcewd-2-kasan: Start Mon Jan 17 09:08:59 PM CET 2022 >  ---  tools/testing/selftests/rcutorture/bin/torture.sh --duration 10 >  ---  Done Mon Jan 17 09:10:29 PM CET 2022 > SUCCESSES: > rcutorture(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcutorture > rcutorture-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcutorture-kasan > locktorture(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-locktorture > locktorture-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-locktorture-kasan > scftorture(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-scftorture > scftorture-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-scftorture-kasan > refscale-rcu(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu > refscale-rcu-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu-kasan > refscale-srcu(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-srcu > refscale-srcu-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-srcu-kasan > refscale-rcu-tasks(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu-tasks > refscale-rcu-tasks-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu-tasks-kasan > refscale-rcu-trace(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu-trace > refscale-rcu-trace-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rcu-trace-kasan > refscale-refcnt(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-refcnt > refscale-refcnt-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-refcnt-kasan > refscale-rwlock(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rwlock > refscale-rwlock-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rwlock-kasan > refscale-rwsem(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rwsem > refscale-rwsem-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-rwsem-kasan > refscale-lock(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-lock > refscale-lock-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-lock-kasan > refscale-lock-irq(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-lock-irq > refscale-lock-irq-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-lock-irq-kasan > refscale-acqrel(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-acqrel > refscale-acqrel-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-acqrel-kasan > refscale-clock(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-clock > refscale-clock-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-refscale-clock-kasan > rcuscale-rcu(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-rcu > rcuscale-rcu-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-rcu-kasan > rcuscale-srcu(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-srcu > rcuscale-srcu-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-srcu-kasan > rcuscale-srcud(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-srcud > rcuscale-srcud-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-srcud-kasan > rcuscale-tasks(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-tasks > rcuscale-tasks-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-tasks-kasan > rcuscale-tasks-tracing(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-tasks-tracing > rcuscale-tasks-tracing-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-tasks-tracing-kasan > rcuscale-kvfree(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-kvfree > rcuscale-kvfree-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcuscale-kvfree-kasan > clocksourcewd-1(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-clocksourcewd-1 > clocksourcewd-1-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-clocksourcewd-1-kasan > clocksourcewd-2(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-clocksourcewd-2 > clocksourcewd-2-kasan(0) /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-clocksourcewd-2-kasan > > FAILURES: > allmodconfig(2) tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/allmodconfig > Started at Mon Jan 17 06:44:36 PM CET 2022, ended at Mon Jan 17 09:10:29 > PM CET 2022, duration 2:25:53. > Summary: Successes: 44 Failures: 1. > Size before compressing 0 files: 86M Mon Jan 17 09:10:29 PM CET 2022 > Waiting for final batch 1 of 22 compressions Mon Jan 17 09:10:29 PM CET 2022 > Size after compressing 0 files: 86M Mon Jan 17 09:10:29 PM CET 2022 > Total duration 2:25:53. > ``` > > Here is an excerpt from `Make.out` [1]: > > ``` >   CC [M]  sound/isa/ad1848/ad1848.o >   CC      security/keys/encrypted-keys/ecryptfs_format.o > In file included from : > ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory >     5 | #include >       |          ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. >   CC [M]  fs/reiserfs/inode.o > In file included from : > ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory >     5 | #include >       |          ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > In file included from : > ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory >     5 | #include >       |          ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [scripts/Makefile.build:288: > security/keys/encrypted-keys/ecryptfs_format.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > In file included from : > ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory >     5 | #include >       |          ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. >   CC [M]  sound/i2c/i2c.o > In file included from : > ././include/linux/kconfig.h:5:10: fatal error: generated/autoconf.h: No such file or directory >     5 | #include >       |          ^~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. >   CC [M]  fs/ext4/block_validity.o > make[3]: *** [scripts/Makefile.build:288: sound/isa/ad1848/ad1848.o] > Error 1 > make[2]: *** [scripts/Makefile.build:550: sound/isa/ad1848] Error 2 > make[1]: *** [scripts/Makefile.build:550: sound/isa] Error 2 > make[1]: *** Waiting for unfinished jobs.... > ``` > > I wonder why other builds seem to have worked. But checking the other > results, despite the output saying the runs were a success the Linux > kernel builds seem to have failed. For example [2]: > > ``` > $ more > tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcutorture/log > > tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 7 > --configs CFLIST --trust-make --bootargs rcupdate.rcu_cpu_stall_suppress_at_boot=1 torture.disable_onoff_at_boot rcupdate.rcu_task_stall_timeout=30000 --datestamp 2022.01.17-18.44.36-torture/results-rcutorture > ----Start batch 1: Mon Jan 17 06:45:03 PM CET 2022 > TREE03 16: Starting build. Mon Jan 17 06:45:03 PM CET 2022 > […] > TREE09 1: Build complete. Mon Jan 17 07:07:40 PM CET 2022 > ---- No kernel runs. Mon Jan 17 07:07:40 PM CET 2022 > ---- TREE03 16: Build/run results: >  --- Mon Jan 17 06:45:03 PM CET 2022: Starting build, PID 3530842 > :CONFIG_HYPERVISOR_GUEST=y: improperly set > :CONFIG_PARAVIRT=y: improperly set > Kernel build error > make[2]: *** No rule to make target > 'arch/powerpc/kvm//dev/shm/linux/tools/testing/selftests/rcutorture/kvm_main.o', needed by 'arch/powerpc/kvm/kvm.o'.  Stop. > make[1]: *** [scripts/Makefile.build:550: arch/powerpc/kvm] Error 2 > make: *** [Makefile:1840: arch/powerpc] Error 2 > Run aborted. > Build failed, not running KVM, see > /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcutorture/TREE03. > > […] > ESC[031mBUG: ESC[mBuild failed > > /dev/shm/linux/tools/testing/selftests/rcutorture/res/2022.01.17-18.44.36-torture/results-rcutorture/TREE09 > >  --- Done at Mon Jan 17 07:07:41 PM CET 2022 (22:39.0) exitcode 0 > ``` > > > Kind regards, > > Paul > > > [1]: https://owww.molgen.mpg.de/~pmenzel/allmodconf-Make.out.txt > [2]: https://owww.molgen.mpg.de/~pmenzel/rcutorture-log.txt I botched those. The correct once are: [1]: https://owww.molgen.mpg.de/~pmenzel/rcutorture/allmodconf-Make.out.txt [2]: https://owww.molgen.mpg.de/~pmenzel/rcutorture/rcutorture-log.txt