sync_file_range02 from ubuntu_ltp_syscalls failed with all filesystems on B-hwe-edge 5.3 i386

Bug #1851655 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 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

sync_file_range02 from ubuntu_ltp_syscalls failed on i386 node pepe with B-hwe-edge 5.3 kernel

Test failed with the following error on all available filesystems:
  sync_file_range02.c:74: FAIL: Sync inside of write: Synced 25317376, expected 16777216

 startup='Thu Nov 7 09:15:20 2019'
 sync_file_range01 1 TPASS : got expected error: TEST_ERRNO=EBADF(9): Bad file descriptor
 sync_file_range01 2 TPASS : got expected error: TEST_ERRNO=ESPIPE(29): Illegal seek
 sync_file_range01 3 TPASS : got expected error: TEST_ERRNO=EINVAL(22): Invalid argument
 sync_file_range01 4 TPASS : got expected error: TEST_ERRNO=EINVAL(22): Invalid argument
 sync_file_range01 5 TPASS : got expected error: TEST_ERRNO=EINVAL(22): Invalid argument
 tag=sync_file_range01 stime=1573118120 dur=1 exit=exited stat=0 core=no cu=0 cs=0
 startup='Thu Nov 7 09:15:22 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:43: INFO: mkfs.btrfs does 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.44.1 (24-Mar-2018)
 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 25317376, expected 16777216
 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.44.1 (24-Mar-2018)
 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 25303040, expected 16777216
 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.44.1 (24-Mar-2018)
 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 25171968, expected 16777216
 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 btrfs
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with btrfs 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 27258880, 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:74: FAIL: Sync inside of write: Synced 25192448, expected 16777216
 sync_file_range02.c:71: PASS: Sync overlaps with write

 Summary:
 passed 12
 failed 6
 skipped 0
 warnings 0

Po-Hsu Lin (cypressyew)
tags: added: i386 sru-20191021 ubuntu-ltp-syscalls
tags: added: 5.3 bionic
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1851655

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
summary: - sync_file_range02 from ubuntu_ltp_syscalls failed on B-hwe-edge 5.3 i386
+ sync_file_range02 from ubuntu_ltp_syscalls failed with all filesystems
+ on B-hwe-edge 5.3 i386
description: updated
tags: added: sru-20191111
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Spotted on B-4.15 i386 node pepe (4.15.0-72.81)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Passed with B-4.15 i386 node pepe (4.15.0-92.93)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test passed with 5.3.0-53.47~18.04.1 on i386 node pepe.

Closing this issue.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in ubuntu-kernel-tests:
status: New → Fix Released
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.