[bind10-dev] bind10 beta on new OSs
Francis Dupont
fdupont at isc.org
Sat Jan 26 00:59:13 UTC 2013
I tried bind10 beta on Fedora 18 and FreeBSD 9.1, both in x86_64 VMs.
bind10 beta built on the two systems but unit tests failed, on a
python output order on Fedora (IMHO a known issue more bound to python
3.3 than to the system itself), and on exception mismatches in
libdns++ on FreeBSD, for instance:
[ RUN ] TSIGRecordTest.fromParams
tsigrecord_unittest.cc:97: Failure
Expected: TSIGRecord(test_name, TSIGRecord::getClass(),
TSIGRecord::getTTL(), in::A("192.0.2.1"), 85) throws an exception of
type DNSMessageFORMERR.
Actual: it throws a different type.
[ FAILED ] TSIGRecordTest.fromParams (9 ms)
BTW the exception is std::bad_cast which seems to be raised by
the dynamic_cast in castToTSIGRdata() just in a try to catch
std::bad_cast! If this mystery can't be explained a catch to ...
(i.e., a catch all) fixes the problem and IMHO is safe as the try
body is a single dynamic_cast statement.
Regards
Francis Dupont <fdupont at isc.org>
PS: I checked and the exception is really std::bad_cast, nothing else.
So it is a FreeBSD 9.1 bug and google confirms:
http://www.freebsd.org/cgi/query-pr.cgi?pr=175453
More information about the bind10-dev
mailing list