Attention is currently required from: lynxis lazus, pespin.
fixeria has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41308?usp=email )
Change subject: Add test for tcap decoding/encoding
......................................................................
Patch Set 6: Code-Review-1
(1 comment)
Patchset:
PS6:
This test does not cover (nor require) any API from libosmo-sigtran. It's a binary that links against libosmo-asn1-tcap and tests the API of libosmo-asn1-tcap. This is why it's weird to have such a test here: it just does not belong here.
> It ensures the library works correctly. We had issues in the past with linking again asn1 libraries.
What kind of issues do we catch by having the test here that we would not be able to catch if we move it to libosmo-asn1-tcap.git? For the linker there's no difference where the test binary is...
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41308?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I8a0dbfaaa7182a5a72b279908be09e3adab254a2
Gerrit-Change-Number: 41308
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Mon, 10 Nov 2025 17:12:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: pespin.
lynxis lazus has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email )
Change subject: Add TCAP based loadsharing/routing
......................................................................
Patch Set 8:
(4 comments)
File src/ss7_as.h:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/4fad13b2_58f54… :
PS8, Line 6: #include <osmocom/core/hashtable.h>
> #ifdef WITH_TCAP_LOADSHARING
Does the include hurt? I would try to prevent cluttering #ifdefs everywhere.
File src/ss7_as.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/7db15e8e_cb951… :
PS8, Line 545: case OSMO_SS7_AS_TMOD_LOADSHARE:
> #ifdef WITH_TCAP_LOADSHARING […]
This is fine.
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/c09cd7a6_106d8… :
PS8, Line 634:
> extra line not needed.
Acknowledged
File src/ss7_as_loadshare_tcap.h:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/048f1c72_28021… :
PS8, Line 14: #ifdef WITH_TCAP_LOADSHARING
> YOu can remove this, simply don't even include it if not requested by configure...
No, I want to keep it here because of the #else branch.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ibcb48aa0e515ad346f59ddd84b24c6e2c026144d
Gerrit-Change-Number: 41309
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Nov 2025 17:10:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
lynxis lazus has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email )
Change subject: Add TCAP based loadsharing/routing
......................................................................
Patch Set 8:
(1 comment)
File examples/sccp_demo_user.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/69918ed6_5a0c9… :
PS8, Line 30: void *talloc_asn1_ctx;
> Because the library needs it.
Will check it again, if it is still required. The asn1 library changed.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ibcb48aa0e515ad346f59ddd84b24c6e2c026144d
Gerrit-Change-Number: 41309
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Nov 2025 17:07:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: pespin.
lynxis lazus has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email )
Change subject: Add TCAP based loadsharing/routing
......................................................................
Patch Set 8:
(10 comments)
Patchset:
PS8:
@pespin: I like to keep most of the #ifdef / #endif out of the code. The header file already takes care if the feature isn't enabled.
Why do you want to have the #ifdef everywhere in the code?
The header file transform it into no-ops.
File examples/sccp_demo_user.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/b57d649e_3fcad… :
PS8, Line 30: void *talloc_asn1_ctx;
> why is this added?
Because the library needs it.
File src/ipa.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/cc96cf5f_86b02… :
PS8, Line 315: /* update TCAP Transaction Tracking (Rx) */
> #ifdef WITH_TCAP_LOADSHARING
no, not needed.
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/ccabd2eb_642d9… :
PS8, Line 316: ss7_asp_tcap_rx_sccp(as, asp, opc, dpc, msg);
> This function naming is a bit misleading since it's not even known whether there's TCAP in the msg.. […]
I want to keep the code changes to the other files minimal.
What would you suggest instead?
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/140bbf84_334c5… :
PS8, Line 360: case IPAC_PROTO_OSMO:
> #ifdef WITH_TCAP_LOADSHARING
I could move it further upwards.
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/349533d8_c8e32… :
PS8, Line 368: if (hh_ext->proto == IPAC_PROTO_EXT_TCAP_ROUTING) {
> (probably a switch case here will turn out cleaner together with the ifdef. […]
yes, I can use switch/case there.
File src/m3ua.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/763c4907_f6e3e… :
PS8, Line 50: #include "ss7_as_loadshare_tcap.h"
> #ifdef WITH_TCAP_LOADSHARINGActually, I don't see this header being used in this file. […]
I prefer the style how it is currently. It reduces the usage of #ifdef in the common code.
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/125b9129_31648… :
PS8, Line 343: if (!xua)
> This looks unrelated to this commit? Seems you want to add another commit describing this.
Ack.
File tests/tcap/tcap_transaction_tracking_test.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/6c74d55e_52a73… :
PS6, Line 19: typedef void (* tcap_trxn_track_test_func_t)(void);
> space prohibited after that '*' (ctx:BxW)
fixed
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309/comment/7aa05f39_9a42b… :
PS6, Line 19: typedef void (* tcap_trxn_track_test_func_t)(void);
> do not add new typedefs
Won't fix. I think it's fine here.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41309?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ibcb48aa0e515ad346f59ddd84b24c6e2c026144d
Gerrit-Change-Number: 41309
Gerrit-PatchSet: 8
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Nov 2025 17:05:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria, pespin.
lynxis lazus has posted comments on this change by lynxis lazus. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/41308?usp=email )
Change subject: Add test for tcap decoding/encoding
......................................................................
Patch Set 6:
(1 comment)
Patchset:
PS6:
> Agreeing with Pau. Unit tests for TCAP codec should be in libosmo-asn1-tcap.git. […]
It ensures the library works correctly. We had issues in the past with linking again asn1 libraries.
I don't oppose against adding unit tests to asn1-tcap, but keeping this simple test here.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41308?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: I8a0dbfaaa7182a5a72b279908be09e3adab254a2
Gerrit-Change-Number: 41308
Gerrit-PatchSet: 6
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: daniel <dwillmann(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Nov 2025 16:51:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/41393?usp=email )
Change subject: OBS: sync_obs_projects: fix for OSC 1.12.1
......................................................................
OBS: sync_obs_projects: fix for OSC 1.12.1
Since the Docker image used by sync_obs_projects was changed from Debian
12 to 13, several "osc" commands have in their output:
fatal: not a git repository (or any of the parent directories): .git
Work around this by switching to the temp directory and initializing a
git repository there, with an "origin" remote that osc also expects to
exist.
Fixes: 6ac535b8 ("OBS: set default distro to debian 13")
Change-Id: I1236a065e2998fb46343df3968f7bb4dabeea55a
---
M scripts/obs/sync_obs_projects.py
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/93/41393/1
diff --git a/scripts/obs/sync_obs_projects.py b/scripts/obs/sync_obs_projects.py
index d494ed4..a82a47c 100755
--- a/scripts/obs/sync_obs_projects.py
+++ b/scripts/obs/sync_obs_projects.py
@@ -334,6 +334,12 @@
os.makedirs(lib.config.path_temp, exist_ok=True)
+ # OSC 1.12.1 from Debian Trixie fails if the current working dir isn't a
+ # git repository or is missing an "origin" remote
+ os.chdir(lib.config.path_temp)
+ lib.run_cmd(["git", "init"])
+ lib.run_cmd(["git", "remote", "add", "origin", "."])
+
# Get destination OBS projects
lib.osc.set_apiurl(lib.args.to_apiurl, None)
dest_projects = lib.osc.get_projects()
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/41393?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I1236a065e2998fb46343df3968f7bb4dabeea55a
Gerrit-Change-Number: 41393
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-dev/+/41391?usp=email )
Change subject: gen_makefile: python: run build in venv too
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/41391?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: Idbd826d65267c05dcf2d82f7429d53a52686d737
Gerrit-Change-Number: 41391
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 10 Nov 2025 13:40:58 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes