Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/targetcli.spec'], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '46eb3f13a79846a7b2ad478249b6eab0', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/targetcli.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/targetcli-2.1.fb46-4.el7_5.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/targetcli.spec"], timeout=0nspawn_args=[]shell=Falseuid=1004chrootPath='/var/lib/mock/centos-7-x86_64/root'gid=135user='mockbuild'env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '84e86ab689d7443aa2c1f00c8ba53bb6', '-D', '/var/lib/mock/centos-7-x86_64/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u"/usr/bin/rpmbuild -bb --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/targetcli.spec"] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-x86_64/root//sys/fs/selinux: Read-only file system BUILDSTDERR: /etc/localtime is not a symlink, not updating container timezone. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HnN9TC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf targetcli-fb-2.1.fb46 + /usr/bin/gzip -dc /builddir/build/SOURCES/targetcli-fb-2.1.fb46.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd targetcli-fb-2.1.fb46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch):' Patch #0 (0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Properly-detect-errors-when-writing-backup-files.-Cl.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #1 (0002-Read-number-of-backup-files-to-keep-from-file.patch): + echo 'Patch #1 (0002-Read-number-of-backup-files-to-keep-from-file.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-Read-number-of-backup-files-to-keep-from-file.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #2 (0003-config-defend-on-etc-target-backup-directory.patch): + echo 'Patch #2 (0003-config-defend-on-etc-target-backup-directory.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-config-defend-on-etc-target-backup-directory.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #3 (0004-config-backup-when-current-config-is-different-from-.patch): + echo 'Patch #3 (0004-config-backup-when-current-config-is-different-from-.patch):' + /usr/bin/cat /builddir/build/SOURCES/0004-config-backup-when-current-config-is-different-from-.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #4 (0005-config-rename-key-kept_backups-as-max_backup_files.patch): + echo 'Patch #4 (0005-config-rename-key-kept_backups-as-max_backup_files.patch):' + /usr/bin/cat /builddir/build/SOURCES/0005-config-rename-key-kept_backups-as-max_backup_files.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #5 (0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch): + echo 'Patch #5 (0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch):' + /usr/bin/cat /builddir/build/SOURCES/0006-backup-global-option-to-tune-max-no.-of-backup-conf-.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/targetcli patching file targetcli/ui_node.py patching file targetcli/ui_root.py + echo 'Patch #6 (0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch):' Patch #6 (0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch): + /usr/bin/cat /builddir/build/SOURCES/0007-Fix-default-max_backup_files-in-ui_command_saveconfi.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_root.py Patch #7 (0008-config-add-saveconfig-command-to-StorageObject-level.patch): + echo 'Patch #7 (0008-config-add-saveconfig-command-to-StorageObject-level.patch):' + /usr/bin/cat /builddir/build/SOURCES/0008-config-add-saveconfig-command-to-StorageObject-level.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 33 (offset -3 lines). Hunk #2 succeeded at 660 (offset -44 lines). patching file targetcli/ui_root.py Patch #8 (0009-Support-tcmu-hw-max-sectors.patch): + echo 'Patch #8 (0009-Support-tcmu-hw-max-sectors.patch):' + /usr/bin/cat /builddir/build/SOURCES/0009-Support-tcmu-hw-max-sectors.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py Hunk #1 succeeded at 576 (offset 2 lines). Hunk #2 succeeded at 601 (offset 2 lines). Patch #9 (0010-create-add-a-way-to-set-control-string.patch): + echo 'Patch #9 (0010-create-add-a-way-to-set-control-string.patch):' + /usr/bin/cat /builddir/build/SOURCES/0010-create-add-a-way-to-set-control-string.patch + /usr/bin/patch -p1 --fuzz=0 patching file targetcli/ui_backstore.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jmpae1 + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/targetcli copying targetcli/__init__.py -> build/lib/targetcli copying targetcli/ui_node.py -> build/lib/targetcli copying targetcli/ui_root.py -> build/lib/targetcli copying targetcli/ui_target.py -> build/lib/targetcli copying targetcli/version.py -> build/lib/targetcli copying targetcli/ui_backstore.py -> build/lib/targetcli running build_scripts creating build/scripts-2.7 copying and adjusting scripts/targetcli -> build/scripts-2.7 changing mode of build/scripts-2.7/targetcli from 644 to 755 + gzip --stdout targetcli.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ITZ7Ip + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 + cd targetcli-fb-2.1.fb46 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/__init__.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_node.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_root.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_target.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/version.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli copying build/lib/targetcli/ui_backstore.py -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_node.py to ui_node.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_root.py to ui_root.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_target.py to ui_target.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli/ui_backstore.py to ui_backstore.pyc running install_egg_info running egg_info creating targetcli_fb.egg-info writing targetcli_fb.egg-info/PKG-INFO writing top-level names to targetcli_fb.egg-info/top_level.txt writing dependency_links to targetcli_fb.egg-info/dependency_links.txt writing manifest file 'targetcli_fb.egg-info/SOURCES.txt' reading manifest file 'targetcli_fb.egg-info/SOURCES.txt' writing manifest file 'targetcli_fb.egg-info/SOURCES.txt' Copying targetcli_fb.egg-info to /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7/site-packages/targetcli_fb-2.1.fb46-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/bin copying build/scripts-2.7/targetcli -> /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/bin/targetcli to 755 + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/etc/target/backup + mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/man/man8/ + install -m 644 targetcli.8.gz /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/man/man8/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/targetcli-fb-2.1.fb46 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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/targetcli-2.1.fb46-4.el7_5.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: targetcli-2.1.fb46-4.el7_5.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cHMeVO + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + DOCDIR=/builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/doc/targetcli-2.1.fb46 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/doc/targetcli-2.1.fb46 + cp -pr COPYING /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/doc/targetcli-2.1.fb46 + cp -pr README.md /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64/usr/share/doc/targetcli-2.1.fb46 + exit 0 Provides: targetcli = 2.1.fb46-4.el7_5 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/targetcli-2.1.fb46-4.el7_5.x86_64 Wrote: /builddir/build/RPMS/targetcli-2.1.fb46-4.el7_5.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CuMRat + umask 022 + cd /builddir/build/BUILD + cd targetcli-fb-2.1.fb46 + /usr/bin/rm -rf /builddir/build/BUILDROOT/targetcli-2.1.fb46-4.el7_5.x86_64 + exit 0 Child return code was: 0