Bug #47516
closedtest/librados: endian bugs with checksum test cases
0%
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.
Updated by Ulrich Weigand over 3 years ago
Pull request https://github.com/ceph/ceph/pull/37215
Updated by Nathan Cutler over 3 years ago
- Status changed from New to Pending Backport
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #47802: octopus: test/librados: endian bugs with checksum test cases added
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #47803: nautilus: test/librados: endian bugs with checksum test cases added
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".