Ok, got it:
We run osmo_init_logging() in OsmoPCU tests but by that time rate_ctr_group_alloc() is already called from BTS singleton constructor. Calling osmo_init_logging()from there is not an option as we won't have logging levels set properly - see
https://gerrit.osmocom.org/4411
for details.
Shall I move rate-ctr related code outside of singleton? Is there better solution?