switch icon indicating copy to clipboard operation
switch copied to clipboard

run_of_tests.py => subprocess.py: OSError: [Errno 13] Permission denied

Open chenxiang2019 opened this issue 7 years ago • 2 comments

Hi all,

After long start(in other words, configure the bmv2, p4ofagent and oftest), I configured the switch with --with-of --with-bmv2 then make it successfully. Then I tried to run openflow tests for it, but it showed the exception as I execute the command ./run_of_tests.py --oft-path /home/wasdns/oftest in root status:

Traceback (most recent call last):
  File "./run_of_tests.py", line 43, in <module>
    child = Popen([oft_path] + new_args)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied

I tried to add authority to it but it did not work. I have googled for it but no correct answer with my situation.

Thank you very much if response!

chenxiang2019 avatar Mar 14 '17 15:03 chenxiang2019

I have encountered the same problem. Have you @Wasdns found an answer? Can you share please?

omeshF avatar Aug 11 '17 18:08 omeshF

@omeshF Unfortunately, I didn't resolve this problem. Sorry about that.

chenxiang2019 avatar Aug 12 '17 00:08 chenxiang2019