Mock Version: 6.6 Mock Version: 6.6 Mock Version: 6.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v9.0-u-ydi1-11400-29709/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7ab489350d6f4ed69362c1691b35c1c4', '-D', '/var/lib/mock/v9.0-u-ydi1-11400-29709/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers Building target platforms: x86_64_v2 Building for target x86_64_v2 setting SOURCE_DATE_EPOCH=1774483200 Wrote: /builddir/build/SRPMS/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.src.rpm RPM build warnings: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v9.0-u-ydi1-11400-29709/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e6e1c76816074ce98ee147f8e0429c45', '-D', '/var/lib/mock/v9.0-u-ydi1-11400-29709/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers warning: Macro expanded in comment on line 279: %{_unitdir}/linstor-monitor.service warning: Macro expanded in comment on line 280: %{python3_sitelib}/__pycache__/sm_typing*pyc warning: Macro expanded in comment on line 281: %{python3_sitelib}/sm_typing.py Building target platforms: x86_64_v2 Building for target x86_64_v2 setting SOURCE_DATE_EPOCH=1774483200 Wrote: /builddir/build/SRPMS/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.src.rpm RPM build warnings: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers Macro expanded in comment on line 279: %{_unitdir}/linstor-monitor.service Macro expanded in comment on line 280: %{python3_sitelib}/__pycache__/sm_typing*pyc Macro expanded in comment on line 281: %{python3_sitelib}/sm_typing.py Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v9.0-u-ydi1-11400-29709/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f1347db222304309a342bb6f9c3dc2cf', '-D', '/var/lib/mock/v9.0-u-ydi1-11400-29709/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nlrcivcf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64_v2 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers warning: Macro expanded in comment on line 279: %{_unitdir}/linstor-monitor.service warning: Macro expanded in comment on line 280: %{python3_sitelib}/__pycache__/sm_typing*pyc warning: Macro expanded in comment on line 281: %{python3_sitelib}/sm_typing.py Building target platforms: x86_64_v2 Building for target x86_64_v2 setting SOURCE_DATE_EPOCH=1774483200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JllqUU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-4.1.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sm-4.1.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-4.1.12 + rm -rf /builddir/build/BUILD/sm-4.1.12-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sm-4.1.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Install-relative-symlinks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NHhufQ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sm-4.1.12 + make make -C dcopy make[1]: Entering directory '/builddir/build/BUILD/sm-4.1.12/dcopy' gcc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -g -Wall dcopy.c atomicio.c -o dcopy gcc -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-4.1.12/dcopy' + make -C misc/fairlock make: Entering directory '/builddir/build/BUILD/sm-4.1.12/misc/fairlock' gcc -c -o fairlock.o fairlock.c -I. gcc -o fairlock fairlock.o -I. make: Leaving directory '/builddir/build/BUILD/sm-4.1.12/misc/fairlock' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BMYN6c + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sm-4.1.12 + make -C misc/fairlock install DESTDIR=/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 make: Entering directory '/builddir/build/BUILD/sm-4.1.12/misc/fairlock' install -D -m 755 fairlock /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/fairlock install -D -m 644 fairlock@.service /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/systemd/system/fairlock@.service install -D -m 644 fairlock.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/fairlock.py python3 -m compileall /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/fairlock.py Compiling '/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/fairlock.py'... make: Leaving directory '/builddir/build/BUILD/sm-4.1.12/misc/fairlock' + make install DESTDIR=/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 make -C dcopy make[1]: Entering directory '/builddir/build/BUILD/sm-4.1.12/dcopy' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/sm-4.1.12/dcopy' PYTHONPATH=./drivers:./libs:./misc/fairlock:$PYTHONPATH /usr/bin/pylint-3 --rcfile=tests/pylintrc libs/sm/BaseISCSI.py libs/sm/blktap2.py libs/sm/cbtutil.py libs/sm/cifutils.py libs/sm/cleanup.py libs/sm/constants.py libs/sm/devscan.py libs/sm/fjournaler.py libs/sm/ipc.py libs/sm/journaler.py libs/sm/lcache.py libs/sm/lock_queue.py libs/sm/LUNperVDI.py libs/sm/lvhdutil.py libs/sm/lvmanager.py libs/sm/lvmcache.py libs/sm/lvutil.py libs/sm/metadata.py libs/sm/mpathcount.py libs/sm/nfs.py libs/sm/on_slave.py libs/sm/pluginutil.py libs/sm/refcounter.py libs/sm/resetvdis.py libs/sm/SR.py libs/sm/SRCommand.py libs/sm/sr_health_check.py libs/sm/srmetadata.py libs/sm/sysdevice.py libs/sm/trim_util.py libs/sm/VDI.py libs/sm/vhdutil.py libs/sm/__init__.py libs/sm/core/util.py libs/sm/core/scsiutil.py libs/sm/core/mpath_dmp.py libs/sm/core/mpath_cli.py libs/sm/core/mpath_null.py libs/sm/core/xs_errors.py libs/sm/core/iscsi.py libs/sm/core/wwid_conf.py libs/sm/core/lock.py libs/sm/core/flock.py libs/sm/core/f_exceptions.py libs/sm/core/libiscsi.py libs/sm/core/__init__.py libs/sm/drivers/DummySR.py libs/sm/drivers/EXTSR.py libs/sm/drivers/FileSR.py libs/sm/drivers/HBASR.py libs/sm/drivers/ISOSR.py libs/sm/drivers/LVHDoHBASR.py libs/sm/drivers/LVHDoISCSISR.py libs/sm/drivers/LVHDSR.py libs/sm/drivers/NFSSR.py libs/sm/drivers/RawISCSISR.py libs/sm/drivers/SMBSR.py libs/sm/drivers/udevSR.py libs/sm/drivers/__init__.py drivers/DummySR drivers/EXTSR drivers/FileSR drivers/HBASR drivers/ISOSR drivers/LVHDoHBASR drivers/LVHDoISCSISR drivers/LVHDSR drivers/LVMoHBASR drivers/LVMoISCSISR drivers/LVMSR drivers/NFSSR drivers/RawISCSISR drivers/SMBSR drivers/udevSR utils/cleanup utils/lvhdutil utils/mpathcount utils/resetvdis utils/sr_health_check utils/verifyVHDsOnSR utils/scsi_host_rescan.py utils/blktap2 utils/tapdisk-cache-stats utils/keymanagerutil compat-libs/util.py compat-libs/scsiutil.py compat-libs/mpath_dmp.py compat-libs/mpath_cli.py compat-libs/xs_errors.py compat-libs/iscsilib.py compat-libs/wwid_conf.py compat-libs/lock.py compat-libs/flock.py compat-libs/mpath_null.py compat-libs/SR.py compat-libs/SRCommand.py compat-libs/VDI.py compat-libs/BaseISCSI.py compat-libs/lvutil.py compat-libs/lvmcache.py compat-libs/vhdutil.py compat-libs/lvhdutil.py compat-libs/cifutils.py compat-libs/nfs.py compat-libs/devscan.py compat-libs/sysdevice.py compat-libs/LUNperVDI.py compat-libs/refcounter.py compat-libs/journaler.py compat-libs/fjournaler.py compat-libs/lock_queue.py compat-libs/ipc.py compat-libs/srmetadata.py compat-libs/metadata.py compat-libs/lvmanager.py compat-libs/trim_util.py compat-libs/pluginutil.py compat-libs/constants.py compat-libs/cbtutil.py ------------------------------------ Your code has been rated at 10.00/10 echo "Precheck succeeded with no outstanding issues found." Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/multipath/conf.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/libexec/ mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/sbin # SM libs mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/python3.12/site-packages/sm install -D -m 644 libs/sm/__init__.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/__init__.py for i in libs/sm/BaseISCSI.py libs/sm/blktap2.py libs/sm/cbtutil.py libs/sm/cifutils.py libs/sm/cleanup.py libs/sm/constants.py libs/sm/devscan.py libs/sm/fjournaler.py libs/sm/ipc.py libs/sm/journaler.py libs/sm/lcache.py libs/sm/lock_queue.py libs/sm/LUNperVDI.py libs/sm/lvhdutil.py libs/sm/lvmanager.py libs/sm/lvmcache.py libs/sm/lvutil.py libs/sm/metadata.py libs/sm/mpathcount.py libs/sm/nfs.py libs/sm/on_slave.py libs/sm/pluginutil.py libs/sm/refcounter.py libs/sm/resetvdis.py libs/sm/SR.py libs/sm/SRCommand.py libs/sm/sr_health_check.py libs/sm/srmetadata.py libs/sm/sysdevice.py libs/sm/trim_util.py libs/sm/VDI.py libs/sm/vhdutil.py libs/sm/__init__.py; do \ install -D -m 644 $i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/; \ done # Core libs mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/python3.12/site-packages/sm/core install -D -m 644 libs/sm/core/__init__.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/core/__init__.py for i in util scsiutil mpath_dmp mpath_cli mpath_null xs_errors iscsi wwid_conf lock flock f_exceptions libiscsi; do \ install -D -m 644 libs/sm/core/$i.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/core/; \ done # Driver libs mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/python3.12/site-packages/sm/drivers install -D -m 644 libs/sm/drivers/__init__.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/drivers/__init__.py for i in DummySR EXTSR FileSR HBASR ISOSR LVHDoHBASR LVHDoISCSISR LVHDSR NFSSR RawISCSISR SMBSR udevSR; do \ install -D -m 644 libs/sm/drivers/$i.py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12/site-packages/sm/drivers/; \ done # Data files (primarily XML error definitions) mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/sm/ for i in XE_SR_ERRORCODES; do \ install -D -m 644 libs/sm/core/$i.xml /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/sm//; \ done # Legacy SM python files for i in compat-libs/util.py compat-libs/scsiutil.py compat-libs/mpath_dmp.py compat-libs/mpath_cli.py compat-libs/xs_errors.py compat-libs/iscsilib.py compat-libs/wwid_conf.py compat-libs/lock.py compat-libs/flock.py compat-libs/mpath_null.py compat-libs/SR.py compat-libs/SRCommand.py compat-libs/VDI.py compat-libs/BaseISCSI.py compat-libs/lvutil.py compat-libs/lvmcache.py compat-libs/vhdutil.py compat-libs/lvhdutil.py compat-libs/cifutils.py compat-libs/nfs.py compat-libs/devscan.py compat-libs/sysdevice.py compat-libs/LUNperVDI.py compat-libs/refcounter.py compat-libs/journaler.py compat-libs/fjournaler.py compat-libs/lock_queue.py compat-libs/ipc.py compat-libs/srmetadata.py compat-libs/metadata.py compat-libs/lvmanager.py compat-libs/trim_util.py compat-libs/pluginutil.py compat-libs/constants.py compat-libs/cbtutil.py ; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm/; \ done # Plugin utilities for i in keymanagerutil; do \ install -D -m 755 utils/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/libexec/sm/$i; \ ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm/plugins/$i".py"; \ done # Actual plugins (and plugin libraries) for i in __init__.py keymanagerutil.py; do \ install -D -m 755 libs/sm/plugins/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/python3.12/site-packages/sm/plugins/$i; \ done install -m 644 multipath/custom.conf \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//etc/multipath/conf.d/ install -m 755 multipath/multipath-root-setup \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/libexec/sm//multipath-root-setup install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//etc/logrotate.d/ install -m 644 etc/make-dummy-sr.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/xs-sm.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sm-mpath-root.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/usb-scan.* \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/mpathcount.* \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/storage-init.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sr_health_check.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sr_health_check.timer \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ install -m 644 systemd/SMGC@.service \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/lib/systemd/system/ for i in 65-multipath 55-xs-mpath-scsidev 57-usb 58-xapi 99-purestorage; do \ install -m 644 udev/$i.rules \ /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/udev/rules.d/; done # Install SR drivers with symlinks from the legacy location for i in DummySR EXTSR FileSR HBASR ISOSR LVHDoHBASR LVHDoISCSISR LVHDSR LVMoHBASR LVMoISCSISR LVMSR NFSSR RawISCSISR SMBSR udevSR; do \ install -D -m 755 drivers/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64//usr/libexec/sm//drivers/$i; \ ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/drivers/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm//$i; \ done # Install legacy SR drivers cd /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm/ && for i in ; do \ ln -sf $i"SR.py" $i"SR"; \ done install -m 755 scripts/02-vhdcleanup /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xensource/master.d/ for i in lvhd-thin on-slave testing-hooks coalesce-leaf nfs-on-slave tapdisk-pause intellicache-clean trim; do \ install -D -m 755 scripts/plugins/$i /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xapi.d/plugins//$i; \ done # Install libexec scripts with symlinks from the legacy location for s in local-device-change check-device-sharing usb_change kickpipe set-iscsi-initiator make-dummy-sr storage-init; do \ install -m 755 scripts/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm//$s; \ ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/libexec//$s; \ done # Install libexec commands with symlinks from the legacy location for s in cleanup lvhdutil mpathcount resetvdis sr_health_check verifyVHDsOnSR; do \ install -m 755 utils/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm//$s; \ ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm//"$s".py; \ done # Install libexec extras with symlinks from the legacy location for s in scsi_host_rescan; do \ install -D -m 755 utils/"$s".py /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm//xtra/$s; \ ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/xtra/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/sm//"$s".py; \ done mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xapi.d/xapi-pre-shutdown for s in stop_all_gc; do \ install -m 755 scripts/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/xapi.d/xapi-pre-shutdown/$s; \ done for s in xs-mpath-scsidev.sh; do \ install -m 755 scripts/$s /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/etc/udev/scripts//$s; \ done # Install blktap2 and compatibility symlinks install -D -m 755 utils/blktap2 /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/bin//blktap2 ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/bin/blktap2 /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/bin//blktap2 # Install tapdisk-cache-stats and compatibility symlinks install -D -m 755 utils/tapdisk-cache-stats /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/bin//tapdisk-cache-stats ln -sfr /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/bin/tapdisk-cache-stats /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/bin//tapdisk-cache-stats make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 make[1]: Entering directory '/builddir/build/BUILD/sm-4.1.12/dcopy' install -D -m 755 dcopy /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/debug/dcopy mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/libexec ln -sf /usr/libexec/sm/debug/dcopy /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/libexec/dcopy install -D -m 755 tp /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/sm/debug/tp mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/debug ln -sf /usr/libexec/sm/debug/tp /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/opt/xensource/debug/tp make[1]: Leaving directory '/builddir/build/BUILD/sm-4.1.12/dcopy' + mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/sm/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 --unique-debug-suffix -4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 --unique-debug-src-base sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/sm-4.1.12 find-debuginfo: starting Extracting debug info from 3 files Error while writing index for `/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/fairlock': No debugging symbols gdb-add-index: No index was created for /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/libexec/fairlock gdb-add-index: [Was there no debuginfo? Was there already an index?] DWARF-compressing 3 files sepdebugcrcfix: Updated 2 CRC32s, 1 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib/python3.12/site-packages/sm/plugins/__init__.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/util.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/scsiutil.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/mpath_dmp.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/mpath_cli.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/xs_errors.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/iscsilib.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/wwid_conf.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/lock.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/flock.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/mpath_null.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/SR.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/SRCommand.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/VDI.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/BaseISCSI.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/lvutil.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/lvmcache.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/vhdutil.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/cifutils.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/nfs.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/devscan.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/sysdevice.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/LUNperVDI.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/refcounter.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/journaler.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/fjournaler.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/lock_queue.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/ipc.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/srmetadata.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/metadata.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/lvmanager.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/trim_util.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/pluginutil.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/constants.py is executable but has no shebang, removing executable bit *** WARNING: ./opt/xensource/sm/cbtutil.py is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/lib/python3.12 using python3.12 /usr/lib/python3.12/site-packages/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' /usr/lib/python3.12/site-packages/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' /usr/lib/python3.12/site-packages/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' /usr/lib/python3.12/site-packages/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' /usr/lib/python3.12/site-packages/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' /usr/lib/python3.12/site-packages/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' /usr/lib/python3.12/site-packages/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.12/site-packages/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.urxheg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sm-4.1.12 + tests/run_python_unittests.sh /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' m = re.match("\D+(\d+)", partition) /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' numlen = len(re.match("\d+", partition[::-1]).group(0)) + 1 /builddir/build/BUILD/sm-4.1.12/libs/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' m = re.match(".*Disk type\s+: (\S+) hard disk.*", ret, flags=re.S) /builddir/build/BUILD/sm-4.1.12/libs/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' "(\). {} were given." /builddir/build/BUILD/sm-4.1.12/tests/test_SMBSR.py:139: SyntaxWarning: invalid escape sequence '\j' smbsr = self.create_smbsr(username="citrix\jsmith", dconf_update={"password": "winter2019"}) /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:47: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"cifspassword": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:57: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"password": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:93: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:107: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:119: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:124: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:130: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:135: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") . ---------------------------------------------------------------------- Ran 1 test in 0.014s OK /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:363: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:373: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) test_attach_tgt_present_path_found (test_BaseISCSI.TestBaseISCSI.test_attach_tgt_present_path_found) ... ok test_attach_tgt_present_path_not_found (test_BaseISCSI.TestBaseISCSI.test_attach_tgt_present_path_not_found) ... ok test_sr_attach_multi_session (test_BaseISCSI.TestBaseISCSI.test_sr_attach_multi_session) ... ok test_attach_can_do_non_bind_mount (test_FileSR.TestFileSR.test_attach_can_do_non_bind_mount) ... ok test_attach_does_nothing_if_already_mounted (test_FileSR.TestFileSR.test_attach_does_nothing_if_already_mounted) ... ok test_attach_will_bind_mount_by_default (test_FileSR.TestFileSR.test_attach_will_bind_mount_by_default) ... ok test_attach_will_chmod_the_mount_point (test_FileSR.TestFileSR.test_attach_will_chmod_the_mount_point) ... ok test_attach_will_ignore_mkdir_error_if_dir_already_exists (test_FileSR.TestFileSR.test_attach_will_ignore_mkdir_error_if_dir_already_exists) ... ok test_attach_will_mkdir_with_closed_mode (test_FileSR.TestFileSR.test_attach_will_mkdir_with_closed_mode) ... ok test_attach_will_mount_if_not_already_mounted (test_FileSR.TestFileSR.test_attach_will_mount_if_not_already_mounted) ... ok test_attach_will_rethrow_any_oserrors_on_mkdir (test_FileSR.TestFileSR.test_attach_will_rethrow_any_oserrors_on_mkdir) ... ok test_attach_will_rethrow_any_oserrors_on_mount (test_FileSR.TestFileSR.test_attach_will_rethrow_any_oserrors_on_mount) ... ok test_clone_no_links_success (test_FileSR.TestFileVDI.test_clone_no_links_success) ... ok test_clone_nospace_snap_1 (test_FileSR.TestFileVDI.test_clone_nospace_snap_1) ... ok test_clone_nospace_snap_2 (test_FileSR.TestFileVDI.test_clone_nospace_snap_2) ... ok test_clone_success (test_FileSR.TestFileVDI.test_clone_success) ... ok test_create_vdi_raw (test_FileSR.TestFileVDI.test_create_vdi_raw) ... ok test_create_vdi_vhd (test_FileSR.TestFileVDI.test_create_vdi_vhd) ... ok test_find_not_found (test_FileSR.TestFileVDI.test_find_not_found) ... ok test_find_raw_path (test_FileSR.TestFileVDI.test_find_raw_path) ... ok test_find_retry_vhd_path (test_FileSR.TestFileVDI.test_find_retry_vhd_path) ... ok test_find_vhd_path (test_FileSR.TestFileVDI.test_find_vhd_path) ... ok test_vdi_generate_config (test_FileSR.TestFileVDI.test_vdi_generate_config) ... ok test_vdi_load_vhd (test_FileSR.TestFileVDI.test_vdi_load_vhd) ... ok test_attach_fist_active (test_FileSR.TestShareFileSR.test_attach_fist_active) Attach SR with FIST point active to set no hardlinks ... ok test_attach_link_fail (test_FileSR.TestShareFileSR.test_attach_link_fail) Attach SR on FS with no hardlinks ... ok test_attach_not_writable (test_FileSR.TestShareFileSR.test_attach_not_writable) ... ok test_attach_success (test_FileSR.TestShareFileSR.test_attach_success) Attach SR on FS with expected features ... ok test_scan_load_vdis_scan_list_differ (test_FileSR.TestShareFileSR.test_scan_load_vdis_scan_list_differ) Load the SR VDIs ... ok test__init_hbadict (test_HBASR.TestHBASR.test__init_hbadict) ... ok test__init_hbahostname (test_HBASR.TestHBASR.test__init_hbahostname) ... ok test__init_hbahostname_assert (test_HBASR.TestHBASR.test__init_hbahostname_assert) ... ok test__init_hbas (test_HBASR.TestHBASR.test__init_hbas) ... ok test__init_hbas_assert (test_HBASR.TestHBASR.test__init_hbas_assert) ... ok test__intit_bhadict_already_init (test_HBASR.TestHBASR.test__intit_bhadict_already_init) ... ok test__probe_hba (test_HBASR.TestHBASR.test__probe_hba) ... ok test__probe_hba_assert (test_HBASR.TestHBASR.test__probe_hba_assert) ... ok test_attach (test_HBASR.TestHBASR.test_attach) ... ok test_handles (test_HBASR.TestHBASR.test_handles) ... ok test_load (test_HBASR.TestHBASR.test_load) ... ok test_default_value (test_ISCSISR.TestForceTapDiskConfig.test_default_value) ... ok test_set_to_true (test_ISCSISR.TestForceTapDiskConfig.test_set_to_true) ... ok test_load_assert_utf_8_chap_credencials (test_ISCSISR.TestISCSISR.test_load_assert_utf_8_chap_credencials) Asserts that CHAP credentials are always encoded in UTF-8. ... ok test_initPaths_active_path_detection (test_ISCSISR.TestMultiLUNISCSISR.test_initPaths_active_path_detection) ... ok test_initPaths_actual_path_is_active (test_ISCSISR.TestMultiLUNISCSISR.test_initPaths_actual_path_is_active) ... ok test_default_vdi_type (test_ISCSISR.TestVdiTypeSetting.test_default_vdi_type) ... ok test_vdi_type_modified_by_force_tapdisk (test_ISCSISR.TestVdiTypeSetting.test_vdi_type_modified_by_force_tapdisk) ... ok test_is_consistent_utf8_filename (test_ISOSR.TestISOSR_functions.test_is_consistent_utf8_filename) ... ok test_list_images (test_ISOSR.TestISOSR_functions.test_list_images) ... ok test_list_images_filters_non_ascii_names (test_ISOSR.TestISOSR_functions.test_list_images_filters_non_ascii_names) ... ok test_list_images_filters_non_utf8_names (test_ISOSR.TestISOSR_functions.test_list_images_filters_non_utf8_names) ... ok test_list_images_reports_problem_filenames (test_ISOSR.TestISOSR_functions.test_list_images_reports_problem_filenames) ... ok test_attach_nfs (test_ISOSR.TestISOSR_overNFS.test_attach_nfs) ... ok test_attach_nfs_ipv6 (test_ISOSR.TestISOSR_overNFS.test_attach_nfs_ipv6) ... ok test_attach_nfs_no_server (test_ISOSR.TestISOSR_overNFS.test_attach_nfs_no_server) ... ok test_attach_nfs_wrong_version (test_ISOSR.TestISOSR_overNFS.test_attach_nfs_wrong_version) ... ok test_load (test_ISOSR.TestISOSR_overNFS.test_load) ... ok test_load_validate_nfsversion_called (test_ISOSR.TestISOSR_overNFS.test_load_validate_nfsversion_called) ... ok test_load_validate_nfsversion_exceptionraised (test_ISOSR.TestISOSR_overNFS.test_load_validate_nfsversion_exceptionraised) ... ok test_load_validate_nfsversion_returnused (test_ISOSR.TestISOSR_overNFS.test_load_validate_nfsversion_returnused) ... ok test_attach_smb_version_fallback_error (test_ISOSR.TestISOSR_overSMB.test_attach_smb_version_fallback_error) ... ok test_attach_smb_version_fallback_with_smb_1_3_disabled (test_ISOSR.TestISOSR_overSMB.test_attach_smb_version_fallback_with_smb_1_3_disabled) Fall back scenario from XC/XE CLI with smb3 diabled and smb1 disabled. ... ok test_attach_smb_version_fallback_with_smb_3_disabled (test_ISOSR.TestISOSR_overSMB.test_attach_smb_version_fallback_with_smb_3_disabled) ... ok test_attach_smb_via_xemount_no_version (test_ISOSR.TestISOSR_overSMB.test_attach_smb_via_xemount_no_version) ... ok test_attach_smb_via_xemount_no_version_fallback (test_ISOSR.TestISOSR_overSMB.test_attach_smb_via_xemount_no_version_fallback) Fall back scenario from xe-sr-mount with smb3 diabled and smb1 enabled. ... ok test_attach_smb_via_xemount_version_1 (test_ISOSR.TestISOSR_overSMB.test_attach_smb_via_xemount_version_1) ... ok test_attach_smb_via_xemount_version_3 (test_ISOSR.TestISOSR_overSMB.test_attach_smb_via_xemount_version_3) ... ok test_attach_smb_wrongversion (test_ISOSR.TestISOSR_overSMB.test_attach_smb_wrongversion) Unsupported version from XC/XE CLI. ... ok test_attach_smb_wrongversion_via_xemount (test_ISOSR.TestISOSR_overSMB.test_attach_smb_wrongversion_via_xemount) Unsupported version from xe-sr-mount. ... ok test_attach_with_smb_credentials (test_ISOSR.TestISOSR_overSMB.test_attach_with_smb_credentials) ... ok test_attach_with_smb_credentials_domain (test_ISOSR.TestISOSR_overSMB.test_attach_with_smb_credentials_domain) ... ok test_attach_with_smb_no_version (test_ISOSR.TestISOSR_overSMB.test_attach_with_smb_no_version) ... ok test_attach_with_smb_version_1 (test_ISOSR.TestISOSR_overSMB.test_attach_with_smb_version_1) ... ok test_attach_with_smb_version_3 (test_ISOSR.TestISOSR_overSMB.test_attach_with_smb_version_3) ... ok test_load (test_ISOSR.TestISOSR_overSMB.test_load) ... ok test_mountoversmb_will_raise_on_error (test_ISOSR.TestISOSR_overSMB.test_mountoversmb_will_raise_on_error) Test failure to store SMB version inside PBD config will raise exception ... ok test_loadvids (test_LVHDSR.TestLVHDSR.test_loadvids) sr.allVDIs populated by _loadvdis ... ok test_snapshotof_success (test_LVHDSR.TestLVHDSR.test_snapshotof_success) ... ok test_srlifecycle_success (test_LVHDSR.TestLVHDSR.test_srlifecycle_success) ... ok test_undoAllInflateJournals (test_LVHDSR.TestLVHDSR.test_undoAllInflateJournals) No LV refresh on slaves when Cleaning up local LVHD SR's journal ... ok test_clone_success (test_LVHDSR.TestLVHDVDI.test_clone_success) Successfully create clone ... ok test_snapshot_attached_cbt_success (test_LVHDSR.TestLVHDVDI.test_snapshot_attached_cbt_success) LVHDSR.snapshot, attached on host, with CBT ... ok test_snapshot_attached_success (test_LVHDSR.TestLVHDVDI.test_snapshot_attached_success) LVHDSR.snapshot, attached on host, no CBT ... ok test_snapshot_secondary_success (test_LVHDSR.TestLVHDVDI.test_snapshot_secondary_success) LVHDSR.snapshot, attached on host with secondary mirror ... ok test_update_slaves_on_cbt_disable (test_LVHDSR.TestLVHDVDI.test_update_slaves_on_cbt_disable) Ensure we tell the supporter host when we disable CBT for one of its VMs ... ok test_sr_delete_no_multipath (test_LVHDoHBASR.TestLVHDoHBASR.test_sr_delete_no_multipath) ... ok test_generate_config (test_LVHDoHBASR.TestLVHDoHBAVDI.test_generate_config) ... ok test_generate_config_bad_path_assert (test_LVHDoHBASR.TestLVHDoHBAVDI.test_generate_config_bad_path_assert) ... ok test_check_sr_correct_sessions_count (test_LVHDoISCSISR.TestLVHDoISCSISR.test_check_sr_correct_sessions_count) ... ok test_check_sr_not_enough_sessions (test_LVHDoISCSISR.TestLVHDoISCSISR.test_check_sr_not_enough_sessions) ... ok test_check_sr_pbd_not_found (test_LVHDoISCSISR.TestLVHDoISCSISR.test_check_sr_pbd_not_found) ... ok test_sr_attach_multi_session (test_LVHDoISCSISR.TestLVHDoISCSISR.test_sr_attach_multi_session) ... ok test_1st_try_block_raise_RandomError (test_LVHDoISCSISR.TestLVHDoISCSISR_load.test_1st_try_block_raise_RandomError) ... ok test_1st_try_block_raise_XenError (test_LVHDoISCSISR.TestLVHDoISCSISR_load.test_1st_try_block_raise_XenError) ... ok test_attach (test_NFSSR.TestNFSSR.test_attach) ... ok test_attach_already_mounted (test_NFSSR.TestNFSSR.test_attach_already_mounted) ... ok test_attach_failure (test_NFSSR.TestNFSSR.test_attach_failure) ... ok test_attach_not_writable (test_NFSSR.TestNFSSR.test_attach_not_writable) ... ok test_load (test_NFSSR.TestNFSSR.test_load) ... ok test_load_ipv6 (test_NFSSR.TestNFSSR.test_load_ipv6) ... ok test_load_no_server (test_NFSSR.TestNFSSR.test_load_no_server) As called by on_slave.is_open ... ok test_load_validate_nfsversion_called (test_NFSSR.TestNFSSR.test_load_validate_nfsversion_called) ... ok test_load_validate_nfsversion_exceptionraised (test_NFSSR.TestNFSSR.test_load_validate_nfsversion_exceptionraised) ... ok test_load_validate_nfsversion_returnused (test_NFSSR.TestNFSSR.test_load_validate_nfsversion_returnused) ... ok test_sr_create (test_NFSSR.TestNFSSR.test_sr_create) ... ok test_sr_create_mount_error (test_NFSSR.TestNFSSR.test_sr_create_mount_error) ... ok test_sr_create_noperm (test_NFSSR.TestNFSSR.test_sr_create_noperm) ... ok test_sr_create_readonly (test_NFSSR.TestNFSSR.test_sr_create_readonly) ... ok test_attach_if_mounted_then_attached (test_SMBSR.Test_SMBSR.test_attach_if_mounted_then_attached) ... ok test_attach_misc_mount_failure (test_SMBSR.Test_SMBSR.test_attach_misc_mount_failure) ... ok test_attach_not_writable (test_SMBSR.Test_SMBSR.test_attach_not_writable) ... ok test_attach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR.test_attach_smbexception_raises_xenerror) ... ok test_attach_vanilla (test_SMBSR.Test_SMBSR.test_attach_vanilla) ... ok test_attach_with_cifs_password (test_SMBSR.Test_SMBSR.test_attach_with_cifs_password) ... ok test_attach_with_cifs_password_and_domain (test_SMBSR.Test_SMBSR.test_attach_with_cifs_password_and_domain) ... ok test_create_nospace (test_SMBSR.Test_SMBSR.test_create_nospace) ... ok test_create_read_only (test_SMBSR.Test_SMBSR.test_create_read_only) ... ok test_create_success (test_SMBSR.Test_SMBSR.test_create_success) ... ok test_detach_not_detached_if_not_mounted (test_SMBSR.Test_SMBSR.test_detach_not_detached_if_not_mounted) ... ok test_detach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR.test_detach_smbexception_raises_xenerror) ... ok test_mount_mountpoint_empty_string (test_SMBSR.Test_SMBSR.test_mount_mountpoint_empty_string) ... ok test_mount_mountpoint_isdir (test_SMBSR.Test_SMBSR.test_mount_mountpoint_isdir) ... ok test_after_master_attach_success (test_SR.TestSR.test_after_master_attach_success) Test that after_master_attach calls scan ... ok test_after_master_attach_vdi_not_available (test_SR.TestSR.test_after_master_attach_vdi_not_available) Test that after_master_attach calls scan ... ok test_device_check_nodevice (test_SR.TestSR.test_device_check_nodevice) Test the device check decorator with no device configured ... ok test_device_check_success (test_SR.TestSR.test_device_check_success) Test the device check decorator with a device configured ... ok test_parse_handles_wide_chars (test_SRCommand.TestStandaloneFunctions.test_parse_handles_wide_chars) ... ok test_run_correctly_log_all_exceptions (test_SRCommand.TestStandaloneFunctions.test_run_correctly_log_all_exceptions) 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.test_run_print_xml_error_if_SRException) If an SRException is thrown, assert that print ... ok test_run_reports_protocol_error (test_SRCommand.TestStandaloneFunctions.test_run_reports_protocol_error) If XenAPI raises a protocol error convert to error code ... ok test_run_wrapped_if_not_SRException (test_SRCommand.TestStandaloneFunctions.test_run_wrapped_if_not_SRException) If an exception other than SR.SRException is thrown, assert that it is wrapped and not thrown. ... ok test_allocate_no_path (test_blktap2.TestTapCtl.test_allocate_no_path) TapCtl allocate ... ok test_attach (test_blktap2.TestTapCtl.test_attach) TapCtl attach ... ok test_close (test_blktap2.TestTapCtl.test_close) Tapctl close ... ok test_close_force (test_blktap2.TestTapCtl.test_close_force) Tapctl close, forced ... ok test_detach (test_blktap2.TestTapCtl.test_detach) TapCtl detach ... ok test_free (test_blktap2.TestTapCtl.test_free) TapCtl free ... ok test_list_eperm_failure (test_blktap2.TestTapCtl.test_list_eperm_failure) TapCtl list failure on eperm ... ok test_list_no_args (test_blktap2.TestTapCtl.test_list_no_args) TapCtl list no args ... ok test_list_pid_arg (test_blktap2.TestTapCtl.test_list_pid_arg) TapCtl list pid arg ... ok test_list_retry_eproto (test_blktap2.TestTapCtl.test_list_retry_eproto) TapCtl list retry on eproto ... ok test_list_signalled (test_blktap2.TestTapCtl.test_list_signalled) TapCtl list, exited signalled ... ok test_major (test_blktap2.TestTapCtl.test_major) TapCtl major ... ok test_open (test_blktap2.TestTapCtl.test_open) TapCtl open ... ok test_open_cbt_log (test_blktap2.TestTapCtl.test_open_cbt_log) TapCtl open, CBT logging ... ok test_open_encryption (test_blktap2.TestTapCtl.test_open_encryption) TapCtl open, with encryption key ... ok test_open_encryption_nokey (test_blktap2.TestTapCtl.test_open_encryption_nokey) TapCtl open, with encryption no key found ... ok test_open_intellicache_leaf (test_blktap2.TestTapCtl.test_open_intellicache_leaf) TapCtl open, intellicache leaf ... ok test_open_intellicache_leaf_non_persist (test_blktap2.TestTapCtl.test_open_intellicache_leaf_non_persist) TapCtl open, intellicache leaf, non-persistent ... ok test_open_intellicache_parent (test_blktap2.TestTapCtl.test_open_intellicache_parent) TapCtl open, intellicache parent ... ok test_open_read_cache (test_blktap2.TestTapCtl.test_open_read_cache) TapCtl open, read cache ... ok test_open_readonly (test_blktap2.TestTapCtl.test_open_readonly) TapCtl open, readonly ... ok test_open_secondary (test_blktap2.TestTapCtl.test_open_secondary) TapCtl open, readonly ... ok test_pause (test_blktap2.TestTapCtl.test_pause) TapCtl pause ... ok test_spawn (test_blktap2.TestTapCtl.test_spawn) TapCtl spawn ... ok test_spawn_fail_on_error (test_blktap2.TestTapCtl.test_spawn_fail_on_error) TapCtl spawn, command failure ... ok test_spawn_retry_on_eperm (test_blktap2.TestTapCtl.test_spawn_retry_on_eperm) TapCtl spawn, retry (CA-292268) ... ok test_stats (test_blktap2.TestTapCtl.test_stats) TapCtl stats ... ok test_unpause (test_blktap2.TestTapCtl.test_unpause) TapCtl unpause ... ok test_unpause_cbtlog (test_blktap2.TestTapCtl.test_unpause_cbtlog) TapCtl unpause, CBT logging ... ok test_unpause_mirror (test_blktap2.TestTapCtl.test_unpause_mirror) TapCtl unpause, mirroring ... ok test_cgclassify_called_by_launch_on_tap (test_blktap2.TestTapdisk.test_cgclassify_called_by_launch_on_tap) ... ok test_cgclassify_exception_swallow (test_blktap2.TestTapdisk.test_cgclassify_exception_swallow) ... ok test_cgclassify_normal_call (test_blktap2.TestTapdisk.test_cgclassify_normal_call) ... ok test_list (test_blktap2.TestTapdisk.test_list) ... ok test_open_empty_cd (test_blktap2.TestTapdisk.test_open_empty_cd) ... ok test_activate (test_blktap2.TestVDI.test_activate) Test blktap2.VDI.activate, no cache, RW, success ... blktap2.activate Adding tag to: 3a26ed85-54f6-46c6-9243-7822a056c990 Activate lock succeeded tap.activate: Found Removed activating flag from 3a26ed85-54f6-46c6-9243-7822a056c990 ok test_activate_pause_retry (test_blktap2.TestVDI.test_activate_pause_retry) Test blktap2.VDI.activate, paused, retry 1, success ... blktap2.activate Adding tag to: c3889b58-7901-4eb0-a112-882757c88a78 Paused or host_ref key found [{'paused': 'true'}] Adding tag to: c3889b58-7901-4eb0-a112-882757c88a78 Activate lock succeeded tap.activate: Found Removed activating flag from c3889b58-7901-4eb0-a112-882757c88a78 ok test_activate_paused_while_tagging (test_blktap2.TestVDI.test_activate_paused_while_tagging) Test blktap2.VDI.activate, paused, while tagging, success ... blktap2.activate Adding tag to: 2f985059-95b6-4e6c-a935-0a33da88ecfa Found paused key, aborting Adding tag to: 2f985059-95b6-4e6c-a935-0a33da88ecfa Activate lock succeeded tap.activate: Found Removed activating flag from 2f985059-95b6-4e6c-a935-0a33da88ecfa ok test_activate_relink_retry (test_blktap2.TestVDI.test_activate_relink_retry) Test blktap2.VDI.activate, relinking, retry 1, success ... blktap2.activate Adding tag to: 9e6884ae-7ee7-4a33-8690-dc066076772c Relinking key found, back-off and retry Adding tag to: 9e6884ae-7ee7-4a33-8690-dc066076772c Activate lock succeeded tap.activate: Found Removed activating flag from 9e6884ae-7ee7-4a33-8690-dc066076772c ok test_activate_relink_while_tagging (test_blktap2.TestVDI.test_activate_relink_while_tagging) Test blktap2.VDI.activate, relinking, while tagging, retry 1, success ... blktap2.activate Adding tag to: a407a920-77ff-4a74-aef0-745a21f03f96 Found relinking key, aborting Adding tag to: a407a920-77ff-4a74-aef0-745a21f03f96 Activate lock succeeded tap.activate: Found Removed activating flag from a407a920-77ff-4a74-aef0-745a21f03f96 ok test_activate_ro_already_activating_retry (test_blktap2.TestVDI.test_activate_ro_already_activating_retry) If we're activating for read-only access, with someone else (let's ... blktap2.activate Adding tag to: 91f7e7a3-0670-4f7b-9030-68a6bea03137 Adding tag to: 91f7e7a3-0670-4f7b-9030-68a6bea03137 Activate lock succeeded tap.activate: Found Removed activating flag from 91f7e7a3-0670-4f7b-9030-68a6bea03137 ok test_activate_rw_already_activating_fail (test_blktap2.TestVDI.test_activate_rw_already_activating_fail) If we're activating for read-write access, with someone else (let's ... blktap2.activate Adding tag to: dc22167c-2bed-4d74-a682-12e1b9cfa4c2 ***** BLKTAP2:: EXCEPTION , ['MAP_DUPLICATE_KEY', 'VDI', 'sm_config', 'href1', 'activating'] File "/builddir/build/BUILD/sm-4.1.12/libs/sm/blktap2.py", line 67, in wrapper ret = op(self, * args) ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/sm-4.1.12/libs/sm/blktap2.py", line 1446, in _activate_locked if not self._add_tag(vdi_uuid, not options["rdonly"]): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/sm-4.1.12/libs/sm/blktap2.py", line 1347, in _add_tag self._session.xenapi.VDI.add_to_sm_config( File "/usr/lib64/python3.12/unittest/mock.py", line 1139, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/unittest/mock.py", line 1143, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/unittest/mock.py", line 1202, in _execute_mock_call raise result ok test_get_tap_type_returns_aio_for_udev_device (test_blktap2.TestVDI.test_get_tap_type_returns_aio_for_udev_device) ... ok test_linknbd (test_blktap2.TestVDI.test_linknbd) ... ok test_linknbd_not_called_for_no_tap (test_blktap2.TestVDI.test_linknbd_not_called_for_no_tap) ... ok test_remove_cache_no_cap (test_blktap2.TestVDI.test_remove_cache_no_cap) ... ok test_remove_cache_no_local_cache_sr (test_blktap2.TestVDI.test_remove_cache_no_local_cache_sr) ... ERROR: Local cache SR not specified, ignore ok test_remove_cache_no_parent (test_blktap2.TestVDI.test_remove_cache_no_parent) ... ERROR: No parent for VDI d0192c8c-f6f3-4a54-8d6b-4bdbc4d184b4, ignore ok test_remove_cache_no_prt_use_teardown (test_blktap2.TestVDI.test_remove_cache_no_prt_use_teardown) ... Tearing down the cache Deleting local leaf node /run/6299bdf9-ec02-4fb0-9cca-d27043ab23cb/5a47c7d0-3dd1-4cb2-9bbb-5f572a54650f.vhdcache Parent tapdisk not in use: shutting down /run/6299bdf9-ec02-4fb0-9cca-d27043ab23cb/659cb22d-de04-429e-b426-9abcbe075d0e.vhdcache ok test_scsi_page_data (test_blktap2.TestVDI.test_scsi_page_data) Check that the scsi page data is correctly encoded ... ok test_setup_cache_no_capability (test_blktap2.TestVDI.test_setup_cache_no_capability) ... Requested local caching Error: local caching not supported by this SR ok test_setup_cache_no_local_cache_sr (test_blktap2.TestVDI.test_setup_cache_no_local_cache_sr) ... Requested local caching ERROR: Local cache SR not specified, not enabling ok test_setup_cache_no_parent (test_blktap2.TestVDI.test_setup_cache_no_parent) ... Requested local caching Setting up cache ERROR: Parent VDI has parent, not enabling ok test_setup_cache_not_allowed (test_blktap2.TestVDI.test_setup_cache_not_allowed) ... ok test_setup_cache_reset_no_cap (test_blktap2.TestVDI.test_setup_cache_reset_no_cap) ... Requested local caching Requested scratch mode Error: scratch mode not supported by this SR ok test_setup_cache_success_no_prt_td_present (test_blktap2.TestVDI.test_setup_cache_success_no_prt_td_present) ... Requested local caching Setting up cache Read cache node (/run/78f45791-777e-44ab-ad9f-5debe06c10cb/8de4d6cc-fceb-4fbc-8010-381cec8c6967.vhdcache) already exists, not creating Local leaf node (/run/78f45791-777e-44ab-ad9f-5debe06c10cb/8c38af5c-2074-44a2-891a-7e7aefee2ebb.vhdcache) already exists, deleting Parent tapdisk: Local read cache: /run/78f45791-777e-44ab-ad9f-5debe06c10cb/8de4d6cc-fceb-4fbc-8010-381cec8c6967.vhdcache, local leaf: /run/78f45791-777e-44ab-ad9f-5debe06c10cb/8c38af5c-2074-44a2-891a-7e7aefee2ebb.vhdcache ok test_setup_cache_success_prt_td_present (test_blktap2.TestVDI.test_setup_cache_success_prt_td_present) ... Requested local caching Setting up cache Read cache node (/run/c60d5791-9f9e-4262-b4ba-ad3a8351eba3/57a5a2c5-f517-4d60-8c82-91eff6024b85.vhdcache) already exists, not creating Local leaf node (/run/c60d5791-9f9e-4262-b4ba-ad3a8351eba3/c19aa569-51ad-471f-8a95-085f3e0543cf.vhdcache) already exists, deleting Parent tapdisk: Tapdisk(vhd:dummy, pid=1457, minor=3, state=R) Local read cache: /run/c60d5791-9f9e-4262-b4ba-ad3a8351eba3/57a5a2c5-f517-4d60-8c82-91eff6024b85.vhdcache, local leaf: /run/c60d5791-9f9e-4262-b4ba-ad3a8351eba3/c19aa569-51ad-471f-8a95-085f3e0543cf.vhdcache ok test_tap_wanted_returns_true_for_udev_device (test_blktap2.TestVDI.test_tap_wanted_returns_true_for_udev_device) ... ok test_activate_consistency_check_fail (test_cbt.TestCBT.test_activate_consistency_check_fail) ... ok test_activate_consistent_success (test_cbt.TestCBT.test_activate_consistent_success) ... ok test_activate_no_tracking_success (test_cbt.TestCBT.test_activate_no_tracking_success) ... ok test_configure_blocktracking_disable_already_disabled (test_cbt.TestCBT.test_configure_blocktracking_disable_already_disabled) ... ok test_configure_blocktracking_disable_metadata_deletion_fail (test_cbt.TestCBT.test_configure_blocktracking_disable_metadata_deletion_fail) ... ok test_configure_blocktracking_disable_pause_fail (test_cbt.TestCBT.test_configure_blocktracking_disable_pause_fail) ... ok test_configure_blocktracking_disable_when_enabled_with_parent (test_cbt.TestCBT.test_configure_blocktracking_disable_when_enabled_with_parent) ... ok test_configure_blocktracking_disable_when_enabled_without_parent (test_cbt.TestCBT.test_configure_blocktracking_disable_when_enabled_without_parent) ... ok test_configure_blocktracking_enable_already_enabled (test_cbt.TestCBT.test_configure_blocktracking_enable_already_enabled) ... ok test_configure_blocktracking_enable_metadata_creation_fail (test_cbt.TestCBT.test_configure_blocktracking_enable_metadata_creation_fail) ... ok test_configure_blocktracking_enable_metadata_initialisation_fail (test_cbt.TestCBT.test_configure_blocktracking_enable_metadata_initialisation_fail) ... ok test_configure_blocktracking_enable_metadata_no_space (test_cbt.TestCBT.test_configure_blocktracking_enable_metadata_no_space) ... ok test_configure_blocktracking_enable_pause_fail (test_cbt.TestCBT.test_configure_blocktracking_enable_pause_fail) ... ok test_configure_blocktracking_enable_raw_vdi (test_cbt.TestCBT.test_configure_blocktracking_enable_raw_vdi) ... ok test_configure_blocktracking_enable_snapshot (test_cbt.TestCBT.test_configure_blocktracking_enable_snapshot) ... ok test_configure_blocktracking_enable_success (test_cbt.TestCBT.test_configure_blocktracking_enable_success) ... ok test_deactivate_no_tracking_success (test_cbt.TestCBT.test_deactivate_no_tracking_success) ... ok test_deactivate_success (test_cbt.TestCBT.test_deactivate_success) ... ok test_list_changed_blocks_cbt_disabled (test_cbt.TestCBT.test_list_changed_blocks_cbt_disabled) ... ok test_list_changed_blocks_larger_bitmap (test_cbt.TestCBT.test_list_changed_blocks_larger_bitmap) ... ok test_list_changed_blocks_not_related (test_cbt.TestCBT.test_list_changed_blocks_not_related) ... ok test_list_changed_blocks_same_vdi (test_cbt.TestCBT.test_list_changed_blocks_same_vdi) ... ok test_list_changed_blocks_smaller_bitmap (test_cbt.TestCBT.test_list_changed_blocks_smaller_bitmap) ... ok test_list_changed_blocks_strip_sensitive_bitmap (test_cbt.TestCBT.test_list_changed_blocks_strip_sensitive_bitmap) ... ok test_list_changed_blocks_success (test_cbt.TestCBT.test_list_changed_blocks_success) ... ok test_list_changed_blocks_vdi_resized_success (test_cbt.TestCBT.test_list_changed_blocks_vdi_resized_success) ... ok test_list_changed_blocks_vdi_shrunk (test_cbt.TestCBT.test_list_changed_blocks_vdi_shrunk) ... ok test_resize_cbt_disable (test_cbt.TestCBT.test_resize_cbt_disable) ... ok test_resize_cbt_enabled (test_cbt.TestCBT.test_resize_cbt_enabled) ... ok test_resize_exception (test_cbt.TestCBT.test_resize_exception) ... ok test_snapshot_out_of_space_failure (test_cbt.TestCBT.test_snapshot_out_of_space_failure) ... ok test_snapshot_success_no_parent (test_cbt.TestCBT.test_snapshot_success_no_parent) ... ok test_snapshot_success_with_CBT_disable (test_cbt.TestCBT.test_snapshot_success_with_CBT_disable) ... ok test_snapshot_success_with_parent (test_cbt.TestCBT.test_snapshot_success_with_parent) ... ok test_vdi_data_destroy_cbt_disabled (test_cbt.TestCBT.test_vdi_data_destroy_cbt_disabled) ... ok test_vdi_data_destroy_cbt_enabled (test_cbt.TestCBT.test_vdi_data_destroy_cbt_enabled) ... ok test_vdi_delete_bitmap_coalesce_exc (test_cbt.TestCBT.test_vdi_delete_bitmap_coalesce_exc) ... ok test_vdi_delete_cbt_disabled (test_cbt.TestCBT.test_vdi_delete_cbt_disabled) ... ok test_vdi_delete_cbt_enabled_no_child (test_cbt.TestCBT.test_vdi_delete_cbt_enabled_no_child) ... ok test_vdi_delete_cbt_enabled_with_child (test_cbt.TestCBT.test_vdi_delete_cbt_enabled_with_child) ... ok test_createCBTLog (test_cbtutil.TestCbtutil.test_createCBTLog) ... ok test_getCBTConsistency_consistent (test_cbtutil.TestCbtutil.test_getCBTConsistency_consistent) ... ok test_getCBTConsistency_not_consistent (test_cbtutil.TestCbtutil.test_getCBTConsistency_not_consistent) ... ok test_setCBTChild (test_cbtutil.TestCbtutil.test_setCBTChild) ... ok test_setCBTConsistency_consistent_success (test_cbtutil.TestCbtutil.test_setCBTConsistency_consistent_success) ... ok test_setCBTConsistency_not_consistent_success (test_cbtutil.TestCbtutil.test_setCBTConsistency_not_consistent_success) ... ok test_setCBTParent (test_cbtutil.TestCbtutil.test_setCBTParent) ... ok test_empty_credentials_and_domain_for_bad_dconf (test_cifutils.TestCreate.test_empty_credentials_and_domain_for_bad_dconf) ... ok test_empty_credentials_and_username (test_cifutils.TestCreate.test_empty_credentials_and_username) ... ok test_got_credentials_empty_dconf (test_cifutils.TestCreate.test_got_credentials_empty_dconf) ... ok test_got_credentials_empty_dconf_smbsr (test_cifutils.TestCreate.test_got_credentials_empty_dconf_smbsr) ... ok test_got_credentials_everything (test_cifutils.TestCreate.test_got_credentials_everything) ... ok test_got_credentials_everything_and_padding (test_cifutils.TestCreate.test_got_credentials_everything_and_padding) ... ok test_got_credentials_everything_and_padding_smbsr (test_cifutils.TestCreate.test_got_credentials_everything_and_padding_smbsr) ... ok test_got_credentials_everything_but_smbsr (test_cifutils.TestCreate.test_got_credentials_everything_but_smbsr) ... ok test_got_credentials_everything_smbsr (test_cifutils.TestCreate.test_got_credentials_everything_smbsr) ... ok test_got_credentials_password_and_secret (test_cifutils.TestCreate.test_got_credentials_password_and_secret) ... ok test_got_credentials_password_and_secret_smbsr (test_cifutils.TestCreate.test_got_credentials_password_and_secret_smbsr) ... ok test_got_credentials_password_only (test_cifutils.TestCreate.test_got_credentials_password_only) ... ok test_got_credentials_password_only_smbsr (test_cifutils.TestCreate.test_got_credentials_password_only_smbsr) ... ok test_got_credentials_secret_only (test_cifutils.TestCreate.test_got_credentials_secret_only) ... ok test_got_credentials_secret_only_smbsr (test_cifutils.TestCreate.test_got_credentials_secret_only_smbsr) ... ok test_got_credentials_user_and_password (test_cifutils.TestCreate.test_got_credentials_user_and_password) ... ok test_got_credentials_user_and_password_smbsr (test_cifutils.TestCreate.test_got_credentials_user_and_password_smbsr) ... ok test_got_credentials_user_and_secret (test_cifutils.TestCreate.test_got_credentials_user_and_secret) ... ok test_got_credentials_user_and_secret_smbsr (test_cifutils.TestCreate.test_got_credentials_user_and_secret_smbsr) ... ok test_got_credentials_username_only (test_cifutils.TestCreate.test_got_credentials_username_only) ... ok test_got_credentials_username_only_smbsr (test_cifutils.TestCreate.test_got_credentials_username_only_smbsr) ... ok test_password_and_username (test_cifutils.TestCreate.test_password_and_username) ... ok test_password_and_username_domain (test_cifutils.TestCreate.test_password_and_username_domain) ... ok test_password_and_username_domain_smbsr (test_cifutils.TestCreate.test_password_and_username_domain_smbsr) ... ok test_password_and_username_smbsr (test_cifutils.TestCreate.test_password_and_username_smbsr) ... ok test_password_secret_and_username (test_cifutils.TestCreate.test_password_secret_and_username) ... ok test_password_secret_and_username_also_domain (test_cifutils.TestCreate.test_password_secret_and_username_also_domain) ... ok test_password_secret_and_username_also_domain_smbsr (test_cifutils.TestCreate.test_password_secret_and_username_also_domain_smbsr) ... ok test_password_secret_and_username_smbsr (test_cifutils.TestCreate.test_password_secret_and_username_smbsr) ... ok test_username_bad_domain (test_cifutils.TestCreate.test_username_bad_domain) ... ok test_username_bad_domain_smbsr (test_cifutils.TestCreate.test_username_bad_domain_smbsr) ... ok test__abort_return_false_if_flag_not_set (test_cleanup.TestFileSR.test__abort_return_false_if_flag_not_set) If flag not set return False. ... ok test__abort_returns_true_when_get_lock (test_cleanup.TestFileSR.test__abort_returns_true_when_get_lock) _abort should return True when it can get ... ok test__abort_should_fail_if_reaches_maximum_retries_for_lock (test_cleanup.TestFileSR.test__abort_should_fail_if_reaches_maximum_retries_for_lock) _abort should fail if we max out the number of attempts for ... ok test__abort_should_raise_if_cant_get_lock (test_cleanup.TestFileSR.test__abort_should_raise_if_cant_get_lock) _abort should raise an exception if it completely ... ok test__abort_should_succeed_if_aquires_on_second_attempt (test_cleanup.TestFileSR.test__abort_should_succeed_if_aquires_on_second_attempt) _abort should succeed if gets lock on second attempt ... ok test__abort_succeeds_if_gets_lock_on_final_attempt (test_cleanup.TestFileSR.test__abort_succeeds_if_gets_lock_on_final_attempt) _abort succeeds if we get the lockGCActive on the final retry ... ok test_abort_optional_renable_active_held (test_cleanup.TestFileSR.test_abort_optional_renable_active_held) Cli has option to re enable gc make sure we release the locks ... ok test_abort_optional_renable_active_not_held (test_cleanup.TestFileSR.test_abort_optional_renable_active_not_held) Cli has option to reenable gc make sure we release the locks ... ok test_calcStorageSpeed (test_cleanup.TestFileSR.test_calcStorageSpeed) ... ok test_canLiveCoalesce (test_cleanup.TestFileSR.test_canLiveCoalesce) ... ok test_check_no_space_candidates_none (test_cleanup.TestFileSR.test_check_no_space_candidates_none) ... ok test_check_no_space_candidates_none_clear_message (test_cleanup.TestFileSR.test_check_no_space_candidates_none_clear_message) ... ok test_check_no_space_candidates_one_already_reported (test_cleanup.TestFileSR.test_check_no_space_candidates_one_already_reported) ... ok test_check_no_space_candidates_one_not_reported (test_cleanup.TestFileSR.test_check_no_space_candidates_one_not_reported) ... ok test_coalesceLeaf (test_cleanup.TestFileSR.test_coalesceLeaf) ... ok test_coalesceLeaf_coalesce_failed (test_cleanup.TestFileSR.test_coalesceLeaf_coalesce_failed) ... ok test_coalesceLeaf_size_bigger (test_cleanup.TestFileSR.test_coalesceLeaf_size_bigger) ... ok test_coalesceLeaf_success_after_4_iterations (test_cleanup.TestFileSR.test_coalesceLeaf_success_after_4_iterations) ... ok test_coalesce_error (test_cleanup.TestFileSR.test_coalesce_error) Handle errors in coalesce ... ok test_coalesce_error_raw_parent (test_cleanup.TestFileSR.test_coalesce_error_raw_parent) Handle errors in coalesce with raw parent ... ok test_coalesce_success (test_cleanup.TestFileSR.test_coalesce_success) Non-leaf coalesce ... ok test_doCoalesceLeaf_no_parent_after (test_cleanup.TestFileSR.test_doCoalesceLeaf_no_parent_after) ... ok test_doCoalesceLeaf_parent_remains_after (test_cleanup.TestFileSR.test_doCoalesceLeaf_parent_remains_after) ... ok test_fall_back_to_leaf_coalescing (test_cleanup.TestFileSR.test_fall_back_to_leaf_coalescing) Good VDI can can live coalesce and has right size ... ok test_file_vdi_delete (test_cleanup.TestFileSR.test_file_vdi_delete) Test to confirm fix for HFX-651 ... ok test_findLeafCoalesceable_forbidden1 (test_cleanup.TestFileSR.test_findLeafCoalesceable_forbidden1) ... ok test_findLeafCoalesceable_forbidden2 (test_cleanup.TestFileSR.test_findLeafCoalesceable_forbidden2) ... ok test_findLeafCoalesceable_forbidden3 (test_cleanup.TestFileSR.test_findLeafCoalesceable_forbidden3) ... ok test_findLeafCoalesceable_forbidden4 (test_cleanup.TestFileSR.test_findLeafCoalesceable_forbidden4) ... ok test_findLeafCoalesceable_forbidden5 (test_cleanup.TestFileSR.test_findLeafCoalesceable_forbidden5) ... ok test_finishInterruptedCoalesceLeaf_forget_fail_and_complete (test_cleanup.TestFileSR.test_finishInterruptedCoalesceLeaf_forget_fail_and_complete) ... ok test_finishInterruptedCoalesceLeaf_no_vdi (test_cleanup.TestFileSR.test_finishInterruptedCoalesceLeaf_no_vdi) ... ok test_forbiddenBySwitch (test_cleanup.TestFileSR.test_forbiddenBySwitch) ... ok test_gather_candidates_auto_coalesce_off (test_cleanup.TestFileSR.test_gather_candidates_auto_coalesce_off) Globally turned off but good vdi has force ... ok test_gather_candidates_caching_allowed (test_cleanup.TestFileSR.test_gather_candidates_caching_allowed) Bad candidate has caching allowed so not added ... ok test_gather_candidates_clsc_disabled (test_cleanup.TestFileSR.test_gather_candidates_clsc_disabled) clsc disabled so not added ... ok test_gather_candidates_failed_candidates (test_cleanup.TestFileSR.test_gather_candidates_failed_candidates) The bad vdi is in the failed list so is not added to the list. ... ok test_gather_candidates_leaf_not_coalescable (test_cleanup.TestFileSR.test_gather_candidates_leaf_not_coalescable) The bad vdi returns false for isLeafCoalesceable and is not ... ok test_gather_candidates_reset (test_cleanup.TestFileSR.test_gather_candidates_reset) bad has cleanup.VDI.ONBOOT_RESET so not added to list ... ok test_gcPause_calls_abortable_sleep (test_cleanup.TestFileSR.test_gcPause_calls_abortable_sleep) Call abortable sleep if fist point is not active. ... ok test_gcPause_calls_fist_point (test_cleanup.TestFileSR.test_gcPause_calls_fist_point) Call fist point if active and not abortable sleep. ... ok test_gcPause_fist_point_legal (test_cleanup.TestFileSR.test_gcPause_fist_point_legal) Make sure the fist point has been added to the array of legal ... ok test_gcPause_skipped_on_first_run (test_cleanup.TestFileSR.test_gcPause_skipped_on_first_run) Don't sleep the GC on the first run after host boot. ... ok test_gc_background_is_not_immediate (test_cleanup.TestFileSR.test_gc_background_is_not_immediate) GC called in background will daemonize ... ok test_gc_foreground_abort_exit_code (test_cleanup.TestFileSR.test_gc_foreground_abort_exit_code) GC called in foreground will run immediate ... ok test_gc_foreground_exception_exit_code (test_cleanup.TestFileSR.test_gc_foreground_exception_exit_code) GC called in foreground will run immediate ... ok test_gc_foreground_is_immediate (test_cleanup.TestFileSR.test_gc_foreground_is_immediate) GC called in foreground will run immediate ... ok test_gc_pause_skipped_if_immediate (test_cleanup.TestFileSR.test_gc_pause_skipped_if_immediate) Foreground GC runs immediate ... ok test_gcloop_no_work (test_cleanup.TestFileSR.test_gcloop_no_work) GC exits immediate with no work ... ok test_gcloop_no_work2 (test_cleanup.TestFileSR.test_gcloop_no_work2) ... ok test_gcloop_one_of_each (test_cleanup.TestFileSR.test_gcloop_one_of_each) GC, one garbage, one non-leaf, one leaf ... ok test_getStorageSpeed (test_cleanup.TestFileSR.test_getStorageSpeed) ... ok test_getSwitch (test_cleanup.TestFileSR.test_getSwitch) ... ok test_insufficient_space (test_cleanup.TestFileSR.test_insufficient_space) Good vdi calculates space less than remaining on sr ... ok test_leafCoaleesceTracker_too_many_iterations (test_cleanup.TestFileSR.test_leafCoaleesceTracker_too_many_iterations) Make the GC fail after max iterations ... ok test_leafCoalesceForbidden (test_cleanup.TestFileSR.test_leafCoalesceForbidden) ... ok test_leafCoalesceTracker (test_cleanup.TestFileSR.test_leafCoalesceTracker) ... ok test_leafCoalesceTracker_getting_bigger (test_cleanup.TestFileSR.test_leafCoalesceTracker_getting_bigger) ... ok test_leaf_coalescing_cannt_live_coalesce (test_cleanup.TestFileSR.test_leaf_coalescing_cannt_live_coalesce) 1st VDI is too big for snap but right size for live ... ok test_lock_if_already_locked (test_cleanup.TestFileSR.test_lock_if_already_locked) Given an already locked SR, a lock call ... ok test_lock_if_no_locking_is_used (test_cleanup.TestFileSR.test_lock_if_no_locking_is_used) Given no srLock present, the lock operations don't touch ... ok test_lock_leaves_sr_consistent_if_unable_to_acquire_lock (test_cleanup.TestFileSR.test_lock_leaves_sr_consistent_if_unable_to_acquire_lock) If the lock is busy, the lock counter is not incremented ... ok test_lock_not_released_by_abort_when_not_held (test_cleanup.TestFileSR.test_lock_not_released_by_abort_when_not_held) If _abort returns False don't release lockGCActive and ensure that ... ok test_lock_raises_exception_if_abort_requested (test_cleanup.TestFileSR.test_lock_raises_exception_if_abort_requested) If IPC abort was requested, lock raises AbortException ... ok test_lock_raises_exception_if_unable_to_acquire_lock (test_cleanup.TestFileSR.test_lock_raises_exception_if_unable_to_acquire_lock) If the lock is busy, SMException is raised ... ok test_lock_released_by_abort_when_held (test_cleanup.TestFileSR.test_lock_released_by_abort_when_held) If _abort returns True make sure we release the lockGCActive which will ... ok test_lock_released_by_abort_when_held_stop_fail (test_cleanup.TestFileSR.test_lock_released_by_abort_when_held_stop_fail) If _abort returns True make sure we release the lockGCActive which will ... ok test_lock_succeeds_if_lock_is_acquired (test_cleanup.TestFileSR.test_lock_succeeds_if_lock_is_acquired) After performing a lock, the counter equals to 1 ... ok test_loop_exits_on_term (test_cleanup.TestFileSR.test_loop_exits_on_term) ... ok test_not_plugged (test_cleanup.TestFileSR.test_not_plugged) GC called on an SR that is not plugged errors ... ok test_not_plugged_retry (test_cleanup.TestFileSR.test_not_plugged_retry) GC called on an SR that is not plugged retrys ... ok test_recordStorageSpeed_bad_speed (test_cleanup.TestFileSR.test_recordStorageSpeed_bad_speed) ... ok test_recordStorageSpeed_good_speed (test_cleanup.TestFileSR.test_recordStorageSpeed_good_speed) ... ok test_space_equal (test_cleanup.TestFileSR.test_space_equal) Good has calculates space equal to remaining space ... ok test_tag_children_for_relink_activation (test_cleanup.TestFileSR.test_tag_children_for_relink_activation) Cleanup: tag for relink, activation races ... ok test_tag_children_for_relink_activation_second_phase (test_cleanup.TestFileSR.test_tag_children_for_relink_activation_second_phase) Cleanup: tag for relink, set and then activation ... ok test_tag_children_for_relink_blocked (test_cleanup.TestFileSR.test_tag_children_for_relink_blocked) Cleanup: tag for relink, blocked - exception ... ok test_term_handler (test_cleanup.TestFileSR.test_term_handler) ... ok test_writeSpeedToFile (test_cleanup.TestFileSR.test_writeSpeedToFile) ... ok test_can_acquire (test_cleanup.TestLockGCActive.test_can_acquire) ... ok test_can_acquire_when_already_holding_sr_lock (test_cleanup.TestLockGCActive.test_can_acquire_when_already_holding_sr_lock) ... ok test_cannot_acquire_if_other_process_holds_gc_lock (test_cleanup.TestLockGCActive.test_cannot_acquire_if_other_process_holds_gc_lock) ... ok test_cannot_acquire_if_other_process_holds_sr_lock (test_cleanup.TestLockGCActive.test_cannot_acquire_if_other_process_holds_sr_lock) ... ok test__abort_return_false_if_flag_not_set (test_cleanup.TestSR.test__abort_return_false_if_flag_not_set) If flag not set return False. ... ok test__abort_returns_true_when_get_lock (test_cleanup.TestSR.test__abort_returns_true_when_get_lock) _abort should return True when it can get ... ok test__abort_should_fail_if_reaches_maximum_retries_for_lock (test_cleanup.TestSR.test__abort_should_fail_if_reaches_maximum_retries_for_lock) _abort should fail if we max out the number of attempts for ... ok test__abort_should_raise_if_cant_get_lock (test_cleanup.TestSR.test__abort_should_raise_if_cant_get_lock) _abort should raise an exception if it completely ... ok test__abort_should_succeed_if_aquires_on_second_attempt (test_cleanup.TestSR.test__abort_should_succeed_if_aquires_on_second_attempt) _abort should succeed if gets lock on second attempt ... ok test__abort_succeeds_if_gets_lock_on_final_attempt (test_cleanup.TestSR.test__abort_succeeds_if_gets_lock_on_final_attempt) _abort succeeds if we get the lockGCActive on the final retry ... ok test_abort_optional_renable_active_held (test_cleanup.TestSR.test_abort_optional_renable_active_held) Cli has option to re enable gc make sure we release the locks ... ok test_abort_optional_renable_active_not_held (test_cleanup.TestSR.test_abort_optional_renable_active_not_held) Cli has option to reenable gc make sure we release the locks ... ok test_calcStorageSpeed (test_cleanup.TestSR.test_calcStorageSpeed) ... ok test_canLiveCoalesce (test_cleanup.TestSR.test_canLiveCoalesce) ... ok test_check_no_space_candidates_none (test_cleanup.TestSR.test_check_no_space_candidates_none) ... ok test_check_no_space_candidates_none_clear_message (test_cleanup.TestSR.test_check_no_space_candidates_none_clear_message) ... ok test_check_no_space_candidates_one_already_reported (test_cleanup.TestSR.test_check_no_space_candidates_one_already_reported) ... ok test_check_no_space_candidates_one_not_reported (test_cleanup.TestSR.test_check_no_space_candidates_one_not_reported) ... ok test_coalesceLeaf (test_cleanup.TestSR.test_coalesceLeaf) ... ok test_coalesceLeaf_coalesce_failed (test_cleanup.TestSR.test_coalesceLeaf_coalesce_failed) ... ok test_coalesceLeaf_size_bigger (test_cleanup.TestSR.test_coalesceLeaf_size_bigger) ... ok test_coalesceLeaf_success_after_4_iterations (test_cleanup.TestSR.test_coalesceLeaf_success_after_4_iterations) ... ok test_coalesce_error (test_cleanup.TestSR.test_coalesce_error) Handle errors in coalesce ... ok test_coalesce_error_raw_parent (test_cleanup.TestSR.test_coalesce_error_raw_parent) Handle errors in coalesce with raw parent ... ok test_coalesce_success (test_cleanup.TestSR.test_coalesce_success) Non-leaf coalesce ... ok test_doCoalesceLeaf_no_parent_after (test_cleanup.TestSR.test_doCoalesceLeaf_no_parent_after) ... ok test_doCoalesceLeaf_parent_remains_after (test_cleanup.TestSR.test_doCoalesceLeaf_parent_remains_after) ... ok test_fall_back_to_leaf_coalescing (test_cleanup.TestSR.test_fall_back_to_leaf_coalescing) Good VDI can can live coalesce and has right size ... ok test_file_vdi_delete (test_cleanup.TestSR.test_file_vdi_delete) Test to confirm fix for HFX-651 ... ok test_findLeafCoalesceable_forbidden1 (test_cleanup.TestSR.test_findLeafCoalesceable_forbidden1) ... ok test_findLeafCoalesceable_forbidden2 (test_cleanup.TestSR.test_findLeafCoalesceable_forbidden2) ... ok test_findLeafCoalesceable_forbidden3 (test_cleanup.TestSR.test_findLeafCoalesceable_forbidden3) ... ok test_findLeafCoalesceable_forbidden4 (test_cleanup.TestSR.test_findLeafCoalesceable_forbidden4) ... ok test_findLeafCoalesceable_forbidden5 (test_cleanup.TestSR.test_findLeafCoalesceable_forbidden5) ... ok test_forbiddenBySwitch (test_cleanup.TestSR.test_forbiddenBySwitch) ... ok test_gather_candidates_auto_coalesce_off (test_cleanup.TestSR.test_gather_candidates_auto_coalesce_off) Globally turned off but good vdi has force ... ok test_gather_candidates_caching_allowed (test_cleanup.TestSR.test_gather_candidates_caching_allowed) Bad candidate has caching allowed so not added ... ok test_gather_candidates_clsc_disabled (test_cleanup.TestSR.test_gather_candidates_clsc_disabled) clsc disabled so not added ... ok test_gather_candidates_failed_candidates (test_cleanup.TestSR.test_gather_candidates_failed_candidates) 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.test_gather_candidates_leaf_not_coalescable) The bad vdi returns false for isLeafCoalesceable and is not ... ok test_gather_candidates_reset (test_cleanup.TestSR.test_gather_candidates_reset) bad has cleanup.VDI.ONBOOT_RESET so not added to list ... ok test_gcPause_calls_abortable_sleep (test_cleanup.TestSR.test_gcPause_calls_abortable_sleep) Call abortable sleep if fist point is not active. ... ok test_gcPause_calls_fist_point (test_cleanup.TestSR.test_gcPause_calls_fist_point) Call fist point if active and not abortable sleep. ... ok test_gcPause_fist_point_legal (test_cleanup.TestSR.test_gcPause_fist_point_legal) Make sure the fist point has been added to the array of legal ... ok test_gcPause_skipped_on_first_run (test_cleanup.TestSR.test_gcPause_skipped_on_first_run) Don't sleep the GC on the first run after host boot. ... ok test_gc_background_is_not_immediate (test_cleanup.TestSR.test_gc_background_is_not_immediate) GC called in background will daemonize ... ok test_gc_foreground_abort_exit_code (test_cleanup.TestSR.test_gc_foreground_abort_exit_code) GC called in foreground will run immediate ... ok test_gc_foreground_exception_exit_code (test_cleanup.TestSR.test_gc_foreground_exception_exit_code) GC called in foreground will run immediate ... ok test_gc_foreground_is_immediate (test_cleanup.TestSR.test_gc_foreground_is_immediate) GC called in foreground will run immediate ... ok test_gc_pause_skipped_if_immediate (test_cleanup.TestSR.test_gc_pause_skipped_if_immediate) Foreground GC runs immediate ... ok test_gcloop_no_work (test_cleanup.TestSR.test_gcloop_no_work) GC exits immediate with no work ... ok test_gcloop_no_work2 (test_cleanup.TestSR.test_gcloop_no_work2) ... ok test_gcloop_one_of_each (test_cleanup.TestSR.test_gcloop_one_of_each) GC, one garbage, one non-leaf, one leaf ... ok test_getStorageSpeed (test_cleanup.TestSR.test_getStorageSpeed) ... ok test_getSwitch (test_cleanup.TestSR.test_getSwitch) ... ok test_insufficient_space (test_cleanup.TestSR.test_insufficient_space) Good vdi calculates space less than remaining on sr ... ok test_leafCoaleesceTracker_too_many_iterations (test_cleanup.TestSR.test_leafCoaleesceTracker_too_many_iterations) Make the GC fail after max iterations ... ok test_leafCoalesceForbidden (test_cleanup.TestSR.test_leafCoalesceForbidden) ... ok test_leafCoalesceTracker (test_cleanup.TestSR.test_leafCoalesceTracker) ... ok test_leafCoalesceTracker_getting_bigger (test_cleanup.TestSR.test_leafCoalesceTracker_getting_bigger) ... ok test_leaf_coalescing_cannt_live_coalesce (test_cleanup.TestSR.test_leaf_coalescing_cannt_live_coalesce) 1st VDI is too big for snap but right size for live ... ok test_lock_if_already_locked (test_cleanup.TestSR.test_lock_if_already_locked) Given an already locked SR, a lock call ... ok test_lock_if_no_locking_is_used (test_cleanup.TestSR.test_lock_if_no_locking_is_used) Given no srLock present, the lock operations don't touch ... ok test_lock_leaves_sr_consistent_if_unable_to_acquire_lock (test_cleanup.TestSR.test_lock_leaves_sr_consistent_if_unable_to_acquire_lock) If the lock is busy, the lock counter is not incremented ... ok test_lock_not_released_by_abort_when_not_held (test_cleanup.TestSR.test_lock_not_released_by_abort_when_not_held) If _abort returns False don't release lockGCActive and ensure that ... ok test_lock_raises_exception_if_abort_requested (test_cleanup.TestSR.test_lock_raises_exception_if_abort_requested) If IPC abort was requested, lock raises AbortException ... ok test_lock_raises_exception_if_unable_to_acquire_lock (test_cleanup.TestSR.test_lock_raises_exception_if_unable_to_acquire_lock) If the lock is busy, SMException is raised ... ok test_lock_released_by_abort_when_held (test_cleanup.TestSR.test_lock_released_by_abort_when_held) If _abort returns True make sure we release the lockGCActive which will ... ok test_lock_released_by_abort_when_held_stop_fail (test_cleanup.TestSR.test_lock_released_by_abort_when_held_stop_fail) If _abort returns True make sure we release the lockGCActive which will ... ok test_lock_succeeds_if_lock_is_acquired (test_cleanup.TestSR.test_lock_succeeds_if_lock_is_acquired) After performing a lock, the counter equals to 1 ... ok test_loop_exits_on_term (test_cleanup.TestSR.test_loop_exits_on_term) ... ok test_not_plugged (test_cleanup.TestSR.test_not_plugged) GC called on an SR that is not plugged errors ... ok test_not_plugged_retry (test_cleanup.TestSR.test_not_plugged_retry) GC called on an SR that is not plugged retrys ... ok test_recordStorageSpeed_bad_speed (test_cleanup.TestSR.test_recordStorageSpeed_bad_speed) ... ok test_recordStorageSpeed_good_speed (test_cleanup.TestSR.test_recordStorageSpeed_good_speed) ... ok test_space_equal (test_cleanup.TestSR.test_space_equal) Good has calculates space equal to remaining space ... ok test_tag_children_for_relink_activation (test_cleanup.TestSR.test_tag_children_for_relink_activation) Cleanup: tag for relink, activation races ... ok test_tag_children_for_relink_activation_second_phase (test_cleanup.TestSR.test_tag_children_for_relink_activation_second_phase) Cleanup: tag for relink, set and then activation ... ok test_tag_children_for_relink_blocked (test_cleanup.TestSR.test_tag_children_for_relink_blocked) Cleanup: tag for relink, blocked - exception ... ok test_term_handler (test_cleanup.TestSR.test_term_handler) ... ok test_writeSpeedToFile (test_cleanup.TestSR.test_writeSpeedToFile) ... ok test_wait_for_completion_noop (test_cleanup.TestService.test_wait_for_completion_noop) ... ok test_wait_for_completion_wait_2 (test_cleanup.TestService.test_wait_for_completion_wait_2) ... ok test_adapter_and_disk_added (test_devscan.TestAdapters.test_adapter_and_disk_added) ... Recursively created directory /tmp/images Recursively created directory /tmp/images not exists /run/sr-mount/asr_uuid not exists libs/sm/core/XE_SR_ERRORCODES.xml not exists /run/sr-mount/asr_uuid not exists /run/sr-mount/asr_uuid not exists /run/sr-mount/asr_uuid not exists /run/sr-mount/asr_uuid not exists /run/sr-mount/asr_uuid not exists /run/sr-mount/asr_uuid Recursively created directory /dev/VG_XenStorage-26d24c25-8dc9-4ee6-8a2c-98b6c1e4f9ed no glob /run/sm/refcount/lvm-26d24c25-8dc9-4ee6-8a2c-98b6c1e4f9ed/* not exists /dev/VG_XenStorage-26d24c25-8dc9-4ee6-8a2c-98b6c1e4f9ed/MGT not exists /sys/block/bar/device/rescan tried to open file /etc/mtab not exists /tmp/fist_xenrt_default_vdi_type_legacy not exists /tmp/fist_LVHDRT_clone_vdi_after_create_journal not exists /tmp/fist_LVHDRT_clone_vdi_after_shrink_parent not exists /tmp/fist_LVHDRT_clone_vdi_after_lvcreate not exists /tmp/fist_xenrt_default_vdi_type_legacy not exists /tmp/fist_LVHDRT_clone_vdi_after_first_snap not exists /tmp/fist_LVHDRT_clone_vdi_after_lvcreate not exists /tmp/fist_xenrt_default_vdi_type_legacy not exists /tmp/fist_LVHDRT_clone_vdi_after_second_snap not exists /tmp/fist_LVHDRT_clone_vdi_after_parent_hidden not exists /tmp/fist_LVHDRT_clone_vdi_after_parent_ro not exists /tmp/fist_LVHDRT_clone_vdi_before_remove_journal Recursively created directory /dev/VG_XenStorage-097db8e6-bec1-4f7a-b9a8-4a8b53eea0ca not exists /dev/VG_XenStorage-097db8e6-bec1-4f7a-b9a8-4a8b53eea0ca/MGT not exists /sys/block/bar/device/rescan tried to open file /etc/mtab Doing second attach not exists /sys/block/bar/device/rescan tried to open file /etc/mtab not exists /sys/block/bar/device/rescan not exists /sys/block/bar/device/rescan not exists /usr/share/sm/XE_SR_ERRORCODES.xml not exists /usr/share/sm/XE_SR_ERRORCODES.xml ("Test mode: ",) (['/usr/sbin/vgs', '--readonly', 'VG_XenStorage-a00357c5-18dc-401d-8c83-09333455c90e'],) ('Found inflate journal some VDI UUID, deflating /dev/VG_XenStorage-a00357c5-18dc-401d-8c83-09333455c90e/ to 0',) faultCode 1200 faultString WtDQGFNrWcetLJcLWtxHIrKkHSjzlettLDLJrkMBReOijraCCuZEKwEhsAMXYHVuUBJccVRTwSRfRYLmlXXrkxpQXVwHvPXjZpiCseiebpmHqaGXiSRqqbJQuHutdvneUKufHgTbdGBUjHVWpburhgTllTHctZEgtVMkZiTMdzJRZTVmHkrzyXHYfIXoofPQVhWNJrPObSOwydiPJqAVYAUlpFopQLlDzYoiosgHZASbaiuWRpdcxCfBtRLogVKKPXkpWkOfawgaNfCoYipKnfDCiQfyPxCUbKQqNQaHefHasoDbhHoqEfXiyiHrzoXHNKHUfhQgTToOXRItvpNBhYrxUHDPJgdEBGQodAimLzgbvcfScCkxXrQFxvdJrMygtArOPNrNwBXWspTSvzuusOVAuzaJDuQIGRMoHbUSiJMRPsZLnjbUqwmFkrwsQnhNkCfAqNtFqavyGnkuWqeRgwRihCBBXjStAUFvBFcpyWlrdkWGuuVowIHxnGtgrdGnJJqmnTESDGdLYOBUWUFhVthdFfxZKyTJQMWNVmopbaAHJVpfdwTeFBNmyODBbJjhcnGusCJvlfGEGInYLudGExuCNFmzszplEhYYdiuTBRYqlEXzZURiKLWZVjnycnJqTjgIHxjmKLpPVYhAvjQDWhfLYvPhEioisXgxmcEXKqCBWAGUoWqdBxBxIWxdVYILZZKhODBPJRpKQfhMBCOdcDcpfQCgnCTjTivVhGfCCRtVKSrNhdBlNiWffcvuvNRHaAjdXEOQZEkVYlmdPNJoTPkyhCqwAcnPPfmJDvibgnSPVZdQdEpYEvOADzyzTTolPGNFmwZJUonMWhQWPhrJiTeWYAbKcWLzTaFTMbGXpUQDsxySVYifIJGjDOGbeaddRaeCohWXGFpobDrxdNlosFNjaYsVXTqcTJUwwvJDtxNmTjljkTelKtPzOcyxAgGoEamwYlmJWuRTwwFwYMynjjpKOdJaZbRhcPCQuCxNkgEUIiOWKmSHGEWIcCmsuoeMZEgPoMQLwfBlOziKiRNrHFeMlWzemBBekWZvmHysoXUtJkZFaHskCpZVXRebrVYVUcVeNsSQuqgcvSfdQurvzLCzCOczESoaEarqMPCJXjRCoOBTKcAAVdhyJAfGfyGBQPNApWDTWlICfooUTVvZYsUHtSmlVNNTqXAgOYclwqoZIPdFcByuzaZQAECSBkeahVdMvEmOxrcaEILlHNJdgkcxITNVldmgIkGziSaezDciBYoKcKcOXfJMCXcOLNRuIuvUMKfZIydYqkUHXPavGginvTUlXwmsKgXQwbGJUIJuaABIHCegPdhhszgyZgVMkpPSRSUOipgRNlhuoupIovIZevtaBlgGJEpMIGVnCSxChVWqSUVBZAaZEutFBgccdWranNMxywhjMnlKUjgYKaEDTtpydSOuBpqeCICNxitzRPqwAvuuVEFDCTfHZeZJzdivRHfWIQsvjiRsBDdpIkZqxMoyhWVicsxbAKubyFlqiZgbGMamtrLFnrdZmPdIwIsIOjnCpeSVrheIlqghKGzOoeUBqZHOxCsEWKTPsMoMaYRBKqjOVOXmsYAXRJjkhscgiMzERbuzgjMeuyphwcBJZZgScURIoAmtgWjUpALPKlbaTKSIuZiDtKlycISKwDMuUUYByWuvHMTcvSisTEcDHVinBeaMrGuYkUtmseOExTXaHzZRferHfFYpWpVFJRWJxwjmsejBMGdREHtgzViVsleIkJbouZJjtbDWBiOrnshdFEBnOrQwSwKTMiTQxcHPwYnSyGQTXmGNqhAXuoFGJjknRhGEuVaDqVzOSKfhnVoMovKGrCRwvEgIifVpjDdEmXCQMzpRkFuNLIRRuhqWTXoauElLgQNvUxiRdQgrIALfQQTWhttSakJgzQEDwDRfrhCrtfINRWNVckIbcnkBcPaPTciyJyTeGzEKfZebEedbdDKxBklbbBCGhveAdoJGjFGbxxuiLnZrjaATfiSviIFQTGqTzYWuIYpwSzVcIyinLImbWJXZYaQRNXaX faultCode 1200 faultString ['/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 Disabling GC/coalesce for None GC/coalesce re-enabled Disabling GC/coalesce for None GC/coalesce re-enabled not exists /sys/class/scsi_host/host0/fnic_state not exists /sys/class/scsi_host/host0/lpfc_fcp_class ok test_exotic_adapter_with_security_device (test_devscan.TestAdapters.test_exotic_adapter_with_security_device) ... ok test_no_adapters (test_devscan.TestAdapters.test_no_adapters) ... ok test_scanning_empty_sr (test_devscan.TestScan.test_scanning_empty_sr) ... ok test_scanning_sr_includes_parameters (test_devscan.TestScan.test_scanning_sr_includes_parameters) ... ok test_scanning_sr_with_devices (test_devscan.TestScan.test_scanning_sr_with_devices) ... ok test_whencalled_updates_dict (test_devscan.TestUpdateDevsDict.test_whencalled_updates_dict) ... ok test_whencalled_with_empty_key_does_not_update_dict (test_devscan.TestUpdateDevsDict.test_whencalled_with_empty_key_does_not_update_dict) ... ok test_double_lock_deadlock (test_fairlock.TestFairlock.test_double_lock_deadlock) Test double usage of the same lock ... ok test_first_lock (test_fairlock.TestFairlock.test_first_lock) Single lock, starts the service ... ok test_first_lock_timeout (test_fairlock.TestFairlock.test_first_lock_timeout) Single lock, starts the service but times out and raises exception ... ok test_second_lock (test_fairlock.TestFairlock.test_second_lock) Single lock, used for the second time (no service start) ... ok test_two_locks (test_fairlock.TestFairlock.test_two_locks) Test two different locks, one inside the other ... ok test_create_and_exists (test_fjournaler.TestFjournaler.test_create_and_exists) ... ok test_create_existing_error (test_fjournaler.TestFjournaler.test_create_existing_error) ... ok test_create_mulitple (test_fjournaler.TestFjournaler.test_create_mulitple) ... ok test_non_existing (test_fjournaler.TestFjournaler.test_non_existing) ... ok test_remove_non_existing_error (test_fjournaler.TestFjournaler.test_remove_non_existing_error) ... ok test_discovery_chap_success (test_iscsi.Test_iscsi.test_discovery_chap_success) ... ok test_discovery_success (test_iscsi.Test_iscsi.test_discovery_success) ... ok test_restart_daemon (test_iscsi.Test_iscsi.test_restart_daemon) ... ok test_restore_rootdisk_nodes (test_iscsi.Test_iscsi.test_restore_rootdisk_nodes) ... ok test_save_rootdisk_nodes (test_iscsi.Test_iscsi.test_save_rootdisk_nodes) ... ok test_generatekey_strong (test_keymanagerutil.TestKeymanagerutil.test_generatekey_strong) ... ok test_get_key_no_hash (test_keymanagerutil.TestKeymanagerutil.test_get_key_no_hash) ... ok test_get_key_unmatched (test_keymanagerutil.TestKeymanagerutil.test_get_key_unmatched) ... ok test_from_tapdisk_nbd (test_lcache.TestLcacheCachingTap.test_from_tapdisk_nbd) ... ok test_lock_acquire_noblock_release (test_lock.TestLock.test_lock_acquire_noblock_release) ... ok test_lock_acquire_noblock_twice_release (test_lock.TestLock.test_lock_acquire_noblock_twice_release) ... ok test_lock_acquire_release (test_lock.TestLock.test_lock_acquire_release) ... ok test_lock_acquire_then_noblock_release (test_lock.TestLock.test_lock_acquire_then_noblock_release) ... ok test_lock_acquire_twice_release (test_lock.TestLock.test_lock_acquire_twice_release) ... ok test_lock_file_create_fails_retried (test_lock.TestLock.test_lock_file_create_fails_retried) ... ok test_lock_noblock_then_acquire_release (test_lock.TestLock.test_lock_noblock_then_acquire_release) ... ok test_lock_with_namespace_creates_file (test_lock.TestLock.test_lock_with_namespace_creates_file) ... ok test_lock_with_namespace_creates_namespace (test_lock.TestLock.test_lock_with_namespace_creates_namespace) ... ok test_lock_without_namespace_creates_file (test_lock.TestLock.test_lock_without_namespace_creates_file) ... ok test_lock_without_namespace_creates_nil_namespace (test_lock.TestLock.test_lock_without_namespace_creates_nil_namespace) ... ok test_context_manager (test_lock_queue.Test_LockQueue.test_context_manager) ... ok test_context_manager_bad_entry (test_lock_queue.Test_LockQueue.test_context_manager_bad_entry) ... ok test_push_to_queue_3x (test_lock_queue.Test_LockQueue.test_push_to_queue_3x) ... ok test_add_multiple_volume_groups (test_lvmlib.TestLVSubSystem.test_add_multiple_volume_groups) ... ok test_add_volume_group (test_lvmlib.TestLVSubSystem.test_add_volume_group) ... ok test_dmsetup_is_mocked (test_lvmlib.TestLVSubSystem.test_dmsetup_is_mocked) ... ok test_fake_dmsetup_status_returns_zero (test_lvmlib.TestLVSubSystem.test_fake_dmsetup_status_returns_zero) ... ok test_fake_lvcreate_called_with_wrong_params (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_called_with_wrong_params) ... ok test_fake_lvcreate_creates_volume (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_creates_volume) ... ok test_fake_lvcreate_fails_if_no_volume_group_found (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_fails_if_no_volume_group_found) ... ok test_fake_lvcreate_inactive (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_inactive) ... ok test_fake_lvcreate_non_zeroed (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_non_zeroed) ... ok test_fake_lvcreate_with_tags (test_lvmlib.TestLVSubSystem.test_fake_lvcreate_with_tags) ... ok test_fake_lvremove (test_lvmlib.TestLVSubSystem.test_fake_lvremove) ... ok test_fake_lvremove_with_bad_params (test_lvmlib.TestLVSubSystem.test_fake_lvremove_with_bad_params) ... ok test_fake_lvremove_with_force (test_lvmlib.TestLVSubSystem.test_fake_lvremove_with_force) ... ok test_get_the_correct_volume (test_lvmlib.TestLVSubSystem.test_get_the_correct_volume) ... ok test_lvcreate_is_mocked (test_lvmlib.TestLVSubSystem.test_lvcreate_is_mocked) ... ok test_lvremove_is_mocked (test_lvmlib.TestLVSubSystem.test_lvremove_is_mocked) ... ok test_activate_noref_IO_error_reported (test_lvutil.TestActivate.test_activate_noref_IO_error_reported) ... ok test_activate_noref_metadata_error_retry (test_lvutil.TestActivate.test_activate_noref_metadata_error_retry) ... ok test_activate_noref_metadata_max_retries (test_lvutil.TestActivate.test_activate_noref_metadata_max_retries) ... ok test_activate_noref_norefresh (test_lvutil.TestActivate.test_activate_noref_norefresh) ... ok test_activate_noref_not_activated (test_lvutil.TestActivate.test_activate_noref_not_activated) ... ok test_create_creates_logical_volume_with_tags (test_lvutil.TestCreate.test_create_creates_logical_volume_with_tags) ... ok test_create_percentage_has_precedence_over_size (test_lvutil.TestCreate.test_create_percentage_has_precedence_over_size) ... ok test_create_volume_is_active (test_lvutil.TestCreate.test_create_volume_is_active) ... ok test_create_volume_is_in_the_right_volume_group (test_lvutil.TestCreate.test_create_volume_is_in_the_right_volume_group) ... ok test_create_volume_is_zeroed (test_lvutil.TestCreate.test_create_volume_is_zeroed) ... 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/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/scsi_host/* no glob /sys/class/scsi_host/* not exists /dev/disk/by-id 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 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 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 6:SM: Generated key, hash 4df4daba0ac9fcb5867c7c5eb2bcc7fbda64fb5b2d6481e9064b2a396e2a7169 6:SM: Keystore path /tmp/keystore.json not found Generated {'4df4daba0ac9fcb5867c7c5eb2bcc7fbda64fb5b2d6481e9064b2a396e2a7169': 'gj2fVC8rxXYHYx3rO3mSvTcKtYQ7ywLWDVO4hfs31Xc2bdE4dSVs/D6uIWBqzmF+zcuPCQG8zDgMHY+3Ettl3A=='} {"key_hash": "4df4daba0ac9fcb5867c7c5eb2bcc7fbda64fb5b2d6481e9064b2a396e2a7169"} 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', 'y', '--yes'] None not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'y', '--yes'] None not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'y', '--yes'] None not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'y', '--yes'] None ok test_create_volume_size (test_lvutil.TestCreate.test_create_volume_size) ... ok test_deactivate_noref_withbugcleanup (test_lvutil.TestDeactivate.test_deactivate_noref_withbugcleanup) ... ok test_deactivate_noref_withbugcleanup_retry (test_lvutil.TestDeactivate.test_deactivate_noref_withbugcleanup_retry) ... ok test_deactivate_noref_withbugcleanup_retry_fail (test_lvutil.TestDeactivate.test_deactivate_noref_withbugcleanup_retry_fail) ... ok test_deactivate_noref_withnobugcleanup (test_lvutil.TestDeactivate.test_deactivate_noref_withnobugcleanup) ... ok test_check_PV_SCSI_IDs_failure (test_lvutil.TestGetPVsInVG.test_check_PV_SCSI_IDs_failure) ... ok test_check_PV_SCSI_IDs_success (test_lvutil.TestGetPVsInVG.test_check_PV_SCSI_IDs_success) ... ok test_command_error (test_lvutil.TestGetPVsInVG.test_command_error) ... ok test_no_pvs (test_lvutil.TestGetPVsInVG.test_no_pvs) ... ok test_no_pvs_in_vg (test_lvutil.TestGetPVsInVG.test_no_pvs_in_vg) ... ok test_pvs_in_vg (test_lvutil.TestGetPVsInVG.test_pvs_in_vg) ... ok test_command_error (test_lvutil.TestGetPVsWithUUID.test_command_error) ... ok test_no_pvs (test_lvutil.TestGetPVsWithUUID.test_no_pvs) ... ok test_no_pvs_match_uuid (test_lvutil.TestGetPVsWithUUID.test_no_pvs_match_uuid) ... ok test_pv_match_uuid (test_lvutil.TestGetPVsWithUUID.test_pv_match_uuid) ... ok test_remove_additional_config_param (test_lvutil.TestRemove.test_remove_additional_config_param) ... ok test_remove_removes_volume (test_lvutil.TestRemove.test_remove_removes_volume) ... ok test_args_are_passed_to_pread (test_lvutil.Test_cmd_lvm.test_args_are_passed_to_pread) ... ok test_output_is_returned (test_lvutil.Test_cmd_lvm.test_output_is_returned) ... ok test_refuse_to_run_empty_list (test_lvutil.Test_cmd_lvm.test_refuse_to_run_empty_list) ... ok test_refuse_to_run_none_list (test_lvutil.Test_cmd_lvm.test_refuse_to_run_none_list) ... ok test_refuse_to_run_not_whitelisted_command (test_lvutil.Test_cmd_lvm.test_refuse_to_run_not_whitelisted_command) ... ok test_refuse_to_run_with_non_string_args (test_lvutil.Test_cmd_lvm.test_refuse_to_run_with_non_string_args) ... ok test_warning_if_cmd_takes_too_long (test_lvutil.Test_cmd_lvm.test_warning_if_cmd_takes_too_long) ... ok test_activate_active_iscsi_success (test_mpath_dmp.TestMpathDmp.test_activate_active_iscsi_success) MPATH activate, active iscsi, success ... ok test_activate_exists_success (test_mpath_dmp.TestMpathDmp.test_activate_exists_success) Test that activate MPDev works if directory exists ... ok test_activate_iscsi_no_targets_success (test_mpath_dmp.TestMpathDmp.test_activate_iscsi_no_targets_success) MPATH activate, iscsi, no_targets, success ... ok test_activate_no_exception (test_mpath_dmp.TestMpathDmp.test_activate_no_exception) Test that activate MPDev works if directory does not exist ... ok test_activate_noiscsi_mpath_not_working (test_mpath_dmp.TestMpathDmp.test_activate_noiscsi_mpath_not_working) MPATH activate, mpath not running ... ok test_activate_noiscsi_start_mpath (test_mpath_dmp.TestMpathDmp.test_activate_noiscsi_start_mpath) MPATH activate, no iscsi, start mpath ... ok test_activate_noiscsi_success (test_mpath_dmp.TestMpathDmp.test_activate_noiscsi_success) MPATH activate, no iscsi, success ... ok test_activate_permission_denied (test_mpath_dmp.TestMpathDmp.test_activate_permission_denied) Test that activate MPDev works if mkdir returns permission denied ... ok test_deactivate_mpath_no_iscsi_targets (test_mpath_dmp.TestMpathDmp.test_deactivate_mpath_no_iscsi_targets) MPATH deactivate, running, success ... ok test_deactivate_mpath_root (test_mpath_dmp.TestMpathDmp.test_deactivate_mpath_root) MPATH deactivate, mpathed root ... ok test_deactivate_mpath_running (test_mpath_dmp.TestMpathDmp.test_deactivate_mpath_running) MPATH deactivate, running, success ... ok test_is_valid_multipath_device (test_mpath_dmp.TestMpathDmp.test_is_valid_multipath_device) Tests for checking validity of multipath device ... ok test_refresh_dmp_device_not_found (test_mpath_dmp.TestMpathDmp.test_refresh_dmp_device_not_found) Test refresh DMP device not found ... ok test_refresh_dmp_reload_required (test_mpath_dmp.TestMpathDmp.test_refresh_dmp_reload_required) Test refresh DMP device reload ... ok test_refresh_dmp_success (test_mpath_dmp.TestMpathDmp.test_refresh_dmp_success) ... ok test_refresh_no_sid (test_mpath_dmp.TestMpathDmp.test_refresh_no_sid) ... ok test_refresh_path_exists (test_mpath_dmp.TestMpathDmp.test_refresh_path_exists) ... ok test_refresh_refresh_error (test_mpath_dmp.TestMpathDmp.test_refresh_refresh_error) ... ok test_refresh_refresh_scsi (test_mpath_dmp.TestMpathDmp.test_refresh_refresh_scsi) ... ok test_reset_device_not_found (test_mpath_dmp.TestMpathDmp.test_reset_device_not_found) ... ok test_reset_flush_error (test_mpath_dmp.TestMpathDmp.test_reset_flush_error) ... ok test_check_devconfig (test_mpathcount.TestMpathCount.test_check_devconfig) ... ok test_check_root_disk (test_mpathcount.TestMpathCount.test_check_root_disk) ... ok test_check_xapi_enabled_no (test_mpathcount.TestMpathCount.test_check_xapi_enabled_no) ... ok test_check_xapi_enabled_yes (test_mpathcount.TestMpathCount.test_check_xapi_enabled_yes) ... ok test_exit_log_out_error (test_mpathcount.TestMpathCount.test_exit_log_out_error) ... ok test_exit_logs_out (test_mpathcount.TestMpathCount.test_exit_logs_out) ... ok test_exit_no_session (test_mpathcount.TestMpathCount.test_exit_no_session) ... ok test_get_path_count (test_mpathcount.TestMpathCount.test_get_path_count) ... ok test_get_root_dev_major (test_mpathcount.TestMpathCount.test_get_root_dev_major) ... ok test_update_config (test_mpathcount.TestMpathCount.test_update_config) ... ok test_check_server_service (test_nfs.Test_nfs.test_check_server_service) ... ok test_check_server_service_exception (test_nfs.Test_nfs.test_check_server_service_exception) ... ok test_check_server_service_first_call_exception (test_nfs.Test_nfs.test_check_server_service_first_call_exception) ... ok test_check_server_service_not_available (test_nfs.Test_nfs.test_check_server_service_not_available) ... ok test_check_server_service_with_retries (test_nfs.Test_nfs.test_check_server_service_with_retries) ... ok test_check_server_tcp (test_nfs.Test_nfs.test_check_server_tcp) ... ok test_check_server_tcp_nfsversion (test_nfs.Test_nfs.test_check_server_tcp_nfsversion) ... ok test_check_server_tcp_nfsversion_error (test_nfs.Test_nfs.test_check_server_tcp_nfsversion_error) ... ok test_get_supported_nfs_versions (test_nfs.Test_nfs.test_get_supported_nfs_versions) ... ok test_get_supported_nfs_versions_nov4 (test_nfs.Test_nfs.test_get_supported_nfs_versions_nov4) ... ok test_get_supported_nfs_versions_rpc_nov4 (test_nfs.Test_nfs.test_get_supported_nfs_versions_rpc_nov4) ... ok test_scan_exports (test_nfs.Test_nfs.test_scan_exports) ... ok test_soft_mount (test_nfs.Test_nfs.test_soft_mount) ... ok test_soft_mount_ipv6 (test_nfs.Test_nfs.test_soft_mount_ipv6) ... ok test_soft_mount_nfsversion_3 (test_nfs.Test_nfs.test_soft_mount_nfsversion_3) ... ok test_soft_mount_nfsversion_4 (test_nfs.Test_nfs.test_soft_mount_nfsversion_4) ... ok test_validate_nfsversion_default (test_nfs.Test_nfs.test_validate_nfsversion_default) ... ok test_validate_nfsversion_invalid (test_nfs.Test_nfs.test_validate_nfsversion_invalid) ... ok test_validate_nfsversion_unsupported (test_nfs.Test_nfs.test_validate_nfsversion_unsupported) ... ok test_validate_nfsversion_valid (test_nfs.Test_nfs.test_validate_nfsversion_valid) ... ok test_is_open_false (test_on_slave.Test_on_slave_is_open.test_is_open_false) VDI is not open ... ok test_is_open_lvm_success (test_on_slave.Test_on_slave_is_open.test_is_open_lvm_success) LVM srs are uplifted to lvhd ... ok test_is_open_nfssr_success (test_on_slave.Test_on_slave_is_open.test_is_open_nfssr_success) VDI is open ... ok test_is_open_xapi_exception (test_on_slave.Test_on_slave_is_open.test_is_open_xapi_exception) Exceptions from is_open are logged ... ok test_multi_bad_operation (test_on_slave.Test_on_slave_multi.test_multi_bad_operation) ... ok test_multi_refresh_on_slaves (test_on_slave.Test_on_slave_multi.test_multi_refresh_on_slaves) ... ok test_multi_refresh_on_slaves_activate_error (test_on_slave.Test_on_slave_multi.test_multi_refresh_on_slaves_activate_error) ... ok test_multi_refresh_on_slaves_deactivate_error (test_on_slave.Test_on_slave_multi.test_multi_refresh_on_slaves_deactivate_error) ... ok test_multi_refresh_on_slaves_refresh_error (test_on_slave.Test_on_slave_multi.test_multi_refresh_on_slaves_refresh_error) ... ok test_multi_rename_deactivate_error (test_on_slave.Test_on_slave_multi.test_multi_rename_deactivate_error) ... ok test_multi_rename_refresh_error (test_on_slave.Test_on_slave_multi.test_multi_rename_refresh_error) ... ok test_multi_undo_leaf_coalesce (test_on_slave.Test_on_slave_multi.test_multi_undo_leaf_coalesce) ... ok test_multi_update_slave_rename (test_on_slave.Test_on_slave_multi.test_multi_update_slave_rename) ... ok test_multi_vdi_inactive (test_on_slave.Test_on_slave_multi.test_multi_vdi_inactive) ... ok test_refresh_failed (test_on_slave.Test_on_slave_refresh_lun.test_refresh_failed) Refresh scsi lun size fails ... ok test_refresh_success (test_on_slave.Test_on_slave_refresh_lun.test_refresh_success) Successfully refresh scsi lun size ... ok test_get_whencalled_creates_namespace (test_refcounter.TestRefCounter.test_get_whencalled_creates_namespace) ... ok test_get_whencalled_creates_refcounter_file (test_refcounter.TestRefCounter.test_get_whencalled_creates_refcounter_file) ... ok test_get_whencalled_refcounter_file_contents (test_refcounter.TestRefCounter.test_get_whencalled_refcounter_file_contents) ... ok test_get_whencalled_returns_counters (test_refcounter.TestRefCounter.test_get_whencalled_returns_counters) ... ok test_put_is_noop_if_already_zero (test_refcounter.TestRefCounter.test_put_is_noop_if_already_zero) ... ok test_removeObject_ignores_if_directory_already_removed (test_refcounter.TestRefCounter.test_removeObject_ignores_if_directory_already_removed) ... ok test_removeObject_ignores_if_directory_not_empty (test_refcounter.TestRefCounter.test_removeObject_ignores_if_directory_not_empty) ... ok test_writeCount_returns_false_if_file_not_found (test_refcounter.TestRefCounter.test_writeCount_returns_false_if_file_not_found) ... ok test_writeCount_returns_true_if_file_found (test_refcounter.TestRefCounter.test_writeCount_returns_true_if_file_found) ... ok test_get_size_exists_success (test_scsiutil.TestScsiUtil.test_get_size_exists_success) ... ok test_get_size_mapper_exists_success (test_scsiutil.TestScsiUtil.test_get_size_mapper_exists_success) ... ok test_get_size_not_exists_0 (test_scsiutil.TestScsiUtil.test_get_size_not_exists_0) ... ok test_lun_is_not_thin_provisioned (test_scsiutil.TestScsiUtil.test_lun_is_not_thin_provisioned) ... ok test_lun_is_thin_provisioned (test_scsiutil.TestScsiUtil.test_lun_is_thin_provisioned) ... ok test_lun_is_thin_provisioned_not_found (test_scsiutil.TestScsiUtil.test_lun_is_thin_provisioned_not_found) ... ok test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap.test_capacity_data_changed_rc6) ... ok test_refreshdev (test_scsiutil.Test_sg_readcap.test_refreshdev) ... ok test_sg_readcap_10 (test_scsiutil.Test_sg_readcap.test_sg_readcap_10) ... ok test_sg_readcap_16 (test_scsiutil.Test_sg_readcap.test_sg_readcap_16) ... ok test_check_xapi_enabled_no (test_sr_health_check.TestSrHealthCheck.test_check_xapi_enabled_no) ... ok test_health_check_no_local_pbd (test_sr_health_check.TestSrHealthCheck.test_health_check_no_local_pbd) ... ok test_health_check_no_srs (test_sr_health_check.TestSrHealthCheck.test_health_check_no_srs) ... ok test_health_check_run_sr_check (test_sr_health_check.TestSrHealthCheck.test_health_check_run_sr_check) ... ok test_health_check_sr_not_plugged (test_sr_health_check.TestSrHealthCheck.test_health_check_sr_not_plugged) ... ok test_CA383791 (test_srmetadata.TestLVMMetadataHandler.test_CA383791) ... ok test_addVdi (test_srmetadata.TestLVMMetadataHandler.test_addVdi) ... ok test_addVdi_reuses_deleted_slot (test_srmetadata.TestLVMMetadataHandler.test_addVdi_reuses_deleted_slot) ... ok test_deleteVdiFromMetadata (test_srmetadata.TestLVMMetadataHandler.test_deleteVdiFromMetadata) ... ok test_deleteVdiFromMetadata_shinks_metadata (test_srmetadata.TestLVMMetadataHandler.test_deleteVdiFromMetadata_shinks_metadata) ... ok test_long_names_truncated (test_srmetadata.TestLVMMetadataHandler.test_long_names_truncated) ... ok test_long_non_ascii_names_truncated (test_srmetadata.TestLVMMetadataHandler.test_long_non_ascii_names_truncated) ... ok test_updateMetadata_SR (test_srmetadata.TestLVMMetadataHandler.test_updateMetadata_SR) ... ok test_updateMetadata_VDI (test_srmetadata.TestLVMMetadataHandler.test_updateMetadata_VDI) ... ok test_writeMetadata_getMetadata_roundtrip (test_srmetadata.TestLVMMetadataHandler.test_writeMetadata_getMetadata_roundtrip) ... ok test_buildHeader_unpackHeader_roundTrip (test_srmetadata.TestSRMetadataFunctions.test_buildHeader_unpackHeader_roundTrip) ... ok test_buildXMLSector (test_srmetadata.TestSRMetadataFunctions.test_buildXMLSector) ... ok test_getMetadataLength (test_srmetadata.TestSRMetadataFunctions.test_getMetadataLength) ... ok test_unpackHeader (test_srmetadata.TestSRMetadataFunctions.test_unpackHeader) ... ok test_unpackHeader_bad (test_srmetadata.TestSRMetadataFunctions.test_unpackHeader_bad) ... ok test_unpackHeader_empty (test_srmetadata.TestSRMetadataFunctions.test_unpackHeader_empty) ... ok test_updateLengthInHeader_getMetadataLength_roundtrip (test_srmetadata.TestSRMetadataFunctions.test_updateLengthInHeader_getMetadataLength_roundtrip) ... ok test_install_with_ext (test_storage_init.TestStorageInit.test_install_with_ext) ... Initialising disk /dev/sda4... * Erasing any filesystems on volume Complete. Initialising disk /dev/sdb... * Erasing any filesystems on volume Complete. ok test_install_with_lvm (test_storage_init.TestStorageInit.test_install_with_lvm) ... Initialising disk /dev/sda... * Erasing any filesystems on volume Complete. ok test_install_with_other_sr_type (test_storage_init.TestStorageInit.test_install_with_other_sr_type) ... Initialising disk /dev/sda4... * Erasing any filesystems on volume Complete. Initialising disk /dev/sdb... * Erasing any filesystems on volume Complete. Initialising disk /dev/sdc... * Erasing any filesystems on volume Complete. ok test_returns_multiple_items_for_path (test_testlib.TestFilesystemFor.test_returns_multiple_items_for_path) ... ok test_returns_single_item_for_root (test_testlib.TestFilesystemFor.test_returns_single_item_for_root) ... ok test_adapter_adds_scsi_host_entry (test_testlib.TestTestContext.test_adapter_adds_scsi_host_entry) ... ok test_add_disk_adds_device (test_testlib.TestTestContext.test_add_disk_adds_device) ... ok test_add_disk_adds_disk_by_id_entry (test_testlib.TestTestContext.test_add_disk_adds_disk_by_id_entry) ... ok test_add_disk_adds_glob (test_testlib.TestTestContext.test_add_disk_adds_glob) ... ok test_add_disk_adds_scsi_disk_entry (test_testlib.TestTestContext.test_add_disk_adds_scsi_disk_entry) ... ok test_add_disk_adds_scsibus_entry (test_testlib.TestTestContext.test_add_disk_adds_scsibus_entry) ... ok test_add_disk_path_exists (test_testlib.TestTestContext.test_add_disk_path_exists) ... ok test_add_parameter_parameter_file_contents (test_testlib.TestTestContext.test_add_parameter_parameter_file_contents) ... ok test_add_parameter_parameter_file_exists (test_testlib.TestTestContext.test_add_parameter_parameter_file_exists) ... ok test_context_stops_mocking_on_failures (test_testlib.TestTestContext.test_context_stops_mocking_on_failures) ... ok test_default_inventory (test_testlib.TestTestContext.test_default_inventory) ... ok test_executable_shows_up_on_filesystem (test_testlib.TestTestContext.test_executable_shows_up_on_filesystem) ... ok test_exists_returns_false_for_non_existing (test_testlib.TestTestContext.test_exists_returns_false_for_non_existing) ... ok test_exists_returns_true_for_root (test_testlib.TestTestContext.test_exists_returns_true_for_root) ... ok test_fake_open_logged (test_testlib.TestTestContext.test_fake_open_logged) ... ok test_file_returns_an_object_with_fileno_callable (test_testlib.TestTestContext.test_file_returns_an_object_with_fileno_callable) ... ok test_filenos_are_unique (test_testlib.TestTestContext.test_filenos_are_unique) ... ok test_generate_inventory_file (test_testlib.TestTestContext.test_generate_inventory_file) ... ok test_get_created_directories (test_testlib.TestTestContext.test_get_created_directories) ... ok test_glob_requests_logged (test_testlib.TestTestContext.test_glob_requests_logged) ... ok test_inventory (test_testlib.TestTestContext.test_inventory) ... ok test_makedirs_mocked_out (test_testlib.TestTestContext.test_makedirs_mocked_out) ... ok test_makedirs_raises_if_exists (test_testlib.TestTestContext.test_makedirs_raises_if_exists) ... ok test_modinfo (test_testlib.TestTestContext.test_modinfo) ... ok test_popen_raises_error (test_testlib.TestTestContext.test_popen_raises_error) ... ok test_rmdir_is_replaced_with_a_fake (test_testlib.TestTestContext.test_rmdir_is_replaced_with_a_fake) ... ok test_rmdir_raises_error_if_dir_not_found (test_testlib.TestTestContext.test_rmdir_raises_error_if_dir_not_found) ... ok test_rmdir_raises_exception_if_dir_is_not_empty (test_testlib.TestTestContext.test_rmdir_raises_exception_if_dir_is_not_empty) ... ok test_rmdir_removes_dir_if_found (test_testlib.TestTestContext.test_rmdir_removes_dir_if_found) ... ok test_stat_does_not_fail_with_existing_file (test_testlib.TestTestContext.test_stat_does_not_fail_with_existing_file) ... ok test_stat_nonexistent_file_throws_oserror (test_testlib.TestTestContext.test_stat_nonexistent_file_throws_oserror) ... ok test_subprocess_execution (test_testlib.TestTestContext.test_subprocess_execution) ... ok test_uname_default_kernel_version (test_testlib.TestTestContext.test_uname_default_kernel_version) ... ok test_uname_explicitly_defined (test_testlib.TestTestContext.test_uname_explicitly_defined) ... ok test_write_a_file (test_testlib.TestTestContext.test_write_a_file) ... ok test_write_a_file_in_non_existing_dir (test_testlib.TestTestContext.test_write_a_file_in_non_existing_dir) ... ok test_assertXML_doesn_t_care_about_spaces (test_testlib.TestXmlMixIn.test_assertXML_doesn_t_care_about_spaces) ... ok test_do_trim_blkdiscard_error_not_ioctl (test_trim_util.TestTrimUtil.test_do_trim_blkdiscard_error_not_ioctl) ... ok test_do_trim_creates_an_lv (test_trim_util.TestTrimUtil.test_do_trim_creates_an_lv) ... ok test_do_trim_error_code_trim_not_supported (test_trim_util.TestTrimUtil.test_do_trim_error_code_trim_not_supported) ... ok test_do_trim_ioctl_not_supported (test_trim_util.TestTrimUtil.test_do_trim_ioctl_not_supported) ... ok test_do_trim_lock_released_even_if_exception_raised (test_trim_util.TestTrimUtil.test_do_trim_lock_released_even_if_exception_raised) ... ok test_do_trim_releases_lock (test_trim_util.TestTrimUtil.test_do_trim_releases_lock) ... ok test_do_trim_removes_lv_no_leftover_trim_vol (test_trim_util.TestTrimUtil.test_do_trim_removes_lv_no_leftover_trim_vol) ... ok test_do_trim_removes_lv_with_leftover_trim_vol (test_trim_util.TestTrimUtil.test_do_trim_removes_lv_with_leftover_trim_vol) ... ok test_do_trim_returns_exception_when_sr_full (test_trim_util.TestTrimUtil.test_do_trim_returns_exception_when_sr_full) ... ok test_do_trim_sleeps_a_sec_and_retries_three_times (test_trim_util.TestTrimUtil.test_do_trim_sleeps_a_sec_and_retries_three_times) ... ok test_do_trim_unable_to_obtain_lock_on_sr (test_trim_util.TestTrimUtil.test_do_trim_unable_to_obtain_lock_on_sr) ... ok test_do_trim_when_exception_then_returns_generic_err (test_trim_util.TestTrimUtil.test_do_trim_when_exception_then_returns_generic_err) ... ok test_do_trim_when_trim_succeeded_returns_true (test_trim_util.TestTrimUtil.test_do_trim_when_trim_succeeded_returns_true) ... ok test_log_last_triggered_exc_logged (test_trim_util.TestTrimUtil.test_log_last_triggered_exc_logged) ... ok test_log_last_triggered_has_key (test_trim_util.TestTrimUtil.test_log_last_triggered_has_key) ... ok test_log_last_triggered_no_key (test_trim_util.TestTrimUtil.test_log_last_triggered_no_key) ... ok test_vdi_succeeds_if_vdi_location_not_in_params_dictionary (test_udevSR.TestVdi.test_vdi_succeeds_if_vdi_location_not_in_params_dictionary) ... ok test_doexec_success (test_util.TestCoreUtil.test_doexec_success) ... ok test_retry_retry_unsuccessful (test_util.TestCoreUtil.test_retry_retry_unsuccessful) ... ok test_retry_success (test_util.TestCoreUtil.test_retry_success) ... ok test_retry_success_after_retry (test_util.TestCoreUtil.test_retry_success_after_retry) ... ok test_test_host_addrinfo_failure (test_util.TestCoreUtil.test_test_host_addrinfo_failure) ... ok test_test_host_connect_failure (test_util.TestCoreUtil.test_test_host_connect_failure) ... ok test_test_host_success (test_util.TestCoreUtil.test_test_host_success) ... ok test_activate_not_active (test_util.TestFistPoints.test_activate_not_active) ... ok test_activate_not_exit (test_util.TestFistPoints.test_activate_not_exit) ... ok test_activate_unknown (test_util.TestFistPoints.test_activate_unknown) ... ok test_decr_iscsi_refcount_noref (test_util.TestSMUtil.test_decr_iscsi_refcount_noref) ... ok test_decr_iscsi_refcount_one_left (test_util.TestSMUtil.test_decr_iscsi_refcount_one_left) ... ok test_decr_iscsi_refcount_to_zero (test_util.TestSMUtil.test_decr_iscsi_refcount_to_zero) ... ok test_find_running_process (test_util.TestSMUtil.test_find_running_process) ... ok test_get_all_slaves_none (test_util.TestSMUtil.test_get_all_slaves_none) ... ok test_get_all_slaves_one_offline (test_util.TestSMUtil.test_get_all_slaves_one_offline) ... ok test_get_all_slaves_one_online (test_util.TestSMUtil.test_get_all_slaves_one_online) ... ok test_get_driver_info_no_atomic_pause (test_util.TestSMUtil.test_get_driver_info_no_atomic_pause) ... ok test_get_fs_size (test_util.TestSMUtil.test_get_fs_size) ... ok test_get_fs_utilisation (test_util.TestSMUtil.test_get_fs_utilisation) ... ok test_get_slaves_attached (test_util.TestSMUtil.test_get_slaves_attached) ... ok test_get_slaves_attached_on_master_only (test_util.TestSMUtil.test_get_slaves_attached_on_master_only) ... ok test_get_slaves_attached_on_none (test_util.TestSMUtil.test_get_slaves_attached_on_none) ... ok test_get_sr_capability (test_util.TestSMUtil.test_get_sr_capability) ... ok test_get_sr_capability_none (test_util.TestSMUtil.test_get_sr_capability_none) ... ok test_host_connect_failure (test_util.TestSMUtil.test_host_connect_failure) ... ok test_host_dns_lookup_failure (test_util.TestSMUtil.test_host_dns_lookup_failure) ... ok test_host_success (test_util.TestSMUtil.test_host_success) ... ok test_incr_iscsi_refcount_already_present (test_util.TestSMUtil.test_incr_iscsi_refcount_already_present) ... ok test_incr_iscsi_refcount_no_dir (test_util.TestSMUtil.test_incr_iscsi_refcount_no_dir) ... ok test_incr_iscsi_refcount_one_existing (test_util.TestSMUtil.test_incr_iscsi_refcount_one_existing) ... ok test_io_retry_retries_failure (test_util.TestSMUtil.test_io_retry_retries_failure) ... ok test_io_retry_retries_success (test_util.TestSMUtil.test_io_retry_retries_success) ... ok test_io_return_not_handled_commandexception (test_util.TestSMUtil.test_io_return_not_handled_commandexception) ... ok test_io_return_not_handled_oserror (test_util.TestSMUtil.test_io_return_not_handled_oserror) ... ok test_ioretry_stat_retries_failure (test_util.TestSMUtil.test_ioretry_stat_retries_failure) ... ok test_ioretry_stat_retries_success (test_util.TestSMUtil.test_ioretry_stat_retries_success) ... ok test_ioretry_stat_success_no_retry (test_util.TestSMUtil.test_ioretry_stat_success_no_retry) ... ok test_iotry_success (test_util.TestSMUtil.test_iotry_success) ... ok test_return_nil (test_util.TestSMUtil.test_return_nil) ... ok test_unictrunc (test_util.TestSMUtil.test_unictrunc) ... ok test_zero_out_misaligned_blocks (test_util.TestSMUtil.test_zero_out_misaligned_blocks) ... ok test_zero_out_small_block (test_util.TestSMUtil.test_zero_out_small_block) ... ok test_zero_out_two_aligned_blocks (test_util.TestSMUtil.test_zero_out_two_aligned_blocks) ... ok test_atomicFileWrite_exception (test_utils.TestCreate.test_atomicFileWrite_exception) ... ok test_atomicFileWrite_normal (test_utils.TestCreate.test_atomicFileWrite_normal) ... ok test_env_concatenated (test_utils.TestCreate.test_env_concatenated) ... ok test_calc_overhead_bitmap_extra_block (test_vhdutil.TestVhdUtil.test_calc_overhead_bitmap_extra_block) ... ok test_calc_overhead_bitmap_round_blocks (test_vhdutil.TestVhdUtil.test_calc_overhead_bitmap_round_blocks) ... ok test_calc_overhead_empty_max (test_vhdutil.TestVhdUtil.test_calc_overhead_empty_max) ... ok test_calc_overhead_empty_small (test_vhdutil.TestVhdUtil.test_calc_overhead_empty_small) ... ok test_coalesce_no_sector_count (test_vhdutil.TestVhdUtil.test_coalesce_no_sector_count) ... ok test_coalesce_with_sector_count (test_vhdutil.TestVhdUtil.test_coalesce_with_sector_count) ... ok test_create_non_static (test_vhdutil.TestVhdUtil.test_create_non_static) ... ok test_create_preallocate (test_vhdutil.TestVhdUtil.test_create_preallocate) ... ok test_create_static (test_vhdutil.TestVhdUtil.test_create_static) ... ok test_get_allocated_size (test_vhdutil.TestVhdUtil.test_get_allocated_size) ... ok test_get_block_bitmap (test_vhdutil.TestVhdUtil.test_get_block_bitmap) ... ok test_get_size_virt (test_vhdutil.TestVhdUtil.test_get_size_virt) ... ok test_get_vhd_info_allocated_size (test_vhdutil.TestVhdUtil.test_get_vhd_info_allocated_size) ... ok test_set_size_virt (test_vhdutil.TestVhdUtil.test_set_size_virt) ... ok test_set_size_virt_fast (test_vhdutil.TestVhdUtil.test_set_size_virt_fast) ... ok test_snapshot_nocheck_empty (test_vhdutil.TestVhdUtil.test_snapshot_nocheck_empty) ... ok test_snapshot_normal (test_vhdutil.TestVhdUtil.test_snapshot_normal) ... ok test_snapshot_preallocate (test_vhdutil.TestVhdUtil.test_snapshot_preallocate) ... ok test_snapshot_raw_parent (test_vhdutil.TestVhdUtil.test_snapshot_raw_parent) ... ok test_validate_and_round_max_size (test_vhdutil.TestVhdUtil.test_validate_and_round_max_size) ... ok test_validate_and_round_min_size (test_vhdutil.TestVhdUtil.test_validate_and_round_min_size) ... ok test_validate_and_round_negative (test_vhdutil.TestVhdUtil.test_validate_and_round_negative) ... ok test_validate_and_round_odd_size_up_to_next_boundary (test_vhdutil.TestVhdUtil.test_validate_and_round_odd_size_up_to_next_boundary) ... ok test_validate_and_round_too_large (test_vhdutil.TestVhdUtil.test_validate_and_round_too_large) ... ok test_without_xml_defs (test_xs_errors.TestXenError.test_without_xml_defs) ... ok test_xml_defs (test_xs_errors.TestXenError.test_xml_defs) ... ok ---------------------------------------------------------------------- Ran 760 tests in 35.707s OK not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'y', '--yes'] None not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo lvremove ['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo not exists /usr/share/locale/C.UTF-8/LC_MESSAGES/messages.mo ['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None Exists /dev/disk/by-id/scsi-360a98000534b4f4e46704f5270674d70 Exists libs/sm/core/XE_SR_ERRORCODES.xml del mpath-3600a098038303973743f486833396d40 del multipathed Asked to import sm Asked to import sm Asked to import sm.drivers Asked to import sm.drivers Asked to import sm.drivers Asked to import sm Asked to import sm Asked to import sm Asked to import sm.drivers Asked to import sm.drivers Asked to import sm.drivers Asked to import sm Asked to import sm Asked to import sm Asked to import sm.drivers Asked to import sm.drivers Asked to import sm.drivers Asked to import sm Asked to import sm Asked to import sm Asked to import sm.drivers Asked to import sm.drivers Asked to import sm.drivers Asked to import sm Recursively created directory /run/sm/refcount Recursively created directory /run/sm/refcount/somenamespace Recursively created directory /run/sm/refcount Recursively created directory /run/sm/refcount/somenamespace Recursively created directory /run/sm/refcount Recursively created directory /run/sm/refcount/somenamespace Recursively created directory /run/sm/refcount Recursively created directory /run/sm/refcount/somenamespace Recursively created directory /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-4.1.12/libs/sm/trim_util.py Test coverage /builddir/build/BUILD/sm-4.1.12/tests/test_SMBSR.py:139: SyntaxWarning: invalid escape sequence '\j' smbsr = self.create_smbsr(username="citrix\jsmith", dconf_update={"password": "winter2019"}) :139: SyntaxWarning: invalid escape sequence '\j' /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:47: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"cifspassword": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:57: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"password": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:93: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:107: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:119: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:124: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:130: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:135: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") :47: SyntaxWarning: invalid escape sequence '\j' :57: SyntaxWarning: invalid escape sequence '\j' :93: SyntaxWarning: invalid escape sequence '\j' :107: SyntaxWarning: invalid escape sequence '\j' :119: SyntaxWarning: invalid escape sequence '\g' :124: SyntaxWarning: invalid escape sequence '\<' :130: SyntaxWarning: invalid escape sequence '\g' :135: SyntaxWarning: invalid escape sequence '\<' /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:363: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:373: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) :363: SyntaxWarning: invalid escape sequence '\S' :373: SyntaxWarning: invalid escape sequence '\S' Name Stmts Miss Branch BrPart Cover Missing ----------------------------------------------------------------------------- tests/lvmlib.py 94 0 18 0 100% tests/shared_iscsi_test_base.py 33 0 2 0 100% tests/test_BaseISCSI.py 75 0 10 0 100% tests/test_FileSR.py 461 0 148 0 100% tests/test_HBASR.py 169 0 78 0 100% tests/test_ISCSISR.py 116 0 34 0 100% tests/test_ISOSR.py 387 0 342 0 100% tests/test_LVHDSR.py 404 0 138 0 100% tests/test_LVHDoHBASR.py 88 0 28 0 100% tests/test_LVHDoISCSISR.py 140 0 20 0 100% tests/test_NFSSR.py 179 0 164 0 100% tests/test_SMBSR.py 243 0 172 0 100% tests/test_SR.py 51 0 20 0 100% tests/test_SRCommand.py 89 0 56 0 100% tests/test_blktap2.py 684 0 156 0 100% tests/test_cbt.py 563 0 310 0 100% tests/test_cbtutil.py 37 0 14 0 100% tests/test_cifutils.py 164 0 12 0 100% tests/test_cleanup.py 1115 0 382 0 100% tests/test_devscan.py 73 0 16 0 100% tests/test_fairlock.py 67 0 14 0 100% tests/test_fjournaler.py 94 0 6 0 100% tests/test_iscsi.py 44 0 44 0 100% tests/test_keymanagerutil.py 64 0 14 0 100% tests/test_lcache.py 11 0 0 0 100% tests/test_lock.py 120 0 24 0 100% tests/test_lock_queue.py 54 0 42 0 100% tests/test_lvmlib.py 110 0 0 0 100% tests/test_lvutil.py 282 0 111 0 100% tests/test_mpath_dmp.py 246 0 172 0 100% tests/test_mpathcount.py 146 0 42 0 100% tests/test_nfs.py 134 0 98 0 100% tests/test_on_slave.py 200 0 28 0 100% tests/test_refcounter.py 62 0 32 0 100% tests/test_scsiutil.py 106 0 16 0 100% tests/test_sr_health_check.py 56 0 2 0 100% tests/test_srmetadata.py 275 0 50 0 100% tests/test_storage_init.py 152 0 16 0 100% tests/test_testlib.py 221 0 66 0 100% tests/test_trim_util.py 191 0 158 0 100% tests/test_udevSR.py 17 0 6 0 100% tests/test_util.py 502 0 60 0 100% tests/test_utils.py 61 0 38 0 100% tests/test_vhdutil.py 179 0 44 0 100% tests/test_xs_errors.py 15 0 6 0 100% tests/testlib.py 285 0 88 0 100% ----------------------------------------------------------------------------- TOTAL 8859 0 3297 0 100% Code coverage /builddir/build/BUILD/sm-4.1.12/libs/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' "(\). {} were given." :63: SyntaxWarning: invalid escape sequence '\<' /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' m = re.match("\D+(\d+)", partition) /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' numlen = len(re.match("\d+", partition[::-1]).group(0)) + 1 :1082: SyntaxWarning: invalid escape sequence '\D' :1093: SyntaxWarning: invalid escape sequence '\d' /builddir/build/BUILD/sm-4.1.12/libs/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' m = re.match(".*Disk type\s+: (\S+) hard disk.*", ret, flags=re.S) :206: SyntaxWarning: invalid escape sequence '\s' :63: SyntaxWarning: invalid escape sequence '\<' :1082: SyntaxWarning: invalid escape sequence '\D' :1093: SyntaxWarning: invalid escape sequence '\d' :206: SyntaxWarning: invalid escape sequence '\s' Wrote HTML report to htmlcov/index.html /builddir/build/BUILD/sm-4.1.12/libs/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' "(\). {} were given." :63: SyntaxWarning: invalid escape sequence '\<' /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' m = re.match("\D+(\d+)", partition) /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' numlen = len(re.match("\d+", partition[::-1]).group(0)) + 1 :1082: SyntaxWarning: invalid escape sequence '\D' :1093: SyntaxWarning: invalid escape sequence '\d' /builddir/build/BUILD/sm-4.1.12/libs/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' m = re.match(".*Disk type\s+: (\S+) hard disk.*", ret, flags=re.S) :206: SyntaxWarning: invalid escape sequence '\s' Name Stmts Miss Branch BrPart Cover --------------------------------------------------------------------- libs/sm/BaseISCSI.py 578 328 254 36 41% libs/sm/LUNperVDI.py 106 82 34 2 19% libs/sm/SR.py 331 135 86 16 56% libs/sm/SRCommand.py 253 138 134 36 42% libs/sm/VDI.py 462 112 159 23 71% libs/sm/__init__.py 0 0 0 0 100% libs/sm/blktap2.py 1656 736 530 54 55% libs/sm/cbtutil.py 48 13 4 0 75% libs/sm/cifutils.py 54 0 20 3 96% libs/sm/cleanup.py 2441 1386 882 52 39% libs/sm/constants.py 4 0 0 0 100% libs/sm/core/__init__.py 0 0 0 0 100% libs/sm/core/f_exceptions.py 2 0 0 0 100% libs/sm/core/flock.py 63 18 12 3 64% libs/sm/core/iscsi.py 372 238 102 8 34% libs/sm/core/libiscsi.py 40 40 14 0 0% libs/sm/core/lock.py 159 34 56 15 73% libs/sm/core/mpath_cli.py 77 53 18 0 25% libs/sm/core/mpath_dmp.py 150 12 81 8 90% libs/sm/core/mpath_null.py 11 3 0 0 73% libs/sm/core/scsiutil.py 520 322 186 16 35% libs/sm/core/util.py 1255 623 441 51 47% libs/sm/core/wwid_conf.py 93 76 32 1 14% libs/sm/core/xs_errors.py 50 0 20 1 99% libs/sm/devscan.py 291 109 102 21 59% libs/sm/drivers/DummySR.py 193 153 30 0 18% libs/sm/drivers/EXTSR.py 126 96 38 0 21% libs/sm/drivers/FileSR.py 767 338 322 60 52% libs/sm/drivers/HBASR.py 204 82 46 1 55% libs/sm/drivers/ISOSR.py 443 235 188 22 43% libs/sm/drivers/LVHDSR.py 1370 672 541 98 47% libs/sm/drivers/LVHDoHBASR.py 162 102 52 2 33% libs/sm/drivers/LVHDoISCSISR.py 404 247 136 19 38% libs/sm/drivers/NFSSR.py 204 81 63 14 56% libs/sm/drivers/RawISCSISR.py 25 25 2 0 0% libs/sm/drivers/SHMSR.py 72 72 12 0 0% libs/sm/drivers/SMBSR.py 207 79 72 12 60% libs/sm/drivers/__init__.py 0 0 0 0 100% libs/sm/drivers/udevSR.py 118 69 26 1 35% libs/sm/fjournaler.py 55 5 18 1 89% libs/sm/ipc.py 74 59 18 1 17% libs/sm/journaler.py 171 139 66 3 15% libs/sm/lcache.py 191 126 48 4 33% libs/sm/lock_queue.py 72 8 16 4 84% libs/sm/lvhdutil.py 226 153 68 5 27% libs/sm/lvmanager.py 82 33 28 5 56% libs/sm/lvmcache.py 223 158 84 1 33% libs/sm/lvutil.py 541 262 174 9 51% libs/sm/metadata.py 87 43 20 2 54% libs/sm/mpathcount.py 159 30 54 7 80% libs/sm/nfs.py 220 84 67 8 62% libs/sm/on_slave.py 84 0 18 0 100% libs/sm/plugins/__init__.py 31 14 10 0 51% libs/sm/plugins/keymanagerutil.py 147 37 42 9 71% libs/sm/pluginutil.py 18 18 2 0 0% libs/sm/refcounter.py 416 143 168 62 64% libs/sm/resetvdis.py 82 76 32 0 5% libs/sm/sr_health_check.py 31 3 10 0 93% libs/sm/srmetadata.py 430 84 114 13 81% libs/sm/sysdevice.py 64 57 20 0 8% libs/sm/trim_util.py 96 0 22 0 100% libs/sm/vhdutil.py 297 150 90 5 44% misc/fairlock/fairlock.py 63 2 12 2 95% --------------------------------------------------------------------- TOTAL 17171 8393 5896 716 48% /builddir/build/BUILD/sm-4.1.12/libs/sm/cifutils.py:63: SyntaxWarning: invalid escape sequence '\<' "(\). {} were given." :63: SyntaxWarning: invalid escape sequence '\<' /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1082: SyntaxWarning: invalid escape sequence '\D' m = re.match("\D+(\d+)", partition) /builddir/build/BUILD/sm-4.1.12/libs/sm/core/util.py:1093: SyntaxWarning: invalid escape sequence '\d' numlen = len(re.match("\d+", partition[::-1]).group(0)) + 1 :1082: SyntaxWarning: invalid escape sequence '\D' :1093: SyntaxWarning: invalid escape sequence '\d' /builddir/build/BUILD/sm-4.1.12/libs/sm/vhdutil.py:206: SyntaxWarning: invalid escape sequence '\s' m = re.match(".*Disk type\s+: (\S+) hard disk.*", ret, flags=re.S) :206: SyntaxWarning: invalid escape sequence '\s' /builddir/build/BUILD/sm-4.1.12/tests/test_SMBSR.py:139: SyntaxWarning: invalid escape sequence '\j' smbsr = self.create_smbsr(username="citrix\jsmith", dconf_update={"password": "winter2019"}) :139: SyntaxWarning: invalid escape sequence '\j' /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:47: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"cifspassword": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:57: SyntaxWarning: invalid escape sequence '\j' junk_dconf = {"password": "123", "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:93: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:107: SyntaxWarning: invalid escape sequence '\j' "username": "citrix\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:119: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:124: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:130: SyntaxWarning: invalid escape sequence '\g' "username": "citrix\gjk\jsmith"} /builddir/build/BUILD/sm-4.1.12/tests/test_cifutils.py:135: SyntaxWarning: invalid escape sequence '\<' "(\). 3 were given.") :47: SyntaxWarning: invalid escape sequence '\j' :57: SyntaxWarning: invalid escape sequence '\j' :93: SyntaxWarning: invalid escape sequence '\j' :107: SyntaxWarning: invalid escape sequence '\j' :119: SyntaxWarning: invalid escape sequence '\g' :124: SyntaxWarning: invalid escape sequence '\<' :130: SyntaxWarning: invalid escape sequence '\g' :135: SyntaxWarning: invalid escape sequence '\<' /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:363: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) /builddir/build/BUILD/sm-4.1.12/tests/test_storage_init.py:373: SyntaxWarning: invalid escape sequence '\S' m = re.match("--minimal params=uuid type=(\S+)$", combined_args) :363: SyntaxWarning: invalid escape sequence '\S' :373: SyntaxWarning: invalid escape sequence '\S' Wrote XML report to coverage.xml + cp .coverage /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 + cp coverage.xml /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 + cp -r htmlcov /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/htmlcov + RPM_EC=0 ++ jobs -p + exit 0 Processing files: sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7CGVcU + umask 022 + cd /builddir/build/BUILD + cd sm-4.1.12 + DOCDIR=/builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + cp -pr /builddir/build/BUILD/sm-4.1.12/CONTRIB /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + cp -pr /builddir/build/BUILD/sm-4.1.12/LICENSE /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + cp -pr /builddir/build/BUILD/sm-4.1.12/MAINTAINERS /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + cp -pr /builddir/build/BUILD/sm-4.1.12/README.md /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64/usr/share/doc/sm + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/lib/.build-id/d4/f9434c5be22e0270d7c4f13393d046c9b77d66 warning: File listed twice: /usr/lib/.build-id/e0/14b1879d683ea29217c99fb4a228b1a9f3043f Provides: config(sm) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(interp): /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(post): /bin/sh device-mapper-multipath systemd xs-presets >= 1.3 Requires(preun): /bin/sh systemd xs-presets >= 1.3 Requires(postun): /bin/sh systemd xs-presets >= 1.3 Requires: /usr/bin/bash /usr/bin/python3 /usr/bin/sh Conflicts: blktap < 4.0.0 kernel < 4.19.19-5.0.0 Obsoletes: lvm2-sm-config <= 7:2.02.180-15.xs8 sm-additional-drivers Processing files: sm-debugsource-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: sm-debugsource = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-debugsource(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sm-testresults-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch Provides: sm-testresults = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-sm-test-plugins-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch Provides: python-sm-test-plugins = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3-sm-test-plugins = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3.12-sm-test-plugins = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-test-plugins = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 Obsoletes: python3.12-sm-test-plugins < 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Processing files: sm-fairlock-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: sm-fairlock = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-fairlock(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) python(abi) = 3.12 rtld(GNU_HASH) Processing files: sm-debugtools-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: sm-debugtools = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-debugtools(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 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) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: python3-sm-libs-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch Provides: python-sm-libs = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3-sm-core-libs = 1.1.3-1 python3-sm-libs = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3.12-sm-libs = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.12 Obsoletes: python3-sm-core-libs < 1.1.3-2 python3.12-sm-libs < 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Processing files: python3-sm-compat-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch Provides: python-sm-compat = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3-sm-compat = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 python3.12-sm-compat = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: python3.12-sm-compat < 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Processing files: sm-compat-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 warning: absolute symlink: /opt/xensource/debug/tp -> /usr/libexec/sm/debug/tp warning: absolute symlink: /opt/xensource/libexec/dcopy -> /usr/libexec/sm/debug/dcopy Provides: sm-compat = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-compat(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sm-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: debuginfo(build-id) = d4f9434c5be22e0270d7c4f13393d046c9b77d66 debuginfo(build-id) = e014b1879d683ea29217c99fb4a228b1a9f3043f sm-debuginfo = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-debuginfo(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sm-debugsource(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Processing files: sm-fairlock-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: debuginfo(build-id) = 6082871602167325ee5ea5ff65e64027b4a333e0 sm-fairlock-debuginfo = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-fairlock-debuginfo(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sm-debugsource(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Processing files: sm-debugtools-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2 Provides: debuginfo(build-id) = d4f9434c5be22e0270d7c4f13393d046c9b77d66 debuginfo(build-id) = e014b1879d683ea29217c99fb4a228b1a9f3043f sm-debugtools-debuginfo = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 sm-debugtools-debuginfo(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sm-debugsource(x86-64) = 4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64 Wrote: /builddir/build/RPMS/sm-debugsource-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/sm-debugtools-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/sm-fairlock-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/python3-sm-test-plugins-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch.rpm Wrote: /builddir/build/RPMS/sm-debugtools-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/sm-fairlock-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/python3-sm-compat-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch.rpm Wrote: /builddir/build/RPMS/sm-debuginfo-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/sm-compat-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/sm-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.x86_64_v2.rpm Wrote: /builddir/build/RPMS/python3-sm-libs-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch.rpm Wrote: /builddir/build/RPMS/sm-testresults-4.1.12-10.0.ydi.1~ydi1.1.xcpng8.99.noarch.rpm RPM build warnings: line 57: It's not recommended to have unversioned Obsoletes: Obsoletes: sm-additional-drivers Macro expanded in comment on line 279: %{_unitdir}/linstor-monitor.service Macro expanded in comment on line 280: %{python3_sitelib}/__pycache__/sm_typing*pyc Macro expanded in comment on line 281: %{python3_sitelib}/sm_typing.py File listed twice: /usr/lib/.build-id/d4/f9434c5be22e0270d7c4f13393d046c9b77d66 File listed twice: /usr/lib/.build-id/e0/14b1879d683ea29217c99fb4a228b1a9f3043f absolute symlink: /opt/xensource/debug/tp -> /usr/libexec/sm/debug/tp absolute symlink: /opt/xensource/libexec/dcopy -> /usr/libexec/sm/debug/dcopy Child return code was: 0