aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-01-18Fix an invalid name issueCédric Ollivier1-2/+2
C0103: Variable name "ns" doesn't conform to snake_case naming style (invalid-name) Change-Id: I05a93badbe059cf868eade47a38699b6186c3528 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ebf1398051e0b745fe5175b1d2807dfe5604789c)
2024-01-17Patch cnf_testsuite namespaces if they existCédric Ollivier1-6/+20
Change-Id: Ibace5356cb1f458fa8b929c0c84b2f06e5852ea0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9cb990f8f874f395fe6aa7f045fa9dcc3fdb35c4)
2024-01-16Set the rigth working dirCédric Ollivier1-0/+1
Else zip_compaign fails Change-Id: Ib26b7c313e29c68098bfcac70cb44c292196adb5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5a5bbb179ab39109d0ab921a4239d5e9917919b7)
2024-01-16Enforce baseline psp for cnf_testsuiteCédric Ollivier2-2/+21
It would be better not to change the default namespace. Change-Id: I9fde052d4dd7e0e4f6551213e2028c91c0296e42 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d0b8d65cdea15ef7fc0a431add4701ac817da5f2)
2024-01-13Manage netperf namespace to enforce baselineCédric Ollivier1-2/+24
Change-Id: If74322d583d9f16478aad8dcda6afa2368ff5482 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a2abab6871ef68435f5c4b3f5579e31ba40b5b3f)
2024-01-13Apply privileged pod security standard to kube-benchCédric Ollivier1-1/+3
Change-Id: I0336d73f8a9663ef259adfe4377ce20499844021 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1bd69d63994d66582f4e7967e4a1f703dc247c69)
2024-01-13Enforce baseline Pod Security StandardCédric Ollivier2-2/+4
It allows running both security and ims testcases vs clusters where PodSecurityConfiguration enforces "restricted" [1]. [1] https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/ Change-Id: I9eb420cbb695ec8fb002f25cfd3c96ab50118fcc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 553d57ffd4ff9c3c4f319454a4d190ac7aa4cc76)
2024-01-12Apply PR " Enforce baseline Pod Security Standard with namespace labels"Cédric Ollivier2-2/+44
It's needed for any Cluster where PodSecurityConfiguration enforces "restricted" [1]. [1] https://kubernetes.io/docs/tasks/configure-pod-container/enforce-standards-admission-controller/ Change-Id: I9df12654d09390353a898030314a3fda9074b0d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 05656f790feab78bb02b6ed0e3b11048eea39901)
2024-01-12Remove Hostpath testingCédric Ollivier1-25/+0
It's against Security Standards as explained in [1]. "Using the hostPath volume type presents many security risks. If you can avoid using a hostPath volume, you should." It basically asks for the profile Privileged "pod-security.kubernetes.io/enforce": "privileged [1] https://kubernetes.io/docs/concepts/storage/volumes/#hostpath Change-Id: I89e35f11ab7917b904ac474401bf609ad9c5dd3d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 50859e8c92a39b87ad91f14d01908a259a0602ce)
2024-01-09Updated from global requirementsCédric Ollivier1-3/+3
Change-Id: I51f9d4b6266150d02438e3dd2cf42f86a6469176 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit eaea540c2f3a19ba13b69c3624f2d26c15d0f875)
2024-01-09Fix git urlCédric Ollivier1-1/+1
Change-Id: I7c774ccc027feae75fa1623545ea8ef7af50ccc9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f01d93b5abe20f6b1402d3b8fdc02c1dc772b90d)
2024-01-09Fix pylint issues in netperfCédric Ollivier1-2/+3
Change-Id: I47eac42fd30e857e2a94a7b5caa5850b3c7c9196 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e98c46bdcc7087b55ce0339111c7bedc450e94b0)
2024-01-09Make ansible/site.gate.yml up-to-dateCédric Ollivier1-5/+7
Change-Id: I4607bc297e21e569af6e80a4ac6a0e6aec68ec33 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2024-01-09Remove tox pip_version in tox.iniCédric Ollivier1-1/+0
Change-Id: Iafae57b729650e70c084f98abafc6645174a893e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fddcb581e3f1ab10481eeb6b3a739567df2ddd61)
2023-12-22Print netperf logs in console if exceptionCédric Ollivier1-2/+4
Change-Id: I7ea76aaa595ba7716d4a355f8a1f2d73c2af3ae8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 10d72a2e5c8a78cde617d2c10fa0ea46d90f6924)
2023-12-22Help Debugging when e2e result parsing failsCédric Ollivier1-4/+11
Change-Id: I7f153b0ddef25b0317d8e9a8b2dad55ab580b388 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit da0f27e6cc0a416e3a3a89639b7280836daf296d)
2023-12-21Protect vs CNF TestSuite instabilitiesCédric Ollivier1-0/+1
Change-Id: I8e714abe603180d69a363e4293f44bb3c5cd1255 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 36915488c21d42a112298c3a52fc2b09d099486f)
2023-12-21Fix CNF TestSuite's log levelCédric Ollivier1-3/+3
Change-Id: I9a7e1a9d17fd575b7e6077d8ccf5dd5d1a259717 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 75db5520f3fffc0e3b5cae2eead6179a44d91da9)
2023-12-20Exit if early failure in cnf_testsuiteCédric Ollivier1-7/+23
Change-Id: I3a6a264a73bdc73c1c90471948316d216cf6ad98 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 65780898fb6c3d4d7131916a6a6e342f3557b685)
2023-12-18Reduce regex < 80 charsCédric Ollivier1-2/+2
Change-Id: I3f28b02188aff54fffe19f3652d3881270a3eb4b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 052eaad0ec0395723a7f2d8fd2d59751785f2276)
2023-12-18Skip OpenAPIV3 [It] should contain OpenAPI V3 for Aggregated APIServerCédric Ollivier1-2/+4
https://github.com/kubernetes/kubernetes/commit/bf41b0462ccd9c0ecc97a9f64fd499e2d4284f85 Change-Id: I229288b3fe58ade2e089b3c443ef93289e8978f6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 75da28c8e451155761f3a7552e12cf9b62b1750d)
2023-12-18Disable [Feature:APISelfSubjectReview] testingCédric Ollivier1-1/+2
https://github.com/kubernetes/kubernetes/commit/7c5573d326d10e81f69da38c1238e22bb6d056c8 STEP: creating SSR authentication/v1alpha1 @ 12/17/23 23:46:55.031 Dec 17 23:46:55.034: INFO: Unexpected error: <*errors.StatusError | 0xc00581a140>: the server could not find the requested resource { ErrStatus: code: 404 details: {} message: the server could not find the requested resource metadata: {} reason: NotFound status: Failure, } [FAILED] in [It] - tes Change-Id: If70773712d1dababf2b07ed8aaca12bb43947c3a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-18Skip should perform canary updates ...Cédric Ollivier1-2/+4
https://github.com/kubernetes/kubernetes/issues/119685 https://github.com/kubernetes/kubernetes/pull/120731/commits/00c21ced3abba18d93b38f7232a353b6b28d8eae Change-Id: I98dcbfbc5d4f0250c899cc6ee6b1f8d52a3240aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-15Skip RecoverVolumeExpansionFailure testsCédric Ollivier1-1/+4
RecoverVolumeExpansionFailure false Alpha 1.23 https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/ Change-Id: I3d7786ff37929dc4ff6ddd82901571dbb873491a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cffe5d332db5d5dc6b1bdc6e628159eb809f5ff2)
2023-12-15Skip SELinux tests by defaultCédric Ollivier1-0/+1
https://github.com/kubernetes-csi/csi-release-tools/pull/208/commits/36e433e2aaaaf96b3257812cecd9bc55a1f71999 Change-Id: I80293c3a4456979970b88ab7cb8dca36f6a6b5fe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f86bb8ff598b4838215e990a52a19d63ec3b317f)
2023-12-15Skip all In-place Resource Resize for Kubernetes Pods testsCédric Ollivier1-0/+1
It's alpha in v1.27. https://kubernetes.io/blog/2023/05/12/in-place-pod-resize-alpha/ Change-Id: Iee818623425100dfa40e2198082d29069520c80c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-15Skip all Feature:DynamicResourceAllocation testsCédric Ollivier1-0/+1
It's alpha in v1.26 and v1.27. https://kubernetes.io/docs/concepts/scheduling-eviction/dynamic-resource-allocation/ Change-Id: I0216241d3e08a828ca92f0c21ed4c1439d09a8c8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a084ca0dd8fe33f16c65f12fda5a5f6fd4683ee1)
2023-12-08Update cnf testsuite to v0.45.0Cédric Ollivier1-1/+1
Change-Id: I6abd724b2dd4ce8fa014fe9167e853f2d300e4c7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dc1ee47accf9c188e1f309479f5906afb693648c)
2023-12-08Make xtesting owner of /src/cnf-testsuiteCédric Ollivier1-0/+1
Change-Id: I8e2d50e8b3af829181d8f9f2a0fcb944d83797e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-12-07netperf csv output dir must be writableCédric Ollivier1-6/+7
It changes working dir in a writable one. Change-Id: I358233cff30c35da0d04921ac0521645a00b2656 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 677e872910555585f0400e99585d821491cd1c43)
2023-12-05k8s.gcr.io -> registry.k8s.ioCédric Ollivier1-1/+1
https://kubernetes.io/blog/2022/11/28/registry-k8s-io-faster-cheaper-ga/ https://kubernetes.io/blog/2023/03/10/image-registry-redirect/ Change-Id: Ibae7149b6da15aa18f536d9ffdf09d155b591692 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4f21ac9faf95be6216ddb2b564a6ca4fc6e3f53c)
2023-12-01Add Alpine gcompat packageCédric Ollivier1-1/+2
Change-Id: Iaecbb67b6042197cd8a6f7657b6f348e3bf0b13c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 41ca9d7f98eead4bcdcf36211130c84b11e78f47)
2023-12-01Remove PyYaml from upper constraintsCédric Ollivier2-8/+5
It doesnt compile because of cython Change-Id: I6e1c531a2f7b3384bc4a5256120d917dec7c43c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0f6720448bd99fd9b732f124da1a1272ee331589)
2023-12-01Enforce pip's legacy-resolverCédric Ollivier1-1/+1
Change-Id: Id0b97782db354cfa66656746ee03f102b5c4d6e3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e085945c2c9ae516d0cacf09cc5fe42440f339f6)
2023-11-30Use OPNFV stable/zed branchesCédric Ollivier2-4/+4
Change-Id: I25b2c26fbb391c6d11352c9b382246bd8f565428 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dd410d187c2d20f3226baf71c2aae2054fd171fa)
2023-11-30Update to v1.27Cédric Ollivier16-58/+70
Change-Id: I3007d4545cb80b54b9858dafbfc2442b32bcbb5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-11-30Set the right gerrit defaultbranchCédric Ollivier1-0/+1
Change-Id: I438de5265f9c9b3ad4420f6542249402ae467840 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-10-21Leverage binaries in PATH nowCédric Ollivier1-2/+3
Change-Id: I5fef1deb13b2a914fe744d2f8f66a820a524d3f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-10-20Stop overriding XtestingCI docker imagesCédric Ollivier1-1/+1
Change-Id: I2ac153b46f986f5672c44061155fdbe1646ed6ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-10-20Allow building Functest Kubernetes Virtual MachinesCédric Ollivier2-0/+12
Change-Id: I0ae46cae185d84de293f1d576b4e0b6bd08dc6d0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-05-09Filter packaging in upper-constraints.txtCédric Ollivier1-0/+1
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-core-latest-build/92/console Change-Id: I9fc43e23bbfcdf04bdc23a7c248d17c5e76c83fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-05-05Set xtesting as owner of rally filesCédric Ollivier1-2/+2
Change-Id: I35658a469e3b54973d24959a0771e8fa749136ee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-03-20Run pre-commit in the Functest K8s gatesCédric Ollivier3-0/+20
Change-Id: I3957dbde922d8ed8edc47d5cf1aee1475f117836 Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-03-02Fix url typo in READMECédric Ollivier1-1/+1
Co-authored-by Peter Pongracz <peter.1.pongracz@nokia.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Idd4c0fccae145ab5fd4a4dbb45346dd1d30de23b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-01-24Update README.mdCédric Ollivier2-1/+5
It take latest updates into account. Change-Id: I0a6af492c99cb49c326734c061b7934ea7a12127 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2023-01-23Fix letter is lowercase in repositories.ymlCédric Ollivier1-12/+12
Co-authored-by: Peter Pongracz <peter.1.pongracz@nokia.com> Change-Id: I78be8192239cad58b25449c106da3e1f558bf13b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-25Use new kubeconfig path in README.mdCédric Ollivier1-5/+5
Change-Id: I1cee2d1ff47a1ab4f79c08d7dc00eb2ab8e6507e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-21Use Path.home() instead of ~Cédric Ollivier2-2/+4
Change-Id: I5863f4e0315b67a07dab4756857dba7aa37932f0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-21Stop hardcoding KUBECONFIGCédric Ollivier2-2/+2
Change-Id: I6ac15eb3686d6502dfa1bbe179622693b1961f45 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2022-10-21Create /var/lib/xtestingCédric Ollivier1-0/+1
Change-Id: I8947b683731a98066bffb47bb49afaa636901446 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>