Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-dotenv.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.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\\$ '}chrootPath='/var/lib/mock/configmanagement8-ara-13-el8-build-90118-675036/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-dotenv.spec'] with env {'LANG': 'en_GB.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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-dotenv-0.9.1-6.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-dotenv.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.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\\$ '}chrootPath='/var/lib/mock/configmanagement8-ara-13-el8-build-90118-675036/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-dotenv.spec'] with env {'LANG': 'en_GB.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 Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ByGCoW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dotenv-0.9.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-dotenv-0.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dotenv-0.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DvN1Fk + umask 022 + cd /builddir/build/BUILD + cd python-dotenv-0.9.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' Pandoc not found. Long_description conversion failure. running build running build_py creating build creating build/lib creating build/lib/dotenv copying dotenv/compat.py -> build/lib/dotenv copying dotenv/__init__.py -> build/lib/dotenv copying dotenv/cli.py -> build/lib/dotenv copying dotenv/version.py -> build/lib/dotenv copying dotenv/main.py -> build/lib/dotenv copying dotenv/ipython.py -> build/lib/dotenv + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.epksRL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch + cd python-dotenv-0.9.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch Pandoc not found. Long_description conversion failure. running install running install_lib creating /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr creating /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/compat.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/__init__.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/cli.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/version.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/main.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv copying build/lib/dotenv/ipython.py -> /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/cli.py to cli.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/main.py to main.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/dotenv/ipython.py to ipython.cpython-36.pyc writing byte-compilation script '/tmp/tmp5pqqvq16.py' /usr/bin/python3.6 /tmp/tmp5pqqvq16.py removing /tmp/tmp5pqqvq16.py running install_egg_info running egg_info creating python_dotenv.egg-info writing python_dotenv.egg-info/PKG-INFO writing dependency_links to python_dotenv.egg-info/dependency_links.txt writing entry points to python_dotenv.egg-info/entry_points.txt writing requirements to python_dotenv.egg-info/requires.txt writing top-level names to python_dotenv.egg-info/top_level.txt writing manifest file 'python_dotenv.egg-info/SOURCES.txt' reading manifest file 'python_dotenv.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' writing manifest file 'python_dotenv.egg-info/SOURCES.txt' Copying python_dotenv.egg-info to /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages/python_dotenv-0.9.1-py3.6.egg-info running install_scripts Installing dotenv script to /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/bin + /usr/lib/rpm/find-debuginfo.sh -j20 --strict-build-id -m -i --build-id-seed 0.9.1-6.el8 --unique-debug-suffix -0.9.1-6.el8.noarch --unique-debug-src-base python-dotenv-0.9.1-6.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-dotenv-0.9.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BL4ghe + umask 022 + cd /builddir/build/BUILD + cd python-dotenv-0.9.1 + export PATH=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PYTHONPATH=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/lib/python3.6/site-packages + /usr/bin/python3.6 -m pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-4.6.9, py-1.5.3, pluggy-0.13.0 -- /usr/bin/python3.6 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-dotenv-0.9.1, inifile: setup.cfg collecting ... collected 41 items tests/test_cli.py::test_get_key PASSED [ 2%] tests/test_cli.py::test_set_key PASSED [ 4%] tests/test_cli.py::test_list PASSED [ 7%] tests/test_cli.py::test_get_cli PASSED [ 9%] tests/test_cli.py::test_list_wo_file PASSED [ 12%] tests/test_cli.py::test_key_value_without_quotes PASSED [ 14%] tests/test_cli.py::test_value_with_quotes PASSED [ 17%] tests/test_cli.py::test_value_with_special_characters PASSED [ 19%] tests/test_cli.py::test_unset PASSED [ 21%] tests/test_cli.py::test_unset_cli PASSED [ 24%] tests/test_cli.py::test_console_script PASSED [ 26%] tests/test_cli.py::test_default_path PASSED [ 29%] tests/test_cli.py::test_get_key_with_interpolation PASSED [ 31%] tests/test_cli.py::test_get_key_with_interpolation_of_unset_variable PASSED [ 34%] tests/test_cli.py::test_run PASSED [ 36%] tests/test_cli.py::test_run_with_other_env PASSED [ 39%] tests/test_cli.py::test_run_without_cmd PASSED [ 41%] tests/test_cli.py::test_run_with_invalid_cmd PASSED [ 43%] tests/test_cli.py::test_run_with_version PASSED [ 46%] tests/test_core.py::test_parse_line[a=b-expected0] PASSED [ 48%] tests/test_core.py::test_parse_line[ a = b -expected1] PASSED [ 51%] tests/test_core.py::test_parse_line[export a=b-expected2] PASSED [ 53%] tests/test_core.py::test_parse_line[ export 'a'=b-expected3] PASSED [ 56%] tests/test_core.py::test_parse_line[ export 'a'=b-expected4] PASSED [ 58%] tests/test_core.py::test_parse_line[# a=b-expected5] PASSED [ 60%] tests/test_core.py::test_parse_line[# a=b-expected6] PASSED [ 63%] tests/test_core.py::test_parse_line[a=b space -expected7] PASSED [ 65%] tests/test_core.py::test_parse_line[a='b space '-expected8] PASSED [ 68%] tests/test_core.py::test_parse_line[a="b space "-expected9] PASSED [ 70%] tests/test_core.py::test_parse_line[export export_spam=1-expected10] PASSED [ 73%] tests/test_core.py::test_parse_line[export port=8000-expected11] PASSED [ 75%] tests/test_core.py::test_warns_if_file_does_not_exist PASSED [ 78%] tests/test_core.py::test_find_dotenv PASSED [ 80%] tests/test_core.py::test_load_dotenv PASSED [ 82%] tests/test_core.py::test_load_dotenv_override PASSED [ 85%] tests/test_core.py::test_load_dotenv_in_current_dir PASSED [ 87%] tests/test_core.py::test_ipython PASSED [ 90%] tests/test_core.py::test_ipython_override PASSED [ 92%] tests/test_core.py::test_dotenv_values_stream PASSED [ 95%] tests/test_core.py::test_dotenv_values_export PASSED [ 97%] tests/test_utils.py::test_to_cli_string PASSED [100%] =============================== warnings summary =============================== dotenv/main.py:17 /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:17: DeprecationWarning: invalid escape sequence \$ __posix_variable = re.compile('\$\{[^\}]*\}') tests/test_cli.py::test_get_key tests/test_cli.py::test_set_key /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:65: UserWarning: File doesn't exist /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env warnings.warn("File doesn't exist {}".format(self.dotenv_path)) tests/test_cli.py::test_get_key tests/test_cli.py::test_set_key tests/test_cli.py::test_unset /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:111: UserWarning: key HELLO not found in /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env. warnings.warn("key %s not found in %s." % (key, self.dotenv_path)) tests/test_cli.py::test_get_key tests/test_cli.py::test_set_key /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:132: UserWarning: can't write to /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env - it doesn't exist. warnings.warn("can't write to %s - it doesn't exist." % dotenv_path) tests/test_cli.py::test_set_key /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:111: UserWarning: key foo not found in /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env. warnings.warn("key %s not found in %s." % (key, self.dotenv_path)) tests/test_cli.py::test_unset /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:177: UserWarning: key RANDOM not removed from /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env - key doesn't exist. warnings.warn("key %s not removed from %s - key doesn't exist." % (key_to_unset, dotenv_path)) tests/test_cli.py::test_unset /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:166: UserWarning: can't delete from /builddir/build/BUILD/python-dotenv-0.9.1/tests/.env - it doesn't exist. warnings.warn("can't delete from %s - it doesn't exist." % dotenv_path) tests/test_cli.py::test_unset_cli /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:111: UserWarning: key TESTHELLO not found in /tmp/pytest-of-mockbuild/pytest-0/test_unset_cli0/dotenv_file/.env. warnings.warn("key %s not found in %s." % (key, self.dotenv_path)) tests/test_cli.py::test_unset_cli /builddir/build/BUILD/python-dotenv-0.9.1/dotenv/main.py:177: UserWarning: key TESTHELLO not removed from /tmp/pytest-of-mockbuild/pytest-0/test_unset_cli0/dotenv_file/.env - key doesn't exist. warnings.warn("key %s not removed from %s - key doesn't exist." % (key_to_unset, dotenv_path)) -- Docs: https://docs.pytest.org/en/latest/warnings.html ==================== 41 passed, 13 warnings in 1.78 seconds ==================== + exit 0 Processing files: python3-dotenv-0.9.1-6.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s4qeML + umask 022 + cd /builddir/build/BUILD + cd python-dotenv-0.9.1 + DOCDIR=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/doc/python3-dotenv + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/doc/python3-dotenv + cp -pr README.md /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/doc/python3-dotenv + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.h6PBij + umask 022 + cd /builddir/build/BUILD + cd python-dotenv-0.9.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/licenses/python3-dotenv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/licenses/python3-dotenv + cp -pr LICENSE /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch/usr/share/licenses/python3-dotenv + exit 0 Provides: python3-dotenv = 0.9.1-6.el8 python3.6dist(python-dotenv) = 0.9.1 python3dist(python-dotenv) = 0.9.1 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.6 python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch Wrote: /builddir/build/RPMS/python3-dotenv-0.9.1-6.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YddrMV + umask 022 + cd /builddir/build/BUILD + cd python-dotenv-0.9.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-dotenv-0.9.1-6.el8.noarch + exit 0 Child return code was: 0