Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/perl-IO-Socket-SSL.spec'], chrootPath='/var/lib/mock/dist-an7-build-34009-16169/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd61cbe1684634381ac00b15e702c7c4b', '-D', '/var/lib/mock/dist-an7-build-34009-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/perl-IO-Socket-SSL.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-IO-Socket-SSL-1.94-7.an7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/perl-IO-Socket-SSL.spec'], chrootPath='/var/lib/mock/dist-an7-build-34009-16169/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ba75ccb5c432475e98f9fcb652382811', '-D', '/var/lib/mock/dist-an7-build-34009-16169/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/perl-IO-Socket-SSL.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ytoucG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf IO-Socket-SSL-1.94 + /usr/bin/gzip -dc /builddir/build/SOURCES/IO-Socket-SSL-1.94.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd IO-Socket-SSL-1.94 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (IO-Socket-SSL-1.94-1.953-RT-87052-fix-in-Utils.pm.patch):' Patch #0 (IO-Socket-SSL-1.94-1.953-RT-87052-fix-in-Utils.pm.patch): + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-1.953-RT-87052-fix-in-Utils.pm.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL/Utils.pm Patch #1 (IO-Socket-SSL-1.94-Respect-OpenSSL-default-ciphers-and-protocol-versions.patch): + echo 'Patch #1 (IO-Socket-SSL-1.94-Respect-OpenSSL-default-ciphers-and-protocol-versions.patch):' + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-Respect-OpenSSL-default-ciphers-and-protocol-versions.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL.pm patching file t/dhe.t + echo 'Patch #2 (IO-Socket-SSL-1.94-Fix-typo-key-free.patch):' Patch #2 (IO-Socket-SSL-1.94-Fix-typo-key-free.patch): + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-Fix-typo-key-free.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL/Utils.pm + echo 'Patch #3 (IO-Socket-SSL-1.94-Added-support-for-ECDH-key-exchange-with-key-SSL_ecd.patch):' Patch #3 (IO-Socket-SSL-1.94-Added-support-for-ECDH-key-exchange-with-key-SSL_ecd.patch): + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-Added-support-for-ECDH-key-exchange-with-key-SSL_ecd.patch + /usr/bin/patch -p1 --fuzz=0 patching file MANIFEST patching file lib/IO/Socket/SSL.pm patching file t/ecdhe.t + echo 'Patch #4 (IO-Socket-SSL-1.94-support-for-handshake-protocol-TLSv11-TLSv12.patch):' Patch #4 (IO-Socket-SSL-1.94-support-for-handshake-protocol-TLSv11-TLSv12.patch): + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-support-for-handshake-protocol-TLSv11-TLSv12.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL.pm + echo 'Patch #5 (IO-Socket-SSL-1.94-The-new-syntax-for-the-protocols-is-TLSv1_1-instead-.patch):' Patch #5 (IO-Socket-SSL-1.94-The-new-syntax-for-the-protocols-is-TLSv1_1-instead-.patch): + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-The-new-syntax-for-the-protocols-is-TLSv1_1-instead-.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL.pm Patch #6 (IO-Socket-SSL-1.94-Default-SSL_ca_file-to-system-wide-store.patch): + echo 'Patch #6 (IO-Socket-SSL-1.94-Default-SSL_ca_file-to-system-wide-store.patch):' + /usr/bin/cat /builddir/build/SOURCES/IO-Socket-SSL-1.94-Default-SSL_ca_file-to-system-wide-store.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/IO/Socket/SSL.pm + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8PtnxQ + umask 022 + cd /builddir/build/BUILD + cd IO-Socket-SSL-1.94 + perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for IO::Socket::SSL + make -j64 cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm cp lib/IO/Socket/SSL/Intercept.pm blib/lib/IO/Socket/SSL/Intercept.pm cp lib/IO/Socket/SSL/Utils.pm blib/lib/IO/Socket/SSL/Utils.pm Manifying blib/man3/IO::Socket::SSL.3pm Manifying blib/man3/IO::Socket::SSL::Utils.3pm Manifying blib/man3/IO::Socket::SSL::Intercept.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.U97Wx1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch ++ dirname /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch + cd IO-Socket-SSL-1.94 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch Manifying blib/man3/IO::Socket::SSL.3pm Manifying blib/man3/IO::Socket::SSL::Utils.3pm Manifying blib/man3/IO::Socket::SSL::Intercept.3pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/perl5/vendor_perl/IO/Socket/SSL.pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/perl5/vendor_perl/IO/Socket/SSL/Intercept.pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/perl5/vendor_perl/IO/Socket/SSL/Utils.pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/man/man3/IO::Socket::SSL::Intercept.3pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/man/man3/IO::Socket::SSL::Utils.3pm Installing /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch/usr/share/man/man3/IO::Socket::SSL.3pm + find /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch -type f -name .packlist -exec rm -f '{}' + + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-IO-Socket-SSL-1.94-7.an7.noarch + /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/IO-Socket-SSL-1.94 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /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 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Aeumfd + umask 022 + cd /builddir/build/BUILD + cd IO-Socket-SSL-1.94 + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01loadmodule.t ........... ok t/02settings.t ............. ok t/acceptSSL-timeout.t ...... ok t/auto_verify_hostname.t ... Failed 16/30 subtests t/cert_no_file.t ........... ok t/compatibility.t .......... ok t/connectSSL-timeout.t ..... ok t/core.t ................... Failed 47/52 subtests t/dhe.t .................... ok t/ecdhe.t .................. ok t/io-socket-inet6.t ........ skipped: no IO::Socket::INET6 available t/io-socket-ip.t ........... ok t/memleak_bad_handshake.t .. ok t/mitm.t ................... Failed 6/8 subtests t/nonblock.t ............... ok t/npn.t .................... ok t/readline.t ............... ok t/sessions.t ............... Failed 27/35 subtests t/signal-readline.t ........ ok Can't call method "get_servername" on an undefined value at t/sni.t line 83. Can't call method "verify_hostname" without a package or object reference at t/sni.t line 74. t/sni.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 16/17 subtests t/start-stopssl.t .......... ok t/startssl-failed.t ........ ok t/startssl.t ............... ok t/sysread_write.t .......... ok t/verify_hostname.t ........ ok Test Summary Report ------------------- t/auto_verify_hostname.t (Wstat: 0 Tests: 22 Failed: 8) Failed tests: 3, 5-6, 8, 12, 16, 18, 22 Parse errors: Bad plan. You planned 30 tests but ran 22. t/core.t (Wstat: 13 Tests: 6 Failed: 1) Failed test: 6 Non-zero wait status: 13 Parse errors: Bad plan. You planned 52 tests but ran 6. t/mitm.t (Wstat: 0 Tests: 3 Failed: 1) Failed test: 3 Parse errors: Bad plan. You planned 8 tests but ran 3. t/sessions.t (Wstat: 0 Tests: 10 Failed: 2) Failed tests: 9-10 Parse errors: Bad plan. You planned 35 tests but ran 10. t/sni.t (Wstat: 65280 Tests: 3 Failed: 2) Failed tests: 2-3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 17 tests but ran 3. Files=25, Tests=255, 37 wallclock secs ( 0.08 usr 0.03 sys + 1.29 cusr 0.33 csys = 1.73 CPU) Result: FAIL Failed 5/25 test programs. 14/255 subtests failed. make: *** [test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.Aeumfd (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Aeumfd (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M ba75ccb5c432475e98f9fcb652382811 -D /var/lib/mock/dist-an7-build-34009-16169/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a8h1gntc:/etc/resolv.conf --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/perl-IO-Socket-SSL.spec