Skip to content

test/osd: Add interactive mode to ceph_test_rados_io_sequence - #59926

Merged
JonBailey1993 merged 3 commits into
ceph:mainfrom
JonBailey1993:JonBailey1993/ceph_test_rados_io_sequence_interactive
Oct 21, 2024
Merged

JonBailey1993 merged 3 commits into
ceph:mainfrom
JonBailey1993:JonBailey1993/ceph_test_rados_io_sequence_interactive

Conversation

@JonBailey1993

Copy link
Copy Markdown
Contributor

test/osd/ceph_test_rados_io_sequence: Add interactive mode

This pull request is a follow on to #59857 and contains/requires the commits in that PR before this can be merged.

Adds a new "interactive" test mode to ceph_test_rados_io_sequence that allows you to direct the order of operations rather than using the preset sequences. This allows complete precise control of the tool when you want to test specific IOs.

Signed-off-by: Jon Bailey [email protected]

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
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@JonBailey1993
JonBailey1993 requested a review from a team as a code owner September 23, 2024 11:15
@JonBailey1993
JonBailey1993 force-pushed the JonBailey1993/ceph_test_rados_io_sequence_interactive branch 2 times, most recently from 986fd4b to 4de1b40 Compare October 1, 2024 10:35
@JonBailey1993
JonBailey1993 force-pushed the JonBailey1993/ceph_test_rados_io_sequence_interactive branch 3 times, most recently from d7108f6 to 95ee771 Compare October 11, 2024 08:27
@JonBailey1993

Copy link
Copy Markdown
Contributor Author

7 out of 11 tests failed to connect to ceph GitHub, will retrigger

@JonBailey1993

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@JonBailey1993

Copy link
Copy Markdown
Contributor Author

Failed again for same reason. Will retrigger later on when network issues are hopefully resolved.

@JonBailey1993

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

1 similar comment
@JonBailey1993

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

Removes unnecessary whitespace in the ceph_test_rados_io_sequence class

Signed-off-by: Jon Bailey <[email protected]>
Reorganisers the main function to be more modular, moving functionality into a TestRunner object and anonymous namespaces.
Adds a new "interactive" test mode that allows you to direct the order of operations rather than using the preset sequences. This allows complete precise control of the tool when you want to test specific IOs.

Signed-off-by: Jon Bailey <[email protected]>
Assert on failure of IO validation so it's clearer and error has occurred and state of the system will not move beyond the error point.

Signed-off-by: Jon Bailey <[email protected]>
@JonBailey1993
JonBailey1993 force-pushed the JonBailey1993/ceph_test_rados_io_sequence_interactive branch from 95ee771 to f4e1653 Compare October 15, 2024 16:03

@NitzanMordhai NitzanMordhai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JonBailey1993
JonBailey1993 merged commit d4da98c into ceph:main Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants