Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'], nspawn_args=[]shell=Falseuid=995env={'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-13770e0c98f578ab72fbfe406d78ff28f29b3358/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-service-identity.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-service-identity-18.1.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-service-identity.spec'], nspawn_args=[]shell=Falseuid=995env={'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-13770e0c98f578ab72fbfe406d78ff28f29b3358/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-service-identity.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.1na0Kf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf service_identity-18.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/service-identity-18.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd service_identity-18.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MSCv2s + umask 022 + cd /builddir/build/BUILD + cd service_identity-18.1.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=vfpv3-d16 -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/service_identity copying src/service_identity/pyopenssl.py -> build/lib/service_identity copying src/service_identity/exceptions.py -> build/lib/service_identity copying src/service_identity/_compat.py -> build/lib/service_identity copying src/service_identity/__init__.py -> build/lib/service_identity copying src/service_identity/_common.py -> build/lib/service_identity copying src/service_identity/cryptography.py -> build/lib/service_identity + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2j8i4g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch + cd service_identity-18.1.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=vfpv3-d16 -mfloat-abi=hard' + LDFLAGS='-Wl,-z,relro ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/pyopenssl.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/exceptions.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/_compat.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/__init__.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/_common.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity copying build/lib/service_identity/cryptography.py -> /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/pyopenssl.py to pyopenssl.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/_compat.py to _compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/_common.py to _common.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity/cryptography.py to cryptography.cpython-36.pyc writing byte-compilation script '/tmp/tmplsew6dpl.py' /usr/bin/python3 /tmp/tmplsew6dpl.py removing /tmp/tmplsew6dpl.py running install_egg_info running egg_info creating src/service_identity.egg-info writing src/service_identity.egg-info/PKG-INFO writing dependency_links to src/service_identity.egg-info/dependency_links.txt writing requirements to src/service_identity.egg-info/requires.txt writing top-level names to src/service_identity.egg-info/top_level.txt writing manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no previously-included files found matching 'conftest.py' warning: no previously-included files found matching '.readthedocs.yml' no previously-included directories found matching 'tests' no previously-included directories found matching '.github' writing manifest file 'src/service_identity.egg-info/SOURCES.txt' Copying src/service_identity.egg-info to /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages/service_identity-18.1.0-py3.6.egg-info running install_scripts + /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/service_identity-18.1.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-service-identity-18.1.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.kEHlTl + umask 022 + cd /builddir/build/BUILD + cd service_identity-18.1.0 + PYTHONPATH=/builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/lib/python3.6/site-packages + py.test-3.6 -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.6 cachedir: .cache OpenSSL: n/a pyOpenSSL: missing cryptography: 2.3 rootdir: /builddir/build/BUILD/service_identity-18.1.0, inifile: collecting ... collected 89 items tests/test_common.py::TestVerifyServiceIdentity::test_dns_id_success PASSED tests/test_common.py::TestVerifyServiceIdentity::test_integration_dns_id_fail PASSED tests/test_common.py::TestVerifyServiceIdentity::test_ip_address_success PASSED tests/test_common.py::TestVerifyServiceIdentity::test_obligatory_missing PASSED tests/test_common.py::TestVerifyServiceIdentity::test_obligatory_mismatch PASSED tests/test_common.py::TestVerifyServiceIdentity::test_optional_missing PASSED tests/test_common.py::TestVerifyServiceIdentity::test_optional_mismatch PASSED tests/test_common.py::TestVerifyServiceIdentity::test_contains_optional_and_matches PASSED tests/test_common.py::TestContainsInstance::test_positive PASSED tests/test_common.py::TestContainsInstance::test_negative PASSED tests/test_common.py::TestDNS_ID::test_enforces_unicode PASSED tests/test_common.py::TestDNS_ID::test_handles_missing_idna PASSED tests/test_common.py::TestDNS_ID::test_ascii_works_without_idna PASSED tests/test_common.py::TestDNS_ID::test_idna_used_if_available_on_non_ascii PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[ ] PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[] PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[host,name] PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[192.168.0.0] PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[::1] PASSED tests/test_common.py::TestDNS_ID::test_catches_invalid_dns_ids[1234] PASSED tests/test_common.py::TestDNS_ID::test_lowercases PASSED tests/test_common.py::TestDNS_ID::test_verifies_only_dns PASSED tests/test_common.py::TestDNS_ID::test_simple_match PASSED tests/test_common.py::TestDNS_ID::test_simple_mismatch PASSED tests/test_common.py::TestDNS_ID::test_matches PASSED tests/test_common.py::TestDNS_ID::test_mismatches PASSED tests/test_common.py::TestURI_ID::test_enforces_unicode PASSED tests/test_common.py::TestURI_ID::test_create_DNS_ID PASSED tests/test_common.py::TestURI_ID::test_lowercases PASSED tests/test_common.py::TestURI_ID::test_catches_missing_colon PASSED tests/test_common.py::TestURI_ID::test_is_only_valid_for_uri PASSED tests/test_common.py::TestURI_ID::test_protocol_mismatch PASSED tests/test_common.py::TestURI_ID::test_dns_mismatch PASSED tests/test_common.py::TestURI_ID::test_match PASSED tests/test_common.py::TestSRV_ID::test_enforces_unicode PASSED tests/test_common.py::TestSRV_ID::test_create_DNS_ID PASSED tests/test_common.py::TestSRV_ID::test_lowercases PASSED tests/test_common.py::TestSRV_ID::test_catches_missing_dot PASSED tests/test_common.py::TestSRV_ID::test_catches_missing_underscore PASSED tests/test_common.py::TestSRV_ID::test_is_only_valid_for_SRV PASSED tests/test_common.py::TestSRV_ID::test_match PASSED tests/test_common.py::TestSRV_ID::test_match_idna PASSED tests/test_common.py::TestSRV_ID::test_mismatch_service_name PASSED tests/test_common.py::TestSRV_ID::test_mismatch_dns PASSED tests/test_common.py::TestDNSPattern::test_enforces_bytes PASSED tests/test_common.py::TestDNSPattern::test_catches_empty PASSED tests/test_common.py::TestDNSPattern::test_catches_NULL_bytes PASSED tests/test_common.py::TestDNSPattern::test_catches_ip_address PASSED tests/test_common.py::TestDNSPattern::test_invalid_wildcard PASSED tests/test_common.py::TestURIPattern::test_enforces_bytes PASSED tests/test_common.py::TestURIPattern::test_catches_missing_colon PASSED tests/test_common.py::TestURIPattern::test_catches_wildcards PASSED tests/test_common.py::TestSRVPattern::test_enforces_bytes PASSED tests/test_common.py::TestSRVPattern::test_catches_missing_underscore PASSED tests/test_common.py::TestSRVPattern::test_catches_wildcards PASSED tests/test_common.py::TestValidateDNSWildcardPattern::test_allows_only_one_wildcard PASSED tests/test_common.py::TestValidateDNSWildcardPattern::test_wildcard_must_be_left_most PASSED tests/test_common.py::TestValidateDNSWildcardPattern::test_must_have_at_least_three_parts PASSED tests/test_common.py::TestValidateDNSWildcardPattern::test_valid_patterns PASSED tests/test_common.py::TestIPAddressPattern::test_invalid_ip PASSED tests/test_common.py::TestIPAddressPattern::test_verify_equal[1.1.1.1] PASSED tests/test_common.py::TestIPAddressPattern::test_verify_equal[::1] PASSED tests/test_common.py::TestFindMatches::test_one_match PASSED tests/test_common.py::TestFindMatches::test_no_match PASSED tests/test_common.py::TestFindMatches::test_multiple_matches PASSED tests/test_common.py::TestIsIPAddress::test_ips[0127.0.0.1] PASSED tests/test_common.py::TestIsIPAddress::test_ips[1127.0.0.1] PASSED tests/test_common.py::TestIsIPAddress::test_ips[2172.16.254.12] PASSED tests/test_common.py::TestIsIPAddress::test_ips[3*.0.0.1] PASSED tests/test_common.py::TestIsIPAddress::test_ips[4::1] PASSED tests/test_common.py::TestIsIPAddress::test_ips[5*::1] PASSED tests/test_common.py::TestIsIPAddress::test_ips[62001:0db8:0000:0000:0000:ff00:0042:8329] PASSED tests/test_common.py::TestIsIPAddress::test_ips[72001:0db8::ff00:0042:8329] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[*.twistedmatrix.com] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[twistedmatrix.com] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[mail.google.com] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[omega7.de] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[omega7] PASSED tests/test_common.py::TestIsIPAddress::test_not_ips[127.\xff.0.1] PASSED tests/test_cryptography.py::TestPublicAPI::test_certificate_verify_hostname_ok PASSED tests/test_cryptography.py::TestPublicAPI::test_certificate_verify_hostname_fail PASSED tests/test_cryptography.py::TestPublicAPI::test_verify_certificate_ip_address_ok[1.1.1.1] PASSED tests/test_cryptography.py::TestPublicAPI::test_verify_certificate_ip_address_ok[::1] PASSED tests/test_cryptography.py::TestPublicAPI::test_verify_ip_address_fail[1.1.1.2] PASSED tests/test_cryptography.py::TestPublicAPI::test_verify_ip_address_fail[::2] PASSED tests/test_cryptography.py::TestExtractIDs::test_dns PASSED tests/test_cryptography.py::TestExtractIDs::test_cn_ids_are_used_as_fallback PASSED tests/test_cryptography.py::TestExtractIDs::test_uri PASSED tests/test_cryptography.py::TestExtractIDs::test_ip PASSED ========================== 89 passed in 6.64 seconds =========================== + exit 0 Processing files: python3-service-identity-18.1.0-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o3hYOQ + umask 022 + cd /builddir/build/BUILD + cd service_identity-18.1.0 + DOCDIR=/builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/doc/python3-service-identity-18.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/doc/python3-service-identity-18.1.0 + cp -pr README.rst /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/doc/python3-service-identity-18.1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.q5c7Eo + umask 022 + cd /builddir/build/BUILD + cd service_identity-18.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/licenses/python3-service-identity-18.1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/licenses/python3-service-identity-18.1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch/usr/share/licenses/python3-service-identity-18.1.0 + exit 0 Provides: python3-service-identity = 18.1.0-1.el7 python3.6dist(service-identity) = 18.1.0 python36-service-identity python36-service-identity = 18.1.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) = 3.6 Obsoletes: python36-service-identity < 18.1.0-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch Wrote: /builddir/build/RPMS/python3-service-identity-18.1.0-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UHvqUI + umask 022 + cd /builddir/build/BUILD + cd service_identity-18.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-service-identity-18.1.0-1.el7.noarch + exit 0 Child return code was: 0