Project

General

Profile

Actions

Bug #45332

closed

qa: TestExports is failure under new Python3 runtime

Added by Sidharth Anupkrishnan about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% 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


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #45967: nautilus: qa: TestExports is failure under new Python3 runtimeResolvedRamana RajaActions
Copied to CephFS - Backport #46011: octopus: qa: TestExports is failure under new Python3 runtimeResolvedSidharth AnupkrishnanActions
Actions

Also available in: Atom PDF