futex_wake04 from ubuntu_ltp_syscalls failed on X i386

Bug #1892165 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Undecided
Thadeu Lima de Souza Cascardo
linux (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Thadeu Lima de Souza Cascardo

Bug Description

Issue found on Xenial i386 node "pepe" with 4.4.0-189.219 generic / low-latency (passed on other arches)

<<<test_start>>>
tag=futex_wake04 stime=1597828807
cmdline="futex_wake04"
contacts=""
analysis=exit
<<<test_output>>>
incrementing stop
tst_hugepage.c:58: INFO: 1 hugepage(s) reserved
tst_test.c:1250: INFO: Timeout per run is 0h 05m 00s
futex_wake04.c:60: INFO: Testing variant: syscall with old kernel spec
futex_wake04.c:98: INFO: Hugepagesize 2097152
futex_utils.h:51: INFO: Thread 13011 not sleeping yet
futex_wake04.c:85: FAIL: Bug: wait_thread2 did not wake after 30 secs.: EINVAL (22)
futex_utils.h:62: INFO: 0 threads sleeping, expected 2
tst_test.c:1250: INFO: Timeout per run is 0h 05m 00s
futex_wake04.c:60: INFO: Testing variant: syscall time64 with kernel spec
../../../../include/tst_timer.h:261: CONF: syscall(422) __NR_futex_time64 not supported

Summary:
passed 0
failed 1
skipped 1
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=33 corefile=no
cutime=0 cstime=4
<<<test_end>>>

This can be reproduced on 4.4.0-187-generic as well, not a regression.

Possibly cause by commit https://github.com/linux-test-project/ltp/commit/8d2c9c7d597c4b220c52bbbd0ab849ece86fe12c in LTP

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

Found on 4.15.0-1051.55~16.04.1-oracle with instance BM.Standard2.52 as well (passed on other instances)

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

Found on 4.15.0-114.115~16.04.1 with node pepe, i386 generic / lowlatency (passed with other arches)

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

For comment #1, the error message is a bit different.
I will file a new bug for it.

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

Some discussions can be found here:
https://github.com/linux-test-project/ltp/issues/713

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Hi, PHLin.

I have done some work on futex recently, I can take a look at this on bionic, since we are not going to fix it on xenial.

Cascardo.

Changed in linux (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu Xenial):
status: New → Won't Fix
Changed in linux (Ubuntu Bionic):
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

OK Cascardo,
I will blacklist this test on Xenial later.
Thanks!

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

This is looking more like a test issue on 32-bit, so no need to blacklist it on xenial, as we get the test fixed. :-)

Cascardo.

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :
Changed in linux (Ubuntu Bionic):
status: New → Invalid
Changed in linux (Ubuntu Xenial):
status: Won't Fix → Invalid
Changed in ubuntu-kernel-tests:
assignee: nobody → Thadeu Lima de Souza Cascardo (cascardo)
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Thanks for the patch \o/

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.