Project

General

Profile

Actions

Bug #45244

closed

Nautilus: cbt/cbt.py fails with SyntaxError: invalid syntax

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
testing
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2020-04-18_19:56:53-rados-wip-yuri4-testing-2020-04-18-1756-nautilus-distro-basic-smithi/4964859/

2020-04-18T21:02:53.254 INFO:teuthology.orchestra.run.smithi149:> /home/ubuntu/cephtest/cbt/cbt.py -a /home/ubuntu/cephtest/archive/cbt /home/ubuntu/cephtest/archive/cbt/cbt_config.yaml
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:Traceback (most recent call last):
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:  File "/home/ubuntu/cephtest/cbt/cbt.py", line 9, in <module>
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:    import benchmarkfactory
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:  File "/home/ubuntu/cephtest/cbt/benchmarkfactory.py", line 6, in <module>
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:    from benchmark.fio import Fio
2020-04-18T21:02:53.512 INFO:teuthology.orchestra.run.smithi149.stderr:  File "/home/ubuntu/cephtest/cbt/benchmark/fio.py", line 9, in <module>
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:    import client_endpoints_factory
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:  File "/home/ubuntu/cephtest/cbt/client_endpoints_factory.py", line 9, in <module>
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:    from client_endpoints.rbdtcmu_client_endpoints import RbdTcmuClientEndpoints
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:  File "/home/ubuntu/cephtest/cbt/client_endpoints/rbdtcmu_client_endpoints.py", line 13
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:    common.pdsh(node, f'sudo targetcli /backstores/user:rbd create cfgstring={self.pool}/{rbd_name} name={rbd_name} size={self.endpoint_size}M',
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:                                                                                                                                              ^
2020-04-18T21:02:53.513 INFO:teuthology.orchestra.run.smithi149.stderr:SyntaxError: invalid syntax
2020-04-18T21:02:53.528 DEBUG:teuthology.orchestra.run:got remote process result: 1
2020-04-18T21:02:53.528 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 90, in run_tasks
    manager.__enter__()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/__init__.py", line 125, in __enter__
    self.begin()
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri4-testing-2020-04-18-1756-nautilus/qa/tasks/cbt.py", line 213, in begin
    '{cbtdir}/cbt_config.yaml'.format(cbtdir=self.cbt_dir),
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi149 with status 1: '/home/ubuntu/cephtest/cbt/cbt.py -a /home/ubuntu/cephtest/archive/cbt /home/ubuntu/cephtest/archive/cbt/cbt_config.yaml'
Actions #1

Updated by Brad Hubbard about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Brad Hubbard about 4 years ago

  • Tags set to testing
Actions

Also available in: Atom PDF