Commit Graph

86 Commits

Author SHA1 Message Date
Pau Espin 60b5e18691 Update titan.ProtocolModules.GTP_v13.5.0 to current master
Current master contains a fix for missing mandatory field in MM Context IE.

Change-Id: I36c87ed98c752a54650e4453ccdff45463d0bc96
2024-01-08 16:03:44 +01:00
Pau Espin d35cd6a9cd Makefile: Update titan.ProtocolModules.BSSMAP to new osmocom/master branch
The repository branches were rebased and rearranged, where now its master branch
follows upstream, and we keep an osmocom/master branch with our own
patches (Osmux, not aimed at upstream) which can then be rebased on top of master.

Related: OS#6011
Change-Id: I1ec7cb6f8fa5acaca6eb434ea9449119de078c94
2023-10-20 13:43:29 +00:00
Pau Espin 4379992323 deps/Makefile: Update titan.ProtocolEmulations.SCCP ref after osmocom fork rebase
The osmocom git fork containing an extra patch has been rebase to
current upstream master, which now contains a fix for LUDT(S) messages
which will be required in a follow-up patch.

Related: OS#6185
Related: SYS#6566
Change-Id: Id8b7ab652b656841a9b73d40d79077a47f45e735
2023-09-20 17:37:02 +00:00
Andreas Eversberg 1a8ed1e421 ASCI: Update commit hash of titan.ProtocolModules.MobileL3_v13.4.0
After fixing GCC and BCC transaction ID, the new head is:
b6602eb357673f097ea1a1d22edd568ecd239da1

Related: OS#4854
Change-Id: I2833750a8cf1def74f92a5a50f0d271891cee05f
2023-08-29 11:11:16 +02:00
Andreas Eversberg 7a04205c14 ASCI: Update commit hash of titan.ProtocolModules.BSSMAP
After fixing "UPLINK SEIZED COMMAND" message type, the new head is:
814c5d786ab633bce384eea99685f0e49a386172

Related: OS#6087
Change-Id: Ifd6cd610fee2041179f8d0fd6450469d25f65576
2023-07-27 16:34:09 +02:00
Oliver Smith 92b280c8a6 msc: new test: TC_lu_and_mo_csd
Related: OS#4394
Depends: https://gitlab.eclipse.org/eclipse/titan/titan.ProtocolModules.MobileL3_v13.4.0/-/merge_requests/3
Change-Id: Ia863a63a318a9b0a8b4bfc1dc425cbc0235256b3
2023-06-20 13:20:19 +00:00
Pau Espin 18c15daa62 deps/Makefile: Change remote gerrit->gitea for titan.ProtocolModules.BSSMAP
It was decided that the preferred way to maintain our eclipse titan
forked repos is through gitea, not through gerrit. Hence, update the
remote to point to the gitea repo. The gerrit one will probably be
removed at some point.

Related: OS#6011
Change-Id: I69f8e207a28b8ea424d8fa4f23bdcaa3ba2e1345
2023-05-05 14:34:36 +00:00
Pau Espin 842051888e deps/Makefile: Update titan.ProtocolModules.BSSMAP to new rebased master reference
The master branch in osmocom's gerrit repository has been rebased on top
of current upstream master, hence the commit hash changed. Update it.

Related: OS#6011
Change-Id: Ife9dba3fc98d287d71b2334453dd9ce71471ddcb
2023-05-04 12:30:36 +02:00
Neels Hofmeyr 9535114653 sccp: set titan.SCCP commit: use fix for localRef == 0
Use this fix in our tests:
17a894fc66

This allows osmo-hnbgw to start out with SCCP local reference == 0
without that causing test failure.

'Related' patch below happens to have that effect, and it was *really*
hard to find out why th the tests failed. It seemed like I had messed up
osmo-hnbgw, but then I found out it wasn't my fault at all.

Related: Iea1824f1c586723d989c80a909bae16bd2866e08 osmo-hnbgw
Change-Id: Idb3f2398c934a1d785e8ee7913c12c0f289c1f18
2023-05-03 01:03:23 +00:00
Vadim Yanitskiy a64fc2164c deps/Makefile: fix OSMO{GERRIT,GITEA}_REPOS missing in ALL_REPOS
Change-Id: I1068d10685c3857626385124a8f8b265989e27a3
Fixes: a80e7a9c ("deps/Makefile: replace git://git.osmocom.org urls")
2023-02-24 15:19:21 +07:00
Oliver Smith a80e7a9c78 deps/Makefile: replace git://git.osmocom.org urls
Change-Id: I49d4ee141eb97ac58c0aff493531f120b21bb22d
2023-02-22 12:14:25 +00:00
Vadim Yanitskiy d079b3fa33 deps: use titan.TestPorts.UDPasp from ECLIPSEGITLAB_REPOS
This change basically reverts [1].  Oliver's patch allowing to set
SO_REUSEADDR, which is needed for D-GSM mslookup mDNS testing, has
been merged upstream.  No need to depend on our own fork anymore.

