clear.test.lua failing on debian continuous integration infrastructure
debian amd64 CI of version 3.0.0-5 shows failures in clear.test.lua
when running make installcheck
:
tests/test_integration.mk:24: Warning: PREFIX does not point into source directory; testing version in /usr!
# clear.test.lua
ok 1 - cache is not empty after import
not ok 2 - root apex is in cache: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 3 - root apex is in cache: checking number of answers for . NS
not ok 4 - deep subdomain is in cache: expecting answer for query a.b.subtree1. AAAA with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 5 - deep subdomain is in cache: checking number of answers for a.b.subtree1. AAAA
ok 6 - single qname+qtype can be cleared at once
ok 7 - exact match on qname+qtype must flush RR from cache: expecting answer for query a.b.subtree1. A with rcode SERVFAIL
ok 8 - exact match on qname+qtype must flush RR from cache: checking number of answers for a.b.subtree1. A
not ok 9 - exact match on qname+qtype must not affect other RRs on the same node: expecting answer for query a.b.subtree1. AAAA with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 10 - exact match on qname+qtype must not affect other RRs on the same node: checking number of answers for a.b.subtree1. AAAA
not ok 11 - exact match on qname must not affect parent: expecting answer for query b.subtree1. A with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 12 - exact match on qname must not affect parent: checking number of answers for b.subtree1. A
not ok 13 - single qname can be cleared at once
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 84
ok 14 - exact match on qname must flush all RRs with the same owner from cache: expecting answer for query a.b.subtree1. AAAA with rcode SERVFAIL
ok 15 - exact match on qname must flush all RRs with the same owner from cache: checking number of answers for a.b.subtree1. AAAA
ok 16 - exact match on qname must flush all RRs with the same owner from cache: expecting answer for query a.b.subtree1. A with rcode SERVFAIL
ok 17 - exact match on qname must flush all RRs with the same owner from cache: checking number of answers for a.b.subtree1. A
ok 18 - exact match on qname must flush all RRs with the same owner from cache: expecting answer for query a.b.subtree1. TXT with rcode SERVFAIL
ok 19 - exact match on qname must flush all RRs with the same owner from cache: checking number of answers for a.b.subtree1. TXT
not ok 20 - callback received correct # of removed records
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 128
ok 21 - callback received subtree name
ok 22 - callback received exact_name
ok 23 - callback received rr_type
ok 24 - callback received chunk_size
ok 25 - callback received reference to itself
ok 26 - callback received table of errors
ok 27 - callback received previous state
ok 28 - first callback return value is passed to cache.clear() caller
ok 29 - custom callback can stop clearing
ok 30 - cache is not empty after import
not ok 31 - root apex is in cache: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 32 - root apex is in cache: checking number of answers for . NS
not ok 33 - deep subdomain is in cache: expecting answer for query a.b.subtree1. AAAA with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 34 - deep subdomain is in cache: checking number of answers for a.b.subtree1. AAAA
ok 35 - whole positive subtree must be flushed (does not include neg. proofs)
ok 36 - subtree clear below apex must be detected
ok 37 - detected apex must be returned
ok 38 - subtree variant must flush all RRs in subdomains from cache: expecting answer for query b.subtree1. A with rcode SERVFAIL
ok 39 - subtree variant must flush all RRs in subdomains from cache: checking number of answers for b.subtree1. A
ok 40 - subtree variant must flush all RRs in subdomains from cache: expecting answer for query b.subtree1. TXT with rcode SERVFAIL
ok 41 - subtree variant must flush all RRs in subdomains from cache: checking number of answers for b.subtree1. TXT
ok 42 - subtree variant must flush all RRs in subdomains from cache: expecting answer for query subtree1. TXT with rcode SERVFAIL
ok 43 - subtree variant must flush all RRs in subdomains from cache: checking number of answers for subtree1. TXT
not ok 44 - subtree variant must not affect parent: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 45 - subtree variant must not affect parent: checking number of answers for . NS
not ok 46 - chunk_size limit must be respected
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 147
not ok 47 - chunk_size limit must match returned count
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 149
ok 48 - previous calls + callbacks must have removed everything
not ok 49 - a negative proof is still present in cache: expecting answer for query aaaaa.b.subtree1. TXT with rcode NXDOMAIN
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 50 - a negative proof is still present in cache: checking number of answers for aaaaa.b.subtree1. TXT
ok 51 - previous subtree clearing did not remove everything
ok 52 - clear on root removed everyting including proofs
ok 53 - exact match on qname must flush negative proofs for owner from cache: expecting answer for query a.b.subtree1. NULL with rcode SERVFAIL
ok 54 - exact match on qname must flush negative proofs for owner from cache: checking number of answers for a.b.subtree1. NULL
ok 55 - cache is not empty after import
not ok 56 - root apex is in cache: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 57 - root apex is in cache: checking number of answers for . NS
not ok 58 - deep subdomain is in cache: expecting answer for query a.b.subtree1. AAAA with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 59 - deep subdomain is in cache: checking number of answers for a.b.subtree1. AAAA
not ok 60 - root apex is still in cache: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 61 - root apex is still in cache: checking number of answers for . NS
ok 62 - root apex is in no longer cache: expecting answer for query . NS with rcode SERVFAIL
ok 63 - root apex is in no longer cache: checking number of answers for . NS
not ok 64 - some other item is still in cache: expecting answer for query 16r.subtree2. A with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 65 - some other item is still in cache: checking number of answers for 16r.subtree2. A
ok 66 - full clear reports correct number of entries
ok 67 - clearing root clears everything
ok 68 - cache is not empty after import
not ok 69 - root apex is in cache: expecting answer for query . NS with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 70 - root apex is in cache: checking number of answers for . NS
not ok 71 - deep subdomain is in cache: expecting answer for query a.b.subtree1. AAAA with rcode NOERROR
# Trouble in /tmp/autopkgtest-lxc.z0bi9qzn/downtmp/build.0IP/src/daemon/cache.test/clear.test.lua around line 40
ok 72 - deep subdomain is in cache: checking number of answers for a.b.subtree1. AAAA
ok 73 - full clear reports correct number of entries
ok 74 - cache is empty after full clear
1..74
Expected return code '0' got '18'.
make: *** [tests/config/test_config.mk:21: daemon/cache.test/clear.test.lua] Error 1
The other tests in the same sequence seem to pass.