db unit test failure
Job #1783201 failed for 3d66e97a:
[ RUN ] dns_dbfind_staleok_test
11 is not within the range 1-10
Thread 1 (LWP 12310):
#0 0x00007fb44671d2a2 in raise () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007fb4467068a4 in abort () from /lib64/libc.so.6
No symbol table info available.
#2 0x00007fb446ba6255 in exit_test.constprop () from /lib64/libcmocka.so.0
No symbol table info available.
#3 0x00007fb446ba6301 in _fail () from /lib64/libcmocka.so.0
No symbol table info available.
#4 0x0000000000403422 in dns_dbfind_staleok_test (state=<optimized out>) at db_test.c:264
rdata = {data = 0x7fffd7863ca4 "\n", length = 4, rdclass = 1, type = 1, flags = 0, link = {prev = 0x0, next = 0x0}}
db = 0x8b2530
node = 0x0
example_fixed = {name = {magic = 1145983854, ndata = 0x7fffd7864090 "\aexample", length = 9, labels = 2, attributes = 1, offsets = 0x7fffd7863fd0 "", buffer = 0x7fffd7864050, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = "\000\b\000\000\000\000\000\000\004O\266F\264\177", '\000' <repeats 13 times>, "\024\000\000\000\000 \323qF\264\177\000\000\000\000\000@\000\000\000\000\002\000\000\000\000\000\000\000\016\000\000\000\000\000\000\200", '\000' <repeats 48 times>, "p@\206\327\377\177\000\000\060%\213\000\000\000\000", buffer = {magic = 1114990113, base = 0x7fffd7864090, length = 255, used = 9, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\aexample\000\000\000@\000\000\000\000\260%\213\000\000\000\000\000\240]\213\000\000\000\000\000pA\206\327\377\177\000\000\270l\270F\264\177\000\000\346\001\000\000\000\000\000\000M\261\265F\264\177\000\000\300A\206\327\377\177\000\000\032t\265F\001\000\000\000", '\377' <repeats 16 times>, "\001\000\000\000\000\000\000\000\000fo\275\215\f\024\262@A\206\327\377\177\000\000\b\375\377\377\377\377\377\377\002\000\000\000\000\000\000\000\000\000\000\020\264\177\000\000\320B\206\327\377\177\000\000 q\272F\264\177", '\000' <repeats 13 times>, "@\000\000\000\000\002\000\000\000\000\000\000\000\016\000\000\000\000\000\000\200", '\000' <repeats 48 times>...}
found_fixed = {name = {magic = 1145983854, ndata = 0x7fffd7863e80 "\aexample", length = 9, labels = 2, attributes = 1, offsets = 0x7fffd7863dc0 "", buffer = 0x7fffd7863e40, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, list = {head = 0x0, tail = 0x0}}, offsets = "\000\b", '\000' <repeats 14 times>, "\332\071\233F\264\177\000\000`T\000\000\000\000\000\000\060%\213\000\000\000\000\000@\006\213\000\000\000\000\000\020\020\211\000\000\000\000\000\240>\206\327\377\177\000\000", '\377' <repeats 16 times>, "\000\000\000\000\000\000\000\000\240\037\000\000\377\377", '\000' <repeats 19 times>, "\003\000\000\000\000\000\000\001\000\000\000\264\177\000", buffer = {magic = 1114990113, base = 0x7fffd7863e80, length = 255, used = 9, current = 0, active = 0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, mctx = 0x0, autore = false}, data = "\aexample\000\000\000\000\000\000\000\000\004\000\000\000w\000\000\000\022", '\000' <repeats 23 times>, "test.test\000rbt\000dn\000\000\000\000\000\000\000\000\000\001\377\377\377\000\377\377", '\000' <repeats 16 times>, '@' <repeats 16 times>, 'Z' <repeats 16 times>, ' ' <repeats 16 times>, "\377\377\377\377\000\377\377\377\377\000\377\377\377\000\377\377", '\000' <repeats 20 times>, "\377\000\377\377\377\000\377\377\377\000\377\377\240b\272F\264\177\000\000\000\000\000"...}
example = 0x7fffd7863f80
found = 0x7fffd7863d70
rdatalist = {rdclass = 1, type = 1, covers = 0, ttl = 2, rdata = {head = 0x7fffd7863c70, tail = 0x7fffd7863c70}, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, upper = "\352", '\353' <repeats 31 times>}
rdataset = {magic = 1145983826, methods = 0x0, link = {prev = 0xffffffffffffffff, next = 0xffffffffffffffff}, rdclass = 0, type = 0, ttl = 0, trust = 0, covers = 0, attributes = 0, count = 4294967295, resign = 0, private1 = 0x0, private2 = 0x0, private3 = 0x0, privateuint4 = 0, private5 = 0x0, private6 = 0x0, private7 = 0x0}
count = 11
pass = 1
mctx = 0x8b5da0
result = 23
data = "\n\000\000\001"
#5 0x00007fb446ba8cb1 in cmocka_run_one_test_or_fixture () from /lib64/libcmocka.so.0
No symbol table info available.
#6 0x00007fb446ba938b in _cmocka_run_group_tests () from /lib64/libcmocka.so.0
No symbol table info available.
#7 0x0000000000403886 in main () at db_test.c:409
tests = {{name = 0x40507c "getoriginnode_test", test_func = 0x403641 <getoriginnode_test>, setup_func = 0x0, teardown_func = 0x0, initial_state = 0x0}, {name = 0x40508f "getsetservestalettl_test", test_func = 0x4034c3 <getsetservestalettl_test>, setup_func = 0x0, teardown_func = 0x0, initial_state = 0x0}, {name = 0x4050a8 "dns_dbfind_staleok_test", test_func = 0x402e2c <dns_dbfind_staleok_test>, setup_func = 0x0, teardown_func = 0x0, initial_state = 0x0}, {name = 0x4050c0 "class_test", test_func = 0x402d53 <class_test>, setup_func = 0x402d1a <_setup>, teardown_func = 0x402d0a <_teardown>, initial_state = 0x0}, {name = 0x4050cb "dbtype_test", test_func = 0x402b02 <dbtype_test>, setup_func = 0x402d1a <_setup>, teardown_func = 0x402d0a <_teardown>, initial_state = 0x0}, {name = 0x4050d7 "version_test", test_func = 0x402736 <version_test>, setup_func = 0x402d1a <_setup>, teardown_func = 0x402d0a <_teardown>, initial_state = 0x0}}
D:db_test:backtrace from ./core.12310 end
FAIL db_test (exit status: 134)
Edited by Mark Andrews