aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
22 hoursdebian-bookworm-titan: chown 1000 for depsosmith/wipOliver Smith1-1/+2
Change the ownership of the "deps" directory to a not yet created user with the ID 1000. This user gets created when the gerrit verifications use the container for building. Changing the ownership of the deps directory allows using them and updating them as needed (e.g. if the patch in review changes a commit of one of the deps). Doing it here once results in faster jobs, compared to if we did it every time the gerrit verifications job ran. Related: osmo-ci I4bea336097e8180b19b3afa41c0b984d93c21bd1 Change-Id: Id51885d0929f4966b1a4a181b3453c06d7956b53
9 daysdebian-buster-jenkins: remove pysimOliver Smith1-2/+0
This container is still used for osmo-gsm-tester_virtual (OS#6126). pysim doesn't build anymore for some reason since the new dependency on pyosmocom was added to it. Since we don't use pysim in osmo-gsm-tester, simply don't install it in this container anymore. Change-Id: I89f667fe5603526d9f0118fc338745aab8273070
9 daysosmo-stp-master: libosmo-sccp -> libosmo-sigtranOliver Smith1-3/+3
Related: OS#6239 Change-Id: Ifc8dea67746a0f785831c6b0c6b7dd391d3afa52
10 daysdebian-bookworm-build-arm: FROM: add arm32v7Oliver Smith1-1/+1
Use the arm32v7 architecture explicitly, instead of implicitly using the same architecture as the host. That way we can use the arm32v7 image on a raspberry pi 4, even if the host system is 64 bit arm. Using 32 bit arm instead of aarch64 is needed for the osmo-trx jenkins jobs, which test -mfpu=neon and -mfpu=neon-vfpv4 build flags. Related: https://github.com/docker-library/official-images#architectures-other-than-amd64 Change-Id: I93986569a9f492237da28fbc534ac5ccd176f120
11 daysosmo-*-master: don't install libosmo-sccp-devOliver Smith7-9/+1
The libosmo-sccp-dev package is no longer provided by libosmo-sccp. Without this patch, an older version of the library from debian packages gets installed, resulting in a conflict for sccp_types.h which is now in libosmo-sccp-dev. Fix for: #6 8.585 dpkg: error processing archive /tmp/apt-dpkg-install-llkDLH/25-libosmo-sigtran-dev_1.9.0.3.fc4c.202409092026_amd64.deb (--unpack): #6 8.585 trying to overwrite '/usr/include/osmocom/sccp/sccp_types.h', which is also in package libosmo-sccp-dev:amd64 1.6.0+dfsg1-3 Related: libosmo-sccp I299a32a2f8f61477cf49c8126567fef2092d5407 Change-Id: I3e7c3c14649d8ebf71fa2968709816dae7bff20c
2024-09-02Remove ttcn3 testsuites ported to testenv, part 1Oliver Smith77-2616/+9
Related: OS#6494 Depends: osmo-ci I6c7f88bb268a9f339b3af1d31d665e4376b34e48 Depends: osmo-ci Iac626d0c7c87c49ee6ba540ae1894abdb2336642 Change-Id: I7182c7e8eb00a9323fe1b6d27f630d253b4d34f6
2024-08-23ttcn3-epdg-test: restore osmo-epdg.latest.configOliver Smith3-1/+89
The osmo-epdg.latest.config is needed, as it has a different libdir: - {libdir, "/usr/lib"} + {libdir, "/tmp/osmo-epdg/_build/default/lib/gen_socket/priv/lib"} Fix for: Failed to load NIF library: '/tmp/osmo-epdg/_build/default/lib/gen_socket/priv/lib/gen_socket_nif.so: cannot open shared object file: No such file or directory' Change-Id: Icb3e79d5f5ca9af67037c2746318d61fd2713967
2024-08-13ttcn3-epdg-test: fix osmo-epdg path for latestOliver Smith1-1/+5
Restore the proper path for osmo-epdg when running with -latest, which has been removed by accident in the earlier commit that should only have changed the config. Fix for: /data/epdg.sh: line 14: /tmp/osmo-epdg/_build/default/bin/osmo-epdg: No such file or directory Fixes: 00e68245 ("ttcn3-epdg-test: remove latest code path") Change-Id: I0547f62a3610a62e90ad767f447c68851e8a725d
2024-08-09ttcn3-epdg-test: remove "cp osmo-epdg.latest.config"Oliver Smith1-1/+0
I've overlooked this in my last patch. Fix for: cp: cannot stat 'osmo-epdg.latest.config': No such file or directory Fixes: 00e68245 ("ttcn3-epdg-test: remove latest code path") Change-Id: I720e718a9daec125e94cf2e98127ec3aa48820f8
2024-08-08ttcn3-epdg-test: remove latest code pathOliver Smith2-92/+1
Use the same config in latest as in master, as a new version 0.1.0 has been released recently. This fixes the two currently failing tests on latest. The ttcn3-epdg-test has not been replaced by testenv (OS#6494) yet, so let's fix it here. Change-Id: I522824a6df3c58d26788c8d9e978759e7ec8a462
2024-08-07common/Release.key: updateOliver Smith1-8/+8
The current key was about to expire at the end of the month, so I've regenerated it. The new key is valid until 2026-10-16. Source: https://obs.osmocom.org/projects/osmocom/public_key Change-Id: I7446565ff3bbbcd30e53234786d84109583284a5
2024-08-05debian-bookworm-build: update sphinx-argparse branchOliver Smith1-1/+1
Our changes are now in the "inside-classes" branch. Fix for: Collecting sphinx-argparse Cloning https://github.com/osmocom/sphinx-argparse (to revision master) to /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad Running command git clone --filter=blob:none --quiet https://github.com/osmocom/sphinx-argparse /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad WARNING: Did not find branch or tag 'master', assuming revision or ref. Running command git checkout -q master error: pathspec 'master' did not match any file(s) known to git Change-Id: I666972097db269dd1e46031854719210e993a71a
2024-08-02scripts/kernel-test/smoke-test.sh: Log qemu output to stdoutPau Espin Pedrol1-1/+1
This allows logging the run-qemu.sh output/progress to eg. /tmp/logs/ggsn-v6_only/osmo-ggsn.log when running the jenkins.sh. Change-Id: Ia638b0b9631518a9bb58e70ef55029085ce0fa9c
2024-08-01ttcn3-ggsn-test: Reduce timers for ggsn-test-kernel-torvaldsDaniel Willmann3-0/+9
The TTCN3 test already assumes that t3 = 1 and n3 = 2 and sets the timers accordingly. The osmo-ggsn config for the non-kernel test already includes these timer values and doesn't need to be updated. Change-Id: I738b460996b29ca828c62427e01b9bb6b995c051
2024-07-26ttcn3-stp-test: remove <= 1.8.x code pathOliver Smith3-35/+27
Change-Id: I3c134df2e194dbad47261eed5c0b3b54ed39a383
2024-07-24ttcn3-sgsn: Use new 172.18.8.104 in emulated RNCPau Espin Pedrol1-1/+1
I forgot to push with last commit the change in IP address using the new IP address in the emulated HNBGW. Doing it here to avoid test breakage. Fixes: 594e021b9b699600a2f89a16676b05446a64fbdc Change-Id: I20801e22bf20d2b2e67697fbf15811fe8eaa2996
2024-07-24ttcn3-sgsn: Use 2nd IP address on emulated HNBGWPau Espin Pedrol3-3/+24
In 3G, both HNBGW and GGSN talk GTPv1U, and osmo-sgsn uses Direct Tunnel feature to connect both together. Since GTPv1U uses a fixed port, we need 2 IP addresses, one set for the emulated GGSN and one for the emulated HNBGW. This is a preparation towards adding tests validating creation of PDP context in 3G, which was not yet tested. Related: SYS#5435 Change-Id: I21882dc5a9f5167ac9104d4ac48d5e5631505463
2024-07-22asterisk: Enable use of EVS codecPau Espin Pedrol3-1/+10
We want to test Asterisk using only EVS against the IMS Core. Related: SYS#7012 Change-Id: I8bf781cbb0ae40a2bc67ede1110d50721d1f6025
2024-07-17asterisk: extensions.conf: Allow extra MO call from SIP UA which HOLDed ↵Pau Espin Pedrol1-9/+45
previous call We need to keep track of the SIP UA using the IMS endpoint, so that when the IMS call is set on HOLD we can identidy that the same SIP UA can still initiate new calls on the IMS endpoint. Related: SYS#7003 Change-Id: Idad9e613669466f3aac8b1c7b43f8d9b6e0494e6
2024-07-16ttcn3-asterisk: pjsip.conf: Update config name s/ims_aka/volte/gPau Espin Pedrol1-2/+2
The config key was renamed today, so update the tests to avoid failing reading the config file. Change-Id: I29d8ecb0f514de4745de22711234b0d514b2eb39
2024-07-16ttcn3-asterisk: extensions.conf: Reject calls if all SIP UAs busy in callPau Espin Pedrol1-7/+25
Before this patch, asterisk would ring on local SIP UAs already in a call, which is not the expected behavior for this project. Related: SYS#7003 Change-Id: Id9e3ead6e28a53793c6cceb6f23d5e6d987521d8
2024-07-12ttcn3-asterisk: extensions.conf: Reject subsequent MO/MT calls in VoLTE when ↵Pau Espin Pedrol1-0/+8
busy Reject calls when the VoLTE endpoint is already busy with an ongoing call. Related: SYS#7003 Change-Id: If4ce1fee36e51ac72681ac2ce04531d501ccb56c
2024-07-12asterisk: Wait for Asterisk ready before starting testsuitePau Espin Pedrol2-3/+13
A recent commit made Asterisk wait for dnsmasq to be ready before starting it. This means Asterisk takes more time now to be ready itself, hence we need to delay launching the testsuite until it is ready. Otherwise, the entire set of tests may be run even before Asterisk gets to answer on the AMI socket. Change-Id: I337d57f3eb3e6688dbf3c61d55978da10d84b2cb
2024-07-12asterisk: timeout ping DNS validations after 3 secondsPau Espin Pedrol1-1/+1
Change-Id: I9f1bcbc2b868cf7c894a57ca77e28b5bfbba0eac
2024-07-12asterisk: dnsmasq.conf: Avoid forwarding queries to other DNS serversPau Espin Pedrol1-4/+0
This creates problems when requesting resolution of the IPv6 address. For some reason, dnsmasq was forwarding the request to the non-available google DNS servers, and Asterisk docker container pre-start commands checking for DNS resolution would never pass when run in jenkins node. Change-Id: I0ee7a7b0c307cc83acfb1c4c8f4bdc092133fddb
2024-07-12centos7: use vault.centos.orgOliver Smith2-0/+14
The centos7 images try to use mirrorlist.centos.org to determine the fastest mirror, and then download binary packages from there. But mirrorlist.centos.org isn't online anymore. Use the vault instead. Without this patch, the mirrors that can't be reached are ignored, and later on it fails to properly install packages because of missing dependencies. Related: https://serverfault.com/a/1161847 Change-Id: I0a8f93bb16dd9245760b8a1ad53f0642d446b4cf
2024-07-11asterisk: Wait for dnsmasq resolver ready before starting AsteriskPau Espin Pedrol1-0/+9
Otherwise Asterisk wil lfaill to add the identify match at startup: [2024-07-11 10:35:02.199] ERROR[14]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("ims.mnc001.mcc238.3gppnetwork.org", "(null)", ...): Temporary failure in name resolution [2024-07-11 10:35:02.199] ERROR[14]: res_pjsip_endpoint_identifier_ip.c:553 ip_identify_apply: Identify 'volte_ims' failed when adding resolution results of 'ims.mnc001.mcc238.3gppnetwork.org' [2024-07-11 10:35:02.199] ERROR[14]: res_sorcery_config.c:422 sorcery_config_internal_load: Could not create an object of type 'identify' with id 'volte_ims' from configuration file 'pjsip.conf' Related: SYS#7010 Change-Id: I01475c1ed2aa20fb9b8b8722a7b965ea9b63e8a9
2024-07-11dnsmasq: Log additional query info with --log-queries=extraPau Espin Pedrol1-1/+1
Related: SYS#7010 Change-Id: I445b7900769418d8f3958f37d0613283ca9a7b78
2024-07-10asterisk: pjsip.conf: Forward Hold/Resume SIP UA -> IMS CorePau Espin Pedrol1-0/+1
This is needed for forward the a=sendonly when a local SIP UA wishes to hold a call. Related: SYS#7002 Change-Id: I70e7e5df2d9c91acdc85c689cf8e48c5a44b2a34
2024-07-09ttcn3-s1gw-test: update logging config in osmo-s1gw.configVadim Yanitskiy1-3/+4
Bring logging configuration in sync with erlang/osmo-s1gw.git. Change-Id: I3853c40c94d3ee2bbd5d6f6b345bfd87cce134d0 Related: erlang/osmo-s1gw.git Ib88801b8d38976b98a02ed06e1638e0e9056bafb
2024-07-09seccomp_profile: enable io_uringOliver Smith1-0/+3
Revert 891241e7 ("seccomp: block io_uring_* syscalls in default profile") from upstream: https://github.com/moby/moby/commit/891241e7e74d4aae6de5f6125574eb994f25e169 This will be used by osmo-ci Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d. Related: OS#6405 Change-Id: I27567c2a5d9543c3509c316226c082ab950c5ebc
2024-07-09seccomp_profile: importOliver Smith1-0/+833
Import the current default seccomp profile from docker, commit from current master branch. The next patch will re-enable the io_uring syscalls in the profile. Source: https: //raw.githubusercontent.com/moby/moby/c4dcaa0d9adb8cc0a0d95393e8cf3e853254eacb/profiles/seccomp/default.json Related: OS#6405 Change-Id: Ib6f7bc04cb58815190fc2102900e873da301ce95
2024-07-08ttcn3-asterisk: Allow running testsuite with IPv4 and IPv6 configsPau Espin Pedrol2-55/+130
Requires [1] to be able to run SIPmsg_PT in Asterisk_Tests with IPv6 support. [1] https://gitlab.eclipse.org/eclipse/titan/titan.TestPorts.SIPmsg/-/merge_requests/4 Related: SYS#6982 Change-Id: I1de922c681fef4d308898cd592544aef25901c7b
2024-07-05ttcn3-asterisk: Small improvements to ease introducing IPv6 supportPau Espin Pedrol3-3/+4
Change-Id: If5200e9ba7774f5ec1037584dcb1f8ca2e45f835
2024-07-04osmo-epdg: add support for testing for latestAlexander Couzens6-1/+129
Create a new osmo-epdg-latest docker image. Use a different configuration for ttcn3-epdg-test if running the latest. The latest comes from the obs repository and has different paths for libraries. Change-Id: Ia31a92446e82a25fb592a2c91d0204db8f265d52
2024-07-04jenkins-common.sh: Store IP subnet prefix in global variablePau Espin Pedrol24-41/+45
Change-Id: Icc492aea1ddb91f672c7a0cec764b42711789fb6
2024-07-04ttcn3-asterisk: Move ttcn3 docker related files to ttcn3/ subdirPau Espin Pedrol4-3/+4
Other files belonging to other containers are already placed in subdirs, so do the same for these ones too. Change-Id: Ie2b3de22df9ab155f42a717bccf718fccd388fc6
2024-07-04asterisk: Allow alaw code from IMS until evs is supportedPau Espin Pedrol1-0/+1
EVS codec is not yet fully supported, specially if no specific implementation of the EVS API is available. Let's allow using alway from/to IMS for now, so calls can be made and tests work. Change-Id: I4835f73ef1b13343ff209f1aba84fab43427aa9d
2024-07-04asterisk: conf: Handle precondition through app_waitforprecondition.soPau Espin Pedrol2-0/+4
This module has been introduced recently, which allows handling precondition FSM during MT calls. Change-Id: I84eefec6cd38d50e88633ac01f606b1dda06bb43
2024-07-03ttcn3-ggsn-test/jenkins: tweak loop logicOliver Smith1-5/+1
Iterate over TEST_CONFIGS instead of TEST_CONFIGS_ALL and then filtering with test_config_enabled. Change-Id: Ie7701abe6ab7cff139766eca9240e0f26af32231
2024-07-02asterisk: pjsip.conf: Set IMEIPau Espin Pedrol1-1/+1
Newer asterisk VoLTE code being developed (jolly/work) now has a config to set the IMEI instead of the whole contact header. Use it. Change-Id: I5d4584fac309bea4afe3929bdca047c31c93b457
2024-07-01ttcn3-asterisk: Fix ICSI value encodingPau Espin Pedrol1-1/+1
As seen in TS 24.229 7.2A.8.2 example. Change-Id: I02b3d54003bb02e999b27b533a651299dbb53503
2024-06-25asterisk-master: Build from jolly/work branch by defaultPau Espin Pedrol1-2/+2
That one will not be the final branch, but it's the one where most of the development is happening. Hence, switch to that branch by default for now, so that jenkins nightly job runs that branch. Change-Id: Iabf141ae0b997f9707a7dbd555307e052b92d355
2024-06-25asterisk-master: Fetch required branch directlyPau Espin Pedrol1-12/+4
When I added the Dockerfile I initially wrote it in a 2 step fetch & build, to try to avoid recompiling the whole thing every time some patch from one of the devs was pushed to our building branch. This, whoever, creates problems sometimes due to how the build system for pjproject is generated when building asterisk, so let's drop the 2stage setup to avoid problems fetching from different branches, etc. Change-Id: Id9fbee9cdb8f9387e0daefd7925df2542d384a91
2024-06-25asterisk: logger.conf: Log milliseconds in timestampsPau Espin Pedrol1-0/+3
Change-Id: I4d518547d1e284b18034ae195e6d05da283593de
2024-06-25ttcn3-asterisk: Set mp_ims_imei matching pjsip.confPau Espin Pedrol1-0/+1
Since recently, the testsuite validates the IMEI received at IMS Core over REGISTER Contact header matches the one configured at Asterisk config file. Hence, add the same value to Asterisk_Tests.cfg so it can match the value. Depends: osmo-ttcn3-hacks.git Change-Id I866d89ec137d264e257b05226900b744a93c257e Related: SYS#6877 Change-Id: Id8bb7886ffcea506348496148e17f71cef1edc90
2024-06-25ttcn3-asterisk: pjsip.conf: Use reliable provisional responses if peer ↵Pau Espin Pedrol1-0/+1
supports it The default 100rel=yes won't use reliable provisional responses unless the peer "requires" it, while we should instead be using them if the peer "supports" it. Related: SYS#6980 Change-Id: I40764e24f2c80ce48d6634e09797fefe97d99e51
2024-06-25ttcn3-asterisk: pjsip.conf: Avoid advertising support for +g.3gpp.smsipPau Espin Pedrol1-1/+1
Asterisk doesn't so far support SMS over IMS, so avoid announcing it during REGISTER. Related: SYS#6981 Change-Id: I1546b7106d25ebfb1c92c1a27db1f44c51b0413a
2024-06-23ttcn3-s1gw-test: start osmo-s1gw container with --user=rootVadim Yanitskiy1-0/+1
For some reason, on Arch with docker 26.1.3 it implicitly starts with --user=root, while with docker 20.10.5 on Debian bookworm it starts with --user=build. This results in permission errors: + ip addr add 172.18.74.100/24 dev eth0 RTNETLINK answers: Operation not permitted + true + ip addr add 172.18.74.200/24 dev eth0 RTNETLINK answers: Operation not permitted Pass --user=root explicitly to bring consistency and fix those. Hopefully, ttcn3-s1gw-test will be passing on Jenkins with this patch. Change-Id: I5cc67d1c3192fd55560c16c8cc44b13b2c9b3e98 Fixes: 9ca9bed "ttcn3-s1gw-test: fix using unassigned addr for osmo-s1gw"
2024-06-22ttcn3-s1gw-test: fix using unassigned addr for osmo-s1gwVadim Yanitskiy2-1/+13
The S1GW container gets assigned the primary addr 172.18.10.100/24 by docker_network_params(). The secondary addr 172.18.10.200/24, which is used for eNB connections, needs to be assigned manually. This patch finally makes ttcn3-s1gw-test pass. Change-Id: I109a5feaca5acf050008e883cc8b4e1e28beebab Related: SYS#6772