BIND 10 #1024: increase logging verbosity in unittests
BIND 10 Development
do-not-reply at isc.org
Thu Jul 7 13:10:58 UTC 2011
#1024: increase logging verbosity in unittests
-------------------------------------+-------------------------------------
Reporter: | Owner: stephen
jinmei | Status: reviewing
Type: task | Milestone:
Priority: major | Sprint-20110712
Component: | Resolution:
logging | Sensitive: 0
Keywords: | Sub-Project: Core
Defect Severity: N/A | Estimated Difficulty: 0.5
Feature Depending on Ticket: | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by jreed):
I am not sure if this was introduced in this trac1024 branch, but I don't
recall seeing it previously:
{{{
[----------] 30 tests from MemoryZoneTest
[ RUN ] MemoryZoneTest.constructor
2011-07-07 08:05:42.462 DEBUG [bind10.datasrc] DATASRC_MEM_CREATE creating
zone 'example.org.' in 'IN' class
2011-07-07 08:05:42.463 DEBUG [bind10.datasrc] DATASRC_MEM_DESTROY
destroying zone 'example.org.' in 'IN' class
[ OK ] MemoryZoneTest.constructor (2 ms)
[ RUN ] MemoryZoneTest.add
2011-07-07 08:05:42.463 DEBUG [bind10.datasrc] DATASRC_MEM_CREATE creating
zone 'example.org.' in 'IN' class
2011-07-07 08:05:42.463 DEBUG [bind10.datasrc] DATASRC_MEM_ADD_RRSET
adding RRset 'example.com./A' into zone 'example.org.'
2011-07-07 08:05:42.464 ERROR [bind10.datasrc] DATASRC_MEM_OUT_OF_ZONE
domain 'example.com.' doesn't belong to zone 'example.org.'
assertion "px != 0" failed: file
"/usr/pkg/include/boost/smart_ptr/shared_ptr.hpp", line 418, function "T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T
= const isc::dns::RRset]"
[1] Abort trap (core dumped) ${dir}${tst}
FAIL: run_unittests
}}}
gdb:
{{{
(gdb) bt
#0 0x00007f7ff8ee54aa in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007f7ff8ee4e1e in abort () from /usr/lib/libc.so.12
#2 0x00007f7ff8e5f2d4 in __assert13 () from /usr/lib/libc.so.12
#3 0x00007f7ffd0441c0 in isc::datasrc::MemoryZone::MemoryZoneImpl::add (
this=0x7f7ffd710b60, rrset=@0x7f7fffffd4b0, domains=0x7f7ffd710ba0)
at /usr/pkg/include/boost/smart_ptr/shared_ptr.hpp:418
#4 0x00000000004a9ddd in (anonymous
namespace)::MemoryZoneTest_add_Test::TestBody (this=0x7f7ffd782160) at
memory_datasrc_unittest.cc:359
#5 0x00007f7ffda25102 in testing::Test::Run () from
/usr/pkg/lib/libgtest.so.0
#6 0x00007f7ffda2520f in testing::internal::TestInfoImpl::Run ()
from /usr/pkg/lib/libgtest.so.0
#7 0x00007f7ffda252d4 in testing::TestCase::Run ()
from /usr/pkg/lib/libgtest.so.0
#8 0x00007f7ffda2663b in testing::internal::UnitTestImpl::RunAllTests ()
from /usr/pkg/lib/libgtest.so.0
#9 0x00000000004276ef in main (argc=1, argv=<value optimized out>)
at run_unittests.cc:28
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/1024#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list