Commit Graph

841 Commits

Author SHA1 Message Date
Oliver Smith 38a6000f8c debian-stretch-build-dist: osmo-hnodeb deps
Related: OS#5347
Change-Id: I9d708d86bf29f9fca0446fb990c606780bd7a1cb
2021-12-13 11:55:50 +00:00
Oliver Smith 8dcf51c48f debian-stretch-build-dist: osmo-gsm-manuals deps
Add dependencies for osmo-gsm-manuals, so we can build the release
tarballs for it (autoreconf -fi; ./configure; make dist-bzip2) in the
related jenkins job. During update of the list of projects for which we
build these tarballs, it became apparent that it was missing. Following
patches will add dependencies needed to build release tarballs for all
other projects that were missing from the list.

Related: OS#5347
Change-Id: Iba2e71b2e757bc527561d0f3e4a1af5f024a3cd7
2021-12-13 11:55:50 +00:00
Oliver Smith db275974b8 Add centos7 containers
Related: SYS#5754
Change-Id: Iadf3d0d7143c2d81ea5e87fd07a3f4cd9239cb46
2021-12-11 15:16:54 +00:00
Vadim Yanitskiy 39ae7ed2f3 osmo-pcap-latest: fix typo in Dockerfile: s/clint/client/
This patch fixes 'ttcn3-pcap-client-test-latest' job on Jenkins.

Change-Id: Ibf472ec712624b16adff4b0f043771f257e7d71f
2021-12-11 01:13:06 +03:00
Oliver Smith ff961f6a9b jenkins-common.sh: pull registry.osmocom.org imgs
Pull debian-stretch-titan from registry.osmocom.org if the repository is
enabled. Otherwise the image gets only pulled the first time, and does
not get updated once it becomes outdated.

Fixes: OS#5336
Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e
2021-12-03 17:30:28 +01:00
Oliver Smith f61d3ad8b5 jenkins-common.sh: fix redundant titan image build
Do not build debian-stretch-titan, when registry.osmocom.org is enabled.
The image that would be built at this point is not useful, since other
images like ttcn3-msc-test will use the debian-stretch-titan image from
the registry instead of the one that was just built locally.

Related: OS#5336
Change-Id: I7127e3ebac3a6a985c3ba50ba8c7cb8c5de978d9
2021-12-03 17:29:40 +01:00
Vadim Yanitskiy 69809ab0a0 ttcn3-msc-test/osmo-msc.cfg: disable encryption for UTRAN
The Iu/UMTS specific test cases in ttcn3-msc-test expect no
encryption in Security Mode Command by default (only integrity),
while osmo-msc would permit both UEA1 and UEA2 unless configured
explicitly.  This causes the related test cases to fail.

A similar change was merged to osmo-ttcn3-hacks, updating the
osmo-msc.cfg in there, however the actual configuration file
that is used to execute test cases on Jenkins was not updated.

Change-Id: I43f80e3fbd73be21fb89006e16de0e1df9ba03f5
Related: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26389
Fixes: OS#5333
2021-12-02 23:57:37 +03:00
Vadim Yanitskiy 3a2bdf20c3 ttcn3-msc-test/osmo-msc.cfg: remove deprecated 'periodic location update'
Let's keep osmo-msc.cfg up to date with the one in osmo-ttcn3-hacks.

Change-Id: I0576f21230dff2c96060430ef9ffb6001d19542d
Related: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26415
2021-12-02 23:43:52 +03:00
Vadim Yanitskiy 4a44d23aed Revert "osmocom-bb-host-master: install python-enum as fake_trx dependency"
This reverts commit c034da0547.
Python 2 is EOL, we are using Python 3 now with built-in enums.

Change-Id: I6aa653f2165bb9a81aa8253fabc0fb436bcba009
2021-12-02 23:39:28 +03:00
Vadim Yanitskiy 2586829c5c Revert "osmo-msc-latest: centos8: add libdbi-dbd-sqlite"
This reverts commit 9a526e876f.
There is no need to install this dependency explicitly anymore.

Change-Id: I093f17981f5a09346cf46fe33b94c4b7833757c5
2021-12-02 23:36:05 +03:00
Vadim Yanitskiy 487ed0e148 open5gs-latest: fix Dockerfile: remove custom mirror list
I was experiencing problems with Debian's mirrors while working on
this image, so I had to use a custom mirror list.  This is a left-
over that should have been removed before merging.

Change-Id: I313bb604b09293bff8753edeefa7f78cafc9cc22
Related: SYS#5602
2021-12-02 23:33:25 +03:00
Oliver Smith a7f0d71a76 ttcn3-sccp-test/jenkins.sh: fix typo
Fixes: 305ce55 ("ttcn3: write Osmocom repository to configs")
Change-Id: I79734da2744502a2b8c4db9d38f992b77fe6a42a
2021-12-01 13:54:43 +00:00
Vadim Yanitskiy bcf017e455 ttcn3-{bts,bsc,msc,hlr}-test: set OSMO_SUT_{HOST,PORT}
This enables the test suite to obtain talloc reports between the
test case executions, which get stored together with the PCAP files.
Let's see how it works with the mentioned projects first;  others
can be configured later.  See [1] for more details.

