aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-04ansible: gsm-tester: Remove net iface name from hash inputPau Espin Pedrol1-1/+1
Otherwise every time the interface is added (ie when it goes back to default netns), the generate name changes due to DEVPATH containing current name at the end of the path. Change-Id: I87c686caa23a3b39e48e0762d4323a59be7cd4b8
2019-04-03ansible: osmo-gsm-tester: Make modem net ifaces persistentPau Espin Pedrol2-0/+22
Currently ofono doesn't catch network interface renaming (takes the name at ofono startup time). If a modem crashes, its net iface is unregistered and registered again, and it can happen that the new name is not the same as before (for instance, wwan8->wwan0 if wwan0 is located on another netns). These udev rules allow creating persistent unique names to prevent modem crashes resulting on interface name changing. dhcpcd is known to race against udev when managing dev interfaces, bringing them up before udev sometimes, and then udev is unable to rename it. By denying dhcpcd from managing modem ifaces (ww* and r* according to kernel/our rules), we get rid of this issue. Related: OS#3881 Change-Id: Ic3ef75285aa84f9aa606562cd2f6166de186c1a6
2019-04-03jenkins-slave: Use "jessie-backports" only on jessie systemsHarald Welte1-0/+1
Change-Id: Id62c03b9759367bd5bbe20144e9ad7048d12e61b
2019-04-03osmocom-nightly-packages: build osmo-remsimHarald Welte2-0/+6
As of Change-Id Id5044b1835190edc948952d207a5196a18669eb1, osmo-remsim contains Debian packaging information and hence we can build it as part of our nightly feeds. We're not yet enabling 'latest' builds as we need to wait for the next libosmo-abis release for that (requires the IPA keepalive FSM). Change-Id: Ic367dc95f46cece4bd769061af860fd82b4bd2e9
2019-04-02docker/rebuild_osmocom_jenkins_image.sh: set -eOliver Smith1-1/+1
Exit with error if one of the docker commands is failing (i.e. don't exit with 0 when building the jessie image failed, but the stretch image got built properly). Change-Id: I6faaf9303b4facb0965131615bc73541dd309c51
2019-04-02docker/rebuild_osmocom_jenkins_image.sh: pull imagesOliver Smith1-0/+3
Prevent building docker images on top of outdated Debian images, where the package download feeds have been disabled. Related: Change-Id I1076bbb7d77bdc99f5d60d641c09ce965fb9dfc6 (docker-playground.git) Related: OS#3869 Change-Id: Id840094aec51bf51d920aaa017a2f99fcb866f55
2019-04-02Change jessie-backports URL to debian archiveOliver Smith1-2/+2
Fix docker/Dockerfile_osmocom_jenkins.amd64 by fetching jessie-backports from debian archive. The jessie image is still being used by various jenkins jobs generated by master-builds.yml and gerrit-verifications.yml. We want to keep using it for some more time, to make sure that build testing ("make check") passes on debian8/jessie, as some users may very well be using old distros. See also: * https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html * https://unix.stackexchange.com/q/508724 Related: OS#3894 Change-Id: Iba033e64876b7ed9d329c2a636a0ee5eb3af946e
2019-04-02build-old-tags: build libosmo-legacy-mgcpOliver Smith1-10/+44
Build osmo-mgw 1.4.0 (which provides libosmo-legacy-mgcp) and install it into a different temp dir. Allows properly building osmo-bsc 1.2.x, as soon as a new release is tagged, which makes it use LIBOSMOLEGACYMGCP_CFLAGS and therefore pick up the include path properly [1]. osmo-mgw 1.4.0's "make check" doesn't pass right now, so add a check parameter to build_repo() and disable them when building libosmo-legacy-mgcp. The checks will get executed later, when the depends are installed and we are building various tags of Osmocom repos, including osmo-mgw 1.4.0. While at it, slightly refactor build_repo() to put all arguments into descriptive variable names (as it is getting a bit longer now). [1]: Change-Id: Ibd7948f12da710f8ca2b8fde8870f134308eb908 Related: OS#3867 Change-Id: I63d16f8e44c14dee46e2ef3fd050a421017c56b0
2019-03-30Cosmetic: build-old-tags: osmo-msc: note fixed inOliver Smith1-1/+1
Change-Id: If4d84e3c8c2b8d75136f7440a737956d654f2297
2019-03-28Add bscnat tests to jenkinsDaniel Willmann1-0/+4
This requires Change-ID I800ebe0f33cf7c86eea65d2e186c6af12fee6db7 from osmo-ttcn3-hacks. Fixes: OS#3179 Change-Id: Idee5a986e4cda8db601982ac3f2662bc20fe3f5f
2019-03-28ttcn3: Order tests by time triggeredDaniel Willmann1-15/+15
We had some load issues with many things running at once on jenkins. This will at least make it easier from having colliding ttcn3 jobs. I also changed ttcn3-sip-test to run at 7:30 instead of 7:00 where ttcn3-bts-test runs. Change-Id: I65f346a3fae2811c8314c26d4a5b3a528b8101f9
2019-03-28build-old-tags: known error: osmo-bts-1.0.0Oliver Smith1-0/+3
Change-Id: Ifa9953161ad4dbead09675f367baeffe19c788b7
2019-03-27Avoid '/' in jenkins matrix labelsDaniel Willmann1-2/+2
The script already deals with this for osmo-bts by using the version_prefix variable Change-Id: I3102fc607718ca42634273e24e6ff303dc28483f
2019-03-27Also build oc2g support for osmo-pcuDaniel Willmann1-2/+3
Needs gerrit change I7cd89a549c9463e81893ca7dd925299f728e4453 in osmo-pcu Fixes: SYS#4524 Change-Id: Iebddf8d41538fe1e69435cda7f77bd49c4c14477
2019-03-26jobs: add osmocom-build-tags-against-master.ymlOliver Smith1-0/+43
Run osmocom-build-old-tags-against-master.sh every night in jenkins. Related: OS#3765 Change-Id: I9868a6008f61fb3962279f72d34f67f900425be5
2019-03-26Add osmocom-build-old-tags-against-master.shOliver Smith2-0/+234
Build old releases of Osmocom programs and libraries against "master of the day" to detect breakage. Redirect each build's output to its own log file, so it is easy to see what is currently getting build, and what failed. On error, print the end of the new failing build logs, along with a note to find the full logs in the jenkins artifacts. This initial configuration builds the last three release tags of the Osmocom repositories against master. The configuration can be changed easily. Indicate known failures with "err" instead of "ERR" in the output, do not cause them to fail the build and do not print the beginning of the error log (it is still in the artifacts). This way, new errors stand out and don't get overlooked among the known errors. Related: OS#3765 Change-Id: I7cb45cc40c9930840a3d4e6a86f39e1400478ed3
2019-03-26osmo-build-dep.sh: run 'make check' when CHECK=1Oliver Smith1-0/+5
Prepare for osmocom-build-old-tags-against-master.sh. Related: OS#3765 Change-Id: I248b53d7a6fe1b64f2a994c568c0466dc93858de
2019-03-26osmo-build-dep.sh: cd into subdir before buildingOliver Smith2-0/+16
Support building the legacy openbsc source with osmo-build.dep.sh. This will be used by the upcoming osmocom-build-old-tags-against-master.sh script. Related: OS#3765 Change-Id: I852e103e80bf295f692cf13c4cb38e80fbc19eca
2019-03-26osmocom-list-commits.sh: move functions to common.shOliver Smith2-43/+66
Prepare for the upcoming osmocom-build-old-tags-against-master.sh script, which will benefit from querying the last n git tags in advance. Related: OS#3765 Change-Id: I61be4cffb9275cabc1b253f0b298503ad0d3aea4
2019-03-22osmocom-list-commits.sh: fix sorting release tagsOliver Smith1-1/+1
Properly sort "git ls-remote" output, which looks like: 352f32c9cffef2e5df99cd2f03368dc56c99ee23 refs/tags/0.4.0 Use / as field separator and field no 3, instead of assuming that the string gets split automatically after the tab character (which it does not). Use -V (version sort) instead of numeric sort. Change-Id: I334e684ac5109fc289b68af78165862148074ea7
2019-03-22scripts: Enable osmo-sysmon debian package OBS buildPau Espin Pedrol2-0/+6
Change-Id: I638c58be1ddf5e7fcf5a51de532ae8c4c06dcdbb
2019-03-20jobs: add osmocom-list-commits.ymlOliver Smith1-0/+44
Related: OS#3840 Change-Id: I9a65cb750bbe6c278b9f67eb70bdb36759cb775b
2019-03-20Add scripts/osmocom-list-commits.shOliver Smith1-0/+85
Generate a table of Osmocom CNI repositories and their latest tag, related commit, and last commit on master. Related: OS#3840 Change-Id: I91cab0139229e6c1c67e889d33b3d984025bc9da
2019-03-15build_deps: add libulfius-dev and libjansson-dev for osmo-remsimHarald Welte1-0/+10
Change-Id: I8d490babb4f1f47e94d15c74a8fba439522e1e18
2019-03-14ttcn3-testsuites: Split ttcn3-pcu-test-sns from ttcn3-pcu-testHarald Welte1-0/+4
The SNS variant of the tests require the PCU to be started with different config file. Change-Id: I42785b68f136198152ad79072346faccfe4a9424
2019-03-05python: Add pyflakes for some static analysisHolger Hans Peter Freyther1-0/+1
Be able to run pyflakes as part of the CI process. Change-Id: I59e6673df5b8d915dee1f745169fc5d0426c6aed
2019-03-03jenkins: Send build failures to jenkins-notifications mailing listHarald Welte6-2/+20
Change-Id: I5609a0f4b8f176ffa692db732abb4694acaaf927
2019-02-21jobs: osmo-gsm-tester: Add oc2g jobsPau Espin Pedrol3-1/+13
Change-Id: I5ea9b783a2a2017cb134e72087e217a4184184b2
2019-02-21jobs: Introduce a tester using "virtual" testsHolger Hans Peter Freyther1-0/+57
With mobile, virtphy, osmo-bts-virtual we can run e2e tests without the need of any hardware. Create a dedicated job for it. This avoids having to share resources (e.g. lock state/ip allocations) with other builds. Change-Id: I19993b287cc948dbdfba9d375f80a7904f96ff4a
2019-02-20ttcn3-testsuites: Add PCU testsHarald Welte1-0/+4
Change-Id: Ifd8113c8db2b6e84d6e01539a6df031dc6f4ee80 Closes: OS#2890
2019-02-20docker: Add lua-socket for the OsmocomBB<->GSM Tester communicationHolger Hans Peter Freyther1-1/+1
Change-Id: I9156c63c64dd32a91136240913baa7e4a5cdc893
2019-02-19docker: Use the same Dockerfile for jessie and stretchHolger Hans Peter Freyther2-5/+26
The binaries built on the Jenkins to be used by the osmo-gsm-tester require libgnutls.so.30. This is provided by the libgnutls30 package which is not available on jessie (Debian 8) and a backport requires some effort. Re-use the existing Dockerfile for jessie and stretch (Debian 9) using an argument. Refactor the shell script to pass the right argument. Add the debian version into the tag name to make space for buster (Debian 10). Change-Id: I44c8e49a548cb64defd2eba868ec4bd435de90ba
2019-02-19docker: Remove unused files to remove the clutterHolger Hans Peter Freyther3-102/+0
We have been updating some of these files besides no container being built or used from them. Let's clean this up by removing them. Change-Id: I7c5b559975e5f9a50368a5bb5bd961bdb9f85270
2019-02-18docker: Set language environment to UTF-8 (and en_US)Holger Hans Peter Freyther1-0/+8
The osmo-gsm-tester requires a UTF-8 locale to generate the log messages. Most of our users will have a UTF-8 and it seems okay to change the default from C to en_US.UTF-8. Change-Id: I79082a57fd5c9122dbd66997dd48e3ed3e89acb9
2019-02-18docker: Add missing gsm-tester dependencyHolger Hans Peter Freyther1-1/+2
Add one more dependency and its dependency for the osmo-gsm-tester (a separate patch is coming to update the docs). Change-Id: Icd6a93a8a91c5443b310fdd2123183a8059d31d1
2019-02-18docker: Add dependencies needed for the gsm tester as wellHolger Hans Peter Freyther1-0/+5
This way we can execute the tester with a virtual environment. Change-Id: I1e6432d77442f590453a328023c9f09cd52787a8
2019-02-15Fix copy and paste in the script.Holger Hans Peter Freyther1-1/+1
Change-Id: I51d01a8799f09ce7d813a0ef8353a4233d5c8bb5
2019-02-05jobs/osmo-bts: Build osmo-bts-oc2g as wellDaniel Willmann1-3/+4
Build osmo-bts with support for oc2g as well. Uses origin/nrw/oc2g as firmware. Fixes: OS#3745 Change-Id: Iaaeb44b949cf6403601f069800c381fe5eae2f6e
2019-02-04gerrit-verifications: Add osmo-ccid-firmwareHarald Welte1-0/+1
The repository currently doesn't yet have a contrib/jenkins.sh script, so all verifications will fail. This is intentional, as it will force the addition of a related script in the first merged commit. Change-Id: I713d345240dec319ee07d99e9381fc1af6a2d86d
2019-01-31osmocom-jenkins-slave: Deploy osmo-ci and build docker imagesHarald Welte2-0/+23
This is periodically performed by https://jenkins.osmocom.org/jenkins/job/update-osmo-ci-on-slaves but in order to get to the point of updating it, we must at least have done one initial deployment of the repository before. This is done by the takss in the new osmo-ci.yml Closes: OS#3773 Change-Id: I581b8713cfdb3ca2ef7f0925730974056981e448
2019-01-29ansible/install-poky-sdk: Use "-y" command line argumentHarald Welte1-1/+1
At least with current ansible, this patch is required to avoid the poky SDK installer waiting indefinitely to somebody answering his prompts on stdin. Change-Id: I084a5a152f00bbd484f5616d417fa1486cb79413
2019-01-29Add liboping dependency for osmo-sysmonMax1-0/+2
Related: SYS#2655 Change-Id: I6198cd14ff86c5d8203d57674a17aa388f21c19d
2019-01-28ttcn3: block latest jobs while master is runningOliver Smith1-12/+25
Jenkins job builder does not support string replacing in variables, so the only way to make each ttcn3-foo-test-latest job get blocked by their ttcn3-foo-test counterpart was specifying them each time. Related: OS#3767 Change-Id: I124286d4b996e79a7b77603c7b59473b016c3bd5
2019-01-28ttcn3-bsc-test-sccplite-latest: enable jobOliver Smith1-2/+1
This job does not get stuck anymore since the latest Osmocom release. Change-Id: Ie87aeb52832b4ce0fbec96d2cff9dd04da0c11fc
2019-01-26osmocom-*-packages: clone via https:// not via unencrypted git://Harald Welte2-2/+2
Change-Id: Ibfb52cbac93451ba402edb6b59350620954b0d81
2019-01-26latest-packages: Add libosmo-dspHarald Welte1-0/+2
Now that libosmo-dsp has a 0.4.0 tag that includes debian packaging information, we can add it to the latest feed. Change-Id: Ic082a4ad6b8582dfe44df5bdaafa525e52da7246
2019-01-17nightly packages: Build libosmo-dspHarald Welte1-0/+2
Change-Id: I989c7961336b4dacbc83e97d1c098f93f56ef6ab
2019-01-13add osmo-asf4-dfu master and gerrit jobsHarald Welte2-0/+2
Change-Id: I5bc5ca30809af8d8b472a75a9e02c4964761de38
2019-01-12add maintainer email to simtrace projectKévin Redon1-0/+1
Change-Id: Id0a6740749ea1e3d1c06396485744426b0a74f79
2019-01-11ansible: Install 'sdcc' compiler for libusrp firmware on build slavesHarald Welte1-0/+2
Change-Id: I2fa8fa1a195079a0d8beda6a0aa4fc090ca37970