erpc-io / eRPC

Efficient RPCs for datacenter networks
https://erpc.io/
Other
835 stars 137 forks source link

run-tests-dpdk.sh failed #73

Closed yjchoi-0606 closed 2 years ago

yjchoi-0606 commented 2 years ago

Hi, We ran eRPC on our machine but encountered some issues. Below is the errors printed when I executed run-test-dpdk.sh.

_run-dpdk-tests: Found test executables: create_session_test destroy_session_test dpdk_ownership_memzone_test fixed_vector_test hdr_histogram_test heartbeat_mgr_test huge_alloc_test hugepage_caching_virt2phy_test large_msg_test misc_test multi_process_test numautil_test packet_loss_test rand_test req_in_cont_func_test req_in_req_func_test rpc_cr_test rpc_kick_test rpc_list_test rpc_req_test rpc_resp_test rpc_rfr_test rpc_sm_test small_msg_test timely_test timing_wheel_test udp_client_test udp_server_test run-dpdk-tests: Running test executable create_session_test run-dpdk-tests: Running test Base.SimpleConnect Note: Google Test filter = Base.SimpleConnect [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from Base [ RUN ] Base.SimpleConnect 21:160745 WARNG: eRPC Nexus: Testing enabled. Perf will be low. [ ] test: Using 1 sessions 21:471612 WARNG: Running as primary DPDK process. eRPC DPDK daemon is not running. terminate called after throwing an instance of 'std::runtime_error' what(): Ethdev configuration error: Invalid argument ./run-tests-dpdk.sh: line 29: 3700 Aborted sudo ./build/$exe --gtest_filter=$cur_testname$word

Below is our system configuration.

NIC model: Broadcom Inc. and subsidiaries BCM57412 NetXtreme-E 10Gb RDMA Ethernet rdma_core version: latest master, built from source DPDK version: dpdk-stable 19.11.10 OS version : CentOS Linux release 7.9.2009 (Core) kernel version: 5.4.155-1.el7.elrepo.x86_64

Thanks

anujkaliaiitd commented 2 years ago

Hello. The unit testing scripts for DPDK are broken at the moment. Do you have the same issue with one of the provided applications (e.g., hello_world, or latency).

yjchoi-0606 commented 2 years ago

Thanks! I tried hello_world and it seems like I wrongly configured dpdk.