Commit Graph

30 Commits

Author SHA1 Message Date
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
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
Oliver Smith 6a8118dad8 ttcn3: use debian-bookworm-titan
Related: OS#6057
Change-Id: I2017dd3888670c475b96e692d911a433484f3df9
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
Neels Hofmeyr 87c8ed0d6f hnbgw: fixup: adjust with-pfcp cfg like without-pfcp
Change-Id: Ice5aa8a6db512edad3535a55c5dba841670837ec
2023-08-08 06:29:57 +02:00
Neels Hofmeyr 0c3679264c hnbgw: fixup for cnpool: re-add lost MGCP cfg
Change-Id: I3491e2f9a675b737c12d84484f6d0219e8db0900
2023-08-08 06:26:27 +02:00
Neels Hofmeyr 7b78c860e7 hnbgw: tweak log
Change-Id: I974272b800bad4efc277d9832357e9caf34e2dd8
2023-08-08 06:23:15 +02:00
Neels Hofmeyr 4ca284cef9 hnbgw-latest: fixup for cnpool: use correct osmo-stp.cfg file name
Change-Id: I80ecfc694adb1cb44dddec30e845237676a4eead
2023-08-08 05:59:59 +02:00
Neels Hofmeyr 6101198952 hnbgw-latest: fixup for cnpool: use correct cfg file name
Change-Id: I40c2aca069114f9a07840eed11e608921ed65d26
2023-08-08 05:46:24 +02:00
Neels Hofmeyr 81bf25a96d hnbgw: fixup for cnpool: bind CTRL to 0.0.0.0
Change-Id: Ia71688f5468b3eabdead2996cc1470e467b9c10b
2023-08-08 05:40:38 +02:00
Neels Hofmeyr c2b05caf6e hnbgw: adjust cfg for cnpool tests
Config changes matching cnpool tests added in osmo-ttcn3-hacks, see
'Related'.

Keep a copy of the old config files named "-legacy", to not break the
'latest' tests, because osmo-hnbgw 'latest' does not yet support the new
config options.

Depends: osmo-ttcn3-hacks I027a059faed3f140f8801f84338956cd004043b5
Change-Id: I94aa0b2adfc48b98cb4b1efe595c2432fc603d6c
2023-08-08 02:50:18 +00:00
Pau Espin 4a9f22b864 ttcn3-hnbgw: fix disabling talloc report checks for hnbgw-latest
Older commit disabled the talloc report checks but forgot to add the
same line to the with-pfcp/ variant, and as a result the sed command in
jenkins.sh won't work there.

Fixes: cb4897e4c0
Change-Id: Id4eed548b3a552747e95784be3654952e10e96ab
2023-07-25 11:00:14 +02:00
Pau Espin cb4897e4c0 hnbgw: Skip asn1 talloc mem checks in osmo-hnbgw-latest
Depends: osmo-ttcn3-hacks.git Change-Id I5c18cf2d6797bcf0bef13d71ab0b69f1403b474f
Change-Id: I1a933795ffef3cea97fcf34b1c513e71f3256c83
2023-07-18 13:28:52 +00:00
Neels Hofmeyr 80ddd5df1b adjust HNBGW_Tests.cfg to changed HNBGW_Tests.ttcn
Fix current jenkins test breakage:

Adjust HNBGW_Tests.cfg after changes to osmo-ttcn3-hacks in
"hnbgw: prepare cn pool: add multiple MSCs and SGSNs"
Ia29565cabc072de9aa46565b57232e1eda65874f

Change-Id: I912e8ad1f528d0d726b778a02a0f54c77b298f54
2023-07-13 17:17:56 +02:00
Pau Espin 2eb695bc44 */osmo-stp.cfg: Explicitly define role & sctp-role
It was recently decided it's a good practice to always specify the role
and sctp-role for all ASPs configured in the VTY, since it's an
important configuration providing feedback on the network setup
expectancies.

Change-Id: Ia495bc3c5dd4421e5730c74b2f5dc4e4cdc1a673
2023-07-05 13:48:55 +00:00
Pau Espin 7c0bb4e341 Explicitly configure ASPs asp-clnt-* as role=asp & sctp-role=client
Until recently, the asp-clnt-* ASPs, which have specific handling in osmo_sccp_simple_client_on_ss7_id(),
were being always forcedly set to sctp-role CLIENT by code in that
function.
This prevented user of that API from explicitly configuring the ASP as
"sctp-role server" through the VTY as the option would be overwritten silently.

Now, the sctp-role from config is followed if the ASP is
defined/configured through the VTY (not dynamically created at the time
osmo_sccp_simple_client_on_ss7_id() is called).

Since the default for a VTY-specified ASP is to be in "sctp-role
server", the config files need to be updated to properly configure the
ASP to be in "sctp-role client", which is the desired mode here.

Same applies for "role", where the default is SG but it is actually used
as "ASP" here.

Change-Id: Idf84502ffa199926a5f0ee616313b515743811ab
Depends: osmo-ttcn3-hacks.git Change-Id I4eb5b5f6b4b24df079b4c74e2a2e2ebb8769b0bd
2023-06-08 19:20:46 +02:00
Oliver Smith 4f459b779e docker kill: wait until containers are stopped
As "docker kill" / "docker container kill" (alias) doesn't block until
the given container stops, make sure to always run "docker wait"
afterwards.

Closes: OS#5928
Change-Id: I0242ece96541d8036ebbf8b0f498ebf231db26b5
2023-03-07 09:02:02 +00:00
Pau Espin 666488c8e4 ttcn3-*: Update test setup after Osmocom CNI release 202302
Change-Id: If34b043a55177e6c0d1be3949fc2a2682258cc84
2023-02-08 12:36:27 +01:00
Oliver Smith f997b4e771 network_create: find free subnet automatically
Try multiple subnet numbers until successfully creating a network. This
way we can run the same ttcn3 testsuite multiple times in parallel
without conflicts (e.g. once against latest, once against nightly). Also
we don't need to make sure each new testsuite has a unique subnet
number anymore.

I've considered also adjusting network_bridge_create, but that gets used
exclusively by osmo-ran/jenkins.sh, a script which we don't actually run
in jenkins. It seems that in this script it makes more sense to not get
a random subnet number.

Related: OS#5802
Change-Id: I57152b08ef0f38e17e7019a8df032189b03f56cf
2023-01-16 15:19:29 +00:00
Daniel Willmann df4522ade4 hnbgw: Only build with_pfcp on master
The functionality is not in -latest yet so running osmo-hnbgw with this
configuration fails which in turn fails the test in jenkins instead of
just marking it unstable.

Change-Id: I4309c323c1d61e8f22dae499c407d57999f6f13a
2022-11-07 10:17:36 +00:00
Pau Espin d8f641bd39 ttcn3-hnbgw: sed junit file in the clean_up trap
Same as done in BTS_Tests. This makes sure the files are always properly
updated even if something goes wrong (such as docker kill failing to
stop hnbgw because it exited earlier due to unsupported feature).

Change-Id: Iac3bd9cf3448e18930dcef6c9ae4b6530939ffe6
2022-09-21 14:37:01 +02:00
Pau Espin e406dc12f9 ttcn3-hnbgw: Set different junit xml file name prefix for with-pfcp variant
Similar to what's done in BTS_Tests and REMSIM_Tests

Change-Id: Iee69774ae8885ab216d0d707ee5fd0269a438c83
2022-09-21 14:32:55 +02:00
Pau Espin a719a8db61 Use gerrit as osmo-ttcn3-hacks.git git remote
Other remotes are mirrors of gerrit one, which means there's some delay
between pushing some ref to the gerrit remote and having them available
in the mirrors.
Hence, it becomes annoying while developing and new stuff to test is
pushed. Let's simply use gerrit since it's the master remote.

Change-Id: Ic87c196f8b91a3a3e6ddde2cca36482ce7070df7
2022-09-20 12:09:32 +02:00
Neels Hofmeyr 85f0b311f9 add ttcn3-hnbgw-test variant with-pfcp
Run HNBGW tests a second time with PFCP enabled. Just run all the same
tests again, no matter if they are related to PS RAB Assignment or not,
to also ensure no ill side effects from PFCP configuration.

Related: SYS#5895
Depends: I511e758807e0512c18f3f9e0a8c4699b9a3f5992 (osmo-ttcn3-hacks)
Change-Id: I02b60941343000a4618e95f56326bec170c32bfe
2022-09-15 14:44:15 +02:00
Pau Espin e5f5f273cf ttcn3-hnbgw: Enable gsmtap logging
Change-Id: I2c5c98349190bc6c37013acd2bd84887cbe1d059
2022-09-12 18:27:23 +02:00
Daniel Willmann f8847e202a Add ttcn3-hnbgw-test docker container
Only works in OSMO_HNBGW_BRANCH=pmaier/mgw2 for now

Change-Id: I7e06c1d4365a34b8b6b02a4748714694dfa14554
2022-02-17 19:31:10 +01:00