Hi Wolfgang, The easiest at the moment is namespace testing. If you have Fedora 32 VM or host namespace testing would work. That is getting more attention. It also known to work on CentOS and few tests on Debian.
The Docker teesting has been falling behind. I use it more for Compiling using various distros than testing. I want fix Docker testing at some point soon:) regards, -antony On Fri, Aug 07, 2020 at 09:13:30AM +0200, Wolfgang Nothdurft wrote: > I'm trying to get into the testsuite to maybe create some testcases for > xfrmi and fwmwark. > > At the moment it won't run out of the box and before I invest more time it > might be easier to take an old machine and set up fedora with kvm. > > Problems I had with the docker till now: > > PWD is not set by default, so I had to add it to the make command: > > sudo make PWD=$(pwd) DISTRO=fedora DISTRO_REL=32 docker-image > > By default the swanbase is build with podman: > > DOCKER_CMD ?= sudo podman > > but the swantest script uses docker (../../utils/swantest --docker), so I > had to push the swanbase container from podman to docker manually. > > sudo podman push localhost/swanbase:latest docker-daemon:swanbase:latest > > I had to add some missing packets to Dockerfile-fedora-min-packages (maybe a > fedora 32 problem) > > RUN dnf install -y tcpdump iptables iputils nss-tools > > but it seems that there are still problems, because all tests failed. > > At the moment the container missing their ip adresses. > > --- east.console.txt 2020-08-05 06:46:17.219696311 -0400 > +++ OUTPUT/east.console.txt 2020-08-07 02:53:52.051126067 -0400 > @@ -13,10 +13,6 @@ > 000 > 000 interface lo UDP 127.0.0.1:4500 > 000 interface lo UDP 127.0.0.1:500 > -000 interface eth0 UDP 192.0.2.254:4500 > -000 interface eth0 UDP 192.0.2.254:500 > -000 interface eth1 UDP 192.1.2.23:4500 > -000 interface eth1 UDP 192.1.2.23:500 > > Does it make sense to get deeper or is the state of the docker testsuite > broken and not recommend. > > Thanks > Wolfgang > > _______________________________________________ > Swan-dev mailing list > Swan-dev@lists.libreswan.org > https://lists.libreswan.org/mailman/listinfo/swan-dev _______________________________________________ Swan-dev mailing list Swan-dev@lists.libreswan.org https://lists.libreswan.org/mailman/listinfo/swan-dev