[srslte-users] srsLTE test error.

WuTao w1515t at 126.com
Fri Jul 10 07:27:06 UTC 2020


Setup Details:
Operation System : ubuntu 18.04 

Hardware   : USRP-2943R

uhd driver versions : V3.14.1.1 

srsLTE  version       :  20.04

CPU information:


cat /proc/cpuinfo

vendor_id      : GenuineIntel

cpu family      : 6

model            : 94

model name  : Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz

stepping : 3

microcode     : 0xdc

cpu MHz        : 900.050

cache size      : 8192 KB





Install srsLTE according to the official website tutorial, there is an error when executing the make test command.
99% tests passed, 1 tests failed out of 734
Total Test time (real) = 244.52 sec
The following tests FAILED:
719 - nas_test (Child aborted)
Errors while running CTest


Manually execute the nas_test command, the output is as follows:


./nas_tset

02:25:37.415116 [NAS ] [I] New state DEREGISTERED

02:25:37.415208 [NAS ] [I] DL lcid PDU

             0000: 07 52 01 0c 63 a8 54 13 e6 a4 ce d9 86 fb e5 ce

             0010: 9b 62 5e 10 67 57 b3 c2 b9 70 90 01 0c 72 8a 67

             0020: 57 92 52 b8

02:25:37.415226 [NAS ] [I] DL lcid Decrypted PDU

             0000: 07 52 01 0c 63 a8 54 13 e6 a4 ce d9 86 fb e5 ce

             0010: 9b 62 5e 10 67 57 b3 c2 b9 70 90 01 0c 72 8a 67

             0020: 57 92 52 b8

02:25:37.415233 [NAS ] [I] Received Authentication Request

02:25:37.415236 [NAS ] [I] MCC=61441, MNC=65281

02:25:37.415237 [NAS ] [D] Authentication request RAND

             0000: 0c 63 a8 54 13 e6 a4 ce d9 86 fb e5 ce 9b 62 5e

02:25:37.415241 [NAS ] [D] Authentication request AUTN

             0000: 67 57 b3 c2 b9 70 90 01 0c 72 8a 67 57 92 52 b8

02:25:37.415518 [NAS ] [I] Network authentication successful

02:25:37.415527 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.415530 [NAS ] [I] Sending Authentication Response

02:25:37.415532 [NAS ] [I] Generated k_asme:

             0000: 8d 42 d1 bb 80 4b b4 53 cc 00 6d ed 4b 82 dd 55

             0010: de 66 8b 2b 61 99 73 5d 2d ae 72 fa 24 70 97 ed

02:25:37.415540 [NAS ] [I] DL lcid PDU

             0000: 37 4e fd 57 11 00 07 5d 02 01 02 f0 70 c1

02:25:37.415544 [NAS ] [I] DL lcid Decrypted PDU

             0000: 37 4e fd 57 11 00 07 5d 02 01 02 f0 70 c1

02:25:37.415548 [NAS ] [I] Received Security Mode Command ksi: 1, eea: EEA0, eia: 128-EIA2

02:25:37.415554 [NAS ] [I] NAS encryption key - k_nas_enc

             0000: 38 61 66 94 5c 30 0e 92 49 7e fb ce 3b 2c ad 96

             0010: ef 3c 83 4b f8 a5 eb 4c e3 85 db 60 e9 92 85 9e

02:25:37.415559 [NAS ] [I] NAS integrity key - k_nas_int

             0000: ff 79 be dd c2 b9 39 eb 0b 2f cc 30 ef 6d 00 37

             0010: 5b ae 51 b3 c0 26 2a 09 2e 2f b3 e5 d3 bc 0f 44

02:25:37.415564 [NAS ] [D] Generating integrity check. integ_algo:2, count_dl:0, lcid:1

02:25:37.415577 [NAS ] [I] Integrity check ok. Local: count=0, Received: count=0  [4e fd 57 11]

02:25:37.415584 [NAS ] [I] Sending Security Mode Complete nas_current_ctxt.tx_count=0, RB=lcid

02:25:37.446184 [NAS ] [I] New state DEREGISTERED

02:25:37.446215 [USIM] [I] Read Home PLMN Id=00101

02:25:37.446220 [NAS ] [E] Empty EIA list. Select at least one EIA algorithm.

02:25:37.446223 [NAS ] [E] Empty EEA list. Select at least one EEA algorithm.

02:25:37.446226 [NAS ] [I] Skip reading context from file.

02:25:37.452120 [NAS ] [I] Attach Request with cause mo-Data.

02:25:37.452134 [NAS ] [I] No PLMN selected. Starting PLMN Search...

02:25:37.452139 [NAS ] [I] Found PLMN:  Id=00101, TAC=65535

Found PLMN:  Id=00101, TAC=65535

02:25:37.452143 [NAS ] [I] Selecting Home PLMN Id=00101

02:25:37.452158 [NAS ] [I] Generating attach request

02:25:37.452168 [NAS ] [I] Generating PDN Connectivity Request

02:25:37.452171 [NAS ] [D] Requesting IPv4 PDN protocol

02:25:37.452175 [NAS ] [I] Requesting IMSI attach (IMSI=001010123456789)

02:25:37.452179 [NAS ] [D] Starting T3410

02:25:37.452184 [NAS ] [I] Proc "RRC Connect" - Starting...

NAS generated SDU (len=22):

[07 41 71 08 09 10 10 10 32 54 76 98 02 00 00 00 05 02 01 d0 11 d1 ];

02:25:37.452196 [NAS ] [I] Proc "RRC Connect" - Connection established correctly. Waiting for Attach

02:25:37.452201 [NAS ] [I] Proc "PLMN Search" - Starting...

02:25:37.452333 [NAS ] [E] Proc "RRC Connect" - Timeout or received attach reject while trying to attach

02:25:37.452343 [NAS ] [I] Proc "PLMN Search" - Completed with failure

02:25:37.452345 [NAS ] [D] Clearing EPS bearer context

02:25:37.452348 [NAS ] [I] New state DEREGISTERED

02:25:37.452349 [NAS ] [I] Attach Request from PLMN Search failed

02:25:37.452397 [NAS ] [I] Attach Request with cause mo-Data.

02:25:37.452401 [NAS ] [I] No PLMN selected. Starting PLMN Search...

02:25:37.452403 [NAS ] [I] Found PLMN:  Id=00101, TAC=65535

Found PLMN:  Id=00101, TAC=65535

02:25:37.452407 [NAS ] [I] Selecting Home PLMN Id=00101

02:25:37.452409 [NAS ] [I] Proc "RRC Connect" - Stopping. Reason: Already connected

02:25:37.452411 [NAS ] [I] Proc "PLMN Search" - Completed with success

02:25:37.452413 [NAS ] [I] Proc "PLMN Search" - Starting...

Attach failed (attempt 1/5)

02:25:37.452563 [NAS ] [I] Timer T3410 expired after attach attempt 1/5: starting T3411

02:25:37.452762 [NAS ] [I] Timer T3411 expired: trying to attach again

02:25:37.452778 [NAS ] [I] Generating attach request

02:25:37.452787 [NAS ] [I] Generating PDN Connectivity Request

02:25:37.452789 [NAS ] [D] Requesting IPv4 PDN protocol

02:25:37.452791 [NAS ] [I] Requesting IMSI attach (IMSI=001010123456789)

02:25:37.452793 [NAS ] [D] Starting T3410

Attach failed (attempt 2/5)

02:25:37.453092 [NAS ] [I] Timer T3410 expired after attach attempt 2/5: starting T3411

02:25:37.453341 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 07 42 01 3e 06 00 00 f1 10 00

             0010: 01 00 2a 52 01 c1 01 04 1b 07 74 65 73 74 31 32

             0020: 33 06 6d 6e 63 30 30 31 06 6d 63 63 30 30 31 04

             0030: 67 70 72 73 05 01 c0 a8 05 02 27 01 80 50 0b f6

             0040: 00 f1 10 80 01 01 35 16 6d bc 64 01 00

02:25:37.453365 [NAS ] [I] Integrity check ok. Local: count=0, Received: count=0  [00 00 00 00]

02:25:37.453368 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 07 42 01 3e 06 00 00 f1 10 00

             0010: 01 00 2a 52 01 c1 01 04 1b 07 74 65 73 74 31 32

             0020: 33 06 6d 6e 63 30 30 31 06 6d 63 63 30 30 31 04

             0030: 67 70 72 73 05 01 c0 a8 05 02 27 01 80 50 0b f6

             0040: 00 f1 10 80 01 01 35 16 6d bc 64 01 00

02:25:37.453379 [NAS ] [I] Received Attach Accept

02:25:37.453386 [NAS ] [I] Network attach successful. APN: test123.mnc001.mcc001.gprs, IP: 192.168.5.2

Network attach successful. IP: 192.168.5.2

02:25:37.453403 [GW  ] [I] TUN file descriptor = 4

02:25:37.454837 [GW  ] [D] Trying to obtain IPv6 addr of tun0 interface

02:25:37.454977 [GW  ] [D] NETLINK message type 20

02:25:37.454985 [GW  ] [D] NETLINK message type 20

02:25:37.454988 [GW  ] [D] NETLINK message type 20

02:25:37.454991 [GW  ] [D] NETLINK message type 20

02:25:37.455022 [GW  ] [D] Found link-local IPv6 address: fe80::48a4:ad16:db5d:2f7e

02:25:37.455172 [NAS ] [I] New state REGISTERED

02:25:37.455186 [GW  ] [I] GW IP packet receiver thread run_enable

02:25:37.455188 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.455206 [NAS ] [I] Sending Attach Complete

02:25:37.488607 [NAS ] [I] New state DEREGISTERED

02:25:37.488656 [NAS ] [E] Empty EIA list. Select at least one EIA algorithm.

02:25:37.488661 [NAS ] [E] Empty EEA list. Select at least one EEA algorithm.

02:25:37.488666 [NAS ] [I] Skip reading context from file.

02:25:37.488673 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 02 5a d9

02:25:37.488684 [NAS ] [I] Integrity check ok. Local: count=0, Received: count=0  [00 00 00 00]

02:25:37.488688 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 02 5a d9

02:25:37.488693 [NAS ] [I] ESM information request received for beaser=0, transaction_id=90

02:25:37.488696 [NAS ] [D] Including APN srslte in ESM info response

02:25:37.488700 [NAS ] [D] Including CHAP authentication for user srsuser in ESM info response

02:25:37.488705 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.488708 [NAS ] [I] Sending ESM information response

             0000: 02 5a da 28 07 06 73 72 73 6c 74 65 27 3f 80 c2

             0010: 23 1c 01 00 00 1c 10 67 c6 69 73 51 ff 4a ec 29

             0020: cd ba ab f2 fb e3 46 73 72 73 75 73 65 72 c2 23

             0030: 1c 02 00 00 1c 10 79 c0 f7 32 67 53 02 48 c7 f1

             0040: 87 7a 55 3c 6b d0 73 72 73 75 73 65 72

02:25:37.508343 [NAS ] [I] New state DEREGISTERED

02:25:37.508392 [NAS ] [E] Empty EIA list. Select at least one EIA algorithm.

02:25:37.508395 [NAS ] [E] Empty EEA list. Select at least one EEA algorithm.

02:25:37.508399 [NAS ] [I] Skip reading context from file.

02:25:37.508408 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 62 00 c5 05 01 01 07 21 31 00

             0010: 03 40 08 ae 5d 02 00 c2 81 34 01 4d

02:25:37.508418 [NAS ] [I] Integrity check ok. Local: count=0, Received: count=0  [00 00 00 00]

02:25:37.508426 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 62 00 c5 05 01 01 07 21 31 00

             0010: 03 40 08 ae 5d 02 00 c2 81 34 01 4d

02:25:37.508434 [NAS ] [I] Received Activate Dedicated EPS bearer context request (eps_bearer_id=6, linked_bearer_id=5, proc_id=0)

02:25:37.508437 [NAS ] [I] Traffic Flow Template: TFT OP code 0x1, Filter list size 1, Parameter list size 0

02:25:37.508439 [NAS ] [E] No linked default EPS bearer found (5).

