Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/module-rust-stable-3120190624183830-4004e21e-build-16647505-1203518/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rust-packaging.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/rust-packaging-10-2.module_f31+4836+0180a5cc.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rust-packaging.spec'], chrootPath='/var/lib/mock/module-rust-stable-3120190624183830-4004e21e-build-16647505-1203518/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rust-packaging.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aTiKMr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust2rpm-10 + /usr/bin/xz -dc /builddir/build/SOURCES/rust2rpm-10.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust2rpm-10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-macros-Do-not-use-awk-s-inplace-feature.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zUJXRs + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-10 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_py creating build creating build/lib creating build/lib/rust2rpm copying rust2rpm/licensing.py -> build/lib/rust2rpm copying rust2rpm/metadata.py -> build/lib/rust2rpm copying rust2rpm/__main__.py -> build/lib/rust2rpm copying rust2rpm/inspector.py -> build/lib/rust2rpm copying rust2rpm/__init__.py -> build/lib/rust2rpm copying rust2rpm/spdx_to_fedora.csv -> build/lib/rust2rpm creating build/lib/rust2rpm/templates copying rust2rpm/templates/main.spec -> build/lib/rust2rpm/templates copying rust2rpm/templates/fedora-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-header.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/mageia-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/plain-changelog.spec.inc -> build/lib/rust2rpm/templates copying rust2rpm/templates/opensuse-changelog.spec.inc -> build/lib/rust2rpm/templates Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7xUESs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le + cd rust2rpm-10 + 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 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/rpm/macros.d data/macros.rust data/macros.cargo + install -D -p -m 0644 -t /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/rpm/fileattrs data/cargo.attr + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs running install running install_lib creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7 creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm copying build/lib/rust2rpm/licensing.py -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm copying build/lib/rust2rpm/metadata.py -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm copying build/lib/rust2rpm/spdx_to_fedora.csv -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm copying build/lib/rust2rpm/__main__.py -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm copying build/lib/rust2rpm/inspector.py -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm creating /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/fedora-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-header.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/main.spec -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/mageia-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/plain-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/templates/opensuse-changelog.spec.inc -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/templates copying build/lib/rust2rpm/__init__.py -> /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm byte-compiling /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/licensing.py to licensing.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/metadata.py to metadata.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/__main__.py to __main__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/inspector.py to inspector.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm/__init__.py to __init__.cpython-37.pyc writing byte-compilation script '/tmp/tmpl141wajj.py' /usr/bin/python3 /tmp/tmpl141wajj.py removing /tmp/tmpl141wajj.py running install_egg_info running egg_info creating rust2rpm.egg-info writing rust2rpm.egg-info/PKG-INFO writing dependency_links to rust2rpm.egg-info/dependency_links.txt writing entry points to rust2rpm.egg-info/entry_points.txt writing requirements to rust2rpm.egg-info/requires.txt writing top-level names to rust2rpm.egg-info/top_level.txt writing manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest file 'rust2rpm.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'rust2rpm.egg-info/SOURCES.txt' Copying rust2rpm.egg-info to /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7/site-packages/rust2rpm-10-py3.7.egg-info running install_scripts Installing cargo-inspector script to /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/bin Installing rust2rpm script to /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/bin Bytecompiling .py files below /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/lib/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.64RbCs + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-10 + py.test-3.7 -vv test.py + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.11.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rust2rpm-10 collecting ... collected 21 items test.py::test_dependency[^1.2.3-(crate(test) >= 1.2.3 with crate(test) < 2.0.0)] PASSED [ 4%] test.py::test_dependency[^1.2-(crate(test) >= 1.2.0 with crate(test) < 2.0.0)] PASSED [ 9%] test.py::test_dependency[^1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0)] PASSED [ 14%] test.py::test_dependency[^0.2.3-(crate(test) >= 0.2.3 with crate(test) < 0.3.0)] PASSED [ 19%] test.py::test_dependency[^0.2-(crate(test) >= 0.2.0 with crate(test) < 0.3.0)] PASSED [ 23%] test.py::test_dependency[^0.0.3-(crate(test) >= 0.0.3 with crate(test) < 0.0.4)] PASSED [ 28%] test.py::test_dependency[^0.0-(crate(test) >= 0.0.0 with crate(test) < 0.1.0)] PASSED [ 33%] test.py::test_dependency[^0-(crate(test) >= 0.0.0 with crate(test) < 1.0.0)] PASSED [ 38%] test.py::test_dependency[~1.2.3-(crate(test) >= 1.2.3 with crate(test) < 1.3.0)] PASSED [ 42%] test.py::test_dependency[~1.2-(crate(test) >= 1.2.0 with crate(test) < 1.3.0)] PASSED [ 47%] test.py::test_dependency[~1-(crate(test) >= 1.0.0 with crate(test) < 2.0.0)] PASSED [ 52%] test.py::test_dependency[*-crate(test)] PASSED [ 57%] test.py::test_dependency[>= 1.2.0-crate(test) >= 1.2.0] PASSED [ 61%] test.py::test_dependency[> 1-crate(test) > 1.0.0] PASSED [ 66%] test.py::test_dependency[< 2-crate(test) < 2.0.0] PASSED [ 71%] test.py::test_dependency[= 1.2.3-crate(test) = 1.2.3] PASSED [ 76%] test.py::test_dependency[>= 1.2, < 1.5-(crate(test) >= 1.2.0 with crate(test) < 1.5.0)] PASSED [ 80%] test.py::test_dependency[^2.0.0-alpha.6-(crate(test) >= 2.0.0~alpha.6 with crate(test) < 3.0.0)] PASSED [ 85%] test.py::test_dependency[^0.1.0-alpha.6-(crate(test) >= 0.1.0~alpha.6 with crate(test) < 0.2.0)] PASSED [ 90%] test.py::test_dependency[^0.0.1-alpha.6-(crate(test) >= 0.0.1~alpha.6 with crate(test) < 0.0.2)] PASSED [ 95%] test.py::test_dependency[^0.0.0-alpha.6-(crate(test) >= 0.0.0~alpha.6 with crate(test) < 0.0.1)] PASSED [100%] ========================== 21 passed in 1.08 seconds =========================== Processing files: rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5Njzrw + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-10 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/rust-packaging + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/rust-packaging + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/rust-packaging + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: rust-packaging = 10-2.module_f31+4836+0180a5cc rust-packaging(ppc-64) = 10-2.module_f31+4836+0180a5cc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-rust2rpm-10-2.module_f31+4836+0180a5cc.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V6hYjw + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-10 + LICENSEDIR=/builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/python3-rust2rpm + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/python3-rust2rpm + cp -pr LICENSE /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le/usr/share/licenses/python3-rust2rpm + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python3-rust2rpm = 10-2.module_f31+4836+0180a5cc python3-rust2rpm(ppc-64) = 10-2.module_f31+4836+0180a5cc python3.7dist(rust2rpm) = 10 python3dist(rust2rpm) = 10 rust2rpm = 10-2.module_f31+4836+0180a5cc 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/python3 python(abi) = 3.7 python3.7dist(jinja2) python3.7dist(requests) python3.7dist(semantic-version) python3.7dist(setuptools) python3.7dist(tqdm) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le Wrote: /builddir/build/RPMS/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le.rpm Wrote: /builddir/build/RPMS/python3-rust2rpm-10-2.module_f31+4836+0180a5cc.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UBWwVs + umask 022 + cd /builddir/build/BUILD + cd rust2rpm-10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-packaging-10-2.module_f31+4836+0180a5cc.ppc64le + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0