Commit
2b9c8e3db8cf77c5ce5c3f888365f983f3ee8d76
by Pau Espin Pedrol
ttcn3-docker-run.sh: Fix dumpcap failing to access /data inside docker
In docker, the /data dir is mapped to $VOL_BASE_DIR, which is created by docker-playground.git jenkins-common.sh, hence as the user running jenkins.sh in the host system. As a result, when the dir is mapped to /data, inside the container it will have the UID:GID of the outter user, not the one inside docker.
Before this patch, if a ttcn3 container was started in jenkins.sh with --cap-add=NET_ADMIN, then osmo-ttcn3-hacks.git/ttcn3-tcpdump-start.sh would select dumpcap instead of tcpdump, to attempt to record a pcap file to /data/$testcase.pcap. Due to some unknown way of dropping privileges done by dumpcap though, it was unable to open the /data/$testcase.pcap due to /data being owned to another user (tcpdump doesn't have this problem).
This patch fixes the above scenario by making sure /data is chowned to the user running stuff inside docker. This is already kinda expected since there's a fix_perms() script in jenkins-common.sh reverting files created during the test so that they can be accessible by outter user once everything is finished.
Commit
141dd4f018a34037113fbe8a21f67843533184e0
by Oliver Smith
ttcn3-ggsn-test-ogs: run smf in 4g only mode
Remove the SBI related configuration, so open5gs-smf does not attempt to connect to the NRF every few seconds.
Fix for: [sbi] WARNING: [299d78ae-fae5-41ee-84a3-dbd9fa117ce7] Retry registration with NRF (../lib/sbi/nf-sm.c:182) [sbi] WARNING: [7] Failed to connect to 127.0.1.10 port 7777 after 200 ms: Couldn't connect to server (../lib/sbi/client.c:698)
Commit
133f2fcd2f5c1a57a656123f674c6343b19d6516
by Oliver Smith
debian-*: install pylint from debian repos
Get pylint from the debian repositories to be on the same version until we use the next debian version, instead of always installing the latest pylint version from pip.