Skip to content
Unstable

Changes

Summary

  1. testenv: add --install-package (details)
  2. sgsn/SGSN_Tests_SNS.cfg: adjust to recent changes (details)
  3. testenv: set PYTHONUNBUFFERED=1 (details)
  4. hlr: add HLR_IMPL_PYHSS (details)
  5. hlr: don't test OsmoHLR-only features with PyHSS (details)
  6. hlr: add MSC to ccm_pars.name (details)
Commit 20614e6c2cc5226923f87d56914a22a93161968b by Oliver Smith
testenv: add --install-package

Add an option to quickly install packages in the container. This is
useful when making a new SUT run with osmo-ttcn3-hacks and figuring out
which packages need to be installed to make the build pass (without
rebuilding the whole container for each missing dependency). It can also
be used to quickly install additional debugging tools (strace, valgrind,
etc.). A cache for the deb files is already getting mounted inside the
container.

Change-Id: Ie54817e6c0334a224a612521beb378537c10d39d
The file was modified_testenv/testenv/podman.py
The file was modified_testenv/testenv/__init__.py
Commit 402c199ca39147adca104d0df8d81436be4c9f22 by Oliver Smith
sgsn/SGSN_Tests_SNS.cfg: adjust to recent changes

Fix this error:
  Error: Error message was received from HC at 10.0.2.100 [10.0.2.100]: Error while setting parameter field 'SGSN_Tests.mp_ranap_cfg[0].sctp_addr' to '{ 23908, "127.0.0.103", 2905, "127.0.0.200" }': Non existent field name in type @RAN_Adapter.RAN_Configuration: sctp_addr

Fixes: 0cdd73a8 ("Split SCCP_Adapter out of RAN_Adapter")
Change-Id: I62a1188aa3346fda3f0674296629ade51a02088f
The file was modifiedsgsn/SGSN_Tests_SNS.cfg
Commit 0e1f39f0cbd35d70ace0cc39ad7a7d38632c4826 by Oliver Smith
testenv: set PYTHONUNBUFFERED=1

Prepare to run PyHSS, which needs this variable to be set or else no log
messages are printed. This problem exists with potentially all python
scripts that testenv would run, so set the env var for all commands.

Change-Id: I155f7c7bd9b985094e36fee6c6a2acfe556f580d
The file was modified_testenv/testenv/cmd.py
Commit 7b3af31d7d45ab93f579a80c0856a0fbbcbc09fd by Oliver Smith
hlr: add HLR_IMPL_PYHSS

Prepare to run the HLR testsuite against PyHSS.

Related: OS#6862
Change-Id: I0989374d777aabf5afaf224faeb0cb2ff4e603e6
The file was modifiedhlr/HLR_Tests.ttcn
Commit d5d17ef7f9fe23dedb2af164b4d72f977c997e5e by Oliver Smith
hlr: don't test OsmoHLR-only features with PyHSS

Proxy, mslookup and creating subscriber on demand are not implemented in
PyHSS, so don't test these features when testing PyHSS.

Related: OS#6862
Change-Id: I0c4905dd3f73abfe9f7cc77fc045368b9499aade
The file was modifiedhlr/HLR_Tests.ttcn
Commit 477a06dc16270933fe2695d71afc3e3ad52e3c7b by Oliver Smith
hlr: add MSC to ccm_pars.name

Fix an immediate disconnect from pyHSS:
  [ERROR] 127.0.0.1:9999: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.

Related: OS#6862
Change-Id: I1813e49ec286892c1a637deb99908903613696aa
The file was modifiedhlr/HLR_Tests.ttcn