aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-04-07jobs: Add ttcn3-pgw-test jenkins jobpespin/open5gsPau Espin Pedrol1-0/+5
Change-Id: I363a7a8eb524abfeb45c81603c29cea96f86a787
2022-03-29OBS nightly-packages.sh: add osmo-bsc-natOliver Smith1-0/+2
Related: SYS#5560 Change-Id: I47cd67d5dcf3eb49b486e99840449e1c6a41b4ab
2022-03-03lint: checkpatch: don't require space in T=-1234Oliver Smith1-5/+10
Inside struct osmo_tdef we write non-spec timers as T=-1234. Do not complain about having no space before the minus character. Example: { .T=-25, .default_val=5, .desc="Timeout for ..." }, Note that the Linux kernel coding style also requires spaces around the equals signs. We follow that everywhere except for struct osmo_tdef, and the linter has already been adjusted for that in I1f0b9ed5bd49ef9b5ab0e347b9260e71df34ff9c. Change-Id: I0885e84ad99c7d333a5930c411fd1273badb0fcb
2022-03-02lint: checkpatch_osmo.sh: exclude .patch filesOliver Smith1-0/+2
Change-Id: I734452bc78d7e026292883f81bc07c3baf58e309
2022-02-28jobs/ttcn3-testsuites: adjust nplab-m3ua timersOliver Smith1-2/+2
Fix sporadic errors related to the clean up script running while images being built: failed to get digest sha256:8ea2ba9a1... Closes: OS#5447 Change-Id: If722fddce8de65a1ae012a46d6a202f430e0c69d
2022-02-24Reenable ttcn3-hnbgw-testDaniel Willmann1-1/+0
Now that mgw support is in osmo-hnbgw master and docker/ttcn3 testsuite is working we can enable the test again. Change-Id: I4c7d1ee876e90d52827b2d8cc57342298dd44061 Related: OS#5152
2022-02-22jobs/ttcn3-testsuites.yml: add ttcn3-fr-testOliver Smith1-0/+4
Add a configuration for the job to the yml file. It looks like this job was created manually, or the configuration was just not pushed to gerrit. This makes e-mail notifications consistent and fixes missing colors in build output. Change-Id: I14995dea0a0d223b78e20b49953d5c814c1ad4a1
2022-02-22jobs/gerrit-lint: don't verify dahdi-linuxOliver Smith1-1/+0
Closes: OS#5465 Change-Id: I41ede04849da033a497daf39b34828bed00ab724
2022-02-21jenkins-jobs: Add master + gerrit for dahdi-toolsHarald Welte2-0/+4
Change-Id: I9c007e070e168bfe6509f50dbc3b4e0846c31356
2022-02-21jobs/ttcn3-testsuites.yml: Add ttcn3-ggsn-test-ogsPau Espin Pedrol1-0/+5
Change-Id: I61950f4fc613faae3a731ace394b76c8754bd3c4
2022-02-21scripts/osmo-ci-docker-rebuild: x86: skip deb11Oliver Smith1-2/+13
Don't attempt to build debian-bullseye (11) in docker on debian 10 x86, as it results in: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered. E: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed. This is a temporary measure until we've upgraded the only jenkins node that runs debian 10 on x86, gtp0-deb10build32. Related: OS#5453 Change-Id: Iba7679c027ca89a29393c220d01b195cfce4fec3
2022-02-21ansible/ttcn3: don't install titan/libfftranscodeOliver Smith1-14/+1
With the last patch, the jenkins infrastructure will always run eclipse-titan in docker. Therefore do not install eclipse-titan and libfftranscode on jenkins nodes anymore. This avoids the problem that we couldn't upgrade libfftranscode with the existing ansible rules. libosmocore-utils is still being installed, as osmo-config-merge must be installed on the jenkins nodes. Closes: OS#5452 Change-Id: Ie46fe3dcb286a6258021fad9c35be10442544761
2022-02-21jobs/gerrit-verifications: build ttcn3 in dockerOliver Smith1-4/+12
Build the testsuites in the same docker container during gerrit verification, as it will be the case when building and running the testsuites in the various ttcn3-* jenkins jobs. This avoids the need to install eclipse-titan and libfftranscode on the jenkins nodes. Related: OS#5452 Change-Id: I6a667255bb55a945b4c6279d711142aa252c6996
2022-02-18allow to terminate value_string[] with '{0}'Neels Hofmeyr1-1/+1
For a long time I was using '{}' to indicate a nulled out struct. But apparently '{0}' is the favored way to write that. Let's allow using this notation to terminate a value_string[]. Change-Id: Id2f5ba897ec83f34f8d3c4425353c0baf309bb6d
2022-02-18lint: checkpatch: ignore MISSING_SPACEOliver Smith1-0/+2
Don't require breaking strings at spaces. This is not useful for strings of hex characters, e.g.: { 123, "ffffffffffffffffffffffffffffffffffffffff" "ffffffffffffffffffffffffffffffffffffffff" "ffffffffffffffffffffffffffffffffffffffff" Change-Id: Ib6be7744418530ae3ddbf373e67d1d7f25a60508
2022-02-15Use docker image debian-bullseye-erlang instead of debian-buster-erlangPau Espin Pedrol2-2/+2
Let's use newer debian to avoid problems with older erlang. Furthermore, the new image builds rebar3 to avoid issues with unmatching erlang versions. Change-Id: I7b1956c515daccf6ab1ff87031c6fec649cadb4b
2022-02-15lint: checkpatch: show hint about typedefs_osmo.txtOliver Smith1-1/+1
Change-Id: Icaee700a9cc7896cdbda6cce93db41b6b50a7fa3
2022-02-15lint: checkpatch: add typedefs_osmo.txtOliver Smith2-0/+2
Fix false error: ERROR:SPACING: need consistent spacing around '*' (ctx:WxV) in a line with a typedef: int handle_rab_ass_req(..., ranap_message *message); Change-Id: Icbc46d0c788ca75684a48a73f739265f4a09b09c
2022-02-14ansible/docuum: set default to 40 GBOliver Smith1-1/+1
After looking at total available disk space on most of the hosts, storing up to 40 GB of images seems a more reasonable default. We can increase it again if it should really not be enough. Related: OS#5099 Change-Id: Iad679252b027003391f1e2368149cb10ea0c729e
2022-02-14ansible/docuum: fix docker_max_image_space replaceOliver Smith1-0/+1
When changing the value, replace the previous line instead of adding a new line at the bottom. Related: OS#5099 Change-Id: I35a3671a026cc72cf1488c8668e8a0e675de2530
2022-02-14ansible/docuum: fix delgroup errorOliver Smith1-1/+3
Check if a group with the same GID as the docker group on the host exists, before attempting to remove it. Related: OS#5099 Change-Id: I24af5c1d2b1c488b37f29f1609ee56692eff569e
2022-02-11jobs/gerrit-lint: run on docker-playground tooOliver Smith1-0/+1
Change-Id: I7213155ccd61a006231609b1d7ae1eec187b3e7b
2022-02-11ansible: docker: clean vfs storage leftoversOliver Smith1-0/+4
Docker is configured via ansible to use the overlay2 storage driver since August 2020 (I20728d6017204c3978e23376baa89de6e91fed1e). Clean up an unused vfs dir if it is present on the system, as it was the case on build2-deb9build-ansible with a 190 GiB vfs dir. Related: OS#5827 Change-Id: I58f3f4a26ad6fa4698d87475cefb6ab21e66b15a
2022-02-11scripts/docker-cleanup.sh: conditional img cleanOliver Smith1-4/+8
Only run the simple image clean code if docuum is not running. It works well enough in most cases, but has the drawbacks that it never deletes "latest" images or images not matching "^osmocom-build", and may delete images that are still being used (OS#5447). With the other tool, all images are considered for removal, and the ones that have not been used the longest time are removed first. Related: OS#5477, OS#5066, SYS#5827 Change-Id: I1cef0833c096de0fa5acf77156bb5dd362e2ef9c
2022-02-11scripts/docker-cleanup.sh: use "docker system prune"Oliver Smith1-1/+2
Do not only clean up dangling images, but also containers, volumes and networks. Related: SYS#5827 Change-Id: If441b251de50063f0229d36fb1bc260a4cb1dd87
2022-02-11scripts/docker-cleanup.sh: delete containers tooOliver Smith1-0/+6
Related: SYS#5827 Change-Id: I73b2f13875286c1aaa5424809edab2202f41768b
2022-02-11scripts/docker-cleanup.sh: use set -xOliver Smith1-1/+1
Change-Id: Iba170128e55a9778467c3d3bcf33a91321a8c29f
2022-02-11ansible/roles/docker: install docuumOliver Smith6-0/+134
Allow setting a max amount of space that docker images should take up, and delete the least recently used images when the amount is exceeded. Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up Change-Id: I640b1e607feca87e7a578946ae4b8332ce854ab1
2022-02-11ansible/setup-jenkins-slave: accept rel-changeOliver Smith3-0/+21
Fix for: W:This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details. E:Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable' Related: https://github.com/ansible/ansible/issues/48352 Change-Id: I90ee8dd49001d6810f2118e9feff3375e87052ea
2022-02-11ansible/ansible.cfg: make command output readableOliver Smith1-0/+2
Have a readable output, instead of the default that wraps the output with stripped new lines inside json. Related: https://github.com/ansible/ansible/issues/27078#issuecomment-364560173 Change-Id: I88d584a1808d82d75906b350e3bffe9bc73a8c67
2022-02-11lint: catch missing --rm flag for 'docker run'Oliver Smith2-7/+35
Not having the --rm flag causes docker containers to be stored forever, so make sure we always add it to the "docker run" commands that we run on jenkins via scripts in various repositories. Depends: docker-playground I48b01c43fedf379b8a565eaab0369806d7831bd8 Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up Related: SYS#5827, OS#5099 Change-Id: I8ab9c291504475d670bdefc50c4524c5bdd4c880
2022-02-11scripts/osmocom-packages-docker: docker run --rmOliver Smith1-0/+1
Change-Id: I357ae8071d27088a2c0a74f962ac1589bff43a70
2022-02-11editorconfig: new fileOliver Smith1-0/+12
Auto-configure editors with editorconfig plugin installed to indent yaml files with two spaces in this repository. Change-Id: I008ee040e2c15db11a35a061faa4270bacdbd10d
2022-02-11tasks/ttcn3-slave.yml: also install libosmocore-utilsVadim Yanitskiy1-2/+4
This package provides osmo-config-merge, which is going to be used by docker-playground for generating configuration files. Change-Id: I87e54440a6b399aa0f0461ebf668991b5cdd0b07 Related: https://gerrit.osmocom.org/c/docker-playground/+/20622
2022-02-09jobs/master-builds.yml: Add master-pysim to publish manualHarald Welte1-0/+5
We only had gerrit build verification for pysim so far, but no 'master' job that periodically builds/tests master (and publishes the manual). As a reult, the pySim manual was still the original version from April 2021, while the code has of course progressed quite a bit in git since. Change-Id: I4dce05cdb5f2c574256378d5fb66cff1c329c141 Closes: OS#5271
2022-02-07Deploy osmo-ci to ogt nodes and update it periodicallyPau Espin Pedrol2-0/+8
We need osmo-ci in those nodes in order for the docker old images to be cleaned through cron entry installed by ansible docker role, which uses /home/jenkins/osmo-ci/scripts/docker-cleanup.sh. Related: OS#5441 Change-Id: Ieb6db0b24dce6099cfa24871a957471ca2c8bcee
2022-02-04jobs/master-builds-dahdi.yml: new fileOliver Smith1-0/+80
Related: OS#5407 Depends: dahdi-linux I904ab66a1ecd72492642ac2cc4cb102c7283c590 Change-Id: I8a479d0a214ff56c5b66f468a1c2b1b2f674e091
2022-02-04jobs/gerrit-verifications-dahdi.yml: new fileOliver Smith1-0/+98
Add gerrit verifications for the out-of-tree dahdi-linux kernel module. Put this in a separate file (not gerrit-verifications.yml), because: * not only gerrit git repo gets cloned, but also linux.git, and caching needs to be done properly for it * so we can have one separate job per linux version that gets tested Test v4.19 and v5.10 for now, as suggested in the issue. Related: OS#5407 Depends: docker-playground Id72d19ad08681cd7cb3194de2226292f19e96df5 Change-Id: I65c7663a6b8045796536a727e4adf5554f16b2a9
2022-02-04jobs/gerrit-lint: add dahdi-linuxOliver Smith1-0/+1
Related: OS#5407 Change-Id: I7fdb40e40fb8cf8c9072a4e898aeffa43d1d7ae0
2022-02-03jobs/registry-update-base-images: centos8 -> almaOliver Smith1-1/+1
Follow up on the change of using almalinux instead of centos8 in docker-playground, with providing the almalinux base images in the Osmocom registry. Related: SYS#5818 Related: docker-playground I30e1a773b901b1d2187214445116c7f2aecc4e36 Change-Id: I93a8892da628b8d2f9cbb2a6453e8ab3153a9c4a
2022-01-31jobs/{master-builds,gerrit-*}: add osmo-bsc-natOliver Smith3-0/+5
Related: SYS#5560 Change-Id: I240cb614bf3905d04bccc6a00c72567a2ad722d8
2022-01-26Disable ttcn3-hnbgw-test for nowDaniel Willmann1-0/+1
Change-Id: Ia385c4155ffed761c5887fc4d6c76163ca732527
2022-01-18jenkins-jobs: add master build for opencm3 projectsHarald Welte1-0/+3
Change-Id: I95f84079478ce57d8d5c0cffd71bc67e1605e68e
2022-01-18Revert "remove linter jobs for osmo-e1d and osmo-e1-firmware"Oliver Smith1-0/+2
Enable the linter again, as we decided to use a repo-specific checkpatch config in these. This reverts commit 2c6aa82c9a8a81addd805fe211b048076e01f8c5. Related: OS#5399 Change-Id: Ib79a20658bfae64d9b718e53e6a9393708a4e694
2022-01-17jobs: explicitly enable ansi color wrapperOliver Smith3-0/+10
For some reason (jenkins upgrade?), output is not colored anymore. Explicitly enable the ansi color wrapper in the jjb configs, where we have such colors in the output. Change-Id: I2d3faaf608ae9d12573f5c0f740ff7ee4b33358e
2022-01-12jobs: ogt: Rename osmo-iuh->osmo-hnbgw build jobsPau Espin Pedrol2-2/+4
The real target was not osmo-iuh itself but osmo-hnbgw. Since osmo-hnbgw is inits own repository now, let's rename it. Change-Id: I72e93683ea355cf0886f08a3f31568f58ff42473
2022-01-12jobs: disable ttcn3-upf-testNeels Hofmeyr1-0/+1
Change-Id: I0518a65ee68fc45bf65e10f327b1d590d7456d88
2022-01-10cosmetic: Fix typo (no canes involved)Harald Welte1-1/+1
Change-Id: I4b3dbe6fdb6053a8dd2a6b4b3d06552df1107fdf
2022-01-10remove linter jobs for osmo-e1d and osmo-e1-firmwareHarald Welte1-2/+0
tnt will remain to use his slightly not-really-osmocom coding style, as expressed in https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26841 Change-Id: If2b98bd19ce1d89970dc266119e83d2a1c648454 Related: OS#5399
2022-01-05Add new repo osmo-hnbgw (latest) to build jobs and scriptsPau Espin Pedrol2-3/+3
Change-Id: I634ebbfa7f471342ffcf253fdb8a316f5e71089f