Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubevirt for openSUSE:Factory 
checked in at 2024-01-12 23:45:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubevirt (Old)
 and      /work/SRC/openSUSE:Factory/.kubevirt.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubevirt"

Fri Jan 12 23:45:59 2024 rev:71 rq:1138242 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes        2024-01-05 
21:46:36.921698420 +0100
+++ /work/SRC/openSUSE:Factory/.kubevirt.new.21961/kubevirt.changes     
2024-01-12 23:46:22.108665899 +0100
@@ -1,0 +2,6 @@
+Fri Jan 12 06:27:45 UTC 2024 - Vasily Ulyanov <vasily.ulya...@suse.com>
+
+- Fix test with initially invalid DataVolume (bsc#1218174)
+  0001-tests-Adapt-VM-phase-expectation.patch
+
+-------------------------------------------------------------------

New:
----
  0001-tests-Adapt-VM-phase-expectation.patch

BETA DEBUG BEGIN:
  New:- Fix test with initially invalid DataVolume (bsc#1218174)
  0001-tests-Adapt-VM-phase-expectation.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kubevirt.spec ++++++
--- /var/tmp/diff_new_pack.csdyQn/_old  2024-01-12 23:46:22.752689471 +0100
+++ /var/tmp/diff_new_pack.csdyQn/_new  2024-01-12 23:46:22.752689471 +0100
@@ -41,6 +41,7 @@
 Source2:        kubevirt_containers_meta.service
 Source3:        %{url}/releases/download/v%{version}/disks-images-provider.yaml
 Source100:      %{name}-rpmlintrc
+Patch1:         0001-tests-Adapt-VM-phase-expectation.patch
 BuildRequires:  glibc-devel-static
 BuildRequires:  golang-packaging
 BuildRequires:  pkgconfig

++++++ 0001-tests-Adapt-VM-phase-expectation.patch ++++++
>From aa6647c263408bdf0518d74da2d4c37d3bb42de0 Mon Sep 17 00:00:00 2001
From: Vasiliy Ulyanov <vulya...@suse.de>
Date: Wed, 13 Dec 2023 08:10:37 +0100
Subject: [PATCH] tests: Adapt VM phase expectation

When CDI uses volume populators with malformed DataVolume, the VM
initially transitions to Scheduling phase.

Signed-off-by: Vasiliy Ulyanov <vulya...@suse.de>
---
 tests/storage/datavolume.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/storage/datavolume.go b/tests/storage/datavolume.go
index 46677257d..9d86d0eac 100644
--- a/tests/storage/datavolume.go
+++ b/tests/storage/datavolume.go
@@ -536,7 +536,7 @@ var _ = SIGDescribe("DataVolume Integration", func() {
                                vm, err = 
virtClient.VirtualMachine(vm.Namespace).Create(context.Background(), vm)
                                Expect(err).ToNot(HaveOccurred())
 
-                               Eventually(ThisVMIWith(vm.Namespace, vm.Name), 
100).Should(BeInPhase(v1.Pending))
+                               Eventually(ThisVMIWith(vm.Namespace, vm.Name), 
100).Should(Or(BeInPhase(v1.Pending), BeInPhase(v1.Scheduling)))
 
                                By("Creating a service which makes the registry 
reachable")
                                _, err = 
virtClient.CoreV1().Services(vm.Namespace).Create(context.Background(), 
&k8sv1.Service{
-- 
2.43.0

Reply via email to