aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-29WIP: Add bscnat ttcn3 docker imagedaniel/wipDaniel Willmann6-0/+184
The config file still needs adaptation Change-Id: Ibeebb0325d3d1976225666eb28db0741df2e66f0
2018-10-29regen-docs: Also extract SIP connector VTY referenceDaniel Willmann1-0/+6
Change-Id: I3929e354e6c42064e85632be19fcfd28b8d4609c
2018-10-29regen_docs: Add a script that extracts counter and vty infoDaniel Willmann8-0/+646
Start our osmo-* docker containers and extract the counter and vty documentation. Run it like this: OSMO_INTERACT_VTY=/usr/local/bin/osmo_interact_vty.py ./regen_docs.sh It will create bsc_ctr.adoc and bsc_vty_reference.xml for osmo-bsc and so on for the other programs. Change-Id: I4e57a64caccfbc982199f8f25bbb14c2d96e11a6
2018-10-26Remove top-level Makefile, explain why in READMEOliver Smith2-84/+69
Obsoleted by docker_images_require(). The top-level Makefile had the following drawbacks: * it was not maintained: many targets were missing, and some of the existing ones did not build anymore * make targets have the same names as the folders, so if they are not listed in the Makefile, it will assume that the target has been built already (prone to making mistakes) Extend README.md to describe how to run tests, container caching, how container dependencies are resolved now and the reasoning for doing it that way instead of using a top-level Makefile. Related: OS#3268 Change-Id: Id18a9a7a70f85127e6f6c9447d71764018bdb4ff
2018-10-26rename m3ua-test, sua-test to nplab-*-testOliver Smith16-4/+4
Allows writing a generic Jenkins Job Builder config by renaming the container folders to match the job names. This needs changes in the Jenkins jobs, as done in Ie433925ee81a61c5788b4a6f2bc5b89c2689d251. Related: OS#3268 Change-Id: Iedf9a8cd9af1da674e018a08a977490520e602de
2018-10-26symlinks: ttcn3-bsc-test-sccpliteOliver Smith2-0/+2
Create the ttcn3-bsc-test-sccplite folder, with symlinks to ttcn3-bsc-test/jenkins-sccplite.sh and ttcn3-bsc-test/sccplite. This allows writing the jenkins job builder config files in a generic way. Related: OS#3268 Change-Id: I1d1d277475090cd615a0e2d07a42b2032cdefb9c
2018-10-26jenkins.sh: IMAGE_SUFFIX, docker_images_require()Oliver Smith11-18/+97
Default value "master" of the IMAGE_SUFFIX environment variable can be changed to "latest" to test the latest stable builds instead of the nightly ones. Use docker_images_require() to make sure that the required images are existing and up-to-date before running the tests. Related: OS#3268 Change-Id: Idbb708ab16cb71bab5069127945b63388222369e
2018-10-26jenkins-common.sh: add docker_images_require()Oliver Smith1-0/+19
This new function can be used on top of each *-test/jenkins.sh to automatically build the required Docker images before starting a testsuite. The top-level Makefile should also be able to build all Docker images on which a job depends. But in that Makefile the list of dependencies can not be specified dynamically, as it will be necessary for OS#3268: ttcn3-mgw-test may depend on osmo-mgw-latest or on osmo-mgw-master. This will be used by Idbb708ab16cb71bab5069127945b63388222369e. Related: OS#3268 Change-Id: I0afdf3400282634fca9b31d57eaeedd6b5c28aa1
2018-10-25ttcn3-bts-test: Log fake_trx output to filePau Espin Pedrol1-1/+4
Change-Id: I82a80b045e6f298e5254f42f51dbf8c84013f45c
2018-10-23repo-install-test: version test for all programsOliver Smith1-7/+6
We did not test all programs before, because they did not have --version implemented. Now they do. Related: OS#3555 Change-Id: I796f1e34d2c026b11dff89511b667fa457856088
2018-10-22osmo-*-latest: s/nightly/latest/g in DockerfileOliver Smith4-7/+7
Follow up to I6a564206dd81743deb1eb27eca7081bc333d7434 where the "*-latest" Dockerfiles were introduced. msc, sgsn, sip, stp had references to "nightly" instead of "latest" in their Dockerfiles. Related: OS#3268 Change-Id: I1eab031038927043faf6ed8ed30bdf4d4d1624d5
2018-10-20gr-gsm-master/Dockerfile: fix: disable GRCC compilationPiotr Krysik1-0/+1
Change-Id: I80b079a700caf2b87d627606ae3978a7f9d864a7
2018-10-07add "public-inbox" Dockerfile + MakefielHarald Welte2-0/+23
this is just for playing around with it. It might be a good alternative mailing list archive + access technology in parallel to pipermail (or soon hyperkitty). Change-Id: I5882d7637fe8d0ea15040d75709e95b170789c09
2018-10-07redmine: Fix openidHarald Welte2-0/+24
For some reason, redmine:3.4 ships with ancient (2014) ruby-openid, which is no longer compatible with the way how ruby handles HMAC. Change-Id: I60f6f1ede059accf6b29891abcfe3b2529744e8a
2018-09-28ttcn3-sgsn-test: save the log file to appear in the artifacts.Alexander Couzens1-0/+38
The sgsn does not save anywhere it's logfile. Change-Id: Ie06d0ad6f980e5800f65a128cd33d6937c47afa9
2018-09-27osmo-bsc.cfg: inter-bsc HO: add a neighbor identityNeels Hofmeyr2-0/+4
This mirrors osmo-ttcn3-hacks change: "bsc: inter-BSC HO: add TC_ho_out_of_this_bsc, TC_ho_into_this_bsc" change-id Id22852d4be7f127d827e7a8beeec55db27c07f03 (As well as removal of the 'add' keyword in change-id I6a83a8d4ba61b87905c6fae457d4b4eb6078dce9 after osmo-bsc change I143f21f6069d1a86096cc8240cf69eb7ea9c8ac8.) Related: OS#2283 Change-Id: I077c2ad2ede900ec43f55655bd740651d3bbe83d
2018-09-26root Makefile: add rules for ttcn3-hlr-testNeels Hofmeyr1-0/+8
Change-Id: Idfd59c3faabeaa1af00df988513d5574c680a3bb
2018-09-26ensure well-formed config filesHarald Welte27-908/+908
Change-Id: Id687e63c418e2e955ccbb92f2420a80fc0704ea4
2018-09-26debian-stretch-titan: Ensure rebuild on changes in repostoryHarald Welte1-0/+1
Let's use the well-known hack of adding the "Release" file of the repository to ensure docker will invalidate the cache if the repository has changed since the last build. Change-Id: I54565a4d52221be7e6ded5a339bbf005b58f5998
2018-09-26debian-*-build: Ensure rebuild on changes in upstreamHarald Welte2-0/+2
Let's use the well-known hack of adding the "Release" file of the respective debian distribution/version to ensure docker will invalidate the cache if the repository has changed since the last build. Change-Id: If6f75db11ef424e46c4915b761f9eca69258a9c5
2018-09-21debian-repo-install-test: UNKNOWN in --version?Oliver Smith1-13/+36
With this patch, the debian-repo-install-test script checks if the Osmocom programs as installed from the Debian repository have "UNKNOWN" in their --version output. Relates: OS#3555 Change-Id: I46f18dc86d3e257c772a6db8539027aad26e24a8
2018-09-19debian-repo-install-test: new binary package testOliver Smith4-0/+148
Installs most packages from the Osmocom Debian repository into a plain debian:stretch container and call the osmo-* binaries with --version (or -h). The list of packages is automatically generated with aptitude, so the job does not need to be changed for every new package. There's also a new blacklist.txt file with a list of packages, that will not be installed in this test. Currently, this is filled with all packages built from the legacy openbsc.git project (some of them are conflicting with newer repositories) and the soapysdr packages (see OS#3541). The feed ("latest", "nightly") can be specified with the FEED environment variable, it gets read by jenkins.sh (defaults to nightly). Change-Id: I0f0a8b4f0ccd706cd1af98fe25accd6fd410e007 Relates: OS#3176
2018-09-06gr-gsm-master/Dockerfile: use 'master' branch for gr-gsmVadim Yanitskiy1-1/+1
All required changes from 'fixeria/trx' have been merged. Change-Id: I6e228ca15577b8f2734a23ca57c436a3f7fb26fa
2018-09-06gr-gsm-master/Dockerfile: fix full system upgradeVadim Yanitskiy1-1/+1
Thanks to Piotr, it was discovered that the image building process fails during full system upgrade: RUN pacman -Syu with the following output: looking for conflicting packages... Packages (2) ca-certificates-mozilla-* p11-kit-* ... :: Proceed with installation? [Y/n] The command '/bin/sh -c pacman -Syu' returned a non-zero code: 1 Looks like the '--noconfirm' flag was missing. Change-Id: Icb3ccb9a9531686efcebb3e277421c4c05387b09
2018-09-06Fix "'laforge/debian-jessie-build' not found"Oliver Smith26-26/+52
Instead of hardcoding laforge's username in all FROM statements in the Dockerfiles, make use of the USER variable (as passed through by the "make/Makefile" with "docker build --build-arg USER=..."). Thanks to fixeria for proposing this fix! This requires running docker-ce, old versions of docker (such as the one in the official repositories of the latest Fedora) don't support variables in the FROM line. But docker-ce can be installed after adding docker's 3rd party repositories. Closes: OS#3457 Change-Id: Ic5f11c8a4e247f632cb6aea6d147e94c53e0130f
2018-09-04sctp-test: fix build and pin to specific commitsOliver Smith3-49/+23
Changes: * install ca-certificates, so "git clone" doesn't fail * checkout specific commits (the most recent ones right now), so we will get the same code every time we build the container and the patches won't fail to apply in the future * rebase patch "disable the use of scheduler priorities and mlockall" on top of master (I couldn't find the commit it was supposed to be based on) * delete obsolete patch that fixed compilation Change-Id: I7cd647684b983384f419b5cfbea0f8dfc7fee70e
2018-08-28ttcn3-sgsn-tests: synchronize module parameters with ttcn3Alexander Couzens1-2/+12
The module parameters changes in ttcn3 I3448fe837eaa8efab65dccc32bacaaacd73a2f09 Change-Id: I64408b2095fb2aea24c0306673aa40279ea9f75f
2018-08-27BSC_sccplite: Different network names for BSC AoIP/sccplite testsDaniel Willmann1-0/+3
Change-Id: I9124340817888c02574735ab1b1c6c2df3e93212
2018-08-24use non-overlapping IP networks for bsc-sccplite and SIP testsHarald Welte3-11/+11
The osmo-sip-connector test is already using 172.18.11.x, let's migrate sccplite to 172.18.12.x to prevent any conflicts when running both tests on the same build slave (docker instance). Change-Id: I96beed1f5e01bdb8e77e20f77a459aa006de10fe
2018-08-18cgit: Fix group membership to allow read of git reposHarald Welte1-0/+3
Change-Id: I14372fbf63429a2dc7c78c60c7a1eda10791bd0c
2018-08-17Remove libosmo-legacy-mgcp-dev from all DockerfilePau Espin Pedrol3-3/+0
Only openbsc.git related programs require it. Change-Id: Ic641e71e45c5fbd174505116fa45a74e27dad81a
2018-08-13SGSN_Tests: fix module parametersAlexander Couzens1-2/+4
ttcn commit I9128f9ad5c372779c38799269393137ba52576cd moves the modules parameters from NS_Emulation to SGSN_Tests. Change-Id: I8d46c37b9c932582fe94e670d9347209bb599192
2018-08-09gr-gsm-master/Makefile: enable host USB accessVadim Yanitskiy1-0/+4
Privileged USB access is required for direct communication between the image's UHD driver and a host's USRP device. Change-Id: I8170d2c31b4e28f6a406c50b10b7626f70f36d28
2018-08-09Introduce Dockerfile for the GR-GSM projectVadim Yanitskiy4-0/+88
This change introduces a new sub-project - 'gr-gsm-master'. It was decided to use Arch Linux as the base image, because it provides the recent version of both UHD and GNU Radio without tons of dependencies, such as Xorg. Note: as there in no libosmocore package in Arch Linux, it will be built from the latest source code. Change-Id: I115b59dc9eaec5d132f3f64c4ee321173459e9ed
2018-08-08hlr: Update config file with USSD related bitsHarald Welte1-0/+4
HLR_Tests.ttcn now wants to test USSD, we have to add the matching config. Change-Id: I45047b505411a5f53a7ce5e2d203c526e27a9732
2018-08-08OsmocomBB: remove unused 'osmo-virtphy-master'Vadim Yanitskiy4-62/+0
There is no need to keep an additional Docker image with the same project, because virt_phy can be compiled as a part of the main image ('osmocom-bb-host-master'). Moreover, virt_phy is not used at the moment, so let's remove this. Change-Id: Ifafb044e8350177e60b479b77c8aad78505eabbc
2018-08-08Rename 'osmocom-bb-trxcon' to 'osmocom-bb-host-master'Vadim Yanitskiy7-8/+8
At the moment, this Docker image does contain not only trxcon, but also FakeTRX, virt_phy, and other host applications, so let's name it properly... Change-Id: Ieba2411230efdedc13afcd62b8b3a2153fbaf0cb
2018-08-08OsmocomBB/Dockerfile: drop unneeded dependenciesVadim Yanitskiy2-8/+1
Change-Id: I6804b4f6ee3b81e470d9e1514c34931a271a42bc
2018-08-06osmo-msc-master: Add dependency to libosmo-gsup-client-devHarald Welte1-0/+1
Change-Id: I9e7e64993f1416bbee48d24f3c10e5eee56cede7
2018-07-21git-deamon: Make sure to create the git-daemon userHarald Welte1-0/+2
Recent debian packages moved creation of the git-daemon user from the main "git" package into the "git-daemon-run" package. We want the user without the latter... Change-Id: I42f68ba31d32574a01d1372d8cc5239c420e816f
2018-07-06ttcn3-nitb-sysinfo: Remove input logfiles after merging themPau Espin Pedrol1-1/+1
All other ttcn3 projects do it. Change-Id: Iee0e96d3832d88f2ee5958158b372243441750b3
2018-07-06ttcn3-*: Merge logfiles no matter resolution of testsPau Espin Pedrol9-18/+36
Previous to this commit, log messages were not being merged if tests were resolved as failed (test-suite.sh ending with exit code != 0), which can happen if at least one test failed. Change-Id: If293fc2d3182ef2a7b997faa8b41129a9dd89c45
2018-06-25osmocom-bb-trxcon/Dockerfile: drop unused dependenciesVadim Yanitskiy1-7/+1
Change-Id: Ib2fd0c73e50d24f11d3dd3b19bbde4d3d3e496c2
2018-06-25osmo-bsc-master/Dockerfile: drop wrong configure optionVadim Yanitskiy1-1/+1
Change-Id: I3fecd622df136a18a32a9095ede3e2629e2f7b4e
2018-06-03ttcn3-bsc-test: Fix sccplite configurationHarald Welte2-8/+8
Change-Id: I79ac95df2fe973d016706be407ec21853abd7875
2018-06-03Makefile: Fix default naming of imagesHarald Welte1-1/+1
This got broken in Change-Id If2e3cc7693ce5e7c1c95d2f81e302c72bb4230be Change-Id: I97f9eb3f203301ebc2315ff38216d5b4502eb3d2
2018-06-03remove deprecated "dest" config option from config filesHarald Welte3-3/+0
Change-Id: I1073846c04a8466f2ccf501e27cf152df09042c5
2018-06-03Makefile support for our production infrastructure containersHarald Welte14-0/+45
Change-Id: I901e340d2c5c1e002ecc7efa4570d58ccb7b9229
2018-06-03redmine: add .release fileHarald Welte1-0/+1
Change-Id: I229fab6fa12f68e590f3bae6d5542bc4a5517f0b
2018-06-03Makefile: get rid of entire git tagging logicHarald Welte1-22/+3
Change-Id: Idaa55b636031afd214853ccfcf6c9e3b097050b1