Attention is currently required from: osmith, pespin.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38503?usp=email
to look at the new patch set (#4).
Change subject: testenv: qemu: get coredump and show backtrace
......................................................................
testenv: qemu: get coredump and show backtrace
If the SUT crashes inside QEMU, copy the coredump via 9p to the outer
system (either host or podman) where we have the same binaries and also
debug symbols, and run gdb there to show the backtrace.
Related: OS#6600
Change-Id: Ia08ac58c43388b5ea4d3712c5ef83f54b538b10a
---
M _testenv/data/scripts/qemu/qemu_functions.sh
M _testenv/data/scripts/qemu/qemu_init.sh
2 files changed, 21 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/03/38503/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38503?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia08ac58c43388b5ea4d3712c5ef83f54b538b10a
Gerrit-Change-Number: 38503
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38520?usp=email )
Change subject: testenv: improve output for missing -c argument
......................................................................
testenv: improve output for missing -c argument
When a testsuite has multiple testenv.cfg files, the user needs to
explicitly choose a config, or "-c all" for all configs. Improve the
help output to directly print the arguments that need to be passed,
instead of printing the config file names. Mention that wildcards can be
used too.
Old:
[testenv] Found multiple testenv.cfg files:
[testenv] * testenv_generic.cfg
[testenv] * testenv_sccplite.cfg
[testenv] * testenv_vamos.cfg
[testenv] Select a specific config (e.g. '-c generic') or all ('-c all')
New:
[testenv] Found multiple testenv.cfg files, use one of:
[testenv] -c generic
[testenv] -c sccplite
[testenv] -c vamos
[testenv] You can also select all of them (-c all) or use the * character as wildcard.
Related: OS#6494
Change-Id: I3f273caff702b33d3d74a9e5c8d77b22f27d7cfc
---
M _testenv/testenv/testenv_cfg.py
1 file changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/20/38520/1
diff --git a/_testenv/testenv/testenv_cfg.py b/_testenv/testenv/testenv_cfg.py
index 8bb4119..ea25614 100644
--- a/_testenv/testenv/testenv_cfg.py
+++ b/_testenv/testenv/testenv_cfg.py
@@ -209,11 +209,10 @@
sys.exit(1)
if len(ret) > 1 and not testenv.args.config:
- logging.error("Found multiple testenv.cfg files:")
+ logging.error("Found multiple testenv.cfg files, use one of:")
for path in ret:
- logging.error(f" * {os.path.basename(path)}")
- example = os.path.basename(ret[0]).split("_", 1)[1].split(".cfg", 1)[0]
- logging.error(f"Select a specific config (e.g. '-c {example}') or all ('-c all')")
+ logging.error(f" -c {os.path.basename(path).replace('testenv_', '', 1).replace('.cfg', '')}")
+ logging.error("You can also select all of them (-c all) or use the * character as wildcard.")
sys.exit(1)
return ret
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38520?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: I3f273caff702b33d3d74a9e5c8d77b22f27d7cfc
Gerrit-Change-Number: 38520
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>