osmo-gsm-tester: add test case: Test 2nd trx is correctly used
We may need to add a "supported_trx" config in resources.conf to specify how many TRX can a given BTS support. This way we can use scenarios to filter for a BTS which supports that number of TRX (but we cannot match for <=, need to think more about it). Alternatively, we can use one of the BTS that we now supports it, like ":octphy".
To test that the 2nd trx is used correctly, we can use an already existing BSC/BTS VTY cmd called "channel allocator" which can have parameters "ascend" or "descend".
One of those options changes the algo used to allocate channels to start from the latest one available, ie. last timeslot in the 2nd TRX.
We can use that and place a voice call and make sure somehow that the 2nd TRX is being used (checking the log file?).
#3 Updated by pespin about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
Following patches have been submitted to test multiTRX with nanoBTS.
https://gerrit.osmocom.org/#/c/osmo-gsm-tester/+/10582 Add channel_allocator cfg attr to bts resources
remote: https://gerrit.osmocom.org/#/c/osmo-gsm-tester/+/10583 Add testsuite + scenarios to test nanoBTS multiTRX
Tests are passing but looking at the logs it seems only channels from first TRX are available when looking for a channel.
#4 Updated by pespin about 1 year ago
- Status changed from In Progress to Feedback
- Assignee changed from pespin to dexter
Assigning to dexter since he was assigned a related ticket to fix second TRX not being used during channel allocation time when using a nanobts with MultiTRX.
Once it has been fixed and we see multitrx tests in osmo-gsm-tester using the second TRX, we can close this ticket.