Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 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.2-testing-2869-2359/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-2.29.1-1.2.xcpng8.2.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.2-testing-2869-2359/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.PwlwIR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-2.29.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-2.29.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-2.29.1 + /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-GlusterFS-and-XFS-drivers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0006-feat-drivers-add-LinstorSR-driver.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0008-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0009-feat-LinstorSR-Improve-LINSTOR-performance.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-feat-LinstorSR-display-a-correctly-readable-size-for.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NpjNvU + umask 022 + cd /builddir/build/BUILD + cd sm-2.29.1 + DESTDIR=/builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 + make make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.29.1/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.29.1/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.29.1/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.29.1/linstor' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zG8gLX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-2.29.1 + DESTDIR=/builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 + make install make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.29.1/dcopy' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.29.1/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.29.1/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.29.1/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/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/LinstorSR.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 ... Checking drivers/CephFSSR.py ... Checking drivers/GlusterFSSR.py ... Checking drivers/XFSSR.py ... Checking drivers/ZFSSR.py ... Checking drivers/EXT4SR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.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/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/LinstorSR.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 drivers/CephFSSR.py drivers/GlusterFSSR.py drivers/XFSSR.py drivers/ZFSSR.py drivers/EXT4SR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//etc/multipath.xenserver/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//etc/rc.d/init.d/ install -m 755 multipath/multipath-root-setup \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//opt/xensource/sm/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//etc/logrotate.d/ install -m 644 etc/systemd/system/linstor-satellite.service.d/override.conf \ /builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//etc/systemd/system//linstor-satellite.service.d/ install: target '/builddir/build/BUILDROOT/sm-2.29.1-1.2.xcpng8.2.x86_64//etc/systemd/system//linstor-satellite.service.d/' is not a directory: No such file or directory make: *** [install] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.zG8gLX (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zG8gLX (%install) 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