Change-Id: Icd4c2d80db934535d499598282ed9416d8088163
Related: [1] I1b03b17426d8760c55976e3b78ca2f3af248c055
Related: OS#5328
2021-12-01 13:48:50 +00:00
Vadim Yanitskiy d5a6ce2939 debian-stretch-titan/Dockerfile: install osmo-python-tests
We need osmo_interact_vty.py in order to obtain talloc reports for
each test case automatically.  See [1] for more details.

Change-Id: Ida8e08e7fe4f171f934a2d4eef4568da7c398f5c
Related: [1] I1b03b17426d8760c55976e3b78ca2f3af248c055
2021-12-01 11:40:19 +00:00
Oliver Smith 440e62b9aa redmine: process changelogs every 10 minutes
Wrap the original entrypoint script with a custom one that also runs a
loop in the background, which periodically lets redmine fetch git
repositories. When repositories are fetched, redmine interpretes
"closes" etc. in commit messages to mark issues as resolved.

Closes: OS#5331
Change-Id: I2a65fd6be22ae541a93c08c71cf286e4b5ad370f
2021-11-30 16:23:44 +01:00
Oliver Smith 305ce55b74 ttcn3: write Osmocom repository to configs
Write a line like 'Misc_Helpers.mp_osmo_repo := "nightly"' into the
TTCN-3 config file (e.g. BSC_Tests.cfg), before starting the testsuite.
This allows executing different code paths in the tests based on the
repository.

Related: OS#5327
Change-Id: Ic06532f7a67e59458652c5cf4c8f6fee8113e703
2021-11-26 18:12:50 +01:00
Pau Espin b7c430dd10 Introduce Docker image for ttcn-hnodeb-test
Change-Id: I191b9a29c75d0a1f0bc38d4e29facfc45826cd31
2021-11-24 22:22:29 +00:00
Pau Espin dcf499203d Introduce Docker image for osmo-hnodeb-master
Change-Id: I35e5324d981be8130fbc4e6dcd3e8933181e6821
2021-11-24 22:22:29 +00:00
Vadim Yanitskiy baade9eef3 open5gs-latest: new Dockerfile for latest open5gs from packages
Change-Id: I06b90b84d22ba8d34bed9f84861ff94bdcabe6c3
Related: SYS#5602
2021-11-23 12:20:05 +03:00
Vadim Yanitskiy 1e8e606d16 make/Makefile: allow specifying optional command for 'run'
Change-Id: I676c5525effe8f34ae11f7b8ed4da0d8961209bf
Related: SYS#5602
2021-11-23 12:19:57 +03:00
Vadim Yanitskiy 92f0b00cf1 open5gs-master: add missing dependencies
Change-Id: I39806a8cc33a1f975b03839fb16466dabb57a26d
Related: SYS#5602
2021-11-19 00:40:45 +00:00
Vadim Yanitskiy 9539f24193 open5gs-master: there is no 'master' anymore, use 'main'
Change-Id: If02740d8ddb4775cc22e9d4ed78226d09c466626
Related: SYS#5602
2021-11-19 00:40:45 +00:00
Vadim Yanitskiy 8b2aeab0c2 ttcn3-stp-test: do not set mp_osmo_stp_newer_than_1_4_0
Setting a non-existing parameter makes TITAN unhappy:

  HC@fd91bc0a2114: Error while setting parameter field
                   'STP_Tests_M3UA.mp_osmo_stp_newer_than_1_4_0' to 'true':
                   Module parameter cannot be set, because no parameter with
                   name 'mp_osmo_stp_newer_than_1_4_0' exists in module
                   'STP_Tests_M3UA'.

Change-Id: Ie4fba3eb73e0da60bc20859efddecc5ec816cb9e
2021-11-18 22:05:42 +03:00
Pau Espin 1821fd80e9 ttcn3-stp: osmo-stp in master is >1.4.0 now
osmo-stp 1.5.0 was released today, so we can drop those specific checks.

Change-Id: I354c1487d9a32e2c7d48c57e7b63007f5360677e
2021-11-16 19:12:31 +01:00
Pau Espin 8071b00c6b ttcn3-pcu: Update config for latest after new osmo-pcu release
New osmo-pcu 1.0.0 which supports all expected features. Hence we can
drop special quirks to have tests passing in latest.

Change-Id: Ieb85dac479e6960e4160767e514084b80edd297b
2021-11-16 19:12:27 +01:00
Pau Espin 3c4fe3d584 ttcn3-sip: Don't force mncc version 7 for latest
osmo-sip-connector 1.6.0 supporting latest mncc version was released.

Change-Id: Iff2bcbfb3e84140cccdf93b0924ede09e44793b0
2021-11-16 19:06:06 +01:00
Pau Espin 0b842d8970 ttcn3-sgsn: latest osmo-sgsn release supports RIM
osmo-sgsn 1.8.0 supporting the VTY commands was released, so no need to
drop those.

Change-Id: I803514a28491ebe142691062f6033f179474b064
2021-11-16 19:04:45 +01:00
Pau Espin 9581a23764 ttcn3-bsc-test: Leave mp_enable_dyn_sdcch8_test enabled in latest
Release 1.8.0 is already released, so latest should support this.

Change-Id: I560cb7d0ab61b5373982160032040a65dc043ce4
2021-11-16 19:00:36 +01:00
Vadim Yanitskiy ebb4f59a94 ttcn3-sip-test: use MNCCv7 for the '-latest' SUT
Change-Id: Ic1e6e5f9ea959166b727795232bb58b9a25cc049
Related: OS#5282, OS#5164
2021-10-28 17:17:22 +03:00
Harald Welte c18597226c redmine: upgrade to 4.2
Change-Id: I38b3ee8c47f22c601c3a26c5c7238ac8bebe33a8
2021-10-27 19:09:27 +02:00
Harald Welte a07f803328 upgrade to redmine 4.1
this requires a local patch to ruby-openid, as it apparently doesn't
suppor rails 5.x (Paramters are not a hash anymore, hence lenth
method cannot be used)

Change-Id: I028d6d72757abf5d990ca2e8327e5f0a9fe3d333
2021-10-27 18:49:16 +02:00
Harald Welte d03adb8afd upgrade gerrit to 3.2.12
Change-Id: I1d3e4a0198085e7cd2bfe32b080b89ab2632bdf4
2021-10-24 15:06:09 +02:00
Alexander Couzens 98b4a68d76 ttcn3-ns-test-fr: set correct ns configuration to match tests
Change-Id: I2a5ac42e8861f0176f76bbf5164e990e723a872d
2021-10-19 18:46:51 +02:00
Alexander Couzens 74a78680ae ttcn3-ns-test-fr: fix wrong NS dialect
The failing test case should never run. The framerelay must run
it's test with dialect NS2_DIALECT_STATIC_RESETBLOCK

Change-Id: I2b1ae7cbe26c94a4a66b6a456b76b864251e0acb
2021-10-19 16:08:07 +02:00
Alexander Couzens fd56fcbe39 ttcn3-ns-test: add second NSVC to allow TC_tx_blocked_foreign_nsvc to work
TC_tx_blocked_foreign_nsvc requires to ipa NSVCs

Change-Id: I3a4baaacdbaab245ba10a1857f0183e56defcdf4
2021-09-23 15:48:56 +02:00
Pau Espin 14270502f2 ttcn3-pcu: use new Neighbor Address Resolution interface in master
Since current master, osmo-pcu and osmo-bsc support Address Neighbor
Resolution using new PCUIF over IPA multiplex, deprecating the old CTRL
interface used until now.

Since the old CTRL interface is not yet removed in order to avoid
breakage of old deployments (only marked as
deprecated and not used by default), let's keep support to run the
existing tests with the old interface to keep them being tested in
latest release, while instruction both osmo-pcu and TTCN3 PCU_Tests to
use the new interface in master.

Once we do a new osmo-pcu release, we can drop support for the old
interface in tests, and drop it completely from osmo-pcu over the
following next release.

Depends: osmo-ttcn3-hacks.git Change-Id I05f1aabc64fc5bc4740b0d8afd8990b485eacd50
Related: SYS#4971
Change-Id: I01d0604f294dc88dc32137c976f424655849d57e
2021-09-14 09:11:27 +00:00
Alexander Couzens 4daf8dd53d ttcn3-ns-test-sgsn-sns: add test run for ns sgsn role with sns
Change-Id: I1a9205885d381c04141dad752de0b39d9268ab69
2021-09-06 16:53:38 +02:00
Alexander Couzens 51881eb9ce ttcn3-ns-test: add second NSVC to allow SNS tests to work
The SNS tests need both NSVCs. The NS_Tests.sns.cfg from the
ttcn3 repository can be used as reference.

Change-Id: I92f2ca61af1e3d0427e6810eddab8f2d6299242d
2021-09-06 16:53:38 +02:00
Philipp Maier f31b6adb99 osmo-mgw.cfg: configure control interface
The configuration file of osmo-mgw lacks the control interface
configuration.

Change-Id: I309db472e22d0258bf31a4f5865a89364ed7af2c
2021-08-20 11:14:38 +02:00
Oliver Smith 476e38e4ef ttcn3-stp-test: rename mp_stp_has_asp_quirk
Rename the option to mp_osmo_stp_newer_than_1_4_0, because I'm going to
use the variable in an upcoming osmo-ttcn3-hacks.git patch for something
unrelated to the asp quirk so we can avoid introducing another variable.

Related: osmo-ttcn3-hacks I43b1aa2c029c88c88320d40f60df46a5eb6c4c24
Related: OS#4239
Change-Id: I6a32398242b53c827a94cf65e4a35900a7c4171a
2021-08-16 09:34:20 +00:00
Philipp Maier a102bfef54 osmo-mgw: add missing statsd configuration
The recently added test TC_dlcx_wildcarded depends on statsd information
from osmo-mgw but in the osmo-mgw configuration no statsd is configured.

Change-Id: Ic4f0c57f56fe400bdb9a1948917f0eeb1d7e7427
Related: SYS#5535
2021-08-12 15:44:02 +00:00
Oliver Smith 21a42f2007 ttcn3-pcu-test: add mp_osmo_pcu_newer_than_0_9_0
Related: SYS#4878
Change-Id: Iabd0cf658f2b8e2913824b899c5bd012c587c21d
2021-08-10 10:37:27 +00:00
Oliver Smith e2ba582225 ttcn3-pcap-client-test: set vty port to 4227
After moving the default VTY port for osmo-pcap-client from 4237 to
4227, it is different in nightly and latest. Configure the SUT and
testsuite to use 4227 for both nightly and latest.

Related: OS#5203
Change-Id: I6d45340429925fe5e98cc4e597a01ef51e8322ae
2021-08-09 08:59:23 +02:00
Philipp Maier 5c3ad38f83 MGCP_Test: set STATSVTY.CTRL_HOSTNAME
The the following patch I61e23e264bc85eb36d07431c7839fb445c110947
introduces the stats interface on the MGCP_Test testsuite. This means
that STATSVTY.CTRL_HOSTNAME must be set up correctly, otherwise all
testcases will fail.

Change-Id: I693cc17dbf6836e7a74b34111671b6e589744a63
Related: SYS#5535
2021-08-06 14:11:23 +00:00
Harald Welte d2014603a7 debian-stretch-titan: Wait for interface to be _up_ not just its existance
I've seen at least one instance where -EIFDOWN was returned when the
test suite was coming up.  This is a race condition, as we first
have to move the netdev into the namespace and only then can configure
it.  "pipework wait" only waits for its existence, not until it is up.

We cannot revert the order, as the netdev looses its state when it
is moved to a different netns.

Change-Id: I1bfb6eb925bca4e4e1901e06eed831152cddbbe2
2021-07-28 11:46:12 +02:00
Pau Espin ac920b7716 ttcn3-bsc: Drop mp_enable_osmux_test
This module parameter is never set to false anymore, since latest
already supports the feature for a while.
The module parameter will be removed soon in osmo-ttcn3-hacks, so let's
drop using it here too.

Change-Id: Idf459365e9aa42f7efd2a418cadea63ec49bdd7a
2021-07-20 17:02:40 +02:00
Pau Espin 14b12829fc ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest
With this we'll avoid running the test in latest. This way we'll not
fail after changing the TS for the test and hence other tests won't be
affected.

Related: SYS#5309

Change-Id: If941c110501cd5f9c1d5084cc4d054e1eafb14f4
2021-07-20 16:58:07 +02:00
Vadim Yanitskiy 9710e7ae01 ttcn3-bts-test: set bind address for the RTP Emulation
Otherwise the loopback address is used, what causes test cases
employing the RTP Emulation component to fail:

  Connection refused (unexpected)

Change-Id: Ia20ccd9e6db61d7a105523648c678db90ad345eb
2021-07-17 22:37:24 +06:00
Oliver Smith 9c6eda65cc jenkins-common.sh: add NO_LIST_OSMO_PACKAGES
Allow to optionally skip listing the installed packages. This is useful
to speed up tests when running locally.

Related: osmo-dev I3d9976d07f088e2d106d23259889a4bffe1abbcb
Change-Id: Iaafb81e9ee94850ae3b6318574ad5370d74a2838
2021-07-12 08:04:39 +00:00
Oliver Smith 688cda1158 Revert "ttcn3-bsc-test: enable A5/4 support in osmo-bsc.cfg"
The test that needs A5/4 enables it dynamically, and a new test requires
a defined value to reset to.
This reverts commit 8005014b55.

Related: OS#4975
Depends: osmo-ttcn3-hacks I3cf36c6ef86a0db050507f3737f4b0c10dcd52ed
Change-Id: I55135ca00ef51de5cf6eaec75cfc20c21beef665
2021-07-09 15:10:51 +02:00