Mock Version: 1.4.20 Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v8.0-testing-1603-981/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.utf8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.utf8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sm-2.2.3-1.0.3.xcpng8.0.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v8.0-testing-1603-981/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.utf8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.utf8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A5JJDJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-2.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-2.2.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-2.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/sm-1.25.0-partial-ext4-and-xfs-support.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/sm-2.2.3-rebrand-xs-sm-service.XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/sm-2.2.3-CA-327382__reap_child_processes.backport.patch + /usr/bin/cat /builddir/build/SOURCES/sm-2.2.3-CA-328536-fix-never-ending-coalesce.backport.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Dt6gzW + umask 022 + cd /builddir/build/BUILD + cd sm-2.2.3 + DESTDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + make make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/dcopy' cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wall dcopy.c atomicio.c -o dcopy cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wall tp.c -o tp make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/dcopy' make -C mpathroot make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2kmjM9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-2.2.3 + DESTDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + make install make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/dcopy' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/dcopy' make -C mpathroot make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' Checking drivers/SR.py ... Checking drivers/SRCommand.py ... Checking drivers/VDI.py ... Checking drivers/BaseISCSI.py ... Checking drivers/cleanup.py ... Checking drivers/lvutil.py ... Checking drivers/lvmcache.py ... Checking drivers/util.py ... Checking drivers/verifyVHDsOnSR.py ... Checking drivers/scsiutil.py ... Checking drivers/scsi_host_rescan.py ... Checking drivers/vhdutil.py ... Checking drivers/lvhdutil.py ... Checking drivers/xs_errors.py ... Checking drivers/nfs.py ... Checking drivers/devscan.py ... Checking drivers/sysdevice.py ... Checking drivers/iscsilib.py ... Checking drivers/mpath_dmp.py ... Checking drivers/mpath_null.py ... Checking drivers/mpath_cli.py ... Checking drivers/mpathutil.py ... Checking drivers/LUNperVDI.py ... Checking drivers/mpathcount.py ... Checking drivers/refcounter.py ... Checking drivers/journaler.py ... Checking drivers/fjournaler.py ... Checking drivers/lock.py ... Checking drivers/flock.py ... Checking drivers/ipc.py ... Checking drivers/srmetadata.py ... Checking drivers/metadata.py ... Checking drivers/lvmanager.py ... Checking drivers/blktap2.py ... Checking drivers/mpp_mpathutil.py ... Checking drivers/lcache.py ... Checking drivers/resetvdis.py ... Checking drivers/B_util.py ... Checking drivers/wwid_conf.py ... Checking drivers/trim_util.py ... Checking drivers/pluginutil.py ... Checking drivers/fcoelib.py ... Checking drivers/constants.py ... Checking drivers/cbtutil.py ... Checking drivers/FileSR.py ... Checking drivers/NFSSR.py ... Checking drivers/EXTSR.py ... Checking drivers/RawISCSISR.py ... Checking drivers/DummySR.py ... Checking drivers/udevSR.py ... Checking drivers/ISOSR.py ... Checking drivers/HBASR.py ... Checking drivers/RawHBASR.py ... Checking drivers/LVHDSR.py ... Checking drivers/LVHDoISCSISR.py ... Checking drivers/LVHDoHBASR.py ... Checking drivers/OCFSSR.py ... Checking drivers/OCFSoISCSISR.py ... Checking drivers/OCFSoHBASR.py ... Checking drivers/SHMSR.py ... Checking drivers/SMBSR.py ... Checking drivers/LVHDoFCoESR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/sbin for i in drivers/SR.py drivers/SRCommand.py drivers/VDI.py drivers/BaseISCSI.py drivers/cleanup.py drivers/lvutil.py drivers/lvmcache.py drivers/util.py drivers/verifyVHDsOnSR.py drivers/scsiutil.py drivers/scsi_host_rescan.py drivers/vhdutil.py drivers/lvhdutil.py drivers/xs_errors.py drivers/nfs.py drivers/devscan.py drivers/sysdevice.py drivers/iscsilib.py drivers/mpath_dmp.py drivers/mpath_null.py drivers/mpath_cli.py drivers/mpathutil.py drivers/LUNperVDI.py drivers/mpathcount.py drivers/refcounter.py drivers/journaler.py drivers/fjournaler.py drivers/lock.py drivers/flock.py drivers/ipc.py drivers/srmetadata.py drivers/metadata.py drivers/lvmanager.py drivers/blktap2.py drivers/mpp_mpathutil.py drivers/lcache.py drivers/resetvdis.py drivers/B_util.py drivers/wwid_conf.py drivers/trim_util.py drivers/pluginutil.py drivers/fcoelib.py drivers/constants.py drivers/cbtutil.py drivers/FileSR.py drivers/NFSSR.py drivers/EXTSR.py drivers/RawISCSISR.py drivers/DummySR.py drivers/udevSR.py drivers/ISOSR.py drivers/HBASR.py drivers/RawHBASR.py drivers/LVHDSR.py drivers/LVHDoISCSISR.py drivers/LVHDoHBASR.py drivers/OCFSSR.py drivers/OCFSoISCSISR.py drivers/OCFSoHBASR.py drivers/SHMSR.py drivers/SMBSR.py drivers/LVHDoFCoESR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//etc/multipath.xenserver/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//etc/rc.d/init.d/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//etc/logrotate.d/ install -m 644 etc/make-dummy-sr.service \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//usr/lib/systemd/system/ install -m 644 snapwatchd/snapwatchd.service \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//usr/lib/systemd/system/ install -m 644 systemd/xs-sm.service \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//usr/lib/systemd/system/ install -m 644 systemd/usb-scan.* \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//usr/lib/systemd/system/ install -m 644 systemd/mpathcount.* \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64//usr/lib/systemd/system/ for i in 40-multipath 55-xs-mpath-scsidev 57-usb 58-xapi; do \ install -m 644 udev/$i.rules \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/udev/rules.d/; done for i in XE_SR_ERRORCODES; do \ install -m 755 drivers/$i.xml \ /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/; done cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && for i in File NFS EXT RawISCSI Dummy udev ISO HBA RawHBA LVHD LVHDoISCSI LVHDoHBA OCFS OCFSoISCSI OCFSoHBA SHM SMB LVHDoFCoE; do \ ln -sf $i"SR.py" $i"SR"; \ done rm /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm//SHMSR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f LVHDSR && ln -sf LVHDSR.py LVMSR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f RawISCSISR && ln -sf RawISCSISR.py ISCSISR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f LVHDoISCSISR && ln -sf LVHDoISCSISR.py LVMoISCSISR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f LVHDoHBASR && ln -sf LVHDoHBASR.py LVMoHBASR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f LVHDoFCoESR && ln -sf LVHDoFCoESR.py LVMoFCoESR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f OCFSSR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f OCFSoISCSISR cd /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ && rm -f OCFSoHBASR ln -sf /opt/xensource/sm/mpathutil.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/sbin/mpathutil install -m 755 drivers/02-vhdcleanup /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xensource/master.d/ install -m 755 drivers/lvhd-thin /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/on-slave /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/testing-hooks /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/coalesce-leaf /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/nfs-on-slave /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/tapdisk-pause /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/vss_control /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/intellicache-clean /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/enable-borehamwood /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ install -m 755 drivers/trim /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/xapi.d/plugins/ ln -sf /etc/xapi.d/plugins/vss_control /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ install -m 755 drivers/iscsilib.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ install -m 755 drivers/fcoelib.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ install -m 755 scripts/local-device-change /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ install -m 755 scripts/check-device-sharing /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ install -m 755 scripts/usb_change /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ install -m 755 scripts/kickpipe /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/dcopy' mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec install -m 755 dcopy /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/debug install -m 755 tp /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/debug make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/dcopy' make -C snapwatchd install DESTDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/snapwatchd' mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/snapwatchd install -m 644 xslib.py snapwatchd snapdebug.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/snapwatchd chmod +x /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/snapwatchd/snapwatchd chmod +x /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/snapwatchd/xslib.py chmod +x /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/sm/snapwatchd/snapdebug.py mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/lib/systemd/system cp snapwatchd.service /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/lib/systemd/system/. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/snapwatchd' make -C mpathroot install DESTDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' cp mpathroot.init /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/rc.d/init.d/mpathroot chmod +x /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/rc.d/init.d/mpathroot make[1]: Leaving directory `/builddir/build/BUILD/sm-2.2.3/mpathroot' ln -sf /opt/xensource/sm/blktap2.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin//blktap2 ln -sf /opt/xensource/sm/lcache.py /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin/tapdisk-cache-stats ln -sf /dev/null /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/udev/rules.d//69-dm-lvm-metad.rules install -m 755 scripts/xs-mpath-scsidev.sh /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/etc/udev/scripts/ install -m 755 scripts/xe-get-arrayid-lunnum /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getarrayidentifier /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getlunidentifier /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/bin/ install -m 755 scripts/make-dummy-sr /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/sm-2.2.3 extracting debug info from /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/debug/tp extracting debug info from /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/opt/xensource/libexec/dcopy dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 2 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.eCguiO + umask 022 + cd /builddir/build/BUILD + cd sm-2.2.3 + tests/run_python_unittests.sh nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/XE_api_library.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/biotest.c is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/dev_run_python_unittests.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/extoiscsi_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/file_config.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/file_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/liscsi_config.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvm_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvmoiscsi_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/nfs_config.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/nfs_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/performance_functions.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/run_python_unittests.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/setup_env_for_python_unittests.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/rununittests.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/snapshot_stress.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/submit.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/test_content_id.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/test_intellicache.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/testsm.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/lvhd_test/vdi_tests.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/parallelise_stress_tests.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/sshutil_test.py is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test1.sh is executable; skipped test_find_not_found (test_FileSR.TestFileVDI) ... ok test_find_raw_path (test_FileSR.TestFileVDI) ... ok test_find_retry_vhd_path (test_FileSR.TestFileVDI) ... ok test_find_vhd_path (test_FileSR.TestFileVDI) ... ok test_default_value (test_ISCSISR.TestForceTapDiskConfig) ... ok test_set_to_true (test_ISCSISR.TestForceTapDiskConfig) ... ok Asserts that CHAP credentials are always encoded in UTF-8. ... ok test_initPaths_active_path_detection (test_ISCSISR.TestMultiLUNISCSISR) ... ok test_initPaths_actual_path_is_active (test_ISCSISR.TestMultiLUNISCSISR) ... ok test_default_vdi_type (test_ISCSISR.TestVdiTypeSetting) ... ok test_vdi_type_modified_by_force_tapdisk (test_ISCSISR.TestVdiTypeSetting) ... ok test_attach_nfs (test_ISOSR.TestISOSR_overNFS) ... ok test_attach_nfs_no_server (test_ISOSR.TestISOSR_overNFS) ... ok test_load (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_called (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_exceptionraised (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_returnused (test_ISOSR.TestISOSR_overNFS) ... ok test_attach_smb_version_fallback_error (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_version_fallback_with_smb_1_3_disabled (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_version_fallback_with_smb_3_disabled (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_no_version (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_no_version_fallback (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_version_1 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_version_3 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_wrongversion (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_wrongversion_via_xemount (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_no_version (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_version_1 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_version_3 (test_ISOSR.TestISOSR_overSMB) ... ok test_load (test_ISOSR.TestISOSR_overSMB) ... ok sr.allVDIs populated by _loadvdis ... ok No LV refresh on slaves when Cleaning up local LVHD SR's journal ... ok test_load_no_scsiid (test_LVHDoFCoESR.TestFCoESR) ... ok test_load_pbd_exception (test_LVHDoFCoESR.TestFCoESR) ... ok test_load_scsiid (test_LVHDoFCoESR.TestFCoESR) ... ok test_vdi (test_LVHDoFCoESR.TestFCoESR) ... ok test_1st_try_block_raise_RandomError (test_LVHDoISCSISR.TestLVHDoISCSISR_load) ... ok test_1st_try_block_raise_XenError (test_LVHDoISCSISR.TestLVHDoISCSISR_load) ... ok test_attach (test_NFSSR.TestNFSSR) ... ok test_load (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_called (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_exceptionraised (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_returnused (test_NFSSR.TestNFSSR) ... ok test_attach_if_mounted_then_attached (test_SMBSR.Test_SMBSR) ... ok test_attach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR) ... ok test_detach_not_detached_if_not_mounted (test_SMBSR.Test_SMBSR) ... ok test_detach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR) ... ok test_mount_mountpoint_empty_string (test_SMBSR.Test_SMBSR) ... ok test_mount_mountpoint_isdir (test_SMBSR.Test_SMBSR) ... ok Assert that any arbitrary exception raised and with a big message length is logged to SMlog. Only the first line of the message is asserted (traceback ommited). ... ok If an SR.SRException is thrown, assert that print .toxml()" is called. ... ok If an exception other than SR.SRException is thrown, assert that it is wrapped and not thrown. ... ok test_get_tap_type_returns_aio_for_udev_device (test_blktap2.TestVDI) ... ok test_tap_wanted_returns_true_for_udev_device (test_blktap2.TestVDI) ... ok test_activate_consistency_check_fail (test_cbt.TestCBT) ... ok test_activate_consistent_success (test_cbt.TestCBT) ... ok test_activate_no_tracking_success (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_already_disabled (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_metadata_deletion_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_pause_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_when_enabled_with_parent (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_when_enabled_without_parent (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_already_enabled (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_creation_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_initialisation_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_no_space (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_pause_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_raw_vdi (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_snapshot (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_success (test_cbt.TestCBT) ... ok test_deactivate_no_tracking_success (test_cbt.TestCBT) ... ok test_deactivate_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_cbt_disabled (test_cbt.TestCBT) ... ok test_list_changed_blocks_larger_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_not_related (test_cbt.TestCBT) ... ok test_list_changed_blocks_same_vdi (test_cbt.TestCBT) ... ok test_list_changed_blocks_smaller_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_strip_sensitive_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_vdi_resized_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_vdi_shrunk (test_cbt.TestCBT) ... ok test_resize_cbt_disable (test_cbt.TestCBT) ... ok test_resize_cbt_enabled (test_cbt.TestCBT) ... ok test_resize_exception (test_cbt.TestCBT) ... ok test_snapshot_out_of_space_failure (test_cbt.TestCBT) ... ok test_snapshot_success_no_parent (test_cbt.TestCBT) ... ok test_snapshot_success_with_CBT_disable (test_cbt.TestCBT) ... ok test_snapshot_success_with_parent (test_cbt.TestCBT) ... ok test_vdi_data_destroy_cbt_disabled (test_cbt.TestCBT) ... ok test_vdi_data_destroy_cbt_enabled (test_cbt.TestCBT) ... ok test_vdi_delete_bitmap_coalesce_exc (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_disabled (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_enabled_no_child (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_enabled_with_child (test_cbt.TestCBT) ... ok test_createCBTLog (test_cbtutil.TestCbtutil) ... ok test_getCBTConsistency_consistent (test_cbtutil.TestCbtutil) ... ok test_getCBTConsistency_not_consistent (test_cbtutil.TestCbtutil) ... ok test_setCBTChild (test_cbtutil.TestCbtutil) ... ok test_setCBTConsistency_consistent_success (test_cbtutil.TestCbtutil) ... ok test_setCBTConsistency_not_consistent_success (test_cbtutil.TestCbtutil) ... ok test_setCBTParent (test_cbtutil.TestCbtutil) ... ok Given an already locked SR, a lock call increments the lock counter ... ok Given no srLock present, the lock operations don't touch the counter ... ok If the lock is busy, the lock counter is not incremented ... ok If IPC abort was requested, lock raises AbortException ... ok If the lock is busy, SMException is raised ... ok After performing a lock, the counter equals to 1 ... ok nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test_dcopy.sh is executable; skipped test_adapter_and_disk_added (test_devscan.TestAdapters) ... ok test_exotic_adapter_with_security_device (test_devscan.TestAdapters) ... ok test_no_adapters (test_devscan.TestAdapters) ... ok test_26_kernel (test_devscan.TestExtractDevName) ... ok test_3x_kernel (test_devscan.TestExtractDevName) ... ok test_extract_dev_name_from_directory_without_block_device (test_devscan.TestExtractDevName) ... ok test_scanning_empty_sr (test_devscan.TestScan) ... ok test_scanning_sr_includes_parameters (test_devscan.TestScan) ... ok test_scanning_sr_with_devices (test_devscan.TestScan) ... ok test_whencalled_updates_dict (test_devscan.TestUpdateDevsDict) ... ok test_whencalled_with_empty_key_does_not_update_dict (test_devscan.TestUpdateDevsDict) ... ok nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test_iscsi_refcount.sh is executable; skipped test_restart_daemon (test_iscsilib.Test_iscsilib) ... ok test_restore_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok test_save_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test_iteration.sh is executable; skipped test_lock_file_create_fails_retried (test_lock.TestLock) ... ok test_lock_with_namespace_creates_file (test_lock.TestLock) ... ok test_lock_with_namespace_creates_namespace (test_lock.TestLock) ... ok test_lock_without_namespace_creates_file (test_lock.TestLock) ... ok test_lock_without_namespace_creates_nil_namespace (test_lock.TestLock) ... ok test_add_volume_group (test_lvmlib.TestLVSubSystem) ... ok test_dmsetup_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_fake_dmsetup_status_returns_zero (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_called_with_wrong_params (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_creates_volume (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_fails_if_no_volume_group_found (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_inactive (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_non_zeroed (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_with_tags (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove_with_bad_params (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove_with_force (test_lvmlib.TestLVSubSystem) ... ok test_lvcreate_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_lvremove_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_create_creates_logical_volume_with_tags (test_lvutil.TestCreate) ... ok test_create_percentage_has_precedence_over_size (test_lvutil.TestCreate) ... ok test_create_volume_is_active (test_lvutil.TestCreate) ... ok test_create_volume_is_in_the_right_volume_group (test_lvutil.TestCreate) ... ok test_create_volume_is_zeroed (test_lvutil.TestCreate) ... ok test_create_volume_size (test_lvutil.TestCreate) ... ok test_remove_additional_config_param (test_lvutil.TestRemove) ... ok test_remove_removes_volume (test_lvutil.TestRemove) ... ok Test that activeate MPDev works if directory exists ... ok Test that activeate MPDev works if directory does not exist ... ok Test that activeate MPDev works if mkdir returns permission denied ... ok test_is_valid_multipath_device (test_mpath_dmp.TestMpathDmp) ... ok test_check_server_service (test_nfs.Test_nfs) ... ok test_check_server_service_exception (test_nfs.Test_nfs) ... ok test_check_server_service_first_call_exception (test_nfs.Test_nfs) ... ok test_check_server_service_not_available (test_nfs.Test_nfs) ... ok test_check_server_service_with_retries (test_nfs.Test_nfs) ... ok test_check_server_tcp (test_nfs.Test_nfs) ... ok test_check_server_tcp_nfsversion (test_nfs.Test_nfs) ... ok test_soft_mount (test_nfs.Test_nfs) ... ok test_soft_mount_nfsversion_3 (test_nfs.Test_nfs) ... ok test_soft_mount_nfsversion_4 (test_nfs.Test_nfs) ... ok test_validate_nfsversion_default (test_nfs.Test_nfs) ... ok test_validate_nfsversion_invalid (test_nfs.Test_nfs) ... ok test_validate_nfsversion_unsupported (test_nfs.Test_nfs) ... ok test_validate_nfsversion_valid (test_nfs.Test_nfs) ... ok nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test_pool_vdi.sh is executable; skipped . ---------------------------------------------------------------------- Ran 1 test in 0.088s OK test_get_whencalled_creates_namespace (test_refcounter.TestRefCounter) ... ok test_get_whencalled_creates_refcounter_file (test_refcounter.TestRefCounter) ... ok test_get_whencalled_refcounter_file_contents (test_refcounter.TestRefCounter) ... ok test_get_whencalled_returns_counters (test_refcounter.TestRefCounter) ... ok test_put_is_noop_if_already_zero (test_refcounter.TestRefCounter) ... ok test_removeObject_ignores_if_directory_already_removed (test_refcounter.TestRefCounter) ... ok test_removeObject_ignores_if_directory_not_empty (test_refcounter.TestRefCounter) ... ok test_writeCount_returns_false_if_file_not_found (test_refcounter.TestRefCounter) ... ok test_writeCount_returns_true_if_file_found (test_refcounter.TestRefCounter) ... ok test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap) ... ok test_sg_readcap_10 (test_scsiutil.Test_sg_readcap) ... ok test_sg_readcap_16 (test_scsiutil.Test_sg_readcap) ... ok nose.selector: INFO: /builddir/build/BUILD/sm-2.2.3/tests/test_stress_fs.sh is executable; skipped test_returns_multiple_items_for_path (test_testlib.TestFilesystemFor) ... ok test_returns_single_item_for_root (test_testlib.TestFilesystemFor) ... ok test_adapter_adds_scsi_host_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_device (test_testlib.TestTestContext) ... ok test_add_disk_adds_disk_by_id_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_glob (test_testlib.TestTestContext) ... ok test_add_disk_adds_scsi_disk_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_scsibus_entry (test_testlib.TestTestContext) ... ok test_add_disk_path_exists (test_testlib.TestTestContext) ... ok test_add_parameter_parameter_file_contents (test_testlib.TestTestContext) ... ok test_add_parameter_parameter_file_exists (test_testlib.TestTestContext) ... ok test_context_stops_mocking_on_failures (test_testlib.TestTestContext) ... ok test_default_inventory (test_testlib.TestTestContext) ... ok test_error_codes_read (test_testlib.TestTestContext) ... ok test_executable_shows_up_on_filesystem (test_testlib.TestTestContext) ... ok test_exists_returns_false_for_non_existing (test_testlib.TestTestContext) ... ok test_exists_returns_true_for_root (test_testlib.TestTestContext) ... ok test_fake_open_logged (test_testlib.TestTestContext) ... ok test_file_returns_an_object_with_fileno_callable (test_testlib.TestTestContext) ... ok test_filenos_are_unique (test_testlib.TestTestContext) ... ok test_generate_inventory_file (test_testlib.TestTestContext) ... ok test_get_created_directories (test_testlib.TestTestContext) ... ok test_glob_requests_logged (test_testlib.TestTestContext) ... ok test_inventory (test_testlib.TestTestContext) ... ok test_makedirs_mocked_out (test_testlib.TestTestContext) ... ok test_makedirs_raises_if_exists (test_testlib.TestTestContext) ... ok test_modinfo (test_testlib.TestTestContext) ... ok test_popen_raises_error (test_testlib.TestTestContext) ... ok test_rmdir_is_replaced_with_a_fake (test_testlib.TestTestContext) ... ok test_rmdir_raises_error_if_dir_not_found (test_testlib.TestTestContext) ... ok test_rmdir_raises_exception_if_dir_is_not_empty (test_testlib.TestTestContext) ... ok test_rmdir_removes_dir_if_found (test_testlib.TestTestContext) ... ok test_setup_error_codes (test_testlib.TestTestContext) ... ok test_stat_does_not_fail_with_existing_file (test_testlib.TestTestContext) ... ok test_stat_nonexistent_file_throws_oserror (test_testlib.TestTestContext) ... ok test_subprocess_execution (test_testlib.TestTestContext) ... ok test_uname_default_kernel_version (test_testlib.TestTestContext) ... ok test_uname_explicitly_defined (test_testlib.TestTestContext) ... ok test_write_a_file (test_testlib.TestTestContext) ... ok test_write_a_file_in_non_existing_dir (test_testlib.TestTestContext) ... ok test_assertXML_doesn_t_care_about_spaces (test_testlib.TestXmlMixIn) ... ok test_do_trim_creates_an_lv (test_trim_util.TestTrimUtil) ... ok test_do_trim_error_code_trim_not_supported (test_trim_util.TestTrimUtil) ... ok test_do_trim_lock_released_even_if_exception_raised (test_trim_util.TestTrimUtil) ... ok test_do_trim_releases_lock (test_trim_util.TestTrimUtil) ... ok test_do_trim_removes_lv_no_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok test_do_trim_removes_lv_with_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok test_do_trim_returns_exception_when_sr_full (test_trim_util.TestTrimUtil) ... ok test_do_trim_sleeps_a_sec_and_retries_three_times (test_trim_util.TestTrimUtil) ... ok test_do_trim_unable_to_obtain_lock_on_sr (test_trim_util.TestTrimUtil) ... ok test_do_trim_when_exception_then_returns_generic_err (test_trim_util.TestTrimUtil) ... ok test_do_trim_when_trim_succeeded_returns_true (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_exc_logged (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_has_key (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_no_key (test_trim_util.TestTrimUtil) ... ok test_vdi_succeeds_if_vdi_location_not_in_params_dictionary (test_udevSR.TestVdi) ... ok test_validate_and_round_max_size (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_min_size (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_negative (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_odd_size_up_to_next_boundary (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_too_large (test_vhdutil.TestVhdUtil) ... ok test_without_xml_defs (test_xs_errors.TestXenError) ... ok test_xml_defs (test_xs_errors.TestXenError) ... ok ---------------------------------------------------------------------- XML: /builddir/build/BUILD/sm-2.2.3/nosetests.xml ---------------------------------------------------------------------- Ran 241 tests in 1.316s OK Name Stmts Miss Branch BrMiss Cover ------------------------------------------------------------------ drivers/B_util 8 8 4 4 0% drivers/BaseISCSI 554 407 232 196 23% drivers/DummySR 193 154 38 37 17% drivers/EXTSR 132 132 42 42 0% drivers/FileSR 719 610 335 318 12% drivers/HBASR 202 159 51 46 19% drivers/ISOSR 442 284 192 142 33% drivers/LUNperVDI 94 72 28 26 20% drivers/LVHDSR 1392 1180 565 535 12% drivers/LVHDoFCoESR 44 9 14 9 69% drivers/LVHDoHBASR 156 126 50 49 15% drivers/LVHDoISCSISR 420 358 148 137 13% drivers/NFSSR 185 109 59 47 36% drivers/OCFSSR 106 106 27 27 0% drivers/OCFSoHBASR 127 127 36 36 0% drivers/OCFSoISCSISR 397 397 134 134 0% drivers/RawHBASR 222 222 64 64 0% drivers/RawISCSISR 25 25 4 4 0% drivers/SHMSR 72 72 14 14 0% drivers/SMBSR 221 145 81 70 29% drivers/SR 332 204 99 76 35% drivers/SRCommand 238 189 122 116 15% drivers/VDI 458 144 165 98 61% drivers/blktap2 1828 1360 456 442 21% drivers/cbtutil 48 13 4 0 75% drivers/cleanup 2096 1732 797 778 13% drivers/constants 4 0 0 0 100% drivers/devscan 347 153 146 92 50% drivers/fcoelib 40 29 14 13 22% drivers/fjournaler 104 90 39 38 10% drivers/flock 131 88 20 16 31% drivers/ipc 74 59 16 15 18% drivers/iscsilib 358 281 112 102 19% drivers/journaler 170 144 63 62 12% drivers/lcache 223 223 52 52 0% drivers/lock 125 53 34 23 52% drivers/lvhdutil 240 188 72 71 17% drivers/lvmanager 82 49 28 23 35% drivers/lvmcache 210 164 52 50 18% drivers/lvutil 459 326 117 97 27% drivers/metadata 98 74 25 24 20% drivers/mpath_cli 76 52 17 15 28% drivers/mpath_dmp 199 127 78 63 31% drivers/mpath_null 13 6 0 0 54% drivers/mpathcount 192 192 66 66 0% drivers/mpathutil 35 35 16 16 0% drivers/mpp_mpathutil 80 80 32 32 0% drivers/nfs 167 88 61 31 48% drivers/plugins/__init__ 34 34 10 10 0% drivers/plugins/keymanagerutil 161 161 50 50 0% drivers/pluginutil 18 18 2 2 0% drivers/refcounter 416 143 169 66 64% drivers/resetvdis 126 118 54 53 5% drivers/scsi_host_rescan 59 59 16 16 0% drivers/scsiutil 477 342 157 131 25% drivers/srmetadata 522 432 155 155 13% drivers/sysdevice 62 57 20 20 6% drivers/trim_util 92 2 18 0 98% drivers/udevSR 115 69 28 26 34% drivers/util 1174 896 423 384 20% drivers/verifyVHDsOnSR 79 79 26 26 0% drivers/vhdutil 281 211 86 83 20% drivers/wwid_conf 89 76 32 31 12% drivers/xs_errors 37 1 18 2 95% tests/lvmlib 87 0 18 3 97% tests/parallelise_stress_tests 18 18 2 2 0% tests/sshutil_test 367 367 210 208 1% tests/test_FileSR 60 0 0 0 100% tests/test_ISCSISR 114 0 2 0 100% tests/test_ISOSR 203 0 8 0 100% tests/test_LVHDSR 52 0 2 0 100% tests/test_LVHDoFCoESR 66 0 0 0 100% tests/test_LVHDoISCSISR 44 0 4 0 100% tests/test_NFSSR 50 0 4 0 100% tests/test_SMBSR 81 0 0 0 100% tests/test_SRCommand 51 0 2 0 100% tests/test_blktap2 19 0 0 0 100% tests/test_cbt 570 1 6 0 99% tests/test_cbtutil 30 0 0 0 100% tests/test_cleanup 68 0 0 0 100% tests/test_devscan 82 0 0 0 100% tests/test_iscsilib 22 0 0 0 100% tests/test_lock 35 0 2 0 100% tests/test_lvmlib 89 0 0 0 100% tests/test_lvutil 59 0 0 0 100% tests/test_mpath_dmp 51 0 0 0 100% tests/test_nfs 75 0 8 0 100% tests/test_refcounter 53 0 0 0 100% tests/test_scsiutil 20 0 0 0 100% tests/test_testlib 202 0 4 0 100% tests/test_trim_util 156 0 0 0 100% tests/test_udevSR 16 0 0 0 100% tests/test_vhdutil 24 0 0 0 100% tests/test_xs_errors 19 0 0 0 100% tests/testlib 262 0 84 0 100% ------------------------------------------------------------------ TOTAL 20925 13929 6441 5616 29% + cp .coverage /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + cp coverage.xml /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + cp -r htmlcov /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/htmlcov + exit 0 Processing files: sm-2.2.3-1.0.3.xcpng8.0.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hgK6VX + umask 022 + cd /builddir/build/BUILD + cd sm-2.2.3 + DOCDIR=/builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + cp -pr CONTRIB /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + cp -pr LICENSE /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + cp -pr MAINTAINERS /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + cp -pr README.md /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64/usr/share/doc/sm-2.2.3 + exit 0 Provides: config(sm) = 2.2.3-1.0.3.xcpng8.0 gitsha(https://code.citrite.net/rest/archive/latest/projects/XSU/repos/sm/archive?at=v2.2.3&format=tar.gz&prefix=sm-2.2.3#/sm-2.2.3.tar.gz) = 8a49006fea4c6d607cee10a344f979da6d377330 sm = 2.2.3-1.0.3.xcpng8.0 sm(x86-64) = 2.2.3-1.0.3.xcpng8.0 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires(posttrans): /bin/sh Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/python libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Conflicts: kernel < 4.19.19-5.0.0 Processing files: sm-debuginfo-2.2.3-1.0.3.xcpng8.0.x86_64 Provides: sm-debuginfo = 2.2.3-1.0.3.xcpng8.0 sm-debuginfo(x86-64) = 2.2.3-1.0.3.xcpng8.0 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Processing files: sm-rawhba-2.2.3-1.0.3.xcpng8.0.x86_64 Provides: gitsha(https://code.citrite.net/rest/archive/latest/projects/XSU/repos/sm/archive?at=v2.2.3&format=tar.gz&prefix=sm-2.2.3#/sm-2.2.3.tar.gz) = 8a49006fea4c6d607cee10a344f979da6d377330 sm-rawhba = 2.2.3-1.0.3.xcpng8.0 sm-rawhba(x86-64) = 2.2.3-1.0.3.xcpng8.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python Processing files: sm-testresults-2.2.3-1.0.3.xcpng8.0.x86_64 Provides: gitsha(https://code.citrite.net/rest/archive/latest/projects/XSU/repos/sm/archive?at=v2.2.3&format=tar.gz&prefix=sm-2.2.3#/sm-2.2.3.tar.gz) = 8a49006fea4c6d607cee10a344f979da6d377330 sm-testresults = 2.2.3-1.0.3.xcpng8.0 sm-testresults(x86-64) = 2.2.3-1.0.3.xcpng8.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sm-test-plugins-2.2.3-1.0.3.xcpng8.0.x86_64 Provides: gitsha(https://code.citrite.net/rest/archive/latest/projects/XSU/repos/sm/archive?at=v2.2.3&format=tar.gz&prefix=sm-2.2.3#/sm-2.2.3.tar.gz) = 8a49006fea4c6d607cee10a344f979da6d377330 sm-test-plugins = 2.2.3-1.0.3.xcpng8.0 sm-test-plugins(x86-64) = 2.2.3-1.0.3.xcpng8.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 Wrote: /builddir/build/RPMS/sm-2.2.3-1.0.3.xcpng8.0.x86_64.rpm Wrote: /builddir/build/RPMS/sm-debuginfo-2.2.3-1.0.3.xcpng8.0.x86_64.rpm Wrote: /builddir/build/RPMS/sm-rawhba-2.2.3-1.0.3.xcpng8.0.x86_64.rpm Wrote: /builddir/build/RPMS/sm-testresults-2.2.3-1.0.3.xcpng8.0.x86_64.rpm Wrote: /builddir/build/RPMS/sm-test-plugins-2.2.3-1.0.3.xcpng8.0.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w7pi2K + umask 022 + cd /builddir/build/BUILD + cd sm-2.2.3 + rm -rf /builddir/build/BUILDROOT/sm-2.2.3-1.0.3.xcpng8.0.x86_64 + exit 0 Child return code was: 0