Commit Graph

1111 Commits (master)

Author SHA1 Message Date
Philipp Maier f4e2d5c1e5 ttcn3-pcu-test/sns: fix PCUIF version number (follow up patch)
Unfortunately we had to revert [1] because it worked for current master
but not for latest. The mistake here was to change the PCUIF version
number in PCU_Tests.cfg to PCUIF v12. This is indeed the correct version
for current master, but latest still uses v11. Also the change we made in
jenkins-sns only affected 2023q1 builds, it does not affect latest. This
is the reason why the previous patch broke latest.

This follow up patch now copies the approach we already successfully use
with the normal ttcn3-pcu-test / ttcn3-pcu-test-latest. (see also
jenkins.sh)

[1] I0b37f01f4c7bb829053231339e39ab734f4c8cbc

Change-Id: I1f94a0459e35d7b5632c81d7f7e2e60eb0d0229f
Related: OS#6275
2023-11-29 11:01:03 +01:00
Philipp Maier e104fdae7e Revert "ttcn3-pcu-test/sns: fix PCUIF version number"
Unfortunately this patch only fixes ttcn3-pcu-test-sns but it breaks
ttcn3-pcu-test-sns-latest, this means a different solution is needed.

This reverts commit c9820d7b36.

Change-Id: I101d27ae8ed7449b199e49795a3561436c2532dd
Related: OS#6275
2023-11-29 11:00:16 +01:00
Philipp Maier c9820d7b36 ttcn3-pcu-test/sns: fix PCUIF version number
The current master of OsmoPCU is now using PCUIF version number 12.
However, the configuration file of the the SNS tests still sets it to
11.

Related: OS#6275
Change-Id: I0b37f01f4c7bb829053231339e39ab734f4c8cbc
2023-11-28 11:17:42 +01:00
Oliver Smith 15caf486bb open5gs configs: update to current format
Adjust open5gs configs to the new formats from:
https://github.com/open5gs/open5gs/pull/2739

This fixes all open5gs programs from crashing on startup with various
errors such as:
  11/21 07:39:25.971: [core] FATAL: epoll_init: Assertion `context->epfd >= 0' failed. (../lib/core/ogs-epoll.c:77)

Related: OS#6267
Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
2023-11-23 16:30:51 +01:00
Oliver Smith 4836524115 open5gs configs: duplicate cfgs for latest/master
The config format just changed significantly in main/master. Duplicate
the configs, so we can run latest with the old versions.

Related: OS#6267
Change-Id: I2446695172b92ccf75305f878cb932a82e44fdd2
2023-11-23 16:30:51 +01:00
Oliver Smith 71a4f4c9ac open5gs configs: remove comments
A lot of these comments got outdated with recent config changes
in the related PR. Instead of syncing the comments again and having a
big diff, remove the comments once and then only have diffs of
actual config changes in future patches. This will make it easier to
maintain these configs.

Related: https://github.com/open5gs/open5gs/pull/2739
Change-Id: I67c2a198b9682e15e23a466380e62a976e6236cd
2023-11-23 16:30:51 +01:00
Philipp Maier 48ef15bd63 ttcn3-bts/pcu-test: Use PCUIF v12 for current master and PCUIF v11 for latest
At the moment we use PCUIF v11 in latest and in master. This will now
change (see Depends) so that we will have to use v12 in master. This
patch adds the necessary conditional config changes.

Depends: osmo-pcu.git I48eb75f65ab54fdec41ef913e24c1f18cd4a4047
Change-Id: I5c0914c0bf906b51a500a3b099578700798cf8c0
Related: OS#6191
2023-11-21 09:17:32 +00:00
Oliver Smith ff0b8c6d94 Use 2023q1 osmo-ttcn3-hacks branch for 2023q1 SUTs
Fix the TTCN3-centos-pcu-test-2023q1 jenkins job where currently most
tests are failing. This is because 2023q1 is using an older PCUIF
version that is no longer supported by osmo-ttcn3-hacks.git. As
discussed, use a 2023q1 branch of osmo-ttcn3-hacks where the support was
not removed yet.

Fixes: SYS#6638
Change-Id: Id82425aca4a8ff87feb8a130d31712bc62fa27ed
2023-11-15 21:54:45 +00:00
Alexander Couzens d12a63a3a1 ttcn3-dia2gsup-test/osmo_dia2gsup: set connect timer to 200 ms
Related: OS#5657
Change-Id: I22839cdf76120bb6152b32059822001cbd7979d8
2023-11-11 19:07:58 +01:00
Pau Espin d3711e6710 ttcn3-hnbgw: Use new module param mp_hnbgw_timer_x31
Depends: osmo-ttcn3-hacks.git I176ef96e193f2ca39077bcee3a2187768ddb45ce
Change-Id: I98e1d4d649ea07b006a7d4c15f8d94a9b4b3de1d
2023-11-09 11:02:52 +01:00
Oliver Smith 843b38e81d ttcn3-hnbgw-test: reduce X31 to 5s
Set X31 to 5s as expected by the testsuite to fix currently failing:
  - TC_ranap_cs_mo_disconnect
  - TC_ranap_ps_mo_disconnect

It was recently increased to 15s in the related patch.

Related: osmo-hnbgw I24225cfc0addf326c239ec658a27b93b83a3e751
Change-Id: I223d38e9ec2ca0f9f2ce2ac5311932789f328c9a
2023-11-09 11:02:30 +01:00
Harald Welte c5c405b960 sigtran-tests: Add note on why this is still using buster
Change-Id: I403401be7e469085f9a82944b3eaa6b8c8ea6319
2023-11-06 17:16:01 +01:00
Harald Welte 151cd681f2 redmine: run 'apt upgrade' in Dockerfile to get glibc fix from Debian
https://lwn.net/ml/oss-security/20231003175031.GA16924@localhost.localdomain/

Change-Id: Ice5c5e86cd519446fc59c09d64b20836f998d384
2023-11-06 17:16:01 +01:00
Pau Espin 3b40997ca6 ttcn3-epdg: Configure S6b interface
Configure the newly added S6b interface on both TTCN3 emulation code as
well as osmo-epdg.

Depends: osmo-ttcn3-hacks.git Change-Id Ia50698a3f6f5ed8251486b84c09f84edfd6d3951
Depends: osmo-epdg.git Change-Id Ia2b138317cb291a95882853f5403949c5e6a5a1b
Change-Id: I1145ee1068a2fdd2fe8d3e48b80c8e6c1fcb50ad
2023-10-23 14:39:18 +02:00
Pau Espin 07ba820565 ttcn3-epdg-test: Update config file to set up GTPv2C socket
Depends: osmo-epdg.git I6f00b7fce2d5fcdc484bfd45629b9141f16bc579
Depends: osmo-ttcn3-hacks.git I8f18c927b1897806233cc9d049c25694c1e639d4
Change-Id: I05ae2d87e16cef9772bc5c3690f687e5ecbd5f51
2023-10-19 17:08:20 +02:00
Pau Espin 2a5ce78348 Introduce ttcn3-epdg-test
Change-Id: I77a4d66c1bd0236dee8fc54e03a9d6bf8d63f204
2023-10-17 19:13:25 +02:00
Pau Espin 1b03229848 Introduce osmo-epdg-master
Related: OS#6204
Change-Id: Iefc43ffa47f443f2826b8979d4dd0c5542dda1c5
2023-10-17 19:13:21 +02:00
Oliver Smith 01c04193f7 debian-bookworm-erlang: use debian's rebar3
Use debian's version of rebar3 instead of downloading a binary. This
was useful when the container was based on debian 11 where rebar3
wasn't in debian's repositories. Debian 12 has version 3.19.0.

This also solves a caching problem on one of the jenkins nodes, which
currently fails at this line:
  ADD  https://github.com/erlang/rebar3/archive/refs/tags/${REBAR3_VERSION}.tar.gz /tmp/rebar3.tar.gz
with:
  ERROR: failed to solve: failed to load cache key: invalid not-modified ETag: "fce57989250a021a2be5fe5eddd655d6d415eef04f769bf1437f3d6dddfa5559"

My understanding is that docker has cached an ETag that is no longer
valid / maybe the format changed - and instead of simply requesting the
file again, it just fails there.

Related: https://en.wikipedia.org/wiki/HTTP_ETag
Change-Id: I69e02d004a0bd6f9d3a462f4e184b3e9361cc7fe
2023-10-16 15:19:18 +02:00
Oliver Smith ba1385fe60 common/ttcn3-docker-run.sh: add TEST_NAME env var
Make it possible to run only one test by setting an environment
variable.

Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
2023-10-16 08:52:37 +00:00
Pau Espin 0b97785ceb ttcn3-hss-test-ogs: Adapt mongodb db setup to pass new test
Add DB config for new subscriber required by TC_ulr_ula_subscr_op_det_barring_7.

Depends: osmo-ttcn3-hacks.git I8deea9e284447f8991bdeced982c14fae2f211c5
Related: SYS#6588
Change-Id: I42d6af42bada50c55914ec94c4090fccbe8d1c97
2023-10-15 21:48:13 +00:00
Pau Espin 856b9f2d17 Introduce ttcn3-hss-test-ogs
Related: SYS#6588
Depends: osmo-ttcn3-hacks.git Ic2fccd9c54aea04f1a31649a0af47c974939fb2f
Change-Id: Iebeefd9689ae2efa54678b99ff929ca255ec64d1
2023-10-15 21:48:13 +00:00
Pau Espin b0b7ed30f8 open5gs-latest: Support debian bookworm
The open5gs Debian_12 is available since today [1]; hence starting using
debian 12 now.

[1] https://github.com/open5gs/open5gs/issues/2669
Related: SYS#6588
Change-Id: Ib11a55294b525e3c3806246b133f8e479554a068
2023-10-15 21:47:58 +00:00
Oliver Smith 114c1c6933 debian-bookworm-titan: add ccache
Add ccache, so it can be used when rebuilding the testsuite from source
from a development branch. Ccache is not used by default.

Related: osmo-dev I800062d0379295a6905851db29e820ff16217653
Change-Id: I94d22b8da9f897974c5913b2a8138c653c215446
2023-10-12 14:26:37 +00:00
Pau Espin f9596689c3 open5gs-master: Make mongodb available in the image
The open5gs-latest image installs mongodb, but the master one doesn't.
Having a mongodb image is required to run together with open5gs-hssd.

Related: SYS#6588
Change-Id: Id6dde5f54b666279c102eb14fabb87194192c9e4
2023-10-10 17:38:04 +02:00
Pau Espin a15ab99d07 open5gs-master: Install open5gs-dbctl to /usr/bin
meson install doesn't install that file because it's aimed at
developers. However, debian package does install it manually in
debian/open5gs-common.install.
Hence, the app is available in open5gs-latest docker image, but not in
open5gs-master. Manually copy it to /usr/bin to have both behave the
same in this aspect.

Related: SYS#6588
Change-Id: I54a760d04e6522d843e6d65b94ef6067e502fbaa
2023-10-10 17:38:04 +02:00
Pau Espin b3c5679bec open5gs-master: Fix indentation
Use tabs everywhere, as usual with other Dockerfiles (eg.
open5gs-latest).

Change-Id: Ie4e72f484797ada718915e837cd38be574136631
2023-10-10 15:37:49 +00:00
Oliver Smith c68d4d9f0f ttcn3-pcu-test: use PFUIF v10 for 2023q1
Change-Id: Iae895240276fa68bfd9fdb2e13358a3a7fb65f59
2023-10-10 12:24:43 +00:00
Pau Espin f15080eb62 Fix osmo_dia2gsup-master not pulling in debian-bookworm-erlang dep image
Change-Id: I8d9bd77bbfac14a9951a549a21ee6bc4ea7b267a
2023-10-05 15:31:57 +02:00
Oliver Smith 414acb7f4a make/Makefile: update DISTRO, UPSTREAM_DISTRO
Update the Makefile, so it does not pick the wrong base distribution
when running make in e.g. osmo-bsc-master directly (without going
through ttcn3-*/jenkins.sh as jenkins does).

Change-Id: I31b2a1b8c70b973f4ec0f93d6e9e5e417afec994
2023-09-27 12:26:09 +02:00
Pau Espin 63ee53cee7 ttcn3-mme: Fix missing IP/port config for S11 interface
This fixes failure when running MME_Tests.TC_s1ap_attach

Depends: osmo-ttcn3-hacks.git Change-Id Ia94f50a11292a83dcbd2da8d6df608ef71842b50
Change-Id: I941da52a4d9e10d954a44f32680cf8e8f7a8086a
2023-09-21 17:52:15 +02:00
Pau Espin 0cecfa769c ttcn3-hnbgw: Update config files for latest after osmo-hnbgw new release
Change-Id: Id184686ba50ec07532b2f11cc9513626f66ed94c
2023-09-13 08:07:15 +00:00
Pau Espin e828340720 ttcn3-bts: Use PCUIF v11
Since osmo-bts 1.7.0 which was just released, PCUIF v11 is supported, so
use it both in master and latest.

Change-Id: I6c905d074ffc324dd72d6a5c9ce79f3c241ac780
2023-09-13 08:07:15 +00:00
Harald Welte 6cae51d685 gerrit: upgrade to 3.7.4
Change-Id: Ie96b0fabd39248d3f20b073b51d163004ae3dd8a
2023-09-02 15:12:03 +02:00
Harald Welte 5ab2f45388 gerrit: update to 3.6.6
Change-Id: I3935d1c6ac671e4c2ba2db685c9ddf75d77ab7f1
2023-09-02 15:02:15 +02:00
Pau Espin 8692b156da ttcn3-dia2gsup: Avoid retrieving unexisting talloc report
The OSMO_SUT_{HOST,PORT} envvars are used to trigger retrieving of
talloc reportes from the VTY port in osmo-ttcn3-hacks.git
ttcn3-tcpdump-stop.sh.
osmo_dia2gsup is an erland app and hence it makes no sense trying to
retrieve such information.

Change-Id: I6ee3fa83758e09898d1cd05bf15bc3428e2ffd11
2023-08-30 15:51:41 +02:00
Pau Espin f0bf954984 dia2gsup: Fix logfile name
Change-Id: I26e480ee8358476dcda72d51c3d135a0806ca82b
2023-08-28 18:31:10 +02:00
Pau Espin a94ec07c0f Introduce osmo-dia2gsup-master, ttcn3-dia2gsup-test
- Add a docker container to run osmo_dia2gsup from git master.
- Add infrastructure to run the osmo-dia2gsup container against
  osmo-ttcn3-hacks.git/dia2gsup testsuite.

Related: OS#5757
Change-Id: I646096d5a010df02af75aefa33b023b55997a6d7
2023-08-28 14:32:38 +02:00
Pau Espin 6e76289899 debian-*-erlang: Install libsctp to enable sctp support in erlang apps
The current "--enable-sctp" flag when building erlang consists of
supporting SCTP if the libsctp library is found at runtime, by
dynamically linking to it only when SCTP features are requested.

The erlang package in debian only lists libsctp as a Build-Depends, but
it is not installed by default, so apps wishing to use SCTP will fail:
"""
[error] CRASH REPORT Process <0.155.0> with 0 neighbours crashed with reason: no match of right hand value {error,{shutdown,{open,eprotonosupport}
"""

Installing the libsctp library fixes the issue.

Related: OS#5757
Change-Id: I5ca332f9064c16491116608577b3f68379d840e6
2023-08-28 12:24:45 +00:00
Oliver Smith 2e45b75e9d debian-bookworm-build: add curl
Add curl, as required by the coverity job to submit the API request.

Change-Id: I70eb2b94d0eda4b371d674e1087b4dc13397dcdf
2023-08-28 13:15:55 +02:00
Oliver Smith 832b09e718 debian-bookworm-build: add libnftables-dev
Add libnftables-dev, which is needed for osmo-upf. This is required to
move the coverity jenkins job to use this docker container.

Order the list alphabetically again while at it.

Change-Id: I25862a7e3c8a73e13fd4a9237ab57500d8dfc95c
2023-08-25 13:00:36 +02:00
Oliver Smith 870e94732f Cosmetic: debian-buster-jenkins: update comment
Related: OS#6126
Change-Id: I15be64a662e97e7e819abeda1c6c955d8198176c
2023-08-17 13:55:47 +02:00
Oliver Smith 5824c0ef0f release-tarball-build-dist: remove
Remove the container, as the job has been rewritten to not require its
own docker container anymore, see the osmo-ci patch.

Depends: osmo-ci I9f8b671b9780da500637a64fc4dbc72b450f9d11
Change-Id: Ic35a28a386170b85d32aab8f2bd33e48e6d45392
2023-08-17 13:55:04 +02:00
Oliver Smith cf43251869 fpga-build: use debian-bookworm-build
* Remove code that is in debian-bookworm-build already (all packages
  that get installed, creating the build user, installing osmo-ci and
  osmo-gsm-manuals).
* Put toolchain installations in single RUN commands, so the unextracted
  tarballs are not stored in image layers.

Related: OS#6057
Change-Id: Iaaca6367b76a6ec860c63d57c767954f82edfee5
2023-08-17 13:04:26 +02:00
Oliver Smith 3383a77448 debian-bookworm-build: inkscape -> librsvg2-bin
Merge at the same time as the osmo-gsm-manuals patch.

Depends: osmo-gsm-manuals I0d132f8f6fd73fbe14b5bfa10a8659acaddf38f7
Change-Id: I012c61eb777e6dc267dd4a52500da98c01ac1438
2023-08-17 13:04:18 +02:00
Oliver Smith 6a8118dad8 ttcn3: use debian-bookworm-titan
Related: OS#6057
Change-Id: I2017dd3888670c475b96e692d911a433484f3df9
2023-08-14 09:28:24 +00:00
Oliver Smith 069cdcc536 debian-bookworm-titan{,-master}: new containers
Add new containers based on debian-bookworm. Make some improvements
over the bullseye containers while at it:
* Remove sed for cversion.h, as the #error it is trying to replace is a
  warning now so it is a no-op, and we use our own eclipse-titan package
  instead of debian's package.
* Make apt commands consistent
* Move commands around to make better use of the cache
* Clone osmo-python-tests from gerrit instead of gitea and invalidate
  cache when master changes
* Tweak comments

Related: OS#6057
Change-Id: I4415fcde6518bd26d1e2cb5785ddaf84ac2116b3
2023-08-14 09:28:24 +00:00
Neels Hofmeyr 2fb37fc518 hnbgw: fixup: with-pfcp cfg: missing 'pfcp' section
Change-Id: I02be7c857d7dbf032bcadbea0812af732d27784f
2023-08-10 03:24:35 +02:00
Neels Hofmeyr db7b490c05 hnbgw: fixup: with-pfcp cfg: set missing x26 timer
Change-Id: Id9af3f99dedcc04424793560b171e595b88af0d7
2023-08-10 02:43:36 +02:00
Neels Hofmeyr c91b55e630 ttcn3-hnbgw-latest: fixup for cnpool: bind CTRL to 0.0.0.0
Change-Id: I70c8d8fc61830cb46dcc580b7e344425f7c6c26d
2023-08-08 07:45:10 +02:00
Neels Hofmeyr 571282acca hnbgw: fixup for cnpool: fix ASP IP addresses in osmo-stp.cfg
Change-Id: Ib6175eee69a7f37f987f996049351b9e1a545f58
2023-08-08 07:11:44 +02:00