Skip to content

test/store_test: fix wrong write size for some test cases. - #70158

Open
ifed01 wants to merge 1 commit into
ceph:mainfrom
ifed01:wip-ifed-fix-append-deferred-test
Open

ifed01 wants to merge 1 commit into
ceph:mainfrom
ifed01:wip-ifed-fix-append-deferred-test

Conversation

@ifed01

@ifed01 ifed01 commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

This includes:

  • AppendDeferredVsTailCache
  • AppendZeroTrailingSharedBlock

Plus some cleanup around write buffer creation to make it up-to-date.

Fixes: https://tracker.ceph.com/issues/78183

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@ifed01
ifed01 requested review from Jayaprakash-ibm and aclamk July 13, 2026 12:02
@ifed01
ifed01 force-pushed the wip-ifed-fix-append-deferred-test branch 2 times, most recently from 31fb245 to 7c9d3f2 Compare July 14, 2026 13:43
Comment thread src/test/objectstore/store_test.cc Resolved
@ifed01
ifed01 force-pushed the wip-ifed-fix-append-deferred-test branch from 7c9d3f2 to 082ed15 Compare July 28, 2026 14:01
@Jayaprakash-ibm

Jayaprakash-ibm commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

I see a teuthology failure, might related to this PR : https://pulpito-ng.ceph.com/runs/jayaprakash-2026-08-13_15:17:09-rados-wip-jaya-bs-testing-13-08-2026-distro-default-trial/jobs/465958

2026-08-13T20:06:54.810 INFO:teuthology.orchestra.run.trial145.stdout:[ RUN      ] ObjectStore/StoreTest.AppendDeferredVsTailCache/0
2026-08-13T20:06:54.811 INFO:teuthology.orchestra.run.trial145.stderr:Creating collection meta
2026-08-13T20:06:54.811 INFO:teuthology.orchestra.run.trial145.stderr:*** Caught signal (Segmentation fault) **
2026-08-13T20:06:54.811 INFO:teuthology.orchestra.run.trial145.stderr: in thread 7e1d93169040 thread_name:ceph_test_objec
2026-08-13T20:06:54.811 INFO:teuthology.orchestra.run.trial145.stderr: ceph version 21.3.0-1999-g18b15d1e (18b15d1eb175ea2a2191727621ca9b16bd39cbaa) umbrella (dev - None)
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 1: /lib/x86_64-linux-gnu/libc.so.6(+0x45330) [0x7e1d94245330]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 2: (ceph::common::PerfCounters::get(int) const+0x4) [0x7e1d94d67734]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 3: (StoreTest_AppendDeferredVsTailCache_Test::TestBody()+0xc08) [0x5a78add833b8]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 4: (testing::Test::Run()+0x100) [0x5a78ae083950]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 5: (testing::TestInfo::Run()+0x42d) [0x5a78ae083e1d]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 6: /usr/bin/ceph_test_objectstore(+0x653875) [0x5a78ae0a4875]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 7: (testing::internal::UnitTestImpl::RunAllTests()+0x69f) [0x5a78ae096f6f]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 8: (testing::UnitTest::Run()+0x8e) [0x5a78ae093cee]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 9: main()
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 10: /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7e1d9422a1ca]
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 11: __libc_start_main()
2026-08-13T20:06:54.812 INFO:teuthology.orchestra.run.trial145.stderr: 12: _start()
2026-08-13T20:06:54.826 DEBUG:teuthology.orchestra.run:got remote process result: None
2026-08-13T20:06:54.826 ERROR:teuthology.run_tasks:Saw exception from tasks.

This includes:
- AppendDeferredVsTailCache
- AppendZeroTrailingSharedBlock

Plus some cleanup around write buffer creation to make it up-to-date.

Fixes: https://tracker.ceph.com/issues/78183

Signed-off-by: Igor Fedotov <[email protected]>
@ifed01
ifed01 force-pushed the wip-ifed-fix-append-deferred-test branch from 082ed15 to f740422 Compare August 26, 2026 09:48
@ifed01

ifed01 commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor Author

I see a teuthology failure, might related to this PR

It' relevant indeed. Thanks for catching. Should be good now.

@ifed01 ifed01 closed this Aug 26, 2026
@ifed01 ifed01 reopened this Aug 26, 2026
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Oct 30, 2026
@ifed01

ifed01 commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Unstale.

@Jayaprakash-ibm , mind retesting?

@Jayaprakash-ibm

Copy link
Copy Markdown
Contributor

This PR has been added to wip-jaya-bs-testing-18-11-2026.

@aclamk
aclamk self-requested a review November 20, 2026 16:41

@aclamk aclamk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It turns out that with bluestore_write_v2=true unittest fails.

@Jayaprakash-ibm

Copy link
Copy Markdown
Contributor

Dropping from the batch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants