aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/bash/function
AgeCommit message (Collapse)AuthorFilesLines
2023-12-13feat(bisect): introduce scripts for VPP bisectingVratko Polak2-1/+78
+ 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 Polak2-69/+91
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 Polak1-238/+0
+ 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 codepmikus3-103/+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-08-17Add ability to parse more kinds of test resultsVratko Polak2-24/+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-230710pmikus3-47/+25
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-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
2023-03-24fix(bootstrap): EB deploypmikus1-12/+13
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I44fd0fd94ba91758cfa37b11cba44955a0b24f72
2023-03-21fix(core): Arch detectionpmikus1-3/+13
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ife3aed308cac696876316e4ad17f17e7993f96d0
2023-03-21feat(core): Fix arch detectionpmikus1-4/+16
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I4dcb0034b8f914b7863ac8ddede4d644d64c2d47
2023-03-20feat(bootstrap): CDash CIpmikus5-288/+336
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ia9f5b1c9036b9f09c4d9bb041a41e9b49d2ead7f
2023-03-13feat(docs): Move job_specs to resourcespmikus1-1/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iee0ded1f2fb43a09a7a1d61f593f4e92ead3dbb3
2023-02-23fix(core): SPR includepmikus1-0/+4
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I3308f12046dfeed7db872a3a901806acf81cdb15
2023-02-09feat(infra): Introduce 2n-spr 3n-sprpmikus1-6/+24
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ied301e8fcca22af8420364f2e158dfdd49bdc58d
2023-02-02fix(job_spec): Naming conventionspmikus1-1/+7
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iccaa4f8945e5eb48272737338a52c9edbf1cb58b
2023-01-25fix(core): common.shpmikus1-0/+1
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Iab5e8c21e4defb92e257459a64101a6f19609917
2023-01-12fix(perpatch): do not expect output_rawVratko Polak1-4/+3
Fixes: bfbdfaedb044b7643b81f47e76285baedfee9e25 Change-Id: Iaefff972d6d47ccdd34b2ccb150375d084df6d93 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2023-01-11fix(core): Remove some Focal leftoverspmikus1-7/+2
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I1c7df34cfb78cf767081acea435dc205b3f44a15
2023-01-09fix(core): DPDK stuffpmikus1-3/+4
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I276cbfe4f761ddb4ccc652a276be2614adc6117e
2022-12-15feat(core): DNV decommissionpmikus1-34/+0
- Static content will be removed separately Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I0992e941e1c24552837eaf7e8d3f6564b3cb21c8
2022-12-06feat(model): Cleanup and introduce telemetrypmikus1-18/+0
- Due to divergence from original design path the RAW was never consumed. It adds too much code complexity and requires processing on both storage and compute. Removing entirely to make modeling efficient. - log (apparently SSH) section will never be consumed in the way it is coded in model. This section is also not part of model schema itself due to the point above. - Introducing telemetry section that is going to carry telemetry items required for CDash. Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I7e0256c6c9715de8ee559eed29dce96329aac97d
2022-10-11fix: l3fwd configVratko Polak1-19/+0
Flipping logic depends whether TG and DUT ports are reordered. # If TG and DUT ports are reordered -> flip # If TG reordered and DUT not reordered -> don't flip # If DUT reordered and TG not reordered -> don't flip # If DUT and TG not reordered -> flip Change-Id: I7202a17e03e48d112ed5b98e3ef0e3816ce50f14 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
2022-08-25fix(core): Ubuntu Jammy VIIPeter Mikus1-0/+5
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: I2a7e35bc3671cafaf696e5200d22e531e251b1ba
2022-08-23feat(infra): Remove 2n-skx/3n-snx leftoversPeter Mikus1-17/+1
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Ic646f555855b1a13a86711ce4ce01ddfc2b44b1f