ubuntu_ltp_syscalls: kill11 sub-test is always failing (timing out)

Bug #1902118 reported by Andrea Righi
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Andrea Righi

Bug Description

[Impact]
kill11 from ubuntu_ltp_syscalls is always timing out when executed by autotest. It never fails when executed manually from a regular command line session.

The reason is that python overwrites the signal handler for SIGXFSZ, blocking the delivery of this signal to any forked task, causing kill11 to time out.

[Test case]
$ sudo ./autotest/client/autotest-local autotest/client/tests/ubuntu_ltp_syscalls/control

Check that kill11 is failing (timing out).

[Fix]

Fix by restoring the default signal handler of SIGXFSZ before running the test.

[Regression potential]

None. We should actually consider to apply a more generic change, so that all test won't be affected by the same problem.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: New → Fix Released
assignee: nobody → Andrea Righi (arighi)
tags: added: ubuntu-ltp-syscalls
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers