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