Project

General

Profile

Actions

Bug #47516

closed

test/librados: endian bugs with checksum test cases

Added by Ulrich Weigand over 3 years ago. Updated over 3 years ago.

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

0%

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

Description

Running the rados/test.sh script under Teuthology on IBM Z shows a number of errors along the lines of:
2020-09-15T14:46:36.747 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: [ RUN ] CReadOpsTest.Checksum
2020-09-15T14:46:36.747 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: /build/ceph/src/test/librados/c_read_operations.cc:402: Failure
2020-09-15T14:46:36.747 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: Expected equality of these values:
2020-09-15T14:46:36.747 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: 1U
2020-09-15T14:46:36.748 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: Which is: 1
2020-09-15T14:46:36.748 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: crc0
2020-09-15T14:46:36.748 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: Which is: 16777216
2020-09-15T14:46:36.748 INFO:tasks.workunit.client.0.m8330033.stdout: api_c_read_operations: [ FAILED ] CReadOpsTest.Checksum (4 ms)

All of those are related to the checksum operation. The problem seems to be that this operation expects little-endian inputs and outputs, but is called (in most places) with native endian types.


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #47802: octopus: test/librados: endian bugs with checksum test casesResolvedNathan CutlerActions
Copied to Ceph - Backport #47803: nautilus: test/librados: endian bugs with checksum test casesResolvedNathan CutlerActions
Actions #2

Updated by Nathan Cutler over 3 years ago

  • Status changed from New to Pending Backport
Actions #3

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47802: octopus: test/librados: endian bugs with checksum test cases added
Actions #4

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #47803: nautilus: test/librados: endian bugs with checksum test cases added
Actions #5

Updated by Nathan Cutler over 3 years ago

  • Pull request ID set to 37215
Actions #6

Updated by Nathan Cutler over 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF