Project

General

Profile

Actions

Bug #68518

closed
MB MO

TierFlushOp::_finish(TestOp::CallbackInfo*) - got unexpected ENOENT

Bug #68518: TierFlushOp::_finish(TestOp::CallbackInfo*) - got unexpected ENOENT

Added by Matan Breizman about 2 years ago. Updated 18 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v19.3.0-7265-ga79ff9a183
Released In:
v20.2.0~1230
Upkeep Timestamp:
2026-08-27T18:18:01+00:00

Description

https://pulpito.ceph.com/skanta-2024-09-06_04:28:47-rados-wip-bharath6-testing-2024-09-05-1413-squid-distro-default-smithi/7891425

This test is cache-tiering related, and should be removed.

2024-09-06T05:12:14.077 INFO:tasks.rados.rados.0.smithi052.stdout:update_object_version oid 49 v 0 (ObjNum 48 snap 0 seq_num 48) dirty exists
2024-09-06T05:12:14.078 INFO:tasks.rados.rados.0.smithi052.stdout:1227:  got (2) No such file or directory
2024-09-06T05:12:14.078 INFO:tasks.rados.rados.0.smithi052.stderr:1227: got unexpected ENOENT
2024-09-06T05:12:14.078 INFO:tasks.rados.rados.0.smithi052.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.1.1-261-ge856d6b2/rpm/el9/BUILD/ceph-19.1.1-261-ge856d6b2/src/test/osd/RadosModel.h: In function 'virtual void TierFlushOp::_finish(TestOp::CallbackInfo*)' thread 7fe80500b640 time 2024-09-06T05:12:14.081569+0000
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr:/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos9/DIST/centos9/MACHINE_SIZE/gigantic/release/19.1.1-261-ge856d6b2/rpm/el9/BUILD/ceph-19.1.1-261-ge856d6b2/src/test/osd/RadosModel.h: 2974: ceph_abort_msg("abort() called")
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: ceph version 19.1.1-261-ge856d6b2 (e856d6b2462509a377ef39149a05475ed006ebac) squid (stable)
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xd3) [0x7fe809983417]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 2: ceph_test_rados(+0x2db6b) [0x55bfc38a8b6b]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 3: (write_callback(void*, void*)+0x1e) [0x55bfc38b78fe]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 4: /lib64/librados.so.2(+0xb5319) [0x7fe80a38b319]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 5: /lib64/librados.so.2(+0xb67ae) [0x7fe80a38c7ae]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 6: /lib64/librados.so.2(+0xb6c43) [0x7fe80a38cc43]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 7: /lib64/librados.so.2(+0x137efe) [0x7fe80a40defe]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 8: /lib64/librados.so.2(+0xd229f) [0x7fe80a3a829f]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 9: /lib64/libstdc++.so.6(+0xdbad4) [0x7fe808edbad4]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 10: /lib64/libc.so.6(+0x89c52) [0x7fe808a89c52]
2024-09-06T05:12:14.079 INFO:tasks.rados.rados.0.smithi052.stderr: 11: /lib64/libc.so.6(+0x10ec80) [0x7fe808b0ec80]
2024-09-06T05:12:14.088 INFO:teuthology.orchestra.run.smithi188.stdout:ERROR: (22) Invalid argument

Related issues 3 (1 open — 2 closed)

Related to Ceph - Bug #65852: ceph_test_rados unexpected ENOENT on deleteResolvedLaura Flores

Actions
Has duplicate RADOS - Bug #69011: rados/thrash: ceph_test_rados dedup test failsDuplicateMyoungwon Oh

Actions
Copied to RADOS - Backport #69772: squid: TierFlushOp::_finish(TestOp::CallbackInfo*) - got unexpected ENOENTNewMyoungwon Oh

Actions

MB Updated by Matan Breizman about 2 years ago Actions #1

  • Related to Bug #65852: ceph_test_rados unexpected ENOENT on delete added

RZ Updated by Radoslaw Zarzynski about 2 years ago Actions #2

  • Tags set to low-hanging-fruit

LF Updated by Laura Flores about 2 years ago Actions #3

Bump up

LF Updated by Laura Flores about 2 years ago Actions #4

This bug comes from the function 'virtual void TierFlushOp::_finish(TestOp::CallbackInfo*)' in the file src/test/osd/RadosModel.h. The fix might involve removing some code from the RadosModel code that calls this function.

NN Updated by Naveen Naidu about 2 years ago Actions #5

  • Assignee set to Naveen Naidu

RZ Updated by Radoslaw Zarzynski about 2 years ago Actions #6

Hi @Naveen Naidu! Is this in progress?

NN Updated by Naveen Naidu about 2 years ago Actions #7

Hi @Radoslaw Zarzynski, yes I am working on it. Apologies for the delay I have been out the last week.

NN Updated by Naveen Naidu about 2 years ago Actions #8

Updates:

I have identified the place where the issue is coming up from but I have a few questions regarding it. Adding my questions below, will update the thread with answers once I find them.

