Skip to content

test: Add optional timestamps to ceph_test_rados - #63851

Merged
aainscow merged 1 commit into
ceph:mainfrom
aainscow:timestamps_ceph_test_rados
Jul 10, 2025
Merged

aainscow merged 1 commit into
ceph:mainfrom
aainscow:timestamps_ceph_test_rados

Conversation

@aainscow

@aainscow aainscow commented Jun 10, 2025 •

Copy link
Copy Markdown
Contributor

With this commit, if the --timestamps parameter is passed to ceph_test_rados, most output lines are prefixed with a timestamp.

If not specified, the output should be identical to before.

This is useful for correlating what the test is doing with ceph osd logs.

We have run this through some teuthology tests many times.

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

@aainscow
aainscow requested a review from a team as a code owner June 10, 2025 13:20
@aainscow
aainscow requested a review from bill-scales June 10, 2025 13:21
@ronen-fr

Copy link
Copy Markdown
Contributor

jenkins test make check

Comment thread src/test/osd/RadosModel.h Resolved
Comment thread src/test/osd/RadosModel.h Resolved
@aainscow
aainscow force-pushed the timestamps_ceph_test_rados branch from 73228af to 69940c0 Compare June 13, 2025 14:29
@aainscow
aainscow requested a review from ronen-fr June 13, 2025 14:29
@aainscow
aainscow force-pushed the timestamps_ceph_test_rados branch from 69940c0 to 4d34d97 Compare June 24, 2025 08:47
@github-actions github-actions Bot added build/ops cephfs Ceph File System labels Jun 24, 2025
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@aainscow
aainscow force-pushed the timestamps_ceph_test_rados branch from 4d34d97 to 7d71a79 Compare June 24, 2025 08:49
With this commit, if the --timestamps parameter is passed to
ceph_test_rados, most output lines are prefixed with a timestamp.

If not specified, the output should be identical to before.

This is useful for correlating what the test is doing with  ceph
osd logs.

Signed-off-by: Alex Ainscow <[email protected]>
@aainscow

aainscow commented Jun 24, 2025 •

Copy link
Copy Markdown
Contributor Author

Requesting QA to sanity check that I have not broken any teuthology scripts. The output if --timestamps is not specified should be identical to before!

We have been using this version in the EC-optimisations branch without any issue.

@aainscow
aainscow force-pushed the timestamps_ceph_test_rados branch from 7d71a79 to d187bab Compare June 24, 2025 08:56
@yuriw

yuriw commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Jul 9, 2025

Copy link
Copy Markdown
Contributor

jenkins test this please

@athanatos

Copy link
Copy Markdown
Contributor

@aainscow Any particular reason not to enable it unconditionally? Seems super useful.

@aainscow

aainscow commented Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

@aainscow Any particular reason not to enable it unconditionally? Seems super useful.

Teuthology adds it's own timestamp, so not needed there. Also, I expect there are some scrapers that may get confused by the timestamps.

@athanatos
athanatos self-requested a review July 9, 2025 18:08
@aainscow

aainscow commented Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@aainscow

aainscow commented Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test api

1 similar comment
@aainscow

aainscow commented Jul 9, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test api

@aainscow

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@aainscow
aainscow merged commit 460efbc into ceph:main Jul 10, 2025
@aainscow aainscow added the no-backport-required Label that can be optionally added to show that we do not need to backport. label Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build/ops cephfs Ceph File System core needs-qa no-backport-required Label that can be optionally added to show that we do not need to backport. ready-to-merge TESTED tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants