Skip to content

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

Description

@technobilly

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions