BIND 10 #1504: failing Dhcpv6SrvTest.basic and Dhcpv6SrvTest.Solicit_basic unittests

BIND 10 Development do-not-reply at isc.org
Fri Dec 16 02:33:07 UTC 2011


#1504: failing Dhcpv6SrvTest.basic and Dhcpv6SrvTest.Solicit_basic unittests
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:
                       Type:         |                Status:  new
  defect                             |             Milestone:  Next-Sprint-
                   Priority:  major  |  Proposed
                  Component:         |            Resolution:
  Unclassified                       |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DHCP
            Defect Severity:  N/A    |  Estimated Difficulty:  0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------

Comment (by jreed):

 I removed the ASSERT_NO_THROW's (thank you to jinmei for hint) so real
 problem wouldn't be hidden.

 {{{

 [ RUN      ] Dhcpv6SrvTest.basic
 Initialization
 IfaceMgr initialization.
 Interface detection is not implemented yet. Reading interfaces.txt file
 instead.
 Please use format: interface-name link-local-address
 Detected interface lo0/::1
 Creating UDP6 socket on lo0/3 ::1/port=10547
 Created socket 4 on lo0/::1/port=10547
 Joined multicast ff02::1:2 group.
 Creating UDP6 socket on lo0/3 ff02::1:2/port=10547
 terminate called after throwing an instance of 'isc::Unexpected'
   what():  Failed to bind socket 5 to ff02::1:2/port=10547
 [1]   Abort trap (core dumped) ${dir}${tst}
 FAIL: dhcp6_unittests
 ===================================

 }}}

 The backtrace:

 {{{

 Program terminated with signal 6, Aborted.
 #0  0x00007f7ff4ce54aa in _lwp_kill () from /usr/lib/libc.so.12
 #1  0x00007f7ff4ce4e1e in abort () from /usr/lib/libc.so.12
 #2  0x00007f7ff58bc4bc in __gnu_cxx::__verbose_terminate_handler ()
    from /usr/lib/libstdc++.so.7
 #3  0x00007f7ff58c05e7 in __cxxabiv1::__terminate ()
    from /usr/lib/libstdc++.so.7
 #4  0x00007f7ff58c061d in std::terminate () from /usr/lib/libstdc++.so.7
 #5  0x00007f7ff58c0590 in __cxa_throw () from /usr/lib/libstdc++.so.7
 #6  0x00007f7ff681175e in isc::dhcp::IfaceMgr::openSocket6 (
     this=0x7f7ff7702060, iface=@0x7f7ff77103f0, addr=<value optimized
 out>,
     port=10547) at iface_mgr.cc:372
 #7  0x00007f7ff681350e in isc::dhcp::IfaceMgr::openSocket (
     this=0x7f7ff7702060, ifname=@0x7f7fffffd740, addr=@0x7f7fffffd6b0,
     port=10547) at iface_mgr.cc:284
 #8  0x00007f7ff68139f2 in isc::dhcp::IfaceMgr::openSockets (
     this=0x7f7ff7702060, port=10547) at iface_mgr.cc:223
 #9  0x000000000040475a in Dhcpv6Srv (this=0x7f7ff7701fc0,
     port=<value optimized out>) at ../dhcp6_srv.cc:39
 #10 0x0000000000406da2 in test::Dhcpv6SrvTest_basic_Test::TestBody (
     this=<value optimized out>) at dhcp6_srv_unittest.cc:62
 #11 0x00007f7ff7a25102 in testing::Test::Run () from
 /usr/pkg/lib/libgtest.so.0
 #12 0x00007f7ff7a2520f in testing::internal::TestInfoImpl::Run ()
    from /usr/pkg/lib/libgtest.so.0
 #13 0x00007f7ff7a252d4 in testing::TestCase::Run ()
    from /usr/pkg/lib/libgtest.so.0
 #14 0x00007f7ff7a2663b in testing::internal::UnitTestImpl::RunAllTests ()
    from /usr/pkg/lib/libgtest.so.0
 #15 0x0000000000406c52 in main (argc=1, argv=<value optimized out>)
     at dhcp6_unittests.cc:25

 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/1504#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list