Project

General

Profile

Actions

Bug #77808

closed
AD MW

Feature #75023: Support for Erasure Coded Metadata Pools

Feature #74186: Support for OMAPs in EC Pools

smoke/basic rados_api_tests: ceph_test_rados_api_omap_pp omap recovery tests fail under concurrent thrashosds

Bug #77808: smoke/basic rados_api_tests: ceph_test_rados_api_omap_pp omap recovery tests fail under concurrent thrashosds

Added by Adarsha Dinda 5 months ago. Updated 3 months ago.

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

100%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
smoke
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:
2026-08-28T16:38:08+00:00

Description

qa/suites/smoke/basic/tasks/test/rados_api_tests.yaml runs thrashosds (pgnum grow/shrink, 1200s timeout) concurrently with qa/workunits/rados/test.sh, which includes ceph_test_rados_api_omap_pp.

Two omap recovery gtests consistently fail after ~66 seconds (just past the tests’ 60s wait_for_upmap timeout):

  • OmapTest.OmapRecovery/Replicated
  • OmapTest.LargeOmapRecovery/Replicated

OmapTest.NoOmapRecovery/Replicated in the same binary passes on the same run.

While the omap recovery tests run, logs show OSD instability from thrashing, e.g.:

Error ENXIO: problem getting command descriptions from osd.N

The job fails as:

Command failed (workunit test rados/test.sh) ... status 1

Log link - https://pulpito.ceph.com/jenkins-build-2026-06-25_06:03:13-smoke-main-distro-default-trial/314801/


Related issues 1 (0 open — 1 closed)

Is duplicate of Ceph - Bug #78294: Some Rados API tests can fail when the test suite is doing error injectResolvedMatty Williams

Actions

LF Updated by Laura Flores 5 months ago Actions #1

/a/jenkins-build-2026-06-25_06:03:13-smoke-main-distro-default-trial/314801/

2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [ RUN      ] OmapTest.LargeOmapRecovery/Replicated
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Previous up osds: 1 3
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Previous primary osd: 1
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: New primary osd: 3
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Desired up osds: 3 1
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: ./src/test/librados/omap_cxx.cc:661: Failure
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Value of: res2 == 0
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp:   Actual: false
2026-06-25T06:35:54.237 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Expected: true
2026-06-25T06:35:54.238 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: 
...
2026-06-25T06:35:58.821 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [  FAILED  ] OmapTest.LargeOmapRecovery/Replicated, where GetParWaiting for test api_snapshots (PID 12395)... waited 100 seconds
...
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [ RUN      ] OmapTest.GenerationalObjectRecovery/Replicated
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Created object with original omap data
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Deleted object (generational tombstone created)
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Recreated object with new HEAD omap data
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Previous up osds: 2 3
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Previous primary osd: 2
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: New primary osd: 3
2026-06-25T06:37:45.321 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Desired up osds: 3 2
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Set new upmap to trigger recovery
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: ./src/test/librados/omap_cxx.cc:1761: Failure
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Value of: res2 == 0  
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp:   Actual: false
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Expected: true
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp:
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Recovery completed
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Retrieved omap value: new_head_generation_value
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Expected value: new_head_generation_value
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Retrieved omap header: new_head_generation_header
2026-06-25T06:37:45.322 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: Expected header: new_head_generation_header
2026-06-25T06:37:45.323 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [  FAILED  ] OmapTest.GenerationalObjectRecovery/Replicated, where GetParam() = 4-byte object <00-00 00-00> (65081 ms)
...
2026-06-25T06:37:45.326 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [  FAILED  ] 2 tests, listed below:
2026-06-25T06:37:45.326 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [  FAILED  ] OmapTest.LargeOmapRecovery/Replicated, where GetParam() = 4-byte object <00-00 00-00>
2026-06-25T06:37:45.326 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp: [  FAILED  ] OmapTest.GenerationalObjectRecovery/Replicated, where GetParam() = 4-byte object <00-00 00-00>
2026-06-25T06:37:45.327 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp:
2026-06-25T06:37:45.327 INFO:tasks.workunit.client.0.trial177.stdout:              api_omap_pp:  2 FAILED TESTS

LF Updated by Laura Flores 5 months ago Actions #2

  • Project changed from teuthology to RADOS
  • Category deleted (QA Suite)
  • Assignee set to Matty Williams

@Matty Williams could this have any relation to https://github.com/ceph/ceph/pull/66726?

Note that the error is coming from the "smoke" suite rather than "rados", which is why this may have been missed.

MW Updated by Matty Williams 5 months ago Actions #3

Yes, this is related to that PR. I'm looking into a fix now.

MW Updated by Matty Williams 5 months ago Actions #4

  • Status changed from New to In Progress

MW Updated by Matty Williams 5 months ago Actions #5

  • Parent task set to #74186

MW Updated by Matty Williams 5 months ago Actions #6

  • % Done changed from 0 to 80
  • Pull request ID set to 69931

MW Updated by Matty Williams 5 months ago Actions #7

The omap recovery tests in ceph_test_rados_api_omap_pp attempt to change the upmap of a PG. That should not be happening alongside osd thrashing, so these tests will need to be skipped/removed when run from the smoke suite.

MW Updated by Matty Williams 5 months ago Actions #8

  • Status changed from In Progress to Fix Under Review
  • % Done changed from 80 to 100

LF Updated by Laura Flores 5 months ago Actions #9

Will review the changes.

MW Updated by Matty Williams 5 months ago Actions #10

  • Status changed from Fix Under Review to In Progress
  • % Done changed from 100 to 80
  • Pull request ID changed from 69931 to 70157

MW Updated by Matty Williams 5 months ago Actions #11

I've created a new PR that is more generic, to work with all the different test suites that run the rados API tests with external error inject.
This will replace the old PR.

LF Updated by Laura Flores 5 months ago Actions #12

New PR in draft mode -- initial concept looks good; will review again when it's out of draft mode.

MW Updated by Matty Williams 5 months ago Actions #13

  • Related to Bug #78294: Some Rados API tests can fail when the test suite is doing error inject added

MW Updated by Matty Williams 5 months ago Actions #14

  • Status changed from In Progress to Duplicate

MW Updated by Matty Williams 5 months ago Actions #15

  • Related to deleted (Bug #78294: Some Rados API tests can fail when the test suite is doing error inject)

MW Updated by Matty Williams 5 months ago Actions #16

  • Is duplicate of Bug #78294: Some Rados API tests can fail when the test suite is doing error inject added

UB Updated by Upkeep Bot 4 months ago Actions #17

  • Merge Commit set to 47f638fd5a3d54f07479894021dc7ce87a7a3791
  • Fixed In set to v21.3.0-1776-g47f638fd5a
  • Upkeep Timestamp set to 2026-08-05T12:39:14+00:00

MW Updated by Matty Williams 4 months ago Actions #18

  • Pull request ID deleted (70157)

UB Updated by Upkeep Bot 3 months ago Actions #19

  • Merge Commit deleted (47f638fd5a3d54f07479894021dc7ce87a7a3791)
  • Fixed In deleted (v21.3.0-1776-g47f638fd5a)
  • Upkeep Timestamp changed from 2026-08-05T12:39:14+00:00 to 2026-08-28T16:38:08+00:00

MW Updated by Matty Williams 3 months ago Actions #20

  • % Done changed from 80 to 100
Actions

Also available in: PDF Atom