aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-05-04jenkins-common.sh: support 2021q1 feedosmith/obs-2021q1Oliver Smith2-3/+52
Adjust docker_depends and docker_dir_from_image_name for 2021q1. Extend README.md with examples. Related: SYS#5370 Change-Id: Icf1e3f1928658ff3d82190c4176252cf3590a1f5
2021-05-04osmo-*-latest: use OSMOCOM_REPO_VERSIONOliver Smith18-18/+36
Related: SYS#5370 Change-Id: I237a296ea8a1e08bc31f351c5f42a59fe7438815
2021-05-04centos8-obs-latest: use OSMOCOM_REPO_VERSIONOliver Smith1-7/+8
Related: SYS#5370 Change-Id: I5eb0d9943ac5c3ffe800774f1a91897fdf0ca0c3
2021-05-04make: add OSMOCOM_REPO_TESTSUITE_MIRROROliver Smith3-4/+12
Make it possible to set a different mirror for debian-stretch-titan than for all other containers. 2021q1 doesn't have the eclipse-titan package and it doesn't make sense to build it there. I've thought about adding OSMOCOM_REPO_TESTSUITE_PATH and OSMOCOM_REPO_TESTSUITE_VERSION too, but we don't have any use for these right now. Let's add them later if we should need them. Related: SYS#5370. Change-Id: I7187473c2188a864b60b03789eff62e0a527404a
2021-05-04make: add OSMOCOM_REPO_PATHOliver Smith16-25/+50
Allow to change the path between OSMOCOM_REPO_MIRROR and OSMOCOM_REPO_VERSION. While at it, tweak related comments (comment above the variable as usually, replace "repo" wording with "feed" for the latest/nightly variable as we usually refer to it as feed), and mention OSMOCOM_REPO_* in README.md. In order to be able to use a different mirror for testsuite and systems under test, the testsuite related Dockerfiles (osmocom-bb-host-master, debian-stretch-titan) are not using OSMOCOM_REPO_PATH. We could add a OSMOCOM_REPO_TESTSUITE_PATH on demand, as mentioned in the next commit. Related: SYS#5370 Change-Id: I8010a4d49d4620a5c47c2ff4f909a9aeeaad7b73
2021-05-04centos8: don't download .repo fileOliver Smith7-9/+63
Generate the .repo file on the fly instead of downloading it from the OBS repository. Ensure the gpgkey gets downloaded via HTTPS. I'm about to use centos8-obs-latest with an alternative repository, which does not have the .repo file. Adjust other containers for consistency. Related: SYS#5370 Related: https://download.opensuse.org/repositories/network:/osmocom:/latest/CentOS_8/network:osmocom:latest.repo Related: https://download.opensuse.org/repositories/network:/osmocom:/nightly/CentOS_8/network:osmocom:nightly.repo Change-Id: Ic9ffa79cfe5a74bdc59d5ddd505a9af7be574bf9
2021-05-04centos8-build: use nightly URL to invalidate cacheOliver Smith1-1/+1
Fix copy paste mistake. Change-Id: I1c5cfe782207af2a2e505fa30e77b9ea9fd143c5
2021-05-03arm-none-eabi-gcc-4.8.2: install missing packagesVadim Yanitskiy1-1/+5
These are needed for building osmocom-bb and its libosmocore. Change-Id: I1cee58985225bd1c6600b0025d0417d66f441449
2021-04-29debian10-obs-submit: new containerOliver Smith2-0/+27
Add new container to be used by osmo-ci Icc89e20950c2aaa67b209340d1d797b76fce32d2. Related: SYS#5370 Change-Id: Ibb55ad18d2ccf4313f52fa3e3c10d4420c84dced
2021-04-29make: add UID as --build-argOliver Smith1-0/+2
Allow to give the user running inside docker the same UID as the user outside. Change-Id: I4b3689a626c50c9ac38eca6b5449b8ec0344c3de
2021-04-28osmo-mgw: Use DSCP value in valid range (<= 63)Harald Welte3-3/+3
DSCP is a 6-bit value, it cannot be 184. Change-Id: I72133e6ac5674577595f9d98e3fc68f8d741819c
2021-04-25remove deprecated 'logging level all everything' from configsHarald Welte24-60/+7
it has been deprecated in libosmocore.git 2.5 years ago: commit 7e0686c6b4b456ec4e6e15689694b1bcf96c301f Author: Neels Hofmeyr <neels@hofmeyr.de> Date: Mon Sep 10 20:58:52 2018 +0200 Change-Id: Ia6946fae497319a894d4e664ac8642340620822e
2021-04-25Add ttcn3-pcap-client-testHarald Welte5-0/+91
This runs pcap-client IUT against the TTCN3 ATS for pcap-client Change-Id: Ie94106b1d1f348cd66f4b5304be6021dbaf732e1
2021-04-25Add osmo-pcap-latestHarald Welte3-0/+43
Change-Id: I1da28383117d0f81d7857fa27ba837d77f0079e0
2021-04-25Add osmo-pcap-masterHarald Welte3-0/+66
Change-Id: I8ff63d028310fecbd07328073d0f4bf15489ded4
2021-04-14ttcn3-pcu-sns: add vty parameter to allow ttcn3 to connectAlexander Couzens1-0/+4
Otherwise it will try to connect to 127.0.0.1. Fixes jenkins ttcn3 test TC_sns_1c1u_unconfigured_nsvc. Change-Id: I4b375a60c4f948c282337ca30643d14407f8239e
2021-04-14osmo-gsm-tester: open5gs deps only for x86_64Oliver Smith1-33/+40
mongo-db is only available for x86_64 from their third party repository. Don't attempt to install it for another architecture. As this is part of the open5gs dependencies, don't install any of them either. This should fix the currently failing "update-osmo-ci-on-slaves" jenkins job. I've considered disabling the build of the osmo-gsm-tester container for ARM altogether, but the osmo-gsm-tester manual explicitly mentions ARM trails. Change-Id: Ieed36b1adf4b9ae147c7ee7ade22d4855c3dbac8
2021-04-12gbproxy: Switch to IP-SNS on the BSS sideHarald Welte2-4/+13
When testing gbproxy with an IP BSS, we want to use IP-SNS as that is the more relaistic use case in practice. This un-breaks the dockerized tests since I90bd101096979b170c38fa2a80abb80d296c4d2e was merged in osmo-ttcn3-hacks.git Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59
2021-04-12ogt: Add support to build open5gsPau Espin Pedrol4-20/+106
meson from open5gs requires debian10's version. physicial sysmocom OGT setup already migrated to debian10, do the same here. Related: SYS#4805 Change-Id: Id329726f93251b617219beeb674046065c30a436
2021-04-09gbproxy: Add mp_gbproxy_ip to check BVC FSM stateHarald Welte4-0/+8
In docker-playground.git I272e43b9be8ba53d8a815e8ab099c939f63413a7 we introduce FSM state introspection and we need to add the CTRL hostname here. Change-Id: Idcd77353a661cfc1685ded64b5993ff63637addc
2021-04-07docker_images_require: list installed Osmocom pkgsOliver Smith1-1/+38
Display an overview of installed Osmocom packages at the start of each ttcn3-*/jenkins.sh script (and others making use of docker_images_require). Closes: OS#5091 Change-Id: I62670017d790fd67c6a0d8d464386c0f8e94c1a8
2021-04-07Check in GCC 4.8.2 based cross compiler for ARM EABI targetVadim Yanitskiy5-0/+132
I used this one for building old OsmocomBB branches, which do not compile with modern arm-none-eabi-{gcc,binutils,newlib} toolchain. Change-Id: Ide93843836f059a3750e92a973d0a6d9cf9a5638
2021-03-31Add ttcn3-ns-test-fr containerHarald Welte9-1/+691
... which requires some modifications to osmo-ns-master regarding pipework / docker-entrypoint.sh Change-Id: I418f81eb1fbb2b15335ef64a3aa04d1c98a452c9 Related: SYS#5396
2021-03-30Add ttcn3-ns-test-sns containerHarald Welte5-0/+170
Change-Id: I8fc4f6453f04aa579762da9200900f25e78034c5 Related: OS#5396
2021-03-30Add ttcn3-ns-test containerHarald Welte5-0/+180
Change-Id: I45d211f4edd39e5be8f63185f1b7bd100fb2644b Related: OS#5396
2021-03-30add osmo-ns-master container with osmo-ns-dummy binaryHarald Welte3-0/+106
Change-Id: I8372088722f5a487e0068418d543bd5cc707a5a1 Related: OS#5396
2021-03-22ogt: Update base image to debian busterPau Espin Pedrol1-20/+1
The OGT build setup and the physicial setup use now debian buster. Let's update this container too to buster to avoid different versions of libs during build and runtime (such as libasan). Change-Id: If5adfb3c52ec5ded2adaca984e7a8c05f5866d34
2021-03-19Add debian-buster-jenkins docker setupPau Espin Pedrol2-0/+187
It will be used by osmo-gsm-tester docker image right now, and at some point in the future jenkins nodes will also migrate to it. Change-Id: Ibfdec6007357a90212dea7d39300f04ce8ffdf65
2021-03-18ttcn3-bts-test: OML tests ivolve no GSMTAP Um loggingVadim Yanitskiy1-6/+0
Change-Id: I50891130eaf7957efbf71839564a5dd9d58a1e3f
2021-03-18ttcn3-bts-test: use 'gsmtap-sapi enable-all' parameterVadim Yanitskiy1-8/+3
Keep PDTCH/PTCCH disabled, it will blow up PCAPs otherwise. Change-Id: I551a6da7858342279db3c5e8ebff250a7922a291
2021-03-18ttcn3-bts-test: use 'gsmtap-remote-host' parameterVadim Yanitskiy2-1/+2
Command line argument '-i' has been deprecated. Change-Id: Ib01069a55a27e79c67b76abe39763c1b645075e5 Related: I17676a21c4e0c9cbc88f2c5c53a39c6c6c473ca1
2021-03-16fr: kill the frnet container before trying to 'rm' itHarald Welte1-0/+2
+ docker container rm jenkins-ttcn3-fr-test-109-frnet jenkins-ttcn3-fr-test-109-ttcn3-fr-test jenkins-ttcn3-fr-test-109-ttcn3-fr-test Error response from daemon: You cannot remove a running container 4f5ec7f412b2d37d00b2738b2bcddffada36efebfe7ce32ed196543ee436154e. Stop the container before attempting removal or force remove Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
2021-03-16ogt: Drop old arfcn leftovers from resources.confPau Espin Pedrol1-4/+0
Those arfcn objects were never really used smartly and new versions of OGT don't support it. Change-Id: I0cbcd0f3df92393f03f29c81013e1f4b6b9aa830
2021-03-16ttcn3-docker-prepare.sh: fix handling of multiple PROJECTsVadim Yanitskiy1-2/+2
Change-Id: Ib921d7c5cb2c628f3eca8d5c886375f3288e1dd6
2021-03-16ttcn3-fr-test: store execution logs for both containersVadim Yanitskiy1-2/+7
Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7
2021-03-16ttcn3-fr-test: add missing TTCN3_PCAP_PATH for '-frnet' containerVadim Yanitskiy1-0/+1
Change-Id: Ide1b10f342f1f9d2b3bf432291218ed057f51de8
2021-03-14ttcn3-sgsn-test/osmo-sgsn.cfg: drop deperecated log categoriesVadim Yanitskiy1-2/+0
Change-Id: I7e307eb2c504ff392edda5e6a25cdda5fcdc6442
2021-03-13debian-stretch-build: add missing respawn.shHarald Welte1-0/+3
In I3ec86c8610b3b43d39ea8e3da444861d317ced4e the container-individual respawn.sh has been replaced with a common one - but unfortuantely missing to update the debian-stretch-build, which made (at least) ttcn3-bts-test builds fail for two nights now. Change-Id: I15dcfe317d7ba81b9df0b5ceef142f4eae1ef3f3
2021-03-12ttcn3-pcu: Disable sending all DATA.ind on pcu -latestPau Espin Pedrol2-0/+6
Change-Id: I4365d54c64e750a708e04e36ea131ec7499560f1 Depends: osmo-ttcn3-hacks.git Change-Id Ib4f97a9bcfa68230945effeb6412218faa64ec78 Related: OS#5020
2021-03-10Share a single instance of Release.key between all imagesVadim Yanitskiy31-334/+14
This change employs the same approach as [1] for Release.key. Change-Id: Ic51d6e6557ee0b56d21d8ff4feaf04bc02e41a2e Related: [1] I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-10Make respawn.sh a common part of *-build/-obs imagesVadim Yanitskiy16-53/+22
Maintaining several versions of the same file in different folders is a bad idea, because at some point their content gets out of sync. This is exactly what happened to 'respawn.sh': sleep()ing was only implemented in 'osmo-bts-master/respawn.sh', other versions of this file would simply ignore '$SLEEP_BEFORE_RESPAWN'. The easiest solution would be to have all common files in a single directory, however Docker does not allow to ADD files from outside of the build context. In other words, all files must be in the same directory as the Dockerfile itself. Modify 'make/Makefile' in order to copy the contents of common directory to the current build context ('pre-build' target) and remove it after building ('post-build' target). Change-Id: I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-10make/Makefile: use git to get the project's root directoryVadim Yanitskiy1-1/+2
Change-Id: I87a425515692e62df7b593a3c2a5b88a765d217d
2021-03-10debian-stretch-build-dist: use -obs-latestOliver Smith1-18/+37
Change debian-stretch-build-dist to be based on debian-stretch-obs-latest instead of debian-stretch-build. The latter installs the nightly OBS repository now (as that is what we need for the TTCN-3 builds using debian-stretch-build), but debian-stretch-build-dist needs to install packages from OBS latest. Fixes jenkins failures: The following packages have unmet dependencies: libasn1c-dev : Depends: osmocom-latest but it is not going to be installed ... Related: OS#5049 Change-Id: I2cf6ed732e55b8f0e63bd8fc040749bd16676d0f
2021-03-10osmo-msc-latest: centos8: add libdbi-dbd-sqliteOliver Smith1-0/+2
The missing dependency is being added to osmo-msc master's contrib/osmo-msc.spec.in file. Until the next release is done, which contains the patch, install the library explicitly to fix: <0009> db.c:648 Failed to create database connection to sqlite3 db 'sms.db'; Is the sqlite3 database driver for libdbi installed on this system? Related: https://gerrit.osmocom.org/c/osmo-msc/+/23284 Change-Id: I27d4573de22a8e013623ec606e056d348102abd1
2021-03-09*/osmo-bsc.cfg: remove obsolete no-op parametersVadim Yanitskiy8-36/+0
Change-Id: Idebf9df98648b3fe8213cae550ce50e9805bac96
2021-03-09fix ttcn3-bsc-test under CentOS: install missing osmo-bts-omldummyVadim Yanitskiy1-0/+1
In binary packages for Debian, osmo-bts-omldummy is (for some reason) part of 'osmo-bts-virtual' package. For CentOS this binary is shipped properly in a separate package, so let's install it. This change fixes ttcn3-bsc-test under CentOS failing with: /usr/local/bin/respawn.sh: line 9: osmo-bts-omldummy: command not found Change-Id: Ibbfd88d914a31dcfd3e33c6025d612d456b6b124
2021-03-09*/osmo-bts.cfg: remove obsolete 'uplink-power-target'Vadim Yanitskiy5-5/+0
Change-Id: Idbfe29f1eed05f9d70d6664f21c92cf44c954c26
2021-03-09osmo-remsim-master/Dockerfile: add missing libcsv-devel dependencyVadim Yanitskiy1-0/+1
Change-Id: Id15932c554e8bc3f64f0372555ec563f222efe5d
2021-03-09debian-stretch-jenkins: install osmo-trx dependsOliver Smith1-1/+5
Add liblimesuite-dev and libuhd-dev, so we can successfully build osmo-trx in docker in master-builds and gerrit-verifications. Related: OS#5055 Change-Id: Ieec31fd6a2034c4430be81afd1d370816cd577d5
2021-03-08Revert "ttcn3-pcu: Disable sending all DATA.ind on pcu -latest"Pau Espin Pedrol2-6/+0
This reverts commit b70b3c1a80110329aa7c6a8be5a9e0ced511be13.t The patch was merged too quickly before osmo-ttcn3-hacks.git one. Revert temporarily to avoid all tests failing due to non-existant module parameter. Change-Id: I61850cb0ea5ef2a86657dc8390ad7dbcb943b4bf