Project

General

Profile

Bug #42706

LibRadosList.EnumerateObjectsSplit fails

Added by Sage Weil 4 months ago. Updated 3 months ago.

Status:
New
Priority:
High
Assignee:
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:

Description

2019-11-08T02:20:55.841 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: [ RUN      ] LibRadosList.EnumerateObjectsSplit
2019-11-08T02:20:55.841 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: /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/15.0.0-6959-g6efb5ba/rpm/el7/BUILD/ceph-15.0.0-6959-g6efb5ba/src/tes
t/librados/list.cc:466: Failure
2019-11-08T02:20:55.841 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: Value of: set_pg_num(&s_cluster, pool_name, 11).empty()
2019-11-08T02:20:55.842 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:   Actual: false
2019-11-08T02:20:55.842 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: Expected: true
2019-11-08T02:20:55.843 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: *** Caught signal (Segmentation fault) **
2019-11-08T02:20:55.843 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  in thread 7f88e69fe4c0 thread_name:ceph_test_rados
2019-11-08T02:20:55.843 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  ceph version 15.0.0-6959-g6efb5ba (6efb5bac3deee53b8b799cbac04ac70be6e20458) octopus (dev)
2019-11-08T02:20:55.843 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  1: (()+0xf630) [0x7f88e62a2630]
2019-11-08T02:20:55.844 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  2: (()+0x8fd6a) [0x7f88e653ed6a]
2019-11-08T02:20:55.844 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  3: (rados_ioctx_snap_set_read()+0x2c) [0x7f88e64ece9c]
2019-11-08T02:20:55.844 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  4: (RadosTestNS::cleanup_all_objects(void*)+0x3a) [0x5620951e216a]
2019-11-08T02:20:55.844 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  5: (RadosTestNS::TearDown()+0x1d) [0x5620951e267d]
2019-11-08T02:20:55.845 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  6: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x4a) [0x5620951dacaa]
2019-11-08T02:20:55.845 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  7: (testing::TestInfo::Run()+0x12d) [0x5620951d07ad]
2019-11-08T02:20:55.845 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  8: (testing::TestSuite::Run()+0xb5) [0x5620951d0895]
2019-11-08T02:20:55.845 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  9: (testing::internal::UnitTestImpl::RunAllTests()+0x453) [0x5620951d0d83]
2019-11-08T02:20:55.846 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  10: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x4a) [0x5620951db24a]
2019-11-08T02:20:55.846 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  11: (testing::UnitTest::Run()+0x8e) [0x5620951d0f8e]
2019-11-08T02:20:55.846 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  12: (main()+0xe4) [0x562095195984]
2019-11-08T02:20:55.846 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  13: (__libc_start_main()+0xf5) [0x7f88daf52545]
2019-11-08T02:20:55.846 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  14: (()+0x350a0) [0x5620951960a0]
2019-11-08T02:20:55.847 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list: 2019-11-08T02:20:55.825+0000 7f88e69fe4c0 -1 *** Caught signal (Segmentation fault) **
2019-11-08T02:20:55.847 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:  in thread 7f88e69fe4c0 thread_name:ceph_test_rados
2019-11-08T02:20:55.847 INFO:tasks.workunit.client.0.smithi200.stdout:                 api_list:

/a/sage-2019-11-07_22:38:52-rados-wip-sage-testing-2019-11-07-1412-distro-basic-smithi/4480743

History

#1 Updated by Brad Hubbard 3 months ago

  • Assignee set to Brad Hubbard

#2 Updated by Patrick Donnelly 3 months ago

  • Status changed from 12 to New

#3 Updated by huang jun 3 months ago

rados_cluster handler will be freed if set_pg_num failed,

106 std::string set_pg_num(
107     rados_t *cluster, const std::string &pool_name, uint32_t pg_num)
108 {
109   // Wait for 'creating' to clear
110   int r = wait_for_healthy(cluster);
111   if (r != 0) {
112     goto err;
113   }
114  
115   // Adjust pg_num
116   r = rados_pool_set(cluster, pool_name, "pg_num", stringify(pg_num));
117   if (r != 0) {
118     goto err;
119   }
120  
121   // Wait for 'creating' to clear
122   r = wait_for_healthy(cluster);
123   if (r != 0) {
124     goto err;
125   }
126  
127   return "";
128  
129 err:
130   rados_shutdown(*cluster);
131   std::ostringstream oss;
132   oss << __func__ << "(" << pool_name << ") failed with error " << r;
133   return oss.str();
134 }                   

then in the cleanup stage it will cause segmentation fault.

Also available in: Atom PDF