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.2-incoming-5554-9050/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.30.8-2.3.0.1.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-incoming-5554-9050/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.pMopuI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-2.30.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-2.29.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-2.30.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ca-343115-ensure-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350522-backport + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350871-log-if-lvhd-snapshot + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350871-add-lock-context + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-use-link-instead-of + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to-1 + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsi-915-improve-performance-of + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352165-check-that-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/merge-pull-request-530-from + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-354228-reinstate-load-calls + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355401-make-post-attach + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355289-ensure-xapi-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-356645-use-self.session-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-check-shared-file + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-add-fist-fault + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-use-rename-not-link + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-38316-dell-requested-that + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352880-when-deleting-an-hba + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369613-report-errors + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369395-default-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-don-t-lose-exception + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-correctly-format + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/added-dell-me4-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370696-do-not-attempt-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-add-tests-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-simplify-test + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-give-coalesce + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-activate-a-fist + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372641-fix-_expand_size-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372772-fix-miscalculation + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Add-TrueNAS-multipath-config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.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-If-no-NFS-ACLs-provided-assume-everyone.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0020-fix-NFSSR-ensure-we-can-attach-SR-during-attach_from.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IEXmGe + umask 022 + cd /builddir/build/BUILD + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 + make make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/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.30.8/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/linstor' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VifMCL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 + make install make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/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 ... Checking drivers/MooseFSSR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/multipath/conf.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.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 drivers/MooseFSSR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//etc/multipath.xenserver/ install -m 644 multipath/custom.conf \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//etc/multipath/conf.d/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//etc/rc.d/init.d/ install -m 755 multipath/multipath-root-setup \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//opt/xensource/sm/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//etc/logrotate.d/ install -m 644 etc/make-dummy-sr.service \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/xs-sm.service \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sm-mpath-root.service \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/usb-scan.* \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/mpathcount.* \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/storage-init.service \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/linstor-monitor.service \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.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-2.30.8-2.3.0.1.xcpng8.2.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.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/; done cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && for i in File NFS EXT RawISCSI Dummy udev ISO HBA RawHBA Linstor LVHD LVHDoISCSI LVHDoHBA OCFS OCFSoISCSI OCFSoHBA SHM SMB LVHDoFCoE CephFS GlusterFS XFS ZFS EXT4 MooseFS; do \ ln -sf $i"SR.py" $i"SR"; \ done rm /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm//SHMSR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDSR && ln -sf LVHDSR.py LVMSR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f RawISCSISR && ln -sf RawISCSISR.py ISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoISCSISR && ln -sf LVHDoISCSISR.py LVMoISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoHBASR && ln -sf LVHDoHBASR.py LVMoHBASR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoFCoESR && ln -sf LVHDoFCoESR.py LVMoFCoESR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSSR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSoISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSoHBASR ln -sf /opt/xensource/sm/mpathutil.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/sbin/mpathutil install -m 755 drivers/02-vhdcleanup /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xensource/master.d/ install -m 755 drivers/linstor-manager /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/lvhd-thin /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/on_slave.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins//on-slave install -m 755 drivers/testing-hooks /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/coalesce-leaf /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/nfs-on-slave /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/tapdisk-pause /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/intellicache-clean /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/enable-borehamwood /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ install -m 755 drivers/trim /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/iscsilib.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ install -m 755 drivers/fcoelib.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/local-device-change /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/check-device-sharing /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/usb_change /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/kickpipe /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/set-iscsi-initiator /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/dcopy' mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec install -m 755 dcopy /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/debug install -m 755 tp /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/debug make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make -C linstor install DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec install -m 755 linstor-monitord /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/linstor' ln -sf /opt/xensource/sm/blktap2.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin//blktap2 ln -sf /opt/xensource/sm/lcache.py /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin/tapdisk-cache-stats ln -sf /dev/null /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/udev/rules.d//69-dm-lvm-metad.rules install -m 755 scripts/xs-mpath-scsidev.sh /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/etc/udev/scripts/ install -m 755 scripts/xe-get-arrayid-lunnum /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getarrayidentifier /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getlunidentifier /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/make-dummy-sr /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/storage-init /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.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.30.8 extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/debug/tp extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.x86_64/opt/xensource/libexec/dcopy extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.1.xcpng8.2.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 /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.9U2GeD + umask 022 + cd /builddir/build/BUILD + cd sm-2.30.8 + tests/run_python_unittests.sh nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] nose.selector: INFO: /builddir/build/BUILD/sm-2.30.8/tests/run_python_unittests.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-2.30.8/tests/setup_env_for_python_unittests.sh is executable; skipped Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR 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 Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR test_add_multiple_volume_groups (test_lvmlib.TestLVSubSystem) ... 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_get_the_correct_volume (test_lvmlib.TestLVSubSystem) ... ok test_lvcreate_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_lvremove_is_mocked (test_lvmlib.TestLVSubSystem) ... ok Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap) ... ERROR test_sg_readcap_10 (test_scsiutil.Test_sg_readcap) ... ERROR test_sg_readcap_16 (test_scsiutil.Test_sg_readcap) ... ERROR 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 Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR Failure: ImportError (No module named XenAPI) ... ERROR ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_FileSR.py", line 3, in import nfs File "/builddir/build/BUILD/sm-2.30.8/drivers/nfs.py", line 20, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 25, in import scsiutil File "/builddir/build/BUILD/sm-2.30.8/drivers/scsiutil.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_ISCSISR.py", line 2, in import BaseISCSI File "/builddir/build/BUILD/sm-2.30.8/drivers/BaseISCSI.py", line 21, in import SR, util File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_ISOSR.py", line 2, in import nfs File "/builddir/build/BUILD/sm-2.30.8/drivers/nfs.py", line 20, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDSR.py", line 3, in import LVHDSR File "/builddir/build/BUILD/sm-2.30.8/drivers/LVHDSR.py", line 21, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoFCoESR.py", line 2, in import LVHDoFCoESR File "/builddir/build/BUILD/sm-2.30.8/drivers/LVHDoFCoESR.py", line 21, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoISCSISR.py", line 4, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_MooseFSSR.py", line 2, in import MooseFSSR File "/builddir/build/BUILD/sm-2.30.8/drivers/MooseFSSR.py", line 32, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_NFSSR.py", line 2, in import nfs File "/builddir/build/BUILD/sm-2.30.8/drivers/nfs.py", line 20, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_SMBSR.py", line 3, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_SRCommand.py", line 4, in import SRCommand File "/builddir/build/BUILD/sm-2.30.8/drivers/SRCommand.py", line 21, in import XenAPI ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_ZFSSR.py", line 1, in import FileSR File "/builddir/build/BUILD/sm-2.30.8/drivers/FileSR.py", line 20, in import SR, VDI, SRCommand, util, scsiutil, vhdutil File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_blktap2.py", line 2, in import blktap2 File "/builddir/build/BUILD/sm-2.30.8/drivers/blktap2.py", line 27, in from lock import Lock File "/builddir/build/BUILD/sm-2.30.8/drivers/lock.py", line 21, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_cbt.py", line 2, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_cifutils.py", line 6, in import cifutils File "/builddir/build/BUILD/sm-2.30.8/drivers/cifutils.py", line 20, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_cleanup.py", line 8, in import cleanup File "/builddir/build/BUILD/sm-2.30.8/drivers/cleanup.py", line 36, in import XenAPI ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_devscan.py", line 5, in import SRCommand File "/builddir/build/BUILD/sm-2.30.8/drivers/SRCommand.py", line 21, in import XenAPI ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_iscsilib.py", line 1, in import iscsilib File "/builddir/build/BUILD/sm-2.30.8/drivers/iscsilib.py", line 20, in import util,os,scsiutil,time File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_lock.py", line 12, in import lock File "/builddir/build/BUILD/sm-2.30.8/drivers/lock.py", line 21, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_lvutil.py", line 7, in import lvutil File "/builddir/build/BUILD/sm-2.30.8/drivers/lvutil.py", line 27, in import lock File "/builddir/build/BUILD/sm-2.30.8/drivers/lock.py", line 21, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_mpath_dmp.py", line 9, in import mpath_dmp File "/builddir/build/BUILD/sm-2.30.8/drivers/mpath_dmp.py", line 18, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_nfs.py", line 3, in import nfs File "/builddir/build/BUILD/sm-2.30.8/drivers/nfs.py", line 20, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_on_slave.py", line 6, in import lvhdutil File "/builddir/build/BUILD/sm-2.30.8/drivers/lvhdutil.py", line 26, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_refcounter.py", line 7, in import refcounter File "/builddir/build/BUILD/sm-2.30.8/drivers/refcounter.py", line 28, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mock.py", line 1193, in patched arg = patching.__enter__() File "/usr/lib/python2.7/site-packages/mock.py", line 1252, in __enter__ self.target = self.getter() File "/usr/lib/python2.7/site-packages/mock.py", line 1414, in getter = lambda: _importer(target) File "/usr/lib/python2.7/site-packages/mock.py", line 1098, in _importer thing = __import__(import_path) File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: test_sg_readcap_10 (test_scsiutil.Test_sg_readcap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mock.py", line 1193, in patched arg = patching.__enter__() File "/usr/lib/python2.7/site-packages/mock.py", line 1252, in __enter__ self.target = self.getter() File "/usr/lib/python2.7/site-packages/mock.py", line 1414, in getter = lambda: _importer(target) File "/usr/lib/python2.7/site-packages/mock.py", line 1098, in _importer thing = __import__(import_path) File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: test_sg_readcap_16 (test_scsiutil.Test_sg_readcap) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mock.py", line 1193, in patched arg = patching.__enter__() File "/usr/lib/python2.7/site-packages/mock.py", line 1252, in __enter__ self.target = self.getter() File "/usr/lib/python2.7/site-packages/mock.py", line 1414, in getter = lambda: _importer(target) File "/usr/lib/python2.7/site-packages/mock.py", line 1098, in _importer thing = __import__(import_path) File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_trim_util.py", line 2, in import trim_util File "/builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_udevSR.py", line 2, in import udevSR File "/builddir/build/BUILD/sm-2.30.8/drivers/udevSR.py", line 21, in import SR, VDI, SRCommand, util File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_utils.py", line 6, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 28, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_vhdutil.py", line 4, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 24, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 24, in import util File "/builddir/build/BUILD/sm-2.30.8/drivers/util.py", line 29, in import XenAPI,xmlrpclib ImportError: No module named XenAPI ====================================================================== ERROR: Failure: ImportError (No module named XenAPI) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/sm-2.30.8/tests/test_xs_errors.py", line 5, in import xs_errors File "/builddir/build/BUILD/sm-2.30.8/drivers/xs_errors.py", line 23, in import SR File "/builddir/build/BUILD/sm-2.30.8/drivers/SR.py", line 25, in import XenAPI, xmlrpclib, util ImportError: No module named XenAPI ---------------------------------------------------------------------- XML: /builddir/build/BUILD/sm-2.30.8/nosetests.xml ---------------------------------------------------------------------- Ran 95 tests in 0.293s FAILED (errors=31) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.9U2GeD (%check) Bad exit status from /var/tmp/rpm-tmp.9U2GeD (%check) 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