[Pkg-dns-devel] Bug#878976: knot-resolver: testsuite fails on machines with large page sizes

James Cowgill jcowgill at debian.org
Wed Oct 18 09:19:38 UTC 2017


Source: knot-resolver
Version: 1.3.3-1
Severity: important

Hi,

I investigated the current FTBFS on mips64el and found that it is due to
the buildd which built it having 16k pages instead of 4k pages (all the
Loongsons are like this). I think the cache test runs out of free pages
and fails with ENOSPC in a number of instances. I also noticed that lmdb
rounds down the mapsize to the nearest multiple of the page size which
doesn't help test_cache which already uses a very small mapsize.

This appears to be identical to #847696 which resulted in the testsuite
being disabled on mipsel.

Please can you increase the CACHE_SIZE in tests/test_cache.c.
Multiplying it by 4 was enough for me, but it might need to be even
higher for page sizes larger than 16k.

After that, the build passes on mipsel and mips64el with the testsuite
enabled.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20171018/e3f33e11/attachment.sig>


More information about the pkg-dns-devel mailing list