sync_file_range02 from ubuntu_ltp_syscalls failed with XFS on 4.4

Bug #1853422 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned
linux-aws (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Test failed xfs filesystem:
    tst_test.c:1278: INFO: Testing on xfs
    tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
    tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
    sync_file_range02.c:71: PASS: Sync equals write
    sync_file_range02.c:74: FAIL: Sync inside of write: Synced 25165824, expected 16777216
    sync_file_range02.c:71: PASS: Sync overlaps with write

 startup='Mon Nov 18 08:59:23 2019'
 tst_device.c:238: INFO: Using test device LTP_DEV='/dev/loop0'
 tst_supported_fs_types.c:59: INFO: Kernel supports ext2
 tst_supported_fs_types.c:43: INFO: mkfs.ext2 does exist
 tst_supported_fs_types.c:59: INFO: Kernel supports ext3
 tst_supported_fs_types.c:43: INFO: mkfs.ext3 does exist
 tst_supported_fs_types.c:59: INFO: Kernel supports ext4
 tst_supported_fs_types.c:43: INFO: mkfs.ext4 does exist
 tst_supported_fs_types.c:59: INFO: Kernel supports xfs
 tst_supported_fs_types.c:43: INFO: mkfs.xfs does exist
 tst_supported_fs_types.c:59: INFO: Kernel supports btrfs
 tst_supported_fs_types.c:39: INFO: mkfs.btrfs does not exist
 tst_supported_fs_types.c:59: INFO: Kernel supports vfat
 tst_supported_fs_types.c:43: INFO: mkfs.vfat does exist
 tst_supported_fs_types.c:82: INFO: Filesystem exfat is not supported
 tst_test.c:1278: INFO: Testing on ext2
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext2 opts='' extra opts=''
 mke2fs 1.42.9 (4-Feb-2014)
 tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:71: PASS: Sync inside of write
 sync_file_range02.c:71: PASS: Sync overlaps with write
 tst_test.c:1278: INFO: Testing on ext3
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext3 opts='' extra opts=''
 mke2fs 1.42.9 (4-Feb-2014)
 tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:71: PASS: Sync inside of write
 sync_file_range02.c:71: PASS: Sync overlaps with write
 tst_test.c:1278: INFO: Testing on ext4
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ext4 opts='' extra opts=''
 mke2fs 1.42.9 (4-Feb-2014)
 tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:71: PASS: Sync inside of write
 sync_file_range02.c:71: PASS: Sync overlaps with write
 tst_test.c:1278: INFO: Testing on xfs
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
 tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:74: FAIL: Sync inside of write: Synced 25165824, expected 16777216
 sync_file_range02.c:71: PASS: Sync overlaps with write
 tst_test.c:1278: INFO: Testing on vfat
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
 tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:111: INFO: Pre-filling file
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:71: PASS: Sync inside of write
 sync_file_range02.c:71: PASS: Sync overlaps with write

 Summary:
 passed 14
 failed 1
 skipped 0
 warnings 0
 tag=sync_file_range02 stime=1574067563 dur=4 exit=exited stat=1 core=no cu=0 cs=57

Po-Hsu Lin (cypressyew)
tags: added: amd64 sru-20191111 ubuntu-ltp-syscalls
tags: added: aws
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on X-kvm 4.4.0
Failed on XFS as well.

Po-Hsu Lin (cypressyew)
summary: - sync_file_range02 from ubuntu_ltp_syscalls failed on T-aws 4.4
+ sync_file_range02 from ubuntu_ltp_syscalls failed with XFS on 4.4
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with X/T 4.4
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
 tst_test.c:1229: INFO: Timeout per run is 0h 05m 00s
 sync_file_range02.c:71: PASS: Sync equals write
 sync_file_range02.c:71: PASS: Sync inside of write
 sync_file_range02.c:71: PASS: Sync overlaps with write

Closing this bug.

Changed in ubuntu-kernel-tests:
status: New → Fix Released
Changed in linux-aws (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.