Attention is currently required from: fixeria, lynxis lazus.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37924?usp=email )
Change subject: s1ap_proxy: Support replying errors
......................................................................
Patch Set 5:
(1 comment)
Patchset:
PS4:
> Just to clarify: I am fine with the follow-up patch adding metrics, and I have no objections about m […]
Please do whatever you deem necessary so it can finally get merged. I really see no point on why this needs to be stuck here for 1 month instead of being merged and tests worked on now once we have better test infrastructure to add them.
All this just makes it harder for other people to develop, test and use the project.
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37924?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I242e84fb09b00f4794b6e1aa770f348a0e60aea4
Gerrit-Change-Number: 37924
Gerrit-PatchSet: 5
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Mon, 23 Sep 2024 10:14:05 +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>
Attention is currently required from: laforge.
dexter has posted comments on this change by laforge. ( https://gerrit.osmocom.org/c/pysim/+/38255?usp=email )
Change subject: pySim-shell: New '-e' command line argument
......................................................................
Patch Set 1:
(1 comment)
File pySim-shell.py:
https://gerrit.osmocom.org/c/pysim/+/38255/comment/80b8492b_253b1912?usp=em… :
PS1, Line 1128: for c in opts.execute_command:
> I gave it a quick try, for some reason I get: […]
I think when -e is not used opts.execute_command is none, then the for refuses to iterate.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/38255?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I74004f46105553f077c039ca0f86f75afccc7342
Gerrit-Change-Number: 38255
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Mon, 23 Sep 2024 10:07:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: dexter <pmaier(a)sysmocom.de>
Attention is currently required from: laforge.
dexter has posted comments on this change by laforge. ( https://gerrit.osmocom.org/c/pysim/+/38255?usp=email )
Change subject: pySim-shell: New '-e' command line argument
......................................................................
Patch Set 1:
(2 comments)
Patchset:
PS1:
I think this is very useful.
File pySim-shell.py:
https://gerrit.osmocom.org/c/pysim/+/38255/comment/d9acbe67_cd57baba?usp=em… :
PS1, Line 1128: for c in opts.execute_command:
I gave it a quick try, for some reason I get:
TypeError: 'NoneType' object is not iterable
when there is no -e option used.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/38255?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I74004f46105553f077c039ca0f86f75afccc7342
Gerrit-Change-Number: 38255
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: dexter <pmaier(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Mon, 23 Sep 2024 10:05:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38261?usp=email )
Change subject: testenv: clean_run_scripts: skip if podman stopped
......................................................................
testenv: clean_run_scripts: skip if podman stopped
Do not attempt to run the clean_run_scripts, if podman is being used and
the container has already been shutdown.
Change-Id: I3cc05aabd97b73b65c3089e8806f7a9b32e5975c
---
M _testenv/README.md
M _testenv/testenv/testdir.py
2 files changed, 12 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/61/38261/1
diff --git a/_testenv/README.md b/_testenv/README.md
index 983692c..09b12e8 100644
--- a/_testenv/README.md
+++ b/_testenv/README.md
@@ -57,7 +57,8 @@
collisions when running a test with multiple configs
(`rename_junit_xml_classname.sh`). See below for `PATH` and `PWD`. A
`TESTENV_CLEAN_REASON` env var is set to `prepare`, `crashed` or `finished`
- depending on when the script runs.
+ depending on when the script runs. The script will not run on crash if podman
+ is used, as the container gets shutdown beforehand.
#### Component section
diff --git a/_testenv/testenv/testdir.py b/_testenv/testenv/testdir.py
index 242d17d..55f04d2 100644
--- a/_testenv/testenv/testdir.py
+++ b/_testenv/testenv/testdir.py
@@ -170,8 +170,14 @@
def clean_run_scripts(reason="crashed"):
global clean_scripts
- for section, script in clean_scripts.items():
- logging.info(f"Running {section} clean script (reason: {reason})")
- env = {"TESTENV_CLEAN_REASON": reason}
- testenv.cmd.run(script, cwd=os.path.join(testdir, section), env=env)
+ if not clean_scripts:
+ return
+ elif testenv.args.podman and not testenv.podman.is_running():
+ logging.debug("Skipping clean up scripts, podman container has already stopped")
+ else:
+ for section, script in clean_scripts.items():
+ logging.info(f"Running {section} clean script (reason: {reason})")
+ env = {"TESTENV_CLEAN_REASON": reason}
+ testenv.cmd.run(script, cwd=os.path.join(testdir, section), env=env)
+
clean_scripts = {}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38261?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: I3cc05aabd97b73b65c3089e8806f7a9b32e5975c
Gerrit-Change-Number: 38261
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>