Bug #12598
LibCephFS.GetPoolId failure
0%
Description
2015-08-04T06:43:28.211 INFO:tasks.workunit.client.0.plana89.stdout:[ RUN ] LibCephFS.GetPoolId 2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr:common/ceph_crypto.cc: In function 'void ceph::crypto::init(CephContext*)' thread 7fdb84281780 time 2015-08-04 06:43:28.217757 2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr:common/ceph_crypto.cc: 73: FAILED assert(crypto_context != __null) 2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr: ceph version 9.0.2-961-g145364b (145364bbd933da8c1f384bea41f1b5cf37e9e082) 2015-08-04T06:43:28.216 INFO:tasks.workunit.client.0.plana89.stderr: 1: (()+0x21e38f) [0x7fdb81ca238f] 2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 2: (()+0x22e3d3) [0x7fdb81cb23d3] 2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 3: (()+0x244028) [0x7fdb81cc8028] 2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 4: (ceph_mount_info::init()+0x14) [0x7fdb81aebb44] 2015-08-04T06:43:28.217 INFO:tasks.workunit.client.0.plana89.stderr: 5: (ceph_mount()+0x51) [0x7fdb81ae9351] 2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 6: (LibCephFS_GetPoolId_Test::TestBody()+0x2e4) [0x441214] 2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 7: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x4d) [0x4a451d] 2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 8: (testing::Test::Run()+0x101) [0x49b4a1] 2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 9: (testing::TestInfo::Run()+0xd6) [0x49b586] 2015-08-04T06:43:28.218 INFO:tasks.workunit.client.0.plana89.stderr: 10: (testing::TestCase::Run()+0xd7) [0x49b6c7] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 11: (testing::internal::UnitTestImpl::RunAllTests()+0x2ee) [0x49ba2e] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 12: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal:: UnitTestImpl::*)(), char const*)+0x4d) [0x4a409d] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 13: (testing::UnitTest::Run()+0x63) [0x49ab93] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 14: (main()+0x39) [0x42be29] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 15: (__libc_start_main()+0xed) [0x7fdb80fb376d] 2015-08-04T06:43:28.219 INFO:tasks.workunit.client.0.plana89.stderr: 16: ceph_test_libcephfs() [0x42c295] 2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stderr: NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. 2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:unknown file: Failure 2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:Unknown C++ exception thrown in the test body. 2015-08-04T06:43:28.220 INFO:tasks.workunit.client.0.plana89.stdout:[ FAILED ] LibCephFS.GetPoolId (5 ms)
teuthology:sage-2015-08-04_06:28:08-smoke-wip-systemd---basic-multi 06:52 AM $ less 999054/teuthology.log
Related issues
Associated revisions
crypto: fix unbalanced ceph::crypto::init/ceph::crypto:shutdown
we may create a CephContext without calling common_init_finish(), then
delete the CephContext. In this case, ceph::crypto:init() is not called,
so CephContext::~CephContext() should not call ceph::crypto::shutdown().
Fixes: #12598
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
crypto: fix unbalanced ceph::crypto::init/ceph::crypto:shutdown
we may create a CephContext without calling common_init_finish(), then
delete the CephContext. In this case, ceph::crypto:init() is not called,
so CephContext::~CephContext() should not call ceph::crypto::shutdown().
Fixes: #12598
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 98a85ec6464d8ec3fc7f0c647ac97c8cf002ebe2)
History
#1 Updated by Zheng Yan over 4 years ago
- Category deleted (
44) - Status changed from New to Fix Under Review
#2 Updated by Sage Weil over 4 years ago
- Status changed from Fix Under Review to Resolved
commit:4d4fe9dbc0eb0d0eaa9a608474fecc892626f542
#3 Updated by Loic Dachary over 4 years ago
- Status changed from Resolved to Pending Backport
- Backport set to hammer
#4 Updated by Nathan Cutler about 4 years ago
- Status changed from Pending Backport to Resolved