Jenkins Builder has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42666?usp=email )
Change subject: testenv: Allow adding extra parameters to podman
......................................................................
Patch Set 1:
(1 comment)
File _testenv/README.md:
Robot Comment from checkpatch (run ID ):
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42666/comment/3e58c126_3e02… :
PS1, Line 99: through usb devices. Use spaces to seperate parameters, use quotes to include
'seperate' may be misspelled - perhaps 'separate'?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42666?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6a2be0d60efcd70ea2081e0314927885085bb5e0
Gerrit-Change-Number: 42666
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-CC: Jenkins Builder
Gerrit-Comment-Date: Thu, 23 Apr 2026 12:28:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42666?usp=email )
Change subject: testenv: Allow adding extra parameters to podman
......................................................................
testenv: Allow adding extra parameters to podman
Allows to add additional command line parameters to podman, if defined
int the testsuite section of testenv.cfg:
[testsuite]
...
podman_extra=--volume /dev/bus/usb:/dev/bus/usb
Change-Id: I6a2be0d60efcd70ea2081e0314927885085bb5e0
---
M _testenv/README.md
M _testenv/testenv/podman.py
M _testenv/testenv/testenv_cfg.py
3 files changed, 15 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/66/42666/1
diff --git a/_testenv/README.md b/_testenv/README.md
index a973b25..f57ee0e 100644
--- a/_testenv/README.md
+++ b/_testenv/README.md
@@ -94,6 +94,11 @@
testsuite to avoid consuming the whole RAM and freezing (or possibly getting
killed from an out-of-memory daemon).
+* `podman_extra=`: optional value that can be set to add extra parameters to
+ podman. For example, it can be used to mount additional volume to pass-
+ through usb devices. Use spaces to seperate parameters, use quotes to include
+ spaces into patameters.
+
#### Component section
* `program=`: executable for starting a test component, may contain arguments.
diff --git a/_testenv/testenv/podman.py b/_testenv/testenv/podman.py
index 79fc5b9..92dfeb4 100644
--- a/_testenv/testenv/podman.py
+++ b/_testenv/testenv/podman.py
@@ -266,6 +266,10 @@
dest = os.readlink(testenv.custom_kernel_path)
cmd += ["--volume", f"{dest}:{dest}:ro"]
+ podman_extra = testenv.testenv_cfg.get_podman_extra_first_cfg()
+ if podman_extra:
+ cmd += shlex.split(podman_extra)
+
cmd += [
"--volume",
f"{testdir_topdir}:{testdir_topdir}",
diff --git a/_testenv/testenv/testenv_cfg.py b/_testenv/testenv/testenv_cfg.py
index 9edc102..eb9e030 100644
--- a/_testenv/testenv/testenv_cfg.py
+++ b/_testenv/testenv/testenv_cfg.py
@@ -207,6 +207,11 @@
return testenv.args.jobs
+def get_podman_extra_first_cfg():
+ _, cfg = next(iter(cfgs.items()))
+ return cfg["testsuite"].get("podman_extra", None)
+
+
def verify_qemu_cfgs():
"""Check if passed -C or -K args make sense with the testenv configs."""
testsuite = testenv.args.testsuite
@@ -255,6 +260,7 @@
"program",
"titan_min",
"max_jobs_per_gb_ram",
+ "podman_extra",
]
keys_valid_component = [
"clean",
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42666?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6a2be0d60efcd70ea2081e0314927885085bb5e0
Gerrit-Change-Number: 42666
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Attention is currently required from: jolly.
lynxis lazus has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/osmo-remsim/+/42665?usp=email )
Change subject: Fix: Prevent bankd from exiting upon SIGPIPE
......................................................................
Patch Set 1:
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-remsim/+/42665/comment/7bb2d5c9_74a6ec34?… :
PS1, Line 9: IF a client disconnects from a worker thread while the worker is
type: IF -> If
File src/bankd/bankd_main.c:
https://gerrit.osmocom.org/c/osmo-remsim/+/42665/comment/956b4893_410dfb43?… :
PS1, Line 568: /* do nothing */
Can you copy the comment of DO NOT LOG anything into here too?
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/42665?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I13d6e9da48d12f93c00bd2d021789bde71aca7cf
Gerrit-Change-Number: 42665
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Comment-Date: Thu, 23 Apr 2026 12:11:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/42665?usp=email )
Change subject: Fix: Prevent bankd from exiting upon SIGPIPE
......................................................................
Fix: Prevent bankd from exiting upon SIGPIPE
IF a client disconnects from a worker thread while the worker is
responding to a to a request from that client, the socket is closed and
SIGPIPE is sent to the worker, causing the application to exit.
To prevent this, all workers have a dummy handler to prevent this. Now
the worker can handle the closing of the socket.
Change-Id: I13d6e9da48d12f93c00bd2d021789bde71aca7cf
---
M src/bankd/bankd_main.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/65/42665/1
diff --git a/src/bankd/bankd_main.c b/src/bankd/bankd_main.c
index c6b0f1c..204ee24 100644
--- a/src/bankd/bankd_main.c
+++ b/src/bankd/bankd_main.c
@@ -562,6 +562,12 @@
/* do nothing */
}
+/* signal handler for receiving SIGPIPE from worker thread */
+static void handle_sig_pipe(int sig)
+{
+ /* do nothing */
+}
+
static void handle_sig_usr1(int sig)
{
OSMO_ASSERT(sig == SIGUSR1);
@@ -1068,6 +1074,8 @@
g_worker->slot.bank_id = 0xffff;
g_worker->slot.slot_nr = 0xffff;
+ signal(SIGPIPE, handle_sig_pipe);
+
/* we continuously perform the same loop here, recycling the worker thread
* once the client connection is gone or we have some trouble with the card/reader */
while (1) {
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/42665?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I13d6e9da48d12f93c00bd2d021789bde71aca7cf
Gerrit-Change-Number: 42665
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas(a)eversberg.eu>
Attention is currently required from: dexter, fixeria, laforge, neels.
osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ci/+/42661?usp=email )
Change subject: jobs/master-builds.yml: pysim: allow skipping card tests
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
File jobs/master-builds.yml:
https://gerrit.osmocom.org/c/osmo-ci/+/42661/comment/ea164c90_399e55ca?usp=… :
PS2, Line 653: {check_jenkins_mark} "skip-card-test" || {timeout_cmd} ./contrib/jenkins.sh
> Good idea, applied, thanks! I didn't know about `GERRIT_PIPELINE_JOB_SKIPPED`.
FYI I just came up with that, we still need to adjust the comment generating script to take that into account. but by printing such a message, we can do that in a follow-up patch (I could also look into it if you prefer).
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42661?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I591717a2e2659c02447087dec23aa279cfd55551
Gerrit-Change-Number: 42661
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 23 Apr 2026 11:26:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>