Some open5gs testsuites end in -ogs (hss, mme, ggsn), others do not
(pgw). Let the user omit -ogs and choose the right one automatically.
Change-Id: I64fb519c15cfff8a8b560d51ff8b6b5d1aada8f7
Don't mount usr_local, var_local as read-only, so the environment is
more similar to our jenkins.
Fix for:
+ /data/upfd-setup.sh
+ command -v open5gs-upfd
+ upfd_bin=/usr/local/bin/open5gs-upfd
+ setcap cap_net_raw+ep /usr/local/bin/open5gs-upfd
Failed to set capabilities on file '/usr/local/bin/open5gs-upfd': Read-only file system
Change-Id: I52d2989d91119f0f1673f49723f1055fe7428d15
Add separate functions for each rule (autoconf, configure, build,
install, reinstall, clean, distclean). This is in preparation for
supporting open5gs (meson).
Change-Id: Id7acfec7f5dd0d3d1a080b3c9d15005e51863e66
Use python's multiprocessing.cpu_count() instead of "$(nproc)". The
latter didn't work properly in Makefiles, the right syntax would have
been "$(shell nproc)". Make didn't complain about it and assumed that we
want to use all CPUs with an empty argument "-j ", but meson doesn't
accept this syntax.
Change-Id: I58ca082339f3aff813f587f4c2be9c0951b9b2dd
* libgtnpnl is now developed at gerrit.osmocom.org
* use https:// instead of git:// for libnftnl, nftables
* read the urls from a new all.urls file
* don't set a push URL pointing to gerrit for projects that have
different URLs
Change-Id: I5522c9fcc594d296c581ba59c0beb4882e2d976e
Add getopts parsing. The idea was to add support for setting a different
IMAGE_SUFFIX argument, but later on it became clear it is not worth
implementing here. Add the getopts logic anyway because it can be used
to add other arguments in the future.
Change-Id: If55a982d92b2a24a175ab7f3a8f048f054033dc2
Don't immediately close tmux on exit. Without this patch the error
messages printed in error code paths are not visible to the user.
Change-Id: I4a98e7eb7691b7b954ee7edd4ed488ae3c1dd835
Even if only one BTS is used, both ARFCNs are written to the osmo-bsc
config and osmo-bsc refuses to start up if there is an invalid ARFCN.
Change-Id: I569b407736713cefd46a1c927d9ee85f91332553
Use ${BSC_COUNT} instead of $BSC_COUNT, as otherwise the template code
doesn't replace the variable. Without this patch it always went into the
else code path.
Change-Id: I2b880a8da51f96c16fb56d9d6e3994ecc1b47ae7
Reset the terminal after tmux new-window and after killing programs
during shutdown. Otherwise with tmux 3.2a the input prompts do not work.
Change-Id: I7f14c364637f82699a5b935637222d5da977d67d
As discussed with Neels, replace the previous version of the script that
didn't work anymore (probably due to api change from gerrit) with a new
one that works with the current api and also doesn't require unlocking
the ssh key.
Change-Id: Ie5d061323dce6843cafe49434250cc4780c8c832
Attach a tty to the docker container while building the testsuite, as
this is what "should_colorize()" checks for.
Related: b3dca57db9
Change-Id: I6d3c9e1e82b1cf4384b4abd3f1eed072d8fe6fde
Build the ttcn3 testsuites inside docker, so there is no mismatch of
libraries between the host system and the docker container when
attempting to run the testsuite inside docker later (like jenkins does
it).
Change-Id: Ic89e32ed68848bb3b661f77775ed1520c9f44fd9