Project

General

Profile

Bug #38492

src/test/cls_hello/test_cls_hello.cc:95: Failure

Added by huang jun about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
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

The cls_hello test failed:
2019-02-11T14:49:43.421 INFO:tasks.workunit.client.0.mira031.stdout:[ RUN ] ClsHello.WriteReturnData
2019-02-11T14:49:44.198 INFO:tasks.workunit.client.0.mira031.stdout: src/test/cls_hello/test_cls_hello.cc:95: Failure
2019-02-11T14:49:44.199 INFO:tasks.workunit.client.0.mira031.stdout: Expected: std::string("too much input data!")
2019-02-11T14:49:44.199 INFO:tasks.workunit.client.0.mira031.stdout: Which is: "too much input data!"
2019-02-11T14:49:44.199 INFO:tasks.workunit.client.0.mira031.stdout:To be equal to: std::string(out.c_str(), out.length())
2019-02-11T14:49:44.200 INFO:tasks.workunit.client.0.mira031.stdout: Which is: ""
2019-02-11T14:49:44.201 INFO:tasks.workunit.client.0.mira031.stdout:[ FAILED ] ClsHello.WriteReturnData (781 ms)

From the log, the steps are:
1. client send cls_hello. writes_dont_return_data op to osd
2. when osd handling it,fount the client's osdmap is older one, and then share osdmap to that client, and continue to handle the op
3.client resend the cls_hello. writes_dont_return_data op after recevie the newer osdmap
4.osd found the RETRY op is a dup op,and put it into waiting_for_ondisk list,after the origin op done, it will reply the ops in waiting_for_ondisk,
use reply_op_error,but it clears the ops outdata,so the client get the empty outbl that fail the case.

History

#1 Updated by Neha Ojha about 5 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to huang jun
  • Pull request ID set to 26652

#2 Updated by Sage Weil about 5 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF