Bug 51 - make coverage aborts with core dump
Summary: make coverage aborts with core dump
Status: CONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 18.02
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: Thomas Monjalon
URL:
Depends on:
Blocks:
 
Reported: 2018-05-24 07:29 CEST by jananeex.m.parthasarathy
Modified: 2018-07-19 21:33 CEST (History)
1 user (show)



Attachments

Description jananeex.m.parthasarathy 2018-05-24 07:29:04 CEST
"make coverage" when executed runs UT cases and then aborts with a crash as below.

OS: Ubuntu, Fedora27, CentOS - 64bit
Compiler: gcc
Code base: Latest dpdk-dpdk

Test Method:
1. Build dpdk 
2. make test-build
3. make coverage

Result observed:

Total run time: 00m 50s
Number of failed tests: 23
EAL: Detected 48 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_15416_2678df21839517
EAL: failed to send to (/var/run/dpdk/rte/mp_socket) due to Connection refused
EAL: Fail to send request /var/run/dpdk/rte/mp_socket:bus_vdev_mp
vdev_scan(): Failed to request vdev from primary
EAL: Probing VFIO support...
EAL: Could not map memory from primary process
EAL: It is recommended to disable ASLR in the kernel and retry running both primary and secondary processes
EAL: FATAL: Cannot init memory

EAL: Cannot init memory

PANIC in main():
Cannot init EAL
5: /dpdk-dpdk/x86_64-native-linuxapp-gcc/app/dpdk-procinfo(_start+0x2a) [0x45d6ca]]
4: [/lib64/libc.so.6(__libc_start_main+0xea) [0x7f55f310f88a]]
3: /dpdk-dpdk/x86_64-native-linuxapp-gcc/app/dpdk-procinfo(main+0x187) [0x45ebe8]]
2: /dpdk-dpdk/x86_64-native-linuxapp-gcc/app/dpdk-procinfo(__rte_panic+0xb8) [0x4508d6]]
1: /dpdk-dpdk/x86_64-native-linuxapp-gcc/app/dpdk-procinfo(rte_dump_stack+0x16) [0x4d4d56]]
/bin/sh: line 13: 15416 Aborted                 (core dumped) /dpdk-dpdk/x86_64-native-linuxapp-gcc/app/dpdk-procinfo --file-prefix=ring_perf -- -m
make[2]: *** /dpdk-dpdk/mk/rte.sdktest.mk:65: coverage] Error 134
make[1]: *** /dpdk-dpdk/mk/rte.sdkroot.mk:73: coverage] Error 2
make: *** [Makefile:15: coverage] Error 2

Expected Result:
No crash to happen and coverage should be successful.
Comment 1 Ajit Khaparde 2018-07-19 21:33:02 CEST
Thomas, can you chime in? Thanks

Note You need to log in before you can comment on or make changes to this bug.