lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 25 Jul 2019 19:09:44 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Al Viro <viro@...iv.linux.org.uk>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org,
        ltp@...ts.linux.it
Subject: 56cbb429d9: ltp.fs_fill.fail

FYI, we noticed the following commit (built with gcc-7):

commit: 56cbb429d911991170fe867b4bba14f0efed5829 ("switch the remnants of releasing the mountpoint away from fs_pin")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git master

in testcase: ltp
with following parameters:

	disk: 1HDD
	fs: btrfs
	test: fs-03

test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/


on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


<<<test_start>>>
tag=fs_fill stime=1563953948
cmdline="fs_fill"
contacts=""
analysis=exit
<<<test_output>>>
tst_device.c:231: INFO: Using test device LTP_DEV='/dev/loop0'
tst_supported_fs_types.c:60: INFO: Kernel supports ext2
tst_supported_fs_types.c:44: INFO: mkfs.ext2 does exist
tst_supported_fs_types.c:60: INFO: Kernel supports ext3
tst_supported_fs_types.c:44: INFO: mkfs.ext3 does exist
tst_supported_fs_types.c:60: INFO: Kernel supports ext4
tst_supported_fs_types.c:44: INFO: mkfs.ext4 does exist
tst_supported_fs_types.c:60: INFO: Kernel supports xfs
tst_supported_fs_types.c:44: INFO: mkfs.xfs does exist
tst_supported_fs_types.c:60: INFO: Kernel supports btrfs
tst_supported_fs_types.c:44: INFO: mkfs.btrfs does exist
tst_supported_fs_types.c:60: INFO: Kernel supports vfat
tst_supported_fs_types.c:44: INFO: mkfs.vfat does exist
tst_supported_fs_types.c:92: INFO: FUSE does support exfat
tst_supported_fs_types.c:44: INFO: mkfs.exfat does exist
tst_supported_fs_types.c:92: INFO: FUSE does support ntfs
tst_supported_fs_types.c:44: INFO: mkfs.ntfs does exist
tst_test.c:1161: INFO: Testing on ext2
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
mke2fs 1.43.4 (31-Jan-2017)
tst_test.c:1100: INFO: Timeout per run is 0h 05m 00s
fs_fill.c:103: INFO: Running 4 writer threads
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file3
fs_fill.c:87: PASS: Got 16 ENOSPC runtime 1000ms
tst_test.c:1161: INFO: Testing on ext3
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
mke2fs 1.43.4 (31-Jan-2017)
tst_test.c:1100: INFO: Timeout per run is 0h 05m 00s
fs_fill.c:103: INFO: Running 4 writer threads
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
fs_fill.c:87: PASS: Got 13 ENOSPC runtime 1000ms
tst_test.c:1161: INFO: Testing on ext4
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
mke2fs 1.43.4 (31-Jan-2017)
tst_test.c:1100: INFO: Timeout per run is 0h 05m 00s
fs_fill.c:103: INFO: Running 4 writer threads
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
fs_fill.c:87: PASS: Got 20 ENOSPC runtime 1000ms
tst_test.c:1161: INFO: Testing on xfs
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
tst_test.c:1100: INFO: Timeout per run is 0h 05m 00s
fs_fill.c:103: INFO: Running 4 writer threads
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:36: INFO: open(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:36: INFO: open(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
fs_fill.c:87: PASS: Got 32 ENOSPC runtime 1000ms
tst_test.c:1161: INFO: Testing on btrfs
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
tst_test.c:1100: INFO: Timeout per run is 0h 05m 00s
fs_fill.c:103: INFO: Running 4 writer threads
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file1
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file1
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread3/file2
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread4/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread2/file0
tst_fill_fs.c:49: INFO: write(): ENOSPC
fs_fill.c:53: INFO: Unlinking mntpoint/thread1/file0
fs_fill.c:87: PASS: Got 33 ENOSPC runtime 1000ms
tst_test.c:1161: INFO: Testing on vfat
tst_mkfs.c:90: INFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
mkfs.vfat: unable to open /dev/loop0: Device or resource busy
tst_mkfs.c:101: BROK: mkfs.vfat:1: tst_test.c failed with 741

Summary:
passed   5
failed   0
skipped  0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=8 termination_type=exited termination_id=2 corefile=no


To reproduce:

        # build kernel
	cd linux
	cp config-5.2.0-rc5-00011-g56cbb429d91199 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email



Thanks,
Rong Chen


View attachment "config-5.2.0-rc5-00011-g56cbb429d91199" of type "text/plain" (196406 bytes)

View attachment "job-script" of type "text/plain" (5101 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (20400 bytes)

View attachment "ltp" of type "text/plain" (34878 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