Open technobilly opened 7 years ago
Hi Chris Sommers .
I get this Error when I run sudo ./bmv2/run_tests.sh
usage: run_of_tests.py [-h] --oft-path OFT_PATH run_of_tests.py: error: argument --oft-path is required
Any advice you could give me?
Thank you
Best wishes
Omesh
Hi Omesh, Sorry I don't have any idea. I have not tried any of the openflow tests. Perhaps you should start a new thread to get people's attention. - chris
After running sudo ./bmv2/run_tests.sh (PASSED) I tried running sudo ./bmv2/run_tests.sh --test-dir tests/ptf-tests/api-tests. Got following in the "run_drivers.sh" console (and of course the tests failed):
switcht_api_init switcht_api_l3_vrf_create Invalid table (ipv4_fib_lpm) operation (2): INVALID_HANDLE lt-bmswitchp4_drivers: src/switch_l3.c:812: switch_api_init_default_route_entries: Assertion `ret == 0x00000000L' failed. ./bmv2/run_drivers.sh: line 11: 29327 Aborted (core dumped) $DRIVERS_EXE $@
After restarting drivers it ran. If this is expected, the instructions might need ammending. Thanks.
Regards, Chris Sommers