02:25:37.508443 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 07 42 01 3e 06 00 00 f1 10 00

             0010: 01 00 2a 52 01 c1 01 04 1b 07 74 65 73 74 31 32

             0020: 33 06 6d 6e 63 30 30 31 06 6d 63 63 30 30 31 04

             0030: 67 70 72 73 05 01 c0 a8 05 02 27 01 80 50 0b f6

             0040: 00 f1 10 80 01 01 35 16 6d bc 64 01 00

02:25:37.508455 [NAS ] [I] Integrity check ok. Local: count=1, Received: count=0  [00 00 00 00]

02:25:37.508458 [NAS ] [I] Update local count to received value 0

02:25:37.508461 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 07 42 01 3e 06 00 00 f1 10 00

             0010: 01 00 2a 52 01 c1 01 04 1b 07 74 65 73 74 31 32

             0020: 33 06 6d 6e 63 30 30 31 06 6d 63 63 30 30 31 04

             0030: 67 70 72 73 05 01 c0 a8 05 02 27 01 80 50 0b f6

             0040: 00 f1 10 80 01 01 35 16 6d bc 64 01 00

02:25:37.508474 [NAS ] [I] Received Attach Accept

02:25:37.508483 [NAS ] [I] Network attach successful. APN: test123.mnc001.mcc001.gprs, IP: 192.168.5.2

Network attach successful. IP: 192.168.5.2

02:25:37.508489 [NAS ] [I] New state REGISTERED

02:25:37.508496 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.508499 [NAS ] [I] Sending Attach Complete

02:25:37.508503 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 62 00 c5 05 01 01 07 21 31 00

             0010: 03 40 08 ae 5d 02 00 c2 81 34 01 4d

02:25:37.508509 [NAS ] [I] Integrity check ok. Local: count=1, Received: count=0  [00 00 00 00]

02:25:37.508512 [NAS ] [I] Update local count to received value 0

02:25:37.508515 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 62 00 c5 05 01 01 07 21 31 00

             0010: 03 40 08 ae 5d 02 00 c2 81 34 01 4d

02:25:37.508522 [NAS ] [I] Received Activate Dedicated EPS bearer context request (eps_bearer_id=6, linked_bearer_id=5, proc_id=0)

02:25:37.508525 [NAS ] [I] Traffic Flow Template: TFT OP code 0x1, Filter list size 1, Parameter list size 0

02:25:37.508528 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.508532 [NAS ] [I] Sending Activate Dedicated EPS Bearer context accept (eps_bearer_id=6, proc_id=0)

             0000: 62 00 c6

02:25:37.508536 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 62 00 cd 24

02:25:37.508540 [NAS ] [I] Integrity check ok. Local: count=1, Received: count=0  [00 00 00 00]

02:25:37.508543 [NAS ] [I] Update local count to received value 0

02:25:37.508546 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 62 00 cd 24

02:25:37.508551 [NAS ] [I] Received Deactivate EPS bearer context request (eps_bearer_id=6, proc_id=0, cause=0x24)

02:25:37.508554 [NAS ] [I] Removed EPS bearer context (eps_bearer_id=6)

02:25:37.508557 [NAS ] [D] Not applying security for PDU. No context configured.

02:25:37.508560 [NAS ] [I] Sending Deactivate EPS Bearer context accept (eps_bearer_id=6, proc_id=0)

             0000: 62 00 ce

02:25:37.508565 [NAS ] [I] DL lcid PDU

             0000: 27 00 00 00 00 00 62 00 cd 24

02:25:37.508569 [NAS ] [I] Integrity check ok. Local: count=1, Received: count=0  [00 00 00 00]

02:25:37.508573 [NAS ] [I] Update local count to received value 0

02:25:37.508576 [NAS ] [I] DL lcid Decrypted PDU

             0000: 27 00 00 00 00 00 62 00 cd 24

02:25:37.508580 [NAS ] [I] Received Deactivate EPS bearer context request (eps_bearer_id=6, proc_id=0, cause=0x24)

02:25:37.508583 [NAS ] [E] EPS bearer doesn't exist (eps_bearer_id=6)




How to solve this test error!






















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200710/ac71b85a/attachment.htm>


More information about the srsran-users mailing list