Commit Graph

14 Commits

Author SHA1 Message Date
Vadim Yanitskiy 78fde8b936 ttcn3-*-test: set OSMO_SUT_{HOST,PORT} for more testsuites
Let's also retrieve talloc reports for these testsuites.

Change-Id: Iaa94dd200fdb98962b784cb507c9995096232dc9
2024-03-25 17:35:13 +00: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
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 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 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
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
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
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