Repository navigation
squid: qa/workunits/rados/test.sh: add timeout mechanism and more info to workloads with parallel tests - #65060
Merged
batrick merged 5 commits intoOct 20, 2026
Conversation
batrick
force-pushed
the
wip-ksirivad-backport-squide-pr-64219
branch
from
March 18, 2026 14:17
184bd5b to
fdd174d
Compare
ljflores
approved these changes
Oct 2, 2026
ljflores
force-pushed
the
wip-ksirivad-backport-squide-pr-64219
branch
from
October 2, 2026 22:28
fdd174d to
d65fcd7
Compare
Contributor
|
This PR has been added to wip-bharath29-testing-20261004.003333-squid. |
Contributor
Contributor
|
jenkins test make check |
Member
Author
|
jenkins test make check |
Member
|
jenkins test make check |
Member
|
jenkins test api |
…ests 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 <[email protected]> (cherry picked from commit ec3de75)
This commit adds XML output support for the neorados test suite, ensuring test results are properly captured in XML format. This change aligns the neorados tests with the existing behavior of the standard RADOS tests, which were already generating XML output files and utilize teuthology scanner to capture failures if any. Fixes: https://tracker.ceph.com/issues/70772 Signed-off-by: Kamoltat Sirivadhna <[email protected]> (cherry picked from commit 91ff662)
Currently the failure description in teuthology doesn't give us much detail rather than COMMAND_FAILURE when the test timedout, this is because when we timeout and kill the process there are no XML files generated, therefore, this commit will create an XML file report when we decide to timeout and kill the long running test process. Fixes: https://tracker.ceph.com/issues/70772 Signed-off-by: Kamoltat Sirivadhna <[email protected]> (cherry picked from commit 26d63d0)
This commit addes a `--vstart` flag that developers can pass to run this script locally. The user must be in the `ceph/build` directory, which is explained as a comment in the script. The script prepares the test to be run locally by doing the following: 1. Compiling all the necessry targets 2. Setting up a test cluster 3. Prefixing `./bin/` to all executable commands to make them vstart-friendly 4. Tearing down the test cluster at the end. Fixes: https://tracker.ceph.com/issues/70772 Signed-off-by: Laura Flores <[email protected]> (cherry picked from commit 0eea3d5)
- For --serial we use timeout function and --timeout value to to reutrn exit 1 if test exceeds --timeout. - Update documentation for command-line arguments such that user understands the order of argument matters. - Use test arrays for better organization of test definitions - Add test type tracking to properly handle both rados and neorados tests when falling back on XML - Change timeout default value to 90 minutes Fixes: https://tracker.ceph.com/issues/70772 Signed-off-by: Kamoltat Sirivadhna <[email protected]> (cherry picked from commit bfa6edb)
batrick
force-pushed
the
wip-ksirivad-backport-squide-pr-64219
branch
from
October 20, 2026 15:45
d65fcd7 to
81b7c42
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/72598
backport of #64219
parent tracker: https://tracker.ceph.com/issues/70772
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition