Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOException with Paratest #304

Open
KDederichs opened this issue Jan 5, 2018 · 3 comments
Open

IOException with Paratest #304

KDederichs opened this issue Jan 5, 2018 · 3 comments

Comments

@KDederichs
Copy link

Hey,

I'm using paratest to run my tests and sometimes the di extra bundle will cause IOExceptions (not always though) which will fail the tests.
An example of such an exception would be:

tests\BlogBundle\Controller\DefaultControllerTest::testIndex
Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory "/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/var/cache/test/jms_diextra/metadata": rmdir(/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/var/cache/test/jms_diextra/metadata): Directory not empty.

/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:181
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/jms/di-extra-bundle/DependencyInjection/JMSDiExtraExtension.php:160
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/jms/di-extra-bundle/DependencyInjection/JMSDiExtraExtension.php:67
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php:67
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php:39
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php:141
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:731
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:573
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:117
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php:156
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php:33
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/vendor/liip/functional-test-bundle/Test/WebTestCase.php:769
/home/bamboo/xml-data/build-dir/WEB-WAS851-JOB1/tests/BlogBundle/Controller/DefaultControllerTest.php:58

It would be great if those could be avoided reliably.

@npoa-cm
Copy link

npoa-cm commented Apr 3, 2018

same here, also got 'failed to open stream: Resource temporarily unavailable'

@BboyKeen
Copy link

I have the same exception sometimes using paratest

@n10ty
Copy link

n10ty commented Oct 23, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants