From e0fac6ad5e0d5f3cdf575505a95126e66ec306cd Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 13 Mar 2018 13:06:10 +0100 Subject: [PATCH] bgp_vrf_netns: do not run test on 32 bit linux machines It seems vrf netns is not working on 32 bit platforsm. For that, the test should be cancelled. Signed-off-by: Philippe Guibert --- tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py index 780a62e2e9..1cb7011310 100755 --- a/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py +++ b/tests/topotests/bgp_vrf_netns/test_bgp_vrf_netns_topo.py @@ -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') -- 2.39.5