Project

General

Profile

Bug #26994

Updated by Kefu Chai over 5 years ago

in https://github.com/ceph/ceph/pull/23558/commits/00223d2364b5a6cc32eb5f83f5a642b5aef2c946 , hello is used for testing errno.EOPNOTSUPP return code. but EINVAL is returned in the test. 

 <pre> 

 2018-08-21T16:15:10.700 INFO:teuthology.orchestra.run.mira022.stderr:no valid command found; 10 closest matches: 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd erasure-code-profile ls 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd erasure-code-profile rm <name> 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd erasure-code-profile get <name> 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd erasure-code-profile set <name> {<profile> [<profile>...]} 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd unpause 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd pause 
 2018-08-21T16:15:10.701 INFO:teuthology.orchestra.run.mira022.stderr:osd set-require-min-compat-client <version> {--yes-i-really-mean-it} 
 2018-08-21T16:15:10.702 INFO:teuthology.orchestra.run.mira022.stderr:osd get-require-min-compat-client 
 2018-08-21T16:15:10.702 INFO:teuthology.orchestra.run.mira022.stderr:osd set-nearfull-ratio <float[0.0-1.0]> 
 2018-08-21T16:15:10.702 INFO:teuthology.orchestra.run.mira022.stderr:osd set-backfillfull-ratio <float[0.0-1.0]> 
 2018-08-21T16:15:10.702 INFO:teuthology.orchestra.run.mira022.stderr:Error EINVAL: invalid command 
 ... 
 2018-08-21T16:15:10.713 INFO:tasks.cephfs_test_runner:test_module_commands (tasks.mgr.test_module_selftest.TestModuleSelftest) ... FAIL 
 ... 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:FAIL: test_module_commands (tasks.mgr.test_module_selftest.TestModuleSelftest) 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:---------------------------------------------------------------------- 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:Traceback (most recent call last): 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:    File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2018-08-21-1839/qa/tasks/mgr/test_mod 
 ule_selftest.py", line 244, in test_module_commands 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:      self.assertEqual(exc_raised.exception.exitstatus, errno.EOPNOTSUPP) 
 2018-08-21T16:15:12.076 INFO:tasks.cephfs_test_runner:AssertionError: 22 != 95 
 </pre>

Back