aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
18 hoursttcn3-hnbgw: Apply latest changes to 'with-pfcp' scenarioHEADmasterPau Espin Pedrol2-4/+18
Recent commits applied changes to the default scenario, but forgot to apply them to the 'with-pfcp' subdir. Fixes: 6de89a5fb529928ce9b7b3320e0ca2e3e568d458 Fixes: 3736d31fc0314cb5d39c707374eecdcfe33241c9 Fixes: 0bdbcd6815358a7b1c4b0bb4575a585c45a01e57 Fixes: 2c22a96355b8e057dbd85ac1922ae84cc63f8b1e Fixes: d3711e67103691171d7ed3e224c050e78c1f5bc4 Change-Id: Ie02a0754a6ca985e60e08f1f171f532b6cc16264
25 hoursttcn3-asterisk: Set Asterisk AMI IP address in Asterisk_TestsPau Espin Pedrol1-0/+1
The Asterisk_tests testsuite recently gained initial AMI support. Configure it with the proper IP address. Depends: osmo-ttcn3-hacks.git Change-Id I2c570e4d04e7ab8c44962cf484e4bbc946209aee Change-Id: Ibb6af1cbfb652214b2fdd2a6eb9a4887c9a9cfb0
3 daysttcn3-hnbgw: osmo-hnbgw.cfg: Enable color in log filePau Espin Pedrol1-1/+1
Change-Id: Iffd28619ca075e0cf870e10989cfced6096ca8d7
3 daysttcn3-hnbgw: osmo-hnbgw.cfg: Switch from deprecated 'mgcp' node to 'mgw'Pau Espin Pedrol1-1/+1
Change-Id: Ie27dcae05fa719cd0eac9faa6e2fb6b63581ac28
3 daysttcn3-hnbgw: Set STATSVTY.CTRL_HOSTNAME to correct IP addressPau Espin Pedrol2-2/+14
Also update osmo-hnbgw.cfg to configure statsd, as done in osmo-ttcn3-hacks.git 904b5f1a56629b84f67807a75d5c0b356cc7d726. Change-Id: I80c228b7ad4b9fb06b1651f23a2932bf19374297
3 daysttcn3-asterisk: Configure AMIPau Espin Pedrol2-0/+12
Change-Id: I590d89e9173b0372611790d4178747e28a1215d1
3 daysttcn3-hnbgw: Set new mp_local_statsd_ip module paramter to correct IP addrPau Espin Pedrol1-0/+1
Depends: osmo-ttcn3-hacks.git Change-Id I213173c99ec314c2eebfb8836c4d3467b3a7f818 Change-Id: I16cddef5833bf2abff0edb82ec3eb9f6ce976364
14 daysdebian-bookworm-obs-latest: add build userOliver Smith1-0/+13
Copy the block for configuring the build user and disabling man pages from debian-bookworm-build. This fixes failures on ttcn3-ggsn-test-kernel-latest* (non-latest worked fine since these use containers based on debian-bookworm-build). Fixes: 5a48bfbe ("scripts/kernel-test: build initrd+kernel as user") Change-Id: Idee29d5b9796e8905bdf822d076f25612cbc77a0
14 days{open5gs,osmo-uecups}-latest: don't hardcode UIDOliver Smith2-2/+2
Adjust open5gs-latest and osmo-uecups-latest to not hardcode a UID. This is in preparation for creating a "build" user in debian-bookworm-obs-latest, like we have it in debian-bookworm-build. Change-Id: Icaebf46487056cea745805527fdc545d9a1846cd
2024-04-04debian-bookworm-build: add libnftnl-devOliver Smith1-0/+1
For osmo-hnbgw, osmo-upf. Related: OS#6425 Change-Id: I5fdaa634d12bc6c8643c130a43d30e840890d572
2024-04-03scripts/kernel-test: build initrd+kernel as userOliver Smith3-19/+32
Refactor code to build the initramfs and kernel as user, instead of running related code as root. Put the smoke_test.log into /tmp instead of the cache dir, so we don't write as root into the cache dir. We cat it on error anyway, so we don't need to have it in the workspace. Change-Id: I1670dd86f2670f42eb99e4527d483965d8222402
2024-04-03scripts/kernel-test: put mknod commands in init.shOliver Smith2-5/+5
Prepare to run the preparation without root rights. Change-Id: I07648f058ca55515ffc7396598147a03dcfe7976
2024-04-03jenkins-common: fix_perms: chown files tooOliver Smith1-1/+4
Ensure the user that runs docker owns files in cache and data dirs during fix_perms, if an old job created them as root. Change-Id: I43af48bd87e27abad5ad52e734256d78651f67c3
2024-04-03kernel-test/kernel-build: update net-next branchOliver Smith2-2/+2
The branch of net-next is now called main. Update the default KERNEL_BRANCH to main, as the default KERNEL_URL points to net-next.git. Related: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/ Change-Id: Ic4b13c3cbc0933db9d520e6d737c45b6b08e8c48
2024-04-03scripts/kernel-test: do shallow fetchOliver Smith1-1/+1
Instead of fetching the entire history, only fetch the most recent commit. Change-Id: I92d90c1451ff6abff2df3b1318b5194880e77f2e
2024-04-03debian-bookworm-build: add virtualenvOliver Smith1-0/+1
Fixes: OS#6430 Change-Id: I5d087b8edb9e77a5226df9e4f55e04480eea45dd
2024-04-02Introduce ttcn3-asterisk-ims-ue-testPau Espin Pedrol8-0/+346
This dockerized setup allows running the Asterisk_Tests ttcn3 testsuite against Asterisk from the asterisk-master docker image, in order to test the IMS UE feature which will be developed soon. Related: SYS#6782 Depends: osmo-ttcn3-hacks.git Change-Id I66f776d5df6fb5dc488d9e589b84a6b2385406e8 Change-Id: Idd262b9224ea879a6e941792944fe0b0db3e68ba
2024-04-02Introduce asterisk-master docker imagePau Espin Pedrol3-0/+67
This Docker image allows building and running Asterisk from git. Default config is to build the sysmocom fork used to develop new features (hence pointing to sysmocom/master branch in that repo. Related: SYS#6782 Change-Id: Iaa3816f8ceefac8956e61e15f79ed708dec55238
2024-03-28ttcn3-bsc-test-sccplite: osmo-bsc.cfg: remove deprecated 'mgw remote-ip'Vadim Yanitskiy1-2/+0
Change-Id: Ie322315dd1608636002d4003e5f8629925041476
2024-03-28*/osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-btsVadim Yanitskiy10-21/+21
Change-Id: I98ea9e96d490473efbbe189842ed9f547060dc7d
2024-03-26ttcn3-bts-test: fix start_config_oml(): do not start BSCVadim Yanitskiy1-2/+0
As the comment states, the BSC container is not needed for the OML tests. The testsuite itself "speaks" OML to the IUT in this case. Change-Id: Iab44b9ed83e917475c9e2e86ad32b303b05b2ace Fixes: aad045f5 "ttcn3-bts-test: add env var to not run all configs" Fixes: OS#6421
2024-03-25ttcn3-*-test: set OSMO_SUT_{HOST,PORT} for more testsuitesVadim Yanitskiy12-0/+24
Let's also retrieve talloc reports for these testsuites. Change-Id: Iaa94dd200fdb98962b784cb507c9995096232dc9
2024-03-25ttcn3-ggsn-test: ignore failure to kill osmo-ggsnOliver Smith1-1/+1
Don't fail if osmo-ggsn can't be killed at the end of a testsuite run. This happens currently with ttcn3-ggsn-test-kernel-latest-* jobs, in the v6_only configurations, because osmo-ggsn latest doesn't support ipv6 yet and exits. The jenkins.sh should keep going and try other combinations, and exit without error in the end. Fixes: d8c51cce ("ttcn3-ggsn-test: run with multiple configurations") Change-Id: I6f3154a9ef114f31bcb5868ee09d1ebc10f35d07
2024-03-25ttcn3-bts-test: use start_config functionsOliver Smith1-50/+71
As suggested by Pau in code review, refactor the file to use functions for starting the testsuites, SUT and related containers with specific configurations. Related: https://gerrit.osmocom.org/c/docker-playground/+/36389/comment/67a7c35e_766943a3/ Change-Id: If3cb7dbe585c03d21e5ec6353fd25575ccac7af0
2024-03-25ttcn3-bts-test: abort if missing osmo-config-mergeOliver Smith1-2/+4
Change-Id: I9cea4affac0b3981c88078581a070f98649da667
2024-03-25ttcn3-ggsn-test: run with multiple configurationsOliver Smith13-25/+359
The kernel ttcn3-ggsn-tests have been failing since the osmo-ggsn config for kernel-gtp has been adjusted for v4v6 instead of v4 only. This new configuration caused a regression with: * linux kernel without Pablo's GTP IPv6 patches * latest stable release of osmo-ggsn, which does not support IPv6 As the kernel patches aren't merged yet, this caused all tests to fail. Avoid this by running the ttcn3-ggsn-test with multiple configurations: * v4_only: one APN with v4 * v6_only: one APN with v6 * v4v6_only: one APN with v4v6 * all: multiple APNs with all of the above With this change, the tests running in the v4_only configuration will pass again with the stable versions of osmo-ggsn, libgtpnl and kernel. And with new versions, most test in the other configurations will pass too. As discussed with Harald, this does not only split up the configuration for osmo-ggsn with kernel gtp-u, but also with the userspace implementation. The "all" config currently only works with the userspace gtp implementation (OS#6106). Related: OS#6096 Depends: osmo-ttcn3-hacks I6d94a8b18200fbb2119406827b74b83e912e3ecc Fixes: e24442f9 ("ttcn3-ggsn-test: kernel-gtp: add ipv6") Change-Id: Ia2fe0c3ed4ccf06e72fd258d085e4a79cecd5f26
2024-03-25ttcn3-ggsn-test: move confgs to subdirsOliver Smith7-7/+14
Prepare to add variations of the configs: move them to subdirs, so we don't cullter the main directory. Related: OS#6096 Change-Id: I03a06f9f516922c47e3092ff7d7c2c68b0852c1b
2024-03-25ttcn3-ggsn-test/jenkins: add functions for start ggsn/testsuiteOliver Smith1-58/+64
Prepare to run start_ggsn and start_testsuite multiple times with different configurations in a follow-up patch. Related: OS#6096 Change-Id: I0754b0df5f1b0b162732c3db0797f65676553ab0
2024-03-25ttcn3-bts-test: add env var to not run all configsOliver Smith3-45/+128
Make it possible to e.g. run only one of the generic/oml/hopping configurations. I made a version of this patch a few weeks ago for testing OS#6375, and I'm submitting it now so I can add multiple configurations for ttcn3-ggsn-test in the next patch with the same logic. Change-Id: I1dce5e6aa4b5d67f9f8c96ced611ab2875c353c8
2024-03-20openbts-umts: fix apt: use archive.debian.orgVadim Yanitskiy2-0/+7
This helps to get access to Debian 8 repositories in 2024. Change-Id: Ia869476feeb67e2b3313b5d75ca01eaff41597ba
2024-03-18debian-bookworm-build: add libbladerf-devOliver Smith2-0/+2
Related: OS#6409 Change-Id: I3c3fe95d8ebb21f7691a491144885c7deb8049a5
2024-03-07ttcn3-stp-test: enable M3UA-over-TCP testing for masterVadim Yanitskiy2-0/+35
Change-Id: I210b7d62845075dcfe147f2f77603625cc1e64f9 Depends: osmo-ttcn3-hacks.git I5d0b05aa434c057ad379125ac293f5fc9a240b6f Related: osmo-ttcn3-hacks.git I1e2a887aa22f317783b3207494fd707d7b426439 Related: SYS#5424
2024-03-04ttcn3-epdg: Test GTP-U userplanePau Espin Pedrol3-1/+37
Set the assigned IP address for the UE in the EPDG docker container on the eth0 interface. This way the emulated UPF (ttcn3) can test decaps+encaps of osmo-epdg tun by pinging the UE IP address and expecting a pong back. Related: OS#6235 Change-Id: Icc5710b42e5a5374aade6b952e1c543565ffad2e
2024-03-04ttcn3-epdg: Set up params to get GTP-U echo workingPau Espin Pedrol2-0/+4
Set the new module parameter added in the test. Make sure the gtp_u_kmod osmo-epdg.config IP address is updated to the proper docker network subnet. Depends: osmo-ttcn3-hacks.git Change-Id I3fd96f212175959cb113d2f6a362c0e77e5ca0d7 Change-Id: I5cd9dcd6188227baed71823b0cbceb77dc771011
2024-03-04cosmetic: .txt file shouldn't have execute permissions setHarald Welte1-0/+0
Change-Id: Ib1e0a79b97ae1af07e206b3be7762cc805820ae1
2024-03-04ttcn3-ggsn-test: tweak log optionsOliver Smith2-46/+8
Change-Id: I6c3095f4d3378d2026d3720bc32e27ce4c8345b3
2024-03-04ttcn3-ggsn-test: enable dynamic debugOliver Smith3-0/+9
Enable loglevel=8, as otherwise the messages do not show up. Change-Id: I048646c4f90233939809546d30c94c4218eedbb1
2024-03-04scripts/kernel-test: add /dev/nullOliver Smith1-0/+2
Some busybox programs need /dev/null, add it to the initramfs. Change-Id: Ie583ae816b517c10d13d77aa45155fc4d1209c26
2024-02-28ttcn3-pgw-test: Configure open5gs-smfd S2b/S6b/P-CSCF related bitsPau Espin Pedrol4-3/+10
Depends: osmo-ttcn3-hacks.git Change-Id I38e469edf0e00feca5a648035b64645e2c905937 Change-Id: I3ff503990167f52ddb94a7719e2773db3f889a39
2024-02-28ttcn3-ggsn-test: kernel-gtp: add ipv6Oliver Smith1-2/+9
Related: OS#6096 Change-Id: If3549db216ff89bdb963744bb38015ad68d4cf6a
2024-02-21ttcn3-epdg: Give some time for osmo-epdg to startPau Espin Pedrol1-0/+3
erlang osmo-epdg is a bit slow starting up, and sometimes the first ttcn3 test may start when osmo-epdg is still not yet listening on the GSUP socket, specially when the system is on high load. Give some head time to make sure it is properly started. Change-Id: I14e39db6548409b203e15fb562e0b44a90bd44cd
2024-02-21ttcn3-epdg: Create tun with iface name gtp0Pau Espin Pedrol1-6/+6
As done in the default/usual config. Change-Id: I066c22a381ab85762c8ef247a5eb248f7adf6c71
2024-02-19ttcn3-ggsn-test/fragment.config: add NET_NS, VETHOliver Smith1-0/+5
Build the kernel with NET_NS and VETH, so libgtpnl's qemu tests can download the kernel and use it. Related: OS#1952 Related: libgtpnl Ibf75514b866fffb11e90529e4705f126b23d7415 Change-Id: I6e893b64718f853b8595de36c090a1326db34419
2024-02-14epdg: Configure gtpu tunnelPau Espin Pedrol1-1/+21
Related: OS#6235 Change-Id: Ifeece08cdcceb378ae1e195cada5bfef54a1e2bd
2024-02-12fixup: ttcn3-bts-test: do not start osmo-bts-virtual / virtphy containersVadim Yanitskiy1-2/+2
Change-Id: I9a38356be1f970a2b8f1bf51bfc220471502682f Related: OS#6352
2024-02-09ttcn3-bts-test: do not start osmo-bts-virtual / virtphy containersVadim Yanitskiy1-2/+5
We cannot execute the virtphy based testcases due to the limitations of Docker (see https://github.com/moby/libnetwork/issues/2397). The function starting the testsuite was already commented out, but not the lines starting containers with osmo-bts-virtual and virtphy. To put it simple, we start and immediately terminate those containers. And since recently (Feb 1st), we started seeing socket creation errors in both containers, causing jenkins.sh to abort early. It's yet unclear what's the cause of those socket errors, but regardless of that we should still be running other pending testcases. Change-Id: I7c9ccc9cc400edb7a05e222e51671fd49631a4cd Fixes: OS#6352
2024-01-22ttcn3-epdg: Run osmo-epdg with CAP_NET_ADMINPau Espin Pedrol1-0/+3
This will be needed since soon osmo-epdg will start creating tunnel devices througth gtp_u_kmod, which requires CAP_NET_ADMIN, plus it will need probably need to set up local IP addresses. Change-Id: I48eea0e8d7969cc0a3ad2ed08f696decf064c474
2024-01-18ttcn3-epdg: Add section to control loggingPau Espin Pedrol1-1/+26
Similar as to what's defined in osmo-epdg.git/config/sys.config. Change-Id: I7b9a3421b5f0f384324bb0f9b6de3fffdceaef53
2024-01-17osmo-epdg-master: Remove rebar.lock to force build against updated dependenciesPau Espin Pedrol1-0/+1
This way we notice when some dependency update breaks build, and prevents running against old dependencies if developer forgot to update rebar.lock. Change-Id: Ia9112d641e80d1eddcddea1e54e4c135d6efcc5b
2024-01-16ttcn3-epdg: Update renamed config fieldsPau Espin Pedrol1-10/+10
The config file fields have been renamed recently, update them. Depends: osmo-epdg.git Change-Id I63fe4c7acc7460575a921b254adf066134c0527f Change-Id: Ic9f2f33b8ffae7b4273e6fac8a42b6e9e1e38ed8