[LTP] [PATCH 5/5] getdents02: Enable .all_filesystems

Martin Doucha mdoucha@suse.cz
Thu Sep 12 15:19:01 CEST 2024


On 12. 09. 24 14:18, Cyril Hrubis wrote:
> Hi!
> I did merged the patchset, thanks.
> 
> I've also notice that there are failures on -m32 build but that happens
> before these patches as well:
> 
> $ ./getdents02
> tst_tmpdir.c:316: TINFO: Using /tmp/LTP_getxryBmt as tmpdir (ext2/ext3/ext4 filesystem)
> tst_test.c:1809: TINFO: LTP version: 20240524-236-g0ae6bcc6f
> tst_test.c:1813: TINFO: Tested kernel: 6.9.3 #1 SMP PREEMPT_DYNAMIC Fri Jun  7 11:00:48 CEST 2024 x86_64
> tst_test.c:1652: TINFO: Timeout per run is 0h 00m 30s
> getdents.h:148: TINFO: Testing the SYS_getdents syscall
> tst_buffers.c:57: TINFO: Test is using guarded buffers
> getdents02.c:86: TPASS: getdents failed as expected: EBADF (9)
> getdents02.c:86: TPASS: getdents failed as expected: EINVAL (22)
> getdents02.c:86: TPASS: getdents failed as expected: ENOTDIR (20)
> getdents02.c:86: TPASS: getdents failed as expected: ENOENT (2)
> getdents02.c:90: TFAIL: getdents failed unexpectedly: EINVAL (22)
> getdents.h:151: TINFO: Testing the SYS_getdents64 syscall
> tst_buffers.c:57: TINFO: Test is using guarded buffers
> getdents02.c:86: TPASS: getdents failed as expected: EBADF (9)
> getdents02.c:86: TPASS: getdents failed as expected: EINVAL (22)
> getdents02.c:86: TPASS: getdents failed as expected: ENOTDIR (20)
> getdents02.c:86: TPASS: getdents failed as expected: ENOENT (2)
> getdents02.c:90: TFAIL: getdents failed unexpectedly: EINVAL (22)
> getdents.h:157: TCONF: libc getdents() is not implemented
> getdents.h:162: TINFO: Testing libc getdents64()
> tst_buffers.c:57: TINFO: Test is using guarded buffers
> getdents02.c:86: TPASS: getdents failed as expected: EBADF (9)
> getdents02.c:86: TPASS: getdents failed as expected: EINVAL (22)
> getdents02.c:86: TPASS: getdents failed as expected: ENOTDIR (20)
> getdents02.c:86: TPASS: getdents failed as expected: ENOENT (2)
> getdents02.c:86: TPASS: getdents failed as expected: EFAULT (14)
> 
> It looks like the tst_dirp_size() function does not work properly when
> the code is compiled with -m32. Do we see these failures anywhere in
> openQA?

Yes, 32bit getdents02 has been failing on Tumbleweed since the subtest 
was added:
https://openqa.opensuse.org/tests/4458950#step/getdents02/8

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic



More information about the ltp mailing list