Bug 1793611

Summary: "make v4test" segfaults in CI environment
Product: [Fedora] Fedora Reporter: Petr Lautrbach <plautrba>
Component: lksctp-toolsAssignee: Petr Lautrbach <plautrba>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: dborkmann, hany, mleitner, plautrba, vmojzis
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-12 18:29:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Lautrbach 2020-01-21 16:54:06 UTC
Description of problem:

https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-rawhide-build-pipeline/8771/artifact/package-tests/logs/FAIL-str_unit-v4test.log

# make v4test
...
test_1_to_1_events.c  1 PASS : COMM_UP notification on client socket - SUCCESS
test_1_to_1_events.c  2 PASS : COMM_UP notification on server socket - SUCCESS
test_1_to_1_events.c  3 BROK : Got a datamsg, expecting notification
DUMP_CORE sctputil.c: 186
/bin/sh: line 1: 22391 Segmentation fault      (core dumped) ./$a
test_1_to_1_events fails
make: *** [Makefile:1646: v4test] Error 1
Run test 'unit-v4test': done. Test's exit code: 2


Version-Release number of selected component (if applicable):
lksctp-tools-1.0.18-3.fc32

Comment 1 Petr Lautrbach 2020-01-24 06:56:25 UTC
Note that the same test passed on Fedora 31 - https://jenkins-continuous-infra.apps.ci.centos.org/job/fedora-f31-build-pipeline/606/artifact/package-tests/logs/PASS-str_unit-v4test.log

...
./test_1_to_1_events
test_1_to_1_events.c  1 PASS : COMM_UP notification on client socket - SUCCESS
test_1_to_1_events.c  2 PASS : COMM_UP notification on server socket - SUCCESS
test_1_to_1_events.c  3 PASS : AUTH_NO_AUTH notification on server socket - SUCCESS
test_1_to_1_events.c  4 PASS : Data message on server socket - SUCCESS
test_1_to_1_events.c  5 PASS : SHUTDOWN notification on accepted socket - SUCCESS
test_1_to_1_events passes

./test_1_to_1_threads
test_1_to_1_threads.c  1 PASS : send and receive data across multiple threads - SUCCESS
test_1_to_1_threads passes

./test_1_to_1_initmsg_connect
test_1_to_1_initmsg_connect.c  1 PASS : connect() with init timeout set to 0 - SUCCESS
test_1_to_1_initmsg_connect passes

./test_sctp_sendvrecvv
test_sctp_sendvrecvv.c  1 PASS : sctp_sendv addr info
test_sctp_sendvrecvv.c  2 PASS : sctp_sendv sndinfo with stream 1
test_sctp_sendvrecvv.c  3 PASS : sctp_sendv sndinfo with stream 2
test_sctp_sendvrecvv.c  4 PASS : sctp_sendv prinfo
test_sctp_sendvrecvv.c  5 PASS : sctp_sendv authinfo
test_sctp_sendvrecvv.c  6 PASS : sctp_sendv spa with stream 3
test_sctp_sendvrecvv.c  7 PASS : sctp_sendv spa with stream 4
test_sctp_sendvrecvv.c  8 PASS : sctp_recvv SCTP_RECVV_NOINFO
test_sctp_sendvrecvv.c  9 PASS : sctp_recvv SCTP_RECVV_RCVINFO
test_sctp_sendvrecvv.c 10 PASS : sctp_recvv SCTP_RECVV_NOINFO due to small size
test_sctp_sendvrecvv.c 11 PASS : sctp_recvv SCTP_RECVV_NXTINFO due to small size
test_sctp_sendvrecvv.c 12 PASS : sctp_recvv SCTP_RECVV_RN
test_sctp_sendvrecvv passes

Hoody hoo!
Run test 'unit-v4test': done. Test's exit code: 0

Comment 2 Ben Cotton 2020-02-11 17:26:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 3 Marcelo Ricardo Leitner 2020-07-23 20:48:54 UTC
It could have been a kernel issue.

Comment 4 Petr Lautrbach 2020-08-12 18:29:03 UTC
https://src.fedoraproject.org/rpms/lksctp-tools/pull-request/4 CI passed, closing.