Code Monkey home page Code Monkey logo

Comments (5)

vcunat avatar vcunat commented on July 21, 2024

Comment only mentions slowness, nothing else.

we want to install newer version of Augeas because those from Ubuntu repositories are incredibly slow on some operations

from deckard.

pavel-odintsov avatar pavel-odintsov commented on July 21, 2024

Thank you for the fast response! I appreciate it! :)

But after upgrade Deckard fails for some reasons in Augeas code (I found "value MUST be a string or None" in pyaugeas):

Run test  system/tests/test_dns_71.rpl
Scenario failed:  value MUST be a string or None!

I use following scenario:

cat tests/system/tests/test_dns_71.rpl
SCENARIO_BEGIN Test case for subd.mytestzone.io A (NOERROR)

STEP QUERY external
ENTRY_BEGIN
SECTION QUESTION
subd.mytestzone.io IN A
ENTRY_END

STEP CHECK_ANSWER
ENTRY_BEGIN
MATCH all
REPLY QR AA  NOERROR
SECTION QUESTION
subd.mytestzone.io IN A
SECTION ANSWER
subd.mytestzone.io. 300 IN A 1.1.1.1
ENTRY_END

from deckard.

pavel-odintsov avatar pavel-odintsov commented on July 21, 2024

I migrated our test suite to Python 3 but I'm still hitting same error.

Scenario failed:  value MUST be a string or None!
Traceback (most recent call last):
  File "./runtests.py", line 385, in main
    stage, _ = scenario.parse_file(fileinput.input(name))
  File "/Users/pavel/.CFGOPATHRRDNS/src/code.cfops.it/sys/rrdns/linux_venv/lib/python3.4/site-packages/pydnstest/scenario.py", line 983, in parse_file
    confpath=path, lens='Deckard', loadpath=os.path.dirname(__file__))
  File "/Users/pavel/.CFGOPATHRRDNS/src/code.cfops.it/sys/rrdns/linux_venv/lib/python3.4/site-packages/pydnstest/augwrap.py", line 70, in __init__
    self._aug.set(join(aug_load_path, 'incl[0]'), confpath)
  File "/Users/pavel/.CFGOPATHRRDNS/src/code.cfops.it/sys/rrdns/linux_venv/lib/python3.4/site-packages/augeas/__init__.py", line 163, in set
    raise TypeError("value MUST be a string or None!")
TypeError: value MUST be a string or None!

Could you help with it?

Thank you!

from deckard.

pspacek avatar pspacek commented on July 21, 2024

Hello Pavel.

sorry for taking so long to reply - I didn't have watch set on this repo.

Our CI is running on Debian Jessie so you can look into our Dockerfile to see what we did:
https://gitlab.labs.nic.cz/knot/knot-resolver/blob/master/ci/Dockerfile
Right now our Docker image contains libaugeas0 version 1.8.0-1+deb9u1 and python-augeas binding for Python 3 installed via pip, version 1.0.3.

Speaking of binary depedencies, well, one alternative I'm aware of is to use network namespaces from Linux kernel. It would mean that Deckard is Linux-only and it would also require root privileges.

BTW "official" repo is in CZ.NIC's Gitlab, I just created Github issue #7 to explain this to newcommers. It might be better to continue discussion in real time, please join us @ https://gitter.im/CZ-NIC-deckard.

from deckard.

pavel-odintsov avatar pavel-odintsov commented on July 21, 2024

Thanks! Will do :) Just created account for your GitLab bug tracker.

from deckard.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.