Skip to content

squid: qa/workunits/rados/test.sh: add timeout mechanism and more info to workloads with parallel tests - #65060

Merged
batrick merged 5 commits into
ceph:squidfrom
kamoltat:wip-ksirivad-backport-squide-pr-64219
Oct 20, 2026
Merged

batrick merged 5 commits into
ceph:squidfrom
kamoltat:wip-ksirivad-backport-squide-pr-64219

Conversation

@kamoltat

@kamoltat kamoltat commented Aug 15, 2025 •

Copy link
Copy Markdown
Member

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@kamoltat kamoltat added this to the squid milestone Aug 15, 2025
@kamoltat kamoltat self-assigned this Aug 15, 2025
@kamoltat
kamoltat requested a review from a team as a code owner August 15, 2025 03:27
@batrick
batrick force-pushed the wip-ksirivad-backport-squide-pr-64219 branch from 184bd5b to fdd174d Compare March 18, 2026 14:17
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@ljflores ljflores removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 2, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Oct 2, 2026
@ljflores
ljflores force-pushed the wip-ksirivad-backport-squide-pr-64219 branch from fdd174d to d65fcd7 Compare October 2, 2026 22:28
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Oct 2, 2026
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath29-testing-20261004.003333-squid.

@ronen-fr

ronen-fr commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

@ronen-fr

ronen-fr commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@kamoltat kamoltat added needs-merge QA-approved, awaiting merge window and removed needs-qa labels Oct 16, 2026
@kamoltat

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick batrick modified the milestones: squid, v19.2.8 Oct 20, 2026
@batrick

batrick commented Oct 20, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick

batrick commented Oct 20, 2026

Copy link
Copy Markdown
Member

jenkins test api

kamoltat and others added 5 commits October 20, 2026 11:45
…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
batrick force-pushed the wip-ksirivad-backport-squide-pr-64219 branch from d65fcd7 to 81b7c42 Compare October 20, 2026 15:45
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-pass Release engineering: passed backport verification audit. labels Oct 20, 2026
@batrick
batrick merged commit ddabe1c into ceph:squid Oct 20, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core needs-merge QA-approved, awaiting merge window releng-audit-pass Release engineering: passed backport verification audit. tests wip-bharath29-testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants