sets/knotd/master/iter_ns.rpl: parse_failed
Hi,
I just cloned deckard, created a python3 virtual environment, installed the package, and ran make
to have the dependencies installed. I have knot
installed so I first tried to run the tests for knotd
, but I hit an error that I don't really understand:
(env) ~/r/deckard ❯❯❯ ./knotd_master_run.sh
INFO: Tests require Knot compiled with ./configure --enable-recvmmsg=no
make: Entering directory '/home/corentih/rust/deckard'
make[1]: Entering directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
make[2]: Entering directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
make[3]: Entering directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
make[3]: Leaving directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
[100%] Built target socket_wrapper
make[2]: Leaving directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
make[1]: Leaving directory '/home/corentih/rust/deckard/contrib/libswrap/obj'
loadpath: /home/corentih/rust/deckard/pydnstest
confpath: /home/corentih/rust/deckard/sets/knotd/master/iter_ns.rpl
[ FAIL ] sets/knotd/master/iter_ns.rpl
/augeas/files/home/corentih/rust/deckard/sets/knotd/master/iter_ns.rpl/error: parse_failed
Traceback (most recent call last):
File "/home/corentih/rust/deckard/pydnstest/test.py", line 25, in run
test_callback(name, args, config)
File "/home/corentih/rust/deckard/deckard.py", line 293, in process_file
case, cfg_text = scenario.parse_file(os.path.realpath(path))
File "/home/corentih/rust/deckard/pydnstest/scenario.py", line 1032, in parse_file
confpath=path, lens='Deckard', loadpath=os.path.dirname(__file__))
File "/home/corentih/rust/deckard/pydnstest/augwrap.py", line 78, in __init__
raise RuntimeError(err_msg)
RuntimeError: /augeas/files/home/corentih/rust/deckard/sets/knotd/master/iter_ns.rpl/error: parse_failed
make: *** [Makefile:50: sets/knotd/master/iter_ns.out] Error 1
make: Leaving directory '/home/corentih/rust/deckard'
Fwiw here is my current python environments:
(env) ~/r/deckard ❯❯❯ pip freeze
cffi==1.11.2
deckard==3.0
dnspython==1.15.0
Jinja2==2.10
MarkupSafe==1.0
pycparser==2.18
python-augeas==1.0.3
PyYAML==3.12
Do you have any idea what's wrong with my setup?