[Swan-dev] testing vms to F30

Antony Antony antony at phenome.org
Sun Jun 23 16:25:15 UTC 2019


F30 for testing got a bit better, I fixed networking issues using 
systemd-networkd. Old ifcfg etc/sysconfig/network-scripts/ifcfg-eth* 
wouldn't be used in testing for F30. Once we migrate to F30 and feel it 
stable we should remove ifcfg-eth* files to avoid confusion.

Here are two runs of the same code to compare between  F28 and F30 runs.  
And I hope we can move to F30 soon.

Paul: wing you magic wand of comparing two runs and let me know what you 
find besides byte count and our usual intermittent issues.

https://swantest.libreswan.fi/s3/v3.28-290-gd64fb545fa-master-f30-fixed/

https://swantest.libreswan.fi/s3/v3.28-288-g296cf669df-master/

If you want to compare before I fixed up:\
https://swantest.libreswan.fi/s3/v3.28-288-g296cf669df-master/
https://swantest.libreswan.fi/s3/v3.28-288-g296cf669df-master-f30/

Biggest changes are 
--- MASTER/testing/pluto/ikev2-04-basic-x509/east.console.txt
+++ OUTPUT/testing/pluto/ikev2-04-basic-x509/east.console.txt
-default via 192.1.2.254 dev eth1
-192.0.1.0/24 via 192.1.2.45 dev eth1
+default via 192.1.2.254 dev eth1 proto static
+192.0.1.0/24 via 192.1.2.45 dev eth1 proto static onlink

I think the bytes count changes depend on kvm setup and load.  
https://swantest.libreswan.fi/s3/v3.28-290-gd64fb545fa-master-f30-fixed/xauth-pluto-25-lsw299/OUTPUT/east.console.diff

-006 #2: "east-any"[1] 192.1.3.33, username=xnorth, type=ESP, add_time=1234567890, inBytes=336, outBytes=336, lease=192.0.2.101/32
+006 #2: "east-any"[1] 192.1.3.33, username=xnorth, type=ESP, add_time=1234567890, inBytes=1228, outBytes=738, lease=192.0.2.101/32

note the outbyte change from 336 to 738? this is odd to me. Harder imagine 
what is going on here. I thought in the past we only saw byte count going 
down in full testrun.  Now we are seeing it is way higher than the ping 
clear text bytes. Also mostly xauth tests. It is a mystery.

I also curious to see F30 testrun output on testing.libreswan.org to compare 
with my testrun. Andrew if you get a chance please run one commit with F30 
and F28.


-antony

On Sun, Jun 16, 2019 at 02:56:47PM +0200, Antony Antony wrote:
> I put few more changes to make testing VM migrate to F30 using 
> systemd-networkd
> 
> It seems to work for me, atleast on one server. Would someone else please 
> test it and let me know? 
> You will need the following two lines in your Makefile.inc.local
> 
> KVM_OS=fedora30
> KVM_OS_VARIANT = fedora28
> 
> on one server I got it working and when I tried to double check I started to 
> see weired erros in the last couple of days.
> 
> 2019-06-16T12:51:45.854165Z qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=swansource,bus=pci.1,addr=0x0: cannot initialize fsdev 'fsdev-fs0': failed to open '/home/build/libreswan': Permission denied
> Removing disk 'swanfedora30base.qcow2'
> 
> and networks would fail etc..
> 
> NOTE:
> I have disabled selinux on the guest VM for now. It failes to start network,
> systemctl start systemd-networkd 
> 
> input from SElinux experts welcome, look at fedora30.ks
> 
> -antony


More information about the Swan-dev mailing list