aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-11-23ttcn3: pgw: depend on osmo-uecupsHEADosmith/wipmasterOliver Smith2-1/+7
Change-Id: I95b77ea1a9f4c31c8886dc3f613e545135da320d
2023-11-23ttcn3: fix missing test name in usage descOliver Smith1-1/+1
Change-Id: I5be5ee227dac0969e12d284ec518019c75698754
2023-11-23ttcn3: add aliases hss -> hss-ogs etc.Oliver Smith1-4/+19
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
2023-11-23ttcn3: support hss-ogs, mme-ogs, pgwOliver Smith1-4/+9
Change-Id: I08d76e6c92e2e3eacacb02a5a6f6d589e5889499
2023-11-23ttcn3: run_docker: remove :roOliver Smith1-2/+2
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
2023-11-23ttcn3: remove unused functionsOliver Smith1-20/+0
Change-Id: I1939f1262757899c1a75c6d51cffd2ab13815c0f
2023-11-22ttcn3: add ggsn-ogsOliver Smith4-25/+73
Change-Id: Id84047e56a6c07fbf0984eb6aedcecd4d7f3ae97
2023-11-22Support building open5gsOliver Smith4-11/+73
Change-Id: Id145443ff53f13740167e9dde6417b7e915b8399
2023-11-22gen_makefile: split gen_make into more functionsOliver Smith1-62/+108
Add separate functions for each rule (autoconf, configure, build, install, reinstall, clean, distclean). This is in preparation for supporting open5gs (meson). Change-Id: Id7acfec7f5dd0d3d1a080b3c9d15005e51863e66
2023-11-22gen_makefile: don't shell out to nprocOliver Smith1-1/+4
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
2023-11-22gen_makefile: update URL code for netfilter urlsOliver Smith2-3/+28
* 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
2023-10-25ttcn3.sh: enable color output from gccOliver Smith1-0/+1
Change-Id: Idde8084ca981333be2fc2b369ea8f25881470654
2023-10-24werror.opts: add libgtpnlOliver Smith1-0/+1
Depends: libgtpnl Ife3716c667d2e9b3fcd94d3cdc044d594e7dab5a Change-Id: Ia5f6f6d2641318c00608471256257b4e06627c7c
2023-10-13ttcn3.sh: add arg to only run one testOliver Smith1-4/+13
Depends: docker-playground I1f45a05e089b429918096fcd64f7c02033d5a9dd Change-Id: I07a76f6c58d379608ecadfc3ba845651929f668c
2023-10-12ttcn3.sh: add options for kernel testsOliver Smith1-2/+93
Change-Id: I2a569b6712d8930807750751c14ed4e18b325e02
2023-10-12ttcn3.sh: clean osmo-ttcn3-hacks tooOliver Smith1-0/+5
Change-Id: Id0fdf5e3f0917e56e3c6abff54a2f886367252f5
2023-10-10ttcn3.sh: use nproc for JOBSOliver Smith1-1/+1
Change-Id: I1971e7758e67a4260ae1398d510cb719db45d101
2023-10-10ttcn3.sh: use ccacheOliver Smith4-2/+9
Use ccache for building Osmocom programs and TTCN-3 testsuites. Change-Id: I800062d0379295a6905851db29e820ff16217653
2023-10-10ttcn3.sh: add clean argumentOliver Smith1-0/+18
Change-Id: If779b87c02d01b877e44118db34bdf2c83dbf619
2023-10-10ttcn3.sh: add getoptsOliver Smith1-9/+31
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
2023-09-29Update URLs: git.osmocom.org -> gerrit.osmocom.orgOliver Smith2-3/+3
Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure Change-Id: Iba2ab71c06e413da4cb82fb1b85b4658d6773743
2023-09-27ttcn3: docker images: bullseye -> bookwormOliver Smith1-2/+2
Change-Id: I60eb16291c2e12d561043bb4b6e902ebad18bd38
2023-07-18ttcn3: build osmo-ggsn with --enable-gtp-linuxOliver Smith2-2/+25
Order the opts files alphabetically while at it. Change-Id: I40c197fc0dc2199dd5a7b0d1d820dee1338c1703
2023-07-18ttcn3/ttcn3.sh: add osmo-ggsnOliver Smith1-1/+2
Order the list alphabetically while at it. Change-Id: Ibdf30a0f87a4cc19c37c6337edff42fd4e56342a
2023-07-14all.deps: add osmo-remsim and simtrace2Oliver Smith3-0/+13
Change-Id: I58324ad5ed6c77a53e697d5b4b07ff9353859556
2023-07-10src/grd: Add option for cherry-pickingarehbein1-1/+15
Option '-c|--cherry-pick' will now cherry-pick into the current branch if passed. Change-Id: I85b1a2c4915e3da374e4b1201f2e977708fc7c4c
2023-06-27net/templates/run: let user confirm close of tmuxOliver Smith1-0/+9
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
2023-06-26net/templates/osmo-bsc: modernizeOliver Smith2-6/+14
* Write explicit role & sctp-role fields in ASP * Use new mgw node Change-Id: I0051ba7f8116ea29380d3f438fd3a0af15d9d12f
2023-06-26net/config_2g3g: set a valid BTS1_ARFCNOliver Smith1-1/+1
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
2023-06-26net/templates/run.sh: fix BSC_COUNT checkOliver Smith1-1/+1
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
2023-06-26net/templates/osmo-msc.conf: modernizeOliver Smith1-3/+6
* Write explicit role & sctp-role fields in ASP * Use new mgw node Change-Id: Id77a579ff9315f2c6bf9d7f6d80b4b022e8d4963
2023-06-26net/templates/run: fix prompts not workingOliver Smith1-0/+1
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
2023-06-08Write explicit role & sctp-role fields in ASP configurationsPau Espin Pedrol1-0/+2
Change-Id: I2d3cb4a6d2dec2d88491c6db2fc72269c827815d
2023-04-20ttcn3.sh: refactor logic for building imagesOliver Smith1-20/+15
2023-04-20ttcn3.sh: build_testsuite: build docker img firstOliver Smith1-0/+17
2023-04-17ttcn3/ttcn3.sh: adjust ttcn3-docker-run.sh pathOliver Smith1-1/+1
The script was moved to the common dir in docker-playground.git, so adjust the path here.
2023-04-12src/osmo-add-gerrit-hooks.sh: use sccp -ONeels Hofmeyr1-1/+1
Change-Id: I5e1186bca1da1a0f212ff3e07f731b547af1feb0
2023-03-22all-tests: add osmo-sip-connectorOliver Smith1-0/+1
Change-Id: I44a1bbd40a292251e56b4a7998b207795f4348e1
2023-03-09README: link to related OsmoDevCallOliver Smith1-0/+3
Change-Id: I0befcd6b058e4fa222c4f2b1363fa4596588f32a
2023-03-06ttcn3: support bsc-sccpliteOliver Smith1-5/+20
Change-Id: I8dd4b1ab9f14240335b4f9055066d1b0b6cee2ea
2023-03-06ttcn3: print testsuite_imageOliver Smith1-1/+4
Change-Id: If3d5f31054217ae7d007bb005e7427558755d332
2023-03-06ttcn3: print dir_testsuite_docker if invalidOliver Smith1-1/+2
Change-Id: I54080ee2561a33b7ebf0dde90a93bd62bd3ec23b
2023-02-24src/grd: replace fetch-gerrit-patch.shOliver Smith4-56/+116
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
2023-01-28gits: fix alias 're' of 'rebase' doing nothingVadim Yanitskiy1-1/+1
Change-Id: Ib861155ee988503ee142c97fac531770700761db
2022-12-23gen_makefile.py: clone repos with --recurse-submodulesVadim Yanitskiy1-1/+1
Change-Id: Ie305422145aff257eeb6f13d82d6a978d6c2849a
2022-12-08all.deps: add osmo-e1dOliver Smith1-0/+1
Change-Id: I37ce89ac4e32d7a5bc737eaaa16a6bcc3b70a996
2022-11-15werror.opts: enable osmo-iuhOliver Smith1-1/+1
It builds without warnings now \o/ Related: OS#4462 Change-Id: Ie974632462aab755d73e1345ebc9a08eb2d80893
2022-10-21ttcn3: colorize compiler outputOliver Smith1-0/+2
Attach a tty to the docker container while building the testsuite, as this is what "should_colorize()" checks for. Related: https://gitlab.eclipse.org/eclipse/titan/titan.core/-/commit/b3dca57db9bbc0a99e06f97e96cff296886c8219 Change-Id: I6d3c9e1e82b1cf4384b4abd3f1eed072d8fe6fde
2022-10-18ttcn3: build testsuite inside docker tooOliver Smith1-4/+34
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
2022-09-04virt-nitb: tweaksNeels Hofmeyr7-10/+21
Change-Id: Icba4b16e25db93ba9d069388bbe39cd5adfed770