Cédric Ollivier [Fri, 27 Sep 2024 17:47:40 +0000 (19:47 +0200)]
Remove ameba as it's a dev dependency
It sometimes makes builds fail for no gain.
Change-Id: I94d122f17455f1f3bdf8f3fef4c00f99826babe5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 22 Sep 2024 09:59:51 +0000 (11:59 +0200)]
Allow privileged for cnf_testsuite
Change-Id: I27a13bddf5c43a495705d7eae8c34fd08471b2ab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Sep 2024 13:36:25 +0000 (15:36 +0200)]
Update, patch and build cnf-testsuite
It allows cnf-testsuite to run behind a proxy
Change-Id: Ia0d4e95fac5ab279fd5ccf1491ccd6ccc49838c6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Sep 2024 09:02:48 +0000 (11:02 +0200)]
Allow provileged and remove obsolete clean operations
Change-Id: I8700848f0ab37bab640f73daff938eeb00cf7b01
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Sep 2024 16:00:07 +0000 (18:00 +0200)]
Filter Feature:VolumeAttributesClass
VolumeAttributesClass false Beta 1.31 – [1]
[1] https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: Ib23b9f12ab192a02d3b877ac92a15f76270062fa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
920d436f7841a22f646d9ff21e7710d155a930b9)
Cédric Ollivier [Thu, 12 Sep 2024 15:55:14 +0000 (17:55 +0200)]
Filter [Feature:DynamicResourceAllocation]
DynamicResourceAllocation false Alpha 1.30 – [1]
[1] https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: Ib9ff6c8a67f284171dff7c2453132eda2fab6f2f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
5f2d06f10f1a27132b395a1e2a1a82bac4857499)
Cédric Ollivier [Thu, 12 Sep 2024 14:58:09 +0000 (16:58 +0200)]
Filter UserNamespacesPodSecurityStandards
UserNamespacesPodSecurityStandards false Alpha 1.29 - [1]
[1] https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I09285c44a6297980f4b6f8f06e0f4c3ed29c4362
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
b604bb424796123975f6876863938ac5cc246683)
(cherry picked from commit
83323e85af879c1a571f925fefac23a282464a4d)
Cédric Ollivier [Thu, 12 Sep 2024 14:55:40 +0000 (16:55 +0200)]
Filter RelaxedEnvironmentVariableValidation
RelaxedEnvironmentVariableValidation false Alpha 1.30 - [1]
[1] https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I33b425d48ff5e3f52ab5d7fdca4a7e711eaef059
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
53605072d0d6d7bf34b7acf0e555a65f476ef6a3)
(cherry picked from commit
90ebc0801b50009ce2629a0050db5115f0efb180)
Cédric Ollivier [Mon, 16 Sep 2024 19:02:53 +0000 (21:02 +0200)]
Update all test case results
Change-Id: Ife2c6b3556d9b25d8980be2bf830d27ab7d114ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 12 Sep 2024 08:10:43 +0000 (10:10 +0200)]
Remove absolete python link
Change-Id: Ic3cd7b38ff461814266c9bd8b0062fd7f8a2d529
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 9 Sep 2024 14:59:24 +0000 (16:59 +0200)]
Add Rally back in upper constaints.
Change-Id: I87ad4bbe25684bacbeba8c667f6903057cefa46b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 9 Sep 2024 12:46:39 +0000 (14:46 +0200)]
Upgrade tox to py312
Change-Id: I60e306fb42ac6b4a779908477e7bb37eb95c3e15
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 9 Sep 2024 08:30:15 +0000 (10:30 +0200)]
Update to Alpine 3.20
Please note functest kubernetes now hosts its
upper-constraints.txt.
Change-Id: I87a4fa5e5437841d7f708d3ed9cc332d3b676cfb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 18 Apr 2024 12:57:39 +0000 (14:57 +0200)]
Take latest Rally K8S patch into account
Functest's patch was merged upstream.
Change-Id: I04a401e99ea5ce6995e3d7648c1452d307bcf78d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 18 Apr 2024 12:08:13 +0000 (14:08 +0200)]
Leverage the new CNF TestSuite repo
Change-Id: I8cba2f8cf510a93efdbc110a288fc5bf99c5143e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 18 Jan 2024 14:42:56 +0000 (15:42 +0100)]
Switch master to next v1.30
Change-Id: I412d3b50e9d306f7c6767d1c91ae72990fb58a93
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 18 Jan 2024 13:49:38 +0000 (14:49 +0100)]
Fix an invalid name issue
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>
Cédric Ollivier [Wed, 17 Jan 2024 15:57:51 +0000 (16:57 +0100)]
Update releases in README.md
Change-Id: I284dcf01a252b40a2fa98e3024c6621e913e4b05
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Jan 2024 13:57:04 +0000 (14:57 +0100)]
Fix git url
Change-Id: I7c774ccc027feae75fa1623545ea8ef7af50ccc9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f01d93b5abe20f6b1402d3b8fdc02c1dc772b90d)
(cherry picked from commit
0f41e6a4ed2ab0d60c71bd5a0c566c703d7b93c0)
Cédric Ollivier [Wed, 17 Jan 2024 14:00:55 +0000 (15:00 +0100)]
Patch cnf_testsuite namespaces if they exist
Change-Id: Ibace5356cb1f458fa8b929c0c84b2f06e5852ea0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 16 Jan 2024 16:02:30 +0000 (17:02 +0100)]
Set the rigth working dir
Else zip_compaign fails
Change-Id: Ib26b7c313e29c68098bfcac70cb44c292196adb5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 16 Jan 2024 12:59:48 +0000 (13:59 +0100)]
Enforce baseline psp for cnf_testsuite
It would be better not to change the default
namespace.
Change-Id: I9fde052d4dd7e0e4f6551213e2028c91c0296e42
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 13 Jan 2024 13:48:16 +0000 (14:48 +0100)]
Manage netperf namespace to enforce baseline
Change-Id: If74322d583d9f16478aad8dcda6afa2368ff5482
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 13 Jan 2024 11:15:54 +0000 (12:15 +0100)]
Apply privileged pod security standard to kube-bench
Change-Id: I0336d73f8a9663ef259adfe4377ce20499844021
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 13 Jan 2024 10:35:36 +0000 (11:35 +0100)]
Enforce baseline Pod Security Standard
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>
Cédric Ollivier [Fri, 12 Jan 2024 21:19:36 +0000 (22:19 +0100)]
Apply PR " Enforce baseline Pod Security Standard with namespace labels"
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>
Cédric Ollivier [Fri, 12 Jan 2024 20:00:04 +0000 (21:00 +0100)]
Remove Hostpath testing
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>
Cédric Ollivier [Tue, 9 Jan 2024 16:09:22 +0000 (17:09 +0100)]
Updated from global requirements
Change-Id: I51f9d4b6266150d02438e3dd2cf42f86a6469176
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Jan 2024 13:36:30 +0000 (14:36 +0100)]
Fix pylint issues in netperf
Change-Id: I47eac42fd30e857e2a94a7b5caa5850b3c7c9196
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Jan 2024 12:17:55 +0000 (13:17 +0100)]
Make ansible/site.gate.yml up-to-date
Change-Id: I4607bc297e21e569af6e80a4ac6a0e6aec68ec33
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 Jan 2024 09:30:31 +0000 (10:30 +0100)]
Remove tox pip_version in tox.ini
Change-Id: Iafae57b729650e70c084f98abafc6645174a893e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 22 Dec 2023 07:49:10 +0000 (08:49 +0100)]
Print netperf logs in console if exception
Change-Id: I7ea76aaa595ba7716d4a355f8a1f2d73c2af3ae8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 21 Dec 2023 13:53:49 +0000 (14:53 +0100)]
Help Debugging when e2e result parsing fails
Change-Id: I7f153b0ddef25b0317d8e9a8b2dad55ab580b388
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 21 Dec 2023 10:06:19 +0000 (11:06 +0100)]
Protect vs CNF TestSuite instabilities
Change-Id: I8e714abe603180d69a363e4293f44bb3c5cd1255
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 21 Dec 2023 08:26:17 +0000 (09:26 +0100)]
Fix CNF TestSuite's log level
Change-Id: I9a7e1a9d17fd575b7e6077d8ccf5dd5d1a259717
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 20 Dec 2023 14:29:02 +0000 (15:29 +0100)]
Exit if early failure in cnf_testsuite
Change-Id: I3a6a264a73bdc73c1c90471948316d216cf6ad98
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 15:03:03 +0000 (16:03 +0100)]
Skip [Feature:PodLifecycleSleepAction] testing
It's alpha in 1.29
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I0be1f82ca6073c7a31b536e30c54eba39f84c338
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 14:01:12 +0000 (15:01 +0100)]
Skip KubeletCredentialProviders testing
containerStatuses:
- image: gcr.io/k8s-authenticated-test/agnhost:2.6
imageID: ""
lastState: {}
name: container-auth-image
ready: false
restartCount: 0
started: false
state:
waiting:
message: Back-off pulling image "gcr.io/k8s-authenticated-test/agnhost:2.6"
reason: ImagePullBackOff
https://github.com/kubernetes/kubernetes/pull/117527
Change-Id: Ib4146488cfb945d360485944a8d864ec26905429
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 14:34:45 +0000 (15:34 +0100)]
Skip new [Feature:ServiceCIDRs] testing
https://github.com/kubernetes/kubernetes/commit/
cb509b01f316261050583e9f51744e361b9c3a93
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,
}
Change-Id: Ie857169e8aa54843a9d9456480364cb50c860c29
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 14:23:08 +0000 (15:23 +0100)]
Skip Feature:ClusterTrustBundle testing
It's currently alpha
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I1aa63bd9462f280a3e9f6b5599e28fad770c7698
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 10:03:39 +0000 (11:03 +0100)]
Skip Feature:WatchList testing
it's alpha
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I9b0a1f6ddaafae980e708a61705daf87b431ca5c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 09:47:17 +0000 (10:47 +0100)]
Skip Feature:UserNamespacesSupport
it's alpha
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: I129eb4209df3895f7301ac0df922813f676d1532
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Dec 2023 08:20:10 +0000 (09:20 +0100)]
Skip NodeLogQuery testing
it's alpha since v1.27
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: Id8b8a6c5411030fefe45c5598ae37160f3d37fa6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 17 Dec 2023 15:59:22 +0000 (16:59 +0100)]
Rather leverage next release than alpha
Change-Id: I24380a5ceed4768ec097738da6a1332091b9e96d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Dec 2023 13:43:24 +0000 (14:43 +0100)]
Skip RecoverVolumeExpansionFailure tests
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>
Cédric Ollivier [Fri, 15 Dec 2023 13:07:16 +0000 (14:07 +0100)]
Skip SELinux tests by default
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)
Cédric Ollivier [Fri, 15 Dec 2023 12:23:46 +0000 (13:23 +0100)]
Skip all [Feature:SidecarContainers] tests
It's alpha in v1.28.
https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/
Change-Id: Ib8779bc08dc33b4de36d4c993305b1a9bea5539a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 15 Dec 2023 12:15:16 +0000 (13:15 +0100)]
Skip all In-place Resource Resize for Kubernetes Pods tests
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>
(cherry picked from commit
e092df8de5f07137e2287f28ac0f3edfae1362a7)
Cédric Ollivier [Fri, 15 Dec 2023 12:09:28 +0000 (13:09 +0100)]
Skip all Feature:DynamicResourceAllocation tests
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)
(cherry picked from commit
d808defacd5cb6bfc4c0fee044fd8c15e934fdd1)
Cédric Ollivier [Fri, 8 Dec 2023 09:57:20 +0000 (10:57 +0100)]
Update cnf testsuite to v0.45.0
Change-Id: I6abd724b2dd4ce8fa014fe9167e853f2d300e4c7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
dc1ee47accf9c188e1f309479f5906afb693648c)
Cédric Ollivier [Fri, 8 Dec 2023 08:34:21 +0000 (09:34 +0100)]
Make xtesting owner of /src/cnf-testsuite
Change-Id: I8e2d50e8b3af829181d8f9f2a0fcb944d83797e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 7 Dec 2023 17:41:16 +0000 (18:41 +0100)]
netperf csv output dir must be writable
It changes working dir in a writable one.
Change-Id: I358233cff30c35da0d04921ac0521645a00b2656
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 5 Dec 2023 14:10:51 +0000 (15:10 +0100)]
k8s.gcr.io -> registry.k8s.io
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>
Cédric Ollivier [Mon, 4 Dec 2023 17:57:17 +0000 (18:57 +0100)]
Fixtures is missing in oslo_config's requirements
Change-Id: Ied31ae23b40ce8bd0fd811ed245421c893c0156e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 Dec 2023 13:22:15 +0000 (14:22 +0100)]
Remove now falsy true in ginkgo call.
Change-Id: I02b8984a5bbd13cd89e6118b1c0cf7b5c04e0fba
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 Dec 2023 12:14:45 +0000 (13:14 +0100)]
Add Alpine gcompat package
Change-Id: Iaecbb67b6042197cd8a6f7657b6f348e3bf0b13c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 30 Nov 2023 16:03:56 +0000 (17:03 +0100)]
Remove PyYaml from upper constraints
It doesnt compile because of cython
Change-Id: I6e1c531a2f7b3384bc4a5256120d917dec7c43c6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 1 Dec 2023 09:03:14 +0000 (10:03 +0100)]
Enforce pip's legacy-resolver
Change-Id: Id0b97782db354cfa66656746ee03f102b5c4d6e3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 21 Oct 2023 15:18:00 +0000 (17:18 +0200)]
Leverage binaries in PATH now
Change-Id: I5fef1deb13b2a914fe744d2f8f66a820a524d3f4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Oct 2023 09:11:05 +0000 (11:11 +0200)]
Stop overriding XtestingCI docker images
Change-Id: I2ac153b46f986f5672c44061155fdbe1646ed6ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 20 Oct 2023 06:46:19 +0000 (08:46 +0200)]
Allow building Functest Kubernetes Virtual Machines
Change-Id: I0ae46cae185d84de293f1d576b4e0b6bd08dc6d0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 9 May 2023 12:11:11 +0000 (14:11 +0200)]
Filter packaging in upper-constraints.txt
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>
Cédric Ollivier [Fri, 5 May 2023 15:02:33 +0000 (17:02 +0200)]
Set xtesting as owner of rally files
Change-Id: I35658a469e3b54973d24959a0771e8fa749136ee
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 20 Mar 2023 09:58:28 +0000 (10:58 +0100)]
Run pre-commit in the Functest K8s gates
Change-Id: I3957dbde922d8ed8edc47d5cf1aee1475f117836
Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 2 Mar 2023 15:42:33 +0000 (16:42 +0100)]
Fix url typo in README
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>
Cédric Ollivier [Tue, 24 Jan 2023 14:34:15 +0000 (15:34 +0100)]
Update README.md
It take latest updates into account.
Change-Id: I0a6af492c99cb49c326734c061b7934ea7a12127
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 23 Jan 2023 10:05:31 +0000 (11:05 +0100)]
Fix letter is lowercase in repositories.yml
Co-authored-by: Peter Pongracz <peter.1.pongracz@nokia.com>
Change-Id: I78be8192239cad58b25449c106da3e1f558bf13b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 25 Oct 2022 08:46:03 +0000 (10:46 +0200)]
Use new kubeconfig path in README.md
Change-Id: I1cee2d1ff47a1ab4f79c08d7dc00eb2ab8e6507e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 21 Oct 2022 15:21:54 +0000 (17:21 +0200)]
Use Path.home() instead of ~
Change-Id: I5863f4e0315b67a07dab4756857dba7aa37932f0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 21 Oct 2022 13:52:10 +0000 (15:52 +0200)]
Stop hardcoding KUBECONFIG
Change-Id: I6ac15eb3686d6502dfa1bbe179622693b1961f45
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 21 Oct 2022 13:45:12 +0000 (15:45 +0200)]
Create /var/lib/xtesting
Change-Id: I8947b683731a98066bffb47bb49afaa636901446
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 21 Oct 2022 13:34:27 +0000 (15:34 +0200)]
Use the new homedir
Change-Id: Iaf6161cb3d7379f50702e3f412c233200bcdfae1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 21 Oct 2022 08:46:31 +0000 (10:46 +0200)]
Stop using root in testing containers
It now creates and leverages xtesting as main user.
Change-Id: I5b871ac2729a875674514aab75ae079e1bf125f5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 20 Oct 2022 14:45:34 +0000 (16:45 +0200)]
Fix tox list
Change-Id: Ie028f15f2154a9dcb8b6613bff439a10860dc946
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 20 Oct 2022 14:48:37 +0000 (16:48 +0200)]
Fix tox list
Change-Id: Ie996cbf5751e757cedf79d03f3a9b2649183f250
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 20 Oct 2022 11:15:24 +0000 (13:15 +0200)]
Update to Alpine 3.16
Change-Id: Ib630178c93d4a991f43611796e0c07975ce421ec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 20 Oct 2022 08:34:58 +0000 (10:34 +0200)]
Update release tabs
It takes latest releases into account
Change-Id: Idd27a9e3df8d58c41417e7b9ca60d679fb0c4ebd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 17 Oct 2022 15:01:41 +0000 (17:01 +0200)]
cnf conformance now returns non zero values
Change-Id: I61cb69ef48b113571f791c7ee2ef7387c7421f32
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 17 Oct 2022 10:50:04 +0000 (12:50 +0200)]
Use cnf certifaction criteria
Change-Id: I7362827b600914ab032ba9657ac17e7bb157bdfc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 17 Oct 2022 07:09:54 +0000 (09:09 +0200)]
Update cnf_testsuite v0.34.0
It now runs cert (replacing workload)
It downgrades msg to warning as cnf_testsuite now returns
non 0 values.
Change-Id: I0ce4f201065bf601111d7154cb4afa31e9a4666c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
4338a2532600e659179335a5f5f71ab15f83f8d7)
Cédric Ollivier [Fri, 14 Oct 2022 12:35:19 +0000 (14:35 +0200)]
By default just print all vulnerabilities
It's the behavior expected by RA2.
Please change it via testcases.yaml if needed.
Change-Id: I84b02fa273f63ea1930bd356739243756032533d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 10 Oct 2022 11:15:43 +0000 (13:15 +0200)]
Uninstall falco and cri_tools after testing
Functest runs several clusters in the same server.
It quickly failes if falco is still running (dkms
tries to unload the module which is in-use).
Change-Id: I13b596a78ac40064cbed1aead8c785cc1cfc8626
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 6 Oct 2022 12:46:19 +0000 (14:46 +0200)]
Update kube bench test cases to latest dev
Change-Id: I6edcfcced84d46a06933f4a5dc1702cfa90e3f9a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 6 Oct 2022 08:10:50 +0000 (10:10 +0200)]
Update hube-hunter
Change-Id: I41e9a4a95a53bf51286951db2911475a8d2dd3a9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 4 Oct 2022 14:45:46 +0000 (16:45 +0200)]
Disable new testing Feature UserNamespacesStatelessPodsSupport
All new features are defacto optional until RA2 changes
its status.
Change-Id: I23456ec525c728719cd01533122d6c79c2617631
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Fri, 30 Sep 2022 13:01:11 +0000 (13:01 +0000)]
Merge "Complete Alpine 3.15 update"
Cédric Ollivier [Fri, 30 Sep 2022 09:30:05 +0000 (11:30 +0200)]
Complete Alpine 3.15 update
Change-Id: I4eaba8b410061e4d401319a020770d78b6990a85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 30 Sep 2022 09:20:46 +0000 (11:20 +0200)]
Replace -noColor by --no-color
--noColor is deprecated, use --no-color instead
Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed-command-line-flags
Change-Id: I31d17fda3138a59bba65c1ad8155c07d6b05a828
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 19 May 2022 12:39:33 +0000 (14:39 +0200)]
Skip Feature:ProxyTerminatingEndpoints
It's a new v1.24 feature testing which must be set as
mandatory in Anuket if relevant.
Change-Id: I6d8aff5ad35e1c08da300dd8b3de2ac9792d5068
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 19 May 2022 09:08:22 +0000 (11:08 +0200)]
Revert latest docker builds
This reverts commit
b2be1ff2852320940a1450ed5f2a6f4f4e91d7da.
Change-Id: If2852d6e85e11872fd0f2839445de014427dc535
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 18 May 2022 14:19:08 +0000 (16:19 +0200)]
Install libxml2 and libxslt
Change-Id: Ie827d9fbb3a6c20a30b921b197bcbcb6666ced4d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
e755e4cad01074086d53893f40b57ed2cbf5dd14)
Cédric Ollivier [Wed, 18 May 2022 14:17:42 +0000 (16:17 +0200)]
Prepare v1.24 docker builds
Change-Id: I8dc1e279eeb3b5c6045499b8b2fb3c1a5d62920d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 4 Mar 2022 12:08:15 +0000 (13:08 +0100)]
Leverage Xtesting 0.96
Change-Id: I6235342d4d53a688b960698b30332824cd372551
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 11 Jan 2022 13:30:36 +0000 (14:30 +0100)]
Outdated need to install python2.7-dev in CircleCI
Change-Id: I6e25c16659f4a5653afbf9ed66d809cb638bce65
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 16 Dec 2021 08:13:34 +0000 (09:13 +0100)]
Remove constraints on flake8
Change-Id: I23142c207c50eca24ad075a838f44d00293989b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 16 Dec 2021 08:13:34 +0000 (09:13 +0100)]
Update active releases in README.md
Change-Id: I5fd9486f49ef8bbca568fd539ae2cbe39e33e7f4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 3 Jan 2022 20:47:41 +0000 (21:47 +0100)]
Skip new Feature testing
It skips new features which have not been selected yet by Anuket:
- [Feature:CustomResourceValidationExpressions]
- [Feature:StatefulSetAutoDeletePVC]
- [Feature:GRPCContainerProbe]
Change-Id: I36d4f29e3ee7046e08a20244d7bbe0f3271bfbdb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 15 Nov 2021 14:13:46 +0000 (15:13 +0100)]
Update linters and fix all new issues
It mostly adds encoding in open calls and leverages f-strings.
It removes ansible-lint as it now asks for ansible, roles and collections.
Change-Id: I3ef729f44b2c721b14d19df27805938298aa2c67
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 5 Oct 2021 10:05:08 +0000 (12:05 +0200)]
Set defaut provider to local back
It apply the same rules as sonuoboy.
Any user is free to set skeleton or something else via testcases.yml.
Change-Id: Id999dfd5fbcf9bde9430e0f35c63c41e80c8044f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 11 Sep 2021 08:24:53 +0000 (10:24 +0200)]
Set encoding utf-8 when opening file
Change-Id: I4e756552173247499ba882bfee4fbe8738fbae3d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>