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-5528-8912/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/sm-2.30.8-2.3.0.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-5528-8912/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.zRC12U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-2.30.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-2.29.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-2.30.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ca-343115-ensure-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350522-backport + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350871-log-if-lvhd-snapshot + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-350871-add-lock-context + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-use-link-instead-of + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-35625-extract-calls-to-1 + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/xsi-915-improve-performance-of + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352165-check-that-device + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/merge-pull-request-530-from + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-354228-reinstate-load-calls + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355401-make-post-attach + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-355289-ensure-xapi-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-356645-use-self.session-is + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-check-shared-file + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-add-fist-fault + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-359453-use-rename-not-link + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/cp-38316-dell-requested-that + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-352880-when-deleting-an-hba + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369613-report-errors + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-369395-default-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-don-t-lose-exception + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370037-correctly-format + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/added-dell-me4-multipath + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-370696-do-not-attempt-to + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-add-tests-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-344254-simplify-test + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-give-coalesce + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-353437-activate-a-fist + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372641-fix-_expand_size-for + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/ca-372772-fix-miscalculation + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0001-backport-of-ccd121cc248d79b749a63d4ad099e6d5f4b8b588.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0002-Update-xs-sm.service-s-description-for-XCP-ng.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0003-Add-TrueNAS-multipath-config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0004-feat-drivers-add-CephFS-GlusterFS-and-XFS-drivers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0005-feat-drivers-add-ZFS-driver-to-avoid-losing-VDI-meta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0006-Re-add-the-ext4-driver-for-users-who-need-to-transit.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0007-feat-drivers-add-LinstorSR-driver.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0008-feat-tests-add-unit-tests-concerning-ZFS-close-xcp-n.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0009-If-no-NFS-ACLs-provided-assume-everyone.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0010-Added-SM-Driver-for-MooseFS.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0011-Avoid-usage-of-umount-in-ISOSR-when-legacy_mode-is-u.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0012-MooseFS-SR-uses-now-UUID-subdirs-for-each-SR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0013-Fix-is_open-call-for-many-drivers-25.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0014-Remove-SR_CACHING-capability-for-many-SR-types-24.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0015-Remove-SR_PROBE-from-ZFS-capabilities-37.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0016-Fix-vdi-ref-when-static-vdis-are-used.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0017-Tell-users-not-to-edit-multipath.conf-directly.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0018-Add-custom.conf-multipath-configuration-file.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0019-Install-etc-multipath-conf.d-custom.conf.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0020-Fix-timeout_call-alarm-must-be-reset-in-case-of-succ.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0021-timeout_call-returns-the-result-of-user-function-now.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0022-fix-LinstorSR-repair-volumes-only-if-an-exclusive-co.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0023-feat-LinstorSR-Improve-LINSTOR-performance.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0024-feat-LinstorSR-robustify-scan-to-avoid-losing-VDIs-i.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0025-feat-LinstorSR-display-a-correctly-readable-size-for.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0026-feat-linstor-monitord-scan-all-LINSTOR-SRs-every-12-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0027-fix-LinstorSR-call-correctly-method-in-_locked_load-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0028-feat-LinstorSR-integrate-minidrbdcluster-daemon.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0029-feat-LinstorSR-ensure-heartbeat-and-redo_log-VDIs-ar.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0030-feat-LinstorSR-protect-sr-commands-to-avoid-forgetti.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0031-fix-LinstorJournaler-ensure-uri-is-not-None-during-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0032-feat-LinstorSR-add-an-option-to-disable-auto-quorum-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0033-fix-LinstorVolumeManager-add-a-workaround-to-create-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0034-feat-LinstorSR-add-optional-ips-parameter.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0035-feat-LinstorSR-add-a-helper-log_drbd_erofs-to-trace-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0036-fix-LinstorSR-try-to-restart-the-services-again-if-t.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0037-fix-LinstorSR-robustify-linstor-manager-to-never-inc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0038-fix-LinstorSR-prevent-starting-controller-during-fai.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0039-feat-LinstorVolumeManager-increase-peer-slots-limit-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0040-feat-LinstorVolumeManager-add-a-fallback-to-find-con.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0041-fix-var-lib-linstor.mount-ensure-we-always-mount-dat.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0042-feat-LinstorVolumeManager-add-a-fallback-to-find-nod.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0043-feat-LinstorSR-explain-on-which-host-plugins-command.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0044-fix-LinstorSR-create-diskless-path-if-necessary-duri.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0045-feat-LinstorSR-use-HTTP-NBD-instead-of-DRBD-directly.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0046-fix-LinstorSR-find-controller-when-XAPI-unreachable-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0047-fix-LinstorSR-use-IPs-instead-of-hostnames-in-NBD-se.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0048-fix-LinstorVolumeManager-ensure-we-always-use-IPs-in.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0049-feat-linstor-manager-add-methods-to-add-remove-host-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0050-feat-LinstorVolumeManager-support-SR-creation-with-d.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0051-feat-LinstorSR-add-a-config-var-to-disable-HTTP-NBD-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0052-feat-LinstorSr-ensure-LVM-group-is-activated-during-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0053-feat-linstor-manager-add-method-to-create-LinstorSR-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0054-fix-LinstorSR-always-set-vdi_path-in-generate_config.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0055-fix-minidrbdcluster-supports-new-properties-like-for.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0056-fix-LinstorSR-enabled-disable-minidrbcluster-with-fi.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0057-fix-linstor-manager-change-linstor-satellite-start-b.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0058-Fix-is_open-call-for-LinstorSR.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0059-fix-linstorvhdutil-fix-boolean-params-of-check-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0060-feat-linstor-manager-robustify-exec_create_sr.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0061-fix-cleanup-print-LINSTOR-VDI-UUID-if-error-during-i.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0062-feat-cleanup-raise-and-dump-DRBD-openers-in-case-of-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0063-feat-linstorvhdutil-trace-DRBD-openers-in-case-of-ER.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0064-fix-linstorvolumemanager-compute-correctly-size-in-a.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0065-feat-LinstorSR-use-DRBD-openers-instead-of-lsof-to-l.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0066-feat-LinstorSR-support-cProfile-to-trace-calls-when-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0067-fix-LinstorJournaler-reset-namespace-when-get-is-cal.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0068-fix-linstorvhdutil-fix-coalesce-with-VM-running-unde.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0069-fix-linstorvolumemanager-_get_volumes_info-doesn-t-r.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0070-fix-linstorvolumemanager-remove-double-prefix-on-kv-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0071-feat-LinstorSR-add-linstor-kv-dump-helper-to-print-k.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0072-fix-LinstorSR-disable-VHD-key-hash-usage-to-limit-ex.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0073-fix-minidrbdcluster-ensure-SIGINT-is-handled-correct.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0074-feat-minidrbdcluster-stop-resource-services-at-start.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0075-feat-linstor-manager-add-new-healthCheck-function-to.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0076-fix-LinstorSR-fix-xha-conf-parsing-return-host-ip-no.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0077-fix-LinstorSR-start-correctly-HA-servers-HTTP-NBD-af.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0078-fix-linstorvolumemanager-use-an-array-to-store-diskf.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0079-feat-linstorvolumemanager-support-snaps-when-a-host-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0080-fix-linstorvolumemanager-support-offline-hosts-when-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0081-fix-linstorvolumemanager-define-_base_group_name-mem.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0082-feat-linstorvhdutil-modify-logic-of-local-vhdutil-ca.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0083-fix-linstorvolumemanager-robustify-failed-snapshots.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0084-fix-linstorvolumemanager-use-a-namespace-for-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0085-feat-linstor-kv-dump-rename-to-linstor-kv-tool-add-r.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0086-fix-LinstorSR-handle-correctly-localhost-during-star.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0087-fix-cleanup.py-call-repair-on-another-host-when-EROF.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0088-fix-LinstorSR-avoid-introduction-of-DELETED-volumes.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0089-feat-linstor-kv-tool-remove-all-volumes-supports-jou.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0090-fix-linstorvhdutil-due-to-bad-refactoring-check-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0091-feat-linstorvhdutil-ensure-we-use-VHD-parent-to-find.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0092-feat-linstorvolumemanager-force-DRBD-demote-after-fa.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0093-fix-linstorvhdutil-ensure-we-retry-creation-in-all-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0094-fix-linstorvhdutil-don-t-retry-local-vhdutil-call-wh.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0095-feat-fork-log-daemon-ignore-SIGTERM.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0096-feat-LinstorSR-wait-for-http-disk-server-startup.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0097-fix-LinstorSR-handle-inflate-resize-actions-correctl.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0098-fix-linstor-manager-add-a-static-iptables-rule-for-D.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0099-feat-LinstorSR-sync-with-last-http-nbd-transfer-vers.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0100-fix-LinstorSR-don-t-check-VDI-metadata-while-listing.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0101-fix-LinstorSR-don-t-check-metadata-when-destroying-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0102-fix-linstorvhdutil-handle-correctly-generic-exceptio.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0103-fix-minidrbdcluster-robustify-to-unmount-correctly-L.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0104-fix-minidrbdcluster-handle-correctly-KeyboardInterru.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0105-feat-LinstorSR-use-drbd-reactor-instead-of-minidrbdc.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0106-fix-LinstorSR-ensure-vhdutil-calls-are-correctly-exe.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0107-fix-LinstorSR-replace-bad-param-in-detach_thin-impl.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0108-fix-linstorvolumemanager-remove-usage-of-realpath.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0109-fix-linstorvhdutil-avoid-parent-path-resolution.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0110-fix-LinstorSR-create-parent-path-during-attach.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0111-fix-LinstorSR-retry-if-we-can-t-build-volume-cache.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0112-fix-linstorvolumemanager-reduce-peer-slots-param-to-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0113-fix-LinstorSR-attach-a-valid-XAPI-session-is_open-is.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0114-fix-LinstorSR-ensure-we-always-have-a-DRBD-path-to-s.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0115-fix-LinstorSR-remove-hosts-ips-param.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0116-fix-LinstorSR-compute-correctly-SR-size-using-pool-c.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0117-fix-blktap2-ensure-we-can-import-this-module-when-LI.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0118-fix-LinstorSR-ensure-volume-cache-can-be-recreated.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0119-fix-linstor-manager-remove-dead-useless-code-in-add-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0120-fix-LinstorSR-Ensure-we-always-have-a-device-path-du.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0121-fix-LinstorSR-always-use-lock.acquire-during-attach-.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0122-fix-LinstorSR-mare-sure-hostnames-are-unique-at-SR-c.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0123-fix-LinstorSR-ensure-we-can-attach-non-special-stati.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0124-fix-LinstorSR-ensure-we-can-detach-when-deflate-call.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0125-fix-LinstorSR-assume-VDI-is-always-a-VHD-when-the-in.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0126-fix-LinstorSR-remove-SR-lock-during-thin-attach-deta.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0127-fix-LinstorSR-ensure-database-is-mounted-during-scan.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0128-fix-LinstorSR-restart-drbd-reactor-in-case-of-failur.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0129-fix-linstorvolumemanager-retry-in-case-of-failure-du.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0130-fix-linstorvolumemanager-avoid-diskless-creation-whe.patch + /usr/bin/patch -p1 -s + /usr/bin/cat /builddir/build/SOURCES/0131-fix-LinstorSR-remove-diskless-after-VDI.detach-calls.patch + /usr/bin/patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nPlCgT + umask 022 + cd /builddir/build/BUILD + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.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.DEERkS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64 ++ dirname /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64 + '[' '!' -d /usr/lib/opamroot ']' + cd sm-2.30.8 + DESTDIR=/builddir/build/BUILDROOT/sm-2.30.8-2.3.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/FileSR.py ... Checking drivers/NFSSR.py ... Checking drivers/EXTSR.py ... Checking drivers/RawISCSISR.py ... Checking drivers/DummySR.py ... Checking drivers/udevSR.py ... Checking drivers/ISOSR.py ... Checking drivers/HBASR.py ... Checking drivers/RawHBASR.py ... Checking drivers/LinstorSR.py ... Checking drivers/LVHDSR.py ... Checking drivers/LVHDoISCSISR.py ... Checking drivers/LVHDoHBASR.py ... Checking drivers/OCFSSR.py ... Checking drivers/OCFSoISCSISR.py ... Checking drivers/OCFSoHBASR.py ... Checking drivers/SHMSR.py ... Checking drivers/SMBSR.py ... Checking drivers/LVHDoFCoESR.py ... Checking drivers/CephFSSR.py ... Checking drivers/GlusterFSSR.py ... Checking drivers/XFSSR.py ... Checking drivers/ZFSSR.py ... Checking drivers/EXT4SR.py ... Checking drivers/MooseFSSR.py ... Precheck succeeded with no outstanding issues found. mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64 mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/udev/rules.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/udev/scripts/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/rc.d/init.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/systemd/system//linstor-satellite.service.d mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/usr/lib/systemd/system/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/multipath.xenserver/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/multipath/conf.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/modprobe.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/logrotate.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/debug/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/bin/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/xensource/master.d/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/plugins/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/etc/xapi.d/extensions/ mkdir -p /builddir/build/BUILDROOT/sm-2.30.8-2.3.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/FileSR.py drivers/NFSSR.py drivers/EXTSR.py drivers/RawISCSISR.py drivers/DummySR.py drivers/udevSR.py drivers/ISOSR.py drivers/HBASR.py drivers/RawHBASR.py drivers/LinstorSR.py drivers/LVHDSR.py drivers/LVHDoISCSISR.py drivers/LVHDoHBASR.py drivers/OCFSSR.py drivers/OCFSoISCSISR.py drivers/OCFSoHBASR.py drivers/SHMSR.py drivers/SMBSR.py drivers/LVHDoFCoESR.py drivers/CephFSSR.py drivers/GlusterFSSR.py drivers/XFSSR.py drivers/ZFSSR.py drivers/EXT4SR.py drivers/MooseFSSR.py; do \ install -m 755 $i /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm/; \ done install -m 755 drivers/plugins/__init__.py \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 755 drivers/plugins/keymanagerutil.py \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64/opt/xensource/sm//plugins/ install -m 644 multipath/multipath.conf \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64//etc/multipath.xenserver/ install -m 644 multipath/custom.conf \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64//etc/multipath/conf.d/ install -m 755 multipath/sm-multipath \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.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-2.3.0.linstor.2.xcpng8.2.x86_64//opt/xensource/sm/ install -m 644 etc/logrotate.d/SMlog \ /builddir/build/BUILDROOT/sm-2.30.8-2.3.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-2.3.0.linstor.2.xcpng8.2.x86_64//etc/systemd/system//drbd-reactor.service.d/ install: target '/builddir/build/BUILDROOT/sm-2.30.8-2.3.0.linstor.2.xcpng8.2.x86_64//etc/systemd/system//drbd-reactor.service.d/' is not a directory: No such file or directory make: *** [install] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.DEERkS (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DEERkS (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sm.spec