Project

General

Profile

Bug #21592

LibRadosCWriteOps.CmpExt got 0 instead of -4095-1

Added by Sage Weil over 6 years ago. Updated 10 months ago.

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

0%

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

Description

2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations: [ RUN      ] LibRadosCWriteOps.CmpExt
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/13.0.0-1297-g839654d/rpm/el7/BUILD/ceph-13.0.0-1297-g839654d/src/tes
t/librados/c_write_operations.cc:269: Failure
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations:       Expected: -4095 - 1
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations:       Which is: -4096
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations: To be equal to: val
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations:       Which is: 0
2017-09-28T00:51:31.869 INFO:tasks.workunit.client.0.smithi010.stdout:   api_c_write_operations: [  FAILED  ] LibRadosCWriteOps.CmpExt (2383 ms)

/a/sage-2017-09-27_21:32:47-rados-wip-sage-testing-2017-09-27-1558-distro-basic-smithi/1680032

History

#1 Updated by Sage Weil over 6 years ago

/a/sage-2017-10-03_12:00:34-rados-wip-sage-testing2-2017-10-02-2121-distro-basic-smithi/1698722

#2 Updated by Sage Weil over 6 years ago

  • Status changed from 12 to Can't reproduce

#3 Updated by Sage Weil over 5 years ago

  • Status changed from Can't reproduce to 12

/a/sage-2018-08-11_18:40:58-rados-wip-sage-testing-2018-08-11-1120-distro-basic-smithi/2893875

2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations: [ RUN      ] LibRadosCWriteOps.CmpExt
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations: /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos7/DIST/centos7/MACHINE_SIZE/huge/release/14.0.0-2109-g334d676/rpm/el7/BUILD/ceph-14.0.0-2109-g334d676/src/test/librados/c_write_operations.cc:269: Failure
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations:       Expected: -4095 - 1
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations:       Which is: -4096
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations: To be equal to: val
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations:       Which is: 0
2018-08-11T19:35:31.408 INFO:tasks.workunit.client.0.smithi040.stdout:   api_c_write_operations: [  FAILED  ] LibRadosCWriteOps.CmpExt (2044 ms)

#4 Updated by Neha Ojha over 5 years ago

/a/yuriw-2018-10-03_22:57:24-rados-wip-yuri4-testing-2018-10-03-2104-luminous-distro-basic-smithi/3099072/

#5 Updated by Sage Weil about 5 years ago

/a/sage-2019-01-11_13:08:30-rados-wip-sage-testing-2019-01-10-1950-distro-basic-smithi/3447059

#6 Updated by Sage Weil about 5 years ago

/a/sage-2019-01-23_18:09:58-rados-wip-sage2-testing-2019-01-23-0826-distro-basic-smithi/3497934

#7 Updated by Sage Weil about 5 years ago

/a/sage-2019-02-23_23:02:18-rados-wip-sage2-testing-2019-02-23-1354-distro-basic-smithi/3631993

#8 Updated by Sage Weil almost 5 years ago

2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations: [ RUN      ] LibRadosCWriteOps.CmpExt
2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations: /build/ceph-15.0.0-310-g7d62f0b/src/test/librados/c_write_operations.cc:269: Failure
2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations:       Expected: -4095 - 1
2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations:       Which is: -4096
2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations: To be equal to: val
2019-04-13T02:38:04.252 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations:       Which is: 0
2019-04-13T02:38:04.253 INFO:tasks.workunit.client.0.smithi074.stdout:   api_c_write_operations: [  FAILED  ] LibRadosCWriteOps.CmpExt (2053 ms)

/a/sage-2019-04-12_14:26:33-rados-wip-sage-testing-2019-04-12-0712-distro-basic-smithi/3838001

description: rados/thrash/{0-size-min-size-overrides/3-size-2-min-size.yaml 1-pg-log-overrides/normal_pg_log.yaml 2-recovery-overrides/{more-active-recovery.yaml} backoff/peering.yaml ceph.yaml clusters/{fixed-2.yaml openstack.yaml} d-balancer/upmap.yaml msgr-failures/osd-delay.yaml msgr/async.yaml objectstore/bluestore-stupid.yaml rados.yaml supported-random-distro$/{ubuntu_16.04.yaml} thrashers/default.yaml thrashosds-health.yaml workloads/rados_api_tests.yaml}

#9 Updated by Patrick Donnelly over 4 years ago

  • Status changed from 12 to New

#10 Updated by Sage Weil about 4 years ago

2020-03-16T17:25:40.450 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations: [ RUN      ] LibRadosCWriteOps.CmpExt
2020-03-16T17:25:40.450 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations: /build/ceph-15.1.1-64-gf735ecf/src/test/librados/c_write_operations.cc:269: Failure
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations: Expected equality of these values:
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations:   -4095 - 1
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations:     Which is: -4096
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations:   val
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations:     Which is: 0
2020-03-16T17:25:40.451 INFO:tasks.workunit.client.0.smithi099.stdout:   api_c_write_operations: [  FAILED  ] LibRadosCWriteOps.CmpExt (2072 ms)

/a/sage-2020-03-16_13:50:19-rados-wip-sage-testing-2020-03-15-1802-distro-basic-smithi/4860017

#11 Updated by Neha Ojha over 3 years ago

  • Priority changed from High to Normal

#12 Updated by Neha Ojha over 3 years ago

/a/yuriw-2020-08-01_15:45:48-rados-nautilus-distro-basic-smithi/5276330

#13 Updated by Sage Weil almost 3 years ago

/a/sage-2021-04-05_18:50:52-rados-master-distro-basic-smithi/6022643

#14 Updated by Nitzan Mordechai about 1 year ago

/a/ksirivad-2022-12-22_17:58:01-rados-wip-ksirivad-testing-pacific-distro-default-smithi/7125137/

#15 Updated by Radoslaw Zarzynski about 1 year ago

  // compare and bail before write due to mismatch
  val = 0;
  op = rados_create_write_op();
  ASSERT_TRUE(op);
  rados_write_op_cmpext(op, "four", 4, 0, &val);
  rados_write_op_write(op, "six ", 4, 0);
  ASSERT_EQ(-MAX_ERRNO - 1, rados_write_op_operate(op, ioctx, "test", NULL, 0));

  ASSERT_EQ(-MAX_ERRNO - 1, val);  // line 269

#16 Updated by Nitzan Mordechai about 1 year ago

  • Assignee set to Nitzan Mordechai

#17 Updated by Nitzan Mordechai about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 50210

#18 Updated by Nitzan Mordechai 10 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF