qa/cephfs: minor fixes for xfstests_dev.py and test_acls.py#45950
qa/cephfs: minor fixes for xfstests_dev.py and test_acls.py#45950vshankar merged 5 commits intoceph:masterfrom
Conversation
omit_sudo, logs and asserts, StringIO in test_acls.py Signed-off-by: Rishabh Dave <ridave@redhat.com>
omit_sudo, logs and asserts, StringIO in test_acls.py Signed-off-by: Rishabh Dave <ridave@redhat.com>
002915a to
f21008a
Compare
af1432e to
7249366
Compare
|
jenkins test make check |
|
The previous failure was apparently not related - https://jenkins.ceph.com/job/ceph-pull-requests/93835/consoleFull#1999155424e840cee4-f4a4-4183-81dd-42855615f2c1 |
|
@vshankar The tests ran fine - http://pulpito.front.sepia.ceph.com/rishabh-2022-04-21_08:55:52-fs-wip-vshankar-testing-20220420-113951-distro-basic-smithi/ |
7249366 to
fff229c
Compare
|
jenkins test make check |
|
@vshankar This PR too is ready for merge (teuth tests passed and CI is green). |
Import just the necessary object instead of importing entire module. Signed-off-by: Rishabh Dave <ridave@redhat.com>
When running "sudo ./check generic/099" in test_acls.py's test method named test_acls(), set omit_sudo to False because without it vstart_runner.py will remove "sudo" from command arguments and so the command will fail unnecessarily. Fixes: https://tracker.ceph.com/issues/55374 Signed-off-by: Rishabh Dave <ridave@redhat.com>
StringIO can be operated on without extra hassles of converting. So replace BytesIO by StringIO in test_acls.py and xfstests_dev.py Signed-off-by: Rishabh Dave <ridave@redhat.com>
Print return code, stdout and stderr for the command that launches xfstests-dev tests against CephFS when it fails. Signed-off-by: Rishabh Dave <ridave@redhat.com>
In xfstests-dev, "./check generic/abcd" doesn't end in error even when there is no test abcd in generic. It's better to check the stdout to verify success and print the returncode, stdout and stderr of the command in logs so that such error can be found out by reading logs. Signed-off-by: Rishabh Dave <ridave@redhat.com>
fff229c to
eac8358
Compare
|
About last push: included the change requested here #45950 (comment) and rebased the PR. |
|
@vshankar PTAL. |
|
Can one of the admins verify this patch? |
|
@rishabh-d-dave - IIRC, you would be running this through (xfs)tests before you want me to take a look at this? |
No, that was a different xfstests PR, this one has already been tested 2 weeks ago. See #45950 (comment). |
One of the commit fixes: https://tracker.ceph.com/issues/55374.
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