Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to restart drivers after running sudo ./bmv2/run_tests.sh #93

Open
technobilly opened this issue May 10, 2017 · 2 comments
Open

Need to restart drivers after running sudo ./bmv2/run_tests.sh #93

technobilly opened this issue May 10, 2017 · 2 comments

Comments

@technobilly
Copy link

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

@omeshF
Copy link

omeshF commented Aug 9, 2017

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

@technobilly
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants