Commit Graph

40 Commits

Author SHA1 Message Date
Alex Kalenyuk
8949310eb2
Update kubevirtci with new rook ceph, 1.32 lanes (#3624)
* Bump kvci to latest (new rook ceph)

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Switch testing lanes to 1.32/1.31

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* address some common make target failures

this addresses common annoying flakes with make targets
or adds logging to be able to debug them

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2025-03-05 21:21:31 +01:00
Alex Kalenyuk
745e4df162
Update kubevirtci, 1.31 lanes (#3555)
* Bump kvci to latest

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Switch testing lanes to 1.31/1.30

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Retry seeding images

This fails often since the most recent kvci bump,
so let's retry

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2024-12-17 09:34:01 +01:00
Thomas-David Griedel
10e1ba84e3
Add arch check for bazel (#3371)
bazel is not neccesary for unit tests and not supported for s390x yet so we skip the installation

Signed-off-by: Thomas-David Griedel <griedel911@gmail.com>
2024-08-14 23:02:07 +02:00
Alex Kalenyuk
368ad80a28
Update kubevirtci, 1.30 lanes (#3343)
* Bump kvci to latest

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Switch testing lanes to 1.30/1.29

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Revert "Add W/A for NFS OOMKills"

https://github.com/kubevirt/kubevirt/issues/10822#issuecomment-2220620883

This reverts commit aba780300f.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2024-07-26 06:25:15 +02:00
Alex Kalenyuk
fed4d7a604
Update kubevirtci, 1.29 lanes (#3023)
* Update kubevirtci

May help with nfs lane flaking:
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_containerized-data-importer/3017/pull-containerized-data-importer-e2e-nfs/1731266718799499264
Looks like the nfs server is working but mount commands from nfs csi against it are timing out.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Use crictl to prepull images

https://github.com/kubevirt/kubevirtci/pull/1100

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Add W/A for NFS OOMKills

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Switch testing lanes to 1.29/1.28

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2024-03-25 23:41:20 +01:00
akalenyu
55eac528e9
Switch CI lanes to 1.28 (#2908)
* Bump kubevirtci

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Switch testing lanes to 1.28/1.27

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Adjust sleep in cert config test

This test fails a lot on ts.After(auth.openshift.io/certificate-not-before)
I believe this is because a sleep of one second was never enough,
see 8cb11f53d9/vendor/github.com/openshift/library-go/pkg/crypto/crypto.go (L1002)

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2023-10-17 03:37:00 +02:00
Michael Henriksen
93bcff88ca
let's start testing 1.26 (#2697)
* let's start testing 1.26

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* remove sync-os-ci.sh

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

---------

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2023-04-22 04:47:54 +01:00
akalenyu
6bb139e5f0
Ceph WFFC lane set up (#2644)
* Bump kubevirtci for wffc ceph storage class

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Add infrastructure needed for ceph wffc lane

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Remove unused cluster sync providers

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2023-04-06 18:38:53 +01:00
akalenyu
80e0dab163
Bump kubevirtci for snapshot CRDs refresh (#2543)
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2023-01-19 01:11:00 +01:00
Eng Zer Jun
aaacbae797
refactor: move from io/ioutil to io and os packages (#2484)
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.

[1]: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-12-05 19:19:13 +00:00
Maya Rashish
52651224da
Bump kubevirtci, bump k8s versions used in CI (#2481)
* Update kubevirtci

Changes default KUBEVIRT_PROVIDER to k8s-1.25.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Bump kubernetes provider versions

1.24 -> 1.25
1.23 -> 1.24

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Add k8s-1.25 provider

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Remove cluster-sync/k8s-* versions that no longer exist in kubevirtci

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Note kubevirtci uses tags, not releases.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Use a namespace that exists to keep test valid

Newer kubernetes first complains about the namespace not existing,
let's make sure we use one that exists rather than modifying the
tests to expect a completely different failure.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2022-11-24 08:08:49 +00:00
akalenyu
494ca402d3
Update kubevirtci (#2454)
We're running quite far behind, let's bump so we can debug early before we really need something

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2022-11-01 15:00:56 +00:00
akalenyu
cbb439072b
Switch CI lanes to k8s 1.24 (#2328)
* Update kubevirtci

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Add cluster-sync 1.24 provider

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Increment k8s versions used in CI lanes

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Handle secrets not being auto generated in 1.24

More info in third bullet point
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.24.md#urgent-upgrade-notes

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2022-06-30 01:30:22 +02:00
Alexander Wels
6366ef397f
Increment versions of k8s used in CI (#2278)
* Increment versions of k8s used in CI

Take advantage of newer versions of k8s for testing.

Signed-off-by: Alexander Wels <awels@redhat.com>

* Udpate kubevirtci version to one that includes ceph 1.7.1

Signed-off-by: Alexander Wels <awels@redhat.com>
2022-05-19 19:37:43 +02:00
akalenyu
af347cebd9
Use NFS CSI instead of static no provisioner manual PVs (#2166)
* Update kubevirtci to get NFS-CSI

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Use NFS CSI instead of static no provisioner manual PVs

We are creating (and deleting) NFS PVs on our own before each test,
which seems to trigger a race in the deletion, causing flakes.

There is an NFS CSI driver available that we could use instead for dynamic NFS PV provisioning.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2022-03-07 15:59:46 +01:00
akalenyu
18c815261d
kubevirtci bump/controller change to overcome AfterSuite flake (#2162)
* Update kubevirtci to overcome AfterSuite flake

Update kubevirtci to get a fix for a flake where PVC cant be removed
because it still holds the `pvc-as-source-protection` finalizer:
https://github.com/kubernetes-csi/external-snapshotter/issues/349

More info in https://github.com/kubevirt/kubevirtci/pull/750.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Don't create multiple VolumeSnapshots

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2022-02-23 17:44:00 +01:00
Maya Rashish
0f15e8c108
Update kubevirtci, add newer cluster-sync provider logic (#1993)
* Bump kubevirtci

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Add k8s-1.21, k8s-1.22 cluster-sync goo

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Update comments to match reality - we're making local default here

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Test upgrade from newer versions of CDI

You can't install too old CDI on k8s-1.22, as we used APIs removed
in this version of kubernetes.

Try upgrading only from newer versions

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Use a path under /dev for attaching a PVC

After kubernetes 1.20 it seems like / is mounted nodev, so we can't
have "devicePath: /pvc" any more.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2021-10-26 12:47:30 +02:00
akalenyu
acb382b97c
Bump kubevirtci for uploadproxy port (#1886)
* Bump kubevirtci for uploadproxy port

Bumping kubevirtci to get https://github.com/kubevirt/kubevirtci/pull/653

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Fix local registry test container

We were never supposed to be able to run buildah bud without the SETFCAP capability:
https://www.redhat.com/sysadmin/podman-inside-kubernetes
Building an image using buildah requires a properly installed shadow-utils package. This requires SETFCAP.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Increase timeout on propagation from cdi.spec->cdiconfig

Seeing some failures on the istio lane to ensure propagation in 10 second

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2021-08-17 12:40:36 +02:00
Michael Henriksen
343f1aa8ad
update kubevirtci again to fix rook/ceph on single node (#1717)
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2021-03-24 17:28:52 +01:00
Michael Henriksen
0b45adfb54
update kubevirtci with builtin rook/ceph (#1703)
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2021-03-17 20:14:50 +01:00
Maya Rashish
6e931d8bda
Update kubevirtci (#1579)
* Update kubevirtci

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Sync kubevirtci gocli automatically, and move update logic to own script.

It's a separate script because we seem to only be able to pull in the
latest gocli tag, and we want update-codegen.sh to be reproducible.

The expected way to update is now:
Adjust git checksum in the file and run: ./hack/update-kubevirtci.sh

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Sync kubevirtci with new script.

Now that we don't run kubevirtci bump in bazel, we can see some files
were deleted long ago.

Also bumps KUBEVIRTCI_TAG.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2021-01-22 04:04:48 +01:00
Michael Henriksen
ac3a25729a
update kubevirtci (#1457)
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-10-28 14:59:46 +01:00
Michael Henriksen
75f4fd6f2f
update k8s deps to 18.6 and controller runtime to 0.6.2 (#1330)
* update k8s deps to 1.18.6 and controller runtime to 0.6.2

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* remove building code generators from docker image.  This way the k8s ligray version only has to be updated in go.mod

Do more stuff in the bazel container.  Faster and better interop

Fix unit tests

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* make format

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* remove unnecessary rsync

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* redo code generator dep management

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* builder uses go modules

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-08-07 14:09:52 +02:00
Maya Rashish
dd0b5f60ee
Update kubevirtci. (#1292)
* Update kubevirtci.

Changes default KUBEVIRT_PROVIDER to k8s-1.18 that works, the previous
CDI-specific change was wrong and got overridden by another
'make generate'.

Removes ocp and okd kubevirtci providers.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* GC okd-4.1 and okd-4.3 cluster-sync logic.

These lanes were removed from kubevirtci.

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2020-07-13 22:37:40 +02:00
Maya Rashish
0fe170eb21
Update kubevirtci and add k8s-1.18 lane (#1252)
* Update kubevirtci

This adds a k8s-1.18 lane, among other things.

Signed-off-by: Maya Rashish <mrashish@redhat.com>

* Add cluster-sync support for k8s-1.18

Signed-off-by: Maya Rashish <mrashish@redhat.com>
2020-06-25 13:28:11 +02:00
Michael Henriksen
f4f8e975b6
update kubevirtci (#1198)
* update kubevirtci to 0b941ea5dc647d3aea6f6a6fff95563d6ce0445e

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* make sure SELinux permissions correct for hpp

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>

* fix permission issue with clone source pods and k8s-1.17 provider

Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-05-07 13:19:19 +02:00
Alexander Wels
7c7cbdc78e
update kubevirtci to latest. (#1113)
Signed-off-by: Alexander Wels <awels@redhat.com>
2020-02-18 14:42:48 +01:00
Michael Henriksen
afa4f89ff8 update kubevirci and add support for k8s 1.17.0 (#1083)
Signed-off-by: Michael Henriksen <mhenriks@redhat.com>
2020-01-15 17:04:45 +01:00
Alexander Wels
d32b8d9914 Enable hostpath provisioner for OKD 4.3 kubevirtci provider. (#1060)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-12-20 16:04:44 +01:00
Alexander Wels
fa1477f1f8 Added support for OKD-4.3 lane (#1050)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-12-06 18:49:22 +01:00
Alexander Wels
657be041ac Add k8s 1.16.2 provider. (#1041)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-12-02 17:55:45 +01:00
Alexander Wels
10a97d1385
Update the kubevirtci OKD image to fix cert issue. (#1004)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-11-05 17:19:31 -05:00
Alexander Wels
212fe3e0ca
Update kubevirt ci to latest image. (#1002)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-11-04 07:55:08 -05:00
Alexander Wels
23f7489f74
Update kubevirt ci image to have valid certificates. (#992)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-10-15 13:14:47 -04:00
Alexander Wels
f8dad13db6
Update kubevirtci images to refresh certificates. (#973)
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-09-24 19:08:24 -04:00
Alexander Wels
25135ee46e
Updated kubevirtci images to latest. Rolling OKD 4.1 instead (#937)
of specific versions.
okd provider is now aware of KUBEVIRT_NUM_NODES

Signed-off-by: Alexander Wels <awels@redhat.com>
2019-08-23 15:39:51 -04:00
Alexander Wels
e047b17c95 Update kubevirtci k8s version to 1.15.1
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-08-15 08:24:34 -04:00
Alexander Wels
5fecd05927
Updated cluster-up with latest kubevirtci images. (#873)
Now using OKD 4.1.2 instead of 4.1.0.
k8s-1.13.3 and os-3.11.0-crio now using latest version of local volume provisioner:v2.3.2

Signed-off-by: Alexander Wels <awels@redhat.com>
2019-07-03 14:29:23 -04:00
Michael Henriksen
5682c55875 fix vendoring (#864)
* fix vendoring

* update kubevirtci version
2019-06-25 08:46:19 -04:00
Alexander Wels
0773572e5d
Refactored provider infra structure (#831)
* Remove a flaky part of the test that didn't add value.

Signed-off-by: Alexander Wels <awels@redhat.com>

Updated k8s image to latest.
Refactored cluster up to allow for adding more providers easily.

Signed-off-by: Alexander Wels <awels@redhat.com>

* Updated k8s image to latest.
Refactored cluster up to allow for adding more providers easily.
Enable OKD 4.1 provider

Signed-off-by: Alexander Wels <awels@redhat.com>
2019-06-13 14:29:42 -04:00