ttcn3-bts-test: both TC_si_sched_13_2bis_2ter_2quater and TC_si_sched_2quater are broken
Both test cases are broken since build#949 :
Dynamic test case error: While RAW-decoding type '@GSM_SystemInformation.SystemInformation': There is not enough bits in the buffer to decode type @GSM_RestOctets.UTRAN_GPRSMeasParamsDescOpt.presence.
I think this regression is caused by . The problem is that in ttcn3-bts-test, SI2quater contains a list of UTRAN neighbor cells, that is currently not implemented in SI2quaterRestOctets. The coding of this list is quite complex (more complex than the E-ARFCN list), and would probably require us to implement some parts in C++. As a quick work around, we could avoid calling dec_SystemInformation() on SI2quater in f_l1_sample_si().
#1 Updated by fixeria over 1 year ago
- Status changed from New to Feedback
- Assignee set to fixeria
- Priority changed from Normal to High
- % Done changed from 0 to 90
Should be fixed by this change:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19212 library/GSM_SystemInformation: add dec_SystemInformationSafe()
#5 Updated by fixeria about 1 year ago
- Status changed from In Progress to Feedback
- % Done changed from 80 to 100
Unfortunately, dec_SystemInformationSafe() did not solve the problem. The test case does not crash anymore, but still fails.
It does not crash, but still does not store the SI message in array if decoding fails. Here is a simple solution:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20883 BTS_Tests: fix both TC_si_sched[_13_2bis_2ter]_2quater
Works for me ;)