Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45226-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/system-storage-manager-1.3-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45226-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zsmK3O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ssm-system-storage-manager-1.3 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/system-storage-manager-1.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ssm-system-storage-manager-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python3-sphinx.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nCD8yi + umask 022 + cd /builddir/build/BUILD + cd ssm-system-storage-manager-1.3 + make docs make[1]: Entering directory '/builddir/build/BUILD/ssm-system-storage-manager-1.3/doc' rm -rf _build/* find . -name "*.inc" -exec rm -f {} \; ./generate_usage_includes.py sphinx-build-3 -b man -d _build/doctrees -D latex_paper_size=a4 . _build/man Running Sphinx v4.3.1 making output directory... done WARNING: unknown config value 'latex_paper_size' in override, ignoring WARNING: html_static_path entry '_static' does not exist building [mo]: targets for 0 po files that are out of date building [man]: all manpages updating environment: [new config] 35 added, 0 changed, 0 removed reading sources... [ 2%] index reading sources... [ 5%] install reading sources... [ 8%] manpage reading sources... [ 11%] readme reading sources... [ 14%] src/availability reading sources... [ 17%] src/backends/backends reading sources... [ 20%] src/backends/backends_introduction reading sources... [ 22%] src/backends/btrfs reading sources... [ 25%] src/backends/crypt reading sources... [ 28%] src/backends/lvm reading sources... [ 31%] src/backends/md reading sources... [ 34%] src/backends/multipath reading sources... [ 37%] src/commands/add reading sources... [ 40%] src/commands/check reading sources... [ 42%] src/commands/commands_introduction reading sources... [ 45%] src/commands/create reading sources... [ 48%] src/commands/index reading sources... [ 51%] src/commands/info reading sources... [ 54%] src/commands/list reading sources... [ 57%] src/commands/migrate reading sources... [ 60%] src/commands/mount reading sources... [ 62%] src/commands/remove reading sources... [ 65%] src/commands/resize reading sources... [ 68%] src/commands/snapshot reading sources... [ 71%] src/description reading sources... [ 74%] src/download reading sources... [ 77%] src/env_variables reading sources... [ 80%] src/examples reading sources... [ 82%] src/for_developers reading sources... [ 85%] src/install reading sources... [ 88%] src/licence reading sources... [ 91%] src/man_examples reading sources... [ 94%] src/options/ssm_options reading sources... [ 97%] src/requirements reading sources... [100%] src/synopsis src/backends/multipath.rst:2: WARNING: Title underline too short. Multipath backend ============= src/backends/multipath.rst:2: WARNING: Title underline too short. Multipath backend ============= src/requirements.rst:4: WARNING: duplicate label ssm-requirements, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/install.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/backends/btrfs.rst:4: WARNING: duplicate label btrfs-backend, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/backends/multipath.rst:2: WARNING: Title underline too short. Multipath backend ============= /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/examples.rst:4: WARNING: duplicate label quick-examples, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/for_developers.rst:4: WARNING: duplicate label for-developers, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/for_developers.rst:20: WARNING: duplicate label test-section, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/for_developers.rst:82: WARNING: duplicate label documentation-section, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/for_developers.rst:108: WARNING: duplicate label mailing-list, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst looking for now-outdated files... none found pickling environment... /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/src/requirements.rst:4: WARNING: duplicate label ssm-requirements, other instance in /builddir/build/BUILD/ssm-system-storage-manager-1.3/doc/readme.rst done checking consistency... done writing... ssm.8 { src/synopsis src/description src/options/ssm_options src/commands/index src/commands/commands_introduction src/commands/create src/commands/info src/commands/list src/commands/remove src/commands/resize src/commands/check src/commands/snapshot src/commands/add src/commands/mount src/commands/migrate src/backends/backends src/backends/backends_introduction src/backends/btrfs src/backends/lvm src/backends/crypt src/backends/md src/backends/multipath src/man_examples src/env_variables src/licence src/requirements src/availability } done build succeeded, 13 warnings. The manual pages are in _build/man. Build finished. The manual pages are in _build/man. sphinx-build-3 -b text -d _build/doctrees -D latex_paper_size=a4 . _build/text Running Sphinx v4.3.1 making output directory... done WARNING: unknown config value 'latex_paper_size' in override, ignoring WARNING: html_static_path entry '_static' does not exist loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [text]: targets for 35 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 2%] index writing output... [ 5%] install writing output... [ 8%] manpage writing output... [ 11%] readme writing output... [ 14%] src/availability writing output... [ 17%] src/backends/backends writing output... [ 20%] src/backends/backends_introduction writing output... [ 22%] src/backends/btrfs writing output... [ 25%] src/backends/crypt writing output... [ 28%] src/backends/lvm writing output... [ 31%] src/backends/md writing output... [ 34%] src/backends/multipath writing output... [ 37%] src/commands/add writing output... [ 40%] src/commands/check writing output... [ 42%] src/commands/commands_introduction writing output... [ 45%] src/commands/create writing output... [ 48%] src/commands/index writing output... [ 51%] src/commands/info writing output... [ 54%] src/commands/list writing output... [ 57%] src/commands/migrate writing output... [ 60%] src/commands/mount writing output... [ 62%] src/commands/remove writing output... [ 65%] src/commands/resize writing output... [ 68%] src/commands/snapshot writing output... [ 71%] src/description writing output... [ 74%] src/download writing output... [ 77%] src/env_variables writing output... [ 80%] src/examples writing output... [ 82%] src/for_developers writing output... [ 85%] src/install writing output... [ 88%] src/licence writing output... [ 91%] src/man_examples writing output... [ 94%] src/options/ssm_options writing output... [ 97%] src/requirements writing output... [100%] src/synopsis build succeeded, 2 warnings. The text files are in _build/text. Build finished. The text files are in _build/text. sphinx-build-3 -b singlehtml -d _build/doctrees -D latex_paper_size=a4 . _build/singlehtml Running Sphinx v4.3.1 making output directory... done WARNING: unknown config value 'latex_paper_size' in override, ignoring WARNING: html_static_path entry '_static' does not exist loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [singlehtml]: all documents updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done assembling single document... src/description src/download src/licence src/synopsis src/options/ssm_options src/commands/index src/commands/commands_introduction src/commands/create src/commands/info src/commands/list src/commands/remove src/commands/resize src/commands/check src/commands/snapshot src/commands/add src/commands/mount src/commands/migrate src/backends/backends src/backends/backends_introduction src/backends/btrfs src/backends/lvm src/backends/crypt src/backends/md src/backends/multipath src/env_variables src/availability src/install src/requirements src/examples src/for_developers done writing... done writing additional files... done copying static files... done copying extra files... done dumping object inventory... done build succeeded, 2 warnings. The HTML page is in _build/singlehtml. Build finished. The HTML page is in _build/singlehtml. make[1]: Leaving directory '/builddir/build/BUILD/ssm-system-storage-manager-1.3/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PtzBCP + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch + cd ssm-system-storage-manager-1.3 + rm -rf /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch + /usr/bin/python3 setup.py install --root=/builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ssmlib copying ssmlib/main.py -> build/lib/ssmlib copying ssmlib/problem.py -> build/lib/ssmlib copying ssmlib/misc.py -> build/lib/ssmlib copying ssmlib/__init__.py -> build/lib/ssmlib creating build/lib/ssmlib/backends copying ssmlib/backends/__init__.py -> build/lib/ssmlib/backends copying ssmlib/backends/md.py -> build/lib/ssmlib/backends copying ssmlib/backends/template.py -> build/lib/ssmlib/backends copying ssmlib/backends/multipath.py -> build/lib/ssmlib/backends copying ssmlib/backends/lvm.py -> build/lib/ssmlib/backends copying ssmlib/backends/btrfs.py -> build/lib/ssmlib/backends copying ssmlib/backends/crypt.py -> build/lib/ssmlib/backends running build_scripts creating build/scripts-3.10 copying and adjusting bin/ssm -> build/scripts-3.10 changing mode of build/scripts-3.10/ssm from 644 to 755 running install_lib creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10 creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib copying build/lib/ssmlib/main.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib copying build/lib/ssmlib/problem.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib copying build/lib/ssmlib/misc.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/__init__.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/md.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/template.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/multipath.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/lvm.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/btrfs.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/backends/crypt.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends copying build/lib/ssmlib/__init__.py -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/problem.py to problem.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/misc.py to misc.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/md.py to md.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/template.py to template.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/multipath.py to multipath.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/lvm.py to lvm.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/btrfs.py to btrfs.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/backends/crypt.py to crypt.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/ssmlib/__init__.py to __init__.cpython-310.pyc running install_data creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/man creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/man/man8 copying doc/_build/man/ssm.8 -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/man/man8 creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 copying README -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 copying CHANGES -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 copying COPYING -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 copying AUTHORS -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 copying INSTALL -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/share/doc/system-storage-manager-1.3 running install_egg_info running egg_info creating system_storage_manager.egg-info writing system_storage_manager.egg-info/PKG-INFO writing dependency_links to system_storage_manager.egg-info/dependency_links.txt writing top-level names to system_storage_manager.egg-info/top_level.txt writing manifest file 'system_storage_manager.egg-info/SOURCES.txt' reading manifest file 'system_storage_manager.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file 'system_storage_manager.egg-info/SOURCES.txt' Copying system_storage_manager.egg-info to /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/lib/python3.10/site-packages/system_storage_manager-1.3-py3.10.egg-info running install_scripts creating /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/bin copying build/scripts-3.10/ssm -> /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/usr/bin/ssm to 755 + mv /builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch//usr/share/doc/system-storage-manager-1.3 '/builddir/build/BUILDROOT/system-storage-manager-1.3-3.oc9.noarch/%{_pkgdocdir}' + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qz3JSp + umask 022 + cd /builddir/build/BUILD + cd ssm-system-storage-manager-1.3 + /usr/bin/python3 test.py test_lvm_add (tests.unittests.test_lvm.LvmFunctionCheck) ... ok test_lvm_create (tests.unittests.test_lvm.LvmFunctionCheck) ... ok test_lvm_migrate (tests.unittests.test_lvm.LvmFunctionCheck) ... SSM Info: Migrating from device /dev/sdc1 to /dev/sdc2. This may take a while... SSM Info: Migrating from device /dev/sdc1 to /dev/sde. This may take a while... Dependencies are missing; some tests will probably fail or won't run: tune2fs resize2fs mkfs.ext3 mkfs.ext4 mkfs.xfs mkfs.btrfs fsck.ext3 fsck.ext4 fsck.xfs fsck.btrfs xfs_db xfs_growfs xfs_repair lvm dmsetup cryptsetup multipath [+] Running doctests [+] Running unittests Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? N Device '/dev/sdd2' is already used in the 'my_pool2'! Remove (N/y/q) ? N Device '/dev/sdd2' is already used in the 'my_pool2'! Remove (N/y/q) ? SSM Info: Migrating from device /dev/sdc1 to /dev/sdd2. This may take a while... ok test_lvm_mount (tests.unittests.test_lvm.LvmFunctionCheck) ... ok test_lvm_remove (tests.unittests.test_lvm.LvmFunctionCheck) ... SSM Info: Unable to remove 'crypt_pool' ok test_lvm_resize (tests.unittests.test_lvm.LvmFunctionCheck) ... 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/default_pool/vol004' is not active! It might contain filesystem we're unable to detect and it may be destroyed by this operation. Continue (N/y/q) ? N Device '/dev/default_pool/vol004' is not active! It might contain filesystem we're unable to detect and it may be destroyed by this operation. Continue (N/y/q) ? Y Device '/dev/default_pool/vol004' is not active! It might contain filesystem we're unable to detect and it may be destroyed by this operation. Continue (N/y/q) ? ok test_lvm_snapshot (tests.unittests.test_lvm.LvmFunctionCheck) ... ok test_btrfs_add (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... ok test_btrfs_create (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... ok test_btrfs_migrate (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... Y Device '/dev/sdc2' is already used in the 'my_pool'! Remove (N/y/q) ? SSM Info: Migrating from device /dev/sdc2 to /dev/sde. This may take a while... N Device '/dev/sdd2' is already used in the 'my_pool2'! Remove (N/y/q) ? N Device '/dev/sdd2' is already used in the 'my_pool2'! Remove (N/y/q) ? SSM Info: Migrating from device /dev/sdc1 to /dev/sdd2. This may take a while... ok test_btrfs_mount (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... ok test_btrfs_remove (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... SSM Info: Unable to remove 'crypt_pool' ok test_btrfs_resize (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... ok test_btrfs_snapshot (tests.unittests.test_btrfs.BtrfsFunctionCheck) ... ok test_existing_objects (tests.unittests.test_ssm.SimpleSsmSanityCheck) ... ok test_fsinfo_methods (tests.unittests.test_ssm.SimpleSsmSanityCheck) ... ok test_run (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) ... Y 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_migrate (tests.unittests.test_ssm.SsmFunctionCheck) ... SSM Info: Migrating from device /dev/sda to /dev/sdd. This may take a while... SSM Info: Migrating from device /dev/sda to /dev/sdb. This may take a while... N Device '/dev/sda' 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) ? SSM Info: Migrating from device /dev/sdc2 to /dev/sda. This may take a while... usage: ssm migrate [-h] source target ssm migrate: error: the following arguments are required: target usage: ssm migrate [-h] source target ssm migrate: error: argument source: '/dev/foo' is not valid block device usage: ssm [-h] [--version] [-v] [-vv] [-vvv] [-f] [-b BACKEND] [-n] {check,resize,create,list,info,add,remove,snapshot,mount,migrate} ... ssm: error: unrecognized arguments: /dev/sde ok test_mount (tests.unittests.test_ssm.SsmFunctionCheck) ... ok test_remove (tests.unittests.test_ssm.SsmFunctionCheck) ... ok test_resize (tests.unittests.test_ssm.SsmFunctionCheck) ... Y Migrating /dev/sdf (11.40 MB) to /dev/sdg using dd . This may take a long time... 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! Processing files: system-storage-manager-1.3-3.oc9.noarch RPM build errors: 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 test_ptable_header_types (tests.unittests.test_misc.MiscCheck) ... ok test_ptable_header_types_hide_column (tests.unittests.test_misc.MiscCheck) ... ok test_ptable_header_types_nums (tests.unittests.test_misc.MiscCheck) ... ok test_ptable_no_header_no_types (tests.unittests.test_misc.MiscCheck) ... ok test_multiple_insertions (tests.unittests.test_misc.NodeCheck) ... ok test_sanity (tests.unittests.test_misc.NodeCheck) ... ok test_mp_forbidden_ops (tests.unittests.test_multipath.MultipathFunctionCheck) ... SSM Info: Unable to remove '/dev/mapper/mpatha' SSM Info: Unable to remove '/dev/dm-90' SSM Info: Unable to remove 'mpatha' ok test_mp_get_device_data (tests.unittests.test_multipath.MultipathFunctionCheck) ... ok test_mp_get_real_device (tests.unittests.test_multipath.MultipathFunctionCheck) ... ok test_mp_get_volume_data (tests.unittests.test_multipath.MultipathFunctionCheck) ... ok test_mp_get_volumes_list (tests.unittests.test_multipath.MultipathFunctionCheck) ... ok test_mp_mock_raw_data (tests.unittests.test_multipath.MultipathFunctionCheck) ... ok ---------------------------------------------------------------------- Ran 44 tests in 20.171s OK + RPM_EC=0 ++ jobs -p + exit 0 error: File must begin with "/": %{_pkgdocdir}/ File must begin with "/": %{_pkgdocdir}/ Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.spec\n', 1)] 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 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/system-storage-manager.spec