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/rpmlint.spec'], chrootPath='/var/lib/mock/dist-circle8-build-113825-75594/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/rpmlint.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 ls: cannot access '/usr/bin/py.test-3*': No such file or directory ls: cannot access '/usr/bin/py.test-3*': No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpmlint-1.10-15.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'], chrootPath='/var/lib/mock/dist-circle8-build-113825-75594/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 /builddir/build/SPECS/rpmlint.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.NAFKBn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmlint-rpmlint-1.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmlint-1.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmlint-rpmlint-1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (rpmlint-1.10-ignore-debuginfo-useless-provides.patch): + echo 'Patch #0 (rpmlint-1.10-ignore-debuginfo-useless-provides.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debuginfo-useless-provides --fuzz=0 patching file TagsCheck.py Patch #1 (rpmlint-1.10-flake-cleanups.patch): + echo 'Patch #1 (rpmlint-1.10-flake-cleanups.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .flake --fuzz=0 patching file AbstractCheck.py patching file BinariesCheck.py patching file Config.py patching file MenuXDGCheck.py patching file Pkg.py patching file rpmlint patching file SCLCheck.py patching file SpecCheck.py patching file ZipCheck.py Patch #2 (rpmlint-1.10-no_python2.patch): + echo 'Patch #2 (rpmlint-1.10-no_python2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no_python2 --fuzz=0 patching file TagsCheck.py Patch #3 (rpmlint-1.10-fix_test.patch): + echo 'Patch #3 (rpmlint-1.10-fix_test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix_test --fuzz=0 patching file test.sh Patch #4 (rpmlint-1.10-rpm_surrogate_escaped_utf8.patch): + echo 'Patch #4 (rpmlint-1.10-rpm_surrogate_escaped_utf8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpm_surrogate_escaped_utf8 --fuzz=0 patching file Pkg.py Patch #5 (rpmlint-1.10-update-crypto-example.patch): + echo 'Patch #5 (rpmlint-1.10-update-crypto-example.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .update_crypto_example --fuzz=0 patching file config Patch #6 (rpmlint-1.10-python3.7-pyc-mtime.patch): + echo 'Patch #6 (rpmlint-1.10-python3.7-pyc-mtime.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python3.7-pyc-mtime --fuzz=0 patching file FilesCheck.py Hunk #1 succeeded at 377 (offset -2 lines). Hunk #2 succeeded at 750 (offset -2 lines). Hunk #3 succeeded at 773 (offset -2 lines). patching file test/pyc/.gitignore patching file test/test_files.py patching file tools/Testing.py patching file test/test_files.py + cp -p /builddir/build/SOURCES/__future__.cpython-36.pyc /builddir/build/SOURCES/__future__.cpython-37.pyc test/pyc/ + sed -i -e /MenuCheck/d Config.py + cp -p config config.example + install -pm 644 /builddir/build/SOURCES/rpmlint-etc.config config + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9hQash + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + make COMPILE_PYC=1 PYTHON=/usr/libexec/platform-python echo "# Automatically generated, do not edit" > __version__.py echo "__version__ = '1.10'" >> __version__.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.D5GRAO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch ++ dirname /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch + cd rpmlint-rpmlint-1.10 + touch rpmlint.pyc rpmlint.pyo + make install DESTDIR=/builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch ETCDIR=/etc MANDIR=/usr/share/man LIBDIR=/usr/share/rpmlint BINDIR=/usr/bin PYTHON=/usr/libexec/platform-python mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/bin /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/etc/rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/man/man1 cp -p *.py /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint if [ "x" = "x1" ] ; then \ /usr/libexec/platform-python -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/__*__.py ; \ fi /usr/libexec/platform-python -O -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/__*__.py ; \ for file in rpmlint rpmdiff ; do \ sed -e "s,#!/usr/bin/python ,#!/usr/libexec/platform-python ," $file > /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/bin/$file ; \ chmod +x /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/bin/$file ; \ done cp -p config /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/etc/rpmlint compdir=`pkg-config --variable=completionsdir bash-completion 2>/dev/null` ; \ if [ "x$compdir" = "x" ] ; then \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/etc/bash_completion.d ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/etc/bash_completion.d/rpmlint ; \ else \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch$compdir ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch$compdir/rpmlint ; \ ln -sf rpmlint /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch$compdir/rpmdiff ; \ fi cp -p rpmdiff.1 rpmlint.1 /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/man/man1 + install -pm 644 /builddir/build/SOURCES/rpmlint.config /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/config + install -pm 644 /builddir/build/SOURCES/rpmlint.config.el4 /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/config.el4 + install -pm 644 /builddir/build/SOURCES/rpmlint.config.el5 /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/rpmlint/config.el5 + pushd /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/bin ~/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/bin ~/build/BUILD/rpmlint-rpmlint-1.10 + ln -s rpmlint el4-rpmlint + ln -s rpmlint el5-rpmlint + popd ~/build/BUILD/rpmlint-rpmlint-1.10 + rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/etc/bash_completion.d/ + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.10-15.el8 --unique-debug-suffix -1.10-15.el8.noarch --unique-debug-src-base rpmlint-1.10-15.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmlint-rpmlint-1.10 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.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 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.pPJMoN + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + make check PYTHON=/usr/libexec/platform-python PYTEST=/usr/bin/py.test-3.6 FLAKE8=true ./test.sh Please ignore the possibly occurring output like this: .../Patch*.patch: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.013s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.018s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.021s OK sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.020s OK Check that rpmlint executes with no unexpected errors ...in default locale sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory ...in the C locale sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory ...with specfile from stdin sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory /usr/bin/py.test-3.6 tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rpmlint-rpmlint-1.10, inifile: collecting ... collected 37 items test/test_binaries.py::TestForbiddenCCalls::test_forbidden_c_calls PASSED [ 2%] test/test_binaries.py::TestForbiddenCCalls::test_waived_forbidden_c_calls PASSED [ 5%] test/test_distribution.py::TestDistribution::test_distribution_tags PASSED [ 8%] test/test_files.py::TestPythonBytecodeToScript::test_pep3147 PASSED [ 10%] test/test_files.py::TestPythonBytecodeToScript::test_py2 PASSED [ 13%] test/test_files.py::TestPythonBytecodeToScript::test_pep0488 PASSED [ 16%] test/test_files.py::TestPythonBytecodeMagic::test_python_bytecode_magic PASSED [ 18%] test/test_files.py::TestPythonBytecodeMagic::test_pyc_magic_from_chunk[36-3379] PASSED [ 21%] test/test_files.py::TestPythonBytecodeMagic::test_pyc_magic_from_chunk[37-3393] PASSED [ 24%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[36-1513659236] PASSED [ 27%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[37-1519778958] PASSED [ 29%] test/test_files.py::TestDevelFiles::test_python_bytecode_magic PASSED [ 32%] test/test_files.py::test_script_interpreter PASSED [ 35%] test/test_scl.py::TestSCLBasic::test_nonscl_spec_silent PASSED [ 37%] test/test_scl.py::TestSCLBasic::test_nonscl_binary_silent PASSED [ 40%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_source_rpms PASSED [ 43%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_binary_rpms PASSED [ 45%] test/test_scl.py::TestSCLBasic::test_correct_nodejs PASSED [ 48%] test/test_scl.py::TestSCLBasic::test_undeclared PASSED [ 51%] test/test_scl.py::TestSCLMain::test_nobuild PASSED [ 54%] test/test_scl.py::TestSCLMain::test_noruntime PASSED [ 56%] test/test_scl.py::TestSCLMain::test_missing_requires PASSED [ 59%] test/test_scl.py::TestSCLMain::test_alien_subpackage PASSED [ 62%] test/test_scl.py::TestSCLMain::test_nosclinstall PASSED [ 64%] test/test_scl.py::TestSCLMain::test_noarch PASSED [ 67%] test/test_scl.py::TestSCLMain::test_badfiles PASSED [ 70%] test/test_scl.py::TestSCLSource::test_no_pkg_name PASSED [ 72%] test/test_scl.py::TestSCLSource::test_name_without_prefix PASSED [ 75%] test/test_scl.py::TestSCLSource::test_name_with_prefix_without_condition PASSED [ 78%] test/test_scl.py::TestSCLSource::test_conflicts_without_prefix PASSED [ 81%] test/test_scl.py::TestSCLSource::test_provides_without_prefix PASSED [ 83%] test/test_scl.py::TestSCLSource::test_main_package_without_scl_require PASSED [ 86%] test/test_scl.py::TestSCLSource::test_n_supbackage_without_prefix PASSED [ 89%] test/test_scl.py::TestSCLSource::test_setup_without_n PASSED [ 91%] test/test_scl.py::TestSCLBinary::test_scl_name_screwed_up PASSED [ 94%] test/test_scl.py::TestSCLBinary::test_scl_forbidden_folders PASSED [ 97%] test/test_scl.py::TestSCLBinary::test_scl_macros_outside_of_build PASSED [100%] ========================== 37 passed in 9.34 seconds =========================== /usr/lib/python3.6/site-packages/_pytest/assertion/rewrite.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp /usr/lib/python3.6/site-packages/_pytest/fixtures.py:847: DeprecationWarning: The `convert` argument is deprecated in favor of `converter`. It will be removed after 2019/01. params = attr.ib(convert=attr.converters.optional(tuple)) /usr/lib/python3.6/site-packages/_pytest/fixtures.py:849: DeprecationWarning: The `convert` argument is deprecated in favor of `converter`. It will be removed after 2019/01. ids = attr.ib(default=None, convert=_ensure_immutable_ids) man page tests Skipped, man does not seem to recognize the --warnings switch + exit 0 Processing files: rpmlint-1.10-15.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zSI8Cr + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + DOCDIR=/builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/doc/rpmlint + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/doc/rpmlint + cp -pr README.md /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/doc/rpmlint + cp -pr config.example /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/doc/rpmlint + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lry47K + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + LICENSEDIR=/builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/licenses/rpmlint + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/licenses/rpmlint + cp -pr COPYING /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch/usr/share/licenses/rpmlint + exit 0 Provides: config(rpmlint) = 1.10-15.el8 rpmlint = 1.10-15.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/libexec/platform-python Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch Wrote: /builddir/build/RPMS/rpmlint-1.10-15.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bw2Q6B + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpmlint-1.10-15.el8.noarch + exit 0 Child return code was: 0