]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rados/test.sh: add timeout mechanism to RADOS parallel tests
authorKamoltat Sirivadhna <ksirivad@redhat.com>
Thu, 26 Jun 2025 19:58:03 +0000 (19:58 +0000)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Wed, 2 Jul 2025 20:58:36 +0000 (20:58 +0000)
commitec3de7522023729d496eb9c14a259c62f6350d99
tree7fde1baaf5b72d0c4131ff5d336b084d714207cd
parentf768b9273887b71fd09e1c92ebbe6cced3dd26c8
qa/workunits/rados/test.sh: add timeout mechanism to RADOS parallel tests

This commit adds a 90-minute timeout (configurable) for each test in the RADOS test suite
when running in parallel mode. Previously, if a test hung, the entire test
script would hang indefinitely,
causing teutholgoy jobs to time out without useful diagnostic information.

The implementation:

Adds a timeout check in the process monitoring loop
Forcibly terminates tests that run longer than 90 minutes (or whatever
is configured)
Ensures wait is only called after a process has ended or been killed
Improves error reporting to identify which specific test caused the issue
This change prevents indefinite hanging of the test script and provides
better visibility into which test is problematic when timeouts occur.

Fixes: https://tracker.ceph.com/issues/70772
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
qa/workunits/rados/test.sh