-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run the ns-O-RAN-flexric #2
Comments
Hello, Can you please the installation steps/ system information. Also please check the port 36422 is not used. BR, |
Thanks for your reply @MinaYonan123 installation steps:Here is my sysinfo and commands that I've used. System Information:
Installinstall FlexRIC from source:Firstly I installed depencies that I prefer to not mention. After that: git clone https://gitlab.eurecom.fr/mosaic5g/flexric.git
cd flexric
git checkout d3ff8791 By following the instruction, I've edit mkdir build && cd build && cmake .. && make -j`nproc`
sudo make install Install ns-ORAN from sourceI've used your repo as base. So: git clone --recurse-submodules https://github.com/Orange-OpenSource/ns-O-RAN-flexric
cd ns-O-RAN-flexric/e2sim-kpmv3/e2sim/
mkdir build
sudo ./build_e2sim.sh 3 It's time to build ns3 - for the purpose I cloned E2 requirement as mentioned here. cd path/to/ns-O-RAN-flexric
cd ns-3-mmwave-oran/contrib
git clone -b master https://github.com/o-ran-sc/sim-ns3-o-ran-e2 oran-interface
cd .. # go back to the ns-3-mmwave-oran folder
./waf configure --enable-examples --enable-tests
./waf build RunTo run the whole system # in terminal 1
cd path/to/flexric/build/examples/ric/ && ./nearRT-RIC
# in terminal 2
cd path/to/ns-3-mmwave-oran && ./waf --run scratch/scenario-zero.cc
# in terminal 3
cd path/to/flexric/build/examples/xApp/c/kpm_rc && ./xapp_kpm_rc' |
Hello @Ali78k Please don't clone the oran-interface from original repo. git clone -b master https://github.com/o-ran-sc/sim-ns3-o-ran-e2 oran-interface When you clone with sub-module option, it clones the code from our fork https://github.com/MinaYonan123/oran-interface/tree/a6811bad9042eea7a20411bd19623daaca2f2ea1 not from https://github.com/o-ran-sc/sim-ns3-o-ran-e2 oran-interface. |
Hi @MinaYonan123 . Thank you for your response. Ali |
Dear @MinaYonan123 .
What should I do? Many thanks! |
Hi @Ali78k, I recommend you:
Please try these solutions and feel free to ask Anytime. |
Thanks you @mostafa-ashraf1709 . I'll try on a new VM and I'll inform you soon. |
Hi @Ali78k, Any updates? Did you try the solutions? |
Hiii @mostafa-ashraf1709 , UE ID 112358132134
KPM ind_msg latency = -3538111659215464801 μs
Sojourn time 84.100000
UE ID 112358132134
KPM ind_msg latency = -3538111660500953409 μs
Sojourn time 142.100000
UE ID 112358132134
KPM ind_msg latency = -3538111661055322422 μs
Sojourn time 69.100000
UE ID 112358132134
[xApp]: E42 SUBSCRIPTION DELETE RESPONSE received
Pending event size before remove = 1
[xApp]: Successfully received SUBSCRIPTION-DELETE-RESPONSE
Remove handle number = 6
E42 RIC_SUBSCRIPTION_DELETE_REQUEST sdr->ric_id.ran_func_id 2 sdr->ric_id.ric_req_id 6
ric_req_id not found in the registry
ric_req_id = 5 not in the registry. Spuriosly can happen.
[xApp]: E42 SUBSCRIPTION-DELETE sent
adding event fd = 8 ev-> 7
ric_req_id not found in the registry
ric_req_id = 5 not in the registry. Spuriosly can happen.
KPM ind_msg latency = -3538111659586655046 μs
Sojourn time 168.100000
UE ID 112358132134
KPM ind_msg latency = -3538111660123853597 μs
Sojourn time 228.100000
UE ID 112358132134
KPM ind_msg latency = -3538111659628073711 μs
Sojourn time 142.100000
UE ID 112358132134
KPM ind_msg latency = -3538111658655257295 μs
Sojourn time 139.100000
UE ID 112358132134
[xApp]: E42 SUBSCRIPTION DELETE RESPONSE received
Pending event size before remove = 1
[xApp]: Successfully received SUBSCRIPTION-DELETE-RESPONSE
ric_req_id not found in the registry
ric_req_id = 6 not in the registry. Spuriosly can happen.
ric_req_id not found in the registry
ric_req_id = 6 not in the registry. Spuriosly can happen.
Closing the agent socket: Socket operation on non-socket
[xApp]: Sucessfully stopped
Test xApp run SUCCESSFULLY
|
Hi @Ali78k, Thanks for reporting, this is an issue in different datatypes between Simulator and Flexric. Thanks! |
Hello @Ali78k The issue fixed and we rebase the code lastet flexric commit (E2APv1.01, KPMv3 and RC v1.03) BR, |
Hello @MinaYonan123 Could you please assist me in resolving this? Thank you in advance! |
Hi @Ali78k, Thanks for using trying to build the simulator with the last version, please check the updated installation instructions of flexric. For the negative value of latency, we solved this bug and will push updates soon in PR. Thanks! |
Fixed 5 |
Hi.
I hope this message finds you well.
I've followed the instruction and install FlexRIC from branch you mentioned in the instruction.
When I run the scenario_zero I faced this issue:
The text was updated successfully, but these errors were encountered: