Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-94283-59547/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-Test-mysqld-1.0013-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-94283-59547/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xHeiuV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Test-mysqld-1.0013 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Test-mysqld-1.0013.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Test-mysqld-1.0013 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Test-mysqld-1.0012-Use-UNIX-socket-authentication-with-MariaDB-10.4.3.patch):' Patch #0 (Test-mysqld-1.0012-Use-UNIX-socket-authentication-with-MariaDB-10.4.3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/Test/mysqld.pm patching file t/01-raii.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wp9x7g + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Test-mysqld-1.0013 + perl Build.PL --installdirs=vendor Creating new 'Build' script for 'Test-mysqld' version '1.0013' + ./Build cp lib/Test/mysqld.pm blib/lib/Test/mysqld.pm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BnHNF9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch ++ dirname /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch + cd Test-mysqld-1.0013 + ./Build install --destdir=/builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch --create_packlist=0 Installing /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch/usr/share/perl5/vendor_perl/Test/mysqld.pm Installing /builddir/build/BUILDROOT/perl-Test-mysqld-1.0013-1.oc9.noarch/usr/share/man/man3/Test::mysqld.3pm + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0013-1.oc9 --unique-debug-suffix -1.0013-1.oc9.noarch --unique-debug-src-base perl-Test-mysqld-1.0013-1.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/Test-mysqld-1.0013 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JdlFEY + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Test-mysqld-1.0013 + AUTHOR_TESTING=1 + RELEASE_TESTING=1 + ./Build test t/00-base.t ............ ok DBI connect('dbname=mysql;mysql_socket=/tmp/T8hfs9wOu6/tmp/mysql.sock','',...) failed: Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. t/01-raii.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run DBI connect('dbname=mysql;mysql_socket=/tmp/dKPZgsikEI/tmp/mysql.sock','',...) failed: Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. t/02-multi.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/03-not-found.t ....... ok DBI connect('dbname=mysql;mysql_socket=/tmp/ifbJ9Bb5UK/tmp/mysql.sock','',...) failed: Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. t/04-multiprocess.t .... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run DBI connect('dbname=test;mysql_socket=/tmp/Y3qFFcxTKr/tmp/mysql.sock','',...) failed: Access denied for user 'root'@'localhost' at t/05-copy-data-from.t line 59. failed to connect to database:Access denied for user 'root'@'localhost' at t/05-copy-data-from.t line 59. # Looks like your test exited with -1 before it could output anything. t/05-copy-data-from.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests DBI connect('dbname=mysql;mysql_socket=/tmp/nfnfOpu2j8/tmp/mysql.sock','',...) failed: Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. Access denied for user 'root'@'localhost' at /builddir/build/BUILD/Test-mysqld-1.0013/blib/lib/Test/mysqld.pm line 150. t/06-start-mysqlds.t ... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/01-raii.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/02-multi.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/04-multiprocess.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/05-copy-data-from.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. t/06-start-mysqlds.t (Wstat: 65280 (exited 255) Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=7, Tests=4, 13 wallclock secs ( 0.02 usr 0.01 sys + 1.45 cusr 0.78 csys = 2.26 CPU) Result: FAIL RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.JdlFEY (%check) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.JdlFEY (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.spec\n', 1)] 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 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Test-mysqld.spec