Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubevirt for openSUSE:Factory checked in at 2023-10-18 21:26:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubevirt (Old) and /work/SRC/openSUSE:Factory/.kubevirt.new.31755 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubevirt" Wed Oct 18 21:26:16 2023 rev:67 rq:1118539 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes 2023-10-16 22:33:43.941440394 +0200 +++ /work/SRC/openSUSE:Factory/.kubevirt.new.31755/kubevirt.changes 2023-10-18 21:26:34.266572669 +0200 @@ -1,0 +2,19 @@ +Wed Oct 18 07:41:49 UTC 2023 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Update to version 1.0.1 + Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.0.1 +- Drop upstreamed patches + 0002-ksm-Access-sysfs-from-the-host-filesystem.patch + 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch + 0006-isolation-close-file-when-exits.patch + 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch + 0008-fix-ticker-leak.patch + 0009-tests-Run-helper-pod-as-qemu-107-user.patch + 0010-Fix-PR-leftover-mount-and-perms.patch + 0011-Fix-Aggregated-Discovery.patch + 0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch + 0013-Adapt-e2e-tests-to-CDI-1.57.0.patch + 0014-Export-create-populator-compatible-datavolumes-from-.patch + 0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch + +------------------------------------------------------------------- Old: ---- 0002-ksm-Access-sysfs-from-the-host-filesystem.patch 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch 0006-isolation-close-file-when-exits.patch 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch 0008-fix-ticker-leak.patch 0009-tests-Run-helper-pod-as-qemu-107-user.patch 0010-Fix-PR-leftover-mount-and-perms.patch 0011-Fix-Aggregated-Discovery.patch 0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch 0013-Adapt-e2e-tests-to-CDI-1.57.0.patch 0014-Export-create-populator-compatible-datavolumes-from-.patch 0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch kubevirt-1.0.0.tar.gz New: ---- kubevirt-1.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubevirt.spec ++++++ --- /var/tmp/diff_new_pack.O7kns0/_old 2023-10-18 21:26:36.386649468 +0200 +++ /var/tmp/diff_new_pack.O7kns0/_new 2023-10-18 21:26:36.402650047 +0200 @@ -17,7 +17,7 @@ Name: kubevirt -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: Container native virtualization License: Apache-2.0 @@ -29,20 +29,8 @@ Source3: %{url}/releases/download/v%{version}/disks-images-provider.yaml Source100: %{name}-rpmlintrc Patch1: 0001-Fix-qemu-system-lookup.patch -Patch2: 0002-ksm-Access-sysfs-from-the-host-filesystem.patch Patch3: 0003-Virtiofs-Remove-duplicated-functional-tests.patch -Patch4: 0004-tests-leave-some-space-for-metadata-on-the-backend-P.patch Patch5: 0005-Support-multiple-watchdogs-in-the-domain-schema.patch -Patch6: 0006-isolation-close-file-when-exits.patch -Patch7: 0007-Fix-volume-detach-on-hotplug-attachment-pod-delete.patch -Patch8: 0008-fix-ticker-leak.patch -Patch9: 0009-tests-Run-helper-pod-as-qemu-107-user.patch -Patch10: 0010-Fix-PR-leftover-mount-and-perms.patch -Patch11: 0011-Fix-Aggregated-Discovery.patch -Patch12: 0012-Wait-for-new-hotplug-attachment-pod-to-be-ready.patch -Patch13: 0013-Adapt-e2e-tests-to-CDI-1.57.0.patch -Patch14: 0014-Export-create-populator-compatible-datavolumes-from-.patch -Patch15: 0015-tests-Delete-VMI-prior-to-NFS-server-pod.patch BuildRequires: glibc-devel-static BuildRequires: golang-packaging BuildRequires: pkgconfig ++++++ 0001-Fix-qemu-system-lookup.patch ++++++ --- /var/tmp/diff_new_pack.O7kns0/_old 2023-10-18 21:26:36.566655988 +0200 +++ /var/tmp/diff_new_pack.O7kns0/_new 2023-10-18 21:26:36.570656133 +0200 @@ -1,4 +1,4 @@ -From c4d429f3edffaaf8086f6cd22821b42ce2cf60c0 Mon Sep 17 00:00:00 2001 +From de15ee969681bbd95ed0e6a5a460c3b0cba2cf52 Mon Sep 17 00:00:00 2001 From: Vasiliy Ulyanov <vulya...@suse.de> Date: Tue, 4 Jul 2023 13:27:25 +0200 Subject: [PATCH 1/2] Lookup qemu process by executable prefix @@ -18,7 +18,7 @@ 4 files changed, 26 insertions(+), 19 deletions(-) diff --git a/pkg/virt-handler/isolation/detector.go b/pkg/virt-handler/isolation/detector.go -index 62f920025..a90281824 100644 +index 9c282e231..52a1de9ee 100644 --- a/pkg/virt-handler/isolation/detector.go +++ b/pkg/virt-handler/isolation/detector.go @@ -185,13 +185,13 @@ func AdjustQemuProcessMemoryLimits(podIsoDetector PodIsolationDetector, vmi *v1. @@ -136,10 +136,10 @@ ), ) -- -2.41.0 +2.42.0 -From 30a544b57182fff64646eede6eba360cd0ceb0c3 Mon Sep 17 00:00:00 2001 +From 0254d71c567fef3cd6ce8378eb0540fc93e5666f Mon Sep 17 00:00:00 2001 From: Vasiliy Ulyanov <vulya...@suse.de> Date: Tue, 4 Jul 2023 14:04:57 +0200 Subject: [PATCH 2/2] tests: Detect the qemu emulator binary in runtime @@ -152,9 +152,9 @@ tests/realtime/BUILD.bazel | 1 + tests/realtime/realtime.go | 28 +++++++++++++++++----------- tests/security_features_test.go | 14 +++++++------- - tests/utils.go | 16 ++++++++++++---- - tests/vmi_configuration_test.go | 12 ++++++++---- - 5 files changed, 45 insertions(+), 26 deletions(-) + tests/utils.go | 12 ++++++++++-- + tests/vmi_configuration_test.go | 8 ++++++-- + 5 files changed, 41 insertions(+), 22 deletions(-) diff --git a/tests/realtime/BUILD.bazel b/tests/realtime/BUILD.bazel index 3718467e1..9d66eb7df 100644 @@ -265,7 +265,7 @@ Expect(err).ToNot(HaveOccurred()) slice = strings.Split(strings.TrimSpace(psOutput), "\n") diff --git a/tests/security_features_test.go b/tests/security_features_test.go -index cc49ba038..42adfe1d6 100644 +index e38291691..98230bbaf 100644 --- a/tests/security_features_test.go +++ b/tests/security_features_test.go @@ -129,9 +129,9 @@ var _ = Describe("[Serial][sig-compute]SecurityFeatures", Serial, decorators.Sig @@ -315,10 +315,10 @@ By("Verifying SELinux context contains custom type in pod") diff --git a/tests/utils.go b/tests/utils.go -index 6b5ab7de8..276046454 100644 +index c51656291..9984000c4 100644 --- a/tests/utils.go +++ b/tests/utils.go -@@ -363,10 +363,10 @@ func GetProcessName(pod *k8sv1.Pod, pid string) (output string, err error) { +@@ -360,10 +360,10 @@ func GetProcessName(pod *k8sv1.Pod, pid string) (output string, err error) { return } @@ -326,29 +326,12 @@ +func GetVcpuMask(pod *k8sv1.Pod, emulator, cpu string) (output string, err error) { virtClient := kubevirt.Client() -- pscmd := "ps -LC qemu-kvm -o lwp,comm| grep \"CPU " + cpu + "\" | cut -f 1 -d \"C\"" -+ pscmd := "ps -LC " + emulator + " -o lwp,comm| grep \"CPU " + cpu + "\" | cut -f 1 -d \"C\"" - output, err = exec.ExecuteCommandOnPod( - virtClient, - pod, -@@ -383,14 +383,14 @@ func GetVcpuMask(pod *k8sv1.Pod, cpu string) (output string, err error) { - return output, err - } - --func GetKvmPitMask(pod *k8sv1.Pod, nodeName string) (output string, err error) { -+func GetKvmPitMask(pod *k8sv1.Pod, emulator, nodeName string) (output string, err error) { - virtClient := kubevirt.Client() - - output, err = exec.ExecuteCommandOnPod( - virtClient, - pod, - "compute", -- []string{"ps", "-C", "qemu-kvm", "-o", "pid", "--noheader"}, -+ []string{"ps", "-C", emulator, "-o", "pid", "--noheader"}, - ) - Expect(err).ToNot(HaveOccurred()) - qemupid := strings.TrimSpace(strings.Trim(output, "\n")) -@@ -1748,6 +1748,14 @@ func GetRunningVMIDomainSpec(vmi *v1.VirtualMachineInstance) (*launcherApi.Domai +- pscmd := `ps -LC qemu-kvm -o lwp,comm | grep "CPU ` + cpu + `" | cut -f1 -dC` ++ pscmd := `ps -LC ` + emulator + ` -o lwp,comm | grep "CPU ` + cpu + `" | cut -f1 -dC` + args := []string{BinBash, "-c", pscmd} + Eventually(func() error { + output, err = exec.ExecuteCommandOnPod(virtClient, pod, "compute", args) +@@ -1746,6 +1746,14 @@ func GetRunningVMIDomainSpec(vmi *v1.VirtualMachineInstance) (*launcherApi.Domai return &runningVMISpec, err } @@ -364,10 +347,10 @@ errChan := make(chan error, 1) readyChan := make(chan struct{}) diff --git a/tests/vmi_configuration_test.go b/tests/vmi_configuration_test.go -index cfdd1afe1..a574a911d 100644 +index 4f120127c..44590fdaa 100644 --- a/tests/vmi_configuration_test.go +++ b/tests/vmi_configuration_test.go -@@ -2506,18 +2506,22 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { +@@ -2639,8 +2639,12 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { &expect.BExp{R: "2"}, }, 15)).To(Succeed()) @@ -376,17 +359,13 @@ + emulator = filepath.Base(emulator) + virtClient := kubevirt.Client() -- pscmd := []string{"ps", "-C", "qemu-kvm", "-o", "pid", "--noheader"} -+ pscmd := []string{"ps", "-C", emulator, "-o", "pid", "--noheader"} - _, err = exec.ExecuteCommandOnPod( - virtClient, readyPod, "compute", pscmd) -- // do not check for kvm-pit thread if qemu-kvm is not in use -+ // do not check for kvm-pit thread if qemu is not in use +- pidCmd := []string{"pidof", "qemu-kvm"} ++ pidCmd := []string{"pidof", emulator} + qemuPid, err := exec.ExecuteCommandOnPod(virtClient, readyPod, "compute", pidCmd) + // do not check for kvm-pit thread if qemu is not in use if err != nil { - return - } -- kvmpitmask, err := tests.GetKvmPitMask(readyPod, node) -+ kvmpitmask, err := tests.GetKvmPitMask(readyPod, emulator, node) +@@ -2649,7 +2653,7 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { + kvmpitmask, err := tests.GetKvmPitMask(strings.TrimSpace(qemuPid), node) Expect(err).ToNot(HaveOccurred()) - vcpuzeromask, err := tests.GetVcpuMask(readyPod, "0") @@ -395,6 +374,6 @@ Expect(kvmpitmask).To(Equal(vcpuzeromask)) -- -2.41.0 +2.42.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.O7kns0/_old 2023-10-18 21:26:36.610657582 +0200 +++ /var/tmp/diff_new_pack.O7kns0/_new 2023-10-18 21:26:36.614657727 +0200 @@ -1,7 +1,7 @@ <services> - <service name="tar_scm" mode="disabled"> + <service name="tar_scm" mode="manual"> <param name="filename">kubevirt</param> - <param name="revision">v1.0.0</param> + <param name="revision">v1.0.1</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://github.com/kubevirt/kubevirt</param> @@ -9,11 +9,11 @@ <param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param> <param name="versionrewrite-replacement">\1</param> </service> - <service name="recompress" mode="disabled"> + <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">gz</param> </service> - <service name="set_version" mode="disabled"/> - <service name="download_files" mode="disabled"/> + <service name="set_version" mode="manual"/> + <service name="download_files" mode="manual"/> </services> ++++++ disks-images-provider.yaml ++++++ --- /var/tmp/diff_new_pack.O7kns0/_old 2023-10-18 21:26:36.642658741 +0200 +++ /var/tmp/diff_new_pack.O7kns0/_new 2023-10-18 21:26:36.642658741 +0200 @@ -22,7 +22,7 @@ serviceAccountName: kubevirt-testing containers: - name: target - image: quay.io/kubevirt/disks-images-provider:v1.0.0 + image: quay.io/kubevirt/disks-images-provider:v1.0.1 imagePullPolicy: Always lifecycle: preStop: ++++++ kubevirt-1.0.0.tar.gz -> kubevirt-1.0.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/kubevirt/kubevirt-1.0.0.tar.gz /work/SRC/openSUSE:Factory/.kubevirt.new.31755/kubevirt-1.0.1.tar.gz differ: char 12, line 1