Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpmlint.spec'], chrootPath='/var/lib/mock/f33-build-26723996-3339140/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=201600uid=1000gid=425user='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 Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1618272000 Wrote: /builddir/build/SRPMS/rpmlint-1.11-16.fc33.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/f33-build-26723996-3339140/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=201600uid=1000gid=425user='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 setting SOURCE_DATE_EPOCH=1618272000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fEKWS2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpmlint-rpmlint-1.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpmlint-1.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpmlint-rpmlint-1.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #199 (rpmlint-1.10-suppress-locale-error.patch):' Patch #199 (rpmlint-1.10-suppress-locale-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rpmlint + echo 'Patch #212 (rpmlint-1.11-rpm4.15.patch):' Patch #212 (rpmlint-1.11-rpm4.15.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Pkg.py Hunk #1 succeeded at 172 (offset 29 lines). + echo 'Patch #213 (rpmlint-1.11-libc-warnings.patch):' Patch #213 (rpmlint-1.11-libc-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file BinariesCheck.py + echo 'Patch #214 (rpmlint-1.11-no-python-macro.patch):' Patch #214 (rpmlint-1.11-no-python-macro.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file TagsCheck.py + sed -i 's|1.10|1.11|g' Makefile + sed -i 's/'\''wb'\''/'\''w'\''/' PostCheck.py + sed -i -e /MenuCheck/d Config.py + cp -p config config.example + install -pm 644 /builddir/build/SOURCES/rpmlint-etc.config config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DgVep1 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + make COMPILE_PYC=1 PYTHON=/usr/bin/python3 echo "# Automatically generated, do not edit" > __version__.py echo "__version__ = '1.11'" >> __version__.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hRxX4Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch ++ dirname /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch + cd rpmlint-rpmlint-1.11 + touch rpmlint.pyc rpmlint.pyo + make install DESTDIR=/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch ETCDIR=/etc MANDIR=/usr/share/man LIBDIR=/usr/share/rpmlint BINDIR=/usr/bin PYTHON=/usr/bin/python3 mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/bin /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/etc/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/man/man1 cp -p *.py /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint if [ "x" = "x1" ] ; then \ /usr/bin/python3 -m py_compile \ /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/[A-Z]*.py \ /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/__*__.py ; \ fi /usr/bin/python3 -O -m compileall -d /usr/share/rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint Listing '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/AbstractCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/AppDataCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/BinariesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/Config.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/ConfigCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/DistributionCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/DocFilesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/FHSCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/FilesCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/Filter.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/I18NCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/InitScriptCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/LSBCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/MenuCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/MenuXDGCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/NamingPolicyCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/PamCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/Pkg.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/PostCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/RpmFileCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/SCLCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/SignatureCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/SourceCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/SpecCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/TagsCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/ZipCheck.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/__isocodes__.py'... Compiling '/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/__version__.py'... for file in rpmlint rpmdiff ; do \ sed -e "s,#!/usr/bin/python ,#!/usr/bin/python3 ," $file > /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/bin/$file ; \ chmod +x /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/bin/$file ; \ done cp -p config /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.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.11-16.fc33.noarch/etc/bash_completion.d ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/etc/bash_completion.d/rpmlint ; \ else \ mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch$compdir ; \ cp -p rpmlint.bash-completion /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch$compdir/rpmlint ; \ ln -sf rpmlint /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch$compdir/rpmdiff ; \ fi cp -p rpmdiff.1 rpmlint.1 /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/man/man1 + install -pm 644 /builddir/build/SOURCES/rpmlint.config /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/rpmlint/config + /usr/lib/rpm/find-debuginfo.sh -j3 --strict-build-id -m -i --build-id-seed 1.11-16.fc33 --unique-debug-suffix -1.11-16.fc33.noarch --unique-debug-src-base rpmlint-1.11-16.fc33.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rpmlint-rpmlint-1.11 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.U0jmc1 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + make check PYTHON=/usr/bin/python3 PYTEST=pytest-3 FLAKE8=true ./test.sh Please ignore the possibly occurring output like this: .../Patch*.patch: No such file or directory . ---------------------------------------------------------------------- Ran 1 test in 0.049s OK . ---------------------------------------------------------------------- Ran 1 test in 0.014s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK . ---------------------------------------------------------------------- Ran 1 test in 0.031s OK . ---------------------------------------------------------------------- Ran 1 test in 0.035s OK . ---------------------------------------------------------------------- Ran 1 test in 0.037s OK Check that rpmlint executes with no unexpected errors ...in default locale /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) ...in the C locale /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) ...with specfile from stdin pytest-3 tests /usr/lib/python3.9/site-packages/_pytest/compat.py:340: PytestDeprecationWarning: The TerminalReporter.writer attribute is deprecated, use TerminalReporter._tw instead at your own risk. See https://docs.pytest.org/en/stable/deprecations.html#terminalreporter-writer for more information. return getattr(object, name, default) ============================= test session starts ============================== platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/rpmlint-rpmlint-1.11 collecting ... collected 43 items test/test_binaries.py::TestForbiddenCCalls::test_forbidden_c_calls PASSED [ 2%] test/test_binaries.py::TestForbiddenCCalls::test_waived_forbidden_c_calls PASSED [ 4%] test/test_binaries.py::TestForbiddenCCalls::test_lto_bytecode PASSED [ 6%] test/test_distribution.py::TestDistribution::test_distribution_tags PASSED [ 9%] test/test_files.py::TestPythonBytecodeToScript::test_pep3147 PASSED [ 11%] 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 [ 20%] test/test_files.py::TestPythonBytecodeMagic::test_pyc_magic_from_chunk[37-3393] PASSED [ 23%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[36-1513659236] PASSED [ 25%] test/test_files.py::TestPythonBytecodeMtime::test_pyc_mtime_from_chunk[37-1519778958] PASSED [ 27%] test/test_files.py::TestDevelFiles::test_python_bytecode_magic PASSED [ 30%] test/test_files.py::test_script_interpreter PASSED [ 32%] test/test_files.py::test_scm_regex PASSED [ 34%] test/test_files.py::test_lib_regex PASSED [ 37%] test/test_menuxdg.py::TestMenuXDGParsing::test_raises_parse_error PASSED [ 39%] test/test_scl.py::TestSCLBasic::test_nonscl_spec_silent PASSED [ 41%] test/test_scl.py::TestSCLBasic::test_nonscl_binary_silent PASSED [ 44%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_source_rpms PASSED [ 46%] test/test_scl.py::TestSCLBasic::test_bunch_of_scl_binary_rpms PASSED [ 48%] test/test_scl.py::TestSCLBasic::test_correct_nodejs PASSED [ 51%] test/test_scl.py::TestSCLBasic::test_undeclared PASSED [ 53%] test/test_scl.py::TestSCLMain::test_nobuild PASSED [ 55%] test/test_scl.py::TestSCLMain::test_noruntime PASSED [ 58%] test/test_scl.py::TestSCLMain::test_missing_requires PASSED [ 60%] test/test_scl.py::TestSCLMain::test_alien_subpackage PASSED [ 62%] test/test_scl.py::TestSCLMain::test_nosclinstall PASSED [ 65%] test/test_scl.py::TestSCLMain::test_noarch PASSED [ 67%] test/test_scl.py::TestSCLMain::test_badfiles PASSED [ 69%] test/test_scl.py::TestSCLSource::test_no_pkg_name PASSED [ 72%] test/test_scl.py::TestSCLSource::test_name_without_prefix PASSED [ 74%] test/test_scl.py::TestSCLSource::test_name_with_prefix_without_condition PASSED [ 76%] test/test_scl.py::TestSCLSource::test_conflicts_without_prefix PASSED [ 79%] test/test_scl.py::TestSCLSource::test_provides_without_prefix PASSED [ 81%] test/test_scl.py::TestSCLSource::test_main_package_without_scl_require PASSED [ 83%] test/test_scl.py::TestSCLSource::test_n_supbackage_without_prefix PASSED [ 86%] test/test_scl.py::TestSCLSource::test_setup_without_n PASSED [ 88%] test/test_scl.py::TestSCLBinary::test_scl_name_screwed_up PASSED [ 90%] test/test_scl.py::TestSCLBinary::test_scl_forbidden_folders PASSED [ 93%] test/test_scl.py::TestSCLBinary::test_scl_macros_outside_of_build PASSED [ 95%] test/test_sources.py::TestSourceCheck::test_inconsistent_file_extension PASSED [ 97%] test/test_tags.py::TestTags::test_unexpanded_macros PASSED [100%] =============================== warnings summary =============================== test/test_menuxdg.py::TestMenuXDGParsing::test_raises_parse_error /builddir/build/BUILD/rpmlint-rpmlint-1.11/MenuXDGCheck.py:35: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead. cfp.readfp(inputf, filename) -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 43 passed, 1 warning in 10.57s ======================== true tests man page tests Skipped, man does not seem to recognize the --warnings switch + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rpmlint-1.11-16.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UeXCm3 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + DOCDIR=/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/doc/rpmlint + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/doc/rpmlint + cp -pr README.md /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/doc/rpmlint + cp -pr config.example /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/doc/rpmlint + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s71lA3 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + LICENSEDIR=/builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/licenses/rpmlint + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/licenses/rpmlint + cp -pr COPYING /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch/usr/share/licenses/rpmlint + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rpmlint) = 1.11-16.fc33 rpmlint = 1.11-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch Wrote: /builddir/build/RPMS/rpmlint-1.11-16.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ITiCD1 + umask 022 + cd /builddir/build/BUILD + cd rpmlint-rpmlint-1.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rpmlint-1.11-16.fc33.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0