Mock Version: 2.17 Mock Version: 2.17 Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/sm-core-libs.spec'], chrootPath='/var/lib/mock/v8.3-base-4051-3960/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 noarch --nodeps /builddir/build/SPECS/sm-core-libs.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/sm-core-libs-0.13.1-1.xcpng8.3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/sm-core-libs.spec'], chrootPath='/var/lib/mock/v8.3-base-4051-3960/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 noarch --nodeps /builddir/build/SPECS/sm-core-libs.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.WzHmtS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-core-libs-0.13.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-core-libs-0.13.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-core-libs-0.13.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NGYgas + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-0.13.1 + sed -i 's/\(version='\''\)[^'\''"]\+/\10.13.1-1.xcpng8.3/g' setup.py + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/sm copying sm/__init__.py -> build/lib/sm creating build/lib/sm/core copying sm/core/__init__.py -> build/lib/sm/core copying sm/core/f_exceptions.py -> build/lib/sm/core copying sm/core/libiscsi.py -> build/lib/sm/core copying sm/core/mpath_cli.py -> build/lib/sm/core copying sm/core/mpath_dmp.py -> build/lib/sm/core copying sm/core/scsiutil.py -> build/lib/sm/core copying sm/core/util.py -> build/lib/sm/core + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EUjA51 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch ++ dirname /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch + '[' '!' -d /usr/lib/opamroot ']' + cd sm-core-libs-0.13.1 + sed -i 's/\(version='\''\)[^'\''"]\+/\10.13.1-1.xcpng8.3/g' setup.py + /usr/bin/python2 setup.py install --single-version-externally-managed -O1 --root=/builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch running install running build running build_py running install_lib creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm copying build/lib/sm/__init__.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm creating /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/__init__.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/f_exceptions.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/libiscsi.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/mpath_cli.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/mpath_dmp.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/scsiutil.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core copying build/lib/sm/core/util.py -> /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/f_exceptions.py to f_exceptions.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/libiscsi.py to libiscsi.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/mpath_cli.py to mpath_cli.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/mpath_dmp.py to mpath_dmp.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/scsiutil.py to scsiutil.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm/core/util.py to util.pyc writing byte-compilation script '/tmp/tmpy4snpE.py' /usr/bin/python2 -O /tmp/tmpy4snpE.py removing /tmp/tmpy4snpE.py running install_egg_info running egg_info creating sm_core_libs.egg-info writing sm_core_libs.egg-info/PKG-INFO writing top-level names to sm_core_libs.egg-info/top_level.txt writing dependency_links to sm_core_libs.egg-info/dependency_links.txt writing manifest file 'sm_core_libs.egg-info/SOURCES.txt' reading manifest file 'sm_core_libs.egg-info/SOURCES.txt' writing manifest file 'sm_core_libs.egg-info/SOURCES.txt' Copying sm_core_libs.egg-info to /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/usr/lib/python2.7/site-packages/sm_core_libs-0.13.1_1.xcpng8.3-py2.7.egg-info running install_scripts + /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/sm-core-libs-0.13.1 /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/python2 1 Bytecompiling .py files below /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/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.1rDd9C + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-0.13.1 + tests/run_unit_tests.sh nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] nose.selector: INFO: /builddir/build/BUILD/sm-core-libs-0.13.1/tests/setup_env_for_python_unittests.sh is executable; skipped nose.selector: INFO: /builddir/build/BUILD/sm-core-libs-0.13.1/tests/run_unit_tests.sh is executable; skipped Test get_iscsi_iterfaces with c_iface. ... ok Test get_iscsi_iterfaces with call error ... ok Test get_iscsi_iterfaces for default behaviour, no c_iface ... ok Test login, requesting rescan, first session ... ok Test login, requesting rescan ... ok Test logout when target is completely dereferenced ... ok Test logout when target is still referenced by legacy SR ... ok Test logout when target is still referenced ... ok ---------------------------------------------------------------------- XML: /builddir/build/BUILD/sm-core-libs-0.13.1/nosetests.xml ---------------------------------------------------------------------- Ran 8 tests in 0.063s OK Test code coverage ------------------ Name Stmts Miss Branch BrMiss Cover Missing ----------------------------------------------------------------- tests/test_libiscsi 58 0 0 0 100% Module coverage --------------- Name Stmts Miss Branch BrMiss Cover -------------------------------------------------------- sm/__init__ 0 0 0 0 100% sm/core/__init__ 0 0 0 0 100% sm/core/f_exceptions 5 0 0 0 100% sm/core/libiscsi 123 55 44 23 53% sm/core/mpath_cli 43 43 9 9 0% sm/core/mpath_dmp 70 70 26 26 0% sm/core/scsiutil 116 116 45 45 0% sm/core/util 173 132 50 48 19% -------------------------------------------------------- TOTAL 530 416 174 151 19% + cp .coverage /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch + cp coverage.xml /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch + cp -r htmlcov /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch/htmlcov + exit 0 Processing files: sm-core-libs-0.13.1-1.xcpng8.3.noarch Provides: sm-core-libs = 0.13.1-1.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Processing files: sm-core-libs-testresults-0.13.1-1.xcpng8.3.noarch Provides: sm-core-libs-testresults = 0.13.1-1.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch Wrote: /builddir/build/RPMS/sm-core-libs-0.13.1-1.xcpng8.3.noarch.rpm Wrote: /builddir/build/RPMS/sm-core-libs-testresults-0.13.1-1.xcpng8.3.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oKPtdA + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-0.13.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sm-core-libs-0.13.1-1.xcpng8.3.noarch + exit 0 Child return code was: 0