msgctl06 from ubuntu_ltp_syscalls failed on X / B

Bug #1908238 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

This is a new test case added a week ago, thus it's not a regression.

Test failed with:
 startup='Mon Dec 14 09:24:47 2020'
 tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s
 msgctl06.c:104: TINFO: Test MSG_STAT_ANY with nobody user
 msgctl06.c:118: TFAIL: MSG_INFO haven't returned a valid index: SUCCESS (0)
 msgctl06.c:133: TFAIL: Counted used = 0, msgpool = 1
 msgctl06.c:77: TPASS: queue_cnt = 1
 msgctl06.c:84: TPASS: msg_cnt = 1
 msgctl06.c:91: TPASS: msg_bytes = 4
 msgctl06.c:104: TINFO: Test MSG_STAT_ANY with root user
 msgctl06.c:118: TFAIL: MSG_INFO haven't returned a valid index: SUCCESS (0)
 msgctl06.c:133: TFAIL: Counted used = 0, msgpool = 1
 msgctl06.c:77: TPASS: queue_cnt = 1
 msgctl06.c:84: TPASS: msg_cnt = 1
 msgctl06.c:91: TPASS: msg_bytes = 4

 Summary:
 passed 6
 failed 4
 broken 0
 skipped 0
 warnings 0
 tag=msgctl06 stime=1607937887 dur=0 exit=exited stat=1 core=no cu=0 cs=0

Test case:
https://github.com/linux-test-project/ltp/commit/ad8bc0a3ca21bc9378ff8840d245049a9516c5d4

Po-Hsu Lin (cypressyew)
tags: added: 4.4 aws kqa-blocker sru-20201130 ubuntu-ltp-syscalls xenial
Changed in ubuntu-kernel-tests:
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

MSG_STAT_ANY was introduced in 4.17. Test should allow for EINVAL error when using it.

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

Can be found on 4.15 as well

tags: added: 4.15 bionic
summary: - msgctl06 from ubuntu_ltp_syscalls failed on X-aws
+ msgctl06 from ubuntu_ltp_syscalls failed on X / B
tags: added: azure sru-20210104
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

found on bionic/fips 4.15.0-1053.61

tags: added: fips sru-20210125
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Didn't see this on X-4.15-aws 4.15.0-1103.110~16.04.1

msgctl06.c:152: TCONF: kernel doesn't support MSG_STAT_ANY

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

This issue has been fixed with bd29c0e syscalls/ipc: Check that whether if kernel supports *_STAT_ANY

Please open a new bug if this happens again.

https://github.com/linux-test-project/ltp/commit/bd29c0e81a5deaec44e88f169411f74e8a3790e3

Changed in ubuntu-kernel-tests:
status: New → Fix Released
assignee: Thadeu Lima de Souza Cascardo (cascardo) → nobody
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.