Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Sys-Virt for openSUSE:Factory checked in at 2021-06-06 22:40:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Sys-Virt (Old) and /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1898 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Sys-Virt" Sun Jun 6 22:40:17 2021 rev:83 rq:896748 version:7.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Sys-Virt/perl-Sys-Virt.changes 2021-04-10 15:28:03.538426567 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Sys-Virt.new.1898/perl-Sys-Virt.changes 2021-06-06 22:40:20.463358638 +0200 @@ -1,0 +2,6 @@ +Mon May 17 22:20:21 UTC 2021 - James Fehlig <[email protected]> + +- Update to 7.3.0 + - Add all new APIs and constants in libvirt 7.3.0 + +------------------------------------------------------------------- Old: ---- Sys-Virt-7.2.0.tar.gz New: ---- Sys-Virt-7.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Sys-Virt.spec ++++++ --- /var/tmp/diff_new_pack.iHQS0k/_old 2021-06-06 22:40:21.063359813 +0200 +++ /var/tmp/diff_new_pack.iHQS0k/_new 2021-06-06 22:40:21.067359821 +0200 @@ -17,11 +17,11 @@ Name: perl-Sys-Virt -Version: 7.2.0 +Version: 7.3.0 Release: 0 %define cpan_name Sys-Virt Summary: Represent and manage a libvirt hypervisor connection -License: GPL-2.0-or-later OR ClArtistic +License: ClArtistic OR GPL-2.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/Sys-Virt Source: %{cpan_name}-%{version}.tar.gz ++++++ Sys-Virt-7.2.0.tar.gz -> Sys-Virt-7.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/.gitlab-ci.yml new/Sys-Virt-7.3.0/.gitlab-ci.yml --- old/Sys-Virt-7.2.0/.gitlab-ci.yml 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/.gitlab-ci.yml 2021-05-04 11:53:46.000000000 +0200 @@ -1,9 +1,9 @@ stages: - - prebuild - containers - builds - docs + - sanity_checks .container_job_template: &container_job_definition image: docker:stable @@ -22,18 +22,20 @@ after_script: - docker logout +.git_build_vars: &git_build_vars | + export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)" + export SCRATCH_DIR="/tmp/scratch" + export VROOT="$SCRATCH_DIR/vroot" + export LIBDIR="$VROOT/lib" + export LD_LIBRARY_PATH="$LIBDIR" + export PATH="$VROOT/bin:$PATH" + export PKG_CONFIG_PATH="$LIBDIR/pkgconfig" + .git_build_job_template: &git_build_job_definition image: $CI_REGISTRY_IMAGE/ci-$NAME:latest stage: builds before_script: - - export MAKEFLAGS="-j$(getconf _NPROCESSORS_ONLN)" - - export SCRATCH_DIR="/tmp/scratch" - - export VROOT="$SCRATCH_DIR/vroot" - - export LIBDIR="$VROOT/lib" - - export LD_LIBRARY_PATH="$LIBDIR" - - export PATH="$VROOT/bin:$PATH" - - export PKG_CONFIG_PATH="$LIBDIR/pkgconfig" - - export TEST_MAINTAINER=1 + - *git_build_vars script: - pushd "$PWD" - mkdir -p "$SCRATCH_DIR" @@ -49,13 +51,15 @@ - perl Build install - perl Build dist - if test -x /usr/bin/rpmbuild ; then rpmbuild --nodeps -ta Sys-Virt*.tar.gz ; fi + - mv "$SCRATCH_DIR" scratch # Check that all commits are signed-off for the DCO. # Skip on "libvirt" namespace, since we only need to run # this test on developer's personal forks from which # merge requests are submitted check-dco: - stage: prebuild + stage: sanity_checks + needs: [] image: registry.gitlab.com/libvirt/libvirt-ci/check-dco:master script: - /check-dco @@ -121,61 +125,88 @@ centos-7-git-build: <<: *git_build_job_definition + needs: + - centos-7-container variables: NAME: centos-7 centos-8-git-build: <<: *git_build_job_definition + needs: + - centos-8-container variables: NAME: centos-8 + artifacts: + expire_in: 2 days + paths: + - scratch centos-stream-git-build: <<: *git_build_job_definition + needs: + - centos-stream-container variables: NAME: centos-stream debian-10-git-build: <<: *git_build_job_definition + needs: + - debian-10-container variables: NAME: debian-10 debian-sid-git-build: <<: *git_build_job_definition + needs: + - debian-sid-container variables: NAME: debian-sid fedora-32-git-build: <<: *git_build_job_definition + needs: + - fedora-32-container variables: NAME: fedora-32 fedora-33-git-build: <<: *git_build_job_definition + needs: + - fedora-33-container variables: NAME: fedora-33 fedora-rawhide-git-build: <<: *git_build_job_definition + needs: + - fedora-rawhide-container variables: NAME: fedora-rawhide opensuse-152-git-build: <<: *git_build_job_definition + needs: + - opensuse-152-container variables: NAME: opensuse-152 ubuntu-1804-git-build: <<: *git_build_job_definition + needs: + - ubuntu-1804-container variables: NAME: ubuntu-1804 ubuntu-2004-git-build: <<: *git_build_job_definition + needs: + - ubuntu-2004-container variables: NAME: ubuntu-2004 apiref: stage: docs + needs: [] image: $CI_REGISTRY_IMAGE/ci-centos-8:latest script: - mkdir apiref @@ -187,3 +218,20 @@ expire_in: 30 days paths: - apiref + +api-coverage: + image: $CI_REGISTRY_IMAGE/ci-centos-8:latest + stage: sanity_checks + needs: + - job: centos-8-git-build + artifacts: true + before_script: + - *git_build_vars + script: + - mv scratch "$SCRATCH_DIR" + - perl Build.PL + - TEST_MAINTAINER=1 perl Build test + rules: + - if: '$CI_PIPELINE_SOURCE == "push"' + allow_failure: true + - if: '$CI_PIPELINE_SOURCE == "schedule"' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/Build.PL new/Sys-Virt-7.3.0/Build.PL --- old/Sys-Virt-7.2.0/Build.PL 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/Build.PL 2021-05-04 11:53:46.000000000 +0200 @@ -17,7 +17,7 @@ use strict; use warnings; -my $libvirtver = "7.2.0"; +my $libvirtver = "7.3.0"; my $stat = system "pkg-config --atleast-version=$libvirtver libvirt"; die "cannot run pkg-config to check libvirt version" if $stat == -1; die "libvirt >= $libvirtver is required\n" unless $stat == 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/Changes new/Sys-Virt-7.3.0/Changes --- old/Sys-Virt-7.2.0/Changes 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/Changes 2021-05-04 11:53:46.000000000 +0200 @@ -1,5 +1,13 @@ Revision history for perl module Sys::Virt +7.3.0 2021-04-04 + + - Add virNodeDeviceCreate, virNodeDeviceDefineXML and + virNodeDeviceUndefine + - Add new constants for filtering node devices + - Add new constants for node device events + - Add VIR_DOMAIN_NUMATUNE_MEM_RESTRICTIVE constant + 7.2.0 2021-04-01 - Add virDomainStartDirtyRateCalc API diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/README new/Sys-Virt-7.3.0/README --- old/Sys-Virt-7.2.0/README 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/README 2021-05-04 11:53:46.000000000 +0200 @@ -8,6 +8,6 @@ Module::Build buld system. For installation instructions, consult the INSTALL file. -The current minimum required version of libvirt is 7.2.0 +The current minimum required version of libvirt is 7.3.0 -- End diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-centos-7.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-centos-7.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-centos-7.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-centos-7.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile centos-7 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/centos:7 RUN yum update -y && \ @@ -11,6 +12,7 @@ yum install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -45,10 +47,10 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-centos-8.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-centos-8.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-centos-8.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-centos-8.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile centos-8 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/centos:8 RUN dnf update -y && \ @@ -13,6 +14,7 @@ dnf install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -49,10 +51,10 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-centos-stream.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-centos-stream.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-centos-stream.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-centos-stream.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile centos-stream libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/centos:8 RUN dnf install -y centos-release-stream && \ @@ -15,6 +16,7 @@ dnf install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -51,10 +53,10 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-debian-10.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-debian-10.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-debian-10.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-debian-10.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile debian-10 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/debian:10-slim RUN export DEBIAN_FRONTEND=noninteractive && \ @@ -12,6 +13,7 @@ eatmydata apt-get install --no-install-recommends -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -48,10 +50,10 @@ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-debian-sid.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-debian-sid.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-debian-sid.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-debian-sid.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile debian-sid libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/debian:sid-slim RUN export DEBIAN_FRONTEND=noninteractive && \ @@ -12,6 +13,7 @@ eatmydata apt-get install --no-install-recommends -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -46,7 +48,7 @@ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-fedora-32.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-fedora-32.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-fedora-32.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-fedora-32.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile fedora-32 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM registry.fedoraproject.org/fedora:32 RUN dnf install -y nosync && \ @@ -19,6 +20,7 @@ nosync dnf install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -53,7 +55,7 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-fedora-33.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-fedora-33.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-fedora-33.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-fedora-33.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile fedora-33 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM registry.fedoraproject.org/fedora:33 RUN dnf install -y nosync && \ @@ -19,6 +20,7 @@ nosync dnf install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -53,7 +55,7 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-fedora-rawhide.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-fedora-rawhide.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-fedora-rawhide.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-fedora-rawhide.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,10 +2,12 @@ # # $ lcitool dockerfile fedora-rawhide libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM registry.fedoraproject.org/fedora:rawhide -RUN dnf install -y nosync && \ +RUN dnf update -y --nogpgcheck fedora-gpg-keys && \ + dnf install -y nosync && \ echo -e '#!/bin/sh\n\ if test -d /usr/lib64\n\ then\n\ @@ -15,11 +17,11 @@ fi\n\ exec "$@"' > /usr/bin/nosync && \ chmod +x /usr/bin/nosync && \ - nosync dnf update -y --nogpgcheck fedora-gpg-keys && \ nosync dnf update -y && \ nosync dnf install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -54,7 +56,7 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-opensuse-152.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-opensuse-152.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-opensuse-152.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-opensuse-152.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,13 +2,15 @@ # # $ lcitool dockerfile opensuse-152 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM registry.opensuse.org/opensuse/leap:15.2 RUN zypper update -y && \ zypper install -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext-runtime \ git \ @@ -42,10 +44,10 @@ rpm -qa | sort > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-ubuntu-1804.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-ubuntu-1804.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-ubuntu-1804.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-ubuntu-1804.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile ubuntu-1804 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/ubuntu:18.04 RUN export DEBIAN_FRONTEND=noninteractive && \ @@ -12,6 +13,7 @@ eatmydata apt-get install --no-install-recommends -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -48,10 +50,10 @@ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/ci/containers/ci-ubuntu-2004.Dockerfile new/Sys-Virt-7.3.0/ci/containers/ci-ubuntu-2004.Dockerfile --- old/Sys-Virt-7.2.0/ci/containers/ci-ubuntu-2004.Dockerfile 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/ci/containers/ci-ubuntu-2004.Dockerfile 2021-05-04 11:53:46.000000000 +0200 @@ -2,7 +2,8 @@ # # $ lcitool dockerfile ubuntu-2004 libvirt+minimal,libvirt-perl # -# https://gitlab.com/libvirt/libvirt-ci/-/commit/d527e0c012f476c293f3bc801b7da08bc85f98ef +# https://gitlab.com/libvirt/libvirt-ci/-/commit/6552fd8885423cfc383a58255eca542937f7d4ea + FROM docker.io/library/ubuntu:20.04 RUN export DEBIAN_FRONTEND=noninteractive && \ @@ -12,6 +13,7 @@ eatmydata apt-get install --no-install-recommends -y \ ca-certificates \ ccache \ + cpp \ gcc \ gettext \ git \ @@ -48,10 +50,10 @@ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \ mkdir -p /usr/libexec/ccache-wrappers && \ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ - ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/gcc RUN pip3 install \ - meson==0.54.0 + meson==0.56.0 ENV LANG "en_US.UTF-8" ENV MAKE "/usr/bin/make" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/lib/Sys/Virt/Domain.pm new/Sys-Virt-7.3.0/lib/Sys/Virt/Domain.pm --- old/Sys-Virt-7.2.0/lib/Sys/Virt/Domain.pm 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/lib/Sys/Virt/Domain.pm 2021-05-04 11:53:46.000000000 +0200 @@ -3097,7 +3097,12 @@ =item Sys::Virt::Domain::NUMATUNE_MEM_INTERLEAVE -Allocation is interleaved across all masked nods +Allocation is interleaved across all masked nodes + +=item Sys::Virt::Domain::NUMATUNE_MEM_RESTRICTIVE + +Allocation is determined by the host using the masked +nodes. =back diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/lib/Sys/Virt/NodeDevice.pm new/Sys-Virt-7.3.0/lib/Sys/Virt/NodeDevice.pm --- old/Sys-Virt-7.2.0/lib/Sys/Virt/NodeDevice.pm 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/lib/Sys/Virt/NodeDevice.pm 2021-05-04 11:53:46.000000000 +0200 @@ -57,7 +57,11 @@ $params{wwpn}, $params{flags}); } elsif (exists $params{xml}) { - $self = Sys::Virt::NodeDevice::_create_xml($con, $params{xml}); + if ($params{nocreate}) { + $self = Sys::Virt::NodeDevice::_define_xml($con, $params{xml}, $params{flags}); + } else { + $self = Sys::Virt::NodeDevice::_create_xml($con, $params{xml}, $params{flags}); + } } else { die "name parameter is required"; } @@ -95,6 +99,18 @@ Reset the node device. The device must be unbound from the host OS drivers for this to work +=item $dev->create($flags=0) + +Start a node device whose configuration was previously defined using the +C<define_node_device> method in L<Sys::Virt>. The C<$flags> parameter is +currently unused and defaults to zero. + +=item $dev->undefine($flags=0) + +Delete a node device whose configuration was previously defined using the +C<define_node_device> method in L<Sys::Virt>. The C<$flags> parameter is +currently unused and defaults to zero. + =item $dev->destroy() Destroy the virtual device releasing any OS resources associated @@ -201,6 +217,14 @@ Include s390 AP queue devices +=item Sys::Virt::NodeDevice::LIST_ACTIVE + +Include active devices + +=item Sys::Virt::NodeDevice::LIST_INACTIVE + +Include inactive devices + =back =head2 EVENT ID CONSTANTS @@ -233,6 +257,14 @@ Indicates that a device has been deleted +=item Sys::Virt::NodeDevice::EVENT_DEFINED + +Indicates that a device configuration has been created + +=item Sys::Virt::NodeDevice::EVENT_UNDEFINED + +Indicates that a device configuration has been deleted + =back =cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/lib/Sys/Virt.pm new/Sys-Virt-7.3.0/lib/Sys/Virt.pm --- old/Sys-Virt-7.2.0/lib/Sys/Virt.pm 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/lib/Sys/Virt.pm 2021-05-04 11:53:46.000000000 +0200 @@ -81,7 +81,7 @@ use Sys::Virt::DomainCheckpoint; use Sys::Virt::Stream; -our $VERSION = '7.2.0'; +our $VERSION = '7.3.0'; require XSLoader; XSLoader::load('Sys::Virt', $VERSION); @@ -445,10 +445,11 @@ return Sys::Virt::Interface->_new(connection => $self, xml => $xml, nocreate => 1); } -=item my $dev = $conn->create_node_device($xml); +=item my $dev = $conn->create_node_device($xml, $flags=0); Create a new virtual node device based on the XML description passed into the -C<$xml> parameter. The returned object is an instance of the L<Sys::Virt::NodeDevice> +C<$xml> parameter. The C<$flags> parameter is currently unused and defaults to +zero. The returned object is an instance of the L<Sys::Virt::NodeDevice> class. This method is not available with unprivileged connections to the hypervisor. @@ -457,8 +458,29 @@ sub create_node_device { my $self = shift; my $xml = shift; + my $flags = shift || 0; + + return Sys::Virt::NodeDevice->_new(connection => $self, xml => $xml, flags => $flags); +} + +=item my $dev = $conn->define_node_device($xml, $flags=0); + +Defines, but does not start, a new node dev based on the XML description +passed into the C<$xml> parameter. The C<$flags> parameter is +currently unused and defaults to zero. The returned object is an instance +of the L<Sys::Virt::NodeDevice> class. This method is not available with +unprivileged connections to the hypervisor. The defined node device can +be later started by calling the C<create> method on the returned +C<Sys::Virt::NodeDevice> object. + +=cut + +sub define_node_device { + my $self = shift; + my $xml = shift; + my $flags = shift || 0; - return Sys::Virt::NodeDevice->_new(connection => $self, xml => $xml); + return Sys::Virt::NodeDevice->_new(connection => $self, xml => $xml, flags => $flags, nocreate => 1); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Sys-Virt-7.2.0/lib/Sys/Virt.xs new/Sys-Virt-7.3.0/lib/Sys/Virt.xs --- old/Sys-Virt-7.2.0/lib/Sys/Virt.xs 2021-04-01 13:05:55.000000000 +0200 +++ new/Sys-Virt-7.3.0/lib/Sys/Virt.xs 2021-05-04 11:53:46.000000000 +0200 @@ -7929,6 +7929,18 @@ virNodeDevicePtr +_define_xml(con, xml, flags=0) + virConnectPtr con; + const char *xml; + unsigned int flags; + CODE: + if (!(RETVAL = virNodeDeviceDefineXML(con, xml, flags))) + _croak_error(); + OUTPUT: + RETVAL + + +virNodeDevicePtr _lookup_by_name(con, name) virConnectPtr con; const char *name; @@ -8029,6 +8041,24 @@ void +create(dev, flags=0) + virNodeDevicePtr dev; + unsigned int flags; + PPCODE: + if (virNodeDeviceCreate(dev, flags) < 0) + _croak_error(); + + +void +undefine(dev, flags=0) + virNodeDevicePtr dev; + unsigned int flags; + PPCODE: + if (virNodeDeviceUndefine(dev, flags) < 0) + _croak_error(); + + +void list_capabilities(dev) virNodeDevicePtr dev; PREINIT: @@ -9842,6 +9872,7 @@ REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_STRICT, NUMATUNE_MEM_STRICT); REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_PREFERRED, NUMATUNE_MEM_PREFERRED); REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_INTERLEAVE, NUMATUNE_MEM_INTERLEAVE); + REGISTER_CONSTANT(VIR_DOMAIN_NUMATUNE_MEM_RESTRICTIVE, NUMATUNE_MEM_RESTRICTIVE); REGISTER_CONSTANT_STR(VIR_PERF_PARAM_CMT, PERF_PARAM_CMT); REGISTER_CONSTANT_STR(VIR_PERF_PARAM_MBML, PERF_PARAM_MBML); @@ -10341,12 +10372,16 @@ REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_CARD, LIST_CAP_AP_CARD); REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_MATRIX, LIST_CAP_AP_MATRIX); REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_CAP_AP_QUEUE, LIST_CAP_AP_QUEUE); + REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_ACTIVE, LIST_ACTIVE); + REGISTER_CONSTANT(VIR_CONNECT_LIST_NODE_DEVICES_INACTIVE, LIST_INACTIVE); REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE, EVENT_ID_LIFECYCLE); REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_ID_UPDATE, EVENT_ID_UPDATE); REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_CREATED, EVENT_CREATED); REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_DELETED, EVENT_DELETED); + REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_DEFINED, EVENT_DEFINED); + REGISTER_CONSTANT(VIR_NODE_DEVICE_EVENT_UNDEFINED, EVENT_UNDEFINED); stash = gv_stashpv( "Sys::Virt::StorageVol", TRUE ); ++++++ _service ++++++ --- /var/tmp/diff_new_pack.iHQS0k/_old 2021-06-06 22:40:21.163360008 +0200 +++ /var/tmp/diff_new_pack.iHQS0k/_new 2021-06-06 22:40:21.167360017 +0200 @@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">Sys-Virt</param> - <param name="revision">v7.2.0</param> + <param name="revision">v7.3.0</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://gitlab.com/libvirt/libvirt-perl.git</param> ++++++ suse-set-migration-constraints.patch ++++++ --- /var/tmp/diff_new_pack.iHQS0k/_old 2021-06-06 22:40:21.175360032 +0200 +++ /var/tmp/diff_new_pack.iHQS0k/_new 2021-06-06 22:40:21.175360032 +0200 @@ -2,10 +2,10 @@ References: fate#316614, bsc#859868 -Index: Sys-Virt-7.2.0/lib/Sys/Virt/Domain.pm +Index: Sys-Virt-7.3.0/lib/Sys/Virt/Domain.pm =================================================================== ---- Sys-Virt-7.2.0.orig/lib/Sys/Virt/Domain.pm -+++ Sys-Virt-7.2.0/lib/Sys/Virt/Domain.pm +--- Sys-Virt-7.3.0.orig/lib/Sys/Virt/Domain.pm ++++ Sys-Virt-7.3.0/lib/Sys/Virt/Domain.pm @@ -1172,6 +1172,18 @@ omitted libvirt will auto-generate suita only necessary to specify this URI if the destination host has multiple interfaces and a specific interface is required to transmit storage data. @@ -25,10 +25,10 @@ =back =item $ddom = $dom->migrate(destcon, flags=0, dname=undef, uri=undef, bandwidth=0) -Index: Sys-Virt-7.2.0/lib/Sys/Virt.xs +Index: Sys-Virt-7.3.0/lib/Sys/Virt.xs =================================================================== ---- Sys-Virt-7.2.0.orig/lib/Sys/Virt.xs -+++ Sys-Virt-7.2.0/lib/Sys/Virt.xs +--- Sys-Virt-7.3.0.orig/lib/Sys/Virt.xs ++++ Sys-Virt-7.3.0/lib/Sys/Virt.xs @@ -5535,7 +5535,7 @@ _migrate(dom, destcon, newparams, flags= virTypedParameterPtr params; int nparams; @@ -85,7 +85,7 @@ nparams = vir_typed_param_from_hv(newparams, params, nparams); vir_typed_param_add_string_list_from_hv(newparams, ¶ms, &nparams, -@@ -9508,6 +9532,9 @@ BOOT: +@@ -9538,6 +9562,9 @@ BOOT: REGISTER_CONSTANT_STR(VIR_MIGRATE_PARAM_DISKS_URI, MIGRATE_PARAM_DISKS_URI); REGISTER_CONSTANT(VIR_DOMAIN_MIGRATE_MAX_SPEED_POSTCOPY, MIGRATE_MAX_SPEED_POSTCOPY);
