Actions
Bug #45332
closedqa: TestExports is failure under new Python3 runtime
% Done:
0%
Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs.pyx, qa-suite
Labels (FS):
qa
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
In http://qa-proxy.ceph.com/teuthology/sidharthanup-2020-04-28_19:54:15-multimds-master-distro-default-smithi/4995153/teuthology.log , we get failure due to this error:
`AttributeError: 'str' object has no attribute 'stdout'`
This is due to a 'str' object being used rather that an StringIO object since in the new Python3 runtime changes sh() returns a string. This error is caused after these commits were introduced : https://github.com/ceph/teuthology/commit/6242d9f649a66e8f0a9d8b3964e10d84fbfd6aad and https://github.com/ceph/teuthology/commit/6242d9f649a66e8f0a9d8b3964e10d84fbfd6aad
Actions