Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1292720lqd; Thu, 25 Apr 2024 10:56:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXC4G436tvA4a2ZBxcxKCwHGDoqWsSRN3zN2MT+s43wn1feX0vftEH9kPpBLPhtTp49B7GwpfB/P0VsIJOQOlYzo9DsQ5IqzFLYFo7Dfw== X-Google-Smtp-Source: AGHT+IEoBTsRP5GMHgvzTD3E3b6i2MKr2mp64NIW8iSORL28PSiEl22M7UGPnqt06jHDtvFRtPO1 X-Received: by 2002:a5d:64a7:0:b0:343:6b09:653c with SMTP id m7-20020a5d64a7000000b003436b09653cmr221583wrp.43.1714067812680; Thu, 25 Apr 2024 10:56:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714067812; cv=pass; d=google.com; s=arc-20160816; b=njkhT6NtdaCNiZ6IBrRzM9Eh8EJol7jXphFN/2S3yaxHw8oWc4CA4EOl0Xcbk9jq0P R06AmD+/5p8PZPzD9LF9YXEkQNOBr/q6oOuM5J+FHiAGbj0tbahyYEpdzHsAjz1IgV87 RNKZUZ7qehVXjtvV07cvgagroi63aHXJ8oBVdLqADUkeWib0EmL9VsI2vivmib4dBZQh /JTq4cEsbS8t99texZqfYk8u4ymgWmjs6BnMabvfiLo7CKvCq2oVsSHXS1J1WYUhVkUE ezbIjB1xECnb6fTp2FeB8rBdPO12g05J7GsfhUjyN9eAj+5UnJUMxvyMP+Z9bzlxPH6p vQoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FuNaO/BaBJXWwUQSgHIK0ycy+Webp8O4medLWUDN2VI=; fh=O011St7d/k/c9nRUSDqWI/psWDbg06MKymoMdqx5CK4=; b=e5g5yMxGIWtUJJ/gkL/4Z2IlqPS9EwCdg74/yJnt1X4GK6ojCwTo5iNGCrTp57zMP+ dU4Z/HLbw/PP67H7xuYgQZ6C+RvK1A3ISqllNVzwDzzoKtITrD6qVlV53zTjTXmBi6qz fVuxoj0DLaFWQe3pg4Y9OPi38NISqtdprUcOhhBKXjvYn+k2Qx2wBJvHX/uGTPGnSVgX GK/UsXPSOBc0kdz1DoCMXy5OwIbbLN2BIk8btFAShnem2gl6cqB+zNkMY6NHnVJVcHSO 9XDXBSN6k48hBLO4eSKaSIZvLNNRrLXZpLNpU7NnnW5mdBsqMyoOh/e+27ZcqIiJLTYP DXRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=SjUUi0IJ; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-158981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158981-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dv18-20020a170906b81200b00a5890baba0bsi2550608ejb.280.2024.04.25.10.56.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 10:56:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=SjUUi0IJ; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-158981-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158981-linux.lists.archive=gmail.com@vger.kernel.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 E41791F25BF2 for ; Thu, 25 Apr 2024 17:50:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3420A14EC58; Thu, 25 Apr 2024 17:50:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="SjUUi0IJ" Received: from smtp-bc0c.mail.infomaniak.ch (smtp-bc0c.mail.infomaniak.ch [45.157.188.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8610714E2FA for ; Thu, 25 Apr 2024 17:49:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714067404; cv=none; b=P5NpAGiPlQbYU0jrlQXPTTixHtFWs9ezDBKNVnYFXeP0fArW1P0w1Kq4840Z1OhndCn2N3A5Q8rZQPln3rsw104xwUISm6ilKzoWAdRoFuRyyAwvYFhRyuJXmGE1WCo8SeftQslbopDIVC/ywM7thp58TvhI4UOg4mpW9y9UQ/o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714067404; c=relaxed/simple; bh=Wcp+Os6j8PSxfC/nvGvMV2CKI+zcJnPAX63EWSKy9zQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sVcnhKhMCNhK/akJfXPrYm4JFYdpZrsc/Zl91JGfSe8zv3Mepd2rnwMh1J4WtZtEgnPyBrkvt6Aho8gSpl8HjlWzb1AB9tZ11UrY6OPD5iIjzTcueHmMhBwnFH4I5KsYpnBfemCtCLw5ppJmT6c24UmRPx6J2R5I5uHn7GQ0ExE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=SjUUi0IJ; arc=none smtp.client-ip=45.157.188.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Received: from smtp-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch [10.7.10.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VQNfW00KyzB2p; Thu, 25 Apr 2024 19:49:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714067394; bh=Wcp+Os6j8PSxfC/nvGvMV2CKI+zcJnPAX63EWSKy9zQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=SjUUi0IJOshpQJ9nZ56s7gT/r7Qb/c12WMGE5uDH6WhD3GXyz/oolIi7D2oxL/05R KBERmBy12eBABcWlzrPlKqCgOrfX/3Z4EudkMwQXRT57q0P9ODnE6NDxbRmnW67Tlf dLNcDx63I2XuiJKdzqBA6S1yAm81UU/zQGl+WHSY= Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VQNfT6fSQzBnF; Thu, 25 Apr 2024 19:49:53 +0200 (CEST) Date: Thu, 25 Apr 2024 19:49:52 +0200 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: kernel test robot , Christian Brauner Cc: oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, "David S. Miller" , =?utf-8?Q?G=C3=BCnther?= Noack , Shuah Khan , Will Drewry , Kees Cook , Jakub Kicinski , linux-kselftest@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [linus:master] [selftests/harness] 0710a1a73f: kernel-selftests.pidfd.pidfd_setns_test.fail Message-ID: <20240425.Oofoi5oghoo6@digikod.net> References: <202403291015.1fcfa957-oliver.sang@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202403291015.1fcfa957-oliver.sang@intel.com> X-Infomaniak-Routing: alpha FYI, I'm working on this issue. Regards, Mickaƫl On Fri, Mar 29, 2024 at 10:42:51AM +0800, kernel test robot wrote: > > > Hello, > > kernel test robot noticed "kernel-selftests.pidfd.pidfd_setns_test.fail" on: > > commit: 0710a1a73fb45033ebb06073e374ab7d44a05f15 ("selftests/harness: Merge TEST_F_FORK() into TEST_F()") > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > [test failed on linus/master 4cece764965020c22cff7665b18a012006359095] > > in testcase: kernel-selftests > version: kernel-selftests-x86_64-4306b286-1_20240301 > with following parameters: > > group: pidfd > > > > compiler: gcc-12 > test machine: 36 threads 1 sockets Intel(R) Core(TM) i9-10980XE CPU @ 3.00GHz (Cascade Lake) with 32G memory > > (please refer to attached dmesg/kmsg for entire log/backtrace) > > > > > 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-lkp/202403291015.1fcfa957-oliver.sang@intel.com > > > > # timeout set to 300 > # selftests: pidfd: pidfd_setns_test > # TAP version 13 > # 1..7 > # # Starting 7 tests from 2 test cases. > # # RUN global.setns_einval ... > # # OK global.setns_einval > # ok 1 global.setns_einval > # # RUN current_nsset.invalid_flags ... > # # pidfd_setns_test.c:161:invalid_flags:Expected self->child_pid_exited (0) > 0 (0) > # # OK current_nsset.invalid_flags > # ok 2 current_nsset.invalid_flags > # # RUN current_nsset.pidfd_exited_child ... > # # pidfd_setns_test.c:161:pidfd_exited_child:Expected self->child_pid_exited (0) > 0 (0) > # # OK current_nsset.pidfd_exited_child > # ok 3 current_nsset.pidfd_exited_child > # # RUN current_nsset.pidfd_incremental_setns ... > # # pidfd_setns_test.c:161:pidfd_incremental_setns:Expected self->child_pid_exited (0) > 0 (0) > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to user namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to mnt namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to pid namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to uts namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to ipc namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to net namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to cgroup namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:408:pidfd_incremental_setns:Managed to correctly setns to pid_for_children namespace of 45423 via pidfd 20 > # # pidfd_setns_test.c:391:pidfd_incremental_setns:Expected setns(self->child_pidfd1, info->flag) (-1) == 0 (0) > # # pidfd_setns_test.c:392:pidfd_incremental_setns:Too many users - Failed to setns to time namespace of 45423 via pidfd 20 > # # pidfd_incremental_setns: Test terminated by timeout > # # FAIL current_nsset.pidfd_incremental_setns > # not ok 4 current_nsset.pidfd_incremental_setns > # # RUN current_nsset.nsfd_incremental_setns ... > # # pidfd_setns_test.c:161:nsfd_incremental_setns:Expected self->child_pid_exited (0) > 0 (0) > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to user namespace of 45524 via nsfd 19 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to mnt namespace of 45524 via nsfd 24 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to pid namespace of 45524 via nsfd 27 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to uts namespace of 45524 via nsfd 30 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to ipc namespace of 45524 via nsfd 33 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to net namespace of 45524 via nsfd 36 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to cgroup namespace of 45524 via nsfd 39 > # # pidfd_setns_test.c:444:nsfd_incremental_setns:Managed to correctly setns to pid_for_children namespace of 45524 via nsfd 42 > # # pidfd_setns_test.c:427:nsfd_incremental_setns:Expected setns(self->child_nsfds1[i], info->flag) (-1) == 0 (0) > # # pidfd_setns_test.c:428:nsfd_incremental_setns:Too many users - Failed to setns to time namespace of 45524 via nsfd 45 > # # nsfd_incremental_setns: Test terminated by timeout > # # FAIL current_nsset.nsfd_incremental_setns > # not ok 5 current_nsset.nsfd_incremental_setns > # # RUN current_nsset.pidfd_one_shot_setns ... > # # pidfd_setns_test.c:161:pidfd_one_shot_setns:Expected self->child_pid_exited (0) > 0 (0) > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding user namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding mnt namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding pid namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding uts namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding ipc namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding net namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding cgroup namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding pid_for_children namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:462:pidfd_one_shot_setns:Adding time namespace of 45630 to list of namespaces to attach to > # # pidfd_setns_test.c:466:pidfd_one_shot_setns:Expected setns(self->child_pidfd1, flags) (-1) == 0 (0) > # # pidfd_setns_test.c:467:pidfd_one_shot_setns:Too many users - Failed to setns to namespaces of 45630 > # # pidfd_one_shot_setns: Test terminated by timeout > # # FAIL current_nsset.pidfd_one_shot_setns > # not ok 6 current_nsset.pidfd_one_shot_setns > # # RUN current_nsset.no_foul_play ... > # # pidfd_setns_test.c:161:no_foul_play:Expected self->child_pid_exited (0) > 0 (0) > # # pidfd_setns_test.c:506:no_foul_play:Adding user namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding mnt namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding pid namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding uts namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding ipc namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding net namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding cgroup namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:506:no_foul_play:Adding time namespace of 45737 to list of namespaces to attach to > # # pidfd_setns_test.c:510:no_foul_play:Expected setns(self->child_pidfd1, flags) (-1) == 0 (0) > # # pidfd_setns_test.c:511:no_foul_play:Too many users - Failed to setns to namespaces of 45737 vid pidfd 20 > # # no_foul_play: Test terminated by timeout > # # FAIL current_nsset.no_foul_play > # not ok 7 current_nsset.no_foul_play > # # FAILED: 3 / 7 tests passed. > # # Totals: pass:3 fail:4 xfail:0 xpass:0 skip:0 error:0 > not ok 7 selftests: pidfd: pidfd_setns_test # exit=1 > make: Leaving directory '/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-0710a1a73fb45033ebb06073e374ab7d44a05f15/tools/testing/selftests/pidfd' > > > > The kernel config and materials to reproduce are available at: > https://download.01.org/0day-ci/archive/20240329/202403291015.1fcfa957-oliver.sang@intel.com > > > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki > >