Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1464734ybg; Thu, 4 Jun 2020 10:20:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/1N/2evVg60dv3UX48OG7koVlqoA1GBsV4aDnKklxTEYz6Ea+PAnGG7v9cfGbDk9eInB3 X-Received: by 2002:aa7:d785:: with SMTP id s5mr5556656edq.17.1591291227938; Thu, 04 Jun 2020 10:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591291227; cv=none; d=google.com; s=arc-20160816; b=Yid0fFCsOxLFA7mkXs9VMDz8sXI8xoTAlPSjp2l2y9BNNCEsObFIeIrRptgoORt6hh Wbt1Uiqm9bKEvYlw8j/DolSt4ZRH+m4yGeZEmpjKY4iBSew7VxVHYJlAT7THIa2WpYRH GRJLkp47H4sLftRrkqxPGxmqYoFzyAik6mWNTjtyexxnBI2cJ1QkeE+vwe9XUIweB+M9 VVHSbzYyu1kC91si9EhEZKkVYSsR2VAgd+pOhf3EXKpu2OFVFjGdFlDBST7Ts4fcQdwv ZKrNbnbxIVmggvYtQD8phMLZvSkE2OYy+oNj+L7KzCLkOpswbdyv48llP2NqBSN8e0/B Px0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=TGj9a9TUKfy7t4uQkBrlCQFOK2AZWtuEUI6gC8S8EE4=; b=KXUJCxSp52SRDCpDRKKr+d1k5dMJEGyndIA2vI+OnAgYT9WptkJ92t5oGuovA8KlwY LBF2cal6XrWlWMDBJQDrIxbLZ8laBt7hiUpId12I1fJcxseUmBcLkxRIxIuknMIWWcEn 6Op69T6/VWn85EZjgbU754lVNMM8s84oonLOSffCu0w1HXCl7RFybewIUyQjduKJx0GI HJ9nfhZb4GQCxzRhad14cN0zZRKB+bxsJzhcilZvwwl5G84pPNkSjYdI4r48SAMnENdR tAQJynk9tS5s0BYQRLSgTL1g/VE+cRGTfkfEuRZBcLQU8/gqEMZm6X2iH8QiO98DWC4G 2yFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EtRF99ZL; 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 jz6si1867126ejb.401.2020.06.04.10.20.04; Thu, 04 Jun 2020 10:20:27 -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=EtRF99ZL; 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 S1730094AbgFDRRv (ORCPT + 99 others); Thu, 4 Jun 2020 13:17:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729999AbgFDRRu (ORCPT ); Thu, 4 Jun 2020 13:17:50 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53F65C08C5C1 for ; Thu, 4 Jun 2020 10:17:50 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id e125so4097491lfd.1 for ; Thu, 04 Jun 2020 10:17:50 -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=TGj9a9TUKfy7t4uQkBrlCQFOK2AZWtuEUI6gC8S8EE4=; b=EtRF99ZLTpO9+9wIofReF0QI8Pav+aXc4nhoe1/jhwqqEfGKSOxlMZprc0qNvSiap5 PP7fibUw1C4IVLn77mG36xirbdd8o7/87P0P4G2HUXUi4LWrBCPCrHRx+KwKfKpwJQlw PzFOBu05rNbepO+TmuajTTI5gwJppEzRRGuy6mW0pmSKOLvVetQwd56sSlxf0jNXhXZ7 LpSvZEwMU5RABQTfWEWGUfmS06dyYLbE+ZpO2CrNZJU/6BbJs4YG+2bOyd8si5PU7fWa 5PLExYCVAu6LXGxtn277I5fXBuk3HbAJIvv8j7EJEtVVje5qykJU0tRjDRJ8AA5RRTXF te7A== 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=TGj9a9TUKfy7t4uQkBrlCQFOK2AZWtuEUI6gC8S8EE4=; b=AI3pDE0lr7Aj5CfXGFLMOfviL6Y8F+94hrPeuIU5RdMG9Ak+y7KMa74743WvVMCsvP J2V3gdwyPXjKtJOYR0IVYU6fPRLRlOaiSB2M/xHw2FtejwK70iwdeJwakq2MgOOGHoxq nr0m9tGlgT++xtm55n5hb+DT1FlUBeRZWmcer1vRiDUfdvDMGeb3py/41CT6sASkeoGf akkrMl2ZUHHt8EH8BDVSznYfwU+HC/LpX6dMACadNUnPW2XLH3+b671oDUUcNfHMO9gs K/CLVQG/zUFedha1EqykptOGiJQPirf9lNqZ4CU4h6Ve3tLRFRu5gh+y0QUNjVc8+EV2 weRw== X-Gm-Message-State: AOAM533WLfOTwnR+dqpO16Pm5Wwl0JKJmck/SCr3w04mN9oClV6mIKU2 NQOkOPFt5Isd4RMTCbs/jnQcwvzfXW3gQXrV4ZtpMCaPIJJXsw== X-Received: by 2002:a19:8453:: with SMTP id g80mr3085619lfd.167.1591291068584; Thu, 04 Jun 2020 10:17:48 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 4 Jun 2020 22:47:36 +0530 Message-ID: Subject: LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01 To: LTP List , open list , inux-block@vger.kernel.org Cc: chrubis , Arnd Bergmann , maco@android.com, Christoph Hellwig , Jens Axboe , Jan Stancek , Yang Xu , Xiao Yang , Richard Palethorpe , Viresh Kumar , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Following three test cases reported as regression on Linux mainline kernel on x86_64, arm64, arm and i386 ltp-syscalls-tests: * ioctl_loop01 * mknod07 * setns01 git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git branch: master GOOD: git commit: b23c4771ff62de8ca9b5e4a2d64491b2fb6f8f69 git describe: v5.7-1230-gb23c4771ff62 BAD: git commit: 1ee08de1e234d95b5b4f866878b72fceb5372904 git describe: v5.7-3523-g1ee08de1e234 kernel-config: https://builds.tuxbuild.com/U3bU0dMA62OVHb4DvZIVuw/kernel.config We are investigating these failures. tst_test.c:906: CONF: btrfs driver not available tst_test.c:1246: INFO: Timeout per run is 0h 15m 00s tst_device.c:88: INFO: Found free device 1 '/dev/loop1' ioctl_loop01.c:49: PASS: /sys/block/loop1/loop/partscan = 0 [ 1073.639677] loop_set_status: loop1 () has still dirty pages (nrpages=1) ioctl_loop01.c:50: PASS: /sys/block/loop1/loop/autoclear = 0 ioctl_loop01.c:51: PASS: /sys/block/loop1/loop/backing_file = '/scratch/ltp-mnIdulzriQ/9cPtLQ/test.img' ioctl_loop01.c:63: FAIL: expect 12 but got 17 ioctl_loop01.c:67: FAIL: /sys/block/loop1/loop/partscan != 1 got 0 ioctl_loop01.c:68: FAIL: /sys/block/loop1/loop/autoclear != 1 got 0 ioctl_loop01.c:79: FAIL: access /dev/loop1p1 fails [ 1073.679678] loop_set_status: loop1 () has still dirty pages (nrpages=1) ioctl_loop01.c:85: FAIL: access /sys/block/loop1/loop1p1 fails HINT: You _MAY_ be missing kernel fixes, see: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=10c70d95c0f2 mke2fs 1.43.8 (1-Jan-2018) [ 1264.711379] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem [ 1264.716642] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null) mknod07 0 TINFO : Using test device LTP_DEV='/dev/loop0' mknod07 0 TINFO : Formatting /dev/loop0 with ext2 opts='' extra opts='' mknod07 1 TPASS : mknod failed as expected: TEST_ERRNO=EACCES(13): Permission denied mknod07 2 TPASS : mknod failed as expected: TEST_ERRNO=EACCES(13): Permission denied mknod07 3 TFAIL : mknod07.c:155: mknod succeeded unexpectedly mknod07 4 TPASS : mknod failed as expected: TEST_ERRNO=EPERM(1): Operation not permitted mknod07 5 TPASS : mknod failed as expected: TEST_ERRNO=EROFS(30): Read-only file system mknod07 6 TPASS : mknod failed as expected: TEST_ERRNO=ELOOP(40): Too many levels of symbolic links setns01 0 TINFO : ns_name=ipc, ns_fds[0]=6, ns_types[0]=0x8000000 setns01 0 TINFO : ns_name=mnt, ns_fds[1]=7, ns_types[1]=0x20000 setns01 0 TINFO : ns_name=net, ns_fds[2]=8, ns_types[2]=0x40000000 setns01 0 TINFO : ns_name=pid, ns_fds[3]=9, ns_types[3]=0x20000000 setns01 0 TINFO : ns_name=uts, ns_fds[4]=10, ns_types[4]=0x4000000 setns01 0 TINFO : setns(-1, 0x8000000) setns01 1 TPASS : invalid fd exp_errno=9 setns01 0 TINFO : setns(-1, 0x20000) setns01 2 TPASS : invalid fd exp_errno=9 setns01 0 TINFO : setns(-1, 0x40000000) setns01 3 TPASS : invalid fd exp_errno=9 setns01 0 TINFO : setns(-1, 0x20000000) setns01 4 TPASS : invalid fd exp_errno=9 setns01 0 TINFO : setns(-1, 0x4000000) setns01 5 TPASS : invalid fd exp_errno=9 setns01 0 TINFO : setns(11, 0x8000000) setns01 6 TFAIL : setns01.c:176: regular file fd exp_errno=22: errno=EBADF(9): Bad file descriptor setns01 0 TINFO : setns(11, 0x20000) setns01 7 TFAIL : setns01.c:176: regular file fd exp_errno=22: errno=EBADF(9): Bad file descriptor setns01 0 TINFO : setns(11, 0x40000000) setns01 8 TFAIL : setns01.c:176: regular file fd exp_errno=22: errno=EBADF(9): Bad file descriptor setns01 0 TINFO : setns(11, 0x20000000) setns01 9 TFAIL : setns01.c:176: regular file fd exp_errno=22: errno=EBADF(9): Bad file descriptor setns01 0 TINFO : setns(11, 0x4000000) setns01 10 TFAIL : setns01.c:176: regular file fd exp_errno=22: errno=EBADF(9): Bad file descriptor Full test log link, https://lkft.validation.linaro.org/scheduler/job/1467931#L8047 test results comparison shows this test case started failing from June-2-2020 https://qa-reports.linaro.org/lkft/linux-mainline-oe/build/v5.7-4092-g38696e33e2bd/testrun/2779586/suite/ltp-syscalls-tests/test/ioctl_loop01/history/ https://qa-reports.linaro.org/lkft/linux-mainline-oe/build/v5.7-4092-g38696e33e2bd/testrun/2779586/suite/ltp-syscalls-tests/test/setns01/history/ https://qa-reports.linaro.org/lkft/linux-mainline-oe/build/v5.7-4092-g38696e33e2bd/testrun/2779586/suite/ltp-syscalls-tests/test/mknod07/history/ -- Linaro LKFT https://lkft.linaro.org