aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash
AgeCommit message (Collapse)AuthorFilesLines
2024-07-17fix(bootstrap): External topologies read"pmikus1-28/+27
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Iefa96896004d8c9cc06df90f0a744c497b443106 (cherry picked from commit fe001acc08f303452b46ba2b2bcbc582f1ba44da)
2024-07-17feat(core): Change external testbed detection"pmikus2-24/+33
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id005feac8104bb0b7da08d8dd9baaa3c5117e157 (cherry picked from commit feccb55434c76f8cb633d816f76f556a70d54058)
2024-06-18feat(core): Adjust T-Rex for external topologiespmikus1-1/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id3f0a4a26404951bc7ce82655538b72848508e18
2024-05-17feat(device): Reconfigurepmikus1-4/+6
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5ca0fc5832c249553c79dd9c5d4148ba64e61654
2024-05-16feat(bootstrap): Add more granular eb scriptspmikus2-47/+52
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Icbcd373ef815fa082d9be022fc201c96df140536
2024-04-18feat(job_specs): Add soak testpmikus1-0/+6
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I48240d2df2ee7908d07da86a4e4da359178d0b9e
2024-04-17feat(tox): add copyright year fixer scriptVratko Polak3-12/+66
It uses rather simple sed commands, but seems to work well enough. + Improve readme. + Shortened comments about why 3 lines. Change-Id: I50b395dfeb586f671f7c4c82f22369de90b351ec Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2024-03-04feat(device): cx6 update of 1n-alt device jobspecJuraj Linkeš1-5/+14
Update the jobspec according to the current Arm policy: 1. Run most of the tests on cx6, crypto coverage being the most important, 2. Match the cx6 ipv4 crypto coverage with x710 with the DPDK driver, 3. Run basic ipv4 and l2 tests with x710 with borh DPDK and native (avf) drivers. The above is the policy used in performance testing where time is a major constraint. The same is true for functional testing to some extent, so it makes sense to apply the same logic for choosing the tests. There are 10 tests which are failing on cx6 without an identified reason. They are disabled until we find the root cause and address it. In the meantime, the tests are enabled for x710 with the DPDK driver: ethip4-l2xcbase-eth-2memif-1dcr ethip4-l2bdbasemaclrn-eth-2memif-1dcr ethip4-l2bdbasemaclrn-eth-2tap ethip4-l2bdbasemaclrn ethip4-l2bdbasemaclrn-iacl1sf ethip4-l2bdbasemaclrn-iacl1sl ethip4-l2bdbasemaclrn-oacl1sf ethip4-l2bdbasemaclrn-oacl1sl ethip4-l2patch ethip4-l2xcbase When the cx6 issue has been resolved, these should be enabled for cx6 and disabled for x710, with the exception of ethip4-l2bdbasemaclrn, which should be running on both. Change-Id: Id48f450063e405b1faca57431676f91d62e829b9 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2024-02-15fix(core): daily jobs should not do prefixingpmikus1-5/+7
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I131cc9957b288f4e02e9d02394a1681dbb539d83
2024-02-15fix(bootstrap): typopmikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ib2a1ceb9145ef5495c76954ac70cedc5af6fa297
2024-02-14fix(core): Lower amount of TREX cores for externalpmikus1-1/+1
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ic27f46876a93cc01d5f14bbefe0dccd84ab41027
2024-02-13feat(bootstrap): Add ability to load external NODE_FLAVORpmikus2-1/+32
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ia6e07111af543280b2365840bced02f94cf91e75
2024-01-31feat(job_specs): 2n-c7gnpmikus1-42/+0
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Idca0738320b56196e98aeec3050312111a90609a
2024-01-23docs(infra): 1n-altpmikus2-12/+12
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I1770a3f49e19d337d4ed6760fb062ba4d445574d
2023-12-13feat(bisect): introduce scripts for VPP bisectingVratko Polak3-1/+266
+ Parsing common with per-patch job is moved to a library. Ticket: CSIT-1618 Change-Id: I185bea084a29e6a37ef94e9da42b192a6a81fc17 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-12-13feat(bootstrap): refactor functions before bisectVratko Polak6-91/+108
Ticket: CSIT-1618 Change-Id: I0c17f1e8f09a3944032d44efa8ecd36fef2056a2 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-12-12feat(terraform): Remove ansible dependencypmikus1-9/+9
- terraform ansible is not supported on aarch Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I3d1a592b4ed97fe635813dccbf78dc42d14e0fa9
2023-12-11feat(job_specs): Add 200ge6p3cx7veat testspmikus1-1/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Ia713b9a0b962820b014bad3582bc095ec802380c
2023-11-22fix(core): common.sh typospmikus1-2/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: If25495e0eec60ac84dfaaafec3080f02a17fc740
2023-11-22fix(core): common.sh typospmikus1-2/+2
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I87d0d297c79b1f0c0aa46ff7304586ab1898fed1
2023-11-22feat(infra): 2n-c7gn, 3n-c7gnpmikus2-16/+50
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5a94ae7caf1c3ee08efa7bd5db19c3b2c356705a
2023-11-15fix(common.sh): 3n_icxd is not 3n_icxVratko Polak1-64/+57
+ Fix globs for selecting topology yaml files. + Remove skx. + Sort alphabetically. Change-Id: Iefb8a53875792219815824dfc1125c99e55f86b6 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-11-15fix(core): Test code parsingpmikus1-61/+61
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I5b59243aa9236183595d71198763187ed14d68a0
2023-11-08feat(infra): 3n-icxdpmikus1-0/+15
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I766fe7c0837ad2694645230e5fcc1d59bbf59898
2023-11-02fix(core): Remove unwanted codepmikus1-28/+22
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ib03e469da3e93944ae7fb612e7a71df36f711cdd
2023-10-30code and doc updates for vagrant VM dev/test environ setupNaveen Joy2-24/+31
Change-Id: I0e4e4758b3abbfc2fe2e18200b85477293de218b Signed-off-by: Naveen Joy <najoy@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-09-14Add IPsec and wireguard hwasync test cases to 3nb-spr job specsxinfeng zhao1-3/+0
Also add IPsec 10000tnlhwasync int mode and 4tnlhwasync policy mode test suites, in order to compare sw crypto and QAT crypto and IPsec int mode and policy mode performance. Signed-off-by: Yulong Pei <yulong.pei@intel.com> Signed-off-by: xinfeng zhao <xinfengx.zhao@intel.com> Change-Id: I0aed06a0c75c1a545720649d3561a0aa5a861db2
2023-09-12feat(core): 1n_spr swap interfacespmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Icf68d2f244432f49f6b8fb0876807d694a1e8e31
2023-09-12fix(core): 1n_sprpmikus1-3/+3
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ia8067fb1683295fb711bbba81a35b0e6d18b084f
2023-09-11fix(core): 1n_sprpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I38aeb3d75793addafb44f407fabf6bac6705b682
2023-09-08feat(perpatch): parse results from jsonVratko Polak2-240/+2
+ Use test names in output. - Methodology updated in subsequent change. Change-Id: I6a62f87249ea79262778f68d00f9bb81134f0b02 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-09-08feat(cleanup): Some old codepmikus6-308/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3aad4fc5a56a1c02e975f664449a6f9d50fc300e
2023-09-08feat(infra): Add 1n_sprpmikus2-4/+16
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I20e720302561f5f7d1f7a80a83548077a88025af
2023-09-04fix(bootstrap): move archives before cleanupVratko Polak1-1/+1
If cleanup fails, we still want to examine robot logs for any hints of why a node may have stopped working properly. Bootstrapt scripts for device tests are doing that already, so this patch only edits the perf verify bootstrap script. Change-Id: I8b8ad7bcbbbbc26874068efe1b20e8053f0d5650 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-08-17Add ability to parse more kinds of test resultsVratko Polak3-26/+209
Previously, only BMRR results were recongnized. Now also lower bounds for PDR (optionally NDR) and soak are recongnized. This code expects all tests are of the same type, e.g. when both MRR and NDRPDR tests are run, only MRR result will get parsed. If test or parsing fails, generate fake data based on overall pass or fail, so at least passrate of unknown tests can be compared in theory. Currently affects only per-patch job (vpp-csit-verify-perf-*), but is useful mainly for the upcoming bisect job. + Do not force MRR test type in vpp-csit jobs. - Some test results are still not recognized (e.g. hoststack). + Do not exit per-patch job early on robot failure. + Only changes that introduce a failure (not present in parent) get -1. + The same is true also for introducing unrecognized test results. - The fake values from passrate can be misleading. + Add default nic tag only if NIC tag is missing. + In all jobs, not only in vpp-csit ones. + Do not add NIC tags for device jobs. - No job supports NDR parsing yet. + Can be enabled in future from ci-management side. Change-Id: Iee904116d1ffed69aec7e31821c67d8447f49ebe Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-07-14fix(packer): Namingpmikus1-3/+3
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I8127beeb6664aa51ef5cb313d658ab2e5638b581
2023-07-14feat(aws): Add new flavorspmikus1-2/+103
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ie63b3d6c7ff376d808587e7c96f386946c939a81
2023-07-07fix(core): Remove output_info.xml processingoper-230710pmikus7-64/+42
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I1528d7760228d50a4d89c0e413ad86aa882088ed
2023-06-12feat(infra): Add Mellanox CX6 to 3n-icxpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ic13b8cd3f2976c66d8956f0cee0784c3bae12a65
2023-06-09feat(infra): CX6 for 3n-altoper-rls2306-230612pmikus1-0/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iea4c536a6e421efdaf493fb3cba0dde5abad162d
2023-06-06fix(core): Trap for AWSpmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I14975b21e7f480c3bca5ba6a04514008af219039
2023-05-30fix(dpdk): Flip routespmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4c192210e1aef1275e8a9b56eab7956798aca15d
2023-05-29feat(tox): Cleanup docspmikus1-51/+0
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ia13e920ef11d364893a51957778e60084f4ac0f9
2023-05-25fix(core): Missing linkpmikus1-3/+0
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iccbe5f0cabe6fdd5274126cf970549673edd4f1c
2023-05-23fix(dpdk): update meson setup commandJuraj Linkeš1-2/+2
The current invocation is deprecated: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Change-Id: Ieffa7f295e4ea7634ee5e8f77e373c5e9314b3cf Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2023-05-16fix(infra): Bootstrap scriptspmikus1-0/+8
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4e19d8fe38802652b25e6a1c577e816328cebd2d
2023-05-09feat(job_specs): Add 3nab-sprpmikus1-4/+17
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I2e0feccef5c5b15b035490dfaf521c8c9a1795f8
2023-05-02C-Docs: Set the version of hugo-book themeTibor Frank1-1/+4
Change-Id: Ic8daac7dfc10788baa44d3cf8cf587296ec5070d Signed-off-by: Tibor Frank <tifrank@cisco.com>
2023-03-28feat(core): Add 2n-spr topologypmikus1-0/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3f7efcbfc82f683e7afc986d00fa71ae7413d93d
2023-03-27fix(core): Adopt to executor changespmikus1-4/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I206118daa0383e8a7d160aaf1c3dd53fc3ab9279