Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phine-exception.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-683af42561cfad8a8435202ea96563c78b386aff/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phine-exception.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/php-phine-exception-1.0.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/php-phine-exception.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-683af42561cfad8a8435202ea96563c78b386aff/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phine-exception.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1hrCcI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a + /usr/bin/gzip -dc /builddir/build/SOURCES/lib-exception-1.0.0-150c6b6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/php-phine-exception-autoload.php src/lib/Phine/Exception/autoload.php + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AuHkXj + umask 022 + cd /builddir/build/BUILD + cd lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xvZB2Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch + cd lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a + rm -rf /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch/usr/share/php + cp -pr src/lib/Phine /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch/usr/share/php/Phine + /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/lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a /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.x3RP2a + umask 022 + cd /builddir/build/BUILD + cd lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a + /usr/bin/phpunit --bootstrap /builddir/build/BUILDROOT/php-phine-exception-1.0.0-1.el7.noarch/usr/share/php/Phine/Exception/autoload.php --no-configuration --verbose src/tests PHPUnit 4.8.36 by Sebastian Bergmann and contributors. Runtime: PHP 7.2.1 ..FF.. Time: 443 ms, Memory: 4.00MB There were 2 failures: 1) Phine\Exception\Tests\ExceptionTest::testCreateUsingLastErrorWithDefault Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'(unknown error)' +'The each() function is deprecated. This message will be suppressed on further calls' /builddir/build/BUILD/lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a/src/tests/Phine/Exception/Tests/ExceptionTest.php:88 2) Phine\Exception\Tests\ExceptionTest::testCreateUsingLastErrorWithDefaultGiven Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'The default message.' +'The each() function is deprecated. This message will be suppressed on further calls' /builddir/build/BUILD/lib-exception-150c6b6090b2ebc53c60e87cb20c7f1287b7b68a/src/tests/Phine/Exception/Tests/ExceptionTest.php:109 FAILURES! Tests: 6, Assertions: 14, Failures: 2. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.x3RP2a (%check) Bad exit status from /var/tmp/rpm-tmp.x3RP2a (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phine-exception.spec