aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function/common.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-02-28Add tox.ini and few checker scriptsVratko Polak1-17/+20
(cherry-pick from master, also pasted current bash code style) The plan is to change csit-validate-pylint-master job to fail if (and only if) tox fails. This will allow us to easily add checks, with or without the voting power. Each check produces log (ignored in .gitignore) the voting job can archive. + Made autogen quiet by default, to avoid spam in autogen checker. + Unified the way direct csit subdirectories are git-ignored. Change-Id: I6477b1ef7da6d3e30f68c5850d04900cc52f431e Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2019-02-04Trending: Remove NF_DENSITY tests from trendingTibor Frank1-2/+10
- also memif tests removed from graphs where they must not be. Change-Id: I1cbb02ba2dcdcd3a286c9ac4489c946993ac4790 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit de778ee617ed29443bdd8dfa393a2ec4b811b1b9)
2019-01-31Add TB23 back into production poolPeter Mikus1-1/+1
Change-Id: I69a16b1baa5147f22b7c5742c2ccf6e030474937 Signed-off-by: Peter Mikus <pmikus@cisco.com> (cherry picked from commit 65908ee392865911ad1b69610a7f3d43e6bf3bf3)
2018-11-08Add trigger fro DPDK testsTibor Frank1-0/+2
Change-Id: I214026c5df83778e87623770225e0fbb041ccc1c Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-10-24CSIT-1260 Create initial version of bootstrap including VF reservationPeter Mikus1-13/+207
Change-Id: I153d378849ea76444915b7fc219237db1b7bca1a Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-10-22Per patch: multiple BMRR callsVratko Polak1-4/+18
This is to reduce sensitivity on testbed unstable performance. Also add topo_cleanupbefore every pybot run to avoid issues with VPP uninstall. TRACE prints are left there to simplify investigation of false positives if/when they happen. Change-Id: I9b0cdcfbbe4aa0735a0596746ac32c9e93af0897 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-10-10CSIT-1297: Modify the bootstrap.sh to run only selected mrr suitesTibor Frank1-7/+12
Change-Id: I2f5ac334e09bc35bfaefc112cf0bb7f57290a732 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-10-03CSIT-1297: Modify the bootstrap.sh to run only selected mrr suitesTibor Frank1-15/+82
Change-Id: I7071abd6c4a52a86efea573a4f9bcb54547dc004 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-10-03CSIT-1294 FIX: ValueError: CTR mode needs counter parameter, not IVPeter Mikus1-1/+1
The issue is caused by python-crypto library in upstream Ubuntu 1804 repo. Unless there is permanent fix there is workaround to always download fresh version, not preinstalled. Change-Id: Ic2318eb532a6e7a910e4ffb209556c17e6070d3d Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-27Exclude dot1q in the default tag arrayVratko Polak1-4/+4
Mainly useful to reduce test set for per patch. Change-Id: I55a5f2d268c3105ac32d25ae317e149d3c3b4e14 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-09-27FIX: testcode detection in perf jobsPeter Mikus1-3/+3
Change-Id: I4c0c5afa8a8dff814382cb0ad6d9df0410179755 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-26CSIT-1317 ADD: Ability to blacklist tags per topologyPeter Mikus1-2/+17
- Add option to override some tags per topology. Change-Id: I4045ebbee1c5d32e29cdb6c5c84e0dcd9217b2cf Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-20FIX: Do not run double link tests on 3n-hswPeter Mikus1-1/+1
Change-Id: I9dfb4bfba4d0650a42e34d0e1f97b60b031f0750 Signed-off-by: Peter Mikus <pmikus@cisco.com>
2018-09-12Fix: L2 scale tests are not baselineVratko Polak1-1/+1
This fixes select_tags function in common.sh to not include scale l2bd tests in default tag list. This is needed because "L2BDBASE" tag selects also scale tests (contrary to similar IP4BASE and IP6BASE tags). (Line length over 80 characters is left there as an indirect TODO to improve the tags.) Change-Id: Ic1d4a046f327fdd1b8b08eb20f1cdb4b12f337c9 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-09-12Fix: trap for unreserve before cleanupVratko Polak1-3/+3
Change-Id: I978a056ffdfd6daa00a0a1c587774b4a7204b434 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2018-09-07CSIT-1271: Add VTS tests to MRR jobsTibor Frank1-0/+3
Change-Id: I5c0be60a1819c5c46225b4468ba9c88068231f08 Signed-off-by: Tibor Frank <tifrank@cisco.com>
2018-08-30CSIT-1135: Scripts for VPP per-patch testingVratko Polak1-0/+562
+ Scripts do not rely on (other) bootstraps. + Perf verify bootstrap is also the new style sript now. + Scripts are divided to functions for better re-use. + Functions are sourced from small number of large "library" files. - Still using jumpavg from pipy. - Perpatch has specific simplified parsing (instead of the PAL one). - Bash style document is in a separate Change. Change-Id: If88fa528ce155ea86b614e3d77c0550b91bbdf11 Signed-off-by: Vratko Polak <vrpolak@cisco.com>