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-incoming-6771-15765/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-1.1.0-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-incoming-6771-15765/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.nvn0z0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sm-core-libs-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/sm-core-libs-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sm-core-libs-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z5hBdw + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-1.1.0 + sed -i 's/\(version='\''\)[^'\''"]\+/\11.1.0-1.xcpng8.3/g' setup.py + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' 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 /usr/lib/python3.6/site-packages/setuptools/dist.py:407: UserWarning: The version specified ('1.1.0-1.xcpng8.3') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jKKuV5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch ++ dirname /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch + '[' '!' -d /usr/lib/opamroot ']' + cd sm-core-libs-1.1.0 + sed -i 's/\(version='\''\)[^'\''"]\+/\11.1.0-1.xcpng8.3/g' setup.py + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch running install running install_lib creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm copying build/lib/sm/__init__.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm creating /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/__init__.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/f_exceptions.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/libiscsi.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/mpath_cli.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/mpath_dmp.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/scsiutil.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core copying build/lib/sm/core/util.py -> /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/f_exceptions.py to f_exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/libiscsi.py to libiscsi.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/mpath_cli.py to mpath_cli.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/mpath_dmp.py to mpath_dmp.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/scsiutil.py to scsiutil.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm/core/util.py to util.cpython-36.pyc writing byte-compilation script '/tmp/tmprzz2vmd2.py' /usr/bin/python3 /tmp/tmprzz2vmd2.py removing /tmp/tmprzz2vmd2.py running install_egg_info running egg_info creating sm_core_libs.egg-info writing sm_core_libs.egg-info/PKG-INFO writing dependency_links to sm_core_libs.egg-info/dependency_links.txt writing top-level names to sm_core_libs.egg-info/top_level.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-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6/site-packages/sm_core_libs-1.1.0_1.xcpng8.3-py3.6.egg-info running install_scripts /usr/lib/python3.6/site-packages/setuptools/dist.py:407: UserWarning: The version specified ('1.1.0-1.xcpng8.3') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % self.metadata.version + /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-1.1.0 /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/sm-core-libs-1.1.0-1.xcpng8.3.noarch/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qLzWNH + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-1.1.0 + tests/run_unit_tests.sh =====/builddir/build/BUILD/sm-core-libs-1.1.0==== test_discovery_any_iqn_success (test_libiscsi.TestLibiscsi) ... ok test_discovery_chap_success (test_libiscsi.TestLibiscsi) ... ok test_get_iscsi_interfaces_c_ints (test_libiscsi.TestLibiscsi) ... ok test_get_iscsi_interfaces_call_error (test_libiscsi.TestLibiscsi) ... ok test_get_iscsi_interfaces_no_c_ints (test_libiscsi.TestLibiscsi) ... ok test_login_rescan_not_required (test_libiscsi.TestLibiscsi) ... ok test_login_rescan_target (test_libiscsi.TestLibiscsi) ... ok test_logout_derefed (test_libiscsi.TestLibiscsi) ... ok test_logout_legacy_ref (test_libiscsi.TestLibiscsi) ... ok test_logout_still_reffed (test_libiscsi.TestLibiscsi) ... ok test_get_size_exists_success (test_scsiutil.TestScsiUtil) ... ok test_get_size_mapper_exists_success (test_scsiutil.TestScsiUtil) ... ok test_get_size_not_exists_0 (test_scsiutil.TestScsiUtil) ... ok test_lun_is_not_thin_provisioned (test_scsiutil.TestScsiUtil) ... ok test_lun_is_thin_provisioned (test_scsiutil.TestScsiUtil) ... ok test_doexec_success (test_util.TestUtil) ... ok test_retry_retry_unsuccessful (test_util.TestUtil) ... ok test_retry_success (test_util.TestUtil) ... ok test_retry_success_after_retry (test_util.TestUtil) ... ok test_test_host_addrinfo_failure (test_util.TestUtil) ... ok test_test_host_connect_failure (test_util.TestUtil) ... ok test_test_host_success (test_util.TestUtil) ... ok ---------------------------------------------------------------------- Ran 22 tests in 0.246s OK Test code coverage ------------------ Name Stmts Miss Branch BrPart Cover Missing -------------------------------------------------------------------- tests/test_libiscsi.py 68 0 0 0 100% tests/test_scsiutil.py 75 0 2 0 100% tests/test_util.py 63 0 8 0 100% -------------------------------------------------------------------- TOTAL 206 0 10 0 100% Module coverage --------------- Name Stmts Miss Branch BrPart Cover ----------------------------------------------------------- sm/__init__.py 0 0 0 0 100% sm/core/__init__.py 0 0 0 0 100% sm/core/f_exceptions.py 5 0 0 0 100% sm/core/libiscsi.py 120 20 42 5 83% sm/core/mpath_cli.py 43 27 8 0 31% sm/core/mpath_dmp.py 70 70 26 0 0% sm/core/scsiutil.py 127 81 46 1 31% sm/core/util.py 177 94 48 1 39% ----------------------------------------------------------- TOTAL 542 292 170 7 42% + cp .coverage /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch + cp coverage.xml /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch + cp -r htmlcov /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch/htmlcov + exit 0 Processing files: python3-sm-core-libs-1.1.0-1.xcpng8.3.noarch Provides: python3-sm-core-libs = 1.1.0-1.xcpng8.3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Processing files: sm-core-libs-testresults-1.1.0-1.xcpng8.3.noarch Provides: sm-core-libs-testresults = 1.1.0-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-1.1.0-1.xcpng8.3.noarch Wrote: /builddir/build/RPMS/python3-sm-core-libs-1.1.0-1.xcpng8.3.noarch.rpm Wrote: /builddir/build/RPMS/sm-core-libs-testresults-1.1.0-1.xcpng8.3.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0EhHmS + umask 022 + cd /builddir/build/BUILD + cd sm-core-libs-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sm-core-libs-1.1.0-1.xcpng8.3.noarch + exit 0 Child return code was: 0