reef: qa: fixing tests in test_cephfs_shell.TestShellOpts#58111
reef: qa: fixing tests in test_cephfs_shell.TestShellOpts#58111
Conversation
The issue arose due to the change in the output format of the command `set editor`. Earlier the output format was like: `editor: 'vim' ` which has been changed to: ```Name Value Description ==================================================================================================== editor vim Program used by 'edit' ``` Due to which fetching the list using indexes was `out of range`. Introduced by: python-cmd2/cmd2@fd38e70 Fixes: https://tracker.ceph.com/issues/63699 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com> (cherry picked from commit 118ac67)
Introduced by: python-cmd2/cmd2@fd38e70 Fixes: https://tracker.ceph.com/issues/63699 Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com> (cherry picked from commit 198d177)
|
This PR is under test in https://tracker.ceph.com/issues/66685. |
|
@neesingh-rh I am afraid this PR caused this qa test failure , could you help confirm that ? |
Will check |
I did check the log you mentioned above and seeing the output structure of |
In reef we hit this too, please see https://pulpito.ceph.com/jcollin-2024-07-02_01:59:44-fs-wip-jcollin-testing-20240701.083303-reef-distro-default-smithi/7783233 |
I don't understand why the output structure of |
|
Had a conversation with @neesingh-rh regarding this - please check if the upgraded cmd2 module is a part of reef branch and available in the distro's we support. |
This issue exists only in centos 9, but here http://qa-proxy.ceph.com/teuthology/jcollin-2024-06-26_02:20:03-fs-wip-jcollin-testing-20240625.103903-reef-distro-default-smithi/7772681/teuthology.log along with this patch we are testing it in ubuntu 20.04, that's why it is failing for it. |
|
This PR is under test in https://tracker.ceph.com/issues/67981. |
backport tracker: https://tracker.ceph.com/issues/65348
backport of #55725
parent tracker: https://tracker.ceph.com/issues/63699
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