qa: inherit RunCephCmd in CephTestCase instead of CephFSTestCase#52924
qa: inherit RunCephCmd in CephTestCase instead of CephFSTestCase#52924rishabh-d-dave merged 1 commit intoceph:mainfrom
Conversation
adk3798
left a comment
There was a problem hiding this comment.
LGTM code wise. Let's see how it goes in testing
|
tox failure is related to this PR - Fixing the issue... |
07470a8 to
69057af
Compare
|
Am I right in understanding that PR #52556 is also trying to fix the same issue? If that's the case, can we have a single PR? |
Yes, Adam King and I are aware of each other's PRs. In fact I created this PR after talking to him. This PR is better fix and if this works, we'll merge this and close the other one. Otherwise, vice versa. |
MgrTestCase also needs RunCephCmd. If RunCephCmd is inherited by CephTestCase, instead of CephFSTestCase, MgrTestCase will automatically inherit RunCephCmd because it inhertis CephTestCase. Fixes: https://tracker.ceph.com/issues/62084 Signed-off-by: Rishabh Dave <ridave@redhat.com>
69057af to
4b369cf
Compare
|
@adk3798 This job passed which means this patch works now! |
|
jenkins test api |
|
@rishabh-d-dave please share the fs suite run. |
LGTM. @adk3798 I see you approved a previous revision of this change. Could you take a look at the latest update? |
Code still LGTM. I'd like to include this in an orch run as well to verify it fixed our failing test, but if it passes there I'd be happy with merging it |
Thanks @adk3798 - please do the needful and update when ready. @rishabh-d-dave has run this through fs suite and looks fine. |
tasks.cephfs_test_runner:AttributeError: 'TestNFS' object has no attribute 'run_ceph_cmd' ceph#52924 fixes this, reverted back to previous code just for testing out this PR. This commit will be removed. Signed-off-by: Dhairya Parmar <dparmar@redhat.com> (cherry picked from commit 40ffb4d)
|
Removing my label since CephFS tests have already been run. |
|
@rishabh-d-dave Since this has already run through nfs suite, please merge this. |
|
Doh. A bunch of failures like @adk3798 These are the same failures that I see with my PR #52708 |
|
Failure aren't relevant and test_nfs.py passed. |
I think it's fine. I did a run myself on the same build and didn't see any of htose failures. I really think it's something with how the tests are run. Worst case if I'm wrong we can revert but I don't think my tests will start failing like this after this is merged. |
In that case @adk3798, can you include changes from #52708 in your next test run please? |
tagged it. As soon as main builds are working I'll make a new build and test it. |
MgrTestCase also needs RunCephCmd. If RunCephCmd is inherited by
CephTestCase, instead of CephFSTestCase, MgrTestCase will automatically
inherit RunCephCmd because it inhertis CephTestCase.
Fixes: https://tracker.ceph.com/issues/62084
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. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
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 windows