From 8dc0d488e62323a6f2814a74130934f5ed2bf724 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Fri, 29 Jan 2021 13:17:19 +0000 Subject: tests: tag the tests that do not work with multi-worker configuration If the multi-worker default VPP configuration is triggered by setting VPP_WORKER_CONFIG="workers 2", some of the tests fail for various reasons. It's a substantial number, so this change marks all of the testsets that have this issue, such that they can be addressed later independently. Type: test Change-Id: I4f77196499edef3300afe7eabef9cbff91f794d3 Signed-off-by: Andrew Yourtchenko --- src/plugins/nat/test/test_dslite.py | 2 ++ src/plugins/nat/test/test_nat44_ed.py | 3 +++ src/plugins/nat/test/test_nat44_ei.py | 2 ++ src/plugins/nat/test/test_nat64.py | 2 ++ 4 files changed, 9 insertions(+) (limited to 'src/plugins/nat/test') diff --git a/src/plugins/nat/test/test_dslite.py b/src/plugins/nat/test/test_dslite.py index af256e39fc4..2b4f4aacc9f 100644 --- a/src/plugins/nat/test/test_dslite.py +++ b/src/plugins/nat/test/test_dslite.py @@ -5,6 +5,7 @@ import unittest import struct import random +from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner, running_extended_tests import scapy.compat @@ -33,6 +34,7 @@ from scapy.all import bind_layers, Packet, ByteEnumField, ShortField, \ from ipaddress import IPv6Network +@tag_fixme_vpp_workers class TestDSlite(VppTestCase): """ DS-Lite Test Cases """ diff --git a/src/plugins/nat/test/test_nat44_ed.py b/src/plugins/nat/test/test_nat44_ed.py index 3d8921790ee..f4d53e9f850 100644 --- a/src/plugins/nat/test/test_nat44_ed.py +++ b/src/plugins/nat/test/test_nat44_ed.py @@ -5,6 +5,7 @@ from io import BytesIO from random import randint import scapy.compat +from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner from scapy.data import IP_PROTOS from scapy.layers.inet import IP, TCP, UDP, ICMP, GRE @@ -916,6 +917,7 @@ class NAT44EDTestCase(VppTestCase): "%d" % self.tcp_external_port) +@tag_fixme_vpp_workers class TestNAT44ED(NAT44EDTestCase): """ NAT44ED Test Case """ @@ -1904,6 +1906,7 @@ class TestNAT44ED(NAT44EDTestCase): raise +@tag_fixme_vpp_workers class TestNAT44EDMW(TestNAT44ED): """ NAT44ED MW Test Case """ worker_config = "workers 1" diff --git a/src/plugins/nat/test/test_nat44_ei.py b/src/plugins/nat/test/test_nat44_ei.py index 471d1483cf8..999f91ecda8 100644 --- a/src/plugins/nat/test/test_nat44_ei.py +++ b/src/plugins/nat/test/test_nat44_ei.py @@ -9,6 +9,7 @@ from io import BytesIO from time import sleep import scapy.compat +from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder from scapy.all import bind_layers, Packet, ByteEnumField, ShortField, \ @@ -885,6 +886,7 @@ class TestNAT44EIAPI(MethodHolder): self.assertEqual(256, nat_config.frame_queue_nelts) +@tag_fixme_vpp_workers class TestNAT44EI(MethodHolder): """ NAT44EI Test Cases """ diff --git a/src/plugins/nat/test/test_nat64.py b/src/plugins/nat/test/test_nat64.py index d3bec97801e..9a10b9fc380 100644 --- a/src/plugins/nat/test/test_nat64.py +++ b/src/plugins/nat/test/test_nat64.py @@ -9,6 +9,7 @@ from io import BytesIO from time import sleep import scapy.compat +from framework import tag_fixme_vpp_workers from framework import VppTestCase, VppTestRunner, running_extended_tests from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder from scapy.data import IP_PROTOS @@ -25,6 +26,7 @@ from util import ppc, ppp from vpp_papi import VppEnum +@tag_fixme_vpp_workers class TestNAT64(VppTestCase): """ NAT64 Test Cases """ -- cgit 1.2.3-korg