validation:Fix jobs cleanup issue with permissions Change the owner for the kube directory, because might be owned by root, causing permission issues when Jenkins tries to perform the workspace cleanup Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com> Change-Id: I6fedecb633ab8ce78b03a9d8b9bec8ce9926bfcb
validation:Fix jobs cleanup issue with permissions Transfer only the ~/.kube/config file for k8s tests, since the rest of contents of the "~/.kube/" directory (e.g. http-cache) might be owned by root, causing permission issues when Jenkins tries to perform the workspace cleanup. Since only the config file is actually needed for running the k8s tests, skip other files/directories in "~/.kube/" Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com> Change-Id: Ic3d6823bd45069e66eb085a8c09383461f517d12
Support password-based ssh auth Add ssh password to the run_bluval.sh script command JIRA: VAL-106 Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com> Depends-On: I04145b32621dae49485cb8640d80932345957826 Change-Id: I0f2974cd21d59e5b6ad85be37a0e71d064ec70ab
validation: iec: Pull docker images before run Add a new 'PULL' job paramater for validation-<lab>-* jobs, as well as 'bluval-*' jobs; set it to 'false' by default and 'true' for IEC validation jobs since most IEC jobs run on static Jenkins slaves where the validation docker images might already be present from previous runs. JIRA: VAL-107 Depends-on: Id4b7947a0de7abf07f69812c6deef71919b9041a Change-Id: Ic2f690d6627f6ae284a27727f3c98fe03960cbda Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
validation: Use blucon.sh if python3 not available The Validation project supports running the test suites using nothing more than Docker as a prerequisite (i.e. if no python3 is available), so leverage `blucon.sh` now that it supports overriding the validation git repository path and results dir path. For most slaves, the new method is merely a fail-safe, since they already have python3. JIRA: VAL-95 Depends-on: I4d3c10881de28c64bcca05ff23aa1025f67a1f5e Change-Id: I08e89300637862e40344131532ec40efd5f68501 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
validation: bluval: Use own repo logparser rules Instead of creating the logparser rules.txt file on the fly, rely on the project's git repository providing it. While at it, add and configure the 'robot' publisher in order to enable Jenkins dashboard integration and display some nice summaries directly in the 'blueval' view (using the 'Robot Results + Duration Trend' column), as well as on the job's overview webpage. JIRA: VAL-104 Depends-on: I1506d84a44926e80913562f67f24885a98f94df7 Change-Id: I971ae6f8949caac8debc1aee0f35e0b35b8f65e6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Fix k8s tests run in CI Enable k8s config file transfer if layer is empty JIRA: IEC-41 Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com> Change-Id: Iac7772326271c811efd714bc9f66309581ff4dc1
Enable vuls and lynis tests in CI - created the ssh_key_dir and put the ssh_key - set host and username variable in validation/tests/variables.yaml - set ssh_key_dir and custom_variables_file path in validatin/bluval/volumes.yaml Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com> Depends-On: Ibb16f76405f5b43797e0d859db0681759adf5e18 Change-Id: I9e5349a0e3e3a1e7331a5f5b4b4a8d5a1b01aa51
[validation] Improve relationship between jobs - Added a fix so that when bluval-run-daily-tests job fails, the upstream akraino-validation-lab-daily job also fails. - Made the validation parameters more generic (the tests can be ran on openstack too, not just on k8s clusters) - Moved the templates from the project folder to the templates folder JIRA: VAL-98 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I915ff9a0347e20390b297483b39a051f39fdf205
Fix issue related to substring search JIRA:VAL-78 Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I17dee3c41a2046927b085205c096507452560506
Store blu-val results in nexus. After the tests are run, the results are put in an archive and pushed in nexus. JIRA:VAL-78 Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I1021f30f560ec67433e83f22b14877b340f489c7
Add log parser support JIRA: VAL-90 Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I111f5aab331156c201cb5f855492aee1dcb45236
Change owner of results folder and its files JIRA: VAL-88 Remove the trap from the script. Change the owner after the scripts exists. Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I9284c041c436f7ca173b61e3d5d87fdc85581ebb
Change owner of results folder and its files. JIRA: VAL-88 The files in results folder are created by root in container. Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I9d7b9450c6ae379a8f41492d84f037e3557ef032
Add ci validation script Add run_bluval.sh which triggers validation script. Add jobs for iec. Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com> Change-Id: I26338e7b6038149d4f122f7e5a4df978ca73d678