Actions
Bug #72848
open
SA
AK
ceph_assert((len % (1 << csum_chunk_order)) == 0)
Bug #72848:
ceph_assert((len % (1 << csum_chunk_order)) == 0)
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Description
/a/yuriw-2025-09-02_14:14:49-rados-wip-yuri4-testing-2025-09-01-0805-distro-default-smithi/8477163
2025-08-13T18:03:40.365 INFO:teuthology.orchestra.run.smithi003.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/20.3.0-2326-g0672d1a6/rpm/el9/BUILD/ceph-20.3.0-2326-g0672d1a6/src/os/bluestore/BlueStore.cc: In function 'BlueStore::Blob::merge_blob(ceph::common::CephContext*, BlueStore::Blob*)::<lambda(uint32_t, uint32_t)>' thread 7f23fce1fd80 time 2025-08-13T18:03:40.348210+0000
2025-08-13T18:03:40.365 INFO:teuthology.orchestra.run.smithi003.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/20.3.0-2326-g0672d1a6/rpm/el9/BUILD/ceph-20.3.0-2326-g0672d1a6/src/os/bluestore/BlueStore.cc: 2835: FAILED ceph_assert((len % (1 << csum_chunk_order)) == 0)
2025-08-13T18:03:40.366 INFO:teuthology.orchestra.run.smithi003.stderr: ceph version 20.3.0-2326-g0672d1a6 (0672d1a6543db27f4ac64fc444de15371ce97300) tentacle (dev - RelWithDebInfo)
2025-08-13T18:03:40.366 INFO:teuthology.orchestra.run.smithi003.stderr: 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x135) [0x7f23fd59b1cb]
2025-08-13T18:03:40.366 INFO:teuthology.orchestra.run.smithi003.stderr: 2: ceph_test_objectstore(+0x20b2f3) [0x56069f7bd2f3]
2025-08-13T18:03:40.366 INFO:teuthology.orchestra.run.smithi003.stderr: 3: (BlueStore::ExtentMap::make_range_shared_maybe_merge(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long)+0x1d7) [0x56069fa31087]
2025-08-13T18:03:40.367 INFO:teuthology.orchestra.run.smithi003.stderr: 4: (BlueStore::ExtentMap::dup_esb(BlueStore*, BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long&, unsigned long&, unsigned long&)+0x12f) [0x56069fa31c3f]
2025-08-13T18:03:40.367 INFO:teuthology.orchestra.run.smithi003.stderr: 5: (BlueStore::_do_clone_range(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long, unsigned long)+0x1ed) [0x56069fac759d]
2025-08-13T18:03:40.367 INFO:teuthology.orchestra.run.smithi003.stderr: 6: (BlueStore::_clone(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&)+0x7f3) [0x56069facde03]
2025-08-13T18:03:40.367 INFO:teuthology.orchestra.run.smithi003.stderr: 7: (BlueStore::_txc_add_transaction(BlueStore::TransContext*, ceph::os::Transaction*)+0x15fb) [0x56069fab1c1b]
2025-08-13T18:03:40.368 INFO:teuthology.orchestra.run.smithi003.stderr: 8: (BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x2db) [0x56069fab294b]
2025-08-13T18:03:40.368 INFO:teuthology.orchestra.run.smithi003.stderr: 9: ceph_test_objectstore(+0x9f0d48) [0x56069ffa2d48]
2025-08-13T18:03:40.368 INFO:teuthology.orchestra.run.smithi003.stderr: 10: ceph_test_objectstore(+0x31fb5b) [0x56069f8d1b5b]
2025-08-13T18:03:40.369 INFO:teuthology.orchestra.run.smithi003.stderr: 11: (StoreTestBase::doSyntheticTest(int, int, unsigned long, unsigned long, unsigned long)+0x560) [0x56069f8d45e0]
2025-08-13T18:03:40.369 INFO:teuthology.orchestra.run.smithi003.stderr: 12: (testing::Test::Run()+0xe3) [0x56069fb748c3]
2025-08-13T18:03:40.369 INFO:teuthology.orchestra.run.smithi003.stderr: 13: (testing::TestInfo::Run()+0x425) [0x56069fb74d85]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 14: ceph_test_objectstore(+0x5dacfa) [0x56069fb8ccfa]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 15: (testing::internal::UnitTestImpl::RunAllTests()+0x5ec) [0x56069fb81cac]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 16: (testing::UnitTest::Run()+0x9d) [0x56069fb7f9dd]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 17: main()
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 18: /lib64/libc.so.6(+0x295d0) [0x7f23fcc295d0]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 19: __libc_start_main()
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 20: _start()
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr:*** Caught signal (Aborted) **
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: in thread 7f23fce1fd80 thread_name:ceph_test_objec
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: ceph version 20.3.0-2326-g0672d1a6 (0672d1a6543db27f4ac64fc444de15371ce97300) tentacle (dev - RelWithDebInfo)
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 1: /lib64/libc.so.6(+0x3ea60) [0x7f23fcc3ea60]
2025-08-13T18:03:40.370 INFO:teuthology.orchestra.run.smithi003.stderr: 2: /lib64/libc.so.6(+0x8c0fc) [0x7f23fcc8c0fc]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 3: raise()
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 4: abort()
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 5: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x194) [0x7f23fd59b22a]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 6: ceph_test_objectstore(+0x20b2f3) [0x56069f7bd2f3]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 7: (BlueStore::ExtentMap::make_range_shared_maybe_merge(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long)+0x1d7) [0x56069fa31087]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 8: (BlueStore::ExtentMap::dup_esb(BlueStore*, BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long&, unsigned long&, unsigned long&)+0x12f) [0x56069fa31c3f]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 9: (BlueStore::_do_clone_range(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&, unsigned long, unsigned long, unsigned long)+0x1ed) [0x56069fac759d]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 10: (BlueStore::_clone(BlueStore::TransContext*, boost::intrusive_ptr<BlueStore::Collection>&, boost::intrusive_ptr<BlueStore::Onode>&, boost::intrusive_ptr<BlueStore::Onode>&)+0x7f3) [0x56069facde03]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 11: (BlueStore::_txc_add_transaction(BlueStore::TransContext*, ceph::os::Transaction*)+0x15fb) [0x56069fab1c1b]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 12: (BlueStore::queue_transactions(boost::intrusive_ptr<ObjectStore::CollectionImpl>&, std::vector<ceph::os::Transaction, std::allocator<ceph::os::Transaction> >&, boost::intrusive_ptr<TrackedOp>, ThreadPool::TPHandle*)+0x2db) [0x56069fab294b]
2025-08-13T18:03:40.371 INFO:teuthology.orchestra.run.smithi003.stderr: 13: ceph_test_objectstore(+0x9f0d48) [0x56069ffa2d48]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 14: ceph_test_objectstore(+0x31fb5b) [0x56069f8d1b5b]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 15: (StoreTestBase::doSyntheticTest(int, int, unsigned long, unsigned long, unsigned long)+0x560) [0x56069f8d45e0]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 16: (testing::Test::Run()+0xe3) [0x56069fb748c3]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 17: (testing::TestInfo::Run()+0x425) [0x56069fb74d85]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 18: ceph_test_objectstore(+0x5dacfa) [0x56069fb8ccfa]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 19: (testing::internal::UnitTestImpl::RunAllTests()+0x5ec) [0x56069fb81cac]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 20: (testing::UnitTest::Run()+0x9d) [0x56069fb7f9dd]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 21: main()
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 22: /lib64/libc.so.6(+0x295d0) [0x7f23fcc295d0]
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 23: __libc_start_main()
2025-08-13T18:03:40.372 INFO:teuthology.orchestra.run.smithi003.stderr: 24: _start()
2025-08-13T18:03:44.976 DEBUG:teuthology.orchestra.run:got remote process result: None
2025-08-13T18:03:44.977 ERROR:teuthology.run_tasks:Saw exception from tasks.
AK Updated by Adam Kupczyk about 1 year ago
- Assignee set to Adam Kupczyk
ML Updated by Ming Lei 3 months ago
Hello Adam,
I figured out one reproducer which may trigger the issue 100%.
t_onode a = create(), c1 = create(), c2 = create();
write_blob(a, 0, 0, csum_chunk, {csum_chunk}); // blob A
clone(a, c1, csum_chunk); // A -> shared
write_blob(a, 0, csum_chunk, 2 * csum_chunk, {0x3000, 0x5000}); // blob B
clone(a, c2, 2 * csum_chunk); // -> merge
If you don't mind, I'd like to investigate & try to cook a fix.
Thanks,
Actions