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-7603-21450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f3b3b643668>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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.2.3-1.15.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-7603-21450/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f3b3b643668>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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.j5o8oQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf sm-3.2.3
+ /usr/bin/gzip -dc /builddir/build/SOURCES/sm-3.2.3.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sm-3.2.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-feat-drivers-add-CephFS-and-GlusterFS-drivers.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0003-feat-drivers-add-XFS-driver.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-feat-drivers-add-LinstorSR-driver.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0006-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0007-Added-SM-Driver-for-MooseFS.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0008-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0009-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0010-Fix-is_open-call-for-many-drivers-25.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0011-Remove-SR_CACHING-capability-for-many-SR-types-24.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0012-Fix-code-coverage-regarding-MooseFSSR-and-ZFSSR-29.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0013-py3-simple-changes-from-futurize-on-XCP-ng-drivers.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0014-py3-futurize-fix-of-xmlrpc-calls-for-CephFS-GlusterF.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0015-py3-use-of-integer-division-operator.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0016-test_on_slave-allow-to-work-with-SR-using-absolute-P.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0017-py3-switch-interpreter-to-python3.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0018-Support-recent-version-of-coverage-tool.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0019-feat-LinstorSR-import-all-8.2-changes.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0020-feat-LinstorSR-is-now-compatible-with-python-3.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0021-Remove-SR_PROBE-from-ZFS-capabilities-36.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0022-Repair-coverage-to-be-compatible-with-8.3-test-env.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0023-Support-IPv6-in-Ceph-Driver.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0024-lvutil-use-wipefs-not-dd-to-clear-existing-signature.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0025-feat-LargeBlock-introduce-largeblocksr-51.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0026-feat-LVHDSR-add-a-way-to-modify-config-of-LVMs-60.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0027-reflect-upstream-changes-in-our-tests.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0028-CA-398425-correctly-check-for-multiple-targets-in-iS.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0029-Synchronization-with-8.2-LINSTOR-before-a-stable-rel.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0030-fix-getAllocatedSize-is-incorrect-75.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0031-fix-LinstorSR-sync-fork-load-daemon-with-http-nbd-tr.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0032-fix-linstorvhdutil-coalesce-helper-returns-the-secto.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0033-Prevent-wrong-mypy-error-regarding-_linstor-member-n.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0034-Fix-many-invalid-escape-sequences.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0035-Fix-many-invalid-escape-sequences-on-regexes.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0036-Fix-override-of-FileSR.attach.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0037-Fix-override-of-BaseISCSISR.detach.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0038-Fix-override-of-VDI.delete-in-many-subclasses.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0039-Fix-override-of-VDI._do_snapshot.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0040-Fix-override-of-VDI.load-in-LVHDVDI-cleanup.py.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0041-Use-a-specific-var-for-NFS-options-in-ISOSR.attach.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0042-Modernize-Lock-class-using-staticmethod-decorator.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0043-Modernize-GC-using-staticmethod-decorator.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0044-Modernize-RefCounter-using-staticmethod-decorator.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0045-Simplify-FakeSMBSR-implementation-remove-member-vars.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0046-Use-for-session-instead-of-for-e.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0047-Define-and-details-attr-on-Failure-mock.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0048-Fix-util.SRtoXML-calls-in-many-drivers.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0049-Replace-Dict-variable-with-info-in-LVHDSR.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0050-Prevent-mypy-errors-when-a-variable-type-is-changed-.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0051-Prevent-bad-mypy-error-in-TestMultiLUNISCSISR-using-.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0052-Count-correctly-IQN-sessions-during-ISCSISR-attach.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0053-Use-importlib-instead-of-imp-which-is-deprecated-in-.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0054-Replace-deprecated-calls-to-distutils.spawn.find_exe.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0055-Replace-deprecated-calls-to-distutils.util.strtobool.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0056-Fix-_locked_load-calls-compatibility-with-python-3.1.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0057-Use-static-analysis-tool-mypy.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0058-Add-mypy-stubs.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0059-Use-override-everywhere.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0060-Makefile-fix-don-t-execute-precheck-during-installat.patch
+ /usr/bin/patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.b9t78Y
+ umask 022
+ cd /builddir/build/BUILD
+ cd sm-3.2.3
+ make
make -C dcopy
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall dcopy.c atomicio.c -o dcopy
cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall tp.c -o tp
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
make -C linstor
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/linstor'
cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/linstor'
+ make -C misc/fairlock
make: Entering directory `/builddir/build/BUILD/sm-3.2.3/misc/fairlock'
gcc -c -o fairlock.o fairlock.c -I.
gcc -o fairlock fairlock.o -I.
make: Leaving directory `/builddir/build/BUILD/sm-3.2.3/misc/fairlock'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sU1iz8
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
++ dirname /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
+ '[' '!' -d /usr/lib/opamroot ']'
+ cd sm-3.2.3
+ make -C misc/fairlock install DESTDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
make: Entering directory `/builddir/build/BUILD/sm-3.2.3/misc/fairlock'
install -D -m 755 fairlock /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/libexec/fairlock
install -D -m 644 fairlock@.service /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/systemd/system/fairlock@.service
install -D -m 644 fairlock.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/fairlock.py
python3 -m compileall /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/fairlock.py
Compiling '/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/fairlock.py'...
make: Leaving directory `/builddir/build/BUILD/sm-3.2.3/misc/fairlock'
+ make install DESTDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
make -C dcopy
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
make -C linstor
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/linstor'
cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/linstor'
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm//plugins
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/udev/rules.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/udev/scripts/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/rc.d/init.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/systemd/system/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/systemd/system//drbd-reactor.service.d
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/systemd/system//linstor-satellite.service.d
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/systemd/system/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/multipath.xenserver/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/multipath/conf.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/modprobe.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/logrotate.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/debug/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/bin/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xensource/master.d/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/extensions/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.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/lock_queue.py  drivers/ipc.py  drivers/srmetadata.py  drivers/metadata.py  drivers/lvmanager.py  drivers/blktap2.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/sr_health_check.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/MooseFSSR.py  drivers/LargeBlockSR.py; do \
  install -m 755 $i /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/; \
done
install -m 755 drivers/plugins/__init__.py \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm//plugins/
install -m 755 drivers/plugins/keymanagerutil.py \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm//plugins/
install -m 644 multipath/multipath.conf \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//etc/multipath.xenserver/
install -m 644 multipath/custom.conf \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//etc/multipath/conf.d/
install -m 755 multipath/sm-multipath \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//etc/rc.d/init.d/
install -m 755 multipath/multipath-root-setup \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//opt/xensource/sm/
install -m 644 etc/logrotate.d/SMlog \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//etc/logrotate.d/
install -m 644 etc/systemd/system/drbd-reactor.service.d/override.conf \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//etc/systemd/system//drbd-reactor.service.d/
install -m 644 etc/systemd/system/linstor-satellite.service.d/override.conf \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.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.2.3-1.15.xcpng8.3.x86_64//etc/systemd/system/
install -m 644 etc/make-dummy-sr.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/xs-sm.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/sm-mpath-root.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/usb-scan.* \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/mpathcount.* \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/storage-init.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/sr_health_check.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/sr_health_check.timer \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/SMGC@.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64//usr/lib/systemd/system/
install -m 644 systemd/linstor-monitor.service \
  /builddir/build/BUILDROOT/sm-3.2.3-1.15.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.2.3-1.15.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.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/; done
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.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 MooseFS LargeBlock; do \
  ln -sf $i"SR.py" $i"SR"; \
