Errors in lmdb tests on FreeBSD
Building on FreeBSD from commit 5d50f7a5 updated to link against an external lmdb library, tests fail for lmdb:
Testing lmdb.
This run has ID `7300409C-4088-469A-827C-320E80EB629F`.
[OK] basic 0 version.
[OK] basic 1 string_of_error.
[OK] basic 2 env.
[OK] basic 3 txn.
[ERROR] basic 4 cursors.
[OK] basic 5 cursors_del.
[OK] basic 6 cursors_del4.
[OK] basic 7 fold.
[OK] basic 8 consistency.
-- basic.004 [cursors.] Failed --
in /usr/home/web/src/vertalo/freebsd-ports/net-p2p/tezos/work/tezos-5d50f7a5ab400ae857c0478fa29fa135954fb6ba-5d50f7a5ab400ae857c0478fa29fa135954fb6ba/_build/default/vendors/ocaml-lmdb/test/_build/_tests/7300409C-4088-469A-827C-320E80EB629F/basic.004.output:
[failure] Resource deadlock avoided
These same tests failed for the unmodified commit. I updated the code to link against the latest version of the lmdb library (installed as a dependency). The error corresponds to errno == 11, which does not appear in the lmdb code.
Edited by Arvid Jakobsson