Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-distro.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.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/epel-1-armhfp-aa27ee5ef3097f3b52f72b84f02c86d594a11214/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-distro.spec'] with env {'LANG': 'en_US.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-distro-1.5.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-distro.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.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/epel-1-armhfp-aa27ee5ef3097f3b52f72b84f02c86d594a11214/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-distro.spec'] with env {'LANG': 'en_US.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.UbH9pE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf distro-1.5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/distro-1.5.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd distro-1.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf distro.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mqrqya + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=neon -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running build running build_py creating build creating build/lib copying distro.py -> build/lib + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NTQEBr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch + cd distro-1.5.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=neon -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python2.7/site-packages copying build/lib/distro.py -> /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/distro.py to distro.pyc writing byte-compilation script '/tmp/tmp4GTPnO.py' /usr/bin/python2 -O /tmp/tmp4GTPnO.py removing /tmp/tmp4GTPnO.py running install_egg_info running egg_info creating distro.egg-info writing distro.egg-info/PKG-INFO writing top-level names to distro.egg-info/top_level.txt writing dependency_links to distro.egg-info/dependency_links.txt writing entry points to distro.egg-info/entry_points.txt writing manifest file 'distro.egg-info/SOURCES.txt' reading manifest file 'distro.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGES' warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'distro.egg-info/SOURCES.txt' Copying distro.egg-info to /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python2.7/site-packages/distro-1.5.0-py2.7.egg-info running install_scripts Installing distro script to /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/bin + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=neon -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6/site-packages copying build/lib/distro.py -> /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6/site-packages byte-compiling /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6/site-packages/distro.py to distro.cpython-36.pyc writing byte-compilation script '/tmp/tmpo2hm59ps.py' /usr/bin/python3 /tmp/tmpo2hm59ps.py removing /tmp/tmpo2hm59ps.py running install_egg_info running egg_info writing distro.egg-info/PKG-INFO writing dependency_links to distro.egg-info/dependency_links.txt writing entry points to distro.egg-info/entry_points.txt writing top-level names to distro.egg-info/top_level.txt reading manifest file 'distro.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGES' warning: no previously-included files matching '*.py[co]' found anywhere in distribution writing manifest file 'distro.egg-info/SOURCES.txt' Copying distro.egg-info to /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6/site-packages/distro-1.5.0-py3.6.egg-info running install_scripts Installing distro script to /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/bin + /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/distro-1.5.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /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-distro-1.5.0-1.el7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/lib/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Tq3apv + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + export LANG=en_US.UTF-8 + LANG=en_US.UTF-8 + /usr/bin/python2 -m pytest tests -v ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 -- /usr/bin/python2 rootdir: /builddir/build/BUILD/distro-1.5.0, inifile: collecting ... collected 175 items tests/test_distro.py::TestNonLinuxPlatform::test_cant_use_on_windows PASSED tests/test_distro.py::TestCli::test_cli_for_coverage_yuch PASSED tests/test_distro.py::TestCli::test_cli PASSED tests/test_distro.py::TestCli::test_cli_json PASSED tests/test_distro.py::TestOSRelease::test_arch_os_release PASSED tests/test_distro.py::TestOSRelease::test_kali_os_release PASSED tests/test_distro.py::TestOSRelease::test_centos7_os_release PASSED tests/test_distro.py::TestOSRelease::test_coreos_os_release PASSED tests/test_distro.py::TestOSRelease::test_debian8_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora19_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora23_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora30_os_release PASSED tests/test_distro.py::TestOSRelease::test_kvmibm1_os_release PASSED tests/test_distro.py::TestOSRelease::test_linuxmint17_os_release PASSED tests/test_distro.py::TestOSRelease::test_mageia5_os_release PASSED tests/test_distro.py::TestOSRelease::test_manjaro1512_os_release PASSED tests/test_distro.py::TestOSRelease::test_opensuse42_os_release PASSED tests/test_distro.py::TestOSRelease::test_raspbian7_os_release PASSED tests/test_distro.py::TestOSRelease::test_raspbian8_os_release PASSED tests/test_distro.py::TestOSRelease::test_rhel7_os_release PASSED tests/test_distro.py::TestOSRelease::test_slackware14_os_release PASSED tests/test_distro.py::TestOSRelease::test_sles12_os_release PASSED tests/test_distro.py::TestOSRelease::test_ubuntu14_os_release PASSED tests/test_distro.py::TestOSRelease::test_ubuntu16_os_release PASSED tests/test_distro.py::TestOSRelease::test_amazon2016_os_release PASSED tests/test_distro.py::TestOSRelease::test_scientific7_os_release PASSED tests/test_distro.py::TestOSRelease::test_gentoo_os_release PASSED tests/test_distro.py::TestOSRelease::test_openelec6_os_release PASSED tests/test_distro.py::TestOSRelease::test_cloudlinux7_os_release PASSED tests/test_distro.py::TestLSBRelease::test_linuxmint17_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_manjaro1512_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_openbsd62_uname PASSED tests/test_distro.py::TestLSBRelease::test_netbsd711_uname PASSED tests/test_distro.py::TestLSBRelease::test_freebsd111_uname PASSED tests/test_distro.py::TestLSBRelease::test_midnightbsd12_uname PASSED tests/test_distro.py::TestLSBRelease::test_ubuntu14normal_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_ubuntu14nomodules_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_trailingblanks_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[001] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[002] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[126] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[130] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[255] PASSED tests/test_distro.py::TestSpecialRelease::test_empty_release PASSED tests/test_distro.py::TestSpecialRelease::test_unknowndistro_release PASSED tests/test_distro.py::TestSpecialRelease::test_bad_uname PASSED tests/test_distro.py::TestDistroRelease::test_arch_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_centos5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_centos7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora19_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora23_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora30_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_gentoo_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_kvmibm1_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_mageia5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_manjaro1512_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_opensuse42_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_oracle7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_rhel6_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_rhel7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_slackware14_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_sles12_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux6_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux7_dist_release PASSED tests/test_distro.py::TestOverall::test_arch_release PASSED tests/test_distro.py::TestOverall::test_centos5_release PASSED tests/test_distro.py::TestOverall::test_centos7_release PASSED tests/test_distro.py::TestOverall::test_coreos_release PASSED tests/test_distro.py::TestOverall::test_debian8_release PASSED tests/test_distro.py::TestOverall::test_exherbo_release PASSED tests/test_distro.py::TestOverall::test_fedora19_release PASSED tests/test_distro.py::TestOverall::test_fedora23_release PASSED tests/test_distro.py::TestOverall::test_fedora30_release PASSED tests/test_distro.py::TestOverall::test_kvmibm1_release PASSED tests/test_distro.py::TestOverall::test_linuxmint17_release PASSED tests/test_distro.py::TestOverall::test_mageia5_release PASSED tests/test_distro.py::TestOverall::test_manjaro1512_release PASSED tests/test_distro.py::TestOverall::test_opensuse42_release PASSED tests/test_distro.py::TestOverall::test_oracle7_release PASSED tests/test_distro.py::TestOverall::test_raspbian7_release PASSED tests/test_distro.py::TestOverall::test_raspbian8_release PASSED tests/test_distro.py::TestOverall::test_rhel5_release PASSED tests/test_distro.py::TestOverall::test_rhel6_release PASSED tests/test_distro.py::TestOverall::test_rhel7_release PASSED tests/test_distro.py::TestOverall::test_slackware14_release PASSED tests/test_distro.py::TestOverall::test_sles12_release PASSED tests/test_distro.py::TestOverall::test_ubuntu14_release PASSED tests/test_distro.py::TestOverall::test_ubuntu16_release PASSED tests/test_distro.py::TestOverall::test_amazon2016_release PASSED tests/test_distro.py::TestOverall::test_amazon2014_release PASSED tests/test_distro.py::TestOverall::test_scientific6_release PASSED tests/test_distro.py::TestOverall::test_scientific7_release PASSED tests/test_distro.py::TestOverall::test_gentoo_release PASSED tests/test_distro.py::TestOverall::test_openelec6_release PASSED tests/test_distro.py::TestOverall::test_mandriva2011_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux5_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux6_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_arch_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_centos5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_centos7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_coreos_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_debian8_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_exherbo_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora19_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora23_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora30_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_kvmibm1_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_linuxmint17_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_mageia5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_manjaro1512_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_opensuse42_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_oracle7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_raspbian7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_raspbian8_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_slackware14_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_sles12_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_ubuntu14_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_ubuntu16_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_amazon2016_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_amazon2014_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_scientific6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_scientific7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_gentoo_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_openelec6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_mandriva2011_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux7_release PASSED tests/test_distro.py::TestGetAttr::test_os_release_attr PASSED tests/test_distro.py::TestGetAttr::test_lsb_release_attr PASSED tests/test_distro.py::TestGetAttr::test_distro_release_attr PASSED tests/test_distro.py::TestInfo::test_info PASSED tests/test_distro.py::TestInfo::test_none PASSED tests/test_distro.py::TestInfo::test_linux_distribution PASSED tests/test_distro.py::TestInfo::test_linux_distribution_full_false PASSED tests/test_distro.py::TestInfo::test_all PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_01_empty_file PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_02_empty_line PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_03_empty_line_with_crlf PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_04_empty_line_with_just_cr PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_05_comment PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_06_empty_value PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_07_empty_value_single_quoted PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_08_empty_value_double_quoted PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_09_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_10_word_no_newline PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_11_word_with_crlf PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_12_word_with_just_cr PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_13_word_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_14_unquoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_15_double_quoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_16_double_quoted_words_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_17_double_quoted_word_with_single_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_18_double_quoted_word_with_double_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_19_single_quoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_20_single_quoted_words_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_21_single_quoted_word_with_double_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_22_quoted_unicode_wordchar PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_23_quoted_unicode_non_wordchar PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_24_double_quoted_entire_single_quoted_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_25_single_quoted_entire_double_quoted_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_26_double_quoted_multiline PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_27_double_quoted_multiline_2 PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_28_double_quoted_word_with_equal PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_29_single_quoted_word_with_equal PASSED tests/test_distro.py::TestOSReleaseParsing::test_kx_01 PASSED tests/test_distro.py::TestOSReleaseParsing::test_kx_02 PASSED tests/test_distro.py::TestGlobal::test_global PASSED tests/test_distro.py::TestRepr::test_repr PASSED tests/test_distro.py::TestToStr::test_to_str PASSED ========================== 175 passed in 4.91 seconds ========================== + /usr/bin/python3 -m pytest tests -v ============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-2.9.2, py-1.4.32, pluggy-0.3.1 -- /usr/bin/python3 cachedir: .cache rootdir: /builddir/build/BUILD/distro-1.5.0, inifile: collecting ... collected 175 items tests/test_distro.py::TestNonLinuxPlatform::test_cant_use_on_windows PASSED tests/test_distro.py::TestCli::test_cli_for_coverage_yuch PASSED tests/test_distro.py::TestCli::test_cli PASSED tests/test_distro.py::TestCli::test_cli_json PASSED tests/test_distro.py::TestOSRelease::test_arch_os_release PASSED tests/test_distro.py::TestOSRelease::test_kali_os_release PASSED tests/test_distro.py::TestOSRelease::test_centos7_os_release PASSED tests/test_distro.py::TestOSRelease::test_coreos_os_release PASSED tests/test_distro.py::TestOSRelease::test_debian8_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora19_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora23_os_release PASSED tests/test_distro.py::TestOSRelease::test_fedora30_os_release PASSED tests/test_distro.py::TestOSRelease::test_kvmibm1_os_release PASSED tests/test_distro.py::TestOSRelease::test_linuxmint17_os_release PASSED tests/test_distro.py::TestOSRelease::test_mageia5_os_release PASSED tests/test_distro.py::TestOSRelease::test_manjaro1512_os_release PASSED tests/test_distro.py::TestOSRelease::test_opensuse42_os_release PASSED tests/test_distro.py::TestOSRelease::test_raspbian7_os_release PASSED tests/test_distro.py::TestOSRelease::test_raspbian8_os_release PASSED tests/test_distro.py::TestOSRelease::test_rhel7_os_release PASSED tests/test_distro.py::TestOSRelease::test_slackware14_os_release PASSED tests/test_distro.py::TestOSRelease::test_sles12_os_release PASSED tests/test_distro.py::TestOSRelease::test_ubuntu14_os_release PASSED tests/test_distro.py::TestOSRelease::test_ubuntu16_os_release PASSED tests/test_distro.py::TestOSRelease::test_amazon2016_os_release PASSED tests/test_distro.py::TestOSRelease::test_scientific7_os_release PASSED tests/test_distro.py::TestOSRelease::test_gentoo_os_release PASSED tests/test_distro.py::TestOSRelease::test_openelec6_os_release PASSED tests/test_distro.py::TestOSRelease::test_cloudlinux7_os_release PASSED tests/test_distro.py::TestLSBRelease::test_linuxmint17_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_manjaro1512_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_openbsd62_uname PASSED tests/test_distro.py::TestLSBRelease::test_netbsd711_uname PASSED tests/test_distro.py::TestLSBRelease::test_freebsd111_uname PASSED tests/test_distro.py::TestLSBRelease::test_midnightbsd12_uname PASSED tests/test_distro.py::TestLSBRelease::test_ubuntu14normal_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_ubuntu14nomodules_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_trailingblanks_lsb_release PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[001] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[002] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[126] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[130] PASSED tests/test_distro.py::TestLSBRelease::test_lsb_release_error_level[255] PASSED tests/test_distro.py::TestSpecialRelease::test_empty_release PASSED tests/test_distro.py::TestSpecialRelease::test_unknowndistro_release PASSED tests/test_distro.py::TestSpecialRelease::test_bad_uname PASSED tests/test_distro.py::TestDistroRelease::test_arch_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_centos5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_centos7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora19_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora23_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_fedora30_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_gentoo_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_kvmibm1_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_mageia5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_manjaro1512_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_opensuse42_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_oracle7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_rhel6_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_rhel7_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_slackware14_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_sles12_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux5_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux6_dist_release PASSED tests/test_distro.py::TestDistroRelease::test_cloudlinux7_dist_release PASSED tests/test_distro.py::TestOverall::test_arch_release PASSED tests/test_distro.py::TestOverall::test_centos5_release PASSED tests/test_distro.py::TestOverall::test_centos7_release PASSED tests/test_distro.py::TestOverall::test_coreos_release PASSED tests/test_distro.py::TestOverall::test_debian8_release PASSED tests/test_distro.py::TestOverall::test_exherbo_release PASSED tests/test_distro.py::TestOverall::test_fedora19_release PASSED tests/test_distro.py::TestOverall::test_fedora23_release PASSED tests/test_distro.py::TestOverall::test_fedora30_release PASSED tests/test_distro.py::TestOverall::test_kvmibm1_release PASSED tests/test_distro.py::TestOverall::test_linuxmint17_release PASSED tests/test_distro.py::TestOverall::test_mageia5_release PASSED tests/test_distro.py::TestOverall::test_manjaro1512_release PASSED tests/test_distro.py::TestOverall::test_opensuse42_release PASSED tests/test_distro.py::TestOverall::test_oracle7_release PASSED tests/test_distro.py::TestOverall::test_raspbian7_release PASSED tests/test_distro.py::TestOverall::test_raspbian8_release PASSED tests/test_distro.py::TestOverall::test_rhel5_release PASSED tests/test_distro.py::TestOverall::test_rhel6_release PASSED tests/test_distro.py::TestOverall::test_rhel7_release PASSED tests/test_distro.py::TestOverall::test_slackware14_release PASSED tests/test_distro.py::TestOverall::test_sles12_release PASSED tests/test_distro.py::TestOverall::test_ubuntu14_release PASSED tests/test_distro.py::TestOverall::test_ubuntu16_release PASSED tests/test_distro.py::TestOverall::test_amazon2016_release PASSED tests/test_distro.py::TestOverall::test_amazon2014_release PASSED tests/test_distro.py::TestOverall::test_scientific6_release PASSED tests/test_distro.py::TestOverall::test_scientific7_release PASSED tests/test_distro.py::TestOverall::test_gentoo_release PASSED tests/test_distro.py::TestOverall::test_openelec6_release PASSED tests/test_distro.py::TestOverall::test_mandriva2011_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux5_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux6_release PASSED tests/test_distro.py::TestOverall::test_cloudlinux7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_arch_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_centos5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_centos7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_coreos_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_debian8_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_exherbo_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora19_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora23_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_fedora30_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_kvmibm1_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_linuxmint17_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_mageia5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_manjaro1512_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_opensuse42_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_oracle7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_raspbian7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_raspbian8_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_rhel7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_slackware14_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_sles12_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_ubuntu14_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_ubuntu16_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_amazon2016_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_amazon2014_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_scientific6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_scientific7_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_gentoo_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_openelec6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_mandriva2011_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux5_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux6_release PASSED tests/test_distro.py::TestOverallWithEtcNotReadable::test_cloudlinux7_release PASSED tests/test_distro.py::TestGetAttr::test_os_release_attr PASSED tests/test_distro.py::TestGetAttr::test_lsb_release_attr PASSED tests/test_distro.py::TestGetAttr::test_distro_release_attr PASSED tests/test_distro.py::TestInfo::test_info PASSED tests/test_distro.py::TestInfo::test_none PASSED tests/test_distro.py::TestInfo::test_linux_distribution PASSED tests/test_distro.py::TestInfo::test_linux_distribution_full_false PASSED tests/test_distro.py::TestInfo::test_all PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_01_empty_file PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_02_empty_line PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_03_empty_line_with_crlf PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_04_empty_line_with_just_cr PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_05_comment PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_06_empty_value PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_07_empty_value_single_quoted PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_08_empty_value_double_quoted PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_09_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_10_word_no_newline PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_11_word_with_crlf PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_12_word_with_just_cr PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_13_word_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_14_unquoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_15_double_quoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_16_double_quoted_words_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_17_double_quoted_word_with_single_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_18_double_quoted_word_with_double_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_19_single_quoted_words PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_20_single_quoted_words_with_multi_blanks PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_21_single_quoted_word_with_double_quote PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_22_quoted_unicode_wordchar PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_23_quoted_unicode_non_wordchar PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_24_double_quoted_entire_single_quoted_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_25_single_quoted_entire_double_quoted_word PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_26_double_quoted_multiline PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_27_double_quoted_multiline_2 PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_28_double_quoted_word_with_equal PASSED tests/test_distro.py::TestOSReleaseParsing::test_kv_29_single_quoted_word_with_equal PASSED tests/test_distro.py::TestOSReleaseParsing::test_kx_01 PASSED tests/test_distro.py::TestOSReleaseParsing::test_kx_02 PASSED tests/test_distro.py::TestGlobal::test_global PASSED tests/test_distro.py::TestRepr::test_repr PASSED tests/test_distro.py::TestToStr::test_to_str PASSED ========================== 175 passed in 3.96 seconds ========================== + exit 0 Processing files: python2-distro-1.5.0-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h0FZKn + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python2-distro-1.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python2-distro-1.5.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python2-distro-1.5.0 + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python2-distro-1.5.0 + cp -pr README.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python2-distro-1.5.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TcXKCi + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python2-distro-1.5.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python2-distro-1.5.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python2-distro-1.5.0 + exit 0 Provides: python-distro = 1.5.0-1.el7 python2-distro = 1.5.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-distro < 1.5.0-1.el7 Processing files: python36-distro-1.5.0-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2EL1Vj + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + DOCDIR=/builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python36-distro-1.5.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python36-distro-1.5.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python36-distro-1.5.0 + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python36-distro-1.5.0 + cp -pr README.md /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/doc/python36-distro-1.5.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lQyfdk + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python36-distro-1.5.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python36-distro-1.5.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch/usr/share/licenses/python36-distro-1.5.0 + exit 0 Provides: python3-distro = 1.5.0-1.el7 python3.6dist(distro) = 1.5.0 python36-distro = 1.5.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.6 Conflicts: python2-distro < 1.2.0-2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch Wrote: /builddir/build/RPMS/python2-distro-1.5.0-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python36-distro-1.5.0-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sYrn98 + umask 022 + cd /builddir/build/BUILD + cd distro-1.5.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-distro-1.5.0-1.el7.noarch + exit 0 Child return code was: 0