]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgp_vrf_netns: do not run test on 32 bit linux machines
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 13 Mar 2018 12:06:10 +0000 (13:06 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:13 +0000 (20:22 -0500)
It seems vrf netns is not working on 32 bit platforsm.
For that, the test should be cancelled.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py

index 780a62e2e93f36ad875887c8f6a7580cfa7af6c4..1cb70113105b3f1cb96eee30d2d08129cd4151ce 100755 (executable)
@@ -97,6 +97,10 @@ def setup_module(module):
             return  pytest.skip('Skipping BGP VRF NETNS Test. VRF NETNS backend not available on FRR')
         if os.system('ip netns list') != 0:
             return  pytest.skip('Skipping BGP VRF NETNS Test. NETNS not available on System')
+        osbased = router.run('uname -m').rstrip()
+        osrestriction = ['i686','i386']
+        if osbased in osrestriction:
+            return  pytest.skip('Skipping BGP VRF NETNS Test. NETNS not available on 32 bit machines')
     # retrieve VRF backend kind
     if CustomizeVrfWithNetns == True:
         logger.info('Testing with VRF Namespace support')