Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-rtslib.spec'], chrootPath='/var/lib/mock/dist-oc8-build-31897-9257/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 --target noarch --nodeps /builddir/build/SPECS/python-rtslib.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/python-rtslib-2.1.75-4.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps --nocheck /builddir/build/SPECS/python-rtslib.spec'], chrootPath='/var/lib/mock/dist-oc8-build-31897-9257/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 --target noarch --nodeps --nocheck /builddir/build/SPECS/python-rtslib.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.2n8jHz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rtslib-fb-2.1.75 + /usr/bin/gzip -dc /builddir/build/SOURCES/rtslib-fb-2.1.75.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rtslib-fb-2.1.75 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Turn-off-unsupported-fabrics.patch):' Patch #0 (0001-Turn-off-unsupported-fabrics.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rtslib/fabric.py Patch #1 (0002-default_dbroot.patch): patching file rtslib/root.py + echo 'Patch #1 (0002-default_dbroot.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + rm -rf /builddir/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 + cp -a . /builddir/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LEnsiQ + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.75 + gzip --stdout doc/targetctl.8 + gzip --stdout doc/saveconfig.json.5 + pushd /builddir/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 ~/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 ~/build/BUILD/rtslib-fb-2.1.75 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/rtslib_fb copying rtslib_fb/utils.py -> build/lib/rtslib_fb copying rtslib_fb/target.py -> build/lib/rtslib_fb copying rtslib_fb/root.py -> build/lib/rtslib_fb copying rtslib_fb/tcm.py -> build/lib/rtslib_fb copying rtslib_fb/node.py -> build/lib/rtslib_fb copying rtslib_fb/__init__.py -> build/lib/rtslib_fb copying rtslib_fb/alua.py -> build/lib/rtslib_fb copying rtslib_fb/fabric.py -> build/lib/rtslib_fb creating build/lib/rtslib copying rtslib/utils.py -> build/lib/rtslib copying rtslib/target.py -> build/lib/rtslib copying rtslib/root.py -> build/lib/rtslib copying rtslib/tcm.py -> build/lib/rtslib copying rtslib/node.py -> build/lib/rtslib copying rtslib/__init__.py -> build/lib/rtslib copying rtslib/alua.py -> build/lib/rtslib copying rtslib/fabric.py -> build/lib/rtslib running build_scripts creating build/scripts-3.6 copying and adjusting scripts/targetctl -> build/scripts-3.6 changing mode of build/scripts-3.6/targetctl from 644 to 755 + sleep 1 + popd ~/build/BUILD/rtslib-fb-2.1.75 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sFbhgK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch ++ dirname /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch + cd rtslib-fb-2.1.75 ~/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 ~/build/BUILD/rtslib-fb-2.1.75 + pushd /builddir/build/BUILD/python3-python-rtslib-2.1.75-4.oc8 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/utils.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/target.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/root.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/tcm.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/node.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/__init__.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/alua.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb copying build/lib/rtslib_fb/fabric.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/utils.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/target.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/root.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/tcm.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/node.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/__init__.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/alua.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib copying build/lib/rtslib/fabric.py -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/target.py to target.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/root.py to root.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/tcm.py to tcm.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/node.py to node.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/alua.py to alua.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb/fabric.py to fabric.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/target.py to target.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/root.py to root.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/tcm.py to tcm.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/node.py to node.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/alua.py to alua.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib/fabric.py to fabric.cpython-36.pyc writing byte-compilation script '/tmp/tmpww2pcaga.py' /usr/libexec/platform-python /tmp/tmpww2pcaga.py removing /tmp/tmpww2pcaga.py running install_egg_info running egg_info creating rtslib_fb.egg-info writing rtslib_fb.egg-info/PKG-INFO writing dependency_links to rtslib_fb.egg-info/dependency_links.txt writing requirements to rtslib_fb.egg-info/requires.txt writing top-level names to rtslib_fb.egg-info/top_level.txt writing manifest file 'rtslib_fb.egg-info/SOURCES.txt' reading manifest file 'rtslib_fb.egg-info/SOURCES.txt' writing manifest file 'rtslib_fb.egg-info/SOURCES.txt' Copying rtslib_fb.egg-info to /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6/site-packages/rtslib_fb-2.1.75-py3.6.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/bin copying build/scripts-3.6/targetctl -> /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/bin/targetctl to 755 + popd ~/build/BUILD/rtslib-fb-2.1.75 + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/man/man8/ + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/man/man5/ + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/etc/target/backup + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/var/target/pr + mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/var/target/alua + install -m 644 /builddir/build/SOURCES/target.service /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/systemd/system/target.service + install -m 644 doc/targetctl.8.gz /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/man/man8/ + install -m 644 doc/saveconfig.json.5.gz /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/man/man5/ + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 2.1.75-4.oc8 --unique-debug-suffix -2.1.75-4.oc8.noarch --unique-debug-src-base python-rtslib-2.1.75-4.oc8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rtslib-fb-2.1.75 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-rtslib-2.1.75-4.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GJ008c + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.75 + DOCDIR=/builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/doc/python3-rtslib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/doc/python3-rtslib + cp -pr README.md /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/doc/python3-rtslib + cp -pr doc/getting_started.md /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/doc/python3-rtslib + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.opy12e + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.75 + LICENSEDIR=/builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/licenses/python3-rtslib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/licenses/python3-rtslib + cp -pr COPYING /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch/usr/share/licenses/python3-rtslib + exit 0 Provides: python3-rtslib = 2.1.75-4.oc8 python3.6dist(rtslib-fb) = 2.1.75 python3dist(rtslib-fb) = 2.1.75 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) = 3.6 Processing files: target-restore-2.1.75-4.oc8.noarch Provides: target-restore = 2.1.75-4.oc8 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/libexec/platform-python Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch Wrote: /builddir/build/RPMS/python3-rtslib-2.1.75-4.oc8.noarch.rpm Wrote: /builddir/build/RPMS/target-restore-2.1.75-4.oc8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2Ng2g8 + umask 022 + cd /builddir/build/BUILD + cd rtslib-fb-2.1.75 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rtslib-2.1.75-4.oc8.noarch + exit 0 Child return code was: 0