cd dev/tests/integration../../../vendor/bin/phpunitps@~/Projects/magento2/dev/tests/integration(2.3-develop)$ ../../../vendor/bin/phpunit
PHP Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\App\DesignInterface in /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:50
Stack trace:
#0 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#1 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#2 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'design', 'Magento\\Framewo...')
#3 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime(' in /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php on line 50
Fatal error: Uncaught Error: Cannot instantiate interface Magento\Framework\App\DesignInterface in /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php:50
Stack trace:
#0 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#1 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(160): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#2 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/AbstractFactory.php(246): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'design', 'Magento\\Framewo...')
#3 /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime(' in /Users/ps/Projects/magento2/lib/internal/Magento/Framework/ObjectManager/Factory/Dynamic/Developer.php on line 50
=== Memory Usage System Stats ===
Memory usage (OS): 28.50M (203.57% of 14.00M reported by PHP)
Estimated memory leak: 14.50M (50.88% of used memory)
Hi @psdevhh. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.3-develop instance - upcoming 2.3.x release
For more details, please, review the Magento Contributor Assistant documentation.
@psdevhh do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
Hi @engcom-Charlie. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.
[ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 5. Add label Issue: Confirmed once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hello @psdevhh .
I reproduced same errors when i had bad configuration of install-config-mysql.php.dist file.
Please check the data of this file and if you don't use Redis please detele this:
'amqp-host' => 'localhost',
'amqp-port' => '5672',
'amqp-user' => 'guest',
'amqp-password' => 'guest',.
I have to close this issue, but i am waiting for your response.
Thanks for your report!
Hi @engcom-Charlie
You're right, turns out I had to specify localhost instead of 127.0.0.1 as mysql host to get the tests working. As usual, the error messages are very helpful in such cases ;) Thanks a lot for your help!
Most helpful comment
Hi @engcom-Charlie
You're right, turns out I had to specify
localhostinstead of127.0.0.1as mysql host to get the tests working. As usual, the error messages are very helpful in such cases ;) Thanks a lot for your help!