aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-06WIPpespin/bts-perfPau Espin Pedrol4-5/+201
Change-Id: Iff84e5c3c0be91b013f07095d628cf8416ff5e8f
2020-01-21stp-master/Dockerfile: Install sccp_devmo_user bin instead of libtool wrapperPau Espin Pedrol1-1/+1
Related: OS#4343 Change-Id: Ic727d2ce0d010ad58276c912fd70ab76d4570dc2
2020-01-20sccp: Enable gsmtap log target and configure stderr loggingPau Espin Pedrol2-2/+19
Depends: libosmo-sccp.git Ie75d004a0e9f24309060f241f22209df1bbe358e Change-Id: Ia36f5a4ac7d4d400c218ca3a394ea0482f1ae2d8
2020-01-20ttcn3-pcu: Bind VTY to assigned IP addrPau Espin Pedrol1-1/+1
Change-Id: I5240f7ff5d669228077e703b124e6b9de6e7f2b7
2020-01-17Introduce ttcn-sccp dockerized setupPau Espin Pedrol5-0/+109
Since examples/sccp_demo_user (the binary used to test SCCP) is not installed by libosmo-sccp.git during make install, we need to install it manually after "make" step, and hence it's only available in osmo-stp-master, because in osmo-stp-latest we used packaged files. Related: OS#4343 Depends: osmo-ttcn3-hacks.git Ied9fbfb9bd35a99205ca13db033dd9ea03d51238 Change-Id: I5a7e6ff5f6e5f6e34d6a5ab29bd760a6f9d49c4b
2020-01-16README.md: Document how to get gdb backtrace from process crashPau Espin Pedrol1-0/+37
Change-Id: I507707a3ed0e7f88bcc9006612df531c848b949e
2020-01-16ttcn3-stp: Set default OSMO_TTCN3_BRANCH to masterPau Espin Pedrol1-3/+1
Change-Id: I6b19e50f65bca6fe556c748f3c2b633f65037dce
2020-01-15debian-buster-erlang: rename user to "build"Oliver Smith1-3/+3
Match username of debian-stretch-jenkins, so we can use the same docker arguments for both images in gerrit-verifications.yml of osmo-ci.git. Related: OS#4345 Change-Id: Ia3eaec6090c9652549b2850de74ee21730374bbd
2020-01-15debian-stretch-jenkins: move from osmo-ci.gitOliver Smith2-0/+150
Put Dockerfile_osmocom_jenkins.amd64 ("osmocom:deb9_amd64") from osmo-ci.git here and give it a more descriptive name. The image is used to run contrib/jenkins.sh scripts of most Osmocom projects. Move it to here, so we have all docker images in one place. In the future, osmo-ci.git will use more images from docker-playground.git in gerrit verification, such as debian-buster-erlang. Related: OS#4345 Change-Id: I125ae8a6bcabbd1f485028c79b0abacda0622c3a
2020-01-09Add debian-buster-simtrace2 DockerfileHarald Welte3-0/+46
This container is useful for people wanting to have an easy method to gain a build environment for the simtrace2 firmware + host utilities. Change-Id: I08b2fc542dd3568d26f199427523cfa81eb26d70
2020-01-09docker-*-build: Add missign dependency to stowHarald Welte3-0/+3
Change-Id: Ia1adac1e8e56c6dfa283af9cf2e8f426c77ef2e1
2020-01-09debian-*-build: Add {gcc,newlib}-arm-none-eabi for simtrace2 firmwareHarald Welte3-0/+6
The sitmrace2.git firmware buidl requires this cross-compiler. We so far didn't build it within this container, but lets make sure we could, if we'd want. Change-Id: If335247381aab2621fcbe6e6e596a1416e05fdf4
2020-01-09debian-buster-build: actually switch to busterHarald Welte1-1/+1
Change-Id: I35968431515e160b1ce6d766220a413a503f1a3a
2020-01-09start debian-buster-build as copy of debian-jessie-buildHarald Welte2-0/+51
Change-Id: I8eb6697ba736b933120bff5950b68294b4b4f842
2020-01-07ttcn3-stp: Fix recent commit breaking testsPau Espin Pedrol1-0/+1
Recent test aiming at dropping different cfg file for latest also dropped the cp of the regular cfg file. Let's re-add it. Fixes: 0f34d3749192b12f8eb9ec678c5c834c6d599c4e Change-Id: Ia79e5b50978ed09ce4d0a5a286770e867657ad3e
2020-01-05Add debian-buster-erlang containerHarald Welte3-0/+71
The idea for this is to be used in build verification for erlang projects. We also include C compiler and common utilities for those projects or upstream dependencies that may require it. Change-Id: I06c11a188404e183ed04bacf1673ecef2dc9ca47
2020-01-05ttcn3-sip: Drop unneeded SIP_Tests.cfg modifications for latestPau Espin Pedrol1-4/+0
Latest osmo-sip-connector release 1.4.0 already behaves the same as master. Change-Id: I3c8ef08c7a60e0c83c43ea79e882dfb2d2328fa6
2020-01-05ttcn3-pcu: Drop unneeded modifications for latestPau Espin Pedrol1-12/+0
Latest osmo-pcu release 0.8.0 already behaves same as master. Change-Id: I774af9eb7625891d906d33a0ea0ab3ffc5973a32
2020-01-05ttcn3-sgsn: Drop unneeded .cfg change for latestPau Espin Pedrol1-6/+0
Latest libosmo-sccp release 1.2.0 already uses same id as master. Change-Id: Ib7473de84521c37d6408ac1235244250284bd59a
2020-01-05ttcn3-ggsn: Drop no longer existing m_ggsn_supports_echo_intervalPau Espin Pedrol2-6/+0
It was removed since latest osmo-ggsn release is nowadays 1.5.0. Depends: osmo-ttcn3-hacks.git Ie1c3cde2a01e8ea49aadcb1f7384995cb68039cb Change-Id: I9ffd7549172055e6180a5c3f167dcc1133648243
2020-01-05ttcn3-stp: Drop unneeded different osmo-stp.cfg for latestPau Espin Pedrol2-117/+0
Latest tagged release of libosmo-sccp, version 1.2.0, already supports the regular osmo-stp.cfg file. Change-Id: Ifb3eb642fa5547d1ce2de81f51f181e226dceed7
2020-01-05ttcn3-mgw: Drop not longer existing mp_enable_conn_timeout_testPau Espin Pedrol3-5/+1
It was removed since latest osmo-mgw release is nowadays 1.7.0. Depends: osmo-ttcn3-hacks.git I537c0f5fd6f9e18e111c773c0e42e5f1120ce2f4 Change-Id: Ia457546431e0c3bb3148f4886644ed3fa2513835
2020-01-05add dahdi-source to debian-stretch-build containerHarald Welte1-0/+1
... otherwise modern libosmo-abis builds will fail. Change-Id: Ia1f0f59ba1c6ab0edcd06a7c0f939c00bdd1f738 Closes: OS#4344
2019-12-30ttcn3-pcu: Run tests from PCU_Tests_RAW_NS.ttcnPau Espin Pedrol1-0/+1
NS tests have been splitted recently into their own module. Make sure we call tests from the new module. Depends: osmo-ttcn3-hacks.git If680d1bd7dbfe98829f330c33705e0f13bedf3c7 Change-Id: I3e2ec21c56fbfad5d1af051dcc0d0a9c88d2070a
2019-12-19ttcn3-bts-test/oml: fix osmo-bts.cfg: osmo-bts-trx has no DSP/HW MS Power ↵Vadim Yanitskiy1-1/+0
Control It was noticed that most of the OML related TTCN-3 test cases do not pass anymore, while some of them are green for the release builds. The culprit is I49706926b1e962b18791174627bc3cc0cd0cd9d5, which did not ensure backwards compatibility with older configuration files. Let's remove 'ms-power-control dsp' and use the defaults. Change-Id: I940df510d803d0eaa063dd5145c2f9a4c5d0543f
2019-12-18osmo-remsim-master: Add libosmo-simtrace2-dev to containerHarald Welte1-0/+1
This is a new build requirement. Change-Id: Idd85dcd3802fcf75f65ea36fc5d13030c1b0662b
2019-12-17ttcn3-ggsn: Log osmo-ggsn stdout+stderr to filePau Espin Pedrol1-1/+2
Fixes: c3f157b939784f19f0337ac92ac727063c8d3452 Change-Id: Ia4c4589902bd72918f1d114afa890b049d6e8fd7
2019-12-17pcu-master: Remove non-existent --enable-trx configure option from DockerfilePau Espin Pedrol1-2/+2
configure: WARNING: unrecognized options: --enable-trx Change-Id: I24f10e2b99771cdd5a1e72a1ad5626aff649258f
2019-12-10ttcn3-stp-test: Support testing of 'latest'Harald Welte2-1/+117
Change-Id: I1ea9d3312a2775aee8c298370fc5cd84a4b62477
2019-12-09ttcn3-bts: Fix trxcon docker volume dir created as rootPau Espin Pedrol1-0/+1
If directory is not created beforehand by the user, docker (root) will create the directory before binding it to the container. Related: OS#4313 Fixes: a66f6ebb23716a157ea68d78d6f7b827581dc5ed Change-Id: I3f02faef1aa5846c48a3776191c3862bac913d10
2019-12-04ttcn3-cpu: Support VTY prompt used in older versions of osmo-pcuPau Espin Pedrol2-0/+7
Change-Id: I8cec3da889623915ca46b5eb1b51bc81195accf9
2019-12-04ttcn3-bts: Mount trxcon dir so logs can be retrieved outside of dockerPau Espin Pedrol1-0/+1
Change-Id: Icd243b62b8c80cdb2c2f09e1308f00565589c0e7
2019-12-01remsim: Ensure non-overlapping junit-xml filenamesHarald Welte3-0/+3
The default filename pattern of the JUnit log plugins of TTCN-3 is "junit-xml-%u.xml" where %u represents the PID of the process. This is typically a good idea as the PID doesn't wrap that quickly. However, if you're executing a new docker container for every test suite run, then chances are high that two subsequent runs of the test suite container might end up with the same PID and hence the smae filename. This results in the output file being overwritten, which is what's responsible for many missing RemsimServer_Tests results on the jenkins.osmocom.org test results analyzer. Change-Id: I9b6d1b5a943eb4e058ad2bf7cf8acee7b70e68b6 Closes: OS#4205
2019-11-30ttcn3-pcu: Set correct VTY listen addr in PCU_Tests.cfgPau Espin Pedrol1-0/+1
Now that osmo-ttcn3-hacks.git I221675721b65b3ab44179e9657da70ba4004d7de introduced VTY support for PCU_Tests_RAW, we need to use the correct addr here. Change-Id: I6807dafd79e58750ffa953da30eb34671aa25808
2019-11-28for sip-latest tests, use MNCC version 5Neels Hofmeyr2-0/+5
osmo-sip-connector master and the ttcn3 tests have moved to protocol version 6. While the extension is gracefully handled by the ttcn templates to make do with both protocol versions, the actual protocol version number sent to osmo-sip-connector breaks the tests if it doesn't match. So that master can still run v6 yet also pass 'latest', configure v5 when the version is not 'master'. When 'latest' also moves to v6, we of course can revert this again. Related: Iaca9ed6611fc5ca8ca749bbbefc31f54bea5e925 (osmo-sip-connector) Related: I39d55432776926a385e1b85b21bcdea8180a8946 (osmo-ttcn3-hacks) Change-Id: I2174e90bdea32f06cd3e8298696b93027e7906bc
2019-11-20Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log filePau Espin Pedrol30-138/+49
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
2019-11-20respawn.sh: Add logging and limit loop iterationsPau Espin Pedrol4-4/+28
Since we'll now log the script and its children output to a file, let's make sure the loop doesn't run countless times upon failing child process, producing lots of potential undesired output. For instance, if osmo-bts fails to read vty config and exits immediately. Change-Id: Icc8cac889d94d4cce7d6365781d5b5364404b5b9
2019-11-19Update osmo-*/Dockerfile to log stdout+stderr of process to log filePau Espin Pedrol29-133/+34
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I9493ff73ef27c7c6d32b00cf827704b3f9cbf86a
2019-11-14Drop default vty cmd 'ms-power-control dsp'Pau Espin Pedrol3-3/+0
That's the default value for all BTS, so no need to have it there. Furthermore, forthcoming osmo-bts patches will drop osmo-bts-trx support for DSP/HW based MS Power control, which means BTS will reject this setting. Let's drop it now and let osmo-bts binary to select the preferred one. Related: OS#1851 Change-Id: I0f69880a5028002a53736653735c11ae3cd53f07
2019-11-13ttcn3-stp-tests: laforge/stp has been merged master; use masterHarald Welte1-3/+0
Change-Id: I0ec887f40d00f7c24b67a4525b363abb869ad18b
2019-11-12ttcn3-stp/Makefile: Drop defaulting to branch laforge/stpPau Espin Pedrol1-1/+0
Once osmo-ttcn3-hacks.git branch laforge/stp has been merged (where STP_Tests devel was done), we can use master like we do for other suites. Change-Id: I844ecf8a636ead55b7b406cb97424a4a35a6b674
2019-11-07ttcn3-stp: Update osmo-stp.cfg to match new TTCN3 tests expectanciesPau Espin Pedrol1-1/+66
Change-Id: If3b3b7f1c05bcd2b0ea2b1ef6f432eb5f0013026
2019-11-06ttcn3-stp/Makefile: Set branch to laforge/stp only if envvar not setPau Espin Pedrol1-1/+1
Change-Id: I1f4061f2b1d62e6a42af4629ce462269cfaf317f
2019-11-05ttcn3-stp: AS missing asp reference in osmo-stp.cfgPau Espin Pedrol1-0/+1
Change-Id: I3cac64217acf60720388f24713268a22e342e993
2019-11-05ttcn3-stp: Log osmo-stp output to file and gsmtapPau Espin Pedrol1-0/+10
Similar to what we do with other suites. Change-Id: Ib12bc92c86e4a2ba15e1eec56f2ac0905281b21d
2019-11-05make: Fix OSMO_BB_BRANCH not being passed correctlyPau Espin Pedrol1-0/+2
Change-Id: Ia289f8e71e8bb6c59b1caa7a23981a1f08a2f49e
2019-10-31ttcn3-bts-test: remove obsolete vty configPhilipp Maier1-3/+0
The configuration file for osmo-bsc contains obsolete config statements, which cause osmo-bsc to crash. Lets remove those config statements. Change-Id: Ic91e2ee1e9132886cd02535bc84a568d4c25dbb4
2019-10-30osmo-bsc-latest: remove obsolete logging categoriesPhilipp Maier1-2/+0
The logging categories cc and mgcp are obsolete for osmo-bsc and will cause recent versions of osmo-bsc to crash. Lets remove this logging categories from the config file now. Change-Id: Idd85318abe3fc982909c11115c886835a3d8cd37
2019-10-30repo-install-test: disable osmo-ggsn serviceOliver Smith1-1/+1
OsmoGGSN is not able to use the tun4 device from the default config in docker. Since the more strict config checking in [1], it does not just report a warning, but fails to start: <0002> ggsn.c:189 APN(internet): Opening TUN device tun4 <0001> tun.c:184 errno=2/No such file or directory open() failed <0002> ggsn.c:191 APN(internet): Failed to configure tun device Error occurred during reading the below line: no shutdown Failed to open config file: '/etc/osmocom/osmo-ggsn.cfg' Fix the repo install test jenkins job by not checking osmo-ggsn anymore. In theory, we could probably create the tun device on the host, and mount it inside the docker container. But that would require some additional logic to clean it up properly, and it does not seem worth the effort right now. [1] libosmocore Ic9c1b566ec4a459f03e6319cf369691903cf9d00 Change-Id: I15c7a2f38a21cd96c9852ad26f4b4a81798e6593
2019-10-30stp: don't only execute STP_Tests.control, but also M3UA and IPAHarald Welte1-0/+2
Change-Id: Icc7d168dc90d3551d27c1be27c50d66dd84f0a50 Related: OS4220