* 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>
* 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>
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>
* 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>
* 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>
* 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>
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>
* 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>
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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
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>
* 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>