Change-Id: Idf96a64f3d5f7928ed0fb81f4a91e469df3a9adc
Related: [1] Ie7e1c3dbd67dba9079a5768e442faffc936fd7fa
Related: SYS#4618
2022-08-18 12:37:27 +00:00
Neels Hofmeyr a2d1d7a211 add library/PFCP_*, deps/PFCP
Will soon be used by new subdir 'upf' (test osmo-upf),
and by 'hnbgw' (test GTP mapping via UPF).

Related: SYS#5599
Change-Id: I0723b931b3f755ea291bffa2f27c34ba446c2f2f
2022-08-16 13:42:10 +00:00
Harald Welte 6220dc7bf0 ccid: Lots of CCID helpers have been moved to titan.TestPorts.USB
Change-Id: Ie110ad1511b01fe84e1ad181b0e053e25f80f522
2022-02-25 16:56:16 +01:00
Daniel Willmann 095b3e0a23 deps: Use upstream IPL4asp after SCTP-related patches were merged
Change-Id: I073afe64741dd8149349da9e2494aaa86b9ab4aa
2022-01-11 15:56:30 +01:00
Daniel Willmann aa9220aeac IPL4asp: Fix ppid always shows 0, remove Iuh workaround
Change-Id: I941a794849c347ed61ca5170bca32f5329818d92
2022-01-05 09:25:07 +01:00
Daniel Willmann 4a8c45f0ac deps: Update SCTPasp to fix SCTP kernel ABI breakage
Change-Id: I257ab571eef1a7ef18998ad0976b1992482e74c4
Related: OS#5366
2021-12-22 16:16:51 +00:00
Harald Welte 65b3ca781a TITAN project migration to eclipse gitlab
As announced in https://www.eclipse.org/forums/index.php/t/1107586/
TITAN is migrating both their github and git.eclipse.org repositories to
eclipse gitlab.

Let's adjust our Makefile accordingly

Change-Id: I6a501d50891c4fda78d33d3efd6030244a4aaf50
2021-05-21 20:54:32 +02:00
Pau Espin 8c74cbbf5a sgsn: Introduce test TC_rim_eutran_to_geran
GTP_Templates.ttcn new templates use BssgpCellId, hence it depends on Osmocom_Gb_Types.ttcn.

Related: SYS#5314
Change-Id: I9dcf6ee2dc55bc6aba178eca30080233254f025e
2021-05-17 20:33:00 +00:00
Oliver Smith a25525d38c deps/Makefile: fix checkout logic for branches
Checkout origin/$branch instead of $branch. Otherwise git will just use
the local version of branch and stay at the same commit.

Note that Ia846863eff1734eca469257b9a8d5e653a45e835 changes the lines
which still have "master" to the commit. Fixing this is still useful
however, if a branch name is used in local testing.

Change-Id: If6bd440598d375a9947cb3a4fd88ae5809756e0e
2021-04-21 07:10:53 +00:00
Pau Espin 36ef7fc046 deps/Makefile: Switch branches to related commit hashes
Change-Id: Ia846863eff1734eca469257b9a8d5e653a45e835
2021-04-21 07:08:55 +00:00
Pau Espin d5ba6cef4f BSSMAP: Update ts_BSSAP_BSSMAP to contain new fields
Depends: titan.ProtocolModules.BSSMAP Change-Id I5103ceb2656a41925a089af5492d0722ca87a5c7
Related: SYS#5337
Change-Id: I9cc4d161fa7083e30d3bf8f10e959d1fe7b86032
2021-04-19 11:34:57 +02:00
Vadim Yanitskiy 94bbe99796 BTS_Tests: refactor and fix TC_pcu_socket_connect_multi
The expectations of this test case were wrong.  The IUT would first
accept() an additional connection and then close() it immediately.
Since there may be other messages, like TIME.ind and DATA.ind, the
'alt' statement would not match successful connection result, and
instead would unblock the flow due to timeout.

The titan.TestPorts.UNIX_DOMAIN_SOCKETasp had to be changed [1] to
send UD_connect_result with ERROR if recv() returns zero or a negative.

[1] https://github.com/eclipse/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/pull/4

Change-Id: I898b8b14515d79766b12d652ebb1ddf834e2863c
2021-04-01 15:34:39 +00:00
Harald Welte a8dc198705 update AF_PACKET dependency to 0.1-5-g89ebea6
This includes the fix of https://gerrit.osmocom.org/c/titan.TestPorts.AF_PACKET/+/22934
which makes fr <-> fr-net pass again.

