Project

General

Profile

Actions

Bug #45559

closed

teuthology seems to ignore py2 teuthology_branch directive in yaml file

Added by Brad Hubbard almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

http://pulpito.ceph.com/bhubbard-2020-05-15_01:07:37-rados-wip-badone-testing-mimic-distro-basic-smithi/5055147/
http://pulpito.front.sepia.ceph.com/bhubbard-2020-05-13_06:50:26-rados-wip-nautilus-badone-testing-2-distro-basic-smithi/5051178/

These jobs failed while running the test when launched with teuthology-suite. When I copy orig.config.yaml for these jobs and launch them using the teuthology command line they fail with the following error.

2020-05-15 02:41:26,918.918 INFO:teuthology.run_tasks:Running task ceph...
2020-05-15 02:41:26,944.944 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/bhubbard/src/teuthology/teuthology/run_tasks.py", line 87, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/bhubbard/src/teuthology/teuthology/run_tasks.py", line 65, in run_one_task
    task = get_task(taskname)
  File "/home/bhubbard/src/teuthology/teuthology/run_tasks.py", line 29, in get_task
    module = _import('tasks', module_name, task_name, fail_on_import_error=True)
  File "/home/bhubbard/src/teuthology/teuthology/run_tasks.py", line 53, in _import
    0,
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-badone-testing-mimic/qa/tasks/ceph.py", line 6, in <module>
    from cStringIO import StringIO
ModuleNotFoundError: No module named 'cStringIO'

This seems to be a py2 code running on py3 error which makes me suspect the teuthology_branch directive is being ignored.

Actions #1

Updated by Brad Hubbard almost 4 years ago

  • Status changed from New to Rejected

Josh reminded me I need to check out the branch locally since the teuthology command line is based on the local copy.

Actions

Also available in: Atom PDF