srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
523 stars 178 forks source link

KPM xApp causes the ric stop #688

Closed Amjed468 closed 5 months ago

Amjed468 commented 5 months ago

Dear all, I have set up the srsRAN project, and I am currently trying to execute the monitoring xApp:

./flexric/build/examples/xApp/c/monitor/xapp_oran_moni -c ./xapp_mon_e2sm_kpm.conf

But, the Flexric stop suddenly during the execution:

./flexric/build/examples/xApp/c/monitor/xapp_oran_moni -c ./xapp_mon_e2sm_kpm.conf : nearRT-RIC: /home/labadmin/flexric/src/sm/kpm_sm/kpm_sm_v03.00/dec/kpm_dec_asn.c:186: kpm_dec_ind_msg_asn: Assertion `rval.code == RC_OK && "Are you sending data in ATS_ALIGNED_BASIC_PER syntax?"' failed. Aborted (core dumped)

Any suggestion please ?

yagoda commented 5 months ago

Hi,

First of all this error comes from FlexRic so you are best off asking them about it.

Having said that if you can share the configs, logs and a pcap we can take a look.

Regards, Justin

pgawlowicz commented 5 months ago

Please check here: https://github.com/srsran/srsRAN_Project/discussions/567#discussioncomment-9209950

Amjed468 commented 5 months ago

Dear Justin, Thanks for your swift response. Here are the logs and configuration files.

Best Regards

On Mon, Jun 24, 2024 at 1:53 PM Piotr @.***> wrote:

Closed #688 https://github.com/srsran/srsRAN_Project/issues/688 as completed.

— Reply to this email directly, view it on GitHub https://github.com/srsran/srsRAN_Project/issues/688#event-13265973808, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YSYF36DV3JWDXSQ4OB4ILZJAJEVAVCNFSM6AAAAABJZXGXHCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI3DKOJXGM4DAOA . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

Amjed468 commented 5 months ago

Dear Justin, Thanks for your help, everything works fine now with UE simulation. How can I run the kpm_rc, as I tried to execute it directly which causes the execution to be aborted

.

Regards

On Mon, Jun 24, 2024 at 2:59 PM amjed mohammed @.***> wrote:

Dear Justin, Thanks for your swift response. Here are the logs and configuration files.

Best Regards

On Mon, Jun 24, 2024 at 1:53 PM Piotr @.***> wrote:

Closed #688 https://github.com/srsran/srsRAN_Project/issues/688 as completed.

— Reply to this email directly, view it on GitHub https://github.com/srsran/srsRAN_Project/issues/688#event-13265973808, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YSYF36DV3JWDXSQ4OB4ILZJAJEVAVCNFSM6AAAAABJZXGXHCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGI3DKOJXGM4DAOA . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

Amjed468 commented 4 months ago

Dear community,

Recently I have been able to run the "xapp_oran_moni" by following the instruction in ( https://docs.srsran.com/projects/project/en/latest/tutorials/source/near-rt-ric/source/index.html). Now I am trying to run a control xApp from Flexric like "xapp_kpm_rc" but the Flexric stop suddenly as below:

Pending event timeout happened. Communication with E2 Node lost? nearRT-RIC: /home/labadmin/flexric/src/ric/near_ric.c:270: consume_fd: Assertion `fd > 0' failed. Aborted (core dumped)

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

pgawlowicz commented 4 months ago

Could you provide the pcap file with the e2 messages exchanged between srsgnb and flexric?

Amjed468 commented 4 months ago

Dear Sir, The pcap file got empty when I ran the xApp of kpm_rc. Is this xApp supposed to work normally with the srsRAN project and Flexric ?

Regards

On Fri, Jun 28, 2024 at 12:45 PM Piotr @.***> wrote:

Could you provide the pcap file with the e2 messages exchanged between srsgnb and flexric?

— Reply to this email directly, view it on GitHub https://github.com/srsran/srsRAN_Project/issues/688#issuecomment-2196719201, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YSYF2LQD5OJG2RDWXW4OLZJVED7AVCNFSM6AAAAABJZXGXHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWG4YTSMRQGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

pgawlowicz commented 4 months ago

did you enable e2 pcap collection in the gnb config? it should contain at least setup request and response.

Amjed468 commented 4 months ago

Dear Sir, I have been able to get pcap file with reading when I added the config file of kpm xApp like this : ./flexric/build/examples/xApp/c/kpm_rc/xapp_kpm_rc -c ./xapp_mon_e2sm_kpm.conf

Best Regards

On Mon, Jul 1, 2024 at 9:21 AM Piotr @.***> wrote:

did you enable e2 pcap collection in the gnb config? it should contain at least setup request and response.

— Reply to this email directly, view it on GitHub https://github.com/srsran/srsRAN_Project/issues/688#issuecomment-2199533357, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YSYF7VBBWV3Z6MCLM6EQTZKEGQZAVCNFSM6AAAAABJZXGXHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJZGUZTGMZVG4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Best Regards...

Amjed H. J. MohammedPhD Candidate / University of Glasgow / UK

pgawlowicz commented 4 months ago

did you enable the e2sm_rc module in the gnb config? see here: https://github.com/srsran/oran-sc-ric/issues/21#issuecomment-2203368561