From: Patrick Donnelly Date: Tue, 9 Jun 2020 22:27:09 +0000 (-0700) Subject: qa: fix type error in stderr processing X-Git-Tag: v16.1.0~1983^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=62777f653da246b4a0a96acd139886d55d77a820;p=ceph.git qa: fix type error in stderr processing Fixes: 422d736568bd4d92fdf380b07da0ccac46cf3efd Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/fuse_mount.py b/qa/tasks/cephfs/fuse_mount.py index 59cd3fc00704..a58c7bcd398a 100644 --- a/qa/tasks/cephfs/fuse_mount.py +++ b/qa/tasks/cephfs/fuse_mount.py @@ -466,11 +466,12 @@ print(_find_admin_socket("{client_name}")) try: p = self.client_remote.run(args= ['sudo', self._prefix + 'ceph', '--admin-daemon', asok_path] + args, - stdout=StringIO(), stderr=StringIO(), + stdout=StringIO(), stderr=StringIO(), wait=False, timeout=(15*60)) + p.wait() break except CommandFailedError: - if "Connection refused" in stderr.getvalue(): + if "connection refused" in p.stderr.getvalue().lower(): pass return json.loads(p.stdout.getvalue().strip())