done
rm /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm//SHMSR
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDSR && ln -sf LVHDSR.py LVMSR
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f RawISCSISR && ln -sf RawISCSISR.py ISCSISR
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDoISCSISR && ln -sf LVHDoISCSISR.py LVMoISCSISR
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/ && rm -f LVHDoHBASR && ln -sf LVHDoHBASR.py LVMoHBASR
cd /builddir/build/BUILDROOT/sm-3.2.3-1.15.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.2.3-1.15.xcpng8.3.x86_64/sbin/mpathutil
install -m 755 drivers/02-vhdcleanup /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xensource/master.d/
install -m 755 drivers/linstor-manager /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/lvhd-thin /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/on_slave.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins//on-slave
install -m 755 drivers/testing-hooks /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/coalesce-leaf /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/nfs-on-slave /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/tapdisk-pause /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/intellicache-clean /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/trim /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/etc/xapi.d/plugins/
install -m 755 drivers/iscsilib.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/
install -m 755 drivers/fcoelib.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/sm/
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/fork-log-daemon /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/linstor-kv-tool /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/bin/
install -m 755 scripts/safe-umount /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/local-device-change /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/check-device-sharing /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/usb_change /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/kickpipe /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/set-iscsi-initiator /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec
install -m 755 dcopy /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/debug
install -m 755 tp /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/debug	
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/dcopy'
make -C linstor install DESTDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/linstor'
mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec
install -m 755 linstor-monitord /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/linstor'
make -C sm_typing install DESTDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
make[1]: Entering directory `/builddir/build/BUILD/sm-3.2.3/sm_typing'
install -D -m 644 __init__.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/sm_typing.py
python3 -m compileall /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/sm_typing.py
Compiling '/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/lib/python3.6/site-packages/sm_typing.py'...
make[1]: Leaving directory `/builddir/build/BUILD/sm-3.2.3/sm_typing'
ln -sf /opt/xensource/sm/blktap2.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/bin//blktap2
ln -sf /opt/xensource/sm/lcache.py /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/bin/tapdisk-cache-stats
ln -sf /dev/null /builddir/build/BUILDROOT/sm-3.2.3-1.15.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.2.3-1.15.xcpng8.3.x86_64/etc/udev/scripts/
install -m 755 scripts/make-dummy-sr /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/
install -m 755 scripts/storage-init /builddir/build/BUILDROOT/sm-3.2.3-1.15.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.2.3
extracting debug info from /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/libexec/fairlock
extracting debug info from /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/debug/tp
extracting debug info from /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/dcopy
extracting debug info from /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/opt/xensource/libexec/linstor-monitord
/usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 2 CRC32s did match.
18 blocks
+ /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 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.gJAJll
+ umask 022
+ cd /builddir/build/BUILD
+ cd sm-3.2.3
+ tests/run_python_unittests.sh
.
----------------------------------------------------------------------
Ran 1 test in 0.010s
OK
test_attach_tgt_present_path_found (test_BaseISCSI.TestBaseISCSI) ... ok
test_attach_tgt_present_path_not_found (test_BaseISCSI.TestBaseISCSI) ... ok
test_sr_attach_multi_session (test_BaseISCSI.TestBaseISCSI) ... ok
test_attach_can_do_non_bind_mount (test_FileSR.TestFileSR) ... ok
test_attach_does_nothing_if_already_mounted (test_FileSR.TestFileSR) ... ok
test_attach_will_bind_mount_by_default (test_FileSR.TestFileSR) ... ok
test_attach_will_chmod_the_mount_point (test_FileSR.TestFileSR) ... ok
test_attach_will_ignore_mkdir_error_if_dir_already_exists (test_FileSR.TestFileSR) ... ok
test_attach_will_mkdir_with_closed_mode (test_FileSR.TestFileSR) ... ok
test_attach_will_mount_if_not_already_mounted (test_FileSR.TestFileSR) ... ok
test_attach_will_rethrow_any_oserrors_on_mkdir (test_FileSR.TestFileSR) ... ok
test_attach_will_rethrow_any_oserrors_on_mount (test_FileSR.TestFileSR) ... 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_not_writable (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_is_consistent_utf8_filename (test_ISOSR.TestISOSR_functions) ... ok
test_list_images (test_ISOSR.TestISOSR_functions) ... ok
test_list_images_filters_non_ascii_names (test_ISOSR.TestISOSR_functions) ... ok
test_list_images_filters_non_utf8_names (test_ISOSR.TestISOSR_functions) ... ok
test_list_images_reports_problem_filenames (test_ISOSR.TestISOSR_functions) ... 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_ipv6 (test_ISOSR.TestISOSR_overNFS) ... ok
test_attach_nfs_no_server (test_ISOSR.TestISOSR_overNFS) ... ok
test_attach_nfs_wrong_version (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_mountoversmb_will_raise_on_error (test_ISOSR.TestISOSR_overSMB) ... ok
test_loadvids (test_LVHDSR.TestLVHDSR)
sr.allVDIs populated by _loadvdis ... ok
test_srlifecycle_success (test_LVHDSR.TestLVHDSR) ... ok
test_undoAllInflateJournals (test_LVHDSR.TestLVHDSR)
No LV refresh on slaves when Cleaning up local LVHD SR's journal ... Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
Failed to get D-Bus connection: Operation not permitted
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) ... <MagicMock name='driver()().print_devs()' id='140248146309072'>
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_check_sr_correct_sessions_count (test_LVHDoISCSISR.TestLVHDoISCSISR) ... ok
test_check_sr_not_enough_sessions (test_LVHDoISCSISR.TestLVHDoISCSISR) ... ok
test_check_sr_pbd_not_found (test_LVHDoISCSISR.TestLVHDoISCSISR) ... ok
test_sr_attach_multi_session (test_LVHDoISCSISR.TestLVHDoISCSISR) ... 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_attach_already_mounted (test_NFSSR.TestNFSSR) ... ok
test_attach_failure (test_NFSSR.TestNFSSR) ... ok
test_attach_not_writable (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_sr_create_noperm (test_NFSSR.TestNFSSR) ... ok
test_sr_create_readonly (test_NFSSR.TestNFSSR) ... ok
test_attach_if_mounted_then_attached (test_SMBSR.Test_SMBSR) ... ok
test_attach_misc_mount_failure (test_SMBSR.Test_SMBSR) ... ok
test_attach_not_writable (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_create_nospace (test_SMBSR.Test_SMBSR) ... ok
test_create_read_only (test_SMBSR.Test_SMBSR) ... ok
test_create_success (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_parse_handles_wide_chars (test_SRCommand.TestStandaloneFunctions) ... 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 SRException is thrown, assert that print ... 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) ... ok
test_attach (test_blktap2.TestTapCtl) ... ok
test_close (test_blktap2.TestTapCtl) ... ok
test_close_force (test_blktap2.TestTapCtl) ... ok
test_detach (test_blktap2.TestTapCtl) ... ok
test_free (test_blktap2.TestTapCtl) ... ok
test_list_eperm_failure (test_blktap2.TestTapCtl) ... ok
test_list_no_args (test_blktap2.TestTapCtl) ... ok
test_list_pid_arg (test_blktap2.TestTapCtl) ... ok
test_list_retry_eproto (test_blktap2.TestTapCtl) ... ok
test_list_signalled (test_blktap2.TestTapCtl) ... ok
test_major (test_blktap2.TestTapCtl) ... ok
test_open (test_blktap2.TestTapCtl) ... ok
test_open_cbt_log (test_blktap2.TestTapCtl) ... ok
test_open_encryption (test_blktap2.TestTapCtl) ... ok
test_open_encryption_nokey (test_blktap2.TestTapCtl) ... ok
test_open_intellicache_leaf (test_blktap2.TestTapCtl) ... ok
test_open_intellicache_leaf_non_persist (test_blktap2.TestTapCtl) ... ok
test_open_intellicache_parent (test_blktap2.TestTapCtl) ... ok
test_open_read_cache (test_blktap2.TestTapCtl) ... ok
test_open_readonly (test_blktap2.TestTapCtl) ... ok
test_open_secondary (test_blktap2.TestTapCtl) ... ok
test_pause (test_blktap2.TestTapCtl) ... ok
test_spawn (test_blktap2.TestTapCtl) ... ok
test_spawn_fail_on_error (test_blktap2.TestTapCtl) ... ok
test_spawn_retry_on_eperm (test_blktap2.TestTapCtl) ... ok
test_stats (test_blktap2.TestTapCtl) ... ok
test_unpause (test_blktap2.TestTapCtl) ... ok
test_unpause_cbtlog (test_blktap2.TestTapCtl) ... ok
test_unpause_mirror (test_blktap2.TestTapCtl) ... ok
test_cgclassify_called_by_launch_on_tap (test_blktap2.TestTapdisk) ... ok
test_cgclassify_exception_swallow (test_blktap2.TestTapdisk) ... ok
test_cgclassify_normal_call (test_blktap2.TestTapdisk) ... ok
test_list (test_blktap2.TestTapdisk) ... ok
test_open_empty_cd (test_blktap2.TestTapdisk) ... ok
test_activate (test_blktap2.TestVDI) ... blktap2.activate
Adding tag to: a8174c1c-0de4-4778-8fc3-1438274ec5c7
Activate lock succeeded
tap.activate: Found <MagicMock name='Tapdisk.find_by_path()' id='140248140340080'>
Removed activating flag from a8174c1c-0de4-4778-8fc3-1438274ec5c7
ok
test_activate_pause_retry (test_blktap2.TestVDI) ... blktap2.activate
Adding tag to: dd842c1c-348a-4edc-bdd5-41bac0800ed5
Paused or host_ref key found [{'paused': 'true'}]
Adding tag to: dd842c1c-348a-4edc-bdd5-41bac0800ed5
Activate lock succeeded
tap.activate: Found <MagicMock name='Tapdisk.find_by_path()' id='140248132640104'>
Removed activating flag from dd842c1c-348a-4edc-bdd5-41bac0800ed5
ok
test_activate_paused_while_tagging (test_blktap2.TestVDI) ... blktap2.activate
Adding tag to: 2f4ead01-1bbc-4284-9d4f-55d6b250f293
Found paused key, aborting
Adding tag to: 2f4ead01-1bbc-4284-9d4f-55d6b250f293
Activate lock succeeded
tap.activate: Found <MagicMock name='Tapdisk.find_by_path()' id='140248146799696'>
Removed activating flag from 2f4ead01-1bbc-4284-9d4f-55d6b250f293
ok
test_activate_relink_retry (test_blktap2.TestVDI) ... blktap2.activate
Adding tag to: 97caf608-9e5b-4da7-b510-d58daaaa1f99
Relinking key found, back-off and retry
Adding tag to: 97caf608-9e5b-4da7-b510-d58daaaa1f99
Activate lock succeeded
tap.activate: Found <MagicMock name='Tapdisk.find_by_path()' id='140248142396664'>
Removed activating flag from 97caf608-9e5b-4da7-b510-d58daaaa1f99
ok
test_activate_relink_while_tagging (test_blktap2.TestVDI) ... blktap2.activate
Adding tag to: 74c10d27-2f44-4fa6-aebd-f9404312ab07
Found relinking key, aborting
Adding tag to: 74c10d27-2f44-4fa6-aebd-f9404312ab07
Activate lock succeeded
tap.activate: Found <MagicMock name='Tapdisk.find_by_path()' id='140248138812384'>
Removed activating flag from 74c10d27-2f44-4fa6-aebd-f9404312ab07
ok
test_get_tap_type_returns_aio_for_udev_device (test_blktap2.TestVDI) ... ok
test_linknbd (test_blktap2.TestVDI) ... ok
test_linknbd_not_called_for_no_tap (test_blktap2.TestVDI) ... ok
test_tap_wanted_returns_true_for_udev_device (test_blktap2.TestVDI) ... ok
test_activate_consistency_check_fail (test_cbt.TestCBT) ... ok
test_activate_consistent_success (test_cbt.TestCBT) ... ok
test_activate_no_tracking_success (test_cbt.TestCBT) ... ok
test_configure_blocktracking_disable_already_disabled (test_cbt.TestCBT) ... ok
test_configure_blocktracking_disable_metadata_deletion_fail (test_cbt.TestCBT) ... ok
test_configure_blocktracking_disable_pause_fail (test_cbt.TestCBT) ... ok
test_configure_blocktracking_disable_when_enabled_with_parent (test_cbt.TestCBT) ... ok
test_configure_blocktracking_disable_when_enabled_without_parent (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_already_enabled (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_metadata_creation_fail (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_metadata_initialisation_fail (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_metadata_no_space (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_pause_fail (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_raw_vdi (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_snapshot (test_cbt.TestCBT) ... ok
test_configure_blocktracking_enable_success (test_cbt.TestCBT) ... ok
test_deactivate_no_tracking_success (test_cbt.TestCBT) ... ok
test_deactivate_success (test_cbt.TestCBT) ... ok
test_list_changed_blocks_cbt_disabled (test_cbt.TestCBT) ... ok
test_list_changed_blocks_larger_bitmap (test_cbt.TestCBT) ... ok
test_list_changed_blocks_not_related (test_cbt.TestCBT) ... ok
test_list_changed_blocks_same_vdi (test_cbt.TestCBT) ... ok
test_list_changed_blocks_smaller_bitmap (test_cbt.TestCBT) ... ok
test_list_changed_blocks_strip_sensitive_bitmap (test_cbt.TestCBT) ... ok
test_list_changed_blocks_success (test_cbt.TestCBT) ... ok
test_list_changed_blocks_vdi_resized_success (test_cbt.TestCBT) ... ok
test_list_changed_blocks_vdi_shrunk (test_cbt.TestCBT) ... ok
test_resize_cbt_disable (test_cbt.TestCBT) ... ok
test_resize_cbt_enabled (test_cbt.TestCBT) ... ok
test_resize_exception (test_cbt.TestCBT) ... ok
test_snapshot_out_of_space_failure (test_cbt.TestCBT) ... ok
test_snapshot_success_no_parent (test_cbt.TestCBT) ... ok
test_snapshot_success_with_CBT_disable (test_cbt.TestCBT) ... ok
test_snapshot_success_with_parent (test_cbt.TestCBT) ... ok
test_vdi_data_destroy_cbt_disabled (test_cbt.TestCBT) ... ok
test_vdi_data_destroy_cbt_enabled (test_cbt.TestCBT) ... ok
test_vdi_delete_bitmap_coalesce_exc (test_cbt.TestCBT) ... ok
test_vdi_delete_cbt_disabled (test_cbt.TestCBT) ... ok
test_vdi_delete_cbt_enabled_no_child (test_cbt.TestCBT) ... ok
test_vdi_delete_cbt_enabled_with_child (test_cbt.TestCBT) ... ok
test_createCBTLog (test_cbtutil.TestCbtutil) ... ok
test_getCBTConsistency_consistent (test_cbtutil.TestCbtutil) ... ok
test_getCBTConsistency_not_consistent (test_cbtutil.TestCbtutil) ... ok
test_setCBTChild (test_cbtutil.TestCbtutil) ... ok
test_setCBTConsistency_consistent_success (test_cbtutil.TestCbtutil) ... ok
test_setCBTConsistency_not_consistent_success (test_cbtutil.TestCbtutil) ... ok
test_setCBTParent (test_cbtutil.TestCbtutil) ... ok
test_empty_credentials_and_domain_for_bad_dconf (test_cifutils.TestCreate) ... ok
test_empty_credentials_and_username (test_cifutils.TestCreate) ... ok
test_got_credentials_empty_dconf (test_cifutils.TestCreate) ... ok
test_got_credentials_empty_dconf_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_everything (test_cifutils.TestCreate) ... ok
test_got_credentials_everything_and_padding (test_cifutils.TestCreate) ... ok
test_got_credentials_everything_and_padding_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_everything_but_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_everything_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_password_and_secret (test_cifutils.TestCreate) ... ok
test_got_credentials_password_and_secret_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_password_only (test_cifutils.TestCreate) ... ok
test_got_credentials_password_only_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_secret_only (test_cifutils.TestCreate) ... ok
test_got_credentials_secret_only_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_user_and_password (test_cifutils.TestCreate) ... ok
test_got_credentials_user_and_password_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_user_and_secret (test_cifutils.TestCreate) ... ok
test_got_credentials_user_and_secret_smbsr (test_cifutils.TestCreate) ... ok
test_got_credentials_username_only (test_cifutils.TestCreate) ... ok
test_got_credentials_username_only_smbsr (test_cifutils.TestCreate) ... ok
test_password_and_username (test_cifutils.TestCreate) ... ok
test_password_and_username_domain (test_cifutils.TestCreate) ... ok
test_password_and_username_domain_smbsr (test_cifutils.TestCreate) ... ok
test_password_and_username_smbsr (test_cifutils.TestCreate) ... ok
test_password_secret_and_username (test_cifutils.TestCreate) ... ok
test_password_secret_and_username_also_domain (test_cifutils.TestCreate) ... ok
test_password_secret_and_username_also_domain_smbsr (test_cifutils.TestCreate) ... ok
test_password_secret_and_username_smbsr (test_cifutils.TestCreate) ... ok
test_username_bad_domain (test_cifutils.TestCreate) ... ok
test_username_bad_domain_smbsr (test_cifutils.TestCreate) ... ok
test_can_acquire (test_cleanup.TestLockGCActive) ... ok
test_can_acquire_when_already_holding_sr_lock (test_cleanup.TestLockGCActive) ... ok
test_cannot_acquire_if_other_process_holds_gc_lock (test_cleanup.TestLockGCActive) ... ok
test_cannot_acquire_if_other_process_holds_sr_lock (test_cleanup.TestLockGCActive) ... ok
test__abort_return_false_if_flag_not_set (test_cleanup.TestSR) ... ok
test__abort_returns_true_when_get_lock (test_cleanup.TestSR) ... ok
test__abort_should_fail_if_reaches_maximum_retries_for_lock (test_cleanup.TestSR) ... ok
test__abort_should_raise_if_cant_get_lock (test_cleanup.TestSR) ... ok
test__abort_should_succeed_if_aquires_on_second_attempt (test_cleanup.TestSR) ... ok
test__abort_succeeds_if_gets_lock_on_final_attempt (test_cleanup.TestSR) ... ok
test_abort_optional_renable_active_held (test_cleanup.TestSR) ... ok
test_abort_optional_renable_active_not_held (test_cleanup.TestSR) ... ok
test_calcStorageSpeed (test_cleanup.TestSR) ... ok
test_canLiveCoalesce (test_cleanup.TestSR) ... ok
test_check_for_xapi_running (test_cleanup.TestSR) ... ok
test_check_for_xapi_running_no_session (test_cleanup.TestSR) ... ok
test_coalesceLeaf (test_cleanup.TestSR) ... ok
test_coalesceLeaf_coalesce_failed (test_cleanup.TestSR) ... ok
test_coalesceLeaf_size_bigger (test_cleanup.TestSR) ... ok
test_coalesceLeaf_size_the_same (test_cleanup.TestSR) ... ok
test_coalesceLeaf_success_after_4_iterations (test_cleanup.TestSR) ... ok
test_coalesce_error (test_cleanup.TestSR) ... ok
test_coalesce_error_raw_parent (test_cleanup.TestSR) ... ok
test_coalesce_success (test_cleanup.TestSR) ... ok
test_fall_back_to_leaf_coalescing (test_cleanup.TestSR)
Good VDI can can live coalesce and has right size ... ok
test_file_vdi_delete (test_cleanup.TestSR) ... ok
test_findLeafCoalesceable_forbidden1 (test_cleanup.TestSR) ... ok
test_findLeafCoalesceable_forbidden2 (test_cleanup.TestSR) ... ok
test_findLeafCoalesceable_forbidden3 (test_cleanup.TestSR) ... ok
test_findLeafCoalesceable_forbidden4 (test_cleanup.TestSR) ... ok
test_findLeafCoalesceable_forbidden5 (test_cleanup.TestSR) ... ok
test_forbiddenBySwitch (test_cleanup.TestSR) ... ok
test_gather_candidates_auto_coalesce_off (test_cleanup.TestSR)
Globally turned off but good vdi has force ... ok
test_gather_candidates_caching_allowed (test_cleanup.TestSR)
Bad candidate has caching allowed so not added ... ok
test_gather_candidates_clsc_disabled (test_cleanup.TestSR)
clsc disabled so not added ... ok
test_gather_candidates_failed_candidates (test_cleanup.TestSR)
The bad vdi is in the failed list so is not added to the list. ... ok
test_gather_candidates_leaf_not_coalescable (test_cleanup.TestSR)
The bad vdi returns false for isLeafCoalesceable and is not ... ok
test_gather_candidates_reset (test_cleanup.TestSR)
bad has cleanup.VDI.ONBOOT_RESET so not added to list ... ok
test_gcPause_calls_abortable_sleep (test_cleanup.TestSR) ... ok
test_gcPause_calls_fist_point (test_cleanup.TestSR) ... ok
test_gcPause_fist_point_legal (test_cleanup.TestSR) ... ok
test_gcPause_skipped_on_first_run (test_cleanup.TestSR) ... ok
test_gc_background_is_not_immediate (test_cleanup.TestSR) ... ok
test_gc_foreground_is_immediate (test_cleanup.TestSR) ... ok
test_gc_pause_skipped_if_immediate (test_cleanup.TestSR) ... ok
test_gcloop_no_work (test_cleanup.TestSR) ... ok
test_gcloop_no_work2 (test_cleanup.TestSR) ... ok
test_gcloop_one_of_each (test_cleanup.TestSR) ... ok
test_getStorageSpeed (test_cleanup.TestSR) ... ok
test_getSwitch (test_cleanup.TestSR) ... ok
test_insufficient_space (test_cleanup.TestSR)
Good vdi calculates space less than remaining on sr ... ok
test_leafCoaleesceTracker_too_many_iterations (test_cleanup.TestSR) ... ok
test_leafCoalesceForbidden (test_cleanup.TestSR) ... ok
test_leafCoalesceTracker (test_cleanup.TestSR) ... ok
test_leafCoalesceTracker_getting_bigger (test_cleanup.TestSR) ... ok
test_leaf_coalescing_cannt_live_coalesce (test_cleanup.TestSR)
1st VDI is too big for snap but right size for live ... ok
test_lock_if_already_locked (test_cleanup.TestSR) ... ok
test_lock_if_no_locking_is_used (test_cleanup.TestSR) ... ok
test_lock_leaves_sr_consistent_if_unable_to_acquire_lock (test_cleanup.TestSR) ... ok
test_lock_not_released_by_abort_when_not_held (test_cleanup.TestSR) ... ok
test_lock_raises_exception_if_abort_requested (test_cleanup.TestSR) ... ok
test_lock_raises_exception_if_unable_to_acquire_lock (test_cleanup.TestSR) ... ok
test_lock_released_by_abort_when_held (test_cleanup.TestSR) ... ok
test_lock_succeeds_if_lock_is_acquired (test_cleanup.TestSR) ... ok
test_not_plugged (test_cleanup.TestSR) ... ok
test_not_plugged_retry (test_cleanup.TestSR) ... ok
test_recordStorageSpeed_bad_speed (test_cleanup.TestSR) ... ok
test_recordStorageSpeed_good_speed (test_cleanup.TestSR) ... ok
test_space_equal (test_cleanup.TestSR)
Good has calculates space equal to remaining space ... ok
test_tag_children_for_relink_activation (test_cleanup.TestSR) ... ok
test_tag_children_for_relink_activation_second_phase (test_cleanup.TestSR) ... ok
test_tag_children_for_relink_blocked (test_cleanup.TestSR) ... ok
test_waits_for_xapi_running (test_cleanup.TestSR) ... ok
test_writeSpeedToFile (test_cleanup.TestSR) ... ok
test_adapter_and_disk_added (test_devscan.TestAdapters) ... ok
test_exotic_adapter_with_security_device (test_devscan.TestAdapters) ... ok
test_no_adapters (test_devscan.TestAdapters) ... ok
test_scanning_empty_sr (test_devscan.TestScan) ... ok
test_scanning_sr_includes_parameters (test_devscan.TestScan) ... Recursively created directory /tmp/images
Recursively created directory /tmp/images
not exists /var/run/sr-mount/asr_uuid
not exists /builddir/build/BUILD/sm-3.2.3/drivers/XE_SR_ERRORCODES.xml
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-2eff6710-df5a-4412-8596-c9a83e0060ca
not exists /dev/VG_XenStorage-2eff6710-df5a-4412-8596-c9a83e0060ca/MGT
not exists /sys/block/bar/device/rescan
tried to open file /etc/mtab
not exists /opt/xensource/sm/mpath_null.py
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: <MagicMock name='XenAPI.xapi_local().xenapi.SR.get_other_config().__getitem__()' id='140248141207480'>",)
('Found inflate journal some VDI UUID, deflating /dev/VG_XenStorage-e94dada1-13fa-4f1d-b0fe-2a761bb710aa/ to 0',)
<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>1200</int></value>
</member>
<member>
<name>faultString</name>
<value><string>fXMrjLBTyQaVpxBHPORFvfCUuCdlmttBPqzbGuapjwvTKcyEfJwemcabSPYunVWDYUxpGwKFvwcMWroItwzQYCkmQriFFMralHLFeokriwmRodsfhWGYWeNcuXkLzAragOnbxxXhwZwVmGXUWCLATZDYowqHZxkWhzQKARYvArCVvlxlYcDKvJgBXOctbsdJqiuuFclUAxbWVZUNlOZvJGukGhhbsJItVbYuJuTMxOUaVyCFwnbaTeOvkoHYRqyiqReXQTRWhxvZfuMHCNftoajNKNTvvFXeROJKysqYUJWXQdvURzvQBDrZneNZNDknCLMZptcQtbortDFxmStzywsBFoetpbSLneTEODWdiHWPHFmKnNKuPMIonnKGMfhdSxJusPfOOSXsRGlnguUiDITxvQUFqCorvSbBusBLegJyFYqbbGLkDvXuwbgMUXMoOvVhtiqKbtdhrpyIjofunOQhoXqPYESjsvqdOREHUFSaMpHsIKCzAxOUaubjYwPaUMfVDTYOxSOoJKjrOjYYtrGgmnOSpLvlCCMeWrCgWjDmczonZogOapchaICXZPDJqYTHlqnHGoqYiBppqJmOncvyXcGfnOVFXtPkqkJaQwegDekxwqwarnkOmLJNwjiqMNMCLXniwLyMhqUFxIIHRbvanAvzrqknxLPuikeTAIfrpHmbsLLjiveJYqcimOVdYBQCQWfVsfeiwxIlKLhtjyUNUYOgLACxxCZPHSFzNkzYXkzIInZHDSbrGJcqLXBZKOXhEIwjlvqCIcgTQumGgnSRqjWbePlAiuijIrRXSCFKGJlhSaJoAAzuYQdYyxCslhKMJNvpINsIkGmUXRXxgtbzkwjYpYSGRrgdnbHceGuIoMSitMsTnjvFxorBGOtXGsotnfIeRkpXZUIQFyfOSVFPciWiThmhteAuKjNGJQaaFNgHnAOfsgTBhvHuWHPKxUOnRHfJhBKQPPYyZTOwfYohgBJyGZUZuJhuBZQwQzWeCdzfMAFwqHuOEoXVxHBUoWuJWEXLYzibtilHUaSnmIWrpvPqvkfxWAmhSabMUhBOLvopXzFNXuTUewoHXlMbQSOgUFyXJqffQkEScuTfJBFdokJwPocZlhJdkJnRMWZIvdcjBSExNIAGsjcsbKbgBbmVEetfMmYIxxMYkOttVeZwNbUMywbnCtDoEqUiEiHCcgfaaXLmBqJECouiwWmEGRVKlDajPxMaOzHvUlvwVVNASwwuEKiGNKmyPxvjSRSZSmEoRyvDAiEcuhyryYjrABBRYnwqaHICQdFyadFoFUzjaeQsMZrOZrQFDPJeSKAhevAErwEEYxKWFidvELtvDgqZOmHSLzHcRDJzhFGBNzUHcnOTqmXigQFwLxLyAzQuYjvDXRdlMwuarZvMsAJKSoptUFKrkZuUkYdkQWyjsPCDhlFwEsDZfyjflOmNBxsBsohAizPpzuPGggiwLzrRUgtPIkIMnEipLGntXVGwAoOQiILTIIIYLHHCUFwpINMMmjdCZigSSYTwoRBFfOpQvDsDJIjkYmRwEXZpfAvIQQgGyOTgEUinnVvOTgtfLRcXOxKSsSMqoWtxtjcMkjFFWHVljjTvJVHrfswIWhFFgPHCGiSKuumZjxjntnAJfgznMIOGmSkMrVkYKWresnNFgYJoswOkYefWVfhpZBfqGGSSrnrzEVyAQUukvGVmLLtLpPaFvxCMbrHAzuUHUisqDvnDzsGckJlXAzKUmVMrbQHfHyWnjujoYWfimDYyCuPlmDHkfORjBeUrItewJQaUOSbiSNMruvHMTMfkUWFZfobCWTRGMyfkynKMHMDRsFOGIOvuwiWGwYZBzpZVFxVXgxIdABNfJskPSivlwivTvtwSvjbYuJUwFPGDlYPclJVYQGBJDzmdPNsTlaRnqFfmuodZFmtsbbLvGUWZdiNIYWsEEbsXlbRwqYLQISBhfvejvbVNMXDtFYVqySeuzsDbGuTyBUlcOfpNnXVdtNElbXqijUEeSzTlPSVnvuHjxQbfEudhhWAVkQdtPWSqRUOc</string></value>
</member>
</struct></value>
</fault>
</methodResponse>
<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>1200</int></value>
</member>
<member>
<name>faultString</name>
<value><string></string></value>
</member>
</struct></value>
</fault>
</methodResponse>
['/usr/sbin/tap-ctl', 'allocate']
 = 0
['/usr/sbin/tap-ctl', 'attach', '-p', '22127', '-m', '2']
 = 0
['/usr/sbin/tap-ctl', 'close', '-p', '22127', '-m', '2', '-t', '120']
 = 0
['/usr/sbin/tap-ctl', 'close', '-p', '22127', '-m', '2', '-t', '120', '-f']
 = 0
['/usr/sbin/tap-ctl', 'detach', '-p', '22127', '-m', '2']
 = 0
['/usr/sbin/tap-ctl', 'free', '-m', '1']
 = 0
['/usr/sbin/tap-ctl', 'major']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-t', '40']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-C', '/dev/VG_XenStorage-9bf5335b-7fef-298c-109c-1d12e931edfd/b76f0618-4dad-4b15-825f-b0b0fb006d67.cbtlog']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-E']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-e', '4']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-e', '4', '-s']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-r']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-D']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-R']
 = 0
['/usr/sbin/tap-ctl', 'open', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd', '-2', 'nbd:mirror_vbd/10/xvda']
 = 0
['/usr/sbin/tap-ctl', 'pause', '-p', '22127', '-m', '2']
 = 0
['/usr/sbin/tap-ctl', 'spawn']
 = 0
['/usr/sbin/tap-ctl', 'spawn']
 = 5
['/usr/sbin/tap-ctl', 'spawn']
 = 1
['/usr/sbin/tap-ctl', 'spawn']
 = 0
['/usr/sbin/tap-ctl', 'unpause', '-p', '22127', '-m', '2', '-a', 'vhd:/dev/VG_XenStorage-2eeb9fd5-6545-8f0b-cf72-0378e413a31c/VHD-a7c0f37e-b7fb-4a44-a6fe-05067fb84c09.vhd']
 = 0
['/usr/sbin/tap-ctl', 'unpause', '-p', '22127', '-m', '2', '-c', '/dev/VG_XenStorage-9bf5335b-7fef-298c-109c-1d12e931edfd/b76f0618-4dad-4b15-825f-b0b0fb006d67.cbtlog']
 = 0
['/usr/sbin/tap-ctl', 'unpause', '-p', '22127', '-m', '2', '-2', 'nbd:mirror_vbd/10/xvda']
 = 0
Disabling GC/coalesce for None
GC/coalesce re-enabled
Disabling GC/coalesce for None
GC/coalesce re-enabled
no glob /sys/class/net/eth*
not exists /sys/class/scsi_host/host0/fnic_state
not exists /sys/class/scsi_host/host0/lpfc_fcp_class
not exists /sys/class/scsi_host/host0/84xx_fw_version
not exists /sys/class/scsi_host/host0/driver_name
not exists /sys/class/scsi_host/host0/proc_name
not exists /sys/class/scsi_host/host0/uevent
not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name
not exists /sys/class/scsi_host/host0/scan
tried to open file /etc/mtab
no glob /sys/class/scsi_host/host0/device/session*
no glob /sys/class/scsi_host/host0/device
no glob /sys/class/net/eth*
not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name
not exists /sys/class/scsi_host/host0/scan
tried to open file /etc/mtab
no glob /sys/class/fc_transport/target7:0:0/device/7:0:0:0/block/*
no glob /sys/class/net/eth*
no glob /sys/class/scsi_host/*
no glob /sys/class/net/eth*
no glob /sys/class/scsi_host/*
not exists /dev/disk/by-id
no glob /sys/class/net/eth*
not exists /sys/class/scsi_host/host0/fnic_state
not exists /sys/class/scsi_host/host0/lpfc_fcp_class
not exists /sys/class/scsi_host/host0/84xx_fw_version
not exists /sys/class/scsi_host/host0/driver_name
ok
test_scanning_sr_with_devices (test_devscan.TestScan) ... ok
test_whencalled_updates_dict (test_devscan.TestUpdateDevsDict) ... ok
test_whencalled_with_empty_key_does_not_update_dict (test_devscan.TestUpdateDevsDict) ... ok
test_double_lock_deadlock (test_fairlock.TestFairlock) ... /builddir/build/BUILD/sm-3.2.3/tests/test_fairlock.py:95: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(l, n)
ok
test_first_lock (test_fairlock.TestFairlock) ... ok
test_first_lock_timeout (test_fairlock.TestFairlock) ... ok
test_second_lock (test_fairlock.TestFairlock) ... ok
test_two_locks (test_fairlock.TestFairlock) ... ok
test_create_and_exists (test_fjournaler.TestFjournaler) ... ok
test_create_existing_error (test_fjournaler.TestFjournaler) ... ok
test_create_mulitple (test_fjournaler.TestFjournaler) ... ok
test_non_existing (test_fjournaler.TestFjournaler) ... ok
test_remove_non_existing_error (test_fjournaler.TestFjournaler) ... ok
test_discovery_chap_success (test_iscsilib.Test_iscsilib) ... ok
test_discovery_success (test_iscsilib.Test_iscsilib) ... ok
test_restart_daemon (test_iscsilib.Test_iscsilib) ... ok
test_restore_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok
test_save_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok
test_generatekey_strong (test_keymanagerutil.TestKeymanagerutil) ... ok
test_get_key_no_hash (test_keymanagerutil.TestKeymanagerutil) ... ok
test_get_key_unmatched (test_keymanagerutil.TestKeymanagerutil) ... ok
test_lock_acquire_noblock_release (test_lock.TestLock) ... ok
test_lock_acquire_noblock_twice_release (test_lock.TestLock) ... ok
test_lock_acquire_release (test_lock.TestLock) ... ok
test_lock_acquire_then_noblock_release (test_lock.TestLock) ... ok
test_lock_acquire_twice_release (test_lock.TestLock) ... ok
test_lock_file_create_fails_retried (test_lock.TestLock) ... ok
test_lock_noblock_then_acquire_release (test_lock.TestLock) ... ok
test_lock_with_namespace_creates_file (test_lock.TestLock) ... ok
test_lock_with_namespace_creates_namespace (test_lock.TestLock) ... ok
test_lock_without_namespace_creates_file (test_lock.TestLock) ... ok
test_lock_without_namespace_creates_nil_namespace (test_lock.TestLock) ... ok
test_context_manager (test_lock_queue.Test_LockQueue) ... ok
test_context_manager_bad_entry (test_lock_queue.Test_LockQueue) ... ok
test_push_to_queue_3x (test_lock_queue.Test_LockQueue) ... ok
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
test_activate_noref_IO_error_reported (test_lvutil.TestActivate) ... ok
test_activate_noref_metadata_error_retry (test_lvutil.TestActivate) ... ok
test_activate_noref_metadata_max_retries (test_lvutil.TestActivate) ... ok
test_activate_noref_norefresh (test_lvutil.TestActivate) ... ok
test_activate_noref_not_activated (test_lvutil.TestActivate) ... ok
test_create_creates_logical_volume_with_tags (test_lvutil.TestCreate) ... ok
test_create_percentage_has_precedence_over_size (test_lvutil.TestCreate) ... ok
test_create_volume_is_active (test_lvutil.TestCreate) ... ok
test_create_volume_is_in_the_right_volume_group (test_lvutil.TestCreate) ... ok
test_create_volume_is_zeroed (test_lvutil.TestCreate) ... ok
test_create_volume_size (test_lvutil.TestCreate) ... ok
test_deactivate_noref_withbugcleanup (test_lvutil.TestDeactivate) ... ok
test_deactivate_noref_withbugcleanup_retry (test_lvutil.TestDeactivate) ... ok
test_deactivate_noref_withbugcleanup_retry_fail (test_lvutil.TestDeactivate) ... ok
test_deactivate_noref_withnobugcleanup (test_lvutil.TestDeactivate) ... ok
test_command_error (test_lvutil.TestGetPVsInVG) ... ok
test_no_pvs (test_lvutil.TestGetPVsInVG) ... ok
test_no_pvs_in_vg (test_lvutil.TestGetPVsInVG) ... ok
test_pvs_in_vg (test_lvutil.TestGetPVsInVG) ... ok
test_remove_additional_config_param (test_lvutil.TestRemove) ... ok
test_remove_removes_volume (test_lvutil.TestRemove) ... ok
test_args_are_passed_to_pread (test_lvutil.Test_cmd_lvm) ... ok
test_output_is_returned (test_lvutil.Test_cmd_lvm) ... ok
test_refuse_to_run_empty_list (test_lvutil.Test_cmd_lvm) ... ok
test_refuse_to_run_none_list (test_lvutil.Test_cmd_lvm) ... ok
test_refuse_to_run_not_whitelisted_command (test_lvutil.Test_cmd_lvm) ... ok
test_refuse_to_run_with_non_string_args (test_lvutil.Test_cmd_lvm) ... ok
test_warning_if_cmd_takes_too_long (test_lvutil.Test_cmd_lvm) ... ok
test_activate_active_iscsi_success (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_exists_success (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_iscsi_no_targets_success (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_no_exception (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_noiscsi_mpath_not_working (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_noiscsi_start_mpath (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_noiscsi_success (test_mpath_dmp.TestMpathDmp) ... ok
test_activate_permission_denied (test_mpath_dmp.TestMpathDmp) ... ok
test_deactivate_mpath_no_iscsi_targets (test_mpath_dmp.TestMpathDmp) ... ok
test_deactivate_mpath_root (test_mpath_dmp.TestMpathDmp) ... ok
test_deactivate_mpath_running (test_mpath_dmp.TestMpathDmp) ... ok
test_is_valid_multipath_device (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_dmp_device_not_found (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_dmp_reload_required (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_dmp_success (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_no_sid (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_path_exists (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_refresh_error (test_mpath_dmp.TestMpathDmp) ... ok
test_refresh_refresh_scsi (test_mpath_dmp.TestMpathDmp) ... ok
test_check_devconfig (test_mpathcount.TestMpathCount) ... ok
test_check_root_disk (test_mpathcount.TestMpathCount) ... ok
test_exit_log_out_error (test_mpathcount.TestMpathCount) ... ok
test_exit_logs_out (test_mpathcount.TestMpathCount) ... ok
test_exit_no_session (test_mpathcount.TestMpathCount) ... ok
test_get_path_count (test_mpathcount.TestMpathCount) ... ok
test_get_root_dev_major (test_mpathcount.TestMpathCount) ... ok
test_update_config (test_mpathcount.TestMpathCount) ... ok
test_check_server_service (test_nfs.Test_nfs) ... ok
test_check_server_service_exception (test_nfs.Test_nfs) ... ok
test_check_server_service_first_call_exception (test_nfs.Test_nfs) ... ok
test_check_server_service_not_available (test_nfs.Test_nfs) ... ok
test_check_server_service_with_retries (test_nfs.Test_nfs) ... ok
test_check_server_tcp (test_nfs.Test_nfs) ... ok
test_check_server_tcp_nfsversion (test_nfs.Test_nfs) ... ok
test_check_server_tcp_nfsversion_error (test_nfs.Test_nfs) ... ok
test_get_supported_nfs_versions (test_nfs.Test_nfs) ... ok
test_get_supported_nfs_versions_nov4 (test_nfs.Test_nfs) ... ok
test_get_supported_nfs_versions_rpc_nov4 (test_nfs.Test_nfs) ... ok
test_scan_exports (test_nfs.Test_nfs) ... ok
test_soft_mount (test_nfs.Test_nfs) ... ok
test_soft_mount_ipv6 (test_nfs.Test_nfs) ... ok
test_soft_mount_nfsversion_3 (test_nfs.Test_nfs) ... ok
test_soft_mount_nfsversion_4 (test_nfs.Test_nfs) ... ok
test_validate_nfsversion_default (test_nfs.Test_nfs) ... ok
test_validate_nfsversion_invalid (test_nfs.Test_nfs) ... ok
test_validate_nfsversion_unsupported (test_nfs.Test_nfs) ... ok
test_validate_nfsversion_valid (test_nfs.Test_nfs) ... ok
test_is_open_false (test_on_slave.Test_on_slave_is_open) ... not exists /sys/class/scsi_host/host0/proc_name
not exists /sys/class/scsi_host/host0/uevent
not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name
not exists /sys/class/scsi_host/host0/scan
tried to open file /etc/mtab
no glob /sys/class/scsi_host/host0/device/session*
no glob /sys/class/scsi_host/host0/device
tried to open file /sys/class/fc_host/host0/node_name
tried to open file /sys/class/fc_host/host0/port_state
tried to open file /sys/class/fc_host/host0/speed
tried to open file /sys/class/fc_host/host0/supported_speeds
not exists /sys/class/iscsi_host/host0
no glob /sys/class/net/eth*
not exists /sys/class/scsi_host/host0/fnic_state
not exists /sys/class/scsi_host/host0/lpfc_fcp_class
not exists /sys/class/scsi_host/host0/84xx_fw_version
not exists /sys/class/scsi_host/host0/driver_name
not exists /sys/class/scsi_host/host0/proc_name
not exists /sys/class/scsi_host/host0/uevent
not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name
not exists /sys/class/scsi_host/host0/scan
tried to open file /etc/mtab
no glob /sys/class/scsi_host/host0/device/session*
no glob /sys/class/scsi_host/host0/device
not exists /sys/class/fc_host/host0
not exists /sys/class/iscsi_host/host0
Hello World
Hello World
Hello World
Hello Again World
Opening fake file, content = b''
Opening fake file, content = b'a'
Opening fake file, content = b'a'
Opening fake file, content = b''
Opening fake file, content = b'a'
Opening fake file, content = b''
Opening fake file, content = b''
Opening fake file, content = b''
Opening fake file, content = b'831_3'
Opening fake file, content = b'53_0'
Opening fake file, content = b'831_3'
Opening fake file, content = b'831_4'
Opening fake file, content = b'53_0'
Opening fake file, content = b''
Opening fake file, content = b'831_3'
Opening fake file, content = b'831_4'
Opening fake file, content = b'53_0'
Opening fake file, content = b''
Opening fake file, content = b'831_3'
Opening fake file, content = b'831_4'
Opening fake file, content = b'53_0'
Opening fake file, content = b''
Opening fake file, content = b'831_3'
Opening fake file, content = b'831_4'
Opening fake file, content = b'53_0'
Opening fake file, content = b''
Opening fake file, content = b'831_3'
Opening fake file, content = b'831_4'
Opening fake file, content = b'53_0'
Opening fake file, content = b''
Call [call(['iscsiadm', '-m', 'discoverydb', '-t', 'st', '-p', 'test-target:3260', '-I', 'default', '-o', 'new'], 'Discovery failed. Check target settings and username/password (if applicable)'),
 call(['iscsiadm', '-m', 'discoverydb', '-t', 'st', '-p', 'test-target:3260', '-I', 'default', '-o', 'update', '-n', 'discovery.sendtargets.auth.authmethod', '-v', 'CHAP', '-n', 'discovery.sendtargets.auth.username', '-v', 'chapuser', '-n', 'discovery.sendtargets.auth.password', '-v', 'chapppass'], 'Discovery failed. Check target settings and username/password (if applicable)'),
 call(['iscsiadm', '-m', 'discoverydb', '-t', 'st', '-p', 'test-target:3260', '-I', 'default', '--discover'], 'Discovery failed. Check target settings and username/password (if applicable)')]
Call [call(['iscsiadm', '-m', 'discovery', '-t', 'st', '-p', 'test-target:3260', '-I', 'default'], 'Discovery failed. Check target settings and username/password (if applicable)')]
6:SM: Generating key
<MagicMock name='json.dumps()' id='140248135760024'>
6:SM: Generated key, hash 85e0fb8f6c355256c6d2a8bb2d05aa6c2f0ac601c767697875efe87bc85ea38a
6:SM: Keystore path /tmp/keystore.json not found
Generated {'85e0fb8f6c355256c6d2a8bb2d05aa6c2f0ac601c767697875efe87bc85ea38a': 'mfdHUvWZMYbqcnGiu/qda5ChvTLAfVY5ikxXeMx3L5UngxMrhsiSi/LqGxNIRJhkcyYSPc912HtNbOBRzgQM+A=='}
{"key_hash": "85e0fb8f6c355256c6d2a8bb2d05aa6c2f0ac601c767697875efe87bc85ea38a"}
6:SM: No key hash set, cannot retrieve unknown key
6:SM: No key found in keystore for hash missing_hash, known hashes dict_keys([])
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/namespace
Recursively created directory /var/lock/sm/namespace
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/namespace
Recursively created directory /var/lock/sm/namespace
not exists /var/lock/sm/namespace
Recursively created directory /var/lock/sm/namespace
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
not exists /var/lock/sm/.nil
Recursively created directory /var/lock/sm/.nil
SM: 6: ['/usr/sbin/lvchange', '-ay', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume']
SM: 6:   pread SUCCESS
SM: 6: ['/usr/sbin/lvchange', '-ay', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume']
SM: 6:   pread SUCCESS
SM: 6: _checkActive: VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume does not exist!
SM: 6: _checkActive: symlink exists: False
SM: 6: ['/sbin/dmsetup', 'status', 'nStorage--b3b18d06--b2ba--5b67--f098--3cdd5087a2a7-volume']
SM: 6:   pread SUCCESS
SM: 6: _checkActive: nStorage--b3b18d06--b2ba--5b67--f098--3cdd5087a2a7-volume: b''
SM: 6: _checkActive: path /dev/mapper/nStorage--b3b18d06--b2ba--5b67--f098--3cdd5087a2a7-volume exists: False
lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '1', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '--addtag', 'hello', '-W', 'n'] None
lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None
lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None
lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None
lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None
lvremove ['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None
['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None
Exists /dev/disk/by-id/scsi-360a98000534b4f4e46704f5270674d70
Exists /builddir/build/BUILD/sm-3.2.3/drivers/XE_SR_ERRORCODES.xml
del mpath-3600a098038303973743f486833396d40
del multipathed
Asked to import SRCommand
Asked to import SR
Asked to import CephFSSR
Asked to import sm_typing
Asked to import errno
Asked to import os
Asked to import socket
Asked to import syslog
Asked to import xmlrpc.client
Asked to import syslog
Asked to import SR
Asked to import SRCommand
Asked to import FileSR
Asked to import VDI
Asked to import cleanup
Asked to import util
Asked to import vhdutil
Asked to import xs_errors
Asked to import lock
Asked to import EXTSR
Asked to import sm_typing
Asked to import SR
Asked to import SR
Asked to import VDI
Asked to import SRCommand
Asked to import FileSR
Asked to import util
Asked to import lvutil
Asked to import scsiutil
Asked to import os
Asked to import xs_errors
Asked to import vhdutil
Asked to import lock
Asked to import constants
Asked to import LargeBlockSR
Asked to import sm_typing
Asked to import SR
Asked to import SR
Asked to import SRCommand
Asked to import EXTSR
Asked to import util
Asked to import xs_errors
Asked to import os
Asked to import re
Asked to import lvutil
Asked to import GlusterFSSR
Asked to import sm_typing
Asked to import errno
Asked to import os
Asked to import syslog
Asked to import xmlrpc.clientok
test_is_open_lvm_success (test_on_slave.Test_on_slave_is_open) ... ok
test_is_open_nfssr_success (test_on_slave.Test_on_slave_is_open) ... ok
test_is_open_xapi_exception (test_on_slave.Test_on_slave_is_open) ... ok
test_multi_bad_operation (test_on_slave.Test_on_slave_multi) ... ok
test_multi_refresh_on_slaves (test_on_slave.Test_on_slave_multi) ... ok
test_multi_refresh_on_slaves_activate_error (test_on_slave.Test_on_slave_multi) ... ok
test_multi_refresh_on_slaves_deactivate_error (test_on_slave.Test_on_slave_multi) ... ok
test_multi_refresh_on_slaves_refresh_error (test_on_slave.Test_on_slave_multi) ... ok
test_multi_rename_deactivate_error (test_on_slave.Test_on_slave_multi) ... ok
test_multi_rename_refresh_error (test_on_slave.Test_on_slave_multi) ... ok
test_multi_undo_leaf_coalesce (test_on_slave.Test_on_slave_multi) ... ok
test_multi_update_slave_rename (test_on_slave.Test_on_slave_multi) ... ok
test_multi_vdi_inactive (test_on_slave.Test_on_slave_multi) ... ok
test_refresh_failed (test_on_slave.Test_on_slave_refresh_lun) ... ok
test_refresh_success (test_on_slave.Test_on_slave_refresh_lun) ... ok
test_get_whencalled_creates_namespace (test_refcounter.TestRefCounter) ... ok
test_get_whencalled_creates_refcounter_file (test_refcounter.TestRefCounter) ... ok
test_get_whencalled_refcounter_file_contents (test_refcounter.TestRefCounter) ... ok
test_get_whencalled_returns_counters (test_refcounter.TestRefCounter) ... ok
test_put_is_noop_if_already_zero (test_refcounter.TestRefCounter) ... ok
test_removeObject_ignores_if_directory_already_removed (test_refcounter.TestRefCounter) ... ok
test_removeObject_ignores_if_directory_not_empty (test_refcounter.TestRefCounter) ... ok
test_writeCount_returns_false_if_file_not_found (test_refcounter.TestRefCounter) ... ok
test_writeCount_returns_true_if_file_found (test_refcounter.TestRefCounter) ... ok
test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap) ... ok
test_refreshdev (test_scsiutil.Test_sg_readcap) ... ok
test_sg_readcap_10 (test_scsiutil.Test_sg_readcap) ... ok
test_sg_readcap_16 (test_scsiutil.Test_sg_readcap) ... ok
test_health_check_no_local_pbd (test_sr_health_check.TestSrHealthCheck) ... ok
test_health_check_no_srs (test_sr_health_check.TestSrHealthCheck) ... ok
test_health_check_run_sr_check (test_sr_health_check.TestSrHealthCheck) ... ok
test_health_check_sr_not_plugged (test_sr_health_check.TestSrHealthCheck) ... ok
test_CA383791 (test_srmetadata.TestLVMMetadataHandler) ... ok
test_addVdi (test_srmetadata.TestLVMMetadataHandler) ... ok
test_addVdi_reuses_deleted_slot (test_srmetadata.TestLVMMetadataHandler) ... ok
test_deleteVdiFromMetadata (test_srmetadata.TestLVMMetadataHandler) ... ok
test_deleteVdiFromMetadata_shinks_metadata (test_srmetadata.TestLVMMetadataHandler) ... ok
test_long_names_truncated (test_srmetadata.TestLVMMetadataHandler) ... ok
test_long_non_ascii_names_truncated (test_srmetadata.TestLVMMetadataHandler) ... ok
test_updateMetadata_SR (test_srmetadata.TestLVMMetadataHandler) ... ok
test_updateMetadata_VDI (test_srmetadata.TestLVMMetadataHandler) ... ok
test_writeMetadata_getMetadata_roundtrip (test_srmetadata.TestLVMMetadataHandler) ... ok
test_buildHeader_unpackHeader_roundTrip (test_srmetadata.TestSRMetadataFunctions) ... ok
test_buildXMLSector (test_srmetadata.TestSRMetadataFunctions) ... ok
test_getMetadataLength (test_srmetadata.TestSRMetadataFunctions) ... ok
test_unpackHeader (test_srmetadata.TestSRMetadataFunctions) ... ok
test_updateLengthInHeader_getMetadataLength_roundtrip (test_srmetadata.TestSRMetadataFunctions) ... ok
test_install_with_ext (test_storage_init.TestStorageInit) ... Initialising disk /dev/sda4...
* Erasing start of volume
Complete.
Initialising disk /dev/sdb...
* Erasing start of volume
Complete.
ok
test_install_with_lvm (test_storage_init.TestStorageInit) ... Initialising disk /dev/sda...
* Erasing start of volume
Complete.
ok
test_install_with_other_sr_type (test_storage_init.TestStorageInit) ... Initialising disk /dev/sda4...
* Erasing start of volume
Complete.
Initialising disk /dev/sdb...
* Erasing start of volume
Complete.
Initialising disk /dev/sdc...
* Erasing start of volume
Complete.
ok
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_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_stat_does_not_fail_with_existing_file (test_testlib.TestTestContext) ... ok
test_stat_nonexistent_file_throws_oserror (test_testlib.TestTestContext) ... ok
test_subprocess_execution (test_testlib.TestTestContext) ... ok
test_uname_default_kernel_version (test_testlib.TestTestContext) ... ok
test_uname_explicitly_defined (test_testlib.TestTestContext) ... ok
test_write_a_file (test_testlib.TestTestContext) ... ok
test_write_a_file_in_non_existing_dir (test_testlib.TestTestContext) ... ok
test_assertXML_doesn_t_care_about_spaces (test_testlib.TestXmlMixIn) ... ok
test_do_trim_blkdiscard_error_not_ioctl (test_trim_util.TestTrimUtil) ... ok
test_do_trim_creates_an_lv (test_trim_util.TestTrimUtil) ... ok
test_do_trim_error_code_trim_not_supported (test_trim_util.TestTrimUtil) ... ok
test_do_trim_ioctl_not_supported (test_trim_util.TestTrimUtil) ... ok
test_do_trim_lock_released_even_if_exception_raised (test_trim_util.TestTrimUtil) ... ok
test_do_trim_releases_lock (test_trim_util.TestTrimUtil) ... ok
test_do_trim_removes_lv_no_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok
test_do_trim_removes_lv_with_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok
test_do_trim_returns_exception_when_sr_full (test_trim_util.TestTrimUtil) ... ok
test_do_trim_sleeps_a_sec_and_retries_three_times (test_trim_util.TestTrimUtil) ... ok
test_do_trim_unable_to_obtain_lock_on_sr (test_trim_util.TestTrimUtil) ... ok
test_do_trim_when_exception_then_returns_generic_err (test_trim_util.TestTrimUtil) ... ok
test_do_trim_when_trim_succeeded_returns_true (test_trim_util.TestTrimUtil) ... ok
test_log_last_triggered_exc_logged (test_trim_util.TestTrimUtil) ... ok
test_log_last_triggered_has_key (test_trim_util.TestTrimUtil) ... ok
test_log_last_triggered_no_key (test_trim_util.TestTrimUtil) ... ok
test_vdi_succeeds_if_vdi_location_not_in_params_dictionary (test_udevSR.TestVdi) ... ok
test_activate_not_active (test_util.TestFistPoints) ... ok
test_activate_not_exit (test_util.TestFistPoints) ... ok
test_activate_unknown (test_util.TestFistPoints) ... ok
test_decr_iscsi_refcount_noref (test_util.TestUtil) ... ok
test_decr_iscsi_refcount_one_left (test_util.TestUtil) ... ok
test_decr_iscsi_refcount_to_zero (test_util.TestUtil) ... ok
test_find_running_process (test_util.TestUtil) ... ok
test_get_all_slaves_none (test_util.TestUtil) ... ok
test_get_all_slaves_one_offline (test_util.TestUtil) ... ok
test_get_all_slaves_one_online (test_util.TestUtil) ... ok
test_get_driver_info_no_atomic_pause (test_util.TestUtil) ... ok
test_get_fs_size (test_util.TestUtil) ... ok
test_get_fs_utilisation (test_util.TestUtil) ... ok
test_get_slaves_attached (test_util.TestUtil) ... ok
test_get_slaves_attached_on_master_only (test_util.TestUtil) ... ok
test_get_slaves_attached_on_none (test_util.TestUtil) ... ok
test_get_sr_capability (test_util.TestUtil) ... ok
test_get_sr_capability_none (test_util.TestUtil) ... ok
test_host_connect_failure (test_util.TestUtil) ... ok
test_host_dns_lookup_failure (test_util.TestUtil) ... ok
test_host_success (test_util.TestUtil) ... ok
test_incr_iscsi_refcount_already_present (test_util.TestUtil) ... ok
test_incr_iscsi_refcount_no_dir (test_util.TestUtil) ... ok
test_incr_iscsi_refcount_one_existing (test_util.TestUtil) ... ok
test_io_retry_retries_failure (test_util.TestUtil) ... ok
test_io_retry_retries_success (test_util.TestUtil) ... ok
test_io_return_not_handled_commandexception (test_util.TestUtil) ... ok
test_io_return_not_handled_oserror (test_util.TestUtil) ... ok
test_ioretry_stat_retries_failure (test_util.TestUtil) ... ok
test_ioretry_stat_retries_success (test_util.TestUtil) ... ok
test_ioretry_stat_success_no_retry (test_util.TestUtil) ... ok
test_iotry_success (test_util.TestUtil) ... ok
test_return_nil (test_util.TestUtil) ... ok
test_unictrunc (test_util.TestUtil) ... ok
test_zero_out_misaligned_blocks (test_util.TestUtil) ... ok
test_zero_out_small_block (test_util.TestUtil) ... ok
test_zero_out_two_aligned_blocks (test_util.TestUtil) ... ok
test_atomicFileWrite_exception (test_utils.TestCreate) ... ok
test_atomicFileWrite_normal (test_utils.TestCreate) ... ok
test_env_concatenated (test_utils.TestCreate) ... ok
test_calc_overhead_bitmap_extra_block (test_vhdutil.TestVhdUtil) ... ok
test_calc_overhead_bitmap_round_blocks (test_vhdutil.TestVhdUtil) ... ok
test_calc_overhead_empty_max (test_vhdutil.TestVhdUtil) ... ok
test_calc_overhead_empty_small (test_vhdutil.TestVhdUtil) ... ok
test_coalesce_no_sector_count (test_vhdutil.TestVhdUtil) ... ok
test_coalesce_with_sector_count (test_vhdutil.TestVhdUtil) ... ok
test_create_non_static (test_vhdutil.TestVhdUtil) ... ok
test_create_preallocate (test_vhdutil.TestVhdUtil) ... ok
test_create_static (test_vhdutil.TestVhdUtil) ... ok
test_get_allocated_size (test_vhdutil.TestVhdUtil) ... ok
test_get_block_bitmap (test_vhdutil.TestVhdUtil) ... ok
test_get_size_virt (test_vhdutil.TestVhdUtil) ... ok
test_get_vhd_info_allocated_size (test_vhdutil.TestVhdUtil) ... ok
test_set_size_virt (test_vhdutil.TestVhdUtil) ... ok
test_set_size_virt_fast (test_vhdutil.TestVhdUtil) ... ok
test_snapshot_nocheck_empty (test_vhdutil.TestVhdUtil) ... ok
test_snapshot_normal (test_vhdutil.TestVhdUtil) ... ok
test_snapshot_preallocate (test_vhdutil.TestVhdUtil) ... ok
test_snapshot_raw_parent (test_vhdutil.TestVhdUtil) ... ok
test_validate_and_round_max_size (test_vhdutil.TestVhdUtil) ... ok
test_validate_and_round_min_size (test_vhdutil.TestVhdUtil) ... ok
test_validate_and_round_negative (test_vhdutil.TestVhdUtil) ... ok
test_validate_and_round_odd_size_up_to_next_boundary (test_vhdutil.TestVhdUtil) ... ok
test_validate_and_round_too_large (test_vhdutil.TestVhdUtil) ... ok
test_without_xml_defs (test_xs_errors.TestXenError) ... ok
test_xml_defs (test_xs_errors.TestXenError) ... ok
----------------------------------------------------------------------
Ran 645 tests in 20.149s
OK
Asked to import syslog
Asked to import SR
Asked to import SRCommand
Asked to import FileSR
Asked to import VDI
Asked to import cleanup
Asked to import util
Asked to import vhdutil
Asked to import xs_errors
Asked to import lock
Asked to import LinstorSR
Asked to import sm_typing
Asked to import constants
Asked to import linstorjournaler
Asked to import linstorvhdutil
Asked to import linstorvolumemanager
Asked to import linstorvolumemanager
Asked to import linstorvolumemanager
Asked to import linstorvolumemanager
Asked to import linstorvolumemanager
Asked to import lock
Asked to import blktap2
Asked to import cleanup
Asked to import errno
Asked to import functools
Asked to import lvutil
Asked to import os
Asked to import re
Asked to import scsiutil
Asked to import signal
Asked to import socket
Asked to import SR
Asked to import SRCommand
Asked to import subprocess
Asked to import sys
Asked to import time
Asked to import traceback
Asked to import util
Asked to import VDI
Asked to import vhdutil
Asked to import xml.etree.ElementTree
Asked to import sys
Asked to import re
Asked to import warnings
Asked to import io
Asked to import collections
Asked to import contextlib
Asked to import 
Asked to import re
Asked to import _elementtree
Asked to import copy
Asked to import xml.etree.ElementPath
Asked to import pyexpat
Asked to import xmlrpc.client
Asked to import xs_errors
Asked to import srmetadata
Asked to import LVHDSR
Asked to import MooseFSSR
Asked to import NFSSR
Asked to import XFSSR
Asked to import sm_typing
Asked to import SR
Asked to import SR
Asked to import SRCommand
Asked to import VDI
Asked to import FileSR
Asked to import util
Asked to import lvutil
Asked to import scsiutil
Asked to import os
Asked to import xs_errors
Asked to import vhdutil
Asked to import lock
Asked to import constants
Asked to import ZFSSR
Asked to import blktap2
Asked to import SRCommand
Asked to import SR
Asked to import CephFSSR
Asked to import EXTSR
Asked to import LargeBlockSR
Asked to import GlusterFSSR
Asked to import LinstorSR
Asked to import LVHDSR
Asked to import MooseFSSR
Asked to import NFSSR
Asked to import XFSSR
Asked to import ZFSSR
Asked to import blktap2
Asked to import SRCommand
Asked to import SR
Asked to import CephFSSR
Asked to import EXTSR
Asked to import LargeBlockSR
Asked to import GlusterFSSR
Asked to import LinstorSR
Asked to import LVHDSR
Asked to import MooseFSSR
Asked to import NFSSR
Asked to import XFSSR
Asked to import ZFSSR
Asked to import blktap2
Asked to import on_slave
Asked to import on_slave
Asked to import SRCommand
Asked to import SR
Asked to import CephFSSR
Asked to import EXTSR
Asked to import LargeBlockSR
Asked to import GlusterFSSR
Asked to import LinstorSR
Asked to import LVHDSR
Asked to import MooseFSSR
Asked to import NFSSR
Asked to import XFSSR
Asked to import ZFSSR
Asked to import blktap2
Recursively created directory /var/run/sm/refcount
Recursively created directory /var/run/sm/refcount/somenamespace
Recursively created directory /var/run/sm/refcount
Recursively created directory /var/run/sm/refcount/somenamespace
Recursively created directory /var/run/sm/refcount
Recursively created directory /var/run/sm/refcount/somenamespace
Recursively created directory /var/run/sm/refcount
Recursively created directory /var/run/sm/refcount/somenamespace
Recursively created directory /var/run/sm/refcount
Recursively created directory /existing
not exists somefile
Recursively created directory /blah/subdir
Recursively created directory /some/path
Recursively created directory /blah/subdir
Recursively created directory /blah/subdir
Recursively created directory /existing_dir/somefile
Recursively created directory /existing_dir
no glob /existing_dir/*
not exists /existing_dir
Recursively created directory /existingstuff
not exists /nonexistingstuff
Recursively created directory /blah/subdir
not exists /builddir/build/BUILD/sm-3.2.3/drivers/trim_util.py
Test coverage
Name                              Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------------------------------
tests/lvmlib.py                      96      0     20      0   100%
tests/shared_iscsi_test_base.py      36      0      2      0   100%
tests/test_BaseISCSI.py              74      0      2      0   100%
tests/test_FileSR.py                446      0      6      0   100%
tests/test_HBASR.py                 157      0      2      0   100%
tests/test_ISCSISR.py               121      0      2      0   100%
tests/test_ISOSR.py                 394      0     22      0   100%
tests/test_LVHDSR.py                241      0     26      0   100%
tests/test_LVHDoFCoESR.py            62      0      0      0   100%
tests/test_LVHDoHBASR.py             94      0      0      0   100%
tests/test_LVHDoISCSISR.py          136      0      6      0   100%
tests/test_MooseFSSR.py              42      0      0      0   100%
tests/test_NFSSR.py                 164      0      6      0   100%
tests/test_SMBSR.py                 224      0     12      0   100%
tests/test_SR.py                     50      0      4      0   100%
tests/test_SRCommand.py              66      0      6      0   100%
tests/test_ZFSSR.py                  78      0      0      0   100%
tests/test_blktap2.py               517      0      0      0   100%
tests/test_cbt.py                   542      0      6      0   100%
tests/test_cbtutil.py                30      0      0      0   100%
tests/test_cifutils.py              160      0      0      0   100%
tests/test_cleanup.py               931      0     26      0   100%
tests/test_devscan.py                67      0      0      0   100%
tests/test_fairlock.py               63      0      0      0   100%
tests/test_fjournaler.py             96      0      4      0   100%
tests/test_iscsilib.py               39      0      0      0   100%
tests/test_keymanagerutil.py         66      0     10      0   100%
tests/test_lock.py                  112      0      2      0   100%
tests/test_lock_queue.py             53      0      2      0   100%
tests/test_lvmlib.py                110      0      0      0   100%
tests/test_lvutil.py                231      0      4      0   100%
tests/test_mpath_dmp.py             203      0      2      0   100%
tests/test_mpathcount.py            114      0      4      0   100%
tests/test_nfs.py                   118      0      8      0   100%
tests/test_on_slave.py              201      0      2      0   100%
tests/test_refcounter.py             53      0      0      0   100%
tests/test_scsiutil.py               25      0      0      0   100%
tests/test_sr_health_check.py        51      0      0      0   100%
tests/test_srmetadata.py            253      0     14      0   100%
tests/test_storage_init.py          154      0     10      0   100%
tests/test_testlib.py               193      0      4      0   100%
tests/test_trim_util.py             175      0      0      0   100%
tests/test_udevSR.py                 16      0      0      0   100%
tests/test_util.py                  435      0      8      0   100%
tests/test_utils.py                  57      0      0      0   100%
tests/test_vhdutil.py               158      0      0      0   100%
tests/test_xs_errors.py              13      0      0      0   100%
tests/testlib.py                    286      0     94      0   100%
-----------------------------------------------------------------------------
TOTAL                              8003      0    316      0   100%
Code coverage
Name                                Stmts   Miss Branch BrPart  Cover
---------------------------------------------------------------------
drivers/BaseISCSI.py                  576    327    233     37    39%
drivers/CephFSSR.py                   202    147     64      1    21%
drivers/DummySR.py                    219    155     38      1    25%
drivers/EXTSR.py                      139     96     36      1    25%
drivers/FileSR.py                     802    325    318     60    56%
drivers/GlusterFSSR.py                191    137     62      1    22%
drivers/HBASR.py                      218     83     48      2    57%
drivers/ISOSR.py                      463    230    192     22    47%
drivers/LUNperVDI.py                  112     81     34      2    23%
drivers/LVHDSR.py                    1418    715    555    103    45%
drivers/LVHDoFCoESR.py                 48      9     12      2    72%
drivers/LVHDoHBASR.py                 181    106     52      3    35%
drivers/LVHDoISCSISR.py               421    248    138     20    40%
drivers/LargeBlockSR.py               168    121     52      1    22%
drivers/LinstorSR.py                 1442   1268    550      1     9%
drivers/MooseFSSR.py                  206    119     72     12    36%
drivers/NFSSR.py                      222     82     65     15    59%
drivers/RawISCSISR.py                  35     35      4      0     0%
drivers/SHMSR.py                       88     88     14      0     0%
drivers/SMBSR.py                      223     80     76     13    62%
drivers/SR.py                         327    134     90     17    56%
drivers/SRCommand.py                  244    138    130     34    40%
drivers/VDI.py                        454    111    153     21    71%
drivers/XFSSR.py                      149    104     40      1    24%
drivers/ZFSSR.py                       61     16     12      1    68%
drivers/blktap2.py                   1925   1065    476     48    41%
drivers/cbtutil.py                     48     13      4      0    75%
drivers/cifutils.py                    54      0     20      3    96%
drivers/cleanup.py                   2869   1828   1004     46    32%
drivers/constants.py                    4      0      0      0   100%
drivers/devscan.py                    309    120    114     23    57%
drivers/fcoelib.py                     40     29     14      1    22%
drivers/fjournaler.py                  55      5     18      1    89%
drivers/flock.py                       64     18     10      2    65%
drivers/ipc.py                         74     59     18      1    17%
drivers/iscsilib.py                   359    227    108      8    36%
drivers/journaler.py                  171    139     66      3    15%
drivers/lcache.py                     229    229     54      0     0%
drivers/linstorjournaler.py            81     58     18      0    23%
drivers/linstorvhdutil.py             314    233     66      0    21%
drivers/linstorvolumemanager.py      1429   1234    556      0    10%
drivers/lock.py                       155     34     54     14    73%
drivers/lock_queue.py                  72      8     10      4    85%
drivers/lvhdutil.py                   240    174     72      5    23%
drivers/lvmanager.py                   82     37     28      4    52%
drivers/lvmcache.py                   211    158     50      1    21%
drivers/lvutil.py                     508    257    134      9    48%
drivers/metadata.py                    87     43     20      2    54%
drivers/mpath_cli.py                   79     53     14      0    28%
drivers/mpath_dmp.py                  141     12     62      7    90%
drivers/mpath_null.py                  11      3      0      0    73%
drivers/mpathcount.py                 191     74     62      8    62%
drivers/mpathutil.py                   35     35     16      0     0%
drivers/nfs.py                        220     84     67      8    62%
drivers/on_slave.py                   106      9     26      3    89%
drivers/plugins/__init__.py            32     14     10      0    52%
drivers/plugins/keymanagerutil.py     170     57     54     10    61%
drivers/pluginutil.py                  18     18      2      0     0%
drivers/refcounter.py                 406    143    168     62    64%
drivers/resetvdis.py                  125    117     54      1     5%
drivers/scsi_host_rescan.py            59     59     10      0     0%
drivers/scsiutil.py                   467    316    158     14    29%
drivers/sr_health_check.py             28      4     12      1    88%
drivers/srmetadata.py                 434     86    110     14    80%
drivers/sysdevice.py                   64     57     20      0     8%
drivers/trim_util.py                   96      0     22      0   100%
drivers/udevSR.py                     137     70     28      2    42%
drivers/util.py                      1342    709    477     49    44%
drivers/verifyVHDsOnSR.py              79     79     28      0     0%
drivers/vhdutil.py                    299    151     92      6    44%
drivers/wwid_conf.py                   93     76     32      1    14%
drivers/xs_errors.py                   49      1     18      2    96%
misc/fairlock/fairlock.py              55      1     10      1    97%
---------------------------------------------------------------------
TOTAL                               22725  13151   7506    735    39%
+ cp .coverage /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
+ cp coverage.xml /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
+ cp -r htmlcov /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/htmlcov
+ exit 0
Processing files: sm-3.2.3-1.15.xcpng8.3.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bIhtut
+ umask 022
+ cd /builddir/build/BUILD
+ cd sm-3.2.3
+ DOCDIR=/builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ cp -pr CONTRIB /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ cp -pr LICENSE /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ cp -pr MAINTAINERS /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ cp -pr README.md /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64/usr/share/doc/sm-3.2.3
+ exit 0
Provides: config(sm) = 3.2.3-1.15.xcpng8.3 sm = 3.2.3-1.15.xcpng8.3 sm(x86-64) = 3.2.3-1.15.xcpng8.3
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires(post): /bin/sh systemd xenserver-multipath xs-presets >= 1.3
Requires(preun): /bin/sh systemd xs-presets >= 1.3
Requires(postun): /bin/sh systemd xs-presets >= 1.3
Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/python3 libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) python(abi) = 3.6 rtld(GNU_HASH)
Conflicts: kernel < 4.19.19-5.0.0
Obsoletes: lvm2-sm-config <= 7:2.02.180-15.xs8 sm-additional-drivers
Processing files: sm-debuginfo-3.2.3-1.15.xcpng8.3.x86_64
Provides: sm-debuginfo = 3.2.3-1.15.xcpng8.3 sm-debuginfo(x86-64) = 3.2.3-1.15.xcpng8.3
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Processing files: sm-testresults-3.2.3-1.15.xcpng8.3.x86_64
Provides: sm-testresults = 3.2.3-1.15.xcpng8.3 sm-testresults(x86-64) = 3.2.3-1.15.xcpng8.3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: sm-test-plugins-3.2.3-1.15.xcpng8.3.x86_64
Provides: sm-test-plugins = 3.2.3-1.15.xcpng8.3 sm-test-plugins(x86-64) = 3.2.3-1.15.xcpng8.3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3
Processing files: sm-fairlock-3.2.3-1.15.xcpng8.3.x86_64
Provides: sm-fairlock = 3.2.3-1.15.xcpng8.3 sm-fairlock(x86-64) = 3.2.3-1.15.xcpng8.3
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) python(abi) = 3.6 rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
Wrote: /builddir/build/RPMS/sm-3.2.3-1.15.xcpng8.3.x86_64.rpm
Wrote: /builddir/build/RPMS/sm-debuginfo-3.2.3-1.15.xcpng8.3.x86_64.rpm
Wrote: /builddir/build/RPMS/sm-testresults-3.2.3-1.15.xcpng8.3.x86_64.rpm
Wrote: /builddir/build/RPMS/sm-test-plugins-3.2.3-1.15.xcpng8.3.x86_64.rpm
Wrote: /builddir/build/RPMS/sm-fairlock-3.2.3-1.15.xcpng8.3.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.baNV2M
+ umask 022
+ cd /builddir/build/BUILD
+ cd sm-3.2.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/sm-3.2.3-1.15.xcpng8.3.x86_64
+ exit 0
Child return code was: 0