Conversation
Member
Author
|
asok_command always prepends and "ERROR" message so we just can't/shouldn't use it for QA testing (where the command may fail). |
Member
Author
|
(still more to fix...) |
leonid-s-usov
approved these changes
May 23, 2024
leonid-s-usov
suggested changes
May 23, 2024
Contributor
leonid-s-usov
left a comment
There was a problem hiding this comment.
Please note that tell_command will assert for non-zero status. You should use check_status=False kwarg if you want to process the rc externally, the asok_command had it
vshankar
approved these changes
May 28, 2024
Contributor
|
jenkins retest this please |
Member
Author
|
jenkins test api |
Member
Author
|
This PR is under test in https://tracker.ceph.com/issues/66261. |
Member
Author
|
jenkins test api |
1 similar comment
Member
Author
|
jenkins test api |
Member
Author
|
jenkins test make check |
Member
Author
|
jenkins test make check arm64 |
Member
Author
|
jenkins test api |
Member
Author
And change second argument to std::string_view to have more flexible conversions. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
The admin_socker framework only dumps the formatter by default if the command succeeds. Fixes: a4dc881 Fixes: https://tracker.ceph.com/issues/66184 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Existing convention is that "css" is short for CachedStackStringStream while "ss" is stringstream. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
It's unpleasant to test for existence in json. Just dump an empty string if not present. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
As it's being used for error output. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
The asok interface will mangle stdout if the command actually fails. The reason `flush path` is done via the asok interface is because the tell/asok interfaces were unified after these tests were written and `flush path` was only available via the asok interface. Fixes: https://tracker.ceph.com/issues/66184 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Member
Author
|
Pulled vstart_runner change out as it was failing api tests. It's now at #57881 |
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.
The admin_socket framework only dumps the formatter by default if the command succeeds.
Fixes: a4dc881
Fixes: https://tracker.ceph.com/issues/66184
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 retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e