Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp453945pxk; Wed, 23 Sep 2020 07:26:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9DAAszFEHCQZadKpTGnOq63HaCuy0SF1cFJ8eQhH9xdWtpHZMdM8MIhGmbll9UiaXplrN X-Received: by 2002:a50:da84:: with SMTP id q4mr9789657edj.238.1600871175675; Wed, 23 Sep 2020 07:26:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600871175; cv=none; d=google.com; s=arc-20160816; b=umpZMctDKckO+aq3iNBxNL2gIMf4zqn1JV4mykkJhbdu73gKj7ZCRgIc8pe4J4RoF1 0pyg6tr7fhC4VvYGBe6n046hgkr5X+J1+Ruk4Ib8ulAXhVDgyb1Q7MUXWxOOzLcE/d1o 9ifIBPTB8Nf5GrzxEHGH7OEyFqYjqgHRG7SFr349RBcCW+FqGVYeWabkFaNpsb6bcRif ehqfnF2Ci+g3fV8f2ju8e1ad2hF88c9GtCXxKvIv+MkTuGqzwzVUCfFpK4xsbLfR7+wR j5Dn5JaY1bldYUEo19dfi3wbG6Jdp8F47Tjrg72U8XozrLnnYNY25XBxG2B15zM/21Z2 FoHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=DfASuP4wTyn3pr6VYvm8A1z5RVX46kLf4FcH4npIyzc=; b=KEn4fGPrQPve/GqdmtV+DC64yjeCNzp1hLm5WWLyYrhe3PCvF7FLyCyBmrXBb2KDcv rpwccVYOWO8Ob2IyqA2N0LhZABi5S7dpDhpor6EyBhxFca8aMLtW0KeZ0DSXycZQAfto 21gHTysz7W3PSmy90a+8BKA/rW34rXcdeVfej9QyyRh7RLUaXyqUZ0xxo+kFscVdylVc o/hI+mYgxFSarfr+9ZgM7AmcDrcGVAhH3Q/E6nkCiau7qe4cTTFxnpBb5MmM/B2viAlD /DNwH2QqMXHwfbW2odt9DoIiIPKyq5hRZL/3378ESycV9sB6DcETb4hk9IE103tTBBb2 iMZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D4nNydf+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si4966ejy.223.2020.09.23.07.25.42; Wed, 23 Sep 2020 07:26:15 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=D4nNydf+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbgIWOWS (ORCPT + 99 others); Wed, 23 Sep 2020 10:22:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbgIWOWR (ORCPT ); Wed, 23 Sep 2020 10:22:17 -0400 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA704C0613D1 for ; Wed, 23 Sep 2020 07:22:17 -0700 (PDT) Received: by mail-vs1-xe44.google.com with SMTP id e23so102569vsk.2 for ; Wed, 23 Sep 2020 07:22:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=DfASuP4wTyn3pr6VYvm8A1z5RVX46kLf4FcH4npIyzc=; b=D4nNydf+MHc+IWQZKD3zTZKNm9RDLRVf/ccFBiozGSMayUBpd+Nfk55jyjJJlWdo2s 90YZZJmlz465/26fH4FhpNPrJxICDVSVh2Ff7cg5G09PCizdTa00F5sZBtCRdeFfq4ne OMvuIii0a+wdxKNhTqttw+N0+F6TAv10tlqac7xzm1uiix7bWROjgeT749p3o6BwunjP r8QMKPmx8Plf5kRBoRJwNyyfI0qwKo1zWFMvUBgiXiGN8OYe+h8u6ps2iUeWtcbWffkx 2Ij0YugqNZa8iYouPDA4bHfLObTlLYXI0ThxaM7rNl/5QhtguMDpZKTIXxAURJYKZVY6 MPyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=DfASuP4wTyn3pr6VYvm8A1z5RVX46kLf4FcH4npIyzc=; b=E2IIqnwR8uXegjm91ulTBs4cEWIEp5if2RQ4xwFJ4lb7hgDoLLRzPItPRChGLNyG0H /+BdfG2cagluqc8RxJV/isoDvQ/HL5ca7NrL7oN2aCCGt99KVlwE3LwS+YJrCklBUmek 4/na1mbjEcsLwEimq4oqlYCR++wOF5uGctItAqM2WdRviio6zvEz4CsnrDfa3TqMdABK YGeNchP1Nv+YaIN34GX7JLyI2uVnECtz7GsMN3ofwuaKnve9R0Xg5+p/eY0kaNjW56fK CUDp43jzWAADPmCPHkBCRY+7MWbvGeQS/I2aYiVZQwP7HzXCybQKt2dWk+io9loKu92k lkNA== X-Gm-Message-State: AOAM531nfAPUDQHoSSEj3tVSDJ1bLYZRenzb+esvakvdSRUFbL2IReDu P6eyzOhEqx5cDJez0CFabrl/8whXPAqWP8LZFrqQmQ== X-Received: by 2002:a05:6102:310f:: with SMTP id e15mr92501vsh.39.1600870936625; Wed, 23 Sep 2020 07:22:16 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 23 Sep 2020 19:52:05 +0530 Message-ID: Subject: selftests: pidfd: pidfd_wait hangs on linux next kernel on all devices To: "open list:KERNEL SELFTEST FRAMEWORK" , linux-api@vger.kernel.org, open list Cc: Christian Brauner , Kees Cook , "Peter Zijlstra (Intel)" , Ingo Molnar , Thomas Gleixner , Oleg Nesterov , "Eric W. Biederman" , Sargun Dhillon , Aleksa Sarai , Josh Triplett , Jens Axboe , Christian Brauner , Shuah Khan , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org selftests: pidfd: pidfd_wait hangs on linux next kernel on x86_64, i386 and arm64 Juno-r2 These devices are using NFS mounted rootfs. I have tested pidfd testcases independently and all test PASS. The Hang or exit from test run noticed when run by run_kselftest.sh pidfd_wait.c:208:wait_nonblock:Expected sys_waitid(P_PIDFD, pidfd, &info, WSTOPPED, NULL) (-1) == 0 (0) wait_nonblock: Test terminated by assertion metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: e64997027d5f171148687e58b78c8b3c869a6158 git describe: next-20200922 make_kernelversion: 5.9.0-rc6 kernel-config: http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/intel-core2-32/lkft/linux-next/865/config Reported-by: Naresh Kamboju Test output log: --------------------- [ 1385.104983] audit: type=1701 audit(1600804535.960:87865): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=31268 comm=\"pidfd_wait\" exe=\"/opt/kselftests/default-in-kernel/pidfd/pidfd_wait\" sig=6 res=1 # selftests: pidfd: pidfd_wait # TAP version 13 # 1..3 # # Starting 3 tests from 1 test cases. # # RUN global.wait_simple ... # # OK global.wait_simple # ok 1 global.wait_simple # # RUN global.wait_states ... # # OK global.wait_states # ok 2 global.wait_states # # RUN global.wait_nonblock ... # # pidfd_wait.c:208:wait_nonblock:Expected sys_waitid(P_PIDFD, pidfd, &info, WSTOPPED, NULL) (-1) == 0 (0) # # wait_nonblock: Test terminated by assertion # # FAIL global.wait_nonblock # not ok 3 global.wait_nonblock # # FAILED: 2 / 3 tests passed. # # Totals: pass:2 fail:1 xfail:0 xpass:0 skip:0 error:0 Marking unfinished test run as failed ref: https://lkft.validation.linaro.org/scheduler/job/1782129#L11737 https://lkft.validation.linaro.org/scheduler/job/1782130#L12735 https://lkft.validation.linaro.org/scheduler/job/1782138#L14178 -- Linaro LKFT https://lkft.linaro.org