Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 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.3-incoming-5014-6314/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': 'C.UTF-8'}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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sm-3.0.3-1.2.xcpng8.3.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.3-incoming-5014-6314/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': 'C.UTF-8'}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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.crPySs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-3.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-3.0.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Update-xs-sm.service-s-description-for-XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Add-TrueNAS-multipath-config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-feat-drivers-add-CephFS-and-GlusterFS-drivers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-feat-drivers-add-XFS-driver.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0009-Added-SM-Driver-for-MooseFS.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-Fix-is_open-call-for-many-drivers-25.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-Remove-SR_CACHING-capability-for-many-SR-types-24.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-Fix-code-coverage-regarding-MooseFSSR-and-ZFSSR-29.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0015-py3-simple-changes-from-futurize-on-XCP-ng-drivers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0016-py3-futurize-fix-of-xmlrpc-calls-for-CephFS-GlusterF.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0017-py3-use-of-integer-division-operator.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0018-test_on_slave-allow-to-work-with-SR-using-absolute-P.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0019-py3-switch-interpreter-to-python3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0020-Support-recent-version-of-coverage-tool.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0021-Fix-blktap-error-mapping-in-python3.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0022-feat-LinstorSR-import-all-8.2-changes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0023-feat-LinstorSR-is-now-compatible-with-python-3.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v1jcCw + umask 022 + cd /builddir/build/BUILD + cd sm-3.0.3 + DESTDIR=/builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 + make make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.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-3.0.3/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.3/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-3.0.3/linstor' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S5J29A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-3.0.3 + DESTDIR=/builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 + make install make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.3/dcopy' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-3.0.3/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.3/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-3.0.3/linstor' 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/linstorjournaler.py ... Checking drivers/linstorvhdutil.py ... Checking drivers/linstorvolumemanager.py ... Checking drivers/lvhdutil.py ... Checking drivers/cifutils.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/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/LinstorSR.py ... Checking drivers/LVHDSR.py ... Checking drivers/LVHDoISCSISR.py ... Checking drivers/LVHDoHBASR.py ... Checking drivers/SHMSR.py ... Checking drivers/SMBSR.py ... Checking drivers/LVHDoFCoESR.py ... Checking drivers/CephFSSR.py ... Checking drivers/GlusterFSSR.py ... Checking drivers/XFSSR.py ... Checking drivers/ZFSSR.py ... Checking drivers/EXT4SR.py ... Checking drivers/MooseFSSR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/systemd/system//linstor-satellite.service.d mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.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/linstorjournaler.py drivers/linstorvhdutil.py drivers/linstorvolumemanager.py drivers/lvhdutil.py drivers/cifutils.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/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/LinstorSR.py drivers/LVHDSR.py drivers/LVHDoISCSISR.py drivers/LVHDoHBASR.py drivers/SHMSR.py drivers/SMBSR.py drivers/LVHDoFCoESR.py drivers/CephFSSR.py drivers/GlusterFSSR.py drivers/XFSSR.py drivers/ZFSSR.py drivers/EXT4SR.py drivers/MooseFSSR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//etc/multipath.xenserver/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//etc/rc.d/init.d/ install -m 755 multipath/multipath-root-setup \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//opt/xensource/sm/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//etc/logrotate.d/ install -m 644 etc/systemd/system/linstor-satellite.service.d/override.conf \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//etc/systemd/system//linstor-satellite.service.d/ install -m 644 etc/systemd/system/var-lib-linstor.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//etc/systemd/system/ install -m 644 etc/make-dummy-sr.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/xs-sm.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sm-mpath-root.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/usb-scan.* \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/mpathcount.* \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/storage-init.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ install -m 644 systemd/linstor-monitor.service \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64//usr/lib/systemd/system/ for i in 65-multipath 55-xs-mpath-scsidev 57-usb 58-xapi; do \ install -m 644 udev/$i.rules \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/udev/rules.d/; done for i in XE_SR_ERRORCODES; do \ install -m 755 drivers/$i.xml \ /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/; done cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && for i in File NFS EXT RawISCSI Dummy udev ISO HBA Linstor LVHD LVHDoISCSI LVHDoHBA SHM SMB LVHDoFCoE CephFS GlusterFS XFS ZFS EXT4 MooseFS; do \ ln -sf $i"SR.py" $i"SR"; \ done rm /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm//SHMSR cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDSR && ln -sf LVHDSR.py LVMSR cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f RawISCSISR && ln -sf RawISCSISR.py ISCSISR cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDoISCSISR && ln -sf LVHDoISCSISR.py LVMoISCSISR cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDoHBASR && ln -sf LVHDoHBASR.py LVMoHBASR cd /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDoFCoESR && ln -sf LVHDoFCoESR.py LVMoFCoESR ln -sf /opt/xensource/sm/mpathutil.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/sbin/mpathutil install -m 755 drivers/02-vhdcleanup /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xensource/master.d/ install -m 755 drivers/linstor-manager /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/lvhd-thin /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/on_slave.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins//on-slave install -m 755 drivers/testing-hooks /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/coalesce-leaf /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/nfs-on-slave /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/tapdisk-pause /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/intellicache-clean /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/trim /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/iscsilib.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ install -m 755 drivers/fcoelib.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/fork-log-daemon /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/linstor-kv-tool /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/ install -m 755 scripts/safe-umount /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/local-device-change /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/check-device-sharing /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/usb_change /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/kickpipe /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/set-iscsi-initiator /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.3/dcopy' mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec install -m 755 dcopy /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/debug install -m 755 tp /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/debug make[1]: Leaving directory `/builddir/build/BUILD/sm-3.0.3/dcopy' make -C linstor install DESTDIR=/builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-3.0.3/linstor' mkdir -p /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec install -m 755 linstor-monitord /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec make[1]: Leaving directory `/builddir/build/BUILD/sm-3.0.3/linstor' ln -sf /opt/xensource/sm/blktap2.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin//blktap2 ln -sf /opt/xensource/sm/lcache.py /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/tapdisk-cache-stats ln -sf /dev/null /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/udev/rules.d//69-dm-lvm-metad.rules install -m 755 scripts/xs-mpath-scsidev.sh /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/etc/udev/scripts/ install -m 755 scripts/xe-get-arrayid-lunnum /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getarrayidentifier /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getlunidentifier /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/bin/ install -m 755 scripts/make-dummy-sr /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/ install -m 755 scripts/storage-init /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.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-3.0.3 extracting debug info from /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/debug/tp extracting debug info from /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/dcopy extracting debug info from /builddir/build/BUILDROOT/sm-3.0.3-1.2.xcpng8.3.x86_64/opt/xensource/libexec/linstor-monitord dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 3 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 python3.6 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.7h99Pn + umask 022 + cd /builddir/build/BUILD + cd sm-3.0.3 + tests/run_python_unittests.sh . ---------------------------------------------------------------------- Ran 1 test in 0.011s OK test_clone_no_links_success (test_FileSR.TestFileVDI) ... ok test_clone_nospace_snap_1 (test_FileSR.TestFileVDI) ... ok test_clone_nospace_snap_2 (test_FileSR.TestFileVDI) ... ok test_clone_success (test_FileSR.TestFileVDI) ... ok test_create_vdi_raw (test_FileSR.TestFileVDI) ... ok test_create_vdi_vhd (test_FileSR.TestFileVDI) ... ok 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_vdi_generate_config (test_FileSR.TestFileVDI) ... ok test_vdi_load_vhd (test_FileSR.TestFileVDI) ... ok test_attach_fist_active (test_FileSR.TestShareFileSR) ... ok test_attach_link_fail (test_FileSR.TestShareFileSR) ... ok test_attach_link_fail_already_set (test_FileSR.TestShareFileSR) ... ok test_attach_success (test_FileSR.TestShareFileSR) ... ok test_scan_load_vdis_scan_list_differ (test_FileSR.TestShareFileSR) ... ok test__init_hbadict (test_HBASR.TestHBASR) ... ok test__init_hbahostname (test_HBASR.TestHBASR) ... ok test__init_hbahostname_assert (test_HBASR.TestHBASR) ... ok test__init_hbas (test_HBASR.TestHBASR) ... ok test__init_hbas_assert (test_HBASR.TestHBASR) ... ok test__intit_bhadict_already_init (test_HBASR.TestHBASR) ... ok test__probe_hba (test_HBASR.TestHBASR) ... ok test__probe_hba_assert (test_HBASR.TestHBASR) ... ok test_attach (test_HBASR.TestHBASR) ... ok test_handles (test_HBASR.TestHBASR) ... ok test_load (test_HBASR.TestHBASR) ... ok test_default_value (test_ISCSISR.TestForceTapDiskConfig) ... ok test_set_to_true (test_ISCSISR.TestForceTapDiskConfig) ... ok test_load_assert_utf_8_chap_credencials (test_ISCSISR.TestISCSISR) 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_and_detach_local (test_ISOSR.TestISOSR_overLocal) ... ok test_attach_and_detach_local_with_mounted_path (test_ISOSR.TestISOSR_overLocal) ... ok test_attach_local_with_bad_path (test_ISOSR.TestISOSR_overLocal) ... ok test_load (test_ISOSR.TestISOSR_overLocal) ... 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_credentials (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_credentials_domain (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 test_attach_success (test_LVHDSR.TestLVHDSR) ... ok test_loadvids (test_LVHDSR.TestLVHDSR) sr.allVDIs populated by _loadvdis ... ok test_undoAllInflateJournals (test_LVHDSR.TestLVHDSR) No LV refresh on slaves when Cleaning up local LVHD SR's journal ... ok test_clone_success (test_LVHDSR.TestLVHDVDI) ... ok test_snapshot_attached_cbt_success (test_LVHDSR.TestLVHDVDI) ... ok test_snapshot_attached_success (test_LVHDSR.TestLVHDVDI) ... 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_sr_delete_no_multipath (test_LVHDoHBASR.TestLVHDoHBASR) ... ok test_generate_config (test_LVHDoHBASR.TestLVHDoHBAVDI) ... ok test_generate_config_bad_path_assert (test_LVHDoHBASR.TestLVHDoHBAVDI) ... 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_if_mounted_then_attached (test_MooseFSSR.TestMooseFSSR) ... ok test_detach_not_detached_if_not_mounted (test_MooseFSSR.TestMooseFSSR) ... ok test_load (test_MooseFSSR.TestMooseFSSR) ... ok test_mount_mountpoint_empty_string (test_MooseFSSR.TestMooseFSSR) ... ok test_attach (test_NFSSR.TestNFSSR) ... ok test_load (test_NFSSR.TestNFSSR) ... ok test_load_ipv6 (test_NFSSR.TestNFSSR) ... ok test_load_no_server (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_sr_create (test_NFSSR.TestNFSSR) ... ok test_sr_create_mount_error (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_attach_vanilla (test_SMBSR.Test_SMBSR) ... ok test_attach_with_cifs_password (test_SMBSR.Test_SMBSR) ... ok test_attach_with_cifs_password_and_domain (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 test_after_master_attach_success (test_SR.TestSR) ... ok test_after_master_attach_vdi_not_available (test_SR.TestSR) ... ok test_device_check_nodevice (test_SR.TestSR) ... ok test_device_check_success (test_SR.TestSR) ... ok test_run_correctly_log_all_exceptions (test_SRCommand.TestStandaloneFunctions) 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 test_run_print_xml_error_if_SRException (test_SRCommand.TestStandaloneFunctions) If an SR.SRException is thrown, assert that print .toxml()" is called. ... ok test_run_wrapped_if_not_SRException (test_SRCommand.TestStandaloneFunctions) If an exception other than SR.SRException is thrown, assert that it is wrapped and not thrown. ... ok test_create (test_ZFSSR.TestZFSSR) ... ok test_create_with_invalid_zfs_path (test_ZFSSR.TestZFSSR) ... ok test_load (test_ZFSSR.TestZFSSR) ... ok test_load_with_zfs_unavailable (test_ZFSSR.TestZFSSR) ... ok test_scan (test_ZFSSR.TestZFSSR) ... ok test_scan_with_invalid_zfs_path (test_ZFSSR.TestZFSSR) ... ok test_allocate_no_path (test_blktap2.TestTapCtl) ... not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /opt/xensource/sm/mpath_null.py Recursively created directory /dev/VG_XenStorage-befde656-134c-4634-b9db-5c35aaf80331 not exists /dev/VG_XenStorage-befde656-134c-4634-b9db-5c35aaf80331/MGT not exists /sys/block/bar/device/rescan tried to open file /etc/mtab not exists /opt/xensource/sm/mpath_null.py no glob /dev/mapper/VG_XenStorage-* not exists /opt/xensource/sm/mpath_null.py Doing second attach not exists /sys/block/bar/device/rescan tried to open file /etc/mtab not exists /sys/block/bar/device/rescan ("Test mode: ",) ('Found inflate journal some VDI UUID, deflating /dev/VG_XenStorage-df0d5742-92de-4717-bad1-79e6c63bb844/ to 0',) not exists /builddir/build/BUILD/sm-3.0.3/drivers/LVHDoISCSISR.py not exists /usr/lib64/python3.6/unittest/mock.py faultCode 1200 faultString HdQDmHguOOBmJdWpMDvnCrOThIgrsWZuKjTTNMGvspMfsdYZtUHHeoSptMxKrQlLobrENlcWhgrDPZwIYzZMvldhvXMtxFnuRtxiCbUDCMKpTDkPPsisibJIlqvwAMadAeIzqRdHlenlieiRieHUizSKQEymGTdLHkbDPxPcmAKOBXSzqvvEshHVcrUxSAFhxDQJfWQdBOnpTRWYEDaohbihYMVoxnLkiCxrFmlXmpUTPFVBjBPjmPaRiKzhWLsHePnjVbsbWHVeliAubFRvsiAFtsXbNQDXyRJYbMyDneYdZhFdJKVEcicJqJSoRybdyAngzyMVRbckdgDQwjTPbTeWacyUXfkRJOqnvHnpBtEEnZjcbLXllQboyCdnIxBZGYlhnFkCmTPBgHKBkDjXqJrMtxxlLVHZViShyMekwGmwlybMAZXnppBjSsLSevBqupIZmDyAAuFejbIKqtmDCYahBqIXrOYrCezGtcFHNZCOeJnpxXgSwwONUWVZPSiEaRPyVDLZOYXxUleGYeHTUNZEXYUzJbarZHOQzQQOWSJfYKvpYXeAtXdNqQQAaQHMkYopkbmVHXvfnKHNWuCRIHuIYlDPtxiBfBxMCbhTIZEDveyosvpHgFoFijmIQaoaRdDkAmAVkgidOnTWXnJjQWgMtTmsdPGCVYFhazxtRhkjPjfnTzyrewMzylOJArOVerjvcFScEWyJxbSUPIwakfSSCvyYgNcENfZDoqdLcVxpoGiAfuJXUlEGeFzlOdLxhTNAasjOqQxzBCrHIwoEasPQzCIpRewkxryamrXMYyvWOGYoWNNYxdfiOJjwfGbqfncsMwjQXAPWUlpxxgVVgBwCPgrAHJVtjgeglmIHZxZTxrSGqEwxJSdViGxpZbEkOotYxvuJGRHtOaJNBNufdTnoePKyaRItczjjQlOaxwdEBfPjZNmcMdxJoNTnDZhFHJKgAsZfJqoxWcPwYsVqrnZHDMSDrYJhvNXgsQfCLtgJutFcWxOjxGJJHJoGrqIkeWOprxUaFfbyKuwWFuPikTcAAaOKcYeTlxjYUProLMzPYbCRZFelePzBjtioShxmJpOkDkUTKCJCOHeUyYvtmodzgauvdTMfuuMvCHgpOAnvRXeFVaplYFlrQWZSmUcGeQymWAzwMTeLYCuCGXTydRikjguitSKqJRjuUxpRjVEkgzCDEuQaZJlSnqPjsMnsmjLpxNRnSxJzVYQBlvvPzgmwRysFeJlzyLXUdMZVyCItBAWFdtFuXFGciAuLQYervbIkwmVZNszLDkcsXWJSZoItQmflnlYLmzTZcubjhLrhiMeLiZfGRwbDNUTGFZQbbRGdsRlupFWmAmhyZXmWYMcLOdfGiWJgFaXDBhbUdhivDjWxtWXFSFIHavWdHfpbmOSauSjFEtFvcsvnJngoMqdnQgiAYxSSxDKkGvZzNndDTbbEATKdoqqslIBZcxZXozNZIUKRTALkAChKNJKxILrdgWLsMNXFCTOpZdyXrhsQwjBZQZIabXuROOndgZVVtrhLbZNpyHfMDlJHSpcIGjllQXQtPogoupBoHCSpPIQcXdZwShjifiPGNiBFmChvWsMitEMqwerssnisKrXKTJRUsJHUMbmmYJvodgVIWXfWEAJJaToTbuodwYkVTnCIgcxiKurJlNXsYDOrMmYWGdAjUbfkXYzvqFMfelHSzZgPTxGIXvLwSKFlGyPVESPsGrztFGrEAbVaRoqpYyivzbyehAsTiiRFjwZErRznVaonKzeKGtESdtMaxerwJlyEjNrUVBNuDEwrkmoGavqplFPxyxdMRgbGgVcMpdkKjQbqAggtjKARnjQZNOhdqEHjiTUAUxioFNPXuzgiIhnHFUajbkJcVUWZxFIabwhKFqmTvzPsUqjOnoslPlxhGrVqJQnCnRDeTaeIJIjnHHPHzMuBaJnoDkdTIIubHjqxzsYnleSNjCsSGyFEhQVoaUubCGRsKRfqiUoFEPntRhvZXDXfejIHhIQWAWFUIcxFbbqHDdASexEADmFICeKOuyHe faultCode 1200 faultString ['/usr/sbin/tap-ctl', 'allocate'] = 0 FAIL ====================================================================== FAIL: test_allocate_no_path (test_blktap2.TestTapCtl) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sm-3.0.3/tests/test_blktap2.py", line 453, in test_allocate_no_path results) AssertionError: '/dev/xen/blktap-2/tapdev1' != b'/dev/xen/blktap-2/tapdev1' ---------------------------------------------------------------------- Ran 111 tests in 2.638s FAILED (failures=1) error: Bad exit status from /var/tmp/rpm-tmp.7h99Pn (%check) Bad exit status from /var/tmp/rpm-tmp.7h99Pn (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec