Commit Graph

675 Commits

Author SHA1 Message Date
Pau Espin 1210086f95 ogt: Install dependency python3-watchdog
Change-Id: I9136cef6b5a7be085c840dd798bc21493f0a47a6
2020-11-10 17:26:44 +01:00
Harald Welte 027826fdba introduce 'REGISTRY' argument to all Dockerfiles
This is initialized to docker.io, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
2020-11-02 17:02:26 +01:00
Harald Welte a90660bef8 osmo-mgw-master: Add missing libosmo-abis dependency on CentOS
Change-Id: I2f2368aa1dba52937164ade319722f1e85635f15
2020-10-25 10:47:03 +00:00
Pau Espin d5bd67d602 ogt: Create grbroker target directory
This is needed on the target remote hosts, where osmo-gsm-tester will
install a copy of the script to run remotely at runtime.

Change-Id: I59151dfe7091628707cd016db42171d22729a60c
2020-10-21 12:34:05 +00:00
Pau Espin e89c0d2ede ttcn3-bts: Enable gsmtap sapi for tch in osmo-bts.cfg
Change-Id: Idbd30800538200970de7a7fba6cd051cdf7ff252
2020-10-21 11:55:19 +00:00
Neels Hofmeyr 6c61185db4 fix ttcn3-smlc-test/Dockerfile
Change-Id: I6a53b3f398d807233a53cad61ae61b5f0c89b971
2020-10-21 00:46:10 +02:00
Daniel Willmann d047266211 gbproxy: Fix docker config for SGSN NS port
Related: SYS#5002
Change-Id: Idcd594714b3a525d496c471f16b62addf7d25ea9
2020-10-19 14:57:35 +00:00
Pau Espin 2ac3deec0b osmo-gsm-tester: Install gnuradio dependency
The python bindings of gnuradio are used to control a zmq connection
broker between srsENB and srsUE to emulate attenuations.

Change-Id: Ic4e8c4d6a5d1e20dd336ff15868c7c3f51dea323
2020-10-16 16:13:15 +02: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
Harald Welte 0cb56e4bc7 osmo-*-master: Invalidate docker cache when CentOS repo changes
We currently only invalidate the cache if the Debian repository changes,
but not if the CentOS repository changes.  This leads to strange
artefacts, such as CentOS containers for osmo-bts-master using an
old libosmocore, despite a new one being available in the repo.

As Dockerfiles don't support conditional "ADD", we need to actually
add both the CentOS and the Debian repsotiry file, so any change
in either of the two will now (unneccessarily) invalidate the cache
for both Debian and CentOS builds.

Change-Id: I7b13644afb9d3be3b94184193177e003c13718d3
2020-10-16 13:13:08 +02:00
Daniel Willmann 687ea83fc6 Add GBProxy_Test
Change-Id: I6661887c741b44aa0927079f79b4d5fcc40d8acf
2020-10-15 17:02:14 +02:00
Daniel Willmann f567542874 osmo-sgsn-*: Expose ports for gbproxy as well
Change-Id: I4d2f659b14919a15601f507704e3224aedf5e24f
2020-10-15 11:14:17 +02:00
Daniel Willmann 95c6d07758 osmo-pcu-test: Only handle SNS where we test IP-SNS
Change-Id: Ic26699c40793224d0c647046e09a7a94b5e109bd
2020-10-15 11:14:17 +02:00
Neels Hofmeyr 81f6944d15 bsc: enable LCS tests for normal bsc master tests
Change-Id: I3394f391a6068ab8afeafa329b69a8ae4ad05cd9
2020-10-15 04:11:04 +00:00
Neels Hofmeyr 71b3157420 add ttcn3-smlc-test
Change-Id: I6ab09224a41796fed4023ba1ef1ff99f37863875
2020-10-15 04:09:33 +00:00
Neels Hofmeyr 72ddd58f07 add osmo-smlc-master
Change-Id: I8222e80e84432e51d86fd3b9faeaab6d20723d7e
2020-10-15 04:09:33 +00:00
Neels Hofmeyr c0c3596dfa bsc: enable Lb routing between BSC <-> virtual SMLC
Notably LCS tests are still disabled, just routing BSSMAP-LE/SCCP via STP to
the virtual SMLC is now possible.

Change-Id: Ic296291886ce18fd3ff34d45c519de605ba827cc
2020-10-15 00:57:45 +00:00
Neels Hofmeyr 3318ed3f26 bsc: add mp_enable_lcs_tests := false
Introduce this switch for enabling the Lb interface startup, and first off set
to false everywhere. A later patch will enable Lb where it makes sense.

Depends: Idf463c3c2169cad953b4ebc5b5845b31d5efb848 (osmo-ttcn3-hacks)
Change-Id: Id26064931c482c25217bccdeec866e9afc1fd9b5
2020-10-15 00:56:15 +00:00
Vadim Yanitskiy 36600bdfbc ttcn3-pcu-test: fix latest: tolerate CellId IE in BVC-RESET for BVCO=0
For more details, see Ie87820537d6d616da4fd4bbf73eab06e28fda5e1.

Change-Id: Ibe7eac7ff82955fab16373fae6d9ef4efb35a3a5
Depends: If6245d73ed701e631b67146ace4ba028bdb4226c
Depends: Icebee25b53fef623db6ae91ca0d943e70a3c86b7
2020-10-09 17:21:32 +07:00
Pau Espin 3cee04dddb ogt: Update installed patchelf to required version 0.11
osmo-gsm-tester requires patchelf 0.11 since a while ago to solve some
bugs on older versions. See osmo-ci
d276db78afbb3f28fc6a4a949bca131d0cfac1d4 for more information.

Related: OS#4389

Change-Id: I3a0c2168420d2a4ee2302a191824f571ec17786b
2020-10-05 12:44:09 +02:00
Harald Welte 01a159b847 gerrit: upgrade to 3.2.3
Change-Id: I81cc8439719576d09d90622d4c69cd960e34728c
2020-10-03 16:02:36 +02:00
Harald Welte 6dec3e7264 gerrit: upgrade to 2.16.22
Change-Id: I9fdf561d404512b5e4f16e93229da974c394b670
2020-10-03 13:21:43 +02:00
Harald Welte 0c77380165 cgit: Increase fastcgi timeout from default 60s to 120s
Change-Id: Ida429f692fe939bb96bdd1c7313e6b0fd7b26913
2020-10-03 12:43:20 +02:00
Harald Welte 28a44de777 cgit: Don't depend on unmaintained upstream; work directly with debian
Change-Id: Ifa98f77c24298265e39313b679944d649e25ddde
2020-10-03 12:36:04 +02:00
Harald Welte e5f036796c cgit: osmo-commit-filter.py: migrate from deprecated cgi.escape to html.escape
Our error.log is full of:

/usr/local/lib/cgit/filters/osmo-commit-filter.py:18: DeprecationWarning: cgi.escape is deprecated, use html.escape instead
  return '<a href="%s">%s</a>' % (url, cgi.escape(txt))

Change-Id: I97707519029d4f8d703d2df1b8beab15665d49b1
2020-10-03 12:15:45 +02:00
Philipp Maier 148f45de7c BSC_Tests: disable IPV6 parameter mp_media_mgw_offer_ipv6 for latest
Change-Id: I63f9d751c8b1347d2e14ab408830ba4858e133b2
Depends: osmo-ttcn3-hacks I30c77abef63636bb02db12d2f2b2d79ea244b96c
2020-09-29 22:40:21 +00:00
Harald Welte d5af310648 PCU+SGSN: Adjust to new "provider" structure of NSConfiguration
In Change-Id I6904520d8c2f546327029777d68b1907611a8cf5 of
osmo-ttcn3-hacks, we change the structure of NSConfiguration.  Let's
adjust the configs accordingly.

Change-Id: I8c5e59e79b69c13632d69f5011be9279b827a4fa
Depends: osmo-ttcn3-hacks I6904520d8c2f546327029777d68b1907611a8cf5
2020-09-28 14:11:07 +00:00
Daniel Willmann 01caeb1226 ttcn3-pcu-test: Change config to support statsd
Change-Id: I2779cdb4ec7cac891aa86e3fefa739e61f867691
Depends: osmo-ttcn3-hacks.git Change-Id I90964b32fa11ed2582afc5fb56bd302b06606f86
Related: SYS#4877
2020-09-25 14:28:47 +02:00
Vadim Yanitskiy 92b653170d ttcn3-pcu-test-sns: use PCUIFv9 for 'latest' images
Change-Id: Iae0136c453ad14114dae17e8b0e8b5ae2ef8e352
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
2020-09-22 13:30:44 +07:00
Vadim Yanitskiy 0e2a3d6bb1 ttcn3-{pcu,bts}-test: use PCUIFv9 for 'latest' images
Change-Id: I6f072e4db07fd6907b91925549edcf62d9c93fb7
Related: I9350c4a54434c3d46ce9424f382ca0057e58d053
Related: SYS#4868, SYS#4915
2020-09-22 02:00:41 +07:00
Harald Welte 15855072ba PCU+SGSN tests: Set address_family field of NSConfiguration
In osmo-ttcn3-hacks Change-Id I0b4fda96accef401ffc009010f9f5621583fd6dd
we introduce the address_family member; let's make sure all configs use
it as expected.

Change-Id: I52e8b11f047a7a2ecce18e4a4f9ff3ed495a0352
2020-09-18 11:33:35 +02:00
Pau Espin abe8cd0a5e ttcn3-bsc: Set new BSC_Tests_CBSP module parameters
Depends: osmo-ttcn3-hacks.git Change-Id I859edebd24634ec9b448cd114f5541c93e552b0b

Change-Id: Ia18e358c70861801597d5abec0a48776c7e0bdfe
2020-09-18 08:31:26 +00:00
Pau Espin 0b1371c101 ttcn3-msc: Force MNCCv6 on ttcn3-msc-test-latest
Default is MNCCv7 since osmo-ttcn3-hacks.git
I5448ff931ec33f24f4837a51376f1703fe97683b, but latest tagged version of
osmo-msc only supports MNCCv6.

Change-Id: Iaac2f5453214dfcf6efd070f6ea1212a7833eb1b
2020-09-16 12:35:21 +02:00
Pau Espin f63ab39214 ttcn3-sip: Update default mp_mncc_version
Keep it using the older version in MNCC_Emulation for older versions of
osmo-sip-connector (last tagged released), since those doesn't support
MNCC7 yet.

Change-Id: I5dbacdd4bd8110b7f6cf6bdb561af420b65c035f
2020-09-16 12:34:08 +02:00
Pau Espin be98438d94 ttcn3-msc: Update module params against new osmo-ttcn3-hacks.git
module param mp_enable_osmux_test is dropped in osmo-ttcn3-hacks.git
I8bc0551ec91a5fd8ea2f291a1e16a06a739c7a75.
module param mp_enable_crashing_tests is introduced in
osmo-ttcn3-hacks.git I46f1066323e19dfe708402a8c9c68e257f62751c.

Change-Id: I22bb43ba6d15eabcc731a2c3ef7aabc4f250d508
2020-09-15 20:54:02 +00:00
Harald Welte f28aa95173 New fpga-build image for building iCE40 gateware + RISC-V firmware
this will be needed for building e1-tracer + icE1usb gateware+firmware
on our jenkins slaves.

Change-Id: I7c2072b9524a2038d71c0fac4f2023b92af26382
2020-09-14 22:38:40 +02:00
Vadim Yanitskiy 078717ab2b ttcn3-bts-test/fh: do not configure CBCH slots statically
In BTS_Tests_SMSCB, we dynamically configure the CBCH slots via
the VTY interface, so there is no need to set them here.  This
was also the reason of some SMSCB test case failures, because
the BSC would send unexpected LOAD INDICATIONs.

Change-Id: I6e005ca772e26878c7b19df0d854936d7b7718dd
Related: SYS#4868, OS#4708
2020-09-12 20:16:31 +07:00
Pau Espin c90560f64f ttcn3-mgw: Update module param addresses naming to support ipv6
Depends: osmo-ttcn3-hacks.git Change-Id Ia393d7175de277ec8fa524ba74bf3b150b74c766

Change-Id: I2840eeee8ae53dc8bdf96ce7b6c76e4c8e0af859
2020-09-08 20:12:25 +02:00
Pau Espin 4d9cde0f4d ttcn3-bsc-sccplite: Bind osmo-bsc SS7 instance to container's local address
Change-Id: Ic2b608a055635f94d74cc24c3a934d6458934e82
2020-09-01 15:48:37 +02:00
Pau Espin 18de547d3e ttcn3-sgsn: Enable osmo-sgsn SS7 multi-homing and IPv6 features in tests
Change-Id: I21dbe79705dcc23426a88174120f6f810df84749
2020-08-30 16:07:57 +00:00
Pau Espin 2025b1a3f0 ttcn3-msc: Enable osmo-msc SS7 multi-homing and IPv6 features in tests
Change-Id: I784eb033a4887c5a9f2bfaa52aa39cb86cdf13ce
2020-08-30 16:07:10 +00: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
Pau Espin 1f45fb08ff jenkins-common.sh: Add function to print docker network related parameters
Change-Id: Ie00561de7a4494065156a124565e2190151e6019
2020-08-27 12:49:43 +02:00
Pau Espin 8d4a97a3fc ttcn3-stp: Configure M3UA setup to use IPv6 together with IPv4
Depends: libosmo-sccp.git Change-Id I09226a5cecc37dd4676acd61c2051befe5234cb3
Depends: osmo-ttcn3-hacks.git Change-Id Ib1925ed1df5cea3fa66f28b5625532d454a2c338
Change-Id: Id6e197cc3ba71e36f29ceec44742b7452a47b36b
2020-08-27 10:47:28 +00:00
Daniel Willmann 49fa190470 ttcn3-mgw-test: Removing the e1 config options on latest
Fixes the test failure on ttcn3-mgw-test-latest

Change-Id: I3143ba905a77fabd1074dbd618c7ae48fa92a77a
2020-08-25 11:30:59 +02:00
Harald Welte a8521eb11a msc: Disable expecting CommonID when testing 'latest'
As of osmo-ttcn3-hacks.git Change-Id I4976d9bb1f07c8ab4ffa02848414f8ddd1bdfd3f
the test suite expects the MSC to send a CommonID to the BSC.  As
older/existing tagged osmo-msc don't do that, we needt odisable that
check when verifying 'latest'.

Change-Id: If2e4cc41cb7b5758a78d694d62b34390a08e6387
Related: OS#2969
2020-08-19 07:29:31 +00:00
Philipp Maier 02bd8bc60e osmo-mgw.cfg: fix config file + add E1 trunk
The config file of osmo-mgw has an incorrect indentation. Also no E1
trunk is configured, so that the E1 related tests fail. Lets fix this.

Change-Id: I3b19afc0809bd56e9fe0f5e968e1c000d29f4abd
2020-08-18 21:01:50 +02:00
Alexander Couzens 7bc7dccd0b debian-stretch-jenkins: install osmo-python-tests for python2
osmo-python-tests for python2 is being used when building
old releases.

Change-Id: I63b3e92e745a664d5d0168c718daddae83c20df5
2020-08-17 08:34:13 +00:00
Harald Welte cc1620eac8 ttcn3-ggsn-test: Use IPv6 address of the tester as "DNS1"
We cannot rely on every test slave always having proper IPv6
conenctivity to a public DNS server, and that DNS server to respond
to ICMPv6 echo request.  We're testing half of the internet instead
of our GGSN.  Let's use the IPv6 address of the docker container
running the test sute, which is guaranteed to always exist.  We have
no problems with routing, as the ICMPv6 is hand-crafted and encapsulated
into GTP before it's sent to the kernel IP stack - so basically on the
transmit side, the kernel doesn't know anything about the destination
address of the encapsulated IPv6 packet.

Closes: OS#4713
Change-Id: I1377ffa2cc6980168297d5ff5c81fa5dad94d7a9
2020-08-16 14:53:36 +02:00