Skip to content
Unstable

Changes

Summary

  1. ctrl: tweak errmsg for counter mismatch (details)
  2. testenv: qemu: get coredump and show backtrace (details)
  3. pcu: add testenv.cfg (details)
  4. bsc/osmo-bsc-sccplite.cfg: add trx1, trx2 (details)
  5. bsc/osmo-bsc{,-vamos}.cfg: add no missing-msc-text (details)
  6. bsc/osmo-stp.cfg: sync with docker-playground (details)
  7. bsc: add testenv.cfg (details)
  8. testenv: improve output for missing -c argument (details)
  9. testenv: osmo-dev: add hint for gen_makefile fail (details)
Commit 2cafd10ade08b377dc939fff383b124794726a86 by Oliver Smith
ctrl: tweak errmsg for counter mismatch

- instead of "-1", print "not present", so humans know what is
  happening.
- the comma separated args in setverdict() create a lot of weird quotes.
  Use string concatenation to have only one set of quotes around the
  entire error message.

Related: OS#6545
Tweaked-by: Oliver Smith <osmith@sysmocom.de>
Change-Id: I672fcef819a6542a5b3bcfa0a6d9c84d34b468f3
The file was modifiedlibrary/Osmocom_CTRL_Functions.ttcn
Commit 5cf0b7fb0c141de9b7192777928593e2651984c4 by Oliver Smith
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
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
The file was modified_testenv/data/scripts/qemu/qemu_init.sh
Commit 345509c592401b58fb8d1c1bac3fe7e55afe8a16 by Oliver Smith
pcu: add testenv.cfg

Change-Id: I57956a0bb5d5e164c3f840815573164e52300459
The file was addedpcu/testenv_generic.cfg
The file was addedpcu/testenv_sns.cfg
Commit a092e8488c81afc9d18028605c569c1d304e73f9 by Oliver Smith
bsc/osmo-bsc-sccplite.cfg: add trx1, trx2

Synchronize with the config in docker-playground.

Change-Id: Ia959c725b9efee5ccf6a67e22e740a60b4fd28b9
The file was modifiedbsc/osmo-bsc-sccplite.cfg
Commit 522aa727683dc6a748637ed29c27d25806a490db by Oliver Smith
bsc/osmo-bsc{,-vamos}.cfg: add no missing-msc-text

Copy this option from the config in docker-playground to have less
cluttered output.

Change-Id: I0735e5bce207961ab960294c9f39404ab64a3fb1
The file was modifiedbsc/osmo-bsc.cfg
The file was modifiedbsc/osmo-bsc-vamos.cfg
Commit 923e442a823fd85a1766d18ffac376cbf72d53f7 by Oliver Smith
bsc/osmo-stp.cfg: sync with docker-playground

Change-Id: I32fc1374d92405d642027e0c61fdd6a297cd7807
The file was modifiedbsc/osmo-stp.cfg
Commit e7a32d954e4002c85e0f9f87d106232dcfb9e115 by Oliver Smith
bsc: add testenv.cfg

Change-Id: Ib2e92a9ebd78f5553161bcca433f39c7c39f3adf
The file was addedbsc/testenv_generic.cfg
The file was addedbsc/osmo_bts_omldummy.sh
The file was addedbsc/testenv_sccplite.cfg
The file was addedbsc/testenv_vamos.cfg
Commit c9242ab93319ed1df95250d31328ee2635a72100 by Oliver Smith
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
The file was modified_testenv/testenv/testenv_cfg.py
Commit 14d4a2805d6790aa410f6c5c1d7328c71bdaef84 by Oliver Smith
testenv: osmo-dev: add hint for gen_makefile fail

When gen_makefile.py from osmo-dev fails, it is likely that the osmo-dev
git clone is outdated, for example if a new file with configure options
was added to osmo-dev.git and is now being used by testenv. Display a
hint for pulling this repository to the user.

Change-Id: Ia9ed23fa910876252093054f5f389865632c7593
The file was modified_testenv/testenv/osmo_dev.py
The file was modified_testenv/testenv/podman.py