bachng2017 / renat Goto Github PK
View Code? Open in Web Editor NEWRobot framework Extension for Network Automated Testing
License: Apache License 2.0
Robot framework Extension for Network Automated Testing
License: Apache License 2.0
in some environment likes k8s with mounted NFS, item.sh returns error:
h.nguyen@bachng-renat-6f7f4685cc-n7sst:~/work/sample$ /home/h.nguyen/work/renat/tools/item.sh ex01
Traceback (most recent call last):
File "/home/h.nguyen/work/renat/tools/item.sh", line 77, in <module>
ans = input(_('Create local configuration file (local.yaml) or not [yes,no=default]:'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)
https://github.com/bachng2017/RENAT/blob/master/VChannel.py#L305
The following code snippet makes no allowences for running VChannel in the absence of a local.yaml file.
As the code only warns if local.yaml is missing i can only assume it is intended that it is possible to test in its absence without it defaulting to the global devices information/manually specified connect statements.
Suggested fix open within a PR
I am trying to run RENAT following the guide using a container. I am running into the below error in step 4 where I get permission denied errors. I do not know the sudo password for this container so I obviously cannot use that.
bash-4.2$ whoami robot bash-4.2$ pwd /home/robot/work/renat bash-4.2$ $RENAT_PATH/tools/project.sh renate-sample mkdir: cannot create directory ‘renate-sample’: Permission denied cp: target ‘renate-sample’ is not a directory find: ‘renate-sample’: No such file or directory created test project: renate-sample use item.sh to create test case
Is there a workaround for this issue?
confirmed on python3 and mounted NFS
Traceback (most recent call last):
File "/home/h.nguyen/work/renat/tools/item.sh", line 113, in <module>
shutil.copytree(TEMPLATE, NAME)
File "/usr/lib64/python3.6/shutil.py", line 365, in copytree
raise Error(errors)
shutil.Error:
...
When an unsupported (not yet implement) command is used, the error message is confused. Need more clear error message or a an auto-fallback mechanism
renat_server | ------------------------------------------------------------------------------
renat_server | 02. Get BGP neighbor | FAIL |
renat_server | UnboundLocalError: local variable 'mod' referenced before assignment
Line 162 in 36f4ce5
Typo at Tester.py:162 raise Execption
.
It should be raise Exception
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.