socketcall01 from ubuntu_ltp_syscalls failed

Bug #1860310 reported by Po-Hsu Lin
6
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

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

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>>>
tag=socketcall01 stime=1579503819
cmdline="socketcall01"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_test.c:853: CONF: The socketcall() syscall is not supported
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=32 corefile=no
cutime=0 cstime=0
<<<test_end>>>

9e83513eb1b0adc13e0eb12ab14d393b9c4a00ba is the first bad commit
commit 9e83513eb1b0adc13e0eb12ab14d393b9c4a00ba
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>

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: sru-20200106 ubuntu-ltp-syscalls
tags: added: sru-20191202
Sean Feole (sfeole)
tags: added: bionic
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue resolved upstream, cannot reproduce with GKE 5.0.0-1030.31 in cycle sru-20200127

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.