Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1648677ybg; Thu, 4 Jun 2020 15:33:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDIML+XVGrUbMTlXgm0f5KX8zEcojITv4n2JB9NGOoGTHml9o2OZt88acImsQ0ObA+c0wT X-Received: by 2002:a17:906:2e81:: with SMTP id o1mr5530691eji.362.1591309997778; Thu, 04 Jun 2020 15:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591309997; cv=none; d=google.com; s=arc-20160816; b=ioHWRFejLkDZZ6Scxx2YygAgZRGuQUuVVnMJLeAbmT10oEkJg2daMDC0HAmh+pzQiV 3XJbwJbVI/eQ92c99+nELBF8p9f2B8vZa0k/XUZT2i7NokgmijM2k2iXxonju9Ctpdlz huQxP0Rp0DL9nt4HMqfP7bR+D6dAG1epNVYN/Kb7oaK76z+wLWGLvyo32bDaQcyelE/5 SjgQD3gi/afAdnIGe3HVdSb5udBA/Vv3pLjTUCKLafVlbvU2kPLzVwBAQ4zm91/4g/20 PYRecniTy037klkOjJYjKBmWCplDJegI6g0kiA3teBgN5R4Ef0LZCSYnEluXtqJEBNpa SRUQ== 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 :in-reply-to:references:mime-version:dkim-signature; bh=SUlN5bkNLigLKYj+PyfvU+NHmN4RjIO9qQK2YaEiF4k=; b=DEj/lvlnq68PbpMkCRdVNnemcRQiXL0W7pS49szTgXpXYZp075TxhYLye+uy8lDNkn 3RtBVjQtvZ1jDGPUZ1V6MypS1U68bKAH1bR2abM9f4FGoRtaB3OlYS5pdTur9eo55Z6D N1z47dZ6eZq+dcFxhJOu+5SJCR5b2vtPB65m088iMo8w8cUhB0KdBneitBww6JHyUp7+ yYNmJtlLBZb9gfPjSe+AhSm77xNrW1RR4RlA/pNjQXh55YkQRddcOAyzWO6MpNS27xnq wKo23BleQuC+12isdhE+K64RpapJvSkcV9e3jKCsMEniAsY+wTCkmr6nxvEz8fdth9e4 m0Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=U7FDnfUQ; 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=REJECT sp=REJECT dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 36si2580237edp.290.2020.06.04.15.32.54; Thu, 04 Jun 2020 15:33:17 -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=@android.com header.s=20161025 header.b=U7FDnfUQ; 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=REJECT sp=REJECT dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729954AbgFDU2G (ORCPT + 99 others); Thu, 4 Jun 2020 16:28:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726026AbgFDU2F (ORCPT ); Thu, 4 Jun 2020 16:28:05 -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 6DFC0C08C5C1 for ; Thu, 4 Jun 2020 13:28:05 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id x22so4434890lfd.4 for ; Thu, 04 Jun 2020 13:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SUlN5bkNLigLKYj+PyfvU+NHmN4RjIO9qQK2YaEiF4k=; b=U7FDnfUQMkTS2UBdObQPw8kAdBOj63IRY7UqTCrvRK+nv/Y26elgqkrtYDSNpcXa1r tajkwHBErGmtCquTlUkdSsFw5C5h/NSzs/ok3cAaE7gl9YjpABXHEz9mwpWxPMCHDc4F //x7dWIOM7oFvhgTKYaJ64qsDHl36RCln/nICnf3CcJX1G69GJbKnN0MB5vaNnLJ1NGW jgGeYT24ffjPsJ/CAYzMQlal2fvvgXWAepjQhlPRMIeCOt5mZRekQTaYUPwJwG7HUv/6 wTQcOi7l6r0cTNiUo5YjZGvlAt4C/Cm9BL1D7N2PcA0oJnookiVFfX8A6leayFzr4h6q jotQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SUlN5bkNLigLKYj+PyfvU+NHmN4RjIO9qQK2YaEiF4k=; b=HQydVzVvaENeont9bgPgAaAbgHvqD/EbZLXM6V790qT0ORTLBhQsnVhI97hqF7QMf7 hx8UxFblcb8l3DHApZzIZF3/FX2SUJeFok2MylFIv7LlJpDZjMQhiizIfHjo0fRpOTaB xLY1Tpx2qNUp2gk9dZeroQzW1H5c16IRh6WWgKRDr+o98ck8xro+EwWeUt1Ow/PMNRWi w7IJEs+KU2ycbcSVGKWz98IseqLpi4dnV87ej/61VpTOYEnoCLXcrZx4BkngS42/51i+ mf0ApAjxGDWhANsMUQeoGMA1djdNG+54jJ0ykxejKdNUnkMPkdZXY+83gH8bLNRtGYGx ncBQ== X-Gm-Message-State: AOAM5321F/Eb9FU8tcmeoiPMQIvszAmIxtaw07t0EI4h5Oaa7AtWVUx6 6ZUXZ+hoI16Xtwqjk124UlUslqG/rY7NBXqtpuq29A== X-Received: by 2002:a19:356:: with SMTP id 83mr3454672lfd.179.1591302483876; Thu, 04 Jun 2020 13:28:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Martijn Coenen Date: Thu, 4 Jun 2020 22:27:52 +0200 Message-ID: Subject: Re: LTP: syscalls: regression on mainline - ioctl_loop01 mknod07 setns01 To: Naresh Kamboju Cc: LTP List , open list , linux-block , chrubis , Arnd Bergmann , 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 Hi Naresh, I just sent a patch and cc'd you. I verified all the loop tests pass again with that patch. Thanks, Martijn On Thu, Jun 4, 2020 at 9:10 PM Martijn Coenen wrote: > > Hi Naresh, > > I suspect the loop failures are due to > faf1d25440d6ad06d509dada4b6fe62fea844370 ("loop: Clean up > LOOP_SET_STATUS lo_flags handling"), I will investigate and get back > to you. > > Thanks, > Martijn > > On Thu, Jun 4, 2020 at 7:19 PM Naresh Kamboju wrote: > > > > + linux-block@vger.kernel.org > > > > On Thu, 4 Jun 2020 at 22:47, Naresh Kamboju wrote: > > > > > > 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