Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/greenwave.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.OgSKkN:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', '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', 'c505bee7849149639334f8deb88fbfc4', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.OgSKkN:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--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 i686 --nodeps /builddir/build/SPECS/greenwave.spec'] with env {'LANG': 'en_US.UTF-8', '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-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/greenwave-0.3-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/greenwave.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.OgSKkN:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', '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', '002be24d92d04b3cb4207b48ad55ab57', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.OgSKkN:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--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 i686 --nodeps /builddir/build/SPECS/greenwave.spec'] with env {'LANG': 'en_US.UTF-8', '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-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oilL2g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf greenwave-0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/greenwave-0.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd greenwave-0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Create-a-custom-FedoraAtomicCi-rule.patch):' Patch #1 (0001-Create-a-custom-FedoraAtomicCi-rule.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Create-a-custom-FedoraAtomicCi-rule.patch + /usr/bin/patch -p1 --fuzz=0 patching file conf/policies/fedora.yaml patching file greenwave/policies.py patching file greenwave/tests/test_policies.py + echo 'Patch #2 (0002-Special-relevance.patch):' Patch #2 (0002-Special-relevance.patch): + /usr/bin/cat /builddir/build/SOURCES/0002-Special-relevance.patch + /usr/bin/patch -p1 --fuzz=0 patching file conf/policies/fedora.yaml patching file greenwave/api_v1.py patching file greenwave/policies.py Patch #3 (0003-No-envelope.patch): + echo 'Patch #3 (0003-No-envelope.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-No-envelope.patch + /usr/bin/patch -p1 --fuzz=0 patching file greenwave/consumers/resultsdb.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CsMYfs + umask 022 + cd /builddir/build/BUILD + cd greenwave-0.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/greenwave copying greenwave/policies.py -> build/lib/greenwave copying greenwave/cache.py -> build/lib/greenwave copying greenwave/logger.py -> build/lib/greenwave copying greenwave/utils.py -> build/lib/greenwave copying greenwave/__init__.py -> build/lib/greenwave copying greenwave/api_v1.py -> build/lib/greenwave copying greenwave/resources.py -> build/lib/greenwave copying greenwave/app_factory.py -> build/lib/greenwave copying greenwave/config.py -> build/lib/greenwave copying greenwave/wsgi.py -> build/lib/greenwave creating build/lib/greenwave/tests copying greenwave/tests/test_policies.py -> build/lib/greenwave/tests copying greenwave/tests/__init__.py -> build/lib/greenwave/tests creating build/lib/greenwave/consumers copying greenwave/consumers/waiverdb.py -> build/lib/greenwave/consumers copying greenwave/consumers/__init__.py -> build/lib/greenwave/consumers copying greenwave/consumers/resultsdb.py -> build/lib/greenwave/consumers running egg_info writing requirements to greenwave.egg-info/requires.txt writing greenwave.egg-info/PKG-INFO writing top-level names to greenwave.egg-info/top_level.txt writing dependency_links to greenwave.egg-info/dependency_links.txt writing entry points to greenwave.egg-info/entry_points.txt reading manifest file 'greenwave.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '*.pyc' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.pyo' found anywhere in distribution BUILDSTDERR: warning: no previously-included files found matching 'conf/settings.py' writing manifest file 'greenwave.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rqZfNH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 + cd greenwave-0.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/policies.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/cache.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/logger.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/utils.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/__init__.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/api_v1.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/resources.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/app_factory.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/config.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave copying build/lib/greenwave/wsgi.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/tests copying build/lib/greenwave/tests/test_policies.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/tests copying build/lib/greenwave/tests/__init__.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/tests creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers copying build/lib/greenwave/consumers/waiverdb.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers copying build/lib/greenwave/consumers/__init__.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers copying build/lib/greenwave/consumers/resultsdb.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/policies.py to policies.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/cache.py to cache.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/logger.py to logger.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/api_v1.py to api_v1.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/resources.py to resources.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/app_factory.py to app_factory.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/wsgi.py to wsgi.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/tests/test_policies.py to test_policies.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers/waiverdb.py to waiverdb.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave/consumers/resultsdb.py to resultsdb.pyc writing byte-compilation script '/tmp/tmpslfnlc.py' /usr/bin/python2 -O /tmp/tmpslfnlc.py removing /tmp/tmpslfnlc.py running install_data creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/etc creating /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/etc/fedmsg.d copying fedmsg.d/resultsdb.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/etc/fedmsg.d/ copying fedmsg.d/waiverdb.py -> /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/etc/fedmsg.d/ running install_egg_info running egg_info writing requirements to greenwave.egg-info/requires.txt writing greenwave.egg-info/PKG-INFO writing top-level names to greenwave.egg-info/top_level.txt writing dependency_links to greenwave.egg-info/dependency_links.txt writing entry points to greenwave.egg-info/entry_points.txt reading manifest file 'greenwave.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' BUILDSTDERR: warning: no previously-included files matching '*.pyc' found anywhere in distribution BUILDSTDERR: warning: no previously-included files matching '*.pyo' found anywhere in distribution BUILDSTDERR: warning: no previously-included files found matching 'conf/settings.py' writing manifest file 'greenwave.egg-info/SOURCES.txt' Copying greenwave.egg-info to /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/python2.7/site-packages/greenwave-0.3-py2.7.egg-info running install_scripts + install -d /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/systemd/system + install -m0644 systemd/greenwave.service systemd/greenwave.socket /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/lib/systemd/system + /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/greenwave-0.3 /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/greenwave-0.3-3.el7.i386/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.CWkzvZ + umask 022 + cd /builddir/build/BUILD + cd greenwave-0.3 + export PYTHONPATH=/builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386//usr/lib/python2.7/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386//usr/lib/python2.7/site-packages + py.test greenwave/tests/ ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 rootdir: /builddir/build/BUILD/greenwave-0.3, inifile: pytest.ini collected 15 items greenwave/tests/test_policies.py ............... ========================== 15 passed in 0.94 seconds =========================== + exit 0 Processing files: greenwave-0.3-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Dp5yzl + umask 022 + cd /builddir/build/BUILD + cd greenwave-0.3 + DOCDIR=/builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/doc/greenwave-0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/doc/greenwave-0.3 + cp -pr README.md /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/doc/greenwave-0.3 + cp -pr conf /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/doc/greenwave-0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.g8GQFH + umask 022 + cd /builddir/build/BUILD + cd greenwave-0.3 + LICENSEDIR=/builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/licenses/greenwave-0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/licenses/greenwave-0.3 + cp -pr COPYING /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386/usr/share/licenses/greenwave-0.3 + exit 0 Provides: greenwave = 0.3-3.el7 Requires(interp): /bin/sh /bin/sh /bin/sh 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(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 Wrote: /builddir/build/RPMS/greenwave-0.3-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WYBN5u + umask 022 + cd /builddir/build/BUILD + cd greenwave-0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/greenwave-0.3-3.el7.i386 + exit 0 Child return code was: 0