Project

General

Profile

Actions

Bug #16203

closed

"FAIL: unittest_bufferlist" during "make check" on master + PRs

Added by Yuri Weinstein almost 8 years ago. Updated over 7 years ago.

Status:
Can't reproduce
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

yuriw@smithi049:~/ceph/src$ cd ~/ceph/src
yuriw@smithi049:~/ceph/src$ file core
core: ELF 64-bit LSB  core file x86-64, version 1 (SYSV), SVR4-style, from './unittest_bufferlist'
yuriw@smithi049:~/ceph/src$ gdb ./unittest_bufferlist core
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying" 
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./unittest_bufferlist...done.

warning: core file may not match specified executable file.
[New LWP 4339]
[New LWP 4340]
[New LWP 4341]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./unittest_bufferlist'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00002ae41164fcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00002ae41164fcc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00002ae4116530d8 in __GI_abort () at abort.c:89
#2  0x00002ae40fef6df5 in ceph::__ceph_assert_fail (assertion=assertion@entry=0x2ae40ff39e59 "o+l <= _len", file=file@entry=0x2ae40ff39c6b "common/buffer.cc", line=line@entry=1493, 
    func=func@entry=0x2ae40ff3a660 <ceph::buffer::list::zero(unsigned int, unsigned int)::__PRETTY_FUNCTION__> "void ceph::buffer::list::zero(unsigned int, unsigned int)")
    at common/assert.cc:78
#3  0x00002ae40fefbab0 in ceph::buffer::list::zero (this=this@entry=0x7ffc7ad0f990, o=o@entry=0, l=l@entry=2000) at common/buffer.cc:1493
#4  0x00002ae40fe766cb in BufferList_zero_Test::TestBody (this=<optimized out>) at test/bufferlist.cc:2737
#5  0x00002ae40feecca2 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void> (object=0x2ae40ffa3660, method=&virtual testing::Test::TestBody(), 
    location=0x2ae40ff36b7b "the test body") at ./src/gtest.cc:2078
#6  0x00002ae40fee7e56 in testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void> (object=0x2ae40ffa3660, method=&virtual testing::Test::TestBody(), 
    location=0x2ae40ff36b7b "the test body") at ./src/gtest.cc:2114
#7  0x00002ae40fecf53f in testing::Test::Run (this=0x2ae40ffa3660) at ./src/gtest.cc:2151
#8  0x00002ae40fecfd38 in testing::TestInfo::Run (this=0x2ae40ffa2500) at ./src/gtest.cc:2326
#9  0x00002ae40fed03fc in testing::TestCase::Run (this=0x2ae40ff9e5a0) at ./src/gtest.cc:2444
#10 0x00002ae40fed6d30 in testing::internal::UnitTestImpl::RunAllTests (this=0x2ae40ff98d00) at ./src/gtest.cc:4315
#11 0x00002ae40feee088 in testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x2ae40ff98d00, 
    method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x2ae40fed6a98 <testing::internal::UnitTestImpl::RunAllTests()>, 
    location=0x2ae40ff373d0 "auxiliary test code (environments or event listeners)") at ./src/gtest.cc:2078
#12 0x00002ae40fee8c9e in testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> (object=0x2ae40ff98d00, 
    method=(bool (testing::internal::UnitTestImpl::*)(testing::internal::UnitTestImpl * const)) 0x2ae40fed6a98 <testing::internal::UnitTestImpl::RunAllTests()>, 
    location=0x2ae40ff373d0 "auxiliary test code (environments or event listeners)") at ./src/gtest.cc:2114
#13 0x00002ae40fed5956 in testing::UnitTest::Run (this=0x2ae41018dbc0 <testing::UnitTest::GetInstance()::instance>) at ./src/gtest.cc:3929
#14 0x00002ae40feb975c in RUN_ALL_TESTS () at ./gtest/include/gtest/gtest.h:2288
#15 0x00002ae40feb96ec in main (argc=1, argv=0x7ffc7ad0ff08) at src/gmock_main.cc:53
(gdb) quit
Actions #1

Updated by Yuri Weinstein almost 8 years ago

  • Assignee set to Kefu Chai

@Kefu Chai can you take a look pls? Un-assign if needed.

Blame https://github.com/ceph/ceph/pull/9452 ?

Actions #2

Updated by Kefu Chai almost 8 years ago

  • Subject changed from "FAIL: unittest_bit_alloc" during "make check" on master + PRs to "FAIL: unittest_bufferlist" during "make check" on master + PRs
  • Assignee deleted (Kefu Chai)

Yuri, No, it has nothing to do with https://github.com/ceph/ceph/pull/9452. the failed test is a simple unittest which only involves bufferlist.

and the test of "unittest_bufferlist --gtest_filter=BufferList.zero" should assert() in this function, but i am not sure how come the gtest framework failed to containerize this failure and core dumped.

Actions #3

Updated by Loïc Dachary over 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Loïc Dachary
Actions #4

Updated by Loïc Dachary over 7 years ago

running unittest_bufferlist --gtest_filter=BufferList.zero a few thousand times does not crash. Trying with just unittest_bufferlist.

Actions #5

Updated by Loïc Dachary over 7 years ago

  • Status changed from In Progress to Can't reproduce

About a thousand run succeeded on master as of bb5f0327bf943dbe5d3b71a337f7c68ff95dc29e
Closing as can't reproduce for now.

Actions

Also available in: Atom PDF