aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-18jolly testingjolly/testingAndreas Eversberg7-1/+137
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
2024-01-16ttcn3-epdg: Set new osmo-epdg diameter connect/wathdog configsPau Espin Pedrol2-0/+13
Depends: osmo-epdg.git Change-Id I99b5e02264c2c35a3fbfcd2d6083a07e2cfea566 Change-Id: I3632abb8b33d5f2636f443573196d73ea8d3c818
2024-01-10upgrade gerrit to 3.7.6Harald Welte1-1/+1
Change-Id: I6266b1dbfbad71aca95d45f812354f7336b8bd69
2024-01-10debian-{buster,bullseye}-jenkins: Add python3-cryptography from debianHarald Welte2-0/+2
This avoids having to use rust to build the cryptography module during pySim requirements.txt Change-Id: I9246c9260b1d227ce6e290058caa33e04407d11f
2024-01-09ttcn3-msc-test: also execute ASCI (VBS/VGCS) testcasesVadim Yanitskiy1-0/+1
These new testcases were added to osmo-ttcn3-hacks.git back in August 2023 (see the related patch), but have never been executed automatically on Jenkins because the config file was not updated in this repo... Change-Id: I9ec0a03658ead382eaaef175090cfc3650ffd9b7 Related: osmo-ttcn3-hacks.git I4bbe739ea55ecf9f7ebf9ee413df69f29aa642f8
2024-01-09ttcn3-msc-test: set 'hlr' / 'ipa-name' explicitlyVadim Yanitskiy1-0/+1
Old osmo-msc versions do not include the Source Name IE in SMS related GSUP messages, unless it's set explicitly in the config file ('hlr' / 'ipa-name'). Recent osmo-msc versions (see the related osmo-msc patch) do include this IE even if it's not set explicitly ('unnamed-MSC'). Because of this, some testcases in ttcn3-msc-test are currently failing for osmo-msc master, but still passing for the -latest. Let's set the 'ipa-name' explicitly in osmo-msc.cfg, so that we can expect both -master and -latest to include the Source Name IE. Change-Id: I7757aae1d01b679f530b5c0a6c95b224cb9f204f Related: osmo-ttcn3-hacks.git Ic24d3082fe3dce08e43e8f3ecb6d6132503c55c6 Related: osmo-msc.git I7bacd001b81326c32bc262c7d0c0491ded822fa8 Related: OS#6135
2023-12-22mme: Use LAC from SGSN with most significat bit set to 0Pau Espin Pedrol2-2/+2
Adapt to the new default value used by ttcn3 tests. Depends: osmo-ttcn3-hacks.git Change-Id Iaf89228f6f026e04d5f583211959025e6d8d4a1d Change-Id: Ifefbd9bf2ed1bce8089e3dc4c6f9fe901e72308e
2023-12-22ttcn3-mme: Set log level of open5gs-mmed to debugPau Espin Pedrol2-2/+2
INFO is in general not enough to debug tests. Change-Id: Ic91571f0caf138dc2ac798d75b0600ad265473c3
2023-12-15ttcn3-bts-test: set PCUIFv12 for both -master and -latestVadim Yanitskiy4-10/+5
osmo-bts v1.7.2 (recently tagged) now also speaks PCUIFv12. Take a chance to fix ttcn3-bts-test-2023q1 by setting PCUIFv10. Change-Id: I70f0c30d6c514614095dcbbcac5d025001861fbc
2023-12-15ttcn3-pcu-test: set PCUIFv12 for both -master and -latestVadim Yanitskiy4-22/+4
osmo-pcu v1.4.0 (recently tagged) now also speaks PCUIFv12. Change-Id: If0b2209af645f391817f65b4227736b52ca59e2e Related: OS#6191
2023-11-29ttcn3-pcu-test/sns: fix PCUIF version number (follow up patch)Philipp Maier1-0/+9
Unfortunately we had to revert [1] because it worked for current master but not for latest. The mistake here was to change the PCUIF version number in PCU_Tests.cfg to PCUIF v12. This is indeed the correct version for current master, but latest still uses v11. Also the change we made in jenkins-sns only affected 2023q1 builds, it does not affect latest. This is the reason why the previous patch broke latest. This follow up patch now copies the approach we already successfully use with the normal ttcn3-pcu-test / ttcn3-pcu-test-latest. (see also jenkins.sh) [1] I0b37f01f4c7bb829053231339e39ab734f4c8cbc Change-Id: I1f94a0459e35d7b5632c81d7f7e2e60eb0d0229f Related: OS#6275
2023-11-29Revert "ttcn3-pcu-test/sns: fix PCUIF version number"Philipp Maier2-2/+2
Unfortunately this patch only fixes ttcn3-pcu-test-sns but it breaks ttcn3-pcu-test-sns-latest, this means a different solution is needed. This reverts commit c9820d7b36eb3f75c32d193394da46aad9406cb2. Change-Id: I101d27ae8ed7449b199e49795a3561436c2532dd Related: OS#6275
2023-11-28ttcn3-pcu-test/sns: fix PCUIF version numberPhilipp Maier2-2/+2
The current master of OsmoPCU is now using PCUIF version number 12. However, the configuration file of the the SNS tests still sets it to 11. Related: OS#6275 Change-Id: I0b37f01f4c7bb829053231339e39ab734f4c8cbc
2023-11-23open5gs configs: update to current formatOliver Smith7-116/+141
Adjust open5gs configs to the new formats from: https://github.com/open5gs/open5gs/pull/2739 This fixes all open5gs programs from crashing on startup with various errors such as: 11/21 07:39:25.971: [core] FATAL: epoll_init: Assertion `context->epfd >= 0' failed. (../lib/core/ogs-epoll.c:77) Related: OS#6267 Change-Id: Idf2706f3904eb06e94cee0728faa17e72a6cf1f6
2023-11-23open5gs configs: duplicate cfgs for latest/masterOliver Smith18-14/+328
The config format just changed significantly in main/master. Duplicate the configs, so we can run latest with the old versions. Related: OS#6267 Change-Id: I2446695172b92ccf75305f878cb932a82e44fdd2
2023-11-23open5gs configs: remove commentsOliver Smith7-2973/+16
A lot of these comments got outdated with recent config changes in the related PR. Instead of syncing the comments again and having a big diff, remove the comments once and then only have diffs of actual config changes in future patches. This will make it easier to maintain these configs. Related: https://github.com/open5gs/open5gs/pull/2739 Change-Id: I67c2a198b9682e15e23a466380e62a976e6236cd
2023-11-21ttcn3-bts/pcu-test: Use PCUIF v12 for current master and PCUIF v11 for latestPhilipp Maier2-0/+23
At the moment we use PCUIF v11 in latest and in master. This will now change (see Depends) so that we will have to use v12 in master. This patch adds the necessary conditional config changes. Depends: osmo-pcu.git I48eb75f65ab54fdec41ef913e24c1f18cd4a4047 Change-Id: I5c0914c0bf906b51a500a3b099578700798cf8c0 Related: OS#6191
2023-11-15Use 2023q1 osmo-ttcn3-hacks branch for 2023q1 SUTsOliver Smith1-0/+22
Fix the TTCN3-centos-pcu-test-2023q1 jenkins job where currently most tests are failing. This is because 2023q1 is using an older PCUIF version that is no longer supported by osmo-ttcn3-hacks.git. As discussed, use a 2023q1 branch of osmo-ttcn3-hacks where the support was not removed yet. Fixes: SYS#6638 Change-Id: Id82425aca4a8ff87feb8a130d31712bc62fa27ed
2023-11-11ttcn3-dia2gsup-test/osmo_dia2gsup: set connect timer to 200 msAlexander Couzens1-0/+1
Related: OS#5657 Change-Id: I22839cdf76120bb6152b32059822001cbd7979d8
2023-11-09ttcn3-hnbgw: Use new module param mp_hnbgw_timer_x31Pau Espin Pedrol1-0/+2
Depends: osmo-ttcn3-hacks.git I176ef96e193f2ca39077bcee3a2187768ddb45ce Change-Id: I98e1d4d649ea07b006a7d4c15f8d94a9b4b3de1d
2023-11-09ttcn3-hnbgw-test: reduce X31 to 5sOliver Smith2-0/+6
Set X31 to 5s as expected by the testsuite to fix currently failing: - TC_ranap_cs_mo_disconnect - TC_ranap_ps_mo_disconnect It was recently increased to 15s in the related patch. Related: osmo-hnbgw I24225cfc0addf326c239ec658a27b93b83a3e751 Change-Id: I223d38e9ec2ca0f9f2ce2ac5311932789f328c9a
2023-11-06sigtran-tests: Add note on why this is still using busterHarald Welte1-0/+3
Change-Id: I403401be7e469085f9a82944b3eaa6b8c8ea6319
2023-11-06redmine: run 'apt upgrade' in Dockerfile to get glibc fix from DebianHarald Welte1-0/+1
https://lwn.net/ml/oss-security/20231003175031.GA16924@localhost.localdomain/ Change-Id: Ice5c5e86cd519446fc59c09d64b20836f998d384
2023-10-23ttcn3-epdg: Configure S6b interfacePau Espin Pedrol2-1/+9
Configure the newly added S6b interface on both TTCN3 emulation code as well as osmo-epdg. Depends: osmo-ttcn3-hacks.git Change-Id Ia50698a3f6f5ed8251486b84c09f84edfd6d3951 Depends: osmo-epdg.git Change-Id Ia2b138317cb291a95882853f5403949c5e6a5a1b Change-Id: I1145ee1068a2fdd2fe8d3e48b80c8e6c1fcb50ad
2023-10-19ttcn3-epdg-test: Update config file to set up GTPv2C socketPau Espin Pedrol1-1/+8
Depends: osmo-epdg.git I6f00b7fce2d5fcdc484bfd45629b9141f16bc579 Depends: osmo-ttcn3-hacks.git I8f18c927b1897806233cc9d049c25694c1e639d4 Change-Id: I05ae2d87e16cef9772bc5c3690f687e5ecbd5f51
2023-10-17Introduce ttcn3-epdg-testPau Espin Pedrol5-0/+93
Change-Id: I77a4d66c1bd0236dee8fc54e03a9d6bf8d63f204
2023-10-17Introduce osmo-epdg-masterPau Espin Pedrol5-0/+34
Related: OS#6204 Change-Id: Iefc43ffa47f443f2826b8979d4dd0c5542dda1c5
2023-10-16debian-bookworm-erlang: use debian's rebar3Oliver Smith1-11/+2
Use debian's version of rebar3 instead of downloading a binary. This was useful when the container was based on debian 11 where rebar3 wasn't in debian's repositories. Debian 12 has version 3.19.0. This also solves a caching problem on one of the jenkins nodes, which currently fails at this line: ADD https://github.com/erlang/rebar3/archive/refs/tags/${REBAR3_VERSION}.tar.gz /tmp/rebar3.tar.gz with: ERROR: failed to solve: failed to load cache key: invalid not-modified ETag: "fce57989250a021a2be5fe5eddd655d6d415eef04f769bf1437f3d6dddfa5559" My understanding is that docker has cached an ETag that is no longer valid / maybe the format changed - and instead of simply requesting the file again, it just fails there. Related: https://en.wikipedia.org/wiki/HTTP_ETag Change-Id: I69e02d004a0bd6f9d3a462f4e184b3e9361cc7fe
2023-10-16common/ttcn3-docker-run.sh: add TEST_NAME env varOliver Smith2-1/+25
Make it possible to run only one test by setting an environment variable. Change-Id: I1f45a05e089b429918096fcd64f7c02033d5a9dd
2023-10-15ttcn3-hss-test-ogs: Adapt mongodb db setup to pass new testPau Espin Pedrol1-5/+14
Add DB config for new subscriber required by TC_ulr_ula_subscr_op_det_barring_7. Depends: osmo-ttcn3-hacks.git I8deea9e284447f8991bdeced982c14fae2f211c5 Related: SYS#6588 Change-Id: I42d6af42bada50c55914ec94c4090fccbe8d1c97
2023-10-15Introduce ttcn3-hss-test-ogsPau Espin Pedrol7-0/+492
Related: SYS#6588 Depends: osmo-ttcn3-hacks.git Ic2fccd9c54aea04f1a31649a0af47c974939fb2f Change-Id: Iebeefd9689ae2efa54678b99ff929ca255ec64d1