Skip to content
Unstable

Changes

Summary

  1. remsim: bankd: Install vsmartcard-vpcd (details)
  2. sccp: Initial testenv (details)
  3. sccp: Let some time for SCCP RLC to reach IUT before finishing test (details)
Commit b9c1e1eb5354842722f22766b937180f4436de02 by Oliver Smith
remsim: bankd: Install vsmartcard-vpcd

This is needed for test RemsimBankd_Tests.TC_createMapping_exchangeTPDU
to work. Add require_vsmartcard_vpcd.sh to give a meaningful error
message when running without --podman, if the user doesn't have it
installed.

Co-authored-by: Oliver Smith <osmith@sysmocom.de>
Change-Id: Ib5ba5075eff4955354fa25d1c605f277e8a6962a
The file was added_testenv/data/scripts/require_vsmartcard_vpcd.sh
The file was modified_testenv/data/podman/Dockerfile
The file was modifiedremsim/testenv_bankd.cfg
Commit 60cf13449fc2b3ddce2330fafc6b6a6825c5ac7a by Pau Espin Pedrol
sccp: Initial testenv

Change-Id: I616425d729dda342e78537c6b7256d5dddebaa88
The file was addedsccp/testenv.cfg
The file was addedsccp/sccp_demo_user.cfg
Commit 039ac2b716051bde1790e5046de79325d50df77e by Pau Espin Pedrol
sccp: Let some time for SCCP RLC to reach IUT before finishing test

Otherwise tear down of the test component immediatelly afterwards
creates a race condition where sometimes the RLC message is not sent
before closing the socket.
As a result, the SCCP-SCOC stays in DISCONN_PEND until T(rel) fires a
while afterwards, generating a new RLSD in a follow-up test, disrupting
expectancies of that unrelated test.

Since sccp_demo_user doesn't implement a Layer Manager, the recv() 0
from the socket doesn't automatically tear down the SCCP conn, since it
could have several ASPs:
"""
0: asp-asp-srv-client: ss7_asp_xua_srv_conn_rx_cb(): sctp_recvmsg() returned 0 (flags=0x80)
...
asp-srv-client: connection closed
XUA_ASP(asp-srv-client){ASP_ACTIVE}: Received Event SCTP-COMM_DOWN.ind
XUA_ASP(asp-srv-client){ASP_ACTIVE}: state_chg to ASP_DOWN
XUA_AS(as-srv-client){AS_ACTIVE}: Received Event ASPAS-ASP_DOWN.ind
XUA_AS(as-srv-client){AS_ACTIVE}: state_chg to AS_PENDING
Delivering N-PCSTATE.indication to SCCP User 'SCCP Management'
Ignoring SCCP user primitive N-PCSTATE.indication
[Here same 2 lines for SCCP User 'refuser', 'echo', 'callback', 'test_client_vty']
XUA_ASP(asp-srv-client){ASP_DOWN}: No Layer Manager, dropping M-ASP_DOWN.indication
XUA_ASP(asp-srv-client){ASP_DOWN}: No Layer Manager, dropping M-SCTP_RELEASE.indication
"""

Change-Id: Id7d5970bb0fe0e42fedcb56fe4a738a92ddd5bbf
The file was modifiedsccp/SCCP_Tests_RAW.ttcn