aboutsummaryrefslogtreecommitdiffstats
path: root/resources
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17PAPI: Cache connected client instancesVratko Polak5-97/+480
Disconnect+connect cycle is expensive and slow. This change tracks connected client instances so later "connect" to the same target uses it. Explicit disconnects are allowed (and executed before VPP ends), but once again disconnected instances are cached and reused, as creating a new instance is more expensive than just connect. + Add missing checks on interfaces being up to appropriate keyword. + Use appropriate keywords. + Add a comment explaining why a simpler keyword is not appropriate. + Improve VPP checks in containers. + Fix the vppctl check to actually work. + Add PAPI check to ensure VPP is really ready. + Delay/reorder checks to make them faster with multiple containers. + Leave some TODOs to improve various lifecycles later. + As we do not stop VPP in test/suite teardown: + One final disconnect is needed, added to __init__.robot teardowns. - Import of the final disconnect keyword is ugly, but it works. - We could use a hashable class for distinguishing node+socket pairs. - Are we connecting to VPP inside VMs? Change-Id: I49cd726740c3e8cae1591c7c84b85a447241228f Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-17Switch include to testpmikus1-22/+36
+ Reduce time overhead when parsing --include vs --test + Input files will remain the same + 3n-hsw 150include ~24min, 150test ~5min + 2n-clx 489include ~61min, 489test ~9min Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I7e5957c32385aecbc4551bd124da41afa5bc63c9
2020-12-17Ansible: Fix cleanup procedurespmikus3-12/+34
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib0c3a508b32a4d5929cfc20a7a7813752350b7d9
2020-12-11API: deprecated nsim APIsJan Gelety2-5/+13
Jira: CSIT-1597 Change-Id: Ice342d6cb7cd244d712c42a3d468c851c79739f4 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-12-16API: deprecated IPSEC APIsJan Gelety5-136/+396
Jira: CSIT-1597 + add ipsec_sa tear down action Change-Id: I4d1e6f26c14e61e8ddc6f29fbf5528a034c84eb0 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-12-16Report: Add dataTibor Frank1-0/+2
Change-Id: If43441b9e918220a0e16ab5d1fe678e9ee38a89d Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-14Report: Add dataTibor Frank3-2/+6
Change-Id: I298c3bdec3f9254a2644401a9ffb7ff09c4ecbd2 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-12Refactor storage solutionpmikus22-2330/+63
+ Minio terraform module + XL mode enabled with erasure code + Upload script as a sample + Nginx terraform module + Updating ansible to reflect changes Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia8c439b749aa0de82bd6f1d0cfbecce4d7000a8f
2020-12-11Report: Add dataTibor Frank1-0/+12
Change-Id: I96125f0db3b627177f159f8dffa07fb6a6f61671 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-09Tox: Add GPL license checkerVratko Polak2-1/+74
A common mistage is to add a file into GPL directory, with Apache license only. This adds a tox checker to vote -1 on such changes, gpl_license.log contains the list of affected files. There are TODOs related to unlicensed files or unconventional GPL licenses. Change-Id: I267e4fb98afd199d5acc7d211068b28c97b31dc9 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-03vpp-device: GENEVE tunnel test, l3 modeJan Gelety8-90/+374
Jira: CSIT-1769 Change-Id: I98510cd8e627d7347f77d0032b7bac28f2e36c61 Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-12-09Report: Add dataTibor Frank1-3/+4
Change-Id: Ic7d559d30c2c7d314ba029dfe7c1db99e25e20f4 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-08Revert "vpp-device: GENEVE tunnel test, l3 mode"Peter Mikus8-374/+90
This reverts commit a9f54ca5080aeef17686f300a6807bf9b46b7c90. Reason for revert: DO NOT MERGE BROKEN TESTS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! https://logs.fd.io/production/vex-yul-rot-jenkins-1/csit-vpp-device-master-ubuntu1804-1n-skx/9918/archives/log.html.gz Change-Id: I2ce2970a43e5dd7487eeb54d1ccbb149e06cf8fa Signed-off-by: pmikus <pmikus@cisco.com>
2020-12-03vpp-device: GENEVE tunnel test, l3 modeJan Gelety8-90/+374
Jira: CSIT-1769 Change-Id: I0ab906966f760b809b8431530c010a8f0835d62c Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-12-07Fix vpp-csit device scriptVratko Polak1-1/+0
In Gerrit 30041 that was not tested properly. Change-Id: I42f57f1933b0e7d029030f4ec502f7268780827b Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-07Ansible: Enable consul TLSpmikus25-653/+807
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ia53acc4441087e93a51d87097adea0b220d10144
2020-12-07Report: Add 2n-zn2 turbo boost on/off dataTibor Frank1-22/+2512
Change-Id: I1eb0475d30048d6b42458d1fb696d7fac93ac948 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-04Stats: Use the new client class nameVratko Polak1-3/+3
Change-Id: I4c6555068145eb21b7843f9d27433a5ba3f5b13d Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-04Report: Configure 2009.50Tibor Frank2-2/+2
Change-Id: Ia8e71df86d561c1d9bc388fa6b70ef850c94e66e Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-12-04vpp_device: fix vpp device kernel driver bindingJuraj Linkeš1-9/+5
Attempt to unbind a driver from a device only if it is bound to a driver. Remove the dynamic addition of an existing device ID to a driver. From the docs [0]: Writing a device ID to this file will attempt to dynamically add a new device ID to a PCI device driver. Since we assume the VFs are bound to the kernel driver when VPP Device topology creation is done, it implies that the kernel driver supports the device ID of those VFs, removing the need to add the support. [0]: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-pci Change-Id: I20f3ca071a5a84a06ff358ba514532248a8f9ad0 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-12-04Terraform: csit-shim refactorpmikus10-122/+307
- remove snergster image dependency Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I76fef60371e35dddc6da56db5f9207e003d1c792
2020-12-02Avoid ci-management archiving files twiceVratko Polak6-70/+54
This is a follow-up to https://gerrit.fd.io/r/c/csit/+/20394 https://gerrit.fd.io/r/20119 has changed the way archival works, everything should now go to logs.fd.io (instead of appearing on run page in jenkins.fd.io). The glob pattern for archiving is quite eager, doing recursive search. That is good, as it can find also misplaced useful outputs. But it also means our usage of copy_archives function creates two copies of archived directtories, usually archives/ and archives/archive/. This change renames copy_archives to move_archives, with few workarounds to support multiple calls. I also renamed ARCHIVE_DIR value from $CSIT_DIR/archive to $CSIT_DIR/archives to make "move" operation look natural. Finally, download_builds function is being removed, as after recent improvements to VPP compilation speed nobody seems to be using it. Change-Id: I19a429e1dfdfaab7fcf32a9609963b1aebd33c6c Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-02API: deprecated NAT APIsJan Gelety3-13/+18
Jira: CSIT-1597 Change-Id: Ib48d20ba087bc9828970c3acc081ac6e4447c20c Signed-off-by: Jan Gelety <jgelety@cisco.com>
2020-12-02Terraform: Nomad resource definitionspmikus27-72/+787
+ storage - final until more ssd arive. + nginx - final + vpp_device - untested yet (restored from EdK setups) - to be rewritten Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ib9499fc8cfb0d9f5c5d5bbd1ccd856ecc951ec2a
2020-12-01Tolerate base64 encoded Gerrit commentsVratko Polak1-2/+8
+ Move "|| true" to a place that really aviods errors. + Attemp to parse decoded string if trigger is not found in plain one. Change-Id: If3587229ec588f9ad41acb3050add1142032d2d8 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-12-01Report: Add dataTibor Frank1-0/+2
Change-Id: Ib095788b071c74131351045df80ab373f067f1a7 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-30ansible: remove yul2 hosts from nomad server poolDave Wallace3-3/+3
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Ibcbd95408fb4859a13c7f2659a9e15c5498b788b
2020-11-30Ansible: Final consul.d fixespmikus18-69/+47
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I2b5f2d090ac752c85508030c4dfe206023f1184f
2020-11-30Report: Add dataTibor Frank1-0/+4
Change-Id: I38f4054cddf01557e8482adcdc804760ef7a9c4b Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-30Trending: Reorganize the NAT44 chaptersTibor Frank1-5/+19
Change-Id: Ifec550ae69c6454d0adbc08d3e49435c3cca380f Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-26Re-enable 9000B tests for ipsecVratko Polak1-4/+0
Ticket: CSIT-1771 VPP-1207 VPP-1675 Change-Id: I8ba2d62054361e72b833943327434ea071e7e568 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-11-26Support CLI command change for event loggerVratko Polak1-2/+7
+ The old command is tried if the new one fails. Change-Id: I0afdcd7ac699595347b42f3a7d34e1281bb0dc0e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2020-11-26Report: Add dataTibor Frank1-0/+2
Change-Id: If42cacf6c643d35aaa7f65d8e2f87972d23d251b Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-26Report: Reorganize the NAT44 chaptersTibor Frank2-2/+2
- packet throughput - speed-up Change-Id: I5d49ae2da54170e48c51db47e035d2121471be0d Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-26Ansible: Hashicorp Consulpmikus35-3/+887
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I56987d744d9143a95954d85f2557cda07220c681
2020-11-26Trending: Fix build number in error message.Tibor Frank1-6/+1
Change-Id: I1708ebd24a6a26db53a14192b23fe51569543333 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-26vpp_device: disable IPv6 in containersJuraj Linkeš1-0/+3
Even with IPv6 nd disabled in VMs, there are IPv6 packets coming from DuT: --dut_if2_mac ba:dc:0f:fe:02:05 ... dst = 33:33:00:00:00:01 src = ba:dc:0f:fe:02:05 Docker disables IPv6 by default on interfaces it manages, which doesn't include VF interfaces. Disabling IPv6 in containers using sysctl may fix this. Change-Id: Idba506653442a3da2cd82e69cedddb3294d92788 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-11-25Add rxq_thr optionpmikus1-1/+2
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I46750f8571d86dc13df95252e8894c4b988efd5c
2020-11-25Report: Add dataTibor Frank1-0/+2
- 2n-zn2 iter Change-Id: I7412963c918b53e44294f4cf213a806c8435e3b5 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-24ansible: update 3n-tsh hugepagesJuraj Linkeš2-4/+6
Fix "Not enough availablehuge pages: 1483!". Also update 3n-tsh docs. Change-Id: I1d37a66af1e2363f77fdbd87d238e8ff5535b011 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-11-24lab: ThunderX2 updatesJuraj Linkeš2-6/+6
Update after switching one 1n-tx2 and the idle ThunderX2 servers between racks. Update the idle ThunderX2 specs to a new perf testbed, 2n-tx2. Add Server-Type-B12 which is a modified Server-Type-B2 with one extra NIC (needed for 2n-tx2). Change-Id: I51af358f1feb476652eddfe82b5af1d0d70ac259 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-11-23Report: Add 2n-zn2 DPDK LatencyTibor Frank1-0/+11
Change-Id: Id4738b823a77e59d5efd913f770326726b8a81e2 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-23Trendig: Fix alerting for 2n-zn2Tibor Frank1-1/+3
Change-Id: I4e4d156dcb9d93bf0c537a870e6fab6c500f5810 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-23Report: Configure rls2009.48Tibor Frank2-2/+2
Change-Id: Ib7c4bc51bea43dafa2bd788c709c800caeb75988 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-23Report: Add 2n-zn2Tibor Frank2-2/+2647
Change-Id: Ifaba0d689a279ae650ae30531b21533cc6927262 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-20Trending: Add 2n-zn2Tibor Frank1-1/+1321
Change-Id: I49e2c50829af8f538155b6262ec2872a68560858 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-20PAL: Remove temporary pdf filesTibor Frank1-0/+6
Change-Id: I65cf505edd346fc5da240be08310064b3755e458 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-20Report: Add dataTibor Frank1-1/+2
Change-Id: I7efb7a339e248972604b1c8027d21ea32e9f4070 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-19Trending: Add NAT44 testsTibor Frank3-227/+857
Change-Id: I2601a786f58b1d89cc9a90cb16ff20e6331abbfe Signed-off-by: Tibor Frank <tifrank@cisco.com>
2020-11-18Ansible: Docker updatepmikus4-10/+17
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Ie48a96d83d37d7292d261875371e09d4b9152c7b