axsh / openvnet

Data Center Level Virtual Network Toolkit based on Edge Overlaid Network using OpenFlow 1.3.
http://openvnet.org
GNU Lesser General Public License v3.0
74 stars 18 forks source link

Two pass integration test #555

Closed Metallion closed 6 years ago

Metallion commented 6 years ago

Updated the integration test to do two passes.

1st pass

VNA is started on all hosts before the database is populated using vnctl commands.

Execute all specs

2nd pass

VNA is started on all hosts after the database is populated using vnctl commands.

Execute all specs

The reason for this

Up until now the integration test only started VNA after all the vnctl commands had been executed. While implementen OpenVNet in several projects, I ran into a lot of bugs that occur only when VNA is started before. In order to reproduce those, I've added the two pass system. Now we have an environment to test against while we fix them.

For now I've set the test a configuration flag to make the integration test run the same as before, starting VNA only after vnctl commands. That way develop can remain green while we fix these problems in other branches.

rakshasa commented 6 years ago
promiscuous_seg_ovs: failure
promiscuous_seg_of: failure

CI passes except the promiscuous tests, which are being removed by #552.