]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
teuthology: s/cStringIO.StringIO/six.StringIO/
authorKefu Chai <kchai@redhat.com>
Sun, 5 Apr 2020 13:06:40 +0000 (21:06 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 5 Apr 2020 13:19:13 +0000 (21:19 +0800)
commit141d7e504081e145c2b69200119961e25eea5316
tree86004847f4ad425d0338092158d2a50ef9fd1812
parent37546b34f422e3f54434c80727564f510faaf60e
teuthology: s/cStringIO.StringIO/six.StringIO/

to be py3 compatible. this addresses the failure of
```
2020-04-05T12:35:02.036 INFO:teuthology.run_tasks:Running task ssh_keys...
2020-04-05T12:35:02.050 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_py3/teuthology/run_tasks.py", line 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_py3/teuthology/run_tasks.py", line 64, in run_one_task
    task = get_task(taskname)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_py3/teuthology/run_tasks.py", line 28, in get_task
    module = _import('tasks', module_name, task_name, fail_on_import_error=True)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_py3/teuthology/run_tasks.py", line 52, in _import
    0,
ImportError: No module named 'tasks.ssh_keys'
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/orchestra/test/integration/test_integration.py
teuthology/task/hadoop.py
teuthology/task/ssh_keys.py