Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-yappi.spec'], chrootPath='/var/lib/mock/cloud7-openstack-stein-el7-build-56746-230402/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/python-yappi.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/python-yappi-1.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-yappi.spec'], chrootPath='/var/lib/mock/cloud7-openstack-stein-el7-build-56746-230402/root'shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/python-yappi.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yXshcY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yappi-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/yappi-1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd yappi-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'python-yappi-1.0 base' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EoRx1h + exit 0 + umask 022 + cd /builddir/build/BUILD + cd yappi-1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-ppc64le-2.7 copying yappi.py -> build/lib.linux-ppc64le-2.7 running build_ext building '_yappi' extension creating build/temp.linux-ppc64le-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c _yappi.c -o build/temp.linux-ppc64le-2.7/_yappi.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c callstack.c -o build/temp.linux-ppc64le-2.7/callstack.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c hashtab.c -o build/temp.linux-ppc64le-2.7/hashtab.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c mem.c -o build/temp.linux-ppc64le-2.7/mem.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c freelist.c -o build/temp.linux-ppc64le-2.7/freelist.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -D_GNU_SOURCE -fPIC -fwrapv -O3 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python2.7 -c timing.c -o build/temp.linux-ppc64le-2.7/timing.o gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 build/temp.linux-ppc64le-2.7/_yappi.o build/temp.linux-ppc64le-2.7/callstack.o build/temp.linux-ppc64le-2.7/hashtab.o build/temp.linux-ppc64le-2.7/mem.o build/temp.linux-ppc64le-2.7/freelist.o build/temp.linux-ppc64le-2.7/timing.o -L/usr/lib64 -lrt -lpython2.7 -o build/lib.linux-ppc64le-2.7/_yappi.so + sleep 1 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NpzmnD + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le + cd yappi-1.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le running install running install_lib creating /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr creating /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64 creating /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages copying build/lib.linux-ppc64le-2.7/_yappi.so -> /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages copying build/lib.linux-ppc64le-2.7/yappi.py -> /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages/yappi.py to yappi.pyc writing byte-compilation script '/tmp/tmpcCXV_R.py' /usr/bin/python2 -O /tmp/tmpcCXV_R.py removing /tmp/tmpcCXV_R.py running install_egg_info running egg_info writing yappi.egg-info/PKG-INFO writing top-level names to yappi.egg-info/top_level.txt writing dependency_links to yappi.egg-info/dependency_links.txt writing entry points to yappi.egg-info/entry_points.txt reading manifest file 'yappi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'yappi.egg-info/SOURCES.txt' Copying yappi.egg-info to /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages/yappi-1.0-py2.7.egg-info running install_scripts Installing yappi script to /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/bin + mv /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/bin/yappi /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/bin/yappi-2.7 + ln -s yappi-2.7 /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/bin/yappi-2 + ln -s yappi-2 /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/bin/yappi + /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/yappi-1.0 extracting debug info from /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7/site-packages/_yappi.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 107 blocks + /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/python-yappi-1.0-1.el7.ppc64le/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/lib/debug/usr/lib64/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.YnbCJZ + umask 022 + cd /builddir/build/BUILD + cd yappi-1.0 + export PYTHONPATH=/builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le//usr/lib64/python2.7/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le//usr/lib64/python2.7/site-packages + /usr/bin/python2 tests/test_functionality.py .................... Yappi puts 20.5 times overhead to the profiled application in average. .s.s....................... ---------------------------------------------------------------------- Ran 47 tests in 10.194s OK (skipped=2) + /usr/bin/python2 tests/test_hooks.py ..Traceback (most recent call last): File "tests/test_hooks.py", line 70, in callback raise Exception('callback error') Exception: callback error .[*] [yappi-err] context id callback returned non-integer ......Traceback (most recent call last): File "tests/test_hooks.py", line 188, in callback raise Exception('callback error') Exception: callback error .[*] [yappi-err] context name callback returned non-string ... ---------------------------------------------------------------------- Ran 13 tests in 0.210s OK + exit 0 Processing files: python2-yappi-1.0-1.el7.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fbpq1r + umask 022 + cd /builddir/build/BUILD + cd yappi-1.0 + DOCDIR=/builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/doc/python2-yappi-1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/doc/python2-yappi-1.0 + cp -pr README.md /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/doc/python2-yappi-1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kZFvjU + umask 022 + cd /builddir/build/BUILD + cd yappi-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/licenses/python2-yappi-1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/licenses/python2-yappi-1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le/usr/share/licenses/python2-yappi-1.0 + exit 0 Provides: python-yappi = 1.0-1.el7 python-yappi(ppc-64) = 1.0-1.el7 python2-yappi = 1.0-1.el7 python2-yappi(ppc-64) = 1.0-1.el7 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/python2 libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) librt.so.1()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-yappi < 1.0-1.el7 Processing files: python-yappi-debuginfo-1.0-1.el7.ppc64le Provides: python-yappi-debuginfo = 1.0-1.el7 python-yappi-debuginfo(ppc-64) = 1.0-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le Wrote: /builddir/build/RPMS/python2-yappi-1.0-1.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/python-yappi-debuginfo-1.0-1.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AOPDth + umask 022 + cd /builddir/build/BUILD + cd yappi-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yappi-1.0-1.el7.ppc64le + exit 0 Child return code was: 0