From 86e35e488740889f8ad03d09a78918839b883240 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 7 Mar 2019 12:20:42 +0100 Subject: Enable LGLOBAL logging for TBF tests This exposes the bug in BSSGP rate counter group allocation in the current tests version which should be fixed in a separate commit. Change-Id: I6317eccfb1408c5c9d07110a8b059f5ceb5d2afc --- tests/tbf/TbfTest.cpp | 2 +- tests/tbf/TbfTest.err | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp index ff73d903..d78a4ab1 100644 --- a/tests/tbf/TbfTest.cpp +++ b/tests/tbf/TbfTest.cpp @@ -3262,7 +3262,7 @@ int main(int argc, char **argv) bssgp_set_log_ss(DBSSGP); log_parse_category_mask(osmo_stderr_target, "DRLCMAC,1:DRLCMACDATA,3:DRLCMACDL,3:DRLCMACUL,3:" "DRLCMACSCHED,1:DRLCMACMEAS,3:DNS,3:DBSSGP,3:DPCU,5:" - "DL1IF,6:DTBF,1:DTBFUL,1:DTBFDL,1:"); + "DL1IF,6:DTBF,1:DTBFUL,1:DTBFDL,1:DLGLOBAL,2:"); vty_init(&pcu_vty_info); pcu_vty_init(&gprs_log_info); diff --git a/tests/tbf/TbfTest.err b/tests/tbf/TbfTest.err index e788ccce..4e152562 100644 --- a/tests/tbf/TbfTest.err +++ b/tests/tbf/TbfTest.err @@ -1337,6 +1337,7 @@ Slot Allocation (Algorithm A) for class 45 - Failed to find a usable TRX (TFI exhausted) No PDCH resource Destroying MS object, TLLI = 0x00000000 +counter group 'bssgp:bss_ctx' already exists for index 1234, instead using index 1235. This is a software bug that needs fixing. ********** DL-TBF starts here ********** Allocating DL TBF: MS_CLASS=45/0 Creating MS object, TLLI = 0x00000000 @@ -3014,8 +3015,10 @@ TBF(TFI=1 TLLI=0xf1223344 DIR=DL STATE=FINISHED) Scheduled DL Acknowledgement po TBF(TFI=1 TLLI=0xf1223344 DIR=DL STATE=FINISHED) starting timer T3191 [final block (DL-TBF)] with 0 sec. 0 microsec, cur_fn=0 TBF(TFI=1 TLLI=0xf1223344 DIR=DL STATE=FINISHED) Scheduled Ack/Nack polling on FN=2654461, TS=7 TBF(TFI=1 TLLI=0xf1223344 DIR=DL STATE=FINISHED) msg block (BSN 10, CS-1): 0f 03 14 4d 43 20 50 41 43 4b 45 54 20 30 39 20 28 54 42 46 20 32 29 +counter group 'bssgp:bss_ctx' already exists for index 1234, instead using index 1236. This is a software bug that needs fixing. Not accepting non-EGPRS phone in EGPRS-only mode No PDCH resource +counter group 'bssgp:bss_ctx' already exists for index 1234, instead using index 1237. This is a software bug that needs fixing. ********** DL-TBF starts here ********** Allocating DL TBF: MS_CLASS=12/0 Creating MS object, TLLI = 0x00000000 @@ -5904,6 +5907,7 @@ TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=NULL EGPRS) changes state from NULL to AS TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN EGPRS) set ass. type PACCH [prev CCCH:0, PACCH:0] TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN EGPRS) starting timer T0 [assignment (PACCH)] with 2 sec. 0 microsec, cur_fn=0 TBF(TFI=0 TLLI=0xf1223344 DIR=DL STATE=ASSIGN EGPRS) appending 256 bytes +counter group 'bssgp:bss_ctx' already exists for index 1234, instead using index 1238. This is a software bug that needs fixing. ********** DL-TBF starts here ********** Allocating DL TBF: MS_CLASS=11/11 Creating MS object, TLLI = 0x00000000 -- cgit v1.2.3