Change-Id: Ifa551fc9df340c9a02176f6644fa8ec4884431ae
2021-02-16 19:03:21 +00:00
Harald Welte 24f921baea sccp: Add Tests for SCMG SST procedure
The SST procedure can be used by any SCCP node to test the availability
of a remote SSN.  If the specified remote SSN is available at the
specified PC, a SCMG SSA is returned.  If not, there's a timeout.

Test for SSN=1 (SCMG), another non-SCMG SSN that exists, and for one
SSN that doesn't exist.

Change-Id: If3f5f3144c0ed83d0bda5953522a9d73287c8ba2
2021-02-11 12:00:29 +00:00
Harald Welte 7534fbff40 deps/Makefile: Update SCCP dependency
* upstream has merged all two Osmocom patches
* we can now switch back to the official repo instead of our fork

Change-Id: Ia9bc82db4c0814b06c55460d2123b5e4fa1a2335
2021-02-10 09:25:33 +01:00
Harald Welte e4a98dab78 deps: Update AF_PACKET (with FR emulation) to 0.1-4-g9c6d89b
Change-Id: Ia5005dd3ab156f677cc099271e312728fb18e0dc
Related: OS#4974
2021-02-05 21:02:10 +01:00
Harald Welte ce2e4976be deps: Use latest version of AF_PACKET
... as this contains a fix to FrameRelay_Emulation to disable T392 if a
service affecting condition is detected.

Change-Id: I8b266577f738b7c12514eb8671e11d7a75be6034
2021-02-03 19:28:00 +01:00
Harald Welte 61b3a8729f deps/SCTPasp: Update to master (uses epoll instead of select)
The old version of SCTPasp we use
* had no IPv6 support
* didn't support file descriptors > 1024

See also https://www.eclipse.org/forums/index.php/m/1837587/#msg_1837587

Change-Id: I446dfb2f885999e40478b9332162a2584b0b71a3
2021-02-03 19:28:00 +01:00
Harald Welte 920c7c45ec fr + gbproxy: Start to use AF_PACKET ENOBUFS work-around
If send() on AF_PACKET returns ENOBUFS, usleep for 2ms and re-try
until it succeeds.

Change-Id: Id7bdd2c690eae3bec1df7634944cd73f0bf0b29a
Closes: OS#5343
2021-01-30 14:08:16 +00:00
Harald Welte 14c0445cde deps/BSSGP: Use specific commit hash
Using "master" doesn't really work as the local master branch already
exists even if we change the 'remote' to a different URL, see
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/21587

Change-Id: Id5f5ba52dbc9cd51dda2e91391c901b56756e2db
2021-01-05 16:26:07 +01:00
Philipp Maier 8d09528ccf deps/Makefile: temporarily use own repo for ProtocolModules.BSSGP
Temporarily use titan.ProtocolModules.BSSGP_v13.0.0 from
https://github.com/osmocom/ as we have some fixes that are not
yet part of upstream.

Change-Id: I5d7261a5ac33a0231c1a3d73bdff7fb099568687
2020-12-16 15:39:40 +00:00
Harald Welte 483d314831 deps: Update AF_PACKET dependency to version with socket/bind race fix
Change-Id: Icd773273d3ff8ff6d36ce472b8bd2e8a9b1e2e19
2020-12-10 22:13:25 +01:00
Harald Welte a71a410cb3 deps/Makefile: Require v0.1 of AF_PACKET TestPort
Change-Id: I435d0c09e051e0a3082e8c87807b72ce92117007
2020-11-18 15:21:32 +01:00
Harald Welte 023b61b2cb FR/FRNET: add Frame Relay emulation
Add frame relay testcase for BSS and SGSN side.
The test cases require hdlc interfaces (based on
dadhi with super channels and no lmi).

Change-Id: I95d64dc26a8d2ff02d6cf2bfcd22a97e5481f957
2020-10-16 04:06:39 +02:00
Harald Welte 501e070d6e deps: switch TELNETasp and M3UA back to upstream
the respective changes we had have long been merged upstream, so
let's switch back from our own forks to upstream

Change-Id: I52bdac20745bc3f5ce618ea804686781483a6f4c
2020-09-13 11:34:28 +02:00
Pau Espin ffe4739a5b deps/Makefile: Update to newer titan.ProtocolEmulations.M3UA master containing build fix
For more info, see https://git.eclipse.org/r/c/titan/titan.ProtocolEmulations.M3UA/+/166637

Change-Id: I2550d6883464835e5977a8876c514c8ab707fac4
2020-07-24 11:03:55 +02:00
Pau Espin 0232504843 Use osmocom fork of TELNETasp to fix compilation error spotted by gcc 10.1.0
Change-Id: I45beacb3a3141531e2552588147e3741c8637f4e
2020-05-19 19:21:29 +00:00
Harald Welte 88b3ccbf5b Add GTPv2_Emulation component
Change-Id: If73aa453e44ebf28032c60d207feb03e8061dc0c
2020-04-21 22:57:31 +02:00
Vadim Yanitskiy 35d3a159e2 deps/Makefile: bump titan.ProtocolModules.MobileL3_v13.4.0_commit
This revision has an important fix concerning the length limitations
of Mobile Identity IE (see 3GPP TS 24.008, section 10.5.1.4) when
no identity is present (see 'No_Identity' record).

Change-Id: If5339c7a91b4e0188194f1cd935798f153974e01
2020-03-28 00:46:06 +07:00
Harald Welte 34b9da299c remsim: Add tests using stdin/stdout of osmo-remsim-client-shell
osmo-remsim-client-shell allows to send C-APDU via STDIN of the program
and receive R-APDU via STDOUT.  We can attach to that using the PIPEasp
TTCN3 port, and hence test a [local] osmo-remsim-client-shell
transceiving APDUs from/to a simulated bankd in the test case.

The only sad part about this is that we now will need to have the
implementation under test (osmo-remsim-client-shell binary) in the
same container as the TTCN-3 test, as it will fork/exec it.

This is why we disable it by default and a modulepar must be used to
enable those particular tests.

Change-Id: I3a69c692cf3e6bbe04ce58594050b20da0c37d16
2020-02-19 19:56:30 +01:00
Harald Welte 8aefd11dd2 deps/Makefile: Call Github repositories ECLIPSEGITHUB
ECLIPSEGIT and ECLIPSEGIT2 are really difficult to distinguish,
let's call the former ECLIPSEGITHUB, i.e. the eclipse organization
at github.

Change-Id: I3a12164f76b85168c3afe85af2dd4be42f3e560b
2020-02-18 21:47:06 +01:00
Oliver Smith 36cb88c6cc deps/Makefile: fix ECLIPSEGIT2 clone URL
Switch to working clone URL, after more repositories stopped working
with the old URL. Revert 865ba37553
("deps: Work around disappearing eclipse.org git repositories").

Related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=559943
Change-Id: I04b690a262765f60b671225e1a5425e2750d093f
2020-02-10 11:25:26 +01:00
Harald Welte 865ba37553 deps: Work around disappearing eclipse.org git repositories
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=559943
and https://bugs.eclipse.org/bugs/show_bug.cgi?id=559944

Change-Id: I8942e71e674d46dda7fb81d2076fa189ee31eecd
2020-02-08 14:17:33 +01:00
Harald Welte c5a8021557 remove titan.TestPorts.GPIO module
We don't use it, and it suddenly disappeared from git.eclipse.org,
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=559942

Change-Id: I5e5b9ab3dca9ff574980dad37616cdc981dd8607
2020-02-08 14:02:45 +01:00
Oliver Smith 39ca7c3fe8 deps: set titan.TestPorts.UDPasp_commit
Fixes: 7c5cb6eb8a ("deps: use UDPasp from osmocom github fork")
Change-Id: I141b906d2a5969afb5f6e27413fa1c18c54d5708
2020-02-06 16:21:47 +00:00
Oliver Smith 7c5cb6eb8a deps: use UDPasp from osmocom github fork
Has additional SO_REUSEADDR patch, which is needed for D-GSM mslookup
mDNS testing.

Related: SYS#4618
Change-Id: Ie7e1c3dbd67dba9079a5768e442faffc936fd7fa
2020-01-20 07:32:40 +00:00
Oliver Smith 66fde7672e deps: add titan.ProtocolModules.DNS
To be used in mslookup mDNS tests.

Related: SYS#4618
Change-Id: I89dd528b7934892c5a24209374e8218a95db6ab3
2020-01-20 07:32:16 +00:00
Harald Welte bc88eace05 deps/Makefile: Update Socket-API + IPL4 upstream tags
Change-Id: I557f1515528ac3a90b34c1fb647d88a1989fea37
2020-01-15 15:58:00 +00:00
Harald Welte 6cb85a67e9 deps/Makefile: Update most of our dependencies to upstream
Upstream TITAN repositories have almost no actual code changes.

However, they did switch to MPLv2, and they did update documentation
from word documents to asciidoc.

Change-Id: If5bd3d567de40ec2f72cdf63499435ac0bb4047e
2020-01-12 15:33:05 +00:00