Skip to content
Unstable

Changes

Summary

  1. SIP_Emulation: Allow forwarding ASP_SIP_close (details)
  2. asterisk: Introduce test TC_ims_call_mo_after_tcp_conn_closed (details)
  3. deps/Makefile: Update titan.TestPorts.SIPmsg to current master (details)
  4. testenv: support obtaining talloc reports (details)
  5. */testenv.cfg: add vty_port, vty_host (details)
  6. HTTP_Adapter: Rename s/g_pars/g_http_pars/ (details)
  7. Misc_Helpers: Introduce API helper f_str_startswith (details)
  8. Introduce Prometheus_Checker module (details)
  9. hss: Initial validation of Prometheus metrics (details)
Commit 1d1b809a956bdb474afba8c0e8e2339d4cba1011 by Pau Espin Pedrol
SIP_Emulation: Allow forwarding ASP_SIP_close

This allows closing SIP connections at will from within the test.

Change-Id: If5c6bb0c0d773e0ba18ec28062663bdec751c8c4
The file was modifiedlibrary/SIP_Emulation.ttcn
Commit 4c4fccdf0dfac1ba763c745a7f109ab23a512906 by Pau Espin Pedrol
asterisk: Introduce test TC_ims_call_mo_after_tcp_conn_closed

Related: SYS#7067
Change-Id: I90df69b2418557d7001dddee4b6930ebbc58066d
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
The file was modifiedasterisk/expected-results.xml
Commit cbed7a7f4130fe158e184f1ba318e10b0236ecee by Pau Espin Pedrol
deps/Makefile: Update titan.TestPorts.SIPmsg to current master

New HEAD contains 1 more commit which fixes a regression introduced in
previous version, which is needed in order to get
Asterisk_Tests.TC_ims_call_mo_after_tcp_conn_closed working fine.

Change-Id: I9962076666706bdb4f6319ddade53d5622236995
The file was modifieddeps/Makefile
Commit bcee2e6ff23e13699cf01fe0eeb8cae97b09a3ae by Oliver Smith
testenv: support obtaining talloc reports

Allow setting vty_port= and vty_host= (default: 127.0.0.1) for SUT
components in testenv.cfg. Pass the values as OSMO_SUT_PORT and
OSMO_SUT_HOST to the testsuite, so ttcn3-tcpdump-stop.sh generates
talloc reports after running test cases.

The next patch will add vty_port/vty_host to existing testenv.cfg files.

I have considered enabling the talloc report only conditionally (e.g.
with a --talloc-report parameter). But previous behavior in
docker-playground was also that we created them unconditionally where
OSMO_SUT_PORT/HOST was set, and they are generated almost instantly so
it did not seem necessary to make this conditionally.

Related: OS#6552
Change-Id: I50a7035f072668ca2ab65de1bc1f194da8b18610
The file was modified_testenv/README.md
The file was modified_testenv/testenv/testenv_cfg.py
The file was modified_testenv/testenv/testsuite.py
Commit aa4d036af481a5277acd1c298d2750bb01852f41 by Oliver Smith
*/testenv.cfg: add vty_port, vty_host

Add these variables, so a talloc report can be obtained after running
test cases.

Closes: OS#6552
Change-Id: I5c0305c5d2ac6ac79dcf01bed8fb9d5beeeb99a6
The file was modifiedcbc/testenv.cfg
The file was modifiedsgsn/testenv_sns.cfg
The file was modifiedsmlc/testenv.cfg
The file was modifiedhlr/testenv.cfg
The file was modifiedsip/testenv.cfg
The file was modifiedupf/testenv.cfg
The file was modifiedhnodeb/testenv.cfg
The file was modifiedsgsn/testenv_generic.cfg
The file was modifiedmgw/testenv.cfg
Commit 7324d47706d4c564acfd2e5ce2b702608791d81d by Pau Espin Pedrol
HTTP_Adapter: Rename s/g_pars/g_http_pars/

The HTTP_Adapter component is a probable candidate to end up as part of
another component extending it, like the Prometheus_Checker coming up
soon.
Since the fields in HTTP_Adapter are available to subclass components,
that means they cannot use the usual "g_pars".
Rename the self-enclosed "g_pars" in HTTP_Adapter to let subclasses use
it.

Change-Id: Ia07cf8717593073a71632e247d7fe0775e66eb13
The file was modifiedlibrary/HTTP_Adapter.ttcn
Commit c5c4961ea578692d07df43e3e8174e7d369bbe04 by Pau Espin Pedrol
Misc_Helpers: Introduce API helper f_str_startswith

Counterpart of f_str_endswith(), this API is usually available in
several programming languages like python, and it's handy to have since
it's usually used and hence dev doesn't need to think on how to
implement it using regexp, etc.

This API will be used in a follow-up patch implementing Prometheus
metrics checker module.

Change-Id: Iad392ac652714a54a25954ea697f082d55772aa8
The file was modifiedlibrary/Misc_Helpers.ttcn
Commit 6d8b8b6c27a926d466cdcc620366892ca74c4784 by Pau Espin Pedrol
Introduce Prometheus_Checker module

This module serves the same purpose as the existing StatsD_Checker.
It will be used in open5gs, which so far exports its metrics using
Prometheus.

Change-Id: Iec5544ba74978918f1bddba12971f69a1824683e
The file was addedlibrary/Prometheus_Checker.ttcn
Commit 5771875ca76ce65f0074cffdad3b872b6bafee53 by Pau Espin Pedrol
hss: Initial validation of Prometheus metrics

Requires open5gs b2f56b964133bbe2f6ab07ead4cb62524528fcf7 for HSS
diameter metrics.

Change-Id: I507537c66a031b67518294daa8338f3836a90d6b
The file was modifiedhss/HSS_Tests.ttcn
The file was modifiedhss/HSS_Tests.default
The file was modifiedhss/open5gs-hss.yaml
The file was modifiedhss/gen_links.sh
The file was modifiedhss/regen_makefile.sh