socketcall01 from ubuntu_ltp_syscalls failed
Bug #1860310 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Test failed with:
startup='Mon Jan 20 04:17:16 2020'
tst_test.c:1217: INFO: Timeout per run is 0h 05m 00s
socketcall01.c:42: FAIL: socketcall() for TCP stream failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for unix domain dgram failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for Raw socket failed with -1: ENOSYS (38)
socketcall01.c:42: FAIL: socketcall() for UDP dgram failed with -1: ENOSYS (38)
Summary:
passed 0
failed 4
skipped 0
warnings 0
With a git bisect shows this is more likely a test case issue, with older version of LTP, this test will be skipped with:
<<<test_start>>> "socketcall01" status> >> status= "ok" type=exited termination_id=32 corefile=no
tag=socketcall01 stime=1579503819
cmdline=
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:853: CONF: The socketcall() syscall is not supported
<<<execution_
initiation_
duration=0 termination_
cutime=0 cstime=0
<<<test_end>>>
9e83513eb1b0adc 13e0eb12ab14d39 3b9c4a00ba is the first bad commit 13e0eb12ab14d39 3b9c4a00ba
commit 9e83513eb1b0adc
Author: Petr Vorel <email address hidden>
Date: Fri Jan 17 12:15:57 2020 +0100
tst_device.h: Use lapi/syscalls.h instead of <sys/syscall.h>
As a fallback for old distros which does not define __NR_syncfs
(the dependency is in the library itself).
This was needed on SLES 11 (kernel 2.6.32).
Fixes: 74aeb88c9 ("tst_device: use raw syscall in the tst_device.h")
Acked-by: Jan Stancek <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>