-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qa: add subvolume option flavors #45556
Conversation
c1a6d24
to
68d977e
Compare
ff55776
to
fa3c54a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise LGTM. Good work!
|
||
subvol_path = self.mon_manager.raw_cluster_cmd( | ||
'fs', 'subvolume', 'getpath', self.name, sv_name) | ||
subvol_path = subvol_path.strip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually necessary? (It should not be!)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stripping off the the trailing '\n'
is necessary
I found this out when I looked up the teuthology logs and saw the dumped path which included the trailing '\n'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems you found a bug then? I don't think it should be in the output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@batrick fyi - check qa/tasks/cephfs/test_volumes.py
every place where a getpath
is requested, there's a strip operation following it
qa/suites/fs/workload/subvolume/with-namespace-isolated-and-quota.yaml
Outdated
Show resolved
Hide resolved
1c4e3b1
to
9a9329f
Compare
9a9329f
to
12bfb41
Compare
c5c5e37
to
f4435bf
Compare
You don't have to do that. setUp() and tearDown() are called at the start and end of every test method respectively. |
qa/workunits/fs/misc/subvolume.sh is getting in the way of fs:workload testing with subvolumes. Hence moved this script to a python test. Signed-off-by: Milind Changire <mchangir@redhat.com>
f4435bf
to
8d9bf97
Compare
Thanks, Milind! Looks good! |
I'm seeing failures that might be real ones since these changes involve testing with options that we do no have coverage on. I will create trackers for those. Also, I will plan to test this with #45407 since it fixes a genuine bug involved with namespace isolation. |
jenkins test make check |
The ffsb failures are probably fixed now after merging a fix in ffsb. I'll rerun this fs:worklolads. |
@rishabh-d-dave As discussed, please check if the failures if the fs:workload suite are exposing and bugs (and create trackers for them). |
On QA run 7 jobs failed and 1 job died. Following 4 tickets have been created -
I could reproduce first one every single time. Rest of the jobs being workload tests weren't so reproducible. I can dig deeper and make a reproducing recipe eventually. |
jenkins test make check |
Nice work @rishabh-d-dave. Let's get these changes in esp since it has caught a few bugs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mchangir Nice work!
This caught a bug when running pjd tests - https://tracker.ceph.com/issues/55804 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR To help test subvolumes with different subvolume creation options
Fixes: https://tracker.ceph.com/issues/54317
Signed-off-by: Milnd Changire mchangir@redhat.com
Checklist
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