E2 Simulator - Fails with long reports
Description
Environment
Ubuntu 18.04 with OSC nearRT-RIC and E2SIM deployed.
Activity
Alex Stancu November 8, 2021 at 10:53 AM
Thank you, !

Wansu Yoo November 8, 2021 at 10:04 AM
I have checked that it works without any problem with the latest code.
Testing env. is not sharing when a problem was occurred, so could not analyze the issue.
This issue will be closed.

Wansu Yoo November 2, 2021 at 10:33 AM
I've checked valgrind for e2 simulator latest image with reports data you have mentioned (https://gerrit.o-ran-sc.org/r/gitweb?p=sim/e2-interface.git;a=blob_plain;f=e2sim/e2sm_examples/kpm_e2sm/reports.json;hb=d5c4439d0f5e2d06f0316f24fee331760c865df1)
There is no memory leak or corruption issue like as below, also it's working normally with kpimon xapp.
I think we need a more detailed explanation of the problem and the situation that occurs.
We can know from logs, kpimon xapp got the Indication message.

Javi Renart November 2, 2021 at 8:52 AM
The one that gave me an error before the latest updates was the one shared from Viavi: https://gerrit.o-ran-sc.org/r/admin/repos/sim/e2-interface-data
But now, with the new updates I get the error I shared in the comment 3 days ago, with the dataset that comes in the e2sim e2-interface\e2sim\e2sm_examples\kpm_e2sm\reports.json

Wansu Yoo November 2, 2021 at 8:46 AM
Could you share the Cell and UE reports that you used for the test?
I'll test the kpimon e2 simulator using same report data, and monitor the memory usage.
Details
Details
Assignee

Reporter

The E2sim comes with a short and a long json report. The short one is sent succesfully, but the longer one fails with this error:
Segmenation fault (core dumped)
Seems to be some issue with memory allocation, and makes the simulator unusable for testing longer reports.