preadv203, preadv203_64 in ubuntu_ltp_syscalls failed K-5.19 with TBROK on xfs

Bug #2020149 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

Issue found with K-gcp 5.19.0-1024.26

The preadv203, preadv203_64 in ubuntu_ltp_syscalls will fail with:

  preadv203.c:257: TBROK: write(516,0x7fff0f4dfed0,4123) failed: SUCCESS (0)

Test log:
INFO: Test start time: Mon May 15 21:20:22 UTC 2023
COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 852988 -n 852988 -f /tmp/ltp-M2A1yT2YR2/alltests -l /dev/null -C /dev/null -T /dev/null
LOG File: /dev/null
FAILED COMMAND File: /dev/null
TCONF COMMAND File: /dev/null
Running tests.......
tst_device.c:89: TINFO: Found free device 5 '/dev/loop5'
tst_test.c:1526: TINFO: Timeout per run is 0h 01m 30s
tst_supported_fs_types.c:88: TINFO: Kernel supports ext2
tst_supported_fs_types.c:50: TINFO: mkfs.ext2 does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports ext3
tst_supported_fs_types.c:50: TINFO: mkfs.ext3 does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports ext4
tst_supported_fs_types.c:50: TINFO: mkfs.ext4 does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports xfs
tst_supported_fs_types.c:50: TINFO: mkfs.xfs does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports btrfs
tst_supported_fs_types.c:50: TINFO: mkfs.btrfs does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports vfat
tst_supported_fs_types.c:50: TINFO: mkfs.vfat does exist
tst_supported_fs_types.c:88: TINFO: Kernel supports exfat
tst_supported_fs_types.c:46: TINFO: mkfs.exfat does not exist
tst_supported_fs_types.c:88: TINFO: Kernel supports tmpfs
tst_supported_fs_types.c:37: TINFO: mkfs is not needed for tmpfs
tst_test.c:1599: TINFO: Testing on ext2
tst_test.c:1064: TINFO: Formatting /dev/loop5 with ext2 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
preadv203.c:143: TINFO: Number of full_reads 3209, short reads 10, zero len reads 0, EAGAIN(s) 9894941
preadv203.c:180: TINFO: Number of writes 4012080
preadv203.c:194: TINFO: Cache dropped 964 times
preadv203.c:222: TPASS: Got some EAGAIN
tst_test.c:1599: TINFO: Testing on ext3
tst_test.c:1064: TINFO: Formatting /dev/loop5 with ext3 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
preadv203.c:180: TINFO: Number of writes 646740
preadv203.c:143: TINFO: Number of full_reads 6444, short reads 10, zero len reads 0, EAGAIN(s) 1766149
preadv203.c:194: TINFO: Cache dropped 169 times
preadv203.c:222: TPASS: Got some EAGAIN
tst_test.c:1599: TINFO: Testing on ext4
tst_test.c:1064: TINFO: Formatting /dev/loop5 with ext4 opts='' extra opts=''
mke2fs 1.46.5 (30-Dec-2021)
preadv203.c:143: TINFO: Number of full_reads 7667, short reads 10, zero len reads 0, EAGAIN(s) 10880127
preadv203.c:180: TINFO: Number of writes 4720800
preadv203.c:194: TINFO: Cache dropped 1075 times
preadv203.c:222: TPASS: Got some EAGAIN
tst_test.c:1599: TINFO: Testing on xfs
tst_test.c:1064: TINFO: Formatting /dev/loop5 with xfs opts='' extra opts=''
preadv203.c:257: TBROK: write(516,0x7ffefe9a5ca0,4123) failed: SUCCESS (0)

Summary:
passed 3
failed 0
broken 1
skipped 0
warnings 0

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

This issue can be fixed with latest LTP from upstream. (tag 20230516)

Revision history for this message
Andrei Gherzan (agherzan) wrote :

I have encountered this while testing lunar:linux-aws:

SRU Cycle: 2023.05.15
Series: lunar
Package: linux-aws
Version: 6.2.0-1005.5
Cloud: aws
Instance: c6g.8xlarge
Region: ca-central-1
Operation: sru

tags: added: sru-20230515
Po-Hsu Lin (cypressyew)
tags: added: ltp-20230516
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.