Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/system-storage-manager.spec'], chrootPath='/var/lib/mock/system-storage-manager-0.4-8.el7-20181031050815-6664/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1002) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/system-storage-manager.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/system-storage-manager-0.4-8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/system-storage-manager.spec'], chrootPath='/var/lib/mock/system-storage-manager-0.4-8.el7-20181031050815-6664/root'shell=Falseuid=1002env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/system-storage-manager.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.V4GjSW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf system-storage-manager-0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/system-storage-manager-0.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd system-storage-manager-0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (ssm-0.4-ssm-big-update-no-1.patch):' Patch #1 (ssm-0.4-ssm-big-update-no-1.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-big-update-no-1.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile patching file README patching file bin/ssm patching file doc/_build/man/ssm.8 patching file ssmlib/backends/btrfs.py patching file ssmlib/backends/crypt.py patching file ssmlib/backends/lvm.py patching file ssmlib/backends/md.py patching file ssmlib/backends/template.py patching file ssmlib/main.py patching file ssmlib/misc.py patching file ssmlib/problem.py patching file tests/bashtests/001-lvm-add.sh patching file tests/bashtests/002-lvm-create.sh patching file tests/bashtests/004-lvm-resize.sh patching file tests/bashtests/007-btrfs-create.sh patching file tests/bashtests/011-lvm-list.sh patching file tests/bashtests/012-crypt-create.sh patching file tests/bashtests/013-lvm-check.sh patching file tests/bashtests/lib/aux.sh patching file tests/bashtests/lib/check.sh patching file tests/bashtests/set.sh patching file tests/unittests/common.py patching file tests/unittests/test_btrfs.py patching file tests/unittests/test_lvm.py patching file tests/unittests/test_ssm.py + echo 'Patch #2 (ssm-0.4-misc-get_unit_size-accept-different-unit-formats.patch):' Patch #2 (ssm-0.4-misc-get_unit_size-accept-different-unit-formats.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-misc-get_unit_size-accept-different-unit-formats.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/btrfs.py patching file ssmlib/misc.py patching file test.py + echo 'Patch #3 (ssm-0.4-ssm-btrfs-backend-try-to-find-the-real-device.patch):' Patch #3 (ssm-0.4-ssm-btrfs-backend-try-to-find-the-real-device.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-btrfs-backend-try-to-find-the-real-device.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/btrfs.py + echo 'Patch #4 (ssm-0.4-ssm-force-btrfs-device-add.patch):' Patch #4 (ssm-0.4-ssm-force-btrfs-device-add.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-force-btrfs-device-add.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/btrfs.py patching file tests/unittests/test_btrfs.py + echo 'Patch #5 (ssm-0.4-tests-Fix-they-way-we-gather-information-about-btrfs.patch):' Patch #5 (ssm-0.4-tests-Fix-they-way-we-gather-information-about-btrfs.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-tests-Fix-they-way-we-gather-information-about-btrfs.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/bashtests/lib/check.sh + echo 'Patch #6 (ssm-0.4-tests-Make-btrfs-recognize-devices-from-tests-suite-.patch):' Patch #6 (ssm-0.4-tests-Make-btrfs-recognize-devices-from-tests-suite-.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-tests-Make-btrfs-recognize-devices-from-tests-suite-.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/btrfs.py + echo 'Patch #7 (ssm-0.4-test-008-Device-count-should-go-down-after-removing-.patch):' Patch #7 (ssm-0.4-test-008-Device-count-should-go-down-after-removing-.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-test-008-Device-count-should-go-down-after-removing-.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/bashtests/008-btrfs-remove.sh + echo 'Patch #8 (ssm-0.4-misc-Fix-get_device_size-to-work-with-partitions-cor.patch):' Patch #8 (ssm-0.4-misc-Fix-get_device_size-to-work-with-partitions-cor.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-misc-Fix-get_device_size-to-work-with-partitions-cor.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/misc.py + echo 'Patch #9 (ssm-0.4-ssm-Suppress-backtrace-if-command-failed.patch):' Patch #9 (ssm-0.4-ssm-Suppress-backtrace-if-command-failed.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Suppress-backtrace-if-command-failed.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/misc.py + echo 'Patch #10 (ssm-0.4-ssm-Add-SSM_PRINT_BACKTRACE-environment-variable.patch):' Patch #10 (ssm-0.4-ssm-Add-SSM_PRINT_BACKTRACE-environment-variable.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Add-SSM_PRINT_BACKTRACE-environment-variable.patch + /usr/bin/patch -p1 --fuzz=0 patching file bin/ssm + echo 'Patch #11 (ssm-0.4-misc-Use-wipefs-a-in-misc.wipefs-helper.patch):' Patch #11 (ssm-0.4-misc-Use-wipefs-a-in-misc.wipefs-helper.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-misc-Use-wipefs-a-in-misc.wipefs-helper.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/misc.py patching file tests/unittests/test_btrfs.py + echo 'Patch #12 (ssm-0.4-ssm-Fix-various-problems-found-by-pylint.patch):' Patch #12 (ssm-0.4-ssm-Fix-various-problems-found-by-pylint.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Fix-various-problems-found-by-pylint.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/__init__.py patching file ssmlib/backends/btrfs.py patching file ssmlib/backends/crypt.py patching file ssmlib/backends/lvm.py patching file ssmlib/backends/md.py patching file ssmlib/main.py patching file ssmlib/misc.py + echo 'Patch #13 (ssm-0.4-ssm-Remove-unnecessary-usr-bin-env-python.patch):' Patch #13 (ssm-0.4-ssm-Remove-unnecessary-usr-bin-env-python.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Remove-unnecessary-usr-bin-env-python.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/__init__.py patching file ssmlib/backends/__init__.py patching file ssmlib/backends/btrfs.py patching file ssmlib/backends/crypt.py patching file ssmlib/backends/lvm.py patching file ssmlib/backends/md.py patching file ssmlib/backends/template.py patching file ssmlib/main.py patching file ssmlib/misc.py patching file ssmlib/problem.py + echo 'Patch #14 (ssm-0.4-lvm-Ask-user-when-shrining-inactive-logical-volume.patch):' Patch #14 (ssm-0.4-lvm-Ask-user-when-shrining-inactive-logical-volume.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-lvm-Ask-user-when-shrining-inactive-logical-volume.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/lvm.py patching file ssmlib/problem.py patching file tests/bashtests/004-lvm-resize.sh patching file tests/unittests/common.py patching file tests/unittests/test_lvm.py + echo 'Patch #15 (ssm-0.4-ssm-tests-Use-udevadm-settle-to-avoid-race-with-udev.patch):' Patch #15 (ssm-0.4-ssm-tests-Use-udevadm-settle-to-avoid-race-with-udev.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-tests-Use-udevadm-settle-to-avoid-race-with-udev.patch patching file tests/bashtests/lib/aux.sh patching file tests/bashtests/lib/check.sh + echo 'Patch #16 (ssm-0.4-ssm-tests-Set-wipe_signatures_when_zeroing_new_lvs-t.patch):' Patch #16 (ssm-0.4-ssm-tests-Set-wipe_signatures_when_zeroing_new_lvs-t.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-tests-Set-wipe_signatures_when_zeroing_new_lvs-t.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/bashtests/lib/aux.sh + echo 'Patch #17 (ssm-0.4-misc-Run-udevadm-settle-prior-running-wipefs.patch):' Patch #17 (ssm-0.4-misc-Run-udevadm-settle-prior-running-wipefs.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-misc-Run-udevadm-settle-prior-running-wipefs.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/btrfs.py patching file ssmlib/misc.py patching file tests/unittests/test_btrfs.py + echo 'Patch #18 (ssm-0.4-ssm-Use-xfs_reparir-to-check-xfs-file-system-consist.patch):' Patch #18 (ssm-0.4-ssm-Use-xfs_reparir-to-check-xfs-file-system-consist.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Use-xfs_reparir-to-check-xfs-file-system-consist.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/main.py + echo 'Patch #19 (ssm-0.4-ssm-big-update-no-2.patch):' Patch #19 (ssm-0.4-ssm-big-update-no-2.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-big-update-no-2.patch + /usr/bin/patch -p1 --fuzz=0 patching file INSTALL patching file README patching file bin/ssm patching file bin/ssm.local patching file doc/_build/man/ssm.8 patching file setup.py patching file ssmlib/backends/btrfs.py patching file ssmlib/backends/crypt.py patching file ssmlib/backends/lvm.py patching file ssmlib/backends/md.py patching file ssmlib/backends/template.py patching file ssmlib/main.py patching file ssmlib/misc.py patching file ssmlib/problem.py patching file test.py patching file tests/bashtests/001-lvm-add.sh patching file tests/bashtests/002-lvm-create.sh patching file tests/bashtests/003-lvm-remove.sh patching file tests/bashtests/004-lvm-resize.sh patching file tests/bashtests/005-lvm-snapshot.sh patching file tests/bashtests/011-lvm-list.sh patching file tests/bashtests/012-crypt-create.sh patching file tests/bashtests/lib/check.sh patching file tests/unittests/common.py patching file tests/unittests/test_btrfs.py patching file tests/unittests/test_lvm.py patching file tests/unittests/test_ssm.py + echo 'Patch #20 (ssm-0.4-ssm-Close-file-descriptors-on-popen.patch):' Patch #20 (ssm-0.4-ssm-Close-file-descriptors-on-popen.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-ssm-Close-file-descriptors-on-popen.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/misc.py + echo 'Patch #21 (ssm-0.4-crypt-Remove-resize-support.patch):' Patch #21 (ssm-0.4-crypt-Remove-resize-support.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-crypt-Remove-resize-support.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/crypt.py patching file ssmlib/backends/template.py + echo 'Patch #22 (ssm-0.4-misc-Return-stderr-output-in-run-as-well.patch):' Patch #22 (ssm-0.4-misc-Return-stderr-output-in-run-as-well.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-misc-Return-stderr-output-in-run-as-well.patch patching file ssmlib/backends/btrfs.py patching file ssmlib/misc.py patching file test.py patching file tests/unittests/common.py patching file tests/unittests/test_btrfs.py patching file tests/unittests/test_lvm.py patching file tests/unittests/test_ssm.py + echo 'Patch #23 (ssm-0.4-lvm-Move-lvm-specific-error-handling-to-lvm-backend.patch):' Patch #23 (ssm-0.4-lvm-Move-lvm-specific-error-handling-to-lvm-backend.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-lvm-Move-lvm-specific-error-handling-to-lvm-backend.patch + /usr/bin/patch -p1 --fuzz=0 patching file ssmlib/backends/lvm.py + echo 'Patch #24 (ssm-0.4-tests-Test-ssm-list-with-exported-volume-groups.patch):' Patch #24 (ssm-0.4-tests-Test-ssm-list-with-exported-volume-groups.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-tests-Test-ssm-list-with-exported-volume-groups.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/bashtests/011-lvm-list.sh + echo 'Patch #25 (ssm-0.4-tests-fix-bashtests-008-btrfs-remove.sh.patch):' Patch #25 (ssm-0.4-tests-fix-bashtests-008-btrfs-remove.sh.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-tests-fix-bashtests-008-btrfs-remove.sh.patch patching file tests/bashtests/008-btrfs-remove.sh + echo 'Patch #26 (ssm-0.4-tests-Do-not-attpemt-to-mknod-loop-devices-if-not-ne.patch):' Patch #26 (ssm-0.4-tests-Do-not-attpemt-to-mknod-loop-devices-if-not-ne.patch): + /usr/bin/cat /builddir/build/SOURCES/ssm-0.4-tests-Do-not-attpemt-to-mknod-loop-devices-if-not-ne.patch + /usr/bin/patch -p1 --fuzz=0 patching file tests/bashtests/lib/aux.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FgkAao + umask 022 + cd /builddir/build/BUILD + cd system-storage-manager-0.4 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Hdp7mP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 + cd system-storage-manager-0.4 + rm -rf /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 + /usr/bin/python setup.py install --root=/builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 running install running build running build_py creating build creating build/lib creating build/lib/ssmlib copying ssmlib/misc.py -> build/lib/ssmlib copying ssmlib/__init__.py -> build/lib/ssmlib copying ssmlib/problem.py -> build/lib/ssmlib copying ssmlib/main.py -> build/lib/ssmlib creating build/lib/ssmlib/backends copying ssmlib/backends/md.py -> build/lib/ssmlib/backends copying ssmlib/backends/btrfs.py -> build/lib/ssmlib/backends copying ssmlib/backends/__init__.py -> build/lib/ssmlib/backends copying ssmlib/backends/template.py -> build/lib/ssmlib/backends copying ssmlib/backends/lvm.py -> build/lib/ssmlib/backends copying ssmlib/backends/crypt.py -> build/lib/ssmlib/backends running build_scripts creating build/scripts-2.7 copying and adjusting bin/ssm -> build/scripts-2.7 changing mode of build/scripts-2.7/ssm from 644 to 755 running install_lib creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/md.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/btrfs.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/__init__.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/template.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/lvm.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/crypt.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends copying build/lib/ssmlib/misc.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib copying build/lib/ssmlib/__init__.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib copying build/lib/ssmlib/problem.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib copying build/lib/ssmlib/main.py -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/md.py to md.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/btrfs.py to btrfs.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/template.py to template.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/lvm.py to lvm.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/backends/crypt.py to crypt.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/misc.py to misc.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/problem.py to problem.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/ssmlib/main.py to main.pyc running install_scripts creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/bin copying build/scripts-2.7/ssm -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/bin changing mode of /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/bin/ssm to 755 running install_data creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/man creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/man/man8 copying doc/_build/man/ssm.8 -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/man/man8 creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc creating /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 copying README -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 copying CHANGES -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 copying COPYING -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 copying AUTHORS -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 copying INSTALL -> /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/share/doc/system-storage-manager-0.4 running install_egg_info Writing /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7/site-packages/system_storage_manager-0.4-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/system-storage-manager-0.4 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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 Bytecompiling .py files below /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Eb83cX + umask 022 + cd /builddir/build/BUILD + cd system-storage-manager-0.4 + make test test_existing_objects (tests.unittests.test_ssm.SimpleSsmSanityCheck) ... ok test_fsinfo_methods (tests.unittests.test_ssm.SimpleSsmSanityCheck) ... ok test_storage_handle_methods (tests.unittests.test_ssm.SimpleSsmSanityCheck) ... ok test_constructor (tests.unittests.test_ssm.SimpleStorageHandleSanityCheck) ... ok test_create_fs (tests.unittests.test_ssm.SimpleStorageHandleSanityCheck) ... ok test_add (tests.unittests.test_ssm.SsmFunctionCheck) ... ok test_create (tests.unittests.test_ssm.SsmFunctionCheck) ... [+] Running doctests [+] Running unittests Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdc3' is already used in the 'my_pool'! Remove (N/y/q) ? ok test_mount (tests.unittests.test_ssm.SsmFunctionCheck) ... N Directory '/mnt/test' does not exist! Create (Y/n/q) ? ERROR test_remove (tests.unittests.test_ssm.SsmFunctionCheck) ... ok test_resize (tests.unittests.test_ssm.SsmFunctionCheck) ... Y Device '/dev/sdb' is already used in the 'default_pool'! Remove (N/y/q) ? N Device '/dev/sda' is already used in the 'default_pool'! Remove (N/y/q) ? N Device '/dev/sdb' is already used in the 'default_pool'! Remove (N/y/q) ? N Device '/dev/sda' is already used in the 'default_pool'! Remove (N/y/q) ? N Device '/dev/sdb' is already used in the 'default_pool'! Remove (N/y/q) ? N Device '/dev/sda' is already used in the 'default_pool'! Remove (N/y/q) ? N Root privileges required to run more tests! ok test_snapshot (tests.unittests.test_ssm.SsmFunctionCheck) ... ok test_backend_generic_methods (tests.unittests.test_ssm.StorageHandleSanityCheck) ... ok test_pool_specific_methods (tests.unittests.test_ssm.StorageHandleSanityCheck) ... ok test_set_globals_propagation (tests.unittests.test_ssm.StorageHandleSanityCheck) ... ok test_storage_constructor (tests.unittests.test_ssm.StorageHandleSanityCheck) ... ok test_volumes_specific_methods (tests.unittests.test_ssm.StorageHandleSanityCheck) ... ok ====================================================================== ERROR: test_mount (tests.unittests.test_ssm.SsmFunctionCheck) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/system-storage-manager-0.4/tests/unittests/test_ssm.py", line 761, in test_mount main.main("ssm mount /dev/default_pool/vol001 /mnt/test") File "/builddir/build/BUILD/system-storage-manager-0.4/ssmlib/main.py", line 2110, in main args.func(args) File "/builddir/build/BUILD/system-storage-manager-0.4/ssmlib/main.py", line 1468, in mount create_directory(args.directory) File "/builddir/build/BUILD/system-storage-manager-0.4/ssmlib/main.py", line 1784, in create_directory PR.error("Directory '{0}' can\'t be created".format(string)) File "/builddir/build/BUILD/system-storage-manager-0.4/ssmlib/problem.py", line 334, in error self.check(self.GENERAL_ERROR, args) File "/builddir/build/BUILD/system-storage-manager-0.4/ssmlib/problem.py", line 319, in check raise exc(message) GeneralError: SSM Error (2001): Directory '/mnt/test' can't be created! ---------------------------------------------------------------------- Ran 16 tests in 80.802s FAILED (errors=1) + exit 0 Processing files: system-storage-manager-0.4-8.el7.noarch Provides: system-storage-manager = 0.4-8.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 Wrote: /builddir/build/RPMS/system-storage-manager-0.4-8.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CXQpC6 + umask 022 + cd /builddir/build/BUILD + cd system-storage-manager-0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/system-storage-manager-0.4-8.el7.aarch64 + exit 0 Child return code was: 0