Commit Graph

41 Commits

Author SHA1 Message Date
Harald Welte 967d903040 remove deprecated 'logging level all everything' from configs
it has been deprecated in libosmocore.git 2.5 years ago:

commit 7e0686c6b4b456ec4e6e15689694b1bcf96c301f
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date:   Mon Sep 10 20:58:52 2018 +0200

Change-Id: Ia6946fae497319a894d4e664ac8642340620822e
2021-04-25 13:11:03 +02:00
Vadim Yanitskiy 79b752fa32 */osmo-bsc.cfg: remove obsolete no-op parameters
Change-Id: Idebf9df98648b3fe8213cae550ce50e9805bac96
2021-03-09 13:50:41 +01:00
Neels Hofmeyr 738ec9d51f bsc: add missing 'smlc / enable' for LCS tests
This part is missing from the already merged
I3394f391a6068ab8afeafa329b69a8ae4ad05cd9
which enabled LCS tests for osmo-bsc.

Change-Id: I873d6e46e00ee0e91b15d719829baff2bf9f115a
2020-10-16 15:49:04 +02:00
Pau Espin a985e1bd6e ttcn3-bsc: Enable osmo-bsc SS7 multi-homing and IPv6 features in tests
Change-Id: I662ede0957a67c7a733cba8e4e65bf0c8c72b878
2020-08-30 14:15:27 +00:00
Neels Hofmeyr c276d736c7 bsc CBSP: apply new cbc config
Adjust osmo-bsc.cfg to work with osmo-bsc
Icaa2775cc20a99227dabe38a775ff808b374cf98 and osmo-ttcn3-hacks
I7eea0dd39de50ed80af79e0f10c836b8685d8644.

Related: Icaa2775cc20a99227dabe38a775ff808b374cf98 (osmo-bsc)
Related: I7eea0dd39de50ed80af79e0f10c836b8685d8644 (osmo-ttcn3-hacks)
Related: OS#4702
Change-Id: I9e9760121265b3661f1c179610e975cf7a0873f1
2020-08-28 08:44:27 +00:00
Daniel Willmann 68ddce97e3 Update bsc tester config to enable stats testing
Change-Id: I6ed591cdc4d3108547eda2a1755ae6f6cef2b4d2
Related: SYS#4877
Depends: I8526b645dc4af59adcc1855699421a026f505c1d (osmo-ttcn3-hacks)
2020-08-13 23:00:44 +02:00
Neels Hofmeyr cca5e49c4e bsc CBSP: fix osmo-bsc.cfg to contain 3 BTS with a CBCH
The bsc/BSC_Tests_CBSP.ttcn rely on a configuration where the first three BTS
carry out SMSCB messaging, and the fourth BTS does not. That requires a CBCH
channel config on bts 0, 1, 2.

Related: Iac46ee2cc5bc0978d5f5baa550baf493a7c56b1b (osmo-ttcn3-hacks)
Change-Id: Idbcc703ace7012fb395f0eef3e445df28b368d74
2020-08-12 21:11:48 +00:00
Neels Hofmeyr 329612ea9c bsc: adjust osmo-bsc.cfg for MSC pooling tests
Depends: I6c251f2744d7be26fc4ad74adefc96a6a3fe08b0 (osmo-bsc)
Change-Id: I353a2023d41d9f083acdd61da11109cb5a002f9b
2020-06-20 14:06:18 +00:00
Vadim Yanitskiy c69cb106fd osmo-{bsc,msc}.cfg: eliminate 'periodic location update 30'
This parameter has been deprecated in both osmo-msc and osmo-bsc.

Change-Id: I6d33c6d9c43078ee9961d3b076386188ec45be0f
2020-06-01 01:17:35 +07:00
Vadim Yanitskiy 3bd7fc452b osmo-bsc.cfg: drop deprecated '11bit_rach_support_for_egprs'
EGPRS Packet Channel Request cannot be enabled in 'GPRS only' mode
anyway. Moreover, this command was deprecated. Let's just remove it.

Change-Id: I03733490d9c4bf78a748d22874e550e015fbab78
2020-05-29 19:23:55 +07:00
Neels Hofmeyr acd141fa61 bsc: drop access-list-name from osmo-bsc.cfg
This configuration option is unused. Related: the IMSI filtering access list is
being dropped from osmo-bsc, which might cause test fallout.

Related: I89727af5387e8360362e995fdee959883c37d89a (osmo-bsc)
Change-Id: Ied8d766ba230b93cb1185fc8b1a77f5540dfdbc1
2020-05-18 17:52:31 +02:00
Neels Hofmeyr 4449ccd8c4 bsc/osmo-bsc.cfg: remove legacy 'rtp-base' config
osmo-bsc does not use an rtp-base for years, ever since we're using an MGW.

Related: Id14fa3066ca5d472a817593074a6222f159168a8
Change-Id: I267840ecb816e9de6d89ebbacb3e296c59fad57c
2020-05-13 17:57:50 +02:00
Harald Welte 33fe5f7d88 ttcn3-bsc-test: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the
bogus 'NAT' log category has been removed from osmo-bsc.

Change-Id: Ie2afacfc15589c26238214cddc00baaf80e993c1
2020-04-04 18:58:48 +02:00
Harald Welte cf2e72b6e7 ttcn3-bsc-test: Enable CBSP tests
for some strange reason, the tests developed + merged in September 2019
are not yet automatically executed.  Let's fix that.

"latest" should work fine, the BSC side code was already present in 1.6.0

Change-Id: I4408265d1be900359256f5cab553893d03cc8362
2020-03-30 20:00:31 +02:00
Pau Espin c3f157b939 Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file
This way we get VTY parsing failures as well as backtraces upon process
crash.

Related: OS#4212
Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
2019-11-20 17:17:45 +01:00
Philipp Maier 80030e9815 osmo-bsc.cfg: remove obsolete logging categories (cc, mgcp)
The logging categories cc and mgcp are obsolete. The tests still contain
logging statements with those categories, which makes osmo-bsc
terminate during startup while parsing the configuration file.

Change-Id: Ifd6bf46b73420c0443f997ea953318710544b751
2019-10-30 08:08:31 +00:00
Pau Espin 65bc0ae407 ttcn-*: Fix gsmtap log not enabled
gsmtap log won't be sending any message unless it is allowed by "logging
filter all 1".

Change-Id: Ibf8062c0d962f2572a07623e6f06936df0d42c67
2019-10-04 15:50:50 +02:00
Neels Hofmeyr 8ddb0f87ab apply osmo-bsc.cfg changes from osmo-ttcn3-hacks
Analogous to osmo-ttcn3-hacks patch If44dd6b578cdc55076c8180707d1c2d69fe5f2a8,
also remove the neighbor config from osmo-bsc.cfg here.

Change-Id: I23d9a2046709452f4d3904230871f7421c6987a9
2019-08-15 01:05:27 +02:00
Neels Hofmeyr f3c0493976 adjust osmo-bsc.cfg for TC_ho_neighbor_config_1 thru _7
- Actually enable handover.
- Add bts 3

Related: osmo-ttcn3-hacks Ia4ba0e75abd3d45a3422b2525e5f938cdc5a04cc
Change-Id: I1c57a04747f5ec004ccf4657954dcb0b003c24fc
2019-08-13 21:53:50 +00:00
Oliver Smith c2ed5bb201 ttcn3-*: enable GSMTAP logging
Configure each osmo-* program to send GSMTAP log output to the IP of the
docker container, which runs the testsuite (and therefore runs tcpdump).

Related: https://lists.osmocom.org/pipermail/openbsc/2019-June/012946.html
Change-Id: I99e74f6ffb5b7d566cec35995bf067df414968d8
2019-07-10 09:34:39 +02:00
Philipp Maier 73f2d8b9b1 ttcn3-bsc-test: set EARFCN in osmo-bsc.cfg
Currently no EARFCN is set in osmo-bsc.cfg. This setting is required for
TC_chan_rel_hard_clear_csfb to function

Change-Id: I929c0b2927eb78573b7208683cf610be6be8812a
Related: OS#3852
2019-03-21 15:54:59 +00:00
Vadim Yanitskiy b6c3dd787a .../osmo-bsc.cfg: drop deprecated dyn_ts_allow_tch_f
Since Ib2335d02ea545aff837aadd49f15b2fdb418c46e, this VTY option
is deprecated in osmo-bsc, so let's actualize the config files.

Change-Id: I709e1afd2a9cccdc92eec312dff607947a10c299
2019-01-14 21:07:36 +00:00
Pau Espin f8edc56f3a bsc: osmo-bsc.cfg: Use extended timestamp
It allows for easier matching against pcap files.

Change-Id: Ida71bdd8b3ca0f8bd3f2888e10e72f2872d2e62a
2018-11-08 17:38:23 +01:00
Neels Hofmeyr 850c89ffa8 osmo-bsc.cfg: inter-bsc HO: add a neighbor identity
This mirrors osmo-ttcn3-hacks change:
"bsc: inter-BSC HO: add TC_ho_out_of_this_bsc, TC_ho_into_this_bsc"
change-id Id22852d4be7f127d827e7a8beeec55db27c07f03

(As well as removal of the 'add' keyword in change-id
I6a83a8d4ba61b87905c6fae457d4b4eb6078dce9 after osmo-bsc change
I143f21f6069d1a86096cc8240cf69eb7ea9c8ac8.)

Related: OS#2283
Change-Id: I077c2ad2ede900ec43f55655bd740651d3bbe83d
2018-09-27 22:22:34 +02:00
Harald Welte ff3dc6e45f ensure well-formed config files
Change-Id: Id687e63c418e2e955ccbb92f2420a80fc0704ea4
2018-09-26 09:27:38 +00:00
Harald Welte 61145cf086 bsc: Enable LCLS tests from BSC_Tests_LCLS TTCN-3 module
Change-Id: I0439c61cc49e088efef3b91c1dbf293ee9a44939
2018-06-03 15:16:41 +00:00
Harald Welte baaf308fcb osmo-bsc.cfg: remove obsolete "dest" command
Change-Id: I9c81af2e5ff1149a9fb0cb161e907eddf2270648
2018-05-30 14:28:25 +00:00
Stefan Sperling 4147adabb9 fix location area codes in BSC_Tests osmo-bsc.cfg for jenkins
The osmo-bsc configuration file used on Jenkins assigned wrong location
area codes to BTS 1 and 2. This fix should make TC_paging_imsi_nochan_lac
and TC_paging_imsi_nochan_lai pass on Jenkins.

Change-Id: Id35a85804c4a07f6c4136ef4570b4e21e250b9cd
2018-05-29 16:13:40 +02:00
Neels Hofmeyr 2d734900d8 ttcn3-bsc-test: bsc cfg: fix ARFCN-BSIC collisions
All three BTS are configured for ARFCN 871 and BSIC 63, which causes trouble
for handover tests. Set BSICs to 10, 11 and 12 (not 0,1,2 to mark the
distinction from the cell_identity).

It wasn't a problem so far since we cheated by passing the BTS target number
from VTY. But as soon as we will start identifying handover target cells by
ARFCN+BSIC exclusively, TC_ho_int would fall on its face without this patch.

See also: osmo-ttcn3-hacks I2ea8889ea40953f5a23eab40db52585556a410bc
Change-Id: I29a117aa54aa06ca49646f25a08af8521832fd8d
2018-04-11 01:24:05 +02:00
Neels Hofmeyr 1b51ff89c5 osmo-bsc.cfg: drop legacy config: timeout-ping, timeout-pong
Change-Id: I70bffa7ed96da099993ba0cedc50178ca9e00db4
2018-04-05 00:54:18 +02:00
Philipp Maier 41962f7bf5 ttcn3-bscc-test/osmo-bsc.cfg: Add TCH/H channels
The configuration of osmo-bsc currently only supports halfrate
traffic channels. In order to test assignments which contain
half rate codecs we also have to have halfrate channels available.

Change-Id: Ibcce03ab0c98545a1f316d88e1f3dd75e2ff65e1
Related: OS#3100
Related: OS#3095
2018-03-27 13:35:29 +02:00
Harald Welte 6f786a7383 ttcn3-bsc-test: Enable all codecs on all BTSs
We now have TC_assignment_codec_ tests which assume that those
codecs are available.

Change-Id: I0ff19a4bc9bba5ff2de3b5d4c399b483e8ca097b
2018-03-22 18:30:08 +01:00
Neels Hofmeyr 2f5a5b689c fix ttcn3-bsc-test: osmo-bsc.cfg: add mgw IP
The osmo-bsc-main docker container is run in a separate docker container and
cannot reach the virtual MGW set up by the ttcn3-bsc-tests.

From ttcn3-bsc-tests/jenkins.sh it is clear that the tests are run at IP
172.18.2.203. Add this as the 'mgw remote-ip' setting in
ttcn3-bsc-tests/osmo-bsc.cfg.

This fixes the first half of the disconnect between BSC and virtual MGW in this
docker setup. The second half is I3038481ed0bba1084b63dc6a6d2ff6e970100890.

Change-Id: Ib53f000ec7e717b14a3e5df6e803d3d0950b937f
2018-03-20 00:42:45 +01:00
Neels Hofmeyr e707891fa8 fix osmo-bsc.cfg: drop no longer supported options 2018-02-23 15:09:29 +01:00
Philipp Maier 7453361fd0 ttcn3-bsc-test: enable A51 and A53 encryption
the BSC configuration currently only offers A50 (no) encryption.
Since the TTCN3 tests also cover assignment tests with encryption
and osmo-bsc now supports multiple cipher settings at a time this
setting should be extended accordingly.

- Also enable A51 and A53 encryption.
2018-02-19 22:16:12 +01:00
Harald Welte 5a76f11320 ttcn3-bsc-test: Fix log file name (osmo-bsc.log, not osmo-msc.log) 2018-02-14 09:06:03 +00:00
Harald Welte 675c76cfd5 ttcn3-bsc-test: Update config with recent changes (VTY, moduleparm change) 2018-02-14 09:05:35 +00:00
Harald Welte 6e61e5a319 bsc/msc test: Make sure we create text log files
as we don't capture stderr on all *but* the tester container, let's
make sure we write log files from the BSC/MSC/STP containers
2018-02-06 20:22:39 +01:00
Harald Welte facbb6575e move every 'test network' to its own IP address space
Ideally we would want to launch a group of containers with their own
private network segment and use the same static IP addresses in those
isolated networks.

The stupidity of docker is requiring unique IPv4 addresses even on
isolated (!) networks.  This means we have to manually give each of our
test setups a different subnet, and then we can at least run one
instance that test in parallel to at most one instance of each other
test.

If this weird reestriction about unique IPv4 addresses didn't exist,
we could start any number of test runs in parallel.
2018-02-06 19:08:45 +01:00
Harald Welte 1ab46eadc8 osmo-bsc-tests: Remove obsolete VTY config statements 2017-12-20 02:35:29 +00:00
Harald Welte 084967574e add ttcn3-bsc-test container with osmo-bsc test suite 2017-12-17 17:21:04 +01:00