Going through this and other related ticket (https://tracker.ceph.com/issues/65852), I see that this issue is related to Cache Tiering and according to our docs, this feature has been deprecated (https://docs.ceph.com/en/reef/rados/operations/cache-tiering/) . I went through the code and I found the PR that added the function from where the bug is arising from (PR Link - https://github.com/ceph/ceph/pull/28778/files?diff=unified&w=0#diff-4b6f012e41dc0cb86ea444c8de8a7ccc3ce61e4bfda01ca685f5a8d9abfaa09dR2735)

Looking at other related PR's, is it right to assume that we do not want to have any cache tiering code and are in process of slowly removing them?

My questions:
  1. The bug is popping up because of the existing cache tiering test in TestRados.cc. I am slightly confused here: Do I just remove the test and test related code that causes this bug (OR) Do I revert all the changes that were done in the PR that added this code. My understanding: From looking at previous PR's we are only removing the test files. That means I would have to go with option 1? Is this correct
  2. How do I replicate this bug? I would like to test that this bug does not pop up after I make the changes?
  3. Question based on previous info, What is the process of deprecating features at Ceph? Do we first remove all tests and then the related code? Are there any documents for this that I can read?

NN Updated by Naveen Naidu about 2 years ago Actions #9

  • Pull request ID set to 60905

MO Updated by Myoungwon Oh about 2 years ago Actions #10

Hi all,
This tier-flush is not related to the existing cache-tiering. It specifically targets the deduplication feature I developed. I can take on this issue if you need any help.

LF Updated by Laura Flores about 2 years ago ยท Edited Actions #11

Hi @Myoungwon Oh thanks for your comment. I requested your review on @Naveen Naidu 's PR so perhaps we can have Naveen tackle this another way.

@Naveen Naidu I will let you decide if you still want to keep this issue or reassign to @Myoungwon Oh.

LF Updated by Laura Flores almost 2 years ago Actions #12

  • Has duplicate Bug #69011: rados/thrash: ceph_test_rados dedup test fails added

NN Updated by Naveen Naidu almost 2 years ago Actions #13

@Laura Flores I would still like to work on this issue, would be a good chance for me to learn about this feature ^^

@Myoungwon Oh please have a look at the PR and let me know if there is a better way to go about this. (P.S: Please expect some questions from my end after your review ^^')

MO Updated by Myoungwon Oh almost 2 years ago Actions #14

@Naveen Naidu No problem.

I usually accessed the symbolic link /a/ to view the logs (e.g., /a/teuthology-2024-12-01...), but I noticed that the link was missing when I logged into the teuthology server. Has the method for accessing the logs changed?

MO Updated by Myoungwon Oh almost 2 years ago Actions #15

I added comment.
Anyway, please let me know how to check the log on the sepia lab---probably permission is necessary to access /a/ ?---if you know.

NN Updated by Naveen Naidu almost 2 years ago Actions #16

@Myoungwon Oh thanks for the comment, I am looking into it.

Anyway, please let me know how to check the log on the sepia lab---probably permission is necessary to access /a/ ?---if you know.

I can confirm that I am unable to access the logs via the teuthology server too. But I can access the logs from the vossi06 machine using /a/skanta-2024-09-06_04:28:47-rados-wip-bharath6-testing-2024-09-05-1413-squid-distro-default-smithi/7891425. If you have access to the vossi06 machine, can you please try fetching these logs from there.

@Laura Flores would you have an idea why these logs are available on vossi06 but not on teuthology server?

RZ Updated by Radoslaw Zarzynski almost 2 years ago Actions #17

  • Status changed from New to In Progress

LF Updated by Laura Flores almost 2 years ago Actions #18

  • Status changed from In Progress to New

@Myoungwon Oh @Naveen Naidu a little while ago, Patrick D. moved the archive filesystem off of the teuthology node to improve load. You can still check /a/ on any of the developer playground nodes: https://wiki.sepia.ceph.com/doku.php?id=devplayground

I personally check on folio02.

LF Updated by Laura Flores almost 2 years ago Actions #19

  • Status changed from New to In Progress

MO Updated by Myoungwon Oh almost 2 years ago Actions #20

NN Updated by Naveen Naidu almost 2 years ago Actions #21

I can take on this issue if you need any help.

@Myoungwon Oh would you be able to take this issue up please, I looked through the documentation and the code and I fear it's taking me much longer than expected to understand the context around the feature to fix this issue. Sorry for the delay ^^'

LF Updated by Laura Flores almost 2 years ago Actions #22

  • Assignee changed from Naveen Naidu to Myoungwon Oh

@Myoungwon Oh I reassigned to you- let us know if you can still take this on.

MO Updated by Myoungwon Oh almost 2 years ago Actions #23

OK, I'll take a look at this.

MO Updated by Myoungwon Oh almost 2 years ago Actions #24

I made a candidate fix as follow, and scheduled a job for building package to run teuthology. Will test this several times to confirm the issue is resolved.
Note that I focus on minimizing changes on OSD code.

https://shaman.ceph.com/builds/ceph/fix-68518/9e04f49a2fa5cdb08b3fb0c962c9cce3ddc52915/default/418619/
https://github.com/myoungwon/ceph/commit/9e04f49a2fa5cdb08b3fb0c962c9cce3ddc52915

LF Updated by Laura Flores almost 2 years ago Actions #27

  • Pull request ID deleted (60905)

Thanks for working on this @Myoungwon Oh! Can you create a PR and attach it so we can review it?

@Naveen Naidu should your old PR be closed, or do we still need it?

NN Updated by Naveen Naidu almost 2 years ago Actions #29

@Laura Flores yes you are correct, I have closed my previous PR!

LF Updated by Laura Flores almost 2 years ago Actions #30

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 61374

RZ Updated by Radoslaw Zarzynski almost 2 years ago Actions #31

scrub note: just waiting on jenkins test make check.

LF Updated by Laura Flores almost 2 years ago Actions #32

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot almost 2 years ago Actions #33

  • Copied to Backport #69772: squid: TierFlushOp::_finish(TestOp::CallbackInfo*) - got unexpected ENOENT added

UB Updated by Upkeep Bot almost 2 years ago Actions #34

  • Tags (freeform) set to backport_processed

LF Updated by Laura Flores almost 2 years ago Actions #35

Adding this for tracking's sake, but the build did not contain the fix that was recently merged.

/a/lflores-2025-01-31_21:01:32-rados-wip-bharath8-testing-2025-01-31-1851-distro-default-smithi/8107481

UB Updated by Upkeep Bot over 1 year ago Actions #36

  • Merge Commit set to a79ff9a18364d1a793c9e4819c6786dfc6ea1469
  • Fixed In set to v19.3.0-7265-ga79ff9a1836
  • Upkeep Timestamp set to 2025-07-08T18:34:43+00:00

LF Updated by Laura Flores over 1 year ago Actions #37

/a/yuriw-2025-06-30_19:22:49-rados-squid-release-distro-default-smithi/8359325

UB Updated by Upkeep Bot over 1 year ago Actions #38

  • Fixed In changed from v19.3.0-7265-ga79ff9a1836 to v19.3.0-7265-ga79ff9a18364
  • Upkeep Timestamp changed from 2025-07-08T18:34:43+00:00 to 2025-07-14T15:44:46+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #39

  • Fixed In changed from v19.3.0-7265-ga79ff9a18364 to v19.3.0-7265-ga79ff9a183
  • Upkeep Timestamp changed from 2025-07-14T15:44:46+00:00 to 2025-07-14T21:09:26+00:00

UB Updated by Upkeep Bot about 1 year ago Actions #40

  • Released In set to v20.2.0~1230
  • Upkeep Timestamp changed from 2025-07-14T21:09:26+00:00 to 2025-11-01T01:01:56+00:00

AM Updated by Aishwarya Mathuria 5 months ago Actions #41

squid:

/a/yuriw-2026-06-22_18:46:50-rados-wip-yuri3-testing-20260622.144259-squid-distro-default-trial/306608

2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr:939: got unexpected ENOENT
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr:./src/test/osd/RadosModel.h: In function 'virtual void TierFlushOp::_finish(TestOp::CallbackInfo*)' thread 7f16b3fff640 time 2026-06-22T19:33:38.520254+0000
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr:./src/test/osd/RadosModel.h: 2974: ceph_abort_msg("abort() called")
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr: ceph version 19.2.4-130-gbce896f6 (bce896f6e2ce9a99a93182be99047b1450072f75) squid (stable)
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr: 1: (ceph::__ceph_abort(char const*, int, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xc7) [0x7f16c50e65d0]
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr: 2: ceph_test_rados(+0x2e9bb) [0x55737175a9bb]
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr: 3: (write_callback(void*, void*)+0x1e) [0x557371768c3e]
2026-06-22T19:33:38.528 INFO:tasks.rados.rados.0.trial133.stderr: 4: /lib/librados.so.2(+0xb0f89) [0x7f16c59b4f89]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 5: /lib/librados.so.2(+0xb201e) [0x7f16c59b601e]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 6: /lib/librados.so.2(+0xb2273) [0x7f16c59b6273]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 7: /lib/librados.so.2(+0x11af8e) [0x7f16c5a1ef8e]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 8: /lib/librados.so.2(+0xc7447) [0x7f16c59cb447]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 9: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xdc253) [0x7f16c49cd253]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 10: /lib/x86_64-linux-gnu/libc.so.6(+0x94ac3) [0x7f16c473aac3]
2026-06-22T19:33:38.529 INFO:tasks.rados.rados.0.trial133.stderr: 11: /lib/x86_64-linux-gnu/libc.so.6(+0x1268d0) [0x7f16c47cc8d0]

UB Updated by Upkeep Bot 3 months ago Actions #42

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-11-01T01:01:56+00:00 to 2026-08-27T18:18:01+00:00

TS Updated by Tom Sollers 18 days ago Actions #43

/a/skanta-2026-11-03_02:28:18-rados-wip-bharath23-testing-20261102.043447-squid-distro-default-trial/706406

Actions

Also available in: PDF Atom