[strongSwan] strongswan test

zhuyj mounter625 at 163.com
Thu May 7 13:08:31 CEST 2015


Hi,

I run strongswan test on ubuntu 14.04 server.
This is my step:

1.wget http://download.strongswan.org/strongswan-5.3.0.tar.bz2
tar xvf strongswan-5.3.0.tar.bz2

2. apt-get install debootstrap -y
apt-get install e2fsprogs -y
apt-get install kvm -y
apt-get install libvirt-bin -y
apt-get install parted -y
apt-get install qemu -y
apt-get install wget -y
apt-get install gcc -y
apt-get install make -y

3. ./make-testing

4. ./start-testing

5. ./do-tests ikev2/net2net-psk ikev2/net2net-cert

The result is as below:
./do-tests ikev2/net2net-psk ikev2/net2net-cert
Guest kernel : 3.15.1
strongSwan   : 5.2.2
Date         : 20150507-1850-13

[....]  1 ikev2/net2net-psk: ssh: connect to host 192.168.0.2 port 22: 
No route to host
pre..test..postssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host
ssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host
[FAIL
ssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host
[....]  2 ikev2/net2net-cert: ssh: connect to host 192.168.0.2 port 22: 
No route to host
pre..test..postssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host
ssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host
[FAIL
ssh: connect to host 192.168.0.1 port 22: No route to host
ssh: connect to host 192.168.0.2 port 22: No route to host

Passed : 0
Failed : 2


The results are available in 
/srv/strongswan-testing/testresults/20150507-1850-13
or via the link http://192.168.0.150/testresults/20150507-1850-13

Finished : 20150507-1856

The test does not succeed.

Why? what is wrong with the above test steps?

Any reply is appreciated.

Thanks a lot.
Zhu Yanjun



More information about the Users mailing list