Attention is currently required from: pespin.
osmith has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email )
Change subject: sigtran: Document xUA Server Administrative State
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/43759?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I771f05d2ef001f78cbd4d6fcd585535a841366ea
Gerrit-Change-Number: 43759
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 07 Oct 2026 11:37:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43783?usp=email )
Change subject: testenv: podman_install: update can't install msg
......................................................................
testenv: podman_install: update can't install msg
Update the message to mention all three ways that we now have to install
test components when running with --binary-packages and explain the
differences.
Example output:
Running with --binary-packages (-b), but can't install trx-proxy! Fix this by either:
Set the debian package name with package= in [trx-proxy] in testenv_generic.cfg:
* The debian package will be installed.
Set package=no in [trx-proxy] in testenv_generic.cfg:
* osmo-dev will be used to build the test component from source.
* Jenkins will always use current master.
Edit from_source() in testenv/podman_install.py:
* Dependency packages will be installed from the configured
binary repository (e.g. -b osmocom:latest).
* The git repository for the test component will be cloned and
the version matching the binary repository will be built
(-b osmocom:latest => latest tagged version, otherwise master).
Change-Id: I0d722a48fb5ba125489db410b6f765360f2702a3
---
M _testenv/testenv/podman_install.py
1 file changed, 15 insertions(+), 4 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/_testenv/testenv/podman_install.py b/_testenv/testenv/podman_install.py
index 438f875..de06f0b 100644
--- a/_testenv/testenv/podman_install.py
+++ b/_testenv/testenv/podman_install.py
@@ -209,10 +209,21 @@
if program == "run_osmo_ns_dummy.sh":
return from_source_osmo_ns_dummy()
- logging.error(f"Can't install {section}! Fix this by either:")
- logging.error(f"* Adding package= to [{section}] in {cfg_name}")
- logging.error(" (if it can be installed from binary packages)")
- logging.error("* Editing from_source() in testenv/podman_install.py")
+ logging.error(f"Running with --binary-packages (-b), but can't install {section}! Fix this by either:")
+ logging.error("")
+ logging.error(f"Set the debian package name with package= in [{section}] in {cfg_name}:")
+ logging.error("* The debian package will be installed.")
+ logging.error("")
+ logging.error(f"Set package=no in [{section}] in {cfg_name}:")
+ logging.error("* osmo-dev will be used to build the test component from source.")
+ logging.error("* Jenkins will always use current master.")
+ logging.error("")
+ logging.error("Edit from_source() in testenv/podman_install.py:")
+ logging.error("* Dependency packages will be installed from the configured")
+ logging.error(" binary repository (e.g. -b osmocom:latest).")
+ logging.error("* The git repository for the test component will be cloned and")
+ logging.error(" the version matching the binary repository will be built")
+ logging.error(" (-b osmocom:latest => latest tagged version, otherwise master).")
sys.exit(1)
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43783?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: I0d722a48fb5ba125489db410b6f765360f2702a3
Gerrit-Change-Number: 43783
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43795?usp=email )
Change subject: testenv: fix running configs with omitted package=
......................................................................
testenv: fix running configs with omitted package=
The ns and sccp testsuites have test components in their testenv.cfg
without a package= line (osmo-ns-dummy and sccp_demo_user). These are
built from source against the -dev packages of the currently used binary
repository with testenv.podman_install.from_source().
Fix regressions from recent patches that broke this in two places:
1. testenv.daemons.start() always tried to access "packages" without
checking if it exists in the section first.
2. testenv.osmo_dev.get_targets() was treating a missing packages= line
the same as packages=no (which means building with osmo-dev instead
of testenv.podman_install.from_source()). Add the logic to not add
the make target to ret if there is no package= line. While at it,
rewrite the long if conditions to make the function easier to
understand.
Fixes: cf009ae7 ("testenv: run osmo-dev logic for --binary-repo too")
Fixes: 6cbec87b ("testenv: build package=no components with osmo-dev")
Change-Id: Id5920aacba832a1f43d87d09a9e133d95384e635
---
M _testenv/testenv/daemons.py
M _testenv/testenv/osmo_dev.py
2 files changed, 18 insertions(+), 4 deletions(-)
Approvals:
fixeria: Looks good to me, approved
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
diff --git a/_testenv/testenv/daemons.py b/_testenv/testenv/daemons.py
index 0c402e9..e6085b6 100644
--- a/_testenv/testenv/daemons.py
+++ b/_testenv/testenv/daemons.py
@@ -60,7 +60,7 @@
env["LIBOSMO_IO_BACKEND"] = "IO_URING"
envtype = "osmo_dev"
- if testenv.args.binary_repo and section_data["package"] != "no":
+ if testenv.args.binary_repo and section_data.get("package") != "no":
envtype = "binary_repo"
if testenv.args.podman:
diff --git a/_testenv/testenv/osmo_dev.py b/_testenv/testenv/osmo_dev.py
index edbe1b2..d2f9229 100644
--- a/_testenv/testenv/osmo_dev.py
+++ b/_testenv/testenv/osmo_dev.py
@@ -58,10 +58,24 @@
# Gets built with testenv.testsuite.build()
continue
- if "make" in section_data and section_data["make"] != "no" and section_data["make"] not in ret:
- if testenv.args.binary_repo and section_data.get("package", "no") != "no":
+ if "make" not in section_data or section_data["make"] == "no":
+ # No osmo-dev make target listed in testenv.cfg
+ continue
+
+ if section_data["make"] in ret:
+ # Already decided that this target will be built while parsing a
+ # previous section
+ continue
+
+ if testenv.args.binary_repo:
+ if "package" not in section_data:
+ # Gets built with testenv.podman_install.from_source()
continue
- ret += [section_data["make"]]
+ if section_data["package"] != "no":
+ # Gets installed from a debian package
+ continue
+
+ ret += [section_data["make"]]
return ret
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43795?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: Id5920aacba832a1f43d87d09a9e133d95384e635
Gerrit-Change-Number: 43795
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-sigtran/+/43761?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: xua_msg: Drop __thread attribute on static buf
......................................................................
xua_msg: Drop __thread attribute on static buf
libosmo-sigtran is not thread safe, and hence makes no sense to have
only this static buffer (out of dozens declared) as TLS.
Related: OS#7061
Change-Id: Ia023b8df32494bc705326106753f17e7eeaf89cf
---
M src/xua_msg.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
osmith: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/src/xua_msg.c b/src/xua_msg.c
index 61281c4..122f6bc 100644
--- a/src/xua_msg.c
+++ b/src/xua_msg.c
@@ -357,7 +357,7 @@
const char *xua_msg_part_get_str(const struct xua_msg_part *part)
{
- static char __thread buf[256];
+ static char buf[256];
if (part->len == 0)
return "";
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/43761?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ia023b8df32494bc705326106753f17e7eeaf89cf
Gerrit-Change-Number: 43761
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>