Skip to content
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

error trying to start test #50

Open
aseaudi opened this issue Mar 31, 2023 · 0 comments
Open

error trying to start test #50

aseaudi opened this issue Mar 31, 2023 · 0 comments

Comments

@aseaudi
Copy link

aseaudi commented Mar 31, 2023

i am using open5s with amf, after i update the my5grantester docker-compose.yaml with the correct ip addresses, mnc, mcc, etc ... and try to start the test, i get the below error.

any idea how to troubleshoot this ?

root@5dedc31ab66f:/my5G-RANTester/cmd# ./entrypoint.sh
Now setting these variables '@dnn@ @GNBID@ @GTPU_LOCAL_ADDR@ @key@ @mcc@ @mnc@ @msin@ @NGAP_LOCAL_ADDR@ @NGAP_REMOTE_ADDR@ @opc@ @sd@ @SST_GNB@ @SST_UE@ @TAC@'
Done setting the configuration
Running tester
INFO[0000] my5G-RANTester version 1.0.1
INFO[0000] ---------------------------------------
INFO[0000] [TESTER] Starting test function: Testing registration of multiple UEs
INFO[0000] [TESTER][UE] Number of UEs: 2
INFO[0000] [TESTER][GNB] gNodeB control interface IP/Port: 172.22.0.222/9487
INFO[0000] [TESTER][GNB] gNodeB data interface IP/Port: 172.22.0.222/2152
INFO[0000] [TESTER][AMF] AMF IP/Port: 172.22.0.110/38412
INFO[0000] ---------------------------------------
INFO[0000] [GNB] SCTP/NGAP service is running
INFO[0000] [GNB] UNIX/NAS service is running
panic: runtime error: slice bounds out of range [:3] with length 1

goroutine 19 [running]:
my5G-RANTester/internal/control_test_engine/gnb/context.(*GNBContext).GetMccAndMncInOctets(0xc00009f380, 0xc0000b8e40, 0xc0000c9b10, 0x4c86f7)
/my5G-RANTester/internal/control_test_engine/gnb/context/context.go:434 +0x359
my5G-RANTester/internal/control_test_engine/gnb/ngap/message/ngap_control/interface_management.BuildNGSetupRequest(0xc00009f380, 0xc0001ea000, 0x934dc8, 0xc0000c9d10, 0x517d9b)
/my5G-RANTester/internal/control_test_engine/gnb/ngap/message/ngap_control/interface_management/ng-setup-request.go:38 +0x142
my5G-RANTester/internal/control_test_engine/gnb/ngap/message/ngap_control/interface_management.NGSetupRequest(0xc00009f380, 0x91fe83, 0xd, 0x1, 0xc0000c9d10, 0x47c59c, 0xc0000be040, 0xc0000fa680)
/my5G-RANTester/internal/control_test_engine/gnb/ngap/message/ngap_control/interface_management/ng-setup-request.go:119 +0x40
my5G-RANTester/internal/control_test_engine/gnb/ngap/trigger.SendNgSetupRequest(0xc00009f380, 0xc0000d8680)
/my5G-RANTester/internal/control_test_engine/gnb/ngap/trigger/trigger.go:50 +0x55
my5G-RANTester/internal/control_test_engine/gnb.InitGnb(0xc0000b1504, 0xc, 0x250f, 0xc0000b1530, 0xc, 0x868, 0xd17451, 0x1, 0xd17451, 0x1, ...)
/my5G-RANTester/internal/control_test_engine/gnb/gnb.go:55 +0x2e7
created by my5G-RANTester/internal/templates.TestMultiUesInQueue
/my5G-RANTester/internal/templates/test-multi-ues-in-queue.go:24 +0xeb
root@5dedc31ab66f:/my5G-RANTester/cmd#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant