Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-doctrine-orm.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-c91e2f6007a95407e77c3ee0e7971c8a34ac4438/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-doctrine-orm.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-doctrine-orm-2.4.8-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-doctrine-orm.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-c91e2f6007a95407e77c3ee0e7971c8a34ac4438/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-doctrine-orm.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.Ooxvk7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 + /usr/bin/gzip -dc /builddir/build/SOURCES/php-doctrine-orm-2.4.8-5aedac1e5c5caaeac14798822c70325dc242d467.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (php-doctrine-orm-bin.patch): + : Patch bin script + echo 'Patch #0 (php-doctrine-orm-bin.patch):' + /usr/bin/cat /builddir/build/SOURCES/php-doctrine-orm-bin.patch + /usr/bin/patch -p1 --fuzz=0 patching file bin/doctrine.php + /usr/bin/phpunit --atleast-version 5.4 + : Remove empty file + rm -f lib/Doctrine/ORM/README.markdown + : Remove unnecessary executable bits + chmod a-x lib/Doctrine/ORM/Tools/Pagination/Paginator.php + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5UjUZS + umask 022 + cd /builddir/build/BUILD + cd doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 + : Create autoloader + cat + tee lib/Doctrine/ORM/autoload.php register(); } $fedoraClassLoader->addPrefix('Doctrine\\ORM\\', dirname(dirname(__DIR__))); // Dependencies (autoloader => required) foreach(array( '/usr/share/php/Doctrine/Common/Collections/autoload.php' => true, '/usr/share/php/Doctrine/DBAL/autoload.php' => true, '/usr/share/php/Symfony/Component/Console/autoload.php' => true, '/usr/share/php/Symfony/Component/Yaml/autoload.php' => true, ) as $dependencyAutoloader => $required) { if ($required || file_exists($dependencyAutoloader)) { require_once $dependencyAutoloader; } } return $fedoraClassLoader; + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k4SfaH + mkdir /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch + cd doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 + : Lib + mkdir -p /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch/usr/share/php + cp -rp lib/Doctrine /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch/usr/share/php/ + : Bin + mkdir -p /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch//usr/bin + install -pm 0755 bin/doctrine.php /builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch//usr/bin/doctrine + /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/doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 /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.EN1Mtr + umask 022 + cd /builddir/build/BUILD + cd doctrine2-5aedac1e5c5caaeac14798822c70325dc242d467 + : Remove load of TestInit + mv tests/Doctrine/Tests/TestInit.php tests/Doctrine/Tests/TestInit.php.dist + grep -r --files-with-matches TestInit tests + xargs sed /TestInit/d -i + : Load annotation register file from buildroot + sed 's#__DIR__\s*\.\s*"/\(\.\./\)*lib#"/builddir/build/BUILDROOT/php-doctrine-orm-2.4.8-1.el7.noarch/usr/share/php#' -i tests/Doctrine/Tests/OrmTestCase.php + : Create tests bootstrap + cat + sed -e 's/function testQueryCache_DependsOnHints/function SKIP_testQueryCache_DependsOnHints/' -e 's/function testQueryCache_NoHitSaveParserResult/function SKIP_testQueryCache_NoHitSaveParserResult/' -i tests/Doctrine/Tests/ORM/Functional/QueryCacheTest.php + sed 's/function testNativeQueryResultCaching/function SKIP_testNativeQueryResultCaching/' -i tests/Doctrine/Tests/ORM/Functional/ResultCacheTest.php + sed 's/function testQueryCache_DependsOnFilters/function SKIP_testQueryCache_DependsOnFilters/' -i tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php + /usr/bin/phpunit -d memory_limit=512M --bootstrap bootstrap.php PHPUnit 4.8.36 by Sebastian Bergmann and contributors. ......................SSSSSS................................. 61 / 2075 ( 2%) ............................................................. 122 / 2075 ( 5%) .....................................................S..SSSS. 183 / 2075 ( 8%) S............................................................ 244 / 2075 ( 11%) ............................................................. 305 / 2075 ( 14%) ........SS................................................... 366 / 2075 ( 17%) ............................................................. 427 / 2075 ( 20%) .............................................S....SSS........ 488 / 2075 ( 23%) ............................................................. 549 / 2075 ( 26%) ......SSS.............................................S.SSSSS 610 / 2075 ( 29%) SSSSSSS..............S..............................S...S.... 671 / 2075 ( 32%) .......S..............................S...................... 732 / 2075 ( 35%) .........................................................S... 793 / 2075 ( 38%) ............................................................. 854 / 2075 ( 41%) .............S..SS.................................S......... 915 / 2075 ( 44%) ............................................................. 976 / 2075 ( 47%) ............................................................. 1037 / 2075 ( 49%) ............................................................. 1098 / 2075 ( 52%) ............................................................. 1159 / 2075 ( 55%) ............................................................. 1220 / 2075 ( 58%) ......S...............................................S...... 1281 / 2075 ( 61%) ..........F...F.............................................. 1342 / 2075 ( 64%) ............................................................. 1403 / 2075 ( 67%) ............................................................. 1464 / 2075 ( 70%) ............................................................. 1525 / 2075 ( 73%) ............................................................. 1586 / 2075 ( 76%) ............................................................. 1647 / 2075 ( 79%) ............................................................. 1708 / 2075 ( 82%) ............................................................. 1769 / 2075 ( 85%) ............................................................. 1830 / 2075 ( 88%) ............................................................. 1891 / 2075 ( 91%) ............................................................. 1952 / 2075 ( 94%) .S.......S......S.......S.....................S...........S.. 2013 / 2075 ( 97%) .............................................SSSSSS......... Time: 1.3 minutes, Memory: 74.50MB There were 2 failures: 1) Doctrine\Tests\ORM\Mapping\Symfony\XmlDriverTest::testFindMappingFileNamespacedFoundFileNotFound Failed asserting that exception message 'No mapping file found named 'Foo.orm.xml' for class 'MyNamespace\MySubnamespace\Entity\Foo'.' contains 'No mapping file found named '/tmp/abstract_driver_test/Foo.orm.xml' for class 'MyNamespace\MySubnamespace\Entity\Foo'.'. 2) Doctrine\Tests\ORM\Mapping\Symfony\YamlDriverTest::testFindMappingFileNamespacedFoundFileNotFound Failed asserting that exception message 'No mapping file found named 'Foo.orm.yml' for class 'MyNamespace\MySubnamespace\Entity\Foo'.' contains 'No mapping file found named '/tmp/abstract_driver_test/Foo.orm.yml' for class 'MyNamespace\MySubnamespace\Entity\Foo'.'. FAILURES! Tests: 2069, Assertions: 6996, Failures: 2, Skipped: 58. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.EN1Mtr (%check) Bad exit status from /var/tmp/rpm-tmp.EN1Mtr (%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-doctrine-orm.spec