preadv203, preadv203_64 in ubuntu_ltp_syscalls failed (potential glibc issue)

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

Bug Description

Test failed with:
  preadv203.c:122: BROK: preadv2() failed: EOPNOTSUPP

The comment in the test says:
 * If test fails with EOPNOTSUPP you have likely hit a glibc bug:
 *
 * https://sourceware.org/bugzilla/show_bug.cgi?id=23579

 startup='Wed May 29 17:08:28 2019'
 tst_device.c:231: INFO: Using test device LTP_DEV='/dev/loop0'
 tst_supported_fs_types.c:72: INFO: Kernel supports ext2
 tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext3
 tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext4
 tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports xfs
 tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports btrfs
 tst_supported_fs_types.c:56: INFO: mkfs.btrfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports vfat
 tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
 tst_supported_fs_types.c:95: INFO: Filesystem exfat is not supported
 tst_supported_fs_types.c:72: INFO: Kernel supports ntfs
 tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
 tst_test.c:1157: INFO: Testing on ext2
 tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:122: BROK: preadv2() failed: EOPNOTSUPP

 Summary:
 passed 0
 failed 0
 skipped 0
 warnings 0
 tag=preadv203 stime=1559149708 dur=3 exit=exited stat=2 core=no cu=4 cs=63

And the preadv203_64 as well:

 startup='Wed May 29 17:08:33 2019'
 tst_device.c:231: INFO: Using test device LTP_DEV='/dev/loop0'
 tst_supported_fs_types.c:72: INFO: Kernel supports ext2
 tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext3
 tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext4
 tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports xfs
 tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports btrfs
 tst_supported_fs_types.c:56: INFO: mkfs.btrfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports vfat
 tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
 tst_supported_fs_types.c:95: INFO: Filesystem exfat is not supported
 tst_supported_fs_types.c:72: INFO: Kernel supports ntfs
 tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
 tst_test.c:1157: INFO: Testing on ext2
 tst_test.c:1096: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:122: BROK: preadv2() failed: EOPNOTSUPP
 preadv203.c:169: INFO: FDs closed, exiting...: EBADF

 Summary:
 passed 0
 failed 0
 skipped 0
 warnings 0
 tag=preadv203_64 stime=1559149713 dur=3 exit=exited stat=2 core=no cu=2 cs=84

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (3.4 KiB)

This is now no longer marked as a failure on LTP:
https://github.com/linux-test-project/ltp/commit/857805cc763d09023d66ace33a5019c30f993131

 startup='Fri Jun 14 04:35:09 2019'
 tst_device.c:231: INFO: Using test device LTP_DEV='/dev/loop0'
 tst_supported_fs_types.c:72: INFO: Kernel supports ext2
 tst_supported_fs_types.c:56: INFO: mkfs.ext2 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext3
 tst_supported_fs_types.c:56: INFO: mkfs.ext3 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports ext4
 tst_supported_fs_types.c:56: INFO: mkfs.ext4 does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports xfs
 tst_supported_fs_types.c:56: INFO: mkfs.xfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports btrfs
 tst_supported_fs_types.c:56: INFO: mkfs.btrfs does exist
 tst_supported_fs_types.c:72: INFO: Kernel supports vfat
 tst_supported_fs_types.c:56: INFO: mkfs.vfat does exist
 tst_supported_fs_types.c:95: INFO: Filesystem exfat is not supported
 tst_supported_fs_types.c:72: INFO: Kernel supports ntfs
 tst_supported_fs_types.c:56: INFO: mkfs.ntfs does exist
 tst_test.c:1172: 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:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: 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:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: 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:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: INFO: Testing on xfs
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
 tst_test.c:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: INFO: Testing on btrfs
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with btrfs opts='' extra opts=''
 tst_test.c:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: INFO: Testing on vfat
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with vfat opts='' extra opts=''
 tst_test.c:1111: INFO: Timeout per run is 0h 05m 00s
 preadv203.c:238: CONF: preadv2(): EOPNOTSUPP
 tst_test.c:1172: INFO: Testing on ntfs
 tst_mkfs.c:90: INFO: Formatting /dev/loop0 with ntfs opts='' extra opts=''
 The partition start sector was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
 The number of sectors per track was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
 The number of heads was not specified for /dev/loop0 and it could not be obtained automatically. It has been set to 0.
 To boot from a device, Windows needs the 'partition start sector', the 'sectors per track' and the 'number of heads' to be set.
 Windows will not be able to boot from this device.
 safe_macros.c:739: INFO: Tryin...

Read more...

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

Passed with B 5.0 OEM-OSP1.

Sean Feole (sfeole)
Changed in ubuntu-kernel-tests:
status: New → Triaged
tags: added: sru-20200106
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

As these two tests were not failing with this anymore (but with ENOSPC, bug 1864425)
I will close this bug.

Changed in ubuntu-kernel-tests:
status: Triaged → Fix Released
Changed in linux-hwe-edge (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.