aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-07-17CSIT-1186: Add srv6 NDRPDR suitesVratko Polak13-620/+616
Delete the corresponding ndrpdrdisc suites. MRR suites are also edited, to make them less different from NDRPDR suites. Now, there is a script to re-generate testcases of selected suites. For that, resources/libraries/python/autogen is created, with Regenerator holding the most of script logic. The script looks at files matching a glob expression, reuses a "prolog", but overwites test cases with the default template and hardcoded set of testcase arguments. Also, handling of overhead size has been simplified, using new keyword Get Max Rate And Jumbo And Handle Multi Seg. Default value for search timeout is increased to 12 minutes to make timeout failures less frequent. Change-Id: I394ad61f262b3078e5ca719034b15ada48987ee0 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-07-17Refactor DPDK testcases to new structurePeter Mikus23-2154/+1602
+ RXQ refactor Change-Id: Ic03a2e208b9fe5d324a5ed75a603af4cff1854a9 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-16Add L2xc/L2bd/Ip4/Ip6 2-node tests for x710Peter Mikus16-0/+2107
- CSIT-1161 Add 2-node L2XC tests - CSIT-1160 Add 2-node L2BD tests - CSIT-1157 Add 2-node IP4 tests - CSIT-1153 Add 2-node IP6 KW - CSIT-1158 Add 2-node IP6 tests Change-Id: I7c8fed7018bb355c0de73f6a8bc3a8ec80366972 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-16FIX: VTS suitePeter Mikus1-24/+24
Change-Id: I1766ac51ac34b63feab80329c1ae2c62fc6d8496 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-13Refactor perf test casesPeter Mikus310-29595/+6628
- Refactor Performance TCs due to changes in Hyperthreading and RXQ allocations. - Simplify the structure of suite to avoid large refactors in future. Change-Id: Ifb1b9719391f26745f075a900bd9fb39b6cb809c Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-11CSIT-1178: Prepare for bursty MRRVratko Polak134-139/+164
+ All suites and tests still refer to MRR instead of BMRR (or FRMOBL). + API change: Traffic should pass with maximum rate first argument got a default value, thus it needs to be moved towards the end of argument list. + Consequently, the value for it has been deleted from suites. + Test message is now compatible only with BMRR parsing. - Reporting of transmit rate is left as TODO. + Global test __init__ with new way of giving defaults to global variables. + The new keyword is put into robot_enhancements.robot resource. + Number of trials and trial duration are now configurable. - Bootstrap scripts have no support for overriding the defaults yet. Change-Id: I4b108cc9c256730e62c03fbacba0a1c314f8ae88 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-07-10Remove THIS tag and use unix endlinesVratko Polak4-1160/+1160
The THIS tag has sneaked in 10Ge2P1X520-Eth-L2Xcbase-Eth-1Memif-1Dcr-Mrr but usually it is only to be used in draft testing. Not sure about the way non-unix endlines crept in. Is not git supposed to perform endline conversions on text files? Or are .robot, .rst, .yaml and .vat not recognized as text? Change-Id: Ia78cf942c05c3029c340a8639782786f37e57469 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-07-10CSIT-1142 2-node topology - keywords DPDKPeter Mikus8-122/+122
Change-Id: Ia2676a7b846bd574aa86703fce6b0e3218f98776 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-09FIX: use correct match_n_vectors value in IPx iACL TC03Jan Gelety2-2/+2
Change-Id: I2e454a2410ffda2673745e6415666a0f96291491 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-07-09CSIT-1142 Change thread perf test TAGsPeter Mikus338-7909/+7909
Due to automatization of SMT detection this change is suppose to remove static thread/core tags in favor of dynamic one. Leaving the static tags for number of physical cores to be able to select TCs. Change-Id: I7f99f605821f363e45c333f46d1dea786693521b Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-09CSIT-1142 2-node topology - keywordsPeter Mikus307-842/+842
- Clean up of 2-node setup KWs Change-Id: I59fc901fb57544eceb6a041b56b515cda8babf85 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-03VTS VXLAN vhost-user with single DUT, TG sends VXLANPeter Ginchev1-0/+329
Change-Id: I63539af2cdbdbd02a67068e48d0fdf2743da3b1e Signed-off-by: Peter Ginchev <pginchev@cisco.com>
2018-07-03CSIT-1046 Make uio driver configurable from topofilesPeter Mikus1-3/+1
Currently we are configuring uio_driver from global variable. This may not be suitable for various topologies where we need different driver per TB. This patch is suppose to put uio_driver into topology files. Change-Id: I56af0697e8b2359ccb126151217976408720c1ba Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-07-02Compatibility fixes with Ubuntu 18.04Peter Mikus1-1/+3
Currently we are using ip:port socket to for VPP to listen for incoming connections. There is only one place in code this socket is used for detection if VPP is responding after restart. This patch is supposed to change ip:port to sock:file which is default preffered way in VPP. This way we can start using vppctl. netcat on the other side with ip:port remains hanged in console for infinite time not returning back. There is also need to check whether uio_module is loaded and eventually load it. As uio_pci_generic is not working there, we will fallback to main igb_uio (uio_pci_generic being only lightweight subset of igb_uio). This patch also add additional verbose output to console during setup to better understand if failure happens during copy/extract/setup. Change-Id: I0b8a3b76dce3316496a3ad928f58718b6e73057d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-29SetupFramework to detect failures, part IIPeter Mikus4-2/+9
- This patch is enforcing evaluation and aligning all __init__.robot files to use the same logic. Change-Id: I9e2bf5e904bb6d22f4e6a153c951c3b3c233e2fb Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-21Fix TC02 test case in mgmt-cfg-int-subint-apihc-apivat-funcMichal Cmarada1-0/+2
Add wait for interface to be up, because it takes some time while the interface state changes. Change-Id: I895dea1017ac0ffd099e80d9edca0f1d127657dd Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-21HC2VPP-331: Fix Honeycomb fails to assign VRF to interfaceMichal Cmarada2-31/+33
- add configuration for FIB table management to test suite - fix routing test suite HC2VPP-331 bugs - fix intip4-intip6 test suite HC2VPP-331 bugs Change-Id: I0b1e9ed787d9fb68e76a6d61c1eea2519a36a6c4 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-06-15CSIT-1085 eth-l2xcbase-eth-1memif-1dcrPeter Mikus4-0/+1160
Test case definitions Change-Id: I03736ef003d3839859dc450745323362b21aa75e Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-13FIX: TAG processingPeter Mikus2-2/+2
- Improve TAG post processing Change-Id: I5a36f5874ea747cbcae2562fc58c9f5abe9bac02 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-08CSIT-1114 Add DPDK download to bootstrapPeter Mikus5-17/+13
- Add downloading artifacts to bootstrap to be able to use latest dpdk version Change-Id: I5f07e8207780b81ad85b6053db99639c47448409 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-08CSIT-1081 Container VPP configuration refactorPeter Mikus17-0/+17
Adopt code for various topology configurations. Change-Id: Iaf9d7995ab8cd06da0c56c5e5664d57d19e74d7c Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-06-07CSIT-1121: Add "Get DPDK version" KW to DPDK testsTibor Frank1-2/+2
Change-Id: I6152b3b7d4895a376914166d03ee9ca15ea9eb32 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-06-05CSIT-1115: Add dpdk mrr testsTibor Frank4-0/+875
Change-Id: Ib9d060f7e0d476b79debc750409da5277478e5b4 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-06-01VPP link bonding - lacp modeJan Gelety8-0/+2774
CSIT-1072 CSIT-1083 CSIT-1084 Change-Id: Icaf0e09af633d301306a84251f47822e95b411a2 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-06-01HC Tests: disable failing ACL ODL tests (HC2VPP-337)Marek Gradzki1-0/+18
Change-Id: I1fa3e3876bcc0b4f5e9908cb4f6920d49eb6dd45 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-31DPDK link bonding: xor modeJan Gelety8-0/+2760
CSIT-1073 CSIT-1074 CSIT-1077 Change-Id: I248e079021c30988210fd792b32d5afdca71aadb Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-05-25HC Tests: mark VRF assignment tests as failing (HC2VPP-331)Marek Gradzki2-0/+22
Failures might be related to: https://gerrit.fd.io/r/#/c/12643/ Change-Id: I0c60d51e27508f937a4b2d6c6b5e6f0703f793ab Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-25HC Tests: mark unnumbered interface tests as failing (HC2VPP-330)Marek Gradzki2-0/+16
Failures might be related to: https://gerrit.fd.io/r/#/c/12632/ and/or: https://gerrit.fd.io/r/#/c/12646/ Change-Id: I529582ef95b6cf752a3f0e98cd0326d4a01d15a8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-23CSIT-1087: Add SRv6 MRR testsTibor Frank12-16/+1535
Change-Id: Ia90a9bff6791518ba08fa81e6167e96aea7714d5 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-05-17HC tests: fix log archiveMarek Gradzki1-1/+1
Use 'Archive Honeycomb logs' instaed of Archive Honeycomb Logs. The keyword was renamed by https://gerrit.fd.io/r/#/c/12578/ Change-Id: Ic0e2759637ecd0056b7accc3cd96bd8510a2ed14 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-17HC Tests: fix CPU layout retrieval in the HC perf jobMarek Gradzki1-0/+1
Change-Id: Id99e41a28d01e41d6fb51190d4ab86b667f828af Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-16HC tests: archive ODL logs (CSIT-1031)Marek Gradzki1-1/+1
Change-Id: I444a5d6cd32cb9ee68575dfdb5a208de2c4eb72a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-14CSIT-1036 Expose option to install DKMS in containerPeter Mikus14-0/+14
Expose DKMS installation as suite variable. This will allow to use DPDK driver for future tests. Change-Id: I38fd014c8cf6f4bf42881af2196cadc679fe53e0 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-05-10Cleanup DPDK framework setupPeter Mikus1-2/+4
Moving installation of DPDK into KW instead of framework setup. This will unify the framework setup and allow future optimizations. Change-Id: I360ba95a2858e73e4bbb12020567d5d174ab69ca Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-05-10HC2VPP-253 - Update routing csit jobsMichal Cmarada1-1/+1
this fixes test failures caused by HC2VPP routing models bump (https://gerrit.fd.io/r/#/c/10954) - updates tests for bgp routing - updates tests for routing - updates SLAAC test because of changes in rt-advertisements Change-Id: Iacc37b42e6523f440d77241c18ca8e61d1d01f23 Signed-off-by: Michal Cmarada <michal.cmarada@pantheon.tech>
2018-05-09Report: Fix grepsTibor Frank5-5/+5
Change-Id: I450d5e9fa1cbd4a40caec68f3fc4674f744f1168 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-05-04CSIT-992: Add two suites using optimized searchVratko Polak2-0/+314
+ Add 10ge2p1x520-ethip4-ip4base-ndrpdr.robot + Add 10ge2p1x520-eth-l2bdbasemaclrn-eth-2vhostvr1024-1vm-ndrpdr.robot + Make sure both IMIX and 9000B test cases are there. + Document NDRPDR test tag. + Execute some of NDRPDR tests daily. Change-Id: I66427d49cb6b8304fde4e8d91606de33b624186a Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-05-04FIX: TCP perf testsTibor Frank1-2/+2
Change-Id: I59ad8ef70fc2bedce14b52359922a002f960ab7a Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-05-02FIX: Docker container imagePeter Mikus3-3/+3
Change-Id: I127fe11b9095fb24a536dce7d6c26c7e7fd4be4e Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 64da7d69dfe8d8f89656dc3dba56b0eaef059020)
2018-05-02Remove obsolete NDRPDR checksPeter Mikus38-7886/+0
Change-Id: If495493f4dce8d2eecfb8c06bcd587f315b70b1d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-04-27FIX: Add api-segment conf to TCP testsTibor Frank1-1/+3
Change-Id: Idf778d8427c8dabf716090cdaeba189e8cccfb98 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-04-27FIX: tc12-IMIX-4t4c-eth-l2bdbasemaclrn-mrrJan Gelety1-1/+1
Change-Id: I193411e97f069982fca8408e5e5a42cd577586ed Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-04-24Use /64 prefix for IPv6 subnet on vhost interfaceNeale Ranns1-1/+1
Change-Id: Iee512d6f5c107e7b2e5fdc7412e07d34a1c6bbd0 Signed-off-by: Neale Ranns <nranns@cisco.com>
2018-04-24FIX: TCP perf testsTibor Frank1-1/+1
Change-Id: I6424722641b0cefdf1945b57996bf2c48dc86a3b Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-04-23CSIT-1009: SRv6 proxy testsJan Gelety3-0/+828
- SRv6 with endpoint to SR-unaware Service Function via static proxy - SRv6 with endpoint to SR-unaware Service Function via dynamic proxy - SRv6 with endpoint to SR-unaware Service Function via masquerading proxy Change-Id: I6a6062cb41d810bf9e27dacfd866181bfde4c693 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-04-20FIX: Restart VPP in container before each testPeter Mikus11-11/+33
Change-Id: Iec7045aadc0675e04b8c74cbe28f8b3f193bcf1f Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-04-20FIX: Configure number of memif queus properlyPeter Mikus11-22/+22
Change-Id: I2dcb0300829bc961c80cc30d972d0563aeba9364 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-04-17Update of VPP_STABLE_VER filesJan Gelety2-0/+2
- use new vpp ref build - ubuntu 16.04: 18.07-rc0~49-gfe7d4a2~b4105_amd64 - use new vpp ref build - centos7: 18.07-rc0~49_gfe7d4a2~b4073.x86_64 - two IPSEC-LISP-GPE test suites tagged "EXPECTED_FAILING" as there is a bug in the test case - fix is under preparation and will be merged soon Change-Id: Ia8cffeb63a931cd089fba3c9b2ceec987f2ab347 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2018-04-16Make default driver configurablePeter Mikus2-0/+4
- Make UIO driver configurable from global variables. - Prepare code for uio_pci_generic to vfio-pci change Change-Id: I2b49201177a92f51673242a30e2fd8d4f7e59694 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-04-13FIX: CSIT-1044 Dpdk-testpmd 9000B tests failingPeter Mikus1-1/+1
Change-Id: If2b27912f2523e9e7d3c24dd8c310cfcb3e935b2 Signed-off-by: Peter Mikus <pmikus@cisco.com>