osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40304?usp=email )
Change subject: testenv: podman_install: tweak git commands
......................................................................
testenv: podman_install: tweak git commands
* Do not run them in podman: git is required to run testenv, by not
running it through podman the command in the log is shorter.
* Set advice.detachedHead=false for the git clone to avoid printing the
"You are in 'detached HEAD' state. You can look around ..." text block
that isn't useful in this context.
Change-Id: I2ee26764d1471e54eff748e11ec2cce6fb662667
---
M _testenv/testenv/podman_install.py
1 file changed, 5 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
diff --git a/_testenv/testenv/podman_install.py b/_testenv/testenv/podman_install.py
index a8293ef..130085c 100644
--- a/_testenv/testenv/podman_install.py
+++ b/_testenv/testenv/podman_install.py
@@ -112,7 +112,7 @@
branch = "master"
url = f"https://gerrit.osmocom.org/{project}"
if testenv.args.binary_repo.endswith(":latest"):
- ls_remote = testenv.cmd.run(["git", "ls-remote", "--tags", url], capture_output=True, text=True)
+ ls_remote = testenv.cmd.run(["git", "ls-remote", "--tags", url], capture_output=True, text=True, no_podman=True)
tags = []
pattern = re.compile("^\d+\.\d+\.\d+$")
for line in ls_remote.stdout.split("\n"):
@@ -127,6 +127,8 @@
testenv.cmd.run(
[
"git",
+ "-c",
+ "advice.detachedHead=false",
"-C",
git_dir,
"clone",
@@ -135,7 +137,8 @@
"--branch",
branch,
url,
- ]
+ ],
+ no_podman=True,
)
show_commit(project, git_dir_project)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40304?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2ee26764d1471e54eff748e11ec2cce6fb662667
Gerrit-Change-Number: 40304
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40298?usp=email )
Change subject: sccp_scoc.c: assert value of sua_addr_parse()
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
also, we have 13 instances of invoking sua_addr_parse without checking the return value, by far the majority of the calls. The function itself logs any error code paths. from what I can tell, I'd rather have a wrongly-routed message and that error log than a process crashing.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40298?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: I008ee6f9024247c14d986a2baba061cc12bf68ec
Gerrit-Change-Number: 40298
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 May 2025 06:51:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40302?usp=email )
Change subject: sccp_scoc: Match local conn by src_ref, not dest_ref
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40302?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: I0090f4088de407b476cfb0a6d652b384af714306
Gerrit-Change-Number: 40302
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 May 2025 06:48:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40301?usp=email )
Change subject: sccp_demo_use: Log rx N-PCSTATE.ind
......................................................................
Patch Set 1:
(1 comment)
File examples/sccp_test_server.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40301/comment/bf33aecd_1844d… :
PS1, Line 76: sp_status
same here, use osmo_ss7_pointcode_print or friends
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40301?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: I19ff96c5892af412333ae413d95416c592e87f5c
Gerrit-Change-Number: 40301
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 May 2025 06:48:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40299?usp=email )
Change subject: sccp: Log remote PC in LOGPSCC
......................................................................
Patch Set 1:
(1 comment)
File src/sccp_scoc.c:
https://gerrit.osmocom.org/c/libosmo-sigtran/+/40299/comment/e438cf2f_16206… :
PS1, Line 131: _LOGPSCU((scc)->user, subsys, level, "CONN(%d,rpc=%u) " fmt, (conn)->conn_id, (conn)->remote_pc, ## args)
whenever we print point codes, we should use osmo_ss7_pointcode_print() or related.
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40299?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: Ifa3670f3f0894c3334299c6c9826a17bd63dd9ae
Gerrit-Change-Number: 40299
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 May 2025 06:47:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Attention is currently required from: pespin.
laforge has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/40298?usp=email )
Change subject: sccp_scoc.c: assert value of sua_addr_parse()
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
should we assert if the SCCP user hands us incorrect data? I would hope we're not venturing into open5gs-assert-style here?
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/40298?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: I008ee6f9024247c14d986a2baba061cc12bf68ec
Gerrit-Change-Number: 40298
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 15 May 2025 06:46:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No