Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v8.2-v-linstor-testing-6392-12595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'], chrootPath='/var/lib/mock/v8.2-v-linstor-testing-6392-12595/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2nzXE4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-2.30.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-2.29.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-2.30.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-343115-ensure-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350522-backport + /usr/bin/cat /builddir/build/SOURCES/ca-350871-log-if-lvhd-snapshot + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350871-add-lock-context + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to + /usr/bin/cat /builddir/build/SOURCES/cp-35625-use-link-instead-of + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to-1 + /usr/bin/cat /builddir/build/SOURCES/xsi-915-improve-performance-of + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352165-check-that-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/merge-pull-request-530-from + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-354228-reinstate-load-calls + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355401-make-post-attach + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355289-ensure-xapi-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-356645-use-self.session-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-check-shared-file + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-add-fist-fault + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-use-rename-not-link + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-38316-dell-requested-that + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352880-when-deleting-an-hba + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369613-report-errors + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369395-default-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-don-t-lose-exception + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-correctly-format + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/added-dell-me4-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370696-do-not-attempt-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-add-tests-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-simplify-test + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-give-coalesce + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-activate-a-fist + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372641-fix-_expand_size-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372772-fix-miscalculation + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-375968-multi-session-iscsi + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-379329-check-for-missing + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-45514-set-ownership-and + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-379315-use-xe_sr_errorcodes + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-375367-nfs-timeout + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-381221-increase-nfs + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-45927-change-equalogic + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/run_unittests_directly + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-380360-report-error + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/add-unittests-for-multisession + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-386479-ensure-we-login-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Add-TrueNAS-multipath-config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0020-Backport-NFS4-only-support.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0021-Backport-probe-for-NFS4-when-rpcinfo-does-not-includ.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0022-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0023-timeout_call-returns-the-result-of-user-function-now.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0024-Always-remove-the-pause-tag-from-VDIs-in-case-of-fai.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0025-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0026-feat-LinstorSR-Improve-LINSTOR-performance.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0027-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0028-feat-LinstorSR-display-a-correctly-readable-size-for.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0029-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0030-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0031-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0032-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0033-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0034-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0035-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0036-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0037-feat-LinstorSR-add-optional-ips-parameter.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0038-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0039-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0040-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0041-fix-LinstorSR-prevent-starting-controller-during-fai.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0042-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0043-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0044-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0045-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0046-feat-LinstorSR-explain-on-which-host-plugins-command.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0047-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0048-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0049-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0050-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0051-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0052-feat-linstor-manager-add-methods-to-add-remove-host-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0053-feat-LinstorVolumeManager-support-SR-creation-with-d.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0054-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0055-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0056-feat-linstor-manager-add-method-to-create-LinstorSR-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0057-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0058-fix-minidrbdcluster-supports-new-properties-like-for.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0059-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0060-fix-linstor-manager-change-linstor-satellite-start-b.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0061-Fix-is_open-call-for-LinstorSR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0062-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0063-feat-linstor-manager-robustify-exec_create_sr.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0064-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0065-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0066-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0067-fix-linstorvolumemanager-compute-correctly-size-in-a.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0068-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0069-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0070-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0071-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0072-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0073-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0074-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch + /usr/bin/cat /builddir/build/SOURCES/0075-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0076-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch + /usr/bin/cat /builddir/build/SOURCES/0077-feat-minidrbdcluster-stop-resource-services-at-start.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0078-feat-linstor-manager-add-new-healthCheck-function-to.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0079-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0080-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0081-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0082-feat-linstorvolumemanager-support-snaps-when-a-host-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0083-fix-linstorvolumemanager-support-offline-hosts-when-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0084-fix-linstorvolumemanager-define-_base_group_name-mem.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0085-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0086-fix-linstorvolumemanager-robustify-failed-snapshots.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0087-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0088-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0089-fix-LinstorSR-handle-correctly-localhost-during-star.patch + /usr/bin/patch -p1 -s + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0090-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch + /usr/bin/cat /builddir/build/SOURCES/0091-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0092-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0093-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0094-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0095-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0096-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0097-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0098-feat-fork-log-daemon-ignore-SIGTERM.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0099-feat-LinstorSR-wait-for-http-disk-server-startup.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0100-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0101-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0102-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0103-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0104-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0105-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0106-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0107-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0108-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0109-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0110-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0111-fix-linstorvolumemanager-remove-usage-of-realpath.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0112-fix-linstorvhdutil-avoid-parent-path-resolution.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0113-fix-LinstorSR-create-parent-path-during-attach.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0114-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0115-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0116-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0117-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0118-fix-LinstorSR-remove-hosts-ips-param.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0119-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0120-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0121-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0122-fix-linstor-manager-remove-dead-useless-code-in-add-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0123-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0124-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0125-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0126-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0127-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0128-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0129-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0130-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0131-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0132-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0133-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0134-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0135-fix-LinstorSR-robustify-_load_vdi_info-in-cleanup.py.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0136-fix-LinstorSR-ensure-detach-never-fails-on-plugin-fa.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0137-fix-LinstorSR-ensure-we-coalesce-only-volumes-with-a.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0138-fix-LinstorSR-don-t-try-to-repair-persistent-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0139-fix-linstorvhdutil-format-correctly-message-if-vhd-u.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0140-fix-LinstorSR-wait-during-attach-to-open-DRBD-path.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0141-fix-LinstorSR-support-different-volume-sizes-in-clea.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0142-fix-LinstorSR-remove-useless-IPS_XHA_CACHE-var.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0143-fix-LinstorSR-ensure-we-can-deflate-on-any-host-afte.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0144-fix-LinstorSR-ensure-we-always-use-real-DRBD-VHD-siz.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0145-feat-linstor-kv-tool-If-no-controller-uri-option-is-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0146-fix-linstorvolumemanager-robustify-SR-destroy-46.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0147-feat-linstor-manager-extend-API-with-createNodeInter.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0148-fix-LinstorSR-support-VDI.resize-on-thick-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0149-fix-linstorvolumemanager-format-correctly-exception-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0150-fix-LinstorSR-ensure-we-can-skip-coalesces-if-device.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0151-feat-linstor-manager-add-methods-to-modify-destroy-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0152-fix-LinstorSR-force-a-defined-volume-prefix-if-we-ca.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0153-fix-LinstorSR-explicit-error-message-when-a-group-is.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0154-fix-LinstorSR-make-sure-VDI.delete-doesn-t-throw-und.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0155-fix-LinstorSR-add-drbd-in-the-blacklist-of-multipath.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0156-fix-linstorvolumemanager-create-cloned-volumes-on-ho.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0157-fix-linstorvolumemanager-don-t-align-volumes-on-LVM-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0158-fix-linstorvolumemanager-assert-with-message-after-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0159-fix-linstorvolumemanager-retry-resize-if-volume-is-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0160-fix-LinstorSR-create-DRBD-diskless-if-necessary-for-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0161-fix-LinstorSR-fix-bad-call-to-vhdutil.inflate-bad-ex.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0162-fix-LinstorSR-activate-VG-if-attach-from-config-is-a.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0163-feat-LinstorSR-use-a-specific-resource-group-for-DB-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0164-feat-linstor-manager-add-getNodePreferredInterface-h.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0165-fix-linstorvolumemanager-blocks-deletion-of-default-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0166-feat-linstorvolumemanager-change-logic-of-get_resour.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0167-feat-linstor-manager-add-error-codes-to-healthCheck-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0168-fix-LinstorSR-fix-bad-exception-reference-during-sna.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0169-fix-tapdisk-pause-ensure-LINSTOR-VHD-chain-is-availa.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0170-fix-LVHDoISCSISR-disable-restart-of-ISCSI-daemon.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0lJBGv + umask 022 + cd /builddir/build/BUILD + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 + make make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/dcopy' cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wall dcopy.c atomicio.c -o dcopy cc -D _GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wall tp.c -o tp make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/linstor' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NwE5zX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 + make install make -C dcopy make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make -C linstor make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' cc -Wall -std=gnu99 linstor-monitord.c -o linstor-monitord make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/linstor' Checking drivers/SR.py ... Checking drivers/SRCommand.py ... Checking drivers/VDI.py ... Checking drivers/BaseISCSI.py ... Checking drivers/cleanup.py ... Checking drivers/lvutil.py ... Checking drivers/lvmcache.py ... Checking drivers/util.py ... Checking drivers/verifyVHDsOnSR.py ... Checking drivers/scsiutil.py ... Checking drivers/scsi_host_rescan.py ... Checking drivers/vhdutil.py ... Checking drivers/linstorjournaler.py ... Checking drivers/linstorvhdutil.py ... Checking drivers/linstorvolumemanager.py ... Checking drivers/lvhdutil.py ... Checking drivers/cifutils.py ... Checking drivers/xs_errors.py ... Checking drivers/nfs.py ... Checking drivers/devscan.py ... Checking drivers/sysdevice.py ... Checking drivers/iscsilib.py ... Checking drivers/mpath_dmp.py ... Checking drivers/mpath_null.py ... Checking drivers/mpath_cli.py ... Checking drivers/mpathutil.py ... Checking drivers/LUNperVDI.py ... Checking drivers/mpathcount.py ... Checking drivers/refcounter.py ... Checking drivers/journaler.py ... Checking drivers/fjournaler.py ... Checking drivers/lock.py ... Checking drivers/flock.py ... Checking drivers/ipc.py ... Checking drivers/srmetadata.py ... Checking drivers/metadata.py ... Checking drivers/lvmanager.py ... Checking drivers/blktap2.py ... Checking drivers/mpp_mpathutil.py ... Checking drivers/lcache.py ... Checking drivers/resetvdis.py ... Checking drivers/B_util.py ... Checking drivers/wwid_conf.py ... Checking drivers/trim_util.py ... Checking drivers/pluginutil.py ... Checking drivers/fcoelib.py ... Checking drivers/constants.py ... Checking drivers/cbtutil.py ... Checking drivers/sr_health_check.py ... Checking drivers/FileSR.py ... Checking drivers/NFSSR.py ... Checking drivers/EXTSR.py ... Checking drivers/RawISCSISR.py ... Checking drivers/DummySR.py ... Checking drivers/udevSR.py ... Checking drivers/ISOSR.py ... Checking drivers/HBASR.py ... Checking drivers/RawHBASR.py ... Checking drivers/LinstorSR.py ... Checking drivers/LVHDSR.py ... Checking drivers/LVHDoISCSISR.py ... Checking drivers/LVHDoHBASR.py ... Checking drivers/OCFSSR.py ... Checking drivers/OCFSoISCSISR.py ... Checking drivers/OCFSoHBASR.py ... Checking drivers/SHMSR.py ... Checking drivers/SMBSR.py ... Checking drivers/LVHDoFCoESR.py ... Checking drivers/CephFSSR.py ... Checking drivers/GlusterFSSR.py ... Checking drivers/XFSSR.py ... Checking drivers/ZFSSR.py ... Checking drivers/EXT4SR.py ... Checking drivers/MooseFSSR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/systemd/system//drbd-reactor.service.d mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/systemd/system//linstor-satellite.service.d mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/multipath/conf.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/sbin for i in drivers/SR.py drivers/SRCommand.py drivers/VDI.py drivers/BaseISCSI.py drivers/cleanup.py drivers/lvutil.py drivers/lvmcache.py drivers/util.py drivers/verifyVHDsOnSR.py drivers/scsiutil.py drivers/scsi_host_rescan.py drivers/vhdutil.py drivers/linstorjournaler.py drivers/linstorvhdutil.py drivers/linstorvolumemanager.py drivers/lvhdutil.py drivers/cifutils.py drivers/xs_errors.py drivers/nfs.py drivers/devscan.py drivers/sysdevice.py drivers/iscsilib.py drivers/mpath_dmp.py drivers/mpath_null.py drivers/mpath_cli.py drivers/mpathutil.py drivers/LUNperVDI.py drivers/mpathcount.py drivers/refcounter.py drivers/journaler.py drivers/fjournaler.py drivers/lock.py drivers/flock.py drivers/ipc.py drivers/srmetadata.py drivers/metadata.py drivers/lvmanager.py drivers/blktap2.py drivers/mpp_mpathutil.py drivers/lcache.py drivers/resetvdis.py drivers/B_util.py drivers/wwid_conf.py drivers/trim_util.py drivers/pluginutil.py drivers/fcoelib.py drivers/constants.py drivers/cbtutil.py drivers/sr_health_check.py drivers/FileSR.py drivers/NFSSR.py drivers/EXTSR.py drivers/RawISCSISR.py drivers/DummySR.py drivers/udevSR.py drivers/ISOSR.py drivers/HBASR.py drivers/RawHBASR.py drivers/LinstorSR.py drivers/LVHDSR.py drivers/LVHDoISCSISR.py drivers/LVHDoHBASR.py drivers/OCFSSR.py drivers/OCFSoISCSISR.py drivers/OCFSoHBASR.py drivers/SHMSR.py drivers/SMBSR.py drivers/LVHDoFCoESR.py drivers/CephFSSR.py drivers/GlusterFSSR.py drivers/XFSSR.py drivers/ZFSSR.py drivers/EXT4SR.py drivers/MooseFSSR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/multipath.xenserver/ install -m 644 multipath/custom.conf \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/multipath/conf.d/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/rc.d/init.d/ install -m 755 multipath/multipath-root-setup \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//opt/xensource/sm/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/logrotate.d/ install -m 644 etc/systemd/system/drbd-reactor.service.d/override.conf \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/systemd/system//drbd-reactor.service.d/ install -m 644 etc/systemd/system/linstor-satellite.service.d/override.conf \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/systemd/system//linstor-satellite.service.d/ install -m 644 etc/systemd/system/var-lib-linstor.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//etc/systemd/system/ install -m 644 etc/make-dummy-sr.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/xs-sm.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sm-mpath-root.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/usb-scan.* \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/mpathcount.* \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/storage-init.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sr_health_check.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/sr_health_check.timer \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ install -m 644 systemd/linstor-monitor.service \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64//usr/lib/systemd/system/ for i in 65-multipath 55-xs-mpath-scsidev 57-usb 58-xapi; do \ install -m 644 udev/$i.rules \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/udev/rules.d/; done for i in XE_SR_ERRORCODES; do \ install -m 755 drivers/$i.xml \ /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/; done cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && for i in File NFS EXT RawISCSI Dummy udev ISO HBA RawHBA Linstor LVHD LVHDoISCSI LVHDoHBA OCFS OCFSoISCSI OCFSoHBA SHM SMB LVHDoFCoE CephFS GlusterFS XFS ZFS EXT4 MooseFS; do \ ln -sf $i"SR.py" $i"SR"; \ done rm /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//SHMSR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDSR && ln -sf LVHDSR.py LVMSR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f RawISCSISR && ln -sf RawISCSISR.py ISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoISCSISR && ln -sf LVHDoISCSISR.py LVMoISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoHBASR && ln -sf LVHDoHBASR.py LVMoHBASR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f LVHDoFCoESR && ln -sf LVHDoFCoESR.py LVMoFCoESR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSSR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSoISCSISR cd /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ && rm -f OCFSoHBASR ln -sf /opt/xensource/sm/mpathutil.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/sbin/mpathutil install -m 755 drivers/02-vhdcleanup /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xensource/master.d/ install -m 755 drivers/linstor-manager /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/lvhd-thin /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/on_slave.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins//on-slave install -m 755 drivers/testing-hooks /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/coalesce-leaf /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/nfs-on-slave /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/tapdisk-pause /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/intellicache-clean /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/enable-borehamwood /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ install -m 755 drivers/trim /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ install -m 755 drivers/iscsilib.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ install -m 755 drivers/fcoelib.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/fork-log-daemon /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/linstor-kv-tool /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/safe-umount /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/local-device-change /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/check-device-sharing /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/usb_change /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/kickpipe /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/set-iscsi-initiator /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ make -C dcopy install DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/dcopy' mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec install -m 755 dcopy /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/debug install -m 755 tp /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/debug make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/dcopy' make -C linstor install DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64 make[1]: Entering directory `/builddir/build/BUILD/sm-2.30.8/linstor' mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec install -m 755 linstor-monitord /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec make[1]: Leaving directory `/builddir/build/BUILD/sm-2.30.8/linstor' ln -sf /opt/xensource/sm/blktap2.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin//blktap2 ln -sf /opt/xensource/sm/lcache.py /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/tapdisk-cache-stats ln -sf /dev/null /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/udev/rules.d//69-dm-lvm-metad.rules install -m 755 scripts/xs-mpath-scsidev.sh /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/etc/udev/scripts/ install -m 755 scripts/xe-get-arrayid-lunnum /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getarrayidentifier /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/xe-getlunidentifier /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ install -m 755 scripts/make-dummy-sr /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ install -m 755 scripts/storage-init /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/sm-2.30.8 extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/debug/tp extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/dcopy extracting debug info from /builddir/build/BUILDROOT/sm-2.30.8-10.1.0.linstor.2.xcpng8.2.x86_64/opt/xensource/libexec/linstor-monitord dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 3 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IW73Tt + umask 022 + cd /builddir/build/BUILD + cd sm-2.30.8 + tests/run_python_unittests.sh . ---------------------------------------------------------------------- Ran 1 test in 0.021s OK test_find_not_found (test_FileSR.TestFileVDI) ... ok test_find_raw_path (test_FileSR.TestFileVDI) ... ok test_find_retry_vhd_path (test_FileSR.TestFileVDI) ... ok test_find_vhd_path (test_FileSR.TestFileVDI) ... ok test_attach_fist_active (test_FileSR.TestShareFileSR) ... ok test_attach_link_fail (test_FileSR.TestShareFileSR) ... ok test_attach_link_fail_already_set (test_FileSR.TestShareFileSR) ... ok test_attach_success (test_FileSR.TestShareFileSR) ... ok test_default_value (test_ISCSISR.TestForceTapDiskConfig) ... ok test_set_to_true (test_ISCSISR.TestForceTapDiskConfig) ... ok test_load_assert_utf_8_chap_credencials (test_ISCSISR.TestISCSISR) Asserts that CHAP credentials are always encoded in UTF-8. ... ok test_initPaths_active_path_detection (test_ISCSISR.TestMultiLUNISCSISR) ... ok test_initPaths_actual_path_is_active (test_ISCSISR.TestMultiLUNISCSISR) ... ok test_default_vdi_type (test_ISCSISR.TestVdiTypeSetting) ... ok test_vdi_type_modified_by_force_tapdisk (test_ISCSISR.TestVdiTypeSetting) ... ok test_attach_and_detach_local (test_ISOSR.TestISOSR_overLocal) ... ok test_attach_and_detach_local_with_mounted_path (test_ISOSR.TestISOSR_overLocal) ... ok test_attach_local_with_bad_path (test_ISOSR.TestISOSR_overLocal) ... ok test_load (test_ISOSR.TestISOSR_overLocal) ... ok test_attach_nfs (test_ISOSR.TestISOSR_overNFS) ... ok test_attach_nfs_no_server (test_ISOSR.TestISOSR_overNFS) ... ok test_load (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_called (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_exceptionraised (test_ISOSR.TestISOSR_overNFS) ... ok test_load_validate_nfsversion_returnused (test_ISOSR.TestISOSR_overNFS) ... ok test_attach_smb_version_fallback_error (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_version_fallback_with_smb_1_3_disabled (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_version_fallback_with_smb_3_disabled (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_no_version (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_no_version_fallback (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_version_1 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_via_xemount_version_3 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_wrongversion (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_smb_wrongversion_via_xemount (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_credentials (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_credentials_domain (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_no_version (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_version_1 (test_ISOSR.TestISOSR_overSMB) ... ok test_attach_with_smb_version_3 (test_ISOSR.TestISOSR_overSMB) ... ok test_load (test_ISOSR.TestISOSR_overSMB) ... ok test_loadvids (test_LVHDSR.TestLVHDSR) sr.allVDIs populated by _loadvdis ... ok test_undoAllInflateJournals (test_LVHDSR.TestLVHDSR) No LV refresh on slaves when Cleaning up local LVHD SR's journal ... ok test_load_no_scsiid (test_LVHDoFCoESR.TestFCoESR) ... ok test_load_pbd_exception (test_LVHDoFCoESR.TestFCoESR) ... ok test_load_scsiid (test_LVHDoFCoESR.TestFCoESR) ... ok test_vdi (test_LVHDoFCoESR.TestFCoESR) ... ok test_check_sr_correct_sessions_count (test_LVHDoISCSISR.TestLVHDoISCSISR) ... FAIL test_check_sr_not_enough_sessions (test_LVHDoISCSISR.TestLVHDoISCSISR) ... FAIL test_check_sr_pbd_not_found (test_LVHDoISCSISR.TestLVHDoISCSISR) ... FAIL test_sr_attach_multi_session (test_LVHDoISCSISR.TestLVHDoISCSISR) ... ok test_1st_try_block_raise_RandomError (test_LVHDoISCSISR.TestLVHDoISCSISR_load) ... ok test_1st_try_block_raise_XenError (test_LVHDoISCSISR.TestLVHDoISCSISR_load) ... ok test_attach (test_NFSSR.TestNFSSR) ... ok test_load (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_called (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_exceptionraised (test_NFSSR.TestNFSSR) ... ok test_load_validate_nfsversion_returnused (test_NFSSR.TestNFSSR) ... ok test_sr_create (test_NFSSR.TestNFSSR) ... ok test_sr_create_mount_error (test_NFSSR.TestNFSSR) ... ok test_attach_if_mounted_then_attached (test_SMBSR.Test_SMBSR) ... ok test_attach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR) ... ok test_attach_vanilla (test_SMBSR.Test_SMBSR) ... ok test_attach_with_cifs_password (test_SMBSR.Test_SMBSR) ... ok test_attach_with_cifs_password_and_domain (test_SMBSR.Test_SMBSR) ... ok test_detach_not_detached_if_not_mounted (test_SMBSR.Test_SMBSR) ... ok test_detach_smbexception_raises_xenerror (test_SMBSR.Test_SMBSR) ... ok test_mount_mountpoint_empty_string (test_SMBSR.Test_SMBSR) ... ok test_mount_mountpoint_isdir (test_SMBSR.Test_SMBSR) ... ok test_run_correctly_log_all_exceptions (test_SRCommand.TestStandaloneFunctions) Assert that any arbitrary exception raised and with a big message length is logged to SMlog. Only the first line of the message is asserted (traceback ommited). ... ok test_run_print_xml_error_if_SRException (test_SRCommand.TestStandaloneFunctions) If an SR.SRException is thrown, assert that print .toxml()" is called. ... ok test_run_wrapped_if_not_SRException (test_SRCommand.TestStandaloneFunctions) If an exception other than SR.SRException is thrown, assert that it is wrapped and not thrown. ... ok test_get_tap_type_returns_aio_for_udev_device (test_blktap2.TestVDI) ... ok test_linknbd (test_blktap2.TestVDI) ... ok test_linknbd_not_called_for_no_tap (test_blktap2.TestVDI) ... ok test_tap_wanted_returns_true_for_udev_device (test_blktap2.TestVDI) ... ok test_activate_consistency_check_fail (test_cbt.TestCBT) ... ok test_activate_consistent_success (test_cbt.TestCBT) ... ok test_activate_no_tracking_success (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_already_disabled (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_metadata_deletion_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_pause_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_when_enabled_with_parent (test_cbt.TestCBT) ... ok test_configure_blocktracking_disable_when_enabled_without_parent (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_already_enabled (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_creation_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_initialisation_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_metadata_no_space (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_pause_fail (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_raw_vdi (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_snapshot (test_cbt.TestCBT) ... ok test_configure_blocktracking_enable_success (test_cbt.TestCBT) ... ok test_deactivate_no_tracking_success (test_cbt.TestCBT) ... ok test_deactivate_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_cbt_disabled (test_cbt.TestCBT) ... ok test_list_changed_blocks_larger_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_not_related (test_cbt.TestCBT) ... ok test_list_changed_blocks_same_vdi (test_cbt.TestCBT) ... ok test_list_changed_blocks_smaller_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_strip_sensitive_bitmap (test_cbt.TestCBT) ... ok test_list_changed_blocks_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_vdi_resized_success (test_cbt.TestCBT) ... ok test_list_changed_blocks_vdi_shrunk (test_cbt.TestCBT) ... ok test_resize_cbt_disable (test_cbt.TestCBT) ... ok test_resize_cbt_enabled (test_cbt.TestCBT) ... ok test_resize_exception (test_cbt.TestCBT) ... ok test_snapshot_out_of_space_failure (test_cbt.TestCBT) ... ok test_snapshot_success_no_parent (test_cbt.TestCBT) ... ok test_snapshot_success_with_CBT_disable (test_cbt.TestCBT) ... ok test_snapshot_success_with_parent (test_cbt.TestCBT) ... ok test_vdi_data_destroy_cbt_disabled (test_cbt.TestCBT) ... ok test_vdi_data_destroy_cbt_enabled (test_cbt.TestCBT) ... ok test_vdi_delete_bitmap_coalesce_exc (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_disabled (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_enabled_no_child (test_cbt.TestCBT) ... ok test_vdi_delete_cbt_enabled_with_child (test_cbt.TestCBT) ... ok test_createCBTLog (test_cbtutil.TestCbtutil) ... ok test_getCBTConsistency_consistent (test_cbtutil.TestCbtutil) ... ok test_getCBTConsistency_not_consistent (test_cbtutil.TestCbtutil) ... ok test_setCBTChild (test_cbtutil.TestCbtutil) ... ok test_setCBTConsistency_consistent_success (test_cbtutil.TestCbtutil) ... ok test_setCBTConsistency_not_consistent_success (test_cbtutil.TestCbtutil) ... ok test_setCBTParent (test_cbtutil.TestCbtutil) ... ok test_empty_credentials_and_domain_for_bad_dconf (test_cifutils.TestCreate) ... ok test_empty_credentials_and_username (test_cifutils.TestCreate) ... ok test_got_credentials_empty_dconf (test_cifutils.TestCreate) ... ok test_got_credentials_empty_dconf_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_everything (test_cifutils.TestCreate) ... ok test_got_credentials_everything_and_padding (test_cifutils.TestCreate) ... ok test_got_credentials_everything_and_padding_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_everything_but_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_everything_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_password_and_secret (test_cifutils.TestCreate) ... ok test_got_credentials_password_and_secret_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_password_only (test_cifutils.TestCreate) ... ok test_got_credentials_password_only_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_secret_only (test_cifutils.TestCreate) ... ok test_got_credentials_secret_only_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_user_and_password (test_cifutils.TestCreate) ... ok test_got_credentials_user_and_password_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_user_and_secret (test_cifutils.TestCreate) ... ok test_got_credentials_user_and_secret_smbsr (test_cifutils.TestCreate) ... ok test_got_credentials_username_only (test_cifutils.TestCreate) ... ok test_got_credentials_username_only_smbsr (test_cifutils.TestCreate) ... ok test_password_and_username (test_cifutils.TestCreate) ... ok test_password_and_username_domain (test_cifutils.TestCreate) ... ok test_password_and_username_domain_smbsr (test_cifutils.TestCreate) ... ok test_password_and_username_smbsr (test_cifutils.TestCreate) ... ok test_password_secret_and_username (test_cifutils.TestCreate) ... ok test_password_secret_and_username_also_domain (test_cifutils.TestCreate) ... ok test_password_secret_and_username_also_domain_smbsr (test_cifutils.TestCreate) ... ok test_password_secret_and_username_smbsr (test_cifutils.TestCreate) ... ok test_username_bad_domain (test_cifutils.TestCreate) ... ok test_username_bad_domain_smbsr (test_cifutils.TestCreate) ... ok test__abort_return_false_if_flag_not_set (test_cleanup.TestSR) ... ok test__abort_returns_true_when_get_lock (test_cleanup.TestSR) ... ok test__abort_should_fail_if_reaches_maximum_retries_for_lock (test_cleanup.TestSR) ... ok test__abort_should_raise_if_cant_get_lock (test_cleanup.TestSR) ... ok test__abort_should_succeed_if_aquires_on_second_attempt (test_cleanup.TestSR) ... ok test__abort_succeeds_if_gets_lock_on_final_attempt (test_cleanup.TestSR) ... ok test_abort_optional_renable_active_held (test_cleanup.TestSR) ... ok test_abort_optional_renable_active_not_held (test_cleanup.TestSR) ... ok test_calcStorageSpeed (test_cleanup.TestSR) ... ok test_canLiveCoalesce (test_cleanup.TestSR) ... ok test_coalesceLeaf (test_cleanup.TestSR) ... ok test_coalesceLeaf_coalesce_failed (test_cleanup.TestSR) ... ok test_coalesceLeaf_size_bigger (test_cleanup.TestSR) ... ok test_coalesceLeaf_size_the_same (test_cleanup.TestSR) ... ok test_coalesceLeaf_success_after_4_iterations (test_cleanup.TestSR) ... ok test_coalesce_success (test_cleanup.TestSR) ... ok test_fall_back_to_leaf_coalescing (test_cleanup.TestSR) Good VDI can can live coalesce and has right size ... ok test_file_vdi_delete (test_cleanup.TestSR) ... ok test_findLeafCoalesceable_forbidden1 (test_cleanup.TestSR) ... ok test_findLeafCoalesceable_forbidden2 (test_cleanup.TestSR) ... ok test_findLeafCoalesceable_forbidden3 (test_cleanup.TestSR) ... ok test_findLeafCoalesceable_forbidden4 (test_cleanup.TestSR) ... ok test_findLeafCoalesceable_forbidden5 (test_cleanup.TestSR) ... ok test_forbiddenBySwitch (test_cleanup.TestSR) ... ok test_gather_candidates_auto_coalesce_off (test_cleanup.TestSR) Globally turned off but good vdi has force ... ok test_gather_candidates_caching_allowed (test_cleanup.TestSR) Bad candidate has caching allowed so not added ... ok test_gather_candidates_clsc_disabled (test_cleanup.TestSR) clsc disabled so not added ... ok test_gather_candidates_failed_candidates (test_cleanup.TestSR) The bad vdi is in the failed list so is not added to the list. ... ok test_gather_candidates_leaf_not_coalescable (test_cleanup.TestSR) The bad vdi returns false for isLeafCoalesceable and is not ... ok test_gather_candidates_reset (test_cleanup.TestSR) bad has cleanup.VDI.ONBOOT_RESET so not added to list ... ok test_gcPause_calls_abortable_sleep (test_cleanup.TestSR) ... ok test_gcPause_calls_fist_point (test_cleanup.TestSR) ... ok test_gcPause_fist_point_legal (test_cleanup.TestSR) ... ok test_gcPause_skipped_on_first_run (test_cleanup.TestSR) ... ok test_getStorageSpeed (test_cleanup.TestSR) ... ok test_getSwitch (test_cleanup.TestSR) ... ok test_insufficient_space (test_cleanup.TestSR) Good vdi calculates space less than remaining on sr ... ok test_leafCoaleesceTracker_too_many_iterations (test_cleanup.TestSR) ... ok test_leafCoalesceForbidden (test_cleanup.TestSR) ... ok test_leafCoalesceTracker (test_cleanup.TestSR) ... ok test_leafCoalesceTracker_getting_bigger (test_cleanup.TestSR) ... ok test_leaf_coalescing_cannt_live_coalesce (test_cleanup.TestSR) 1st VDI is too big for snap but right size for live ... ok test_lock_if_already_locked (test_cleanup.TestSR) ... ok test_lock_if_no_locking_is_used (test_cleanup.TestSR) ... ok test_lock_leaves_sr_consistent_if_unable_to_acquire_lock (test_cleanup.TestSR) ... ok test_lock_not_released_by_abort_when_not_held (test_cleanup.TestSR) ... ok test_lock_raises_exception_if_abort_requested (test_cleanup.TestSR) ... ok test_lock_raises_exception_if_unable_to_acquire_lock (test_cleanup.TestSR) ... ok test_lock_released_by_abort_when_held (test_cleanup.TestSR) ... ok test_lock_succeeds_if_lock_is_acquired (test_cleanup.TestSR) ... ok test_recordStorageSpeed_bad_speed (test_cleanup.TestSR) ... ok test_recordStorageSpeed_good_speed (test_cleanup.TestSR) ... ok test_space_equal (test_cleanup.TestSR) Good has calculates space equal to remaining space ... ok test_writeSpeedToFile (test_cleanup.TestSR) ... ok test_adapter_and_disk_added (test_devscan.TestAdapters) ... not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid not exists /var/run/sr-mount/asr_uuid ('Found inflate journal some VDI UUID, deflating /dev/VG_XenStorage-some SR UUID/ to 0',) not exists /builddir/build/BUILD/sm-2.30.8/drivers/LVHDoISCSISR.py not exists /usr/lib/python2.7/site-packages/mock.py not exists /usr/lib/python2.7/site-packages/mock.py not exists /usr/lib/python2.7/site-packages/mock.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/LVHDoISCSISR.py not exists /usr/lib/python2.7/site-packages/mock.py not exists /usr/lib/python2.7/site-packages/mock.py faultCode 1200 faultString ZhIyVCWAAiePeavvNsPgOcSxxrXdbSLmkRFPKfocpSoDKoRQACLstWeSIijCIGMHuSPZSmOmAquTYiFUhRePgLNQnfhKpdAUhjncHtLEfAPXkIZtSIDViWOWGvmuTfzeScPpztbpcdeTEDZhlxKwISIdbeWvFXYDaQaTBZaADqGSCpCZBhklXdPEOpedMMnpdICDxWUcllpPUzRcdiLvEErcQvmixHvwZFiNwZXRnnLiNFTlVwJNSMryQyEQByzyOciSuVMgwLdmiJAjbDTuDbnIcSPMDZeqSKZwDetcsLpyqzEVSDCyqaZjPLpAvETCHuEztAjfsJfERCVyxpgCifHxySbcAqzurdNwnxExvDJFOoqERJYJOfugmTJcWBETLkwmwwgOsMPELvDQCuTbSzYofgRMtaqZUekAFfbIqUMOBhierlqiQcQkOCKhvawBjcBjYthmPwnKSCfxnsSEXybpzSGmfzMaFWPjxDlxoykjBtlSfHblnpWxdgbIvuCnltOgwLDsUpKoAvAEiJkEizcQItmMZvdqFTGNScVuogEzLzhjWvVYuZUsBkgLMamrDwXILRWcAaTZDDPISEabTjKyLYBHbtOZxlgUwHXwlmmErRIwFQJIhXRIRacUGdpUXEhGJENrZajcauHyeujqQrUfKFYFMMWHkANizTcLtNRujoijCiOEeoxgtgsLMKbppJbOuIXAIknrWLcqOKKckqOlFgxWERibwpRIZxtRRuFJiMqwnnIMXLUpbGfnEASdqXFRLIRpzvsoOAFUugUCZFifYSVgjEyfdZDdzsxugahRYtxsMlyIDfacjllWIjOECygDwPVUMPWbTuXoKzfZqGDxZjStfkVExVjLaXdMbrqdOdWkHfzoEgBSlZoKhuYFUqFwrnUCYNcqxMfAkgvwjwZHGXUJAcBdxlVxOxAXOHfiIXzBrgJILdUgWUOvlSRBWKfUeOdEwpqvGPZQmMZmiYfmQWsrhCFFWeXjRQczgKbVCbIeHgMzyhVcAFFzvCRaxDYrIkblAjmzmgVFdUwFEnicrkNtYlYWhQfYqPrfWLazhELvBSnFbTZUCMUwYYqhkKLkpkbKrgHUYcLOpzLvlZjSRWzudtWZxKguFqYHDLOlNDzWJEuPepuReVebCAOVglhvcSqcyoavjXLAGuWQambaiHULxvUisPWYMpQwRzTqmmSGNkzOzMfbjloeDSjTcBWkHvJvskZqqDyMeuQQvFoMPVqNjsAxJYkIPSBxynGoPdlttrGnQspieDZrLXaocHtJSHBmNWJFnPasGOcBAMmozOkPehJaGYvRNDAvaLKUqBhmYGuVJWFeyUijeHZmTPSVsUSNbRSGRmFVEmaFOoHDtJuRVenyKSsnfSAaPDgeJyPQOJOLoZOZjORuiGkRVThowpzbcvXUqEdYbcqacORpuESIPqQllmmBsstbIMlByMZnsUoqrHHwnKQjoYnlKzYSWGMWRJsdjiVOrTIWSxpjvBiMSgObhklMXqOvVBtCMHwFcxcFMcucuNeroAmISVenuRHBjBgKhYcAzFIfpyohBZNFoNGkbmspsYuJuPYHWdiqRdNsHguYsroLENJJgDMMGldNRuvPtxjMFPkCwTcvAPDXQpjHJUmamChshsbZOhPwUMBwbPiPYzPVgbkqvvbUlFSeEPSFJXJJYKuKRFEjfIUIjhPAkSCWkbydMILjgQhHydMPVSBpJAFWlnKNEpFIXqVHvAwxyRstnqVfJqFRiifpnGtZFQQEuoWiGZQUagjTPghpgwhTDcDtqUPuZFPLoARqSIyIolXuqQRYmDBeRkFEKixkYMaMaiQPbejljnlfNcsNHJFWPDOVhmaBtBTeAwtquMSPjnDChtxHbRWpzEwUkWAMUBGWSPJhcbVhWlcXGHQWRJQgTPUgdbTDCMMSjuQIuZbtUMKxHcvhJnfdUlOGjvYkwxGtBTRDpVBeUSyBUvQaxgFLyaDsxiiDpXYjNwbYnDwEDBrHhdZVSMpUKjpfaCWDihWPWojpxqAsdzfCdRhBzKARydQdOqyA faultCode 1200 faultString not exists /var/lock/sm/ea6ad1a8-4084-4f2f-b7a0-77fa3db1e82d Recursively created directory /var/lock/sm/ea6ad1a8-4084-4f2f-b7a0-77fa3db1e82d Disabling GC/coalesce for None GC/coalesce re-enabled Disabling GC/coalesce for None GC/coalesce re-enabled IPC = no glob /sys/class/net/eth* not exists /sys/class/scsi_host/host0/fnic_state not exists /sys/class/scsi_host/host0/lpfc_fcp_class not exists /sys/class/scsi_hosok test_exotic_adapter_with_security_device (test_devscan.TestAdapters) ... ok test_no_adapters (test_devscan.TestAdapters) ... ok test_26_kernel (test_devscan.TestExtractDevName) ... ok test_3x_kernel (test_devscan.TestExtractDevName) ... ok test_extract_dev_name_from_directory_without_block_device (test_devscan.TestExtractDevName) ... ok test_scanning_empty_sr (test_devscan.TestScan) ... ok test_scanning_sr_includes_parameters (test_devscan.TestScan) ... ok test_scanning_sr_with_devices (test_devscan.TestScan) ... ok test_whencalled_updates_dict (test_devscan.TestUpdateDevsDict) ... ok test_whencalled_with_empty_key_does_not_update_dict (test_devscan.TestUpdateDevsDict) ... ok test_restart_daemon (test_iscsilib.Test_iscsilib) ... ok test_restore_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok test_save_rootdisk_nodes (test_iscsilib.Test_iscsilib) ... ok test_lock_acquire_noblock_release (test_lock.TestLock) ... ok test_lock_acquire_noblock_twice_release (test_lock.TestLock) ... ok test_lock_acquire_release (test_lock.TestLock) ... ok test_lock_acquire_then_noblock_release (test_lock.TestLock) ... ok test_lock_acquire_twice_release (test_lock.TestLock) ... ok test_lock_file_create_fails_retried (test_lock.TestLock) ... ok test_lock_noblock_then_acquire_release (test_lock.TestLock) ... ok test_lock_with_namespace_creates_file (test_lock.TestLock) ... ok test_lock_with_namespace_creates_namespace (test_lock.TestLock) ... ok test_lock_without_namespace_creates_file (test_lock.TestLock) ... ok test_lock_without_namespace_creates_nil_namespace (test_lock.TestLock) ... ok test_add_multiple_volume_groups (test_lvmlib.TestLVSubSystem) ... ok test_add_volume_group (test_lvmlib.TestLVSubSystem) ... ok test_dmsetup_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_fake_dmsetup_status_returns_zero (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_called_with_wrong_params (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_creates_volume (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_fails_if_no_volume_group_found (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_inactive (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_non_zeroed (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvcreate_with_tags (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove_with_bad_params (test_lvmlib.TestLVSubSystem) ... ok test_fake_lvremove_with_force (test_lvmlib.TestLVSubSystem) ... ok test_get_the_correct_volume (test_lvmlib.TestLVSubSystem) ... ok test_lvcreate_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_lvremove_is_mocked (test_lvmlib.TestLVSubSystem) ... ok test_create_creates_logical_volume_with_tags (test_lvutil.TestCreate) ... ok test_create_percentage_has_precedence_over_size (test_lvutil.TestCreate) ... ok test_create_volume_is_active (test_lvutil.TestCreate) ... t/host0/84xx_fw_version not exists /sys/class/scsi_host/host0/driver_name not exists /sys/class/scsi_host/host0/proc_name not exists /sys/class/scsi_host/host0/uevent not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name not exists /sys/class/scsi_host/host0/scan tried to open file /etc/mtab no glob /sys/class/scsi_host/host0/device/session* no glob /sys/class/scsi_host/host0/device no glob /sys/class/net/eth* not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name not exists /sys/class/scsi_host/host0/scan tried to open file /etc/mtab no glob /sys/class/fc_transport/target7:0:0/device/7:0:0:0/block/* no glob /sys/class/net/eth* no glob /sys/class/scsi_host/* Recursively created directory /somepath/block:sde Recursively created directory /somepath/block/sde no glob /nonexisting/block/* no glob /sys/class/net/eth* no glob /sys/class/scsi_host/* not exists /dev/disk/by-id no glob /sys/class/net/eth* not exists /sys/class/scsi_host/host0/fnic_state not exists /sys/class/scsi_host/host0/lpfc_fcp_class not exists /sys/class/scsi_host/host0/84xx_fw_version not exists /sys/class/scsi_host/host0/driver_name not exists /sys/class/scsi_host/host0/proc_name not exists /sys/class/scsi_host/host0/uevent not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name not exists /sys/class/scsi_host/host0/scan tried to open file /etc/mtab no glob /sys/class/scsi_host/host0/device/session* no glob /sys/class/scsi_host/host0/device tried to open file /sys/class/fc_host/host0/node_name tried to open file /sys/class/fc_host/host0/port_state tried to open file /sys/class/fc_host/host0/speed tried to open file /sys/class/fc_host/host0/supported_speeds not exists /sys/class/iscsi_host/host0 no glob /sys/class/net/eth* not exists /sys/class/scsi_host/host0/fnic_state not exists /sys/class/scsi_host/host0/lpfc_fcp_class not exists /sys/class/scsi_host/host0/84xx_fw_version not exists /sys/class/scsi_host/host0/driver_name not exists /sys/class/scsi_host/host0/proc_name not exists /sys/class/scsi_host/host0/uevent not exists /sys/class/scsi_host/host0/device/fc_host/host0/port_name not exists /sys/class/scsi_host/host0/scan tried to open file /etc/mtab no glob /sys/class/scsi_host/host0/device/session* no glob /sys/class/scsi_host/host0/device not exists /sys/class/fc_host/host0 not exists /sys/class/iscsi_host/host0 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 lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '1', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '--addtag', 'hello', '-W', 'n'] None lvcreate ['/usr/sbok test_create_volume_is_in_the_right_volume_group (test_lvutil.TestCreate) ... ok test_create_volume_is_zeroed (test_lvutil.TestCreate) ... ok test_create_volume_size (test_lvutil.TestCreate) ... ok test_remove_additional_config_param (test_lvutil.TestRemove) ... ok test_remove_removes_volume (test_lvutil.TestRemove) ... ok test_activate_exists_success (test_mpath_dmp.TestMpathDmp) ... ok test_activate_no_exception (test_mpath_dmp.TestMpathDmp) ... ok test_activate_permission_denied (test_mpath_dmp.TestMpathDmp) ... ok test_is_valid_multipath_device (test_mpath_dmp.TestMpathDmp) ... ok test_check_server_service (test_nfs.Test_nfs) ... ok test_check_server_service_exception (test_nfs.Test_nfs) ... ok test_check_server_service_first_call_exception (test_nfs.Test_nfs) ... ok test_check_server_service_not_available (test_nfs.Test_nfs) ... ok test_check_server_service_with_retries (test_nfs.Test_nfs) ... ok test_check_server_tcp (test_nfs.Test_nfs) ... ok test_check_server_tcp_nfsversion (test_nfs.Test_nfs) ... ok test_check_server_tcp_nfsversion_error (test_nfs.Test_nfs) ... ok test_get_supported_nfs_versions_nov4 (test_nfs.Test_nfs) ... ok test_get_supported_nfs_versions_rpc_nov4 (test_nfs.Test_nfs) ... ok test_scan_exports (test_nfs.Test_nfs) ... ok test_soft_mount (test_nfs.Test_nfs) ... ok test_soft_mount_nfsversion_3 (test_nfs.Test_nfs) ... ok test_soft_mount_nfsversion_4 (test_nfs.Test_nfs) ... ok test_validate_nfsversion_default (test_nfs.Test_nfs) ... ok test_validate_nfsversion_invalid (test_nfs.Test_nfs) ... ok test_validate_nfsversion_unsupported (test_nfs.Test_nfs) ... ok test_validate_nfsversion_valid (test_nfs.Test_nfs) ... ok test_is_open_false (test_on_slave.Test_on_slave_is_open) ... ok test_is_open_lvm_success (test_on_slave.Test_on_slave_is_open) ... ok test_is_open_nfssr_success (test_on_slave.Test_on_slave_is_open) ... ok test_is_open_xapi_exception (test_on_slave.Test_on_slave_is_open) ... ok test_multi_bad_operation (test_on_slave.Test_on_slave_multi) ... ok test_multi_refresh_on_slaves (test_on_slave.Test_on_slave_multi) ... ok test_multi_refresh_on_slaves_activate_error (test_on_slave.Test_on_slave_multi) ... ok test_multi_refresh_on_slaves_deactivate_error (test_on_slave.Test_on_slave_multi) ... ok test_multi_refresh_on_slaves_refresh_error (test_on_slave.Test_on_slave_multi) ... ok test_multi_rename_deactivate_error (test_on_slave.Test_on_slave_multi) ... ok test_multi_rename_refresh_error (test_on_slave.Test_on_slave_multi) ... ok test_multi_undo_leaf_coalesce (test_on_slave.Test_on_slave_multi) ... ok test_multi_update_slave_rename (test_on_slave.Test_on_slave_multi) ... ok test_multi_vdi_inactive (test_on_slave.Test_on_slave_multi) ... ok test_refresh_failed (test_on_slave.Test_on_slave_refresh_lun) ... ok test_refresh_success (test_on_slave.Test_on_slave_refresh_lun) ... ok test_get_whencalled_creates_namespace (test_refcounter.TestRefCounter) ... ok test_get_whencalled_creates_refcounter_file (test_refcounter.TestRefCounter) ... ok test_get_whencalled_refcounter_file_contents (test_refcounter.TestRefCounter) ... ok test_get_whencalled_returns_counters (test_refcounter.TestRefCounter) ... ok test_put_is_noop_if_already_zero (test_refcounter.TestRefCounter) ... ok test_removeObject_ignores_if_directory_already_removed (test_refcounter.TestRefCounter) ... ok test_removeObject_ignores_if_directory_not_empty (test_refcounter.TestRefCounter) ... ok test_writeCount_returns_false_if_file_not_found (test_refcounter.TestRefCounter) ... ok test_writeCount_returns_true_if_file_found (test_refcounter.TestRefCounter) ... ok test_capacity_data_changed_rc6 (test_scsiutil.Test_sg_readcap) ... ok test_sg_readcap_10 (test_scsiutil.Test_sg_readcap) ... ok test_sg_readcap_16 (test_scsiutil.Test_sg_readcap) ... ok test_returns_multiple_items_for_path (test_testlib.TestFilesystemFor) ... ok test_returns_single_item_for_root (test_testlib.TestFilesystemFor) ... ok test_adapter_adds_scsi_host_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_device (test_testlib.TestTestContext) ... ok test_add_disk_adds_disk_by_id_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_glob (test_testlib.TestTestContext) ... ok test_add_disk_adds_scsi_disk_entry (test_testlib.TestTestContext) ... ok test_add_disk_adds_scsibus_entry (test_testlib.TestTestContext) ... ok test_add_disk_path_exists (test_testlib.TestTestContext) ... ok test_add_parameter_parameter_file_contents (test_testlib.TestTestContext) ... ok test_add_parameter_parameter_file_exists (test_testlib.TestTestContext) ... ok test_context_stops_mocking_on_failures (test_testlib.TestTestContext) ... ok test_default_inventory (test_testlib.TestTestContext) ... ok test_error_codes_read (test_testlib.TestTestContext) ... ok test_executable_shows_up_on_filesystem (test_testlib.TestTestContext) ... ok test_exists_returns_false_for_non_existing (test_testlib.TestTestContext) ... ok test_exists_returns_true_for_root (test_testlib.TestTestContext) ... ok test_fake_open_logged (test_testlib.TestTestContext) ... ok test_file_returns_an_object_with_fileno_callable (test_testlib.TestTestContext) ... ok test_filenos_are_unique (test_testlib.TestTestContext) ... ok test_generate_inventory_file (test_testlib.TestTestContext) ... ok test_get_created_directories (test_testlib.TestTestContext) ... ok test_glob_requests_logged (test_testlib.TestTestContext) ... ok test_inventory (test_testlib.TestTestContext) ... ok test_makedirs_mocked_out (test_testlib.TestTestContext) ... ok test_makedirs_raises_if_exists (test_testlib.TestTestContext) ... ok test_modinfo (test_testlib.TestTestContext) ... ok test_popen_raises_error (test_testlib.TestTestContext) ... ok test_rmdir_is_replaced_with_a_fake (test_testlib.TestTestContext) ... ok test_rmdir_raises_error_if_dir_not_found (test_testlib.TestTestContext) ... ok test_rmdir_raises_exception_if_dir_is_not_empty (test_testlib.TestTestContext) ... ok test_rmdir_removes_dir_if_found (test_testlib.TestTestContext) ... ok test_setup_error_codes (test_testlib.TestTestContext) ... ok test_stat_does_not_fail_with_existing_file (test_testlib.TestTestContext) ... ok test_stat_nonexistent_file_throws_oserror (test_testlib.TestTestContext) ... ok test_subprocess_execution (test_testlib.TestTestContext) ... ok test_uname_default_kernel_version (test_testlib.TestTestContext) ... ok test_uname_explicitly_defined (test_testlib.TestTestContext) ... ok test_write_a_file (test_testlib.TestTestContext) ... ok test_write_a_file_in_non_existing_dir (test_testlib.TestTestContext) ... ok test_assertXML_doesn_t_care_about_spaces (test_testlib.TestXmlMixIn) ... ok test_do_trim_creates_an_lv (test_trim_util.TestTrimUtil) ... in/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None lvcreate ['/usr/sbin/lvcreate', '-n', 'volume', '-L', '100', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7', '-W', 'n'] None lvremove ['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None ['/usr/sbin/lvremove', '-f', 'VG_XenStorage-b3b18d06-b2ba-5b67-f098-3cdd5087a2a7/volume'] None Asked to import SRCommand Asked to import SR Asked to import CephFSSR Asked to import os Asked to import errno Asked to import os Asked to import syslog Asked to import xmlrpclib Asked to import syslog Asked to import SR Asked to import SRCommand Asked to import FileSR Asked to import cleanup Asked to import util Asked to import vhdutil Asked to import xs_errors Asked to import lock Asked to import EXTSR Asked to import GlusterFSSR Asked to import os Asked to import errno Asked to import os Asked to import syslog Asked to import xmlrpclib Asked to import syslog Asked to import SR Asked to import SRCommand Asked to import FileSR Asked to import cleanup Asked to import util Asked to import vhdutil Asked to import xs_errors Asked to import lock Asked to import LinstorSR Asked to import LVHDSR Asked to import MooseFSSR Asked to import NFSSR Asked to import XFSSR Asked to import os Asked to import SR Asked to import SRCommand Asked to import FileSR Asked to import util Asked to import lvutil Asked to import scsiutil Asked to import os Asked to import xs_errors Asked to import vhdutil Asked to import lock Asked to import constants Asked to import ZFSSR Asked to import blktap2 Asked to import SRCommand Asked to import SR Asked to import CephFSSR Asked to import EXTSR Asked to import GlusterFSSR Asked to import LinstorSR Asked to import LVHDSR Asked to import MooseFSSR Asked to import NFSSR Asked to import XFSSR Asked to import ZFSSR Asked to import blktap2 Asked to import SRCommand Asked to import SR Asked to import CephFSSR Asked to import EXTSR Asked to import GlusterFSSR Asked to import LinstorSR Asked to import LVHDSR Asked to import MooseFSSR Asked to import NFSSR Asked to import XFSSR Asked to import ZFSSR Asked to import blktap2 Asked to import on_slave Asked to import on_slave Asked to import SRCommand Asked to import SR Asked to import CephFSSR Asked to import EXTSR Asked to import GlusterFSSR Asked to import LinstorSR Asked to import LVHDSR Asked to import MooseFSSR Asked to import NFSSR Asked to import XFSSR Asked to import ZFSSR Asked to import blktap2 Recursively created directory /var/run/sm/refcount Recursively created directory /var/run/sm/refcount/somenamespace Recursively created directory /var/run/sm/refcount Recursively created directory /var/run/sm/refcount/somenamespace Recursively created directory /var/run/sm/refcount Recursively created directory /var/run/sm/refcount/somenamespace Recursively created directory /var/run/sm/refcount Recursively created directory /var/run/sm/refcount/somenamespace Recursively created directory /var/run/sm/refcount Recursively created directory /existing not exists somefile Recursively created directory /blah/subdir Recursively created directory /some/path Recursively created directory /blah/subdir Recursively created directory /blah/subdir Recursively created directory /existing_dir/somefile Recursively created directory /existing_dir no glob /existing_dir/* not exists /existing_dir Recursively created directory /existingstuff not exists /nonexistingstuff Recursively created directory /blah/subdir not exists /builddir/build/BUILD/sm-2ok test_do_trim_error_code_trim_not_supported (test_trim_util.TestTrimUtil) ... ok test_do_trim_lock_released_even_if_exception_raised (test_trim_util.TestTrimUtil) ... ok test_do_trim_releases_lock (test_trim_util.TestTrimUtil) ... ok test_do_trim_removes_lv_no_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok test_do_trim_removes_lv_with_leftover_trim_vol (test_trim_util.TestTrimUtil) ... ok test_do_trim_returns_exception_when_sr_full (test_trim_util.TestTrimUtil) ... ok test_do_trim_sleeps_a_sec_and_retries_three_times (test_trim_util.TestTrimUtil) ... ok test_do_trim_unable_to_obtain_lock_on_sr (test_trim_util.TestTrimUtil) ... ok test_do_trim_when_exception_then_returns_generic_err (test_trim_util.TestTrimUtil) ... ok test_do_trim_when_trim_succeeded_returns_true (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_exc_logged (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_has_key (test_trim_util.TestTrimUtil) ... ok test_log_last_triggered_no_key (test_trim_util.TestTrimUtil) ... ok test_vdi_succeeds_if_vdi_location_not_in_params_dictionary (test_udevSR.TestVdi) ... ok test_atomicFileWrite_exception (test_utils.TestCreate) ... ok test_atomicFileWrite_normal (test_utils.TestCreate) ... ok test_env_concatenated (test_utils.TestCreate) ... ok test_validate_and_round_max_size (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_min_size (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_negative (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_odd_size_up_to_next_boundary (test_vhdutil.TestVhdUtil) ... ok test_validate_and_round_too_large (test_vhdutil.TestVhdUtil) ... ok test_without_xml_defs (test_xs_errors.TestXenError) ... ok test_xml_defs (test_xs_errors.TestXenError) ... ok test_health_check_no_local_pbd (test_sr_health_check.TestSrHealthCheck) ... ok test_health_check_no_srs (test_sr_health_check.TestSrHealthCheck) ... ok test_health_check_run_sr_check (test_sr_health_check.TestSrHealthCheck) ... ok test_health_check_sr_not_plugged (test_sr_health_check.TestSrHealthCheck) ... ok test_create_and_exists (test_fjournaler.TestFjournaler) ... ok test_create_existing_error (test_fjournaler.TestFjournaler) ... ok test_create_mulitple (test_fjournaler.TestFjournaler) ... ok test_non_existing (test_fjournaler.TestFjournaler) ... ok test_remove_non_existing_error (test_fjournaler.TestFjournaler) ... ok test_attach_tgt_present_path_found (test_BaseISCSI.TestBaseISCSI) ... ok test_attach_tgt_present_path_not_found (test_BaseISCSI.TestBaseISCSI) ... ok test_sr_attach_multi_session (test_BaseISCSI.TestBaseISCSI) ... ok test_create (test_ZFSSR.TestZFSSR) ... ok test_create_with_invalid_zfs_path (test_ZFSSR.TestZFSSR) ... ok test_load (test_ZFSSR.TestZFSSR) ... ok test_load_with_zfs_unavailable (test_ZFSSR.TestZFSSR) ... ok test_scan (test_ZFSSR.TestZFSSR) ... ok test_scan_with_invalid_zfs_path (test_ZFSSR.TestZFSSR) ... ok test_attach_if_mounted_then_attached (test_MooseFSSR.TestMooseFSSR) ... ok test_detach_not_detached_if_not_mounted (test_MooseFSSR.TestMooseFSSR) ... ok test_load (test_MooseFSSR.TestMooseFSSR) ... ok test_mount_mountpoint_empty_string (test_MooseFSSR.TestMooseFSSR) ... ok ====================================================================== FAIL: test_check_sr_correct_sessions_count (test_LVHDoISCSISR.TestLVHDoISCSISR) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoISCSISR.py", line 226, in test_check_sr_correct_sessions_count self.mock_session.xenapi.PBD.get_other_config.assert_called_with('my_pbd') File "/usr/lib/python2.7/site-packages/mock.py", line 831, in assert_called_with raise AssertionError('Expected call: %s\nNot called' % (expected,)) AssertionError: Expected call: get_other_config('my_pbd') Not called ====================================================================== FAIL: test_check_sr_not_enough_sessions (test_LVHDoISCSISR.TestLVHDoISCSISR) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoISCSISR.py", line 240, in test_check_sr_not_enough_sessions self.mock_baseiscsi.attach.assert_called_with( File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoISCSISR.py", line 172, in mock_baseiscsi assert len(self.base_srs) == 1 AssertionError ====================================================================== FAIL: test_check_sr_pbd_not_found (test_LVHDoISCSISR.TestLVHDoISCSISR) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sm-2.30.8/tests/test_LVHDoISCSISR.py", line 212, in test_check_sr_pbd_not_found self.mock_session, 'test_host', 'sr_ref') File "/usr/lib/python2.7/site-packages/mock.py", line 831, in assert_called_with raise AssertionError('Expected call: %s\nNot called' % (expected,)) AssertionError: Expected call: find_my_pbd(, 'test_host', 'sr_ref') Not called ---------------------------------------------------------------------- Ran 394 tests in 4.467s FAILED (failures=3) .30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /builddir/build/BUILD/sm-2.30.8/drivers/trim_util.py not exists /opt/xensource/sm/XE_SR_ERRORCODES.xml Opening fake file, content = Opening fake file, content = a Opening fake file, content = a Opening fake file, content = Opening fake file, content = a Opening fake file, content = Opening fake file, content = Opening fake file, content = Opening fake file, content = 831_3 Opening fake file, content = 53_0 Opening fake file, content = 53_0 Opening fake file, content = 831_3 Opening fake file, content = 831_4 Opening fake file, content = Opening fake file, content = 53_0 Opening fake file, content = 831_3 Opening fake file, content = 831_4 Opening fake file, content = Opening fake file, content = 53_0 Opening fake file, content = 831_3 Opening fake file, content = 831_4 Opening fake file, content = Opening fake file, content = Opening fake file, content = 53_0 Opening fake file, content = 831_3 Opening fake file, content = 831_4 Opening fake file, content = 831_3 Opening fake file, content = Opening fake file, content = 53_0 Opening fake file, content = 831_4 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.IW73Tt (%check) Bad exit status from /var/tmp/rpm-tmp.IW73Tt (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec