aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-25jobs: add gerrit verification for pysimAlexander Couzens1-0/+3
pysim will be tested on the simtester which has real hardware. Change-Id: I180cc4a83a41f3ef2e4b1e316ea0371cc83be654
2018-07-25jobs: osmo-gsm-tester-builder: Fix typo in job parameter namePau Espin Pedrol1-1/+1
osmo-mgw is duplicated and osmo-bsc is not there. Change-Id: Ib0ab7f8796b8b78d5f21b7a4f541fd3ddffc95a4
2018-07-19ansible: add playbook setup-simtestAlexander Couzens2-0/+35
Change-Id: Iab74a2b3fc3148bce815b2dadd1fd683c4b64c44
2018-07-19ansible: osmocom-jenkins-slave: add var install_jenkins_utilitiesAlexander Couzens3-0/+5
To select if some utilities including qemu/debootstrap/fakeroot will be installed. Usefull for small setups e.g. simtester Change-Id: I72f4460b8550da191e74a44be0ee3eeb3b2d7769
2018-07-19ansible: osmocom-jenkins-slave: debian.yml: don't install recommendsAlexander Couzens1-0/+3
Pulls a lot of packages Change-Id: I894455ea779ece84c403f768a1260a1cf2528389
2018-07-19ansible: osmocom-jenkins-slave: move installing build + runtime deps into ↵Alexander Couzens4-85/+93
own file For small nodes (e.g. simtester) the full blown packages are not required nor supported. In this case only the jenkins user and the ssh keys will be setted up. Change-Id: I469a8012b124516bfd9c4d4dd3a3fe0e1ff80bb6
2018-07-19ansible: osmocom-jenkins-slave: add variables to the README.mdAlexander Couzens1-0/+5
Change-Id: I878ed30ee2f44d98635511011c17f0f0e986bcc9
2018-07-19scripts/verify_log_statements.py: on parse error, print fileNeels Hofmeyr1-53/+56
If string eval encounters an uncovered parse error, it's useful to know which file it happened in. Change-Id: I5fe9a3bbdbfb8a995f24596bf09e70ca5bb3fe8a
2018-07-19scripts/verify_log_statements.py: strip OSMO_STRINGIFY()Neels Hofmeyr1-0/+2
Change-Id: I439ee65cd65cf42e1005ca71aa7d4b680b18c0e5
2018-07-19scripts/verify_log_statements.py: figure out line numbersNeels Hofmeyr1-13/+61
Change-Id: Ib75c8f5a99ed556d85896b7f8c65fb9446a2fbce
2018-07-19scripts/verify_log_statements.py: fix regexNeels Hofmeyr1-2/+2
Would miss those where the fmt string starts on a new line. Change-Id: If61a36a014a799b94030e5e08a50dfef4207a8a2
2018-07-16add scripts/verify_log_statements.pyNeels Hofmeyr1-0/+87
This came up in https://gerrit.osmocom.org/#/c/osmo-bsc/+/9671/6//COMMIT_MSG@36 The errors it finds in the current code base are numerous, and many are intended LOGP .. LOGPC calls. It doesn't make sense to enforce this, but so far this can be used manually. Change-Id: Id79389f090a2fded7ff01dc7e3fe9774e7f22ca0
2018-07-10jobs: master-builds: simtrace2: pass '--publish'Neels Hofmeyr1-1/+6
Kevin would like to upload simtrace firmware to ftp.osmocom.org from master builds. To facilitate, add '--publish' arg, like in master-osmo-gsm-manuals (to distinguish and not upload from gerrit verification jobs). Change-Id: I93435aa6f39e9a072754011ae7696b10315f6092
2018-07-05jobs: gerrit: use debian-9Neels Hofmeyr1-4/+2
This is the same as done for the master builds in I6f025c642d5ae57cdda9d7b34bbaeb82ca119354, seems I forgot to follow up with this one. Change-Id: I9204ca2f083c8a6a04c6c0fc7d51752a4f1a4830
2018-07-05verify_value_string_arrays_are_terminated.py: allow dir args and no argsNeels Hofmeyr1-2/+18
So far we call with a $(find . -name "*.[hc]") argument list, which might become too long at some point. Rather include dir walking in the script itself and allow passing dir arguments as well. This is backwards compatible, calling with above file args still works. Change-Id: I36456383906b6295c798b82aa131dda21f8efc02
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte3-0/+5
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
2018-07-03Restrict where the parent build runs for osmo-gsm-manualsDaniel Willmann1-0/+3
This seems to resolve the issue where the jenkins job fails due to missing ssh credentials. Other jobs can also use this by setting the node property Change-Id: I23cf2c98f02278a5deb9c4ae8d13438b76538287 Ticket: OS#3338
2018-07-02ansible: gsm-tester: Add IP addr for osmo-bts-octphy to bind toPau Espin Pedrol1-0/+4
Change-Id: I708960790e330a24c653f162b767d3b3ca4d145d
2018-07-02ansible: gsm-tester: Assign IP addr in different range to nanobtsPau Espin Pedrol2-3/+3
We currently use range around 10.42.42.1-10 for local dynamically assigned IP addresses (osmo-msc, osmo-bsc, etc.). The range 10.42.42.50-60 for local statically assigned IP addresses (to run osmo-bts-trx sysmocell-5k for instance, where the other end is cofigured with a static dst addr). For remote addresses, we use IPs in the range 10.42.42.110-120. Let's create a new range in 10.42.42.120-130 for remote addressess assigned by udhcpd server. nanobts assigned assdresses are moved to the latest group to differentiate them easily and show that they are not IP addr used locally. Change-Id: I9eadb0329a670ce6c2254520d9c86bfbdc898b3a
2018-06-29Add simtrace2 gerrit + master jobsHarald Welte2-0/+2
Change-Id: Ib4da0011337d5a591944821411479f1c6bcc64ee
2018-06-26obs-nightly: build debian pkgs from osmo-python-testsPau Espin Pedrol1-0/+2
Change-Id: Id8b4b4d7a1e4328565b06faff2eaccea7efa74e2
2018-06-25obs-nightly: Upgrade to newer required limesuitePau Espin Pedrol1-2/+2
osmo-trx-lms requires limesuite newer than 17.02, as there were a lot of features and bug fixes which osmo-trx relies on. Furthermore, osmo-trx-lms cannot build with that version since it doesn't provide yet a pkgconfig file. We cannot use latest tagged release (18.06) since that version has some build related bugs which have been fixed later on (c1496679cadff2913cacdaa84afe93bbee76d8e4), hence why we are using latest available master instead. Change-Id: If47a3767c7fefbb75923cbfc8eeb921e29393285
2018-06-25obs-nightly: list limesuite before osmo-trxPau Espin Pedrol1-2/+2
Let's move limesuite first since it doesn't depend itself on any osmocom related package, and osmo-trx depends on it. Change-Id: I0cdc85a2d0212432bf0c2586230660d363212dcc
2018-06-16verify_value_string_arrays_are_terminated.py: allow terminating with '{}'Neels Hofmeyr1-1/+1
Writing '{ 0, NULL }' is actually identical to just '{}', and that's what I use these days in all sorts of other contexts. So allow this notation as well in the C code grepper. Change-Id: I0822d2d997dccbfb31316953a7b6024c317d92cf
2018-06-13ansible: Add various additional packages to osmocom-workstationHarald Welte1-1/+16
Change-Id: I9d22cd6e4d3a3c8c685362bb62cd2a6ef467c461
2018-06-13osmocom-workstatin: change default user to osmocomHarald Welte2-2/+1
Change-Id: I35da5f2276730c7f81d5a1c2e6878ea3e23bca3b
2018-06-13ansible: osmocom-workstation: Add user to 'docker' groupHarald Welte1-0/+1
Change-Id: I43169dfb39525ffe16a3ed1cbf5360b47f9f8a00
2018-06-13ansible: osmocom-workstation: clone ttcn-3 depsHarald Welte1-0/+4
Change-Id: Ib0169c858c3c0610e49d01f1dafee5c725ddc7df
2018-06-13ansible: Use SDK/toolchain for 2.3.4, not 2.3.2Harald Welte1-2/+2
Change-Id: Ia39284acce65c5779b71154662f3f55349a86960
2018-06-12ansible: gsm-tester: change production gsm_modems to 3Alexander Couzens3-2/+6
In the production setup, there are only 3 valid modems. Moving the variable into the host_vars so they can have different amount of modem between rnd & prod. Change-Id: Ic51a14a339bb9be50504a27a724f6f428ee7304f
2018-06-12anisble: gsm-tester: uhubctl: add "-n 1d50:4002"Alexander Couzens1-2/+2
uhubctl -p 123456 -a 1 is rejecting because uhubctl detects two hubs. Selecting only one hub. Fixes the error message: Error: changing port state for multiple hubs at once is not supported. Use -l to limit operation to one hub! Change-Id: I2e3c248e4eaef39f18ff38d1055db6d552fc4d20
2018-06-12ansible: fix deprecation of "include:"Alexander Couzens1-3/+3
"include:" has been deprecated in favour of "include_tasks:". Change-Id: I6e1bb11e9392f7da9ed554c37f9625daa0950308
2018-06-12ansible: fix deprecation of filter "| changed"Alexander Couzens3-3/+3
"| changed" filter will be removed in ansible 2.9 Change-Id: Idf11d54d60b78733ed212f04940cee15b3a55400
2018-06-10add "osmocom-workstation" roleHarald Welte4-0/+181
this role can be used to provision developer workstations, which includes a git clone of all osmocom git repositories as well as development tools like valgrind, gdb, ccache, wireshark, ... Change-Id: I1a943079470db97f41c9c38318feb0716daa7cd5
2018-06-10gerrit/gerrit: Add osmo-sysmon build verificationHarald Welte2-0/+2
Change-Id: I41411123836d2713f833f78c5920cbbee695ed14
2018-06-07ansible: gsm-tester: fix apt_repository tasksAlexander Couzens1-2/+2
Mistyped filename and apt_repostory Change-Id: Icc97d9d2355f8922853d6b21cb8a95f532347031
2018-06-07ansible: gsm-tester-bts: remove role prefix in namesAlexander Couzens1-9/+9
The role is prefixed anyway by newer ansible's. No need to manual add it Change-Id: I4ef16b2e9ab594dd0f76baf43979e73b51282c14
2018-06-07ansible: setup-gsm-tester.yml: use role gsm-tester-btsAlexander Couzens1-0/+5
Change-Id: I7cf033605ad1da6c3ea887b5ba72507bcd6991c7
2018-06-07ansible: gsm-tester: add udev rule to allow jenkins to access sispm devicesAlexander Couzens3-0/+16
Change-Id: Idd0426a8130046e7aacc02421440eb403bd88888
2018-06-07ansible: gsm-tester-network: start all network interfaces after adding new onesAlexander Couzens1-0/+5
Change-Id: I197dadb68cffeba4c451d2fbfe40075039a67cb8
2018-06-07ansible: gsm-tester: add missing python dependenciesAlexander Couzens1-0/+2
Change-Id: I0871df95a968f8f9e9318882c5397a16cba1814a
2018-06-07ansible: gsm-tester: only check once the apt freshnessAlexander Couzens1-10/+6
Change-Id: I40462fed216b1c0844a41172001dd2aaf8a8d04c
2018-06-07ansible: udhcpd: add systemd service fileAlexander Couzens2-0/+30
The udhcpd /etc/init.d/ script is racy and fails often. Change-Id: Ie373119a902a001f093599e289cadb8b2d290668 Fixes: OS#3311
2018-06-05ansible: osmocom-jenkins-slave: install autoconf-archiveAlexander Couzens1-0/+1
Required at least by osmo-sysmon. Change-Id: I5c6536bfb68ffdda7ec7bf71f5d0efeb1cb77e61
2018-06-05README.md: mark the version boldAlexander Couzens1-1/+1
Some parts will fail if used with earlier version. Change-Id: Iab002a51afc2cc60875696eff0cd538ff9a49eca
2018-06-04Revert "osmocom-latest-packages: Also accept "v" in front of version tags"Harald Welte1-1/+1
This reverts commit 5b2bb86e8ada837732f06bb4a77779cdbca73496. While it was intended to enable automatic "latest" builds from rtl-sdr, it breaks builds e.g. of libosmo-abis, where we have both (new) tags without 'v' and old tags with 'v', and now the older 'v' tags win due to lexicographical sorting :( Change-Id: I1c8d2ab18e389a8c2c41082d997f101d72c3acc0
2018-06-03osmocom-latest-packages: diable rtl-sdr and osmo-fl2k againHarald Welte1-2/+3
we cannot yet build "latest" for them, as they don't have any tagged versions yet which include the /debian directory. Change-Id: Ia5708508d918fd71eb05393e39b93859b943d623
2018-06-03osmocom-latest-packages: Also accept "v" in front of version tagsHarald Welte1-1/+1
Some projects (notably rtl-sdr) use "v" in front of their version tags in the git history. Let's make sure we also recognize those. Change-Id: I20f9896cc7844a6ddec7ba63bc9a77f548082e2a
2018-06-03osmocom latest+nightly packages: Add osmo-fl2kHarald Welte2-0/+3
Now that osmo-fl2k has debian packaging information included, we can easily build it as part of the "latest" and "nightly" feeds. Change-Id: Ie2429df14ad51aadb55b4a7d8f6cfcb45c5c6e70
2018-06-03osmocom latest+nightly packages: Add rtl-sdrHarald Welte2-0/+3
Now that rtl-sdr has debian packaging information included, we can easily build it as part of the "latest" and "nightly" feeds. Change-Id: Idc6afb523e71ed977401d707895844bad6247f8b