Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-di.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-896e63e4e252f711b410ed6bcc1cb91a350a7163/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-di.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-di-5.2.2-2.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-di.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-896e63e4e252f711b410ed6bcc1cb91a350a7163/root'shell=Falseuid=995env={'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-di.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.gL5Qyd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 + /usr/bin/gzip -dc /builddir/build/SOURCES/php-di-5.2.2-f574bcc841201ab04587b1c6da1234d4044f67d8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + : Remove executable bit + : https://github.com/PHP-DI/PHP-DI/pull/392 + chmod a-x src/DI/Definition/Source/DefinitionArray.php + : Create autoloader + cat + tee src/DI/autoload.php register(); } $fedoraClassLoader->addPrefix('DI\\', dirname(__DIR__)); require_once __DIR__.'/functions.php'; // Required dependencies require_once '/usr/share/php/Interop/Container/autoload.php'; require_once '/usr/share/php/Invoker/autoload.php'; require_once '/usr/share/php/PhpDocReader/autoload.php'; // Optional dependencies @include_once '/usr/share/php/Doctrine/Common/Annotations/autoload.php'; @include_once '/usr/share/php/Doctrine/Common/Cache/autoload.php'; @include_once '/usr/share/php/ProxyManager/autoload.php'; return $fedoraClassLoader; Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mIQaFC Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.04J0o0 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch + cd PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 + mkdir -p /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch/usr/share/php + cp -rp src/DI /builddir/build/BUILDROOT/php-di-5.2.2-2.el7.noarch/usr/share/php/ + /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/PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 /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.fxiM04 + umask 022 + cd /builddir/build/BUILD + cd PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8 + : Make PSR-0 tests + mkdir -p tests-psr0/DI/Test + ln -s ../../../tests/IntegrationTest tests-psr0/DI/Test/IntegrationTest + ln -s ../../../tests/UnitTest tests-psr0/DI/Test/UnitTest + : Create tests bootstrap + cat + tee bootstrap.php addPrefix('DI\\Test\\IntegrationTest\\', __DIR__.'/tests-psr0'); $fedoraClassLoader->addPrefix('DI\\Test\\UnitTest\\', __DIR__.'/tests-psr0'); require_once '/usr/share/php/EasyMock/autoload.php'; + : Run tests + /usr/bin/phpunit --verbose --bootstrap bootstrap.php PHPUnit 4.8.36 by Sebastian Bergmann and contributors. Runtime: PHP 5.4.16 Configuration: /builddir/build/BUILD/PHP-DI-f574bcc841201ab04587b1c6da1234d4044f67d8/phpunit.xml.dist ............................................................... 63 / 419 ( 15%) ............................................................... 126 / 419 ( 30%) ............................................................... 189 / 419 ( 45%) ..........F.................................................... 252 / 419 ( 60%) ............................................................... 315 / 419 ( 75%) ..F.....................................F.....................F 378 / 419 ( 90%) ......................................... Time: 6.06 seconds, Memory: 11.75MB There were 4 failures: 1) DI\Test\UnitTest\Definition\Resolver\FactoryResolverTest::should_throw_if_the_factory_is_not_callable Failed asserting that exception message 'Entry "foo" cannot be resolved: factory NULL is neither a callable nor a valid container entry' contains 'Entry "foo" cannot be resolved: factory "Hello world" is neither a callable nor a valid container entry'. 2) DI\Test\IntegrationTest\CallFunctionTest::test_not_callable Failed asserting that exception message ''foo' is neither a callable nor a valid container entry' contains '"foo" is neither a callable nor a valid container entry'. 3) DI\Test\IntegrationTest\Definitions\FactoryDefinitionTest::test_not_callable_factory_definition Failed asserting that exception message 'Entry "foo" cannot be resolved: factory 'Hello World' is neither a callable nor a valid container entry' contains 'Entry "foo" cannot be resolved: factory "Hello World" is neither a callable nor a valid container entry'. 4) DI\Test\IntegrationTest\ErrorMessages\ErrorMessagesTest::test_factory_not_callable Failed asserting that exception message 'Entry "foo" cannot be resolved: factory 'bar' is neither a callable nor a valid container entry' contains 'Entry "foo" cannot be resolved: factory "bar" is neither a callable nor a valid container entry'. FAILURES! Tests: 419, Assertions: 1091, Failures: 4. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.fxiM04 (%check) Bad exit status from /var/tmp/rpm-tmp.fxiM04 (%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-di.spec