Skip to content

Initial Insall/Build of latest srsRAN - "make test" chews up CPU and breaks TCP/IP connection  #42

@dcrowleyMunster

Description

@dcrowleyMunster

In running through the initial install steps and compiling from source (srsRAN):
- when running the "make test" step, the process would get to a maximum 787 tests and then the server dropped all TCP/IP and the "make test".
- Running "top" showed "make test" chewing up CPU and then process drop followed by network
connections dropped.

My fix was simple, please see below - If anyone else sees this issue, lower the process priority on the CPU

test@test-NUC8i7BEH:~/srsRAN/srsRAN/build$ sudo nice -n 15 make test
Running tests...
Test project /home/test/srsRAN/srsRAN/build
Start 1: thread_pool_test
1/1426 Test #1: thread_pool_test ................................................ Passed 4.14 sec
Start 2: thread_test
2/1426 Test #2: thread_test ..................................................... Passed 0.00 sec
Start 3: band_helper_test
3/1426 Test #3: band_helper_test ................................................ Passed 0.01 sec
Start 4: pdu_test
4/1426 Test #4: pdu_test ........................................................ Passed 0.02 sec
Start 5: mac_pcap_test
5/1426 Test #5: mac_pcap_test ................................................... Passed 0.06 sec
Start 6: mac_pdu_nr_test
6/1426 Test #6: mac_pdu_nr_test ................................................. Passed 0.01 sec
Start 7: chest_test_dl_cellid0
7/1426 Test #7: chest_test_dl_cellid0 ........................................... Passed 0.02 sec
Start 8: chest_test_dl_cellid1
8/1426 Test #8: chest_test_dl_cellid1 ........................................... Passed 0.01 sec
Start 9: chest_test_dl_cellid2
9/1426 Test #9: chest_test_dl_cellid2 ........................................... Passed 0.01 sec
Start 10: chest_test_dl_cellid0_50prb
10/1426 Test #10: chest_test_dl_cellid0_50prb ..................................... Passed 0.02 sec
Start 11: chest_test_dl_cellid1_50prb
11/1426 Test #11: chest_test_dl_cellid1_50prb ..................................... Passed 0.02 sec
Start 12: chest_test_dl_cellid2_50prb
........
.....................................
1423/1426 Test #1423: fsm_test ........................................................ Passed 0.01 sec
Start 1424: optional_test
1424/1426 Test #1424: optional_test ................................................... Passed 0.00 sec
Start 1425: cached_alloc_test
1425/1426 Test #1425: cached_alloc_test ............................................... Passed 0.04 sec
Start 1426: optional_array_test
1426/1426 Test #1426: optional_array_test ............................................. Passed 0.01 sec

100% tests passed, 0 tests failed out of 1426

Label Time Summary:
chest = 21.23 secproc (22 tests)
fec = 0.48 sec
proc (11 tests)
ldpc = 0.01 secproc (1 test)
lib = 208.14 sec
proc (1007 tests)
lte = 176.26 secproc (931 tests)
nr = 131.48 sec
proc (294 tests)
pdcp = 0.56 secproc (3 tests)
phch = 41.51 sec
proc (485 tests)
phy = 176.03 secproc (991 tests)
polar = 0.00 sec
proc (1 test)
rlc = 31.55 secproc (13 tests)
turbo = 0.46 sec
proc (9 tests)

Total Test time (real) = 334.42 sec
test@test-NUC8i7BEH:~/srsRAN/srsRAN/build$

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