I am trying to use my own ueID in the TestRegistration.
With an architecture of AWS, Python Flask,
I was able to pass my ueID as simulating UEs as AWS Lambda.
When I passed ueID to the flask server on the same VM as free5gc implemented, I run this command: os.system('./test.sh {} {}' .format('TestRegistration', ueID))
And set it as the environment variable in test.sh with: export ueID=$2
Which runs successfully when I print the ueID
in registration_test.go
with getting the environment variables with: var ueID string = os.Getenv("ueID")
, it is also success when I run some self-made function inside registration_test.go
as passing the variable back to AWS to do other things.
But when I change the value of “imsi-2089300007487” in this command
ue := test.NewRanUeContext(ueID, 1, security.AlgCiphering128NEA0, security.AlgIntegrity128NIA2)
I also change the servingPlmnId while my environment is based on ChungHua Telecom as 46692
After doing all these settings, the ueID sure did pass over to the server, but the test will failed as the picture below, is it possible that I need to change every Supi in every file?
After switching back to “imsi-2089300007487” the test will pass, but sometimes the kernel will panic while deleting the DNN.
The environment settings:
free5gc server:
- EC2
- t2.xlarge: 4 vCPUs, Memory 16 GiB, Hard Drive 160 GB as EBS
Fu Jen Catholic University
Department of Information Management
William Lin
[email protected]