Bug #43945
closed
Test failure: test_osd_create (tasks.mgr.test_orchestrator_cli.TestOrchestratorCli)
Added by Sage Weil over 4 years ago.
Updated over 4 years ago.
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.
/a/sage-2020-02-01_20:59:41-rados-wip-sage-testing-2020-02-01-1055-distro-basic-smithi/4725047
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
- Project changed from mgr to Orchestrator
- Category changed from 151 to teuthology
- Status changed from New to Fix Under Review
- Pull request ID set to 33055
- Status changed from Fix Under Review to Resolved
Also available in: Atom
PDF