aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-01-15 18:55:12 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-02-06 19:45:31 +0100
commitfd3883f3b1513943d35232bcecac18d702d82a82 (patch)
tree32acebbcb3c653e14a0b493830c38475031d50af
parent17b594502068dc4b28fa57ca087afe4170180e58 (diff)
-rw-r--r--ttcn3-bts-test/BTS_Tests.cfg8
-rw-r--r--ttcn3-bts-test/Dockerfile2
-rwxr-xr-xttcn3-bts-test/jenkins.sh5
-rw-r--r--ttcn3-bts-test/osmo-bsc-alltcch.cfg191
4 files changed, 201 insertions, 5 deletions
diff --git a/ttcn3-bts-test/BTS_Tests.cfg b/ttcn3-bts-test/BTS_Tests.cfg
index 7e734c8..bd8c3fa 100644
--- a/ttcn3-bts-test/BTS_Tests.cfg
+++ b/ttcn3-bts-test/BTS_Tests.cfg
@@ -14,10 +14,12 @@ BTS_Tests.mp_bts_trxc_ip := "172.18.9.21"
BTS_Tests.mp_pcu_socket := "/data/unix/pcu_sock"
L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
BTS_Tests.mp_ctrl_ip := "172.18.9.20"
+BTS_Tests_perf.mp_wait_time := 11.0
[MAIN_CONTROLLER]
[EXECUTE]
-BTS_Tests.control
-BTS_Tests_SMSCB.control
-BTS_Tests_LAPDm.control
+#BTS_Tests.control
+#BTS_Tests_SMSCB.control
+#BTS_Tests_LAPDm.control
+BTS_Tests_perf.TC_highchanload_tchh
diff --git a/ttcn3-bts-test/Dockerfile b/ttcn3-bts-test/Dockerfile
index 29185c8..26f097e 100644
--- a/ttcn3-bts-test/Dockerfile
+++ b/ttcn3-bts-test/Dockerfile
@@ -11,7 +11,7 @@ RUN cd osmo-ttcn3-hacks && \
RUN git config --global user.email docker@dock.er && \
git config --global user.name "Dock Er"
-ARG OSMO_TTCN3_BRANCH="master"
+ARG OSMO_TTCN3_BRANCH="pespin/bts-perf"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \
diff --git a/ttcn3-bts-test/jenkins.sh b/ttcn3-bts-test/jenkins.sh
index 325e564..e572481 100755
--- a/ttcn3-bts-test/jenkins.sh
+++ b/ttcn3-bts-test/jenkins.sh
@@ -92,7 +92,7 @@ mkdir $VOL_BASE_DIR/bts-tester/unix
cp BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
mkdir $VOL_BASE_DIR/bsc
-cp osmo-bsc.cfg $VOL_BASE_DIR/bsc/
+cp osmo-bsc-alltcch.cfg $VOL_BASE_DIR/bsc/osmo-bsc.cfg
mkdir $VOL_BASE_DIR/bts
mkdir $VOL_BASE_DIR/bts/unix
@@ -110,6 +110,7 @@ start_fake_trx
start_trxcon
start_testsuite
+foo() {
# 2) some GPRS tests require virt_phy
echo "Changing to virtphy configuration"
# switch from osmo-bts-trx + trxcon + faketrx to virtphy + osmo-bts-virtual
@@ -135,8 +136,10 @@ start_trxcon
# ... and execute the testsuite again with different cfg
cp oml/BTS_Tests.cfg $VOL_BASE_DIR/bts-tester/
start_testsuite
+}
echo Stopping containers
+docker container kill ${BUILD_TAG}-bsc
docker container kill ${BUILD_TAG}-trxcon
docker container kill ${BUILD_TAG}-fake_trx
docker container kill ${BUILD_TAG}-bts
diff --git a/ttcn3-bts-test/osmo-bsc-alltcch.cfg b/ttcn3-bts-test/osmo-bsc-alltcch.cfg
new file mode 100644
index 0000000..e1d0c7f
--- /dev/null
+++ b/ttcn3-bts-test/osmo-bsc-alltcch.cfg
@@ -0,0 +1,191 @@
+!
+! OsmoBSC (1.1.2.236-5f22) configuration saved from vty
+!!
+password foo
+!
+log gsmtap 172.18.9.10
+ logging level set-all debug
+ logging filter all 1
+!
+log stderr
+ logging filter all 1
+ logging color 1
+ logging print category 1
+ logging timestamp 1
+ logging print extended-timestamp 1
+ logging print file 1
+ logging level all everything
+ logging level rll info
+ logging level mm notice
+ logging level rr notice
+ logging level rsl debug
+ logging level nm notice
+ logging level pag notice
+ logging level meas notice
+ logging level msc debug
+ logging level ho notice
+ logging level hodec notice
+ logging level ref notice
+ logging level nat notice
+ logging level ctrl notice
+ logging level filter debug
+ logging level pcu debug
+ logging level lglobal notice
+ logging level llapd notice
+ logging level linp notice
+ logging level lmux notice
+ logging level lmi notice
+ logging level lmib notice
+ logging level lsms notice
+ logging level lctrl info
+ logging level lgtp notice
+ logging level lstats notice
+ logging level lgsup notice
+ logging level loap notice
+ logging level lss7 notice
+ logging level lsccp info
+ logging level lsua notice
+ logging level lm3ua notice
+ logging level lmgcp notice
+!
+stats interval 5
+!
+line vty
+ no login
+ bind 0.0.0.0
+!
+e1_input
+ e1_line 0 driver ipa
+ e1_line 0 port 0
+ no e1_line 0 keepalive
+ ipa bind 0.0.0.0
+cs7 instance 0
+ point-code 0.23.3
+ asp asp-clnt-msc-0 2905 0 m3ua
+ as as-clnt-msc-0 m3ua
+ asp asp-clnt-msc-0
+ routing-key 2 0.23.3
+network
+ network country code 1
+ mobile network code 1
+ encryption a5 0
+ neci 1
+ paging any use tch 0
+ handover 0
+ handover1 window rxlev averaging 10
+ handover1 window rxqual averaging 1
+ handover1 window rxlev neighbor averaging 10
+ handover1 power budget interval 6
+ handover1 power budget hysteresis 3
+ handover1 maximum distance 9999
+ periodic location update 30
+ bts 0
+ type sysmobts
+ band DCS1800
+ cell_identity 0
+ location_area_code 1
+ dtx uplink force
+ dtx downlink
+ base_station_id_code 63
+ ms max power 15
+ cell reselection hysteresis 4
+ rxlev access min 0
+ radio-link-timeout 32
+ channel allocator ascending
+ rach tx integer 9
+ rach max transmission 7
+ channel-descrption attach 1
+ channel-descrption bs-pa-mfrms 5
+ channel-descrption bs-ag-blks-res 1
+ early-classmark-sending forbidden
+ early-classmark-sending-3g allowed
+ ip.access unit_id 1234 0
+ ip.access rsl-ip 172.18.9.10
+ oml ip.access stream_id 255 line 0
+ neighbor-list mode manual-si5
+ neighbor-list add arfcn 100
+ neighbor-list add arfcn 200
+ si5 neighbor-list add arfcn 10
+ si5 neighbor-list add arfcn 20
+ codec-support fr
+ gprs mode gprs
+ gprs 11bit_rach_support_for_egprs 0
+ gprs routing area 0
+ gprs network-control-order nc0
+ gprs cell bvci 1234
+ gprs cell timer blocking-timer 3
+ gprs cell timer blocking-retries 3
+ gprs cell timer unblocking-retries 3
+ gprs cell timer reset-timer 3
+ gprs cell timer reset-retries 3
+ gprs cell timer suspend-timer 10
+ gprs cell timer suspend-retries 3
+ gprs cell timer resume-timer 10
+ gprs cell timer resume-retries 3
+ gprs cell timer capability-update-timer 10
+ gprs cell timer capability-update-retries 3
+ gprs nsei 1234
+ gprs ns timer tns-block 3
+ gprs ns timer tns-block-retries 3
+ gprs ns timer tns-reset 3
+ gprs ns timer tns-reset-retries 3
+ gprs ns timer tns-test 30
+ gprs ns timer tns-alive 3
+ gprs ns timer tns-alive-retries 10
+ gprs nsvc 0 nsvci 1234
+ gprs nsvc 0 local udp port 23000
+ gprs nsvc 0 remote udp port 23000
+ gprs nsvc 0 remote ip 0.0.0.0
+ no force-combined-si
+ trx 0
+ rf_locked 0
+ arfcn 871
+ nominal power 23
+ max_power_red 20
+ rsl e1 tei 0
+ timeslot 0
+ phys_chan_config CCCH+SDCCH4
+ hopping enabled 0
+ timeslot 1
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 2
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 3
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 4
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 5
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 6
+ phys_chan_config TCH/H
+ hopping enabled 0
+ timeslot 7
+ phys_chan_config TCH/H
+ hopping enabled 0
+msc 0
+ core-location-area-code 666
+ core-cell-identity 333
+ ip.access rtp-base 4000
+ no bsc-welcome-text
+ no bsc-msc-lost-text
+ no bsc-grace-text
+ codec-list fr1 fr2 fr3
+ type normal
+ allow-emergency allow
+ amr-config 12_2k forbidden
+ amr-config 10_2k forbidden
+ amr-config 7_95k forbidden
+ amr-config 7_40k forbidden
+ amr-config 6_70k forbidden
+ amr-config 5_90k allowed
+ amr-config 5_15k forbidden
+ amr-config 4_75k forbidden
+bsc
+ mid-call-timeout 0
+ no missing-msc-text
+ access-list-name bsc-list