Project

General

Profile

Actions

Bug #43945

closed

Test failure: test_osd_create (tasks.mgr.test_orchestrator_cli.TestOrchestratorCli)

Added by Sage Weil about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
teuthology
Target version:
-
% Done:

0%

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

Description

2020-02-01T09:38:18.272 INFO:tasks.cephfs_test_runner:======================================================================
2020-02-01T09:38:18.273 INFO:tasks.cephfs_test_runner:FAIL: test_osd_create (tasks.mgr.test_orchestrator_cli.TestOrchestratorCli)
2020-02-01T09:38:18.273 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-02-01T09:38:18.273 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-02-01T09:38:18.273 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2020-01-31-1746/qa/tasks/mgr/test_orchestrator_cli.py", line 94, in test_osd_create
2020-02-01T09:38:18.274 INFO:tasks.cephfs_test_runner:    self.assertEqual(res, 0)
2020-02-01T09:38:18.274 INFO:tasks.cephfs_test_runner:AssertionError: 22 != 0
2020-02-01T09:38:18.274 INFO:tasks.cephfs_test_runner:
2020-02-01T09:38:18.274 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------

/a/sage-2020-02-01_03:27:35-rados-wip-sage-testing-2020-01-31-1746-distro-basic-smithi/4723172

seems to fail reliably.

Note that https://github.com/ceph/ceph/pull/33014 just merged which fixed making almost every test fail test_osd_create; now only one test fails test_osd_create each run.

Actions #1

Updated by Sage Weil about 4 years ago

/a/sage-2020-02-01_20:59:41-rados-wip-sage-testing-2020-02-01-1055-distro-basic-smithi/4725047

Actions #2

Updated by Kiefer Chang about 4 years ago

2020-02-01T09:38:17.773 INFO:tasks.ceph.mgr.x.smithi199.stderr:2020-02-01T09:38:17.771+0000 7f654bf74700 -1 mgr.server reply reply (22) Invalid argument Traceback (most rec
ent call last):
2020-02-01T09:38:17.773 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1069, in _handle_command
2020-02-01T09:38:17.773 INFO:tasks.ceph.mgr.x.smithi199.stderr:    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 309, in call
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:    return self.func(mgr, **kwargs)
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 140, in wrapper
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:    return func(*args, **kwargs)
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/share/ceph/mgr/orchestrator_cli/module.py", line 352, in _create_osd
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:    dgs = DriveGroupSpecs(yaml.load(inbuf))
2020-02-01T09:38:17.774 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/lib/python3.6/site-packages/ceph/deployment/drive_group.py", line 117, in __init__
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:    self.build_drive_groups()
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/lib/python3.6/site-packages/ceph/deployment/drive_group.py", line 122, in build_drive_groups
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:    (drive_group_spec, name=drive_group_name))
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:  File "/usr/lib/python3.6/site-packages/ceph/deployment/drive_group.py", line 225, in from_json
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:    for applied_filter in list(json_drive_group.keys()):
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:AttributeError: 'str' object has no attribute 'keys'
2020-02-01T09:38:17.775 INFO:tasks.ceph.mgr.x.smithi199.stderr:

The test needs to support named DriveGroups introduced in https://github.com/ceph/ceph/pull/32972

Actions #3

Updated by Kiefer Chang about 4 years ago

  • Project changed from mgr to Orchestrator
  • Category changed from 151 to teuthology
Actions #4

Updated by Kiefer Chang about 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 33055
Actions #5

Updated by Sage Weil about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF