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

Unable to run integration tests, core_config_data database error #1544

Closed
dverkade opened this issue Aug 6, 2018 · 9 comments
Closed

Unable to run integration tests, core_config_data database error #1544

dverkade opened this issue Aug 6, 2018 · 9 comments
Assignees

Comments

@dverkade
Copy link
Member

dverkade commented Aug 6, 2018

Preconditions

  1. Magento 2.3.0 Alpha
  2. Magento MSI 1.0.0 Beta
  3. Apache with PHP-FPM
  4. PHP version 7.2

Steps to reproduce

  1. Leave all settings as factory default
  2. Have the following install-config.mysql.php file
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

return [
    'db-host' => 'mysql',
    'db-user' => 'magento',
    'db-password' => 'magento',
    'db-name' => 'magento_integration',
    'db-prefix' => '',
    'backend-frontname' => 'backend',
    'admin-user' => \Magento\TestFramework\Bootstrap::ADMIN_NAME,
    'admin-password' => \Magento\TestFramework\Bootstrap::ADMIN_PASSWORD,
    'admin-email' => \Magento\TestFramework\Bootstrap::ADMIN_EMAIL,
    'admin-firstname' => \Magento\TestFramework\Bootstrap::ADMIN_FIRSTNAME,
    'admin-lastname' => \Magento\TestFramework\Bootstrap::ADMIN_LASTNAME,
];
  1. Have the following requires in the composer.json
  "require": {
    "magento/product-community-edition": "2.3.0-alpha",
    "magento/inventory-composer-metapackage": "^1.0@beta",
    "composer/composer": "@alpha"
  }
  1. Run integration tests with the following command: /usr/bin/php /var/www/html/src/vendor/bin/phpunit -c /var/www/html/src/dev/tests/integration/phpunit.xml.dist

Related to

Might be related to the following issues:

Created this issue in the Magento 2 repo first, but they closed it and asked me to put it in the MSI project:

Expected result

Integration tests should start to run.

Workaround

I got the integration tests to work by disabling the Magento_WebapiSecurity module. install-config.mysql.php file looks like this:

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

return [
    'db-host' => 'mysql',
    'db-user' => 'magento',
    'db-password' => 'magento',
    'db-name' => 'magento_integration',
    'db-prefix' => '',
    'backend-frontname' => 'backend',
    'admin-user' => \Magento\TestFramework\Bootstrap::ADMIN_NAME,
    'admin-password' => \Magento\TestFramework\Bootstrap::ADMIN_PASSWORD,
    'admin-email' => \Magento\TestFramework\Bootstrap::ADMIN_EMAIL,
    'admin-firstname' => \Magento\TestFramework\Bootstrap::ADMIN_FIRSTNAME,
    'admin-lastname' => \Magento\TestFramework\Bootstrap::ADMIN_LASTNAME,
    'disable_modules' => 'Magento_WebapiSecurity'
];

With this module disabled the integration tests are running.

Actual result

Installing Magento fails, because a module want to read from the core_config_data database table which has not been installed yet.

In Pdo.php line 235:

  [Zend_Db_Statement_Exception (42)]
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento_integration.core_config_data' doesn't exist, query was: SELECT `main_table`.* FROM `core_config_data` AS `main_table`

Full stack trace:

Exception: Starting Magento installation:
File permissions check...
[Progress: 1 / 801]
Required extensions check...
[Progress: 2 / 801]
Enabling Maintenance Mode...
[Progress: 3 / 801]
Installing deployment configuration...
[Progress: 4 / 801]
Installing database schema:

In Pdo.php line 235:

  [Zend_Db_Statement_Exception (42)]
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento_integration.core_config_data' doesn't exist, query was: SELECT `main_table`.* FROM `core_config_data` AS `main_table`


Exception trace:
 Zend_Db_Statement_Pdo->_execute() at /var/www/html/src/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:93
 Magento\Framework\DB\Statement\Pdo\Mysql->_execute() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Statement.php:303
 Zend_Db_Statement->execute() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:480
 Zend_Db_Adapter_Abstract->query() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:238
 Zend_Db_Adapter_Pdo_Abstract->query() at /var/www/html/src/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:540
 Magento\Framework\DB\Adapter\Pdo\Mysql->_query() at /var/www/html/src/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:614
 Magento\Framework\DB\Adapter\Pdo\Mysql->query() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:737
 Zend_Db_Adapter_Abstract->fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php:21
 Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:775
 Magento\Framework\Data\Collection\AbstractDb->_fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:671
 Magento\Framework\Data\Collection\AbstractDb->getData() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:575
 Magento\Framework\Data\Collection\AbstractDb->loadWithFilter() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:560
 Magento\Framework\Data\Collection\AbstractDb->load() at /var/www/html/src/vendor/magento/framework/Data/Collection.php:831
 Magento\Framework\Data\Collection->getIterator() at /var/www/html/src/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php:82
 Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() at /var/www/html/src/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php:62
 Magento\Config\App\Config\Source\RuntimeConfigSource->get() at /var/www/html/src/vendor/magento/framework/App/Config/ConfigSourceAggregated.php:40
 Magento\Framework\App\Config\ConfigSourceAggregated->get() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System/Reader.php:60
 Magento\Config\App\Config\Type\System\Reader->read() at /var/www/html/src/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php:95
 Magento\Config\App\Config\Type\System\Reader\Proxy->read() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:292
 Magento\Config\App\Config\Type\System->readData() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:191
 Magento\Config\App\Config\Type\System->loadDefaultScopeData() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:152
 Magento\Config\App\Config\Type\System->get() at /var/www/html/src/vendor/magento/framework/App/Config.php:131
 Magento\Framework\App\Config->get() at /var/www/html/src/vendor/magento/framework/App/Config.php:80
 Magento\Framework\App\Config->getValue() at /var/www/html/src/vendor/magento/framework/App/MutableScopeConfig.php:36
 Magento\Framework\App\MutableScopeConfig->getValue() at /var/www/html/src/vendor/magento/module-webapi-security/Model/Plugin/AnonymousResourceSecurity.php:52
 Magento\WebapiSecurity\Model\Plugin\AnonymousResourceSecurity->afterConvert() at /var/www/html/src/vendor/magento/framework/Interception/Interceptor.php:146
 Magento\Webapi\Model\Config\Converter\Interceptor->Magento\Framework\Interception\{closure}() at /var/www/html/src/vendor/magento/framework/Interception/Interceptor.php:153
 Magento\Webapi\Model\Config\Converter\Interceptor->___callPlugins() at /var/www/html/src/generated/code/Magento/Webapi/Model/Config/Converter/Interceptor.php:25
 Magento\Webapi\Model\Config\Converter\Interceptor->convert() at /var/www/html/src/vendor/magento/framework/Config/Reader/Filesystem.php:175
 Magento\Framework\Config\Reader\Filesystem->_readFiles() at /var/www/html/src/vendor/magento/framework/Config/Reader/Filesystem.php:131
 Magento\Framework\Config\Reader\Filesystem->read() at /var/www/html/src/vendor/magento/module-webapi/Model/Config.php:78
 Magento\Webapi\Model\Config->getServices() at /var/www/html/src/vendor/magento/module-webapi-async/Model/Config.php:100
 Magento\WebapiAsync\Model\Config->generateTopicsDataFromWebapiConfig() at /var/www/html/src/vendor/magento/module-webapi-async/Model/Config.php:67
 Magento\WebapiAsync\Model\Config->getServices() at /var/www/html/src/generated/code/Magento/WebapiAsync/Model/Config/Proxy.php:95
 Magento\WebapiAsync\Model\Config\Proxy->getServices() at /var/www/html/src/vendor/magento/module-webapi-async/Code/Generator/Config/RemoteServiceReader/Communication.php:54
 Magento\WebapiAsync\Code\Generator\Config\RemoteServiceReader\Communication->read() at /var/www/html/src/vendor/magento/framework/Communication/Config/CompositeReader.php:57
 Magento\Framework\Communication\Config\CompositeReader->read() at /var/www/html/src/vendor/magento/framework/Config/Data.php:104
 Magento\Framework\Config\Data->initData() at /var/www/html/src/vendor/magento/framework/Config/Data.php:92
 Magento\Framework\Config\Data->__construct() at /var/www/html/src/vendor/magento/framework/Communication/Config/Data.php:29
 Magento\Framework\Communication\Config\Data->__construct() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
 Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
 Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:56
 Magento\Framework\ObjectManager\ObjectManager->create() at /var/www/html/src/setup/src/Magento/Setup/Model/ObjectManagerProvider.php:78
 Magento\Setup\Model\ObjectManagerProvider->createCliCommands() at /var/www/html/src/setup/src/Magento/Setup/Model/ObjectManagerProvider.php:64
 Magento\Setup\Model\ObjectManagerProvider->get() at /var/www/html/src/setup/src/Magento/Setup/Module/ConnectionFactory.php:96
 Magento\Setup\Module\ConnectionFactory->create() at /var/www/html/src/setup/src/Magento/Setup/Validator/DbValidator.php:82
 Magento\Setup\Validator\DbValidator->checkDatabaseConnection() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:1352
 Magento\Setup\Model\Installer->assertDbAccessible() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:819
 Magento\Setup\Model\Installer->installSchema() at n/a:n/a
 call_user_func_array() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:366
 Magento\Setup\Model\Installer->install() at /var/www/html/src/setup/src/Magento/Setup/Console/Command/InstallCommand.php:224
 Magento\Setup\Console\Command\InstallCommand->execute() at /var/www/html/src/vendor/symfony/console/Command/Command.php:251
 Symfony\Component\Console\Command\Command->run() at /var/www/html/src/vendor/symfony/console/Application.php:865
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/src/vendor/symfony/console/Application.php:241
 Symfony\Component\Console\Application->doRun() at /var/www/html/src/vendor/magento/framework/Console/Cli.php:103
 Magento\Framework\Console\Cli->doRun() at /var/www/html/src/vendor/symfony/console/Application.php:143
 Symfony\Component\Console\Application->run() at /var/www/html/src/bin/magento:23

In Pdo.php line 228:

  [PDOException (42S02)]
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento_integration.core_config_data' doesn't exist


Exception trace:
 PDOStatement->execute() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228
 Zend_Db_Statement_Pdo->_execute() at /var/www/html/src/vendor/magento/framework/DB/Statement/Pdo/Mysql.php:93
 Magento\Framework\DB\Statement\Pdo\Mysql->_execute() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Statement.php:303
 Zend_Db_Statement->execute() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:480
 Zend_Db_Adapter_Abstract->query() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:238
 Zend_Db_Adapter_Pdo_Abstract->query() at /var/www/html/src/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:540
 Magento\Framework\DB\Adapter\Pdo\Mysql->_query() at /var/www/html/src/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:614
 Magento\Framework\DB\Adapter\Pdo\Mysql->query() at /var/www/html/src/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:737
 Zend_Db_Adapter_Abstract->fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php:21
 Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:775
 Magento\Framework\Data\Collection\AbstractDb->_fetchAll() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:671
 Magento\Framework\Data\Collection\AbstractDb->getData() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:575
 Magento\Framework\Data\Collection\AbstractDb->loadWithFilter() at /var/www/html/src/vendor/magento/framework/Data/Collection/AbstractDb.php:560
 Magento\Framework\Data\Collection\AbstractDb->load() at /var/www/html/src/vendor/magento/framework/Data/Collection.php:831
 Magento\Framework\Data\Collection->getIterator() at /var/www/html/src/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php:82
 Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() at /var/www/html/src/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php:62
 Magento\Config\App\Config\Source\RuntimeConfigSource->get() at /var/www/html/src/vendor/magento/framework/App/Config/ConfigSourceAggregated.php:40
 Magento\Framework\App\Config\ConfigSourceAggregated->get() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System/Reader.php:60
 Magento\Config\App\Config\Type\System\Reader->read() at /var/www/html/src/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php:95
 Magento\Config\App\Config\Type\System\Reader\Proxy->read() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:292
 Magento\Config\App\Config\Type\System->readData() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:191
 Magento\Config\App\Config\Type\System->loadDefaultScopeData() at /var/www/html/src/vendor/magento/module-config/App/Config/Type/System.php:152
 Magento\Config\App\Config\Type\System->get() at /var/www/html/src/vendor/magento/framework/App/Config.php:131
 Magento\Framework\App\Config->get() at /var/www/html/src/vendor/magento/framework/App/Config.php:80
 Magento\Framework\App\Config->getValue() at /var/www/html/src/vendor/magento/framework/App/MutableScopeConfig.php:36
 Magento\Framework\App\MutableScopeConfig->getValue() at /var/www/html/src/vendor/magento/module-webapi-security/Model/Plugin/AnonymousResourceSecurity.php:52
 Magento\WebapiSecurity\Model\Plugin\AnonymousResourceSecurity->afterConvert() at /var/www/html/src/vendor/magento/framework/Interception/Interceptor.php:146
 Magento\Webapi\Model\Config\Converter\Interceptor->Magento\Framework\Interception\{closure}() at /var/www/html/src/vendor/magento/framework/Interception/Interceptor.php:153
 Magento\Webapi\Model\Config\Converter\Interceptor->___callPlugins() at /var/www/html/src/generated/code/Magento/Webapi/Model/Config/Converter/Interceptor.php:25
 Magento\Webapi\Model\Config\Converter\Interceptor->convert() at /var/www/html/src/vendor/magento/framework/Config/Reader/Filesystem.php:175
 Magento\Framework\Config\Reader\Filesystem->_readFiles() at /var/www/html/src/vendor/magento/framework/Config/Reader/Filesystem.php:131
 Magento\Framework\Config\Reader\Filesystem->read() at /var/www/html/src/vendor/magento/module-webapi/Model/Config.php:78
 Magento\Webapi\Model\Config->getServices() at /var/www/html/src/vendor/magento/module-webapi-async/Model/Config.php:100
 Magento\WebapiAsync\Model\Config->generateTopicsDataFromWebapiConfig() at /var/www/html/src/vendor/magento/module-webapi-async/Model/Config.php:67
 Magento\WebapiAsync\Model\Config->getServices() at /var/www/html/src/generated/code/Magento/WebapiAsync/Model/Config/Proxy.php:95
 Magento\WebapiAsync\Model\Config\Proxy->getServices() at /var/www/html/src/vendor/magento/module-webapi-async/Code/Generator/Config/RemoteServiceReader/Communication.php:54
 Magento\WebapiAsync\Code\Generator\Config\RemoteServiceReader\Communication->read() at /var/www/html/src/vendor/magento/framework/Communication/Config/CompositeReader.php:57
 Magento\Framework\Communication\Config\CompositeReader->read() at /var/www/html/src/vendor/magento/framework/Config/Data.php:104
 Magento\Framework\Config\Data->initData() at /var/www/html/src/vendor/magento/framework/Config/Data.php:92
 Magento\Framework\Config\Data->__construct() at /var/www/html/src/vendor/magento/framework/Communication/Config/Data.php:29
 Magento\Framework\Communication\Config\Data->__construct() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:111
 Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:66
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
 Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:144
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:70
 Magento\Framework\ObjectManager\ObjectManager->get() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:180
 Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:156
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:230
 Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:34
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments() at /var/www/html/src/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php:59
 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create() at /var/www/html/src/vendor/magento/framework/ObjectManager/ObjectManager.php:56
 Magento\Framework\ObjectManager\ObjectManager->create() at /var/www/html/src/setup/src/Magento/Setup/Model/ObjectManagerProvider.php:78
 Magento\Setup\Model\ObjectManagerProvider->createCliCommands() at /var/www/html/src/setup/src/Magento/Setup/Model/ObjectManagerProvider.php:64
 Magento\Setup\Model\ObjectManagerProvider->get() at /var/www/html/src/setup/src/Magento/Setup/Module/ConnectionFactory.php:96
 Magento\Setup\Module\ConnectionFactory->create() at /var/www/html/src/setup/src/Magento/Setup/Validator/DbValidator.php:82
 Magento\Setup\Validator\DbValidator->checkDatabaseConnection() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:1352
 Magento\Setup\Model\Installer->assertDbAccessible() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:819
 Magento\Setup\Model\Installer->installSchema() at n/a:n/a
 call_user_func_array() at /var/www/html/src/setup/src/Magento/Setup/Model/Installer.php:366
 Magento\Setup\Model\Installer->install() at /var/www/html/src/setup/src/Magento/Setup/Console/Command/InstallCommand.php:224
 Magento\Setup\Console\Command\InstallCommand->execute() at /var/www/html/src/vendor/symfony/console/Command/Command.php:251
 Symfony\Component\Console\Command\Command->run() at /var/www/html/src/vendor/symfony/console/Application.php:865
 Symfony\Component\Console\Application->doRunCommand() at /var/www/html/src/vendor/symfony/console/Application.php:241
 Symfony\Component\Console\Application->doRun() at /var/www/html/src/vendor/magento/framework/Console/Cli.php:103
 Magento\Framework\Console\Cli->doRun() at /var/www/html/src/vendor/symfony/console/Application.php:143
 Symfony\Component\Console\Application->run() at /var/www/html/src/bin/magento:23

setup:install [--sqs-region SQS-REGION] [--sqs-version SQS-VERSION] [--sqs-access-key SQS-ACCESS-KEY] [--sqs-secret-key SQS-SECRET-KEY] [--backend-frontname BACKEND-FRONTNAME] [--amqp-host AMQP-HOST] [--amqp-port AMQP-PORT] [--amqp-user AMQP-USER] [--amqp-password AMQP-PASSWORD] [--amqp-virtualhost AMQP-VIRTUALHOST] [--amqp-ssl AMQP-SSL] [--amqp-ssl-options AMQP-SSL-OPTIONS] [--key KEY] [--db-host DB-HOST] [--db-name DB-NAME] [--db-user DB-USER] [--db-engine DB-ENGINE] [--db-password DB-PASSWORD] [--db-prefix DB-PREFIX] [--db-model DB-MODEL] [--db-init-statements DB-INIT-STATEMENTS] [-s|--skip-db-validation] [--http-cache-hosts HTTP-CACHE-HOSTS] [--session-save SESSION-SAVE] [--session-save-redis-host SESSION-SAVE-REDIS-HOST] [--session-save-redis-port SESSION-SAVE-REDIS-PORT] [--session-save-redis-password SESSION-SAVE-REDIS-PASSWORD] [--session-save-redis-timeout SESSION-SAVE-REDIS-TIMEOUT] [--session-save-redis-persistent-id SESSION-SAVE-REDIS-PERSISTENT-ID] [--session-save-redis-db SESSION-SAVE-REDIS-DB] [--session-save-redis-compression-threshold SESSION-SAVE-REDIS-COMPRESSION-THRESHOLD] [--session-save-redis-compression-lib SESSION-SAVE-REDIS-COMPRESSION-LIB] [--session-save-redis-log-level SESSION-SAVE-REDIS-LOG-LEVEL] [--session-save-redis-max-concurrency SESSION-SAVE-REDIS-MAX-CONCURRENCY] [--session-save-redis-break-after-frontend SESSION-SAVE-REDIS-BREAK-AFTER-FRONTEND] [--session-save-redis-break-after-adminhtml SESSION-SAVE-REDIS-BREAK-AFTER-ADMINHTML] [--session-save-redis-first-lifetime SESSION-SAVE-REDIS-FIRST-LIFETIME] [--session-save-redis-bot-first-lifetime SESSION-SAVE-REDIS-BOT-FIRST-LIFETIME] [--session-save-redis-bot-lifetime SESSION-SAVE-REDIS-BOT-LIFETIME] [--session-save-redis-disable-locking SESSION-SAVE-REDIS-DISABLE-LOCKING] [--session-save-redis-min-lifetime SESSION-SAVE-REDIS-MIN-LIFETIME] [--session-save-redis-max-lifetime SESSION-SAVE-REDIS-MAX-LIFETIME] [--session-save-redis-sentinel-master SESSION-SAVE-REDIS-SENTINEL-MASTER] [--session-save-redis-sentinel-servers SESSION-SAVE-REDIS-SENTINEL-SERVERS] [--session-save-redis-sentinel-verify-master SESSION-SAVE-REDIS-SENTINEL-VERIFY-MASTER] [--session-save-redis-sentinel-connect-retires SESSION-SAVE-REDIS-SENTINEL-CONNECT-RETIRES] [--cache-backend CACHE-BACKEND] [--cache-backend-redis-server CACHE-BACKEND-REDIS-SERVER] [--cache-backend-redis-db CACHE-BACKEND-REDIS-DB] [--cache-backend-redis-port CACHE-BACKEND-REDIS-PORT] [--page-cache PAGE-CACHE] [--page-cache-redis-server PAGE-CACHE-REDIS-SERVER] [--page-cache-redis-db PAGE-CACHE-REDIS-DB] [--page-cache-redis-port PAGE-CACHE-REDIS-PORT] [--page-cache-redis-compress-data PAGE-CACHE-REDIS-COMPRESS-DATA] [--base-url BASE-URL] [--language LANGUAGE] [--timezone TIMEZONE] [--currency CURRENCY] [--use-rewrites USE-REWRITES] [--use-secure USE-SECURE] [--base-url-secure BASE-URL-SECURE] [--use-secure-admin USE-SECURE-ADMIN] [--admin-use-security-key ADMIN-USE-SECURITY-KEY] [--admin-user ADMIN-USER] [--admin-password ADMIN-PASSWORD] [--admin-email ADMIN-EMAIL] [--admin-firstname ADMIN-FIRSTNAME] [--admin-lastname ADMIN-LASTNAME] [--cleanup-database] [--sales-order-increment-prefix SALES-ORDER-INCREMENT-PREFIX] [--use-sample-data] [--dump_enable DUMP_ENABLE] [--enable_modules [ENABLE_MODULES]] [--disable_modules [DISABLE_MODULES]] [--convert_old_scripts [CONVERT_OLD_SCRIPTS]] [-i|--interactive] [--safe-mode [SAFE-MODE]] [--data-restore [DATA-RESTORE]] [--dry-run [DRY-RUN]] [--magento-init-params MAGENTO-INIT-PARAMS]
 in /var/www/html/src/vendor/magento/framework/Shell.php:63
Stack trace:
#0 /var/www/html/src/dev/tests/integration/framework/Magento/TestFramework/Application.php(514): Magento\Framework\Shell->execute('/usr/bin/php7.2...', Array)
#1 /var/www/html/src/dev/tests/integration/framework/bootstrap.php(81): Magento\TestFramework\Application->install(true)
#2 /var/www/html/src/vendor/phpunit/phpunit/src/Util/Fileloader.php(61): include_once('/var/www/html/s...')
#3 /var/www/html/src/vendor/phpunit/phpunit/src/Util/Fileloader.php(45): PHPUnit\Util\Fileloader::load('/var/www/html/s...')
#4 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(915): PHPUnit\Util\Fileloader::checkAndLoad('/var/www/html/s...')
#5 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(737): PHPUnit\TextUI\Command->handleBootstrap('/var/www/html/s...')
#6 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(152): PHPUnit\TextUI\Command->handleArguments(Array)
#7 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(141): PHPUnit\TextUI\Command->run(Array, true)
#8 /var/www/html/src/vendor/phpunit/phpunit/phpunit(53): PHPUnit\TextUI\Command::main()
#9 {main}

Next Magento\Framework\Exception\LocalizedException: Command returned non-zero exit code:
`/usr/bin/php7.2 -f '/var/www/html/src/bin/magento' setup:install -vvv --db-host='mysql' --db-user='magento' --db-password='magento' --db-name='magento_integration' --backend-frontname='backend' --admin-user='user' --admin-password='password1' --admin-email='admin@example.com' --admin-firstname='firstname' --admin-lastname='lastname' --disable_modules='Magento_AsynchronousOperations' --magento-init-params='MAGE_DIRS[etc][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/etc&MAGE_DIRS[var][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var&MAGE_DIRS[media][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/pub/media&MAGE_DIRS[static][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/pub/static&MAGE_DIRS[view_preprocessed][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/view_preprocessed/pub/static&MAGE_DIRS[code][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/generated/code&MAGE_DIRS[cache][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/cache&MAGE_DIRS[log][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/log&MAGE_DIRS[session][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/session&MAGE_DIRS[tmp][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/tmp&MAGE_DIRS[upload][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/var/upload&MAGE_DIRS[pub][path]=/var/www/html/src/dev/tests/integration/tmp/sandbox-0-b875c487f5642160c67261b7394ac4fe/pub&MAGE_MODE=developer' 2>&1` in /var/www/html/src/vendor/magento/framework/Shell.php:64
Stack trace:
#0 /var/www/html/src/dev/tests/integration/framework/Magento/TestFramework/Application.php(514): Magento\Framework\Shell->execute('/usr/bin/php7.2...', Array)
#1 /var/www/html/src/dev/tests/integration/framework/bootstrap.php(81): Magento\TestFramework\Application->install(true)
#2 /var/www/html/src/vendor/phpunit/phpunit/src/Util/Fileloader.php(61): include_once('/var/www/html/s...')
#3 /var/www/html/src/vendor/phpunit/phpunit/src/Util/Fileloader.php(45): PHPUnit\Util\Fileloader::load('/var/www/html/s...')
#4 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(915): PHPUnit\Util\Fileloader::checkAndLoad('/var/www/html/s...')
#5 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(737): PHPUnit\TextUI\Command->handleBootstrap('/var/www/html/s...')
#6 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(152): PHPUnit\TextUI\Command->handleArguments(Array)
#7 /var/www/html/src/vendor/phpunit/phpunit/src/TextUI/Command.php(141): PHPUnit\TextUI\Command->run(Array, true)
#8 /var/www/html/src/vendor/phpunit/phpunit/phpunit(53): PHPUnit\TextUI\Command::main()
#9 {main}

=== Memory Usage System Stats ===
Memory usage (OS):	44.96M (1124.02% of 4.00M reported by PHP)
Estimated memory leak:	40.96M (91.10% of used memory)

It's not a sequence issue, because this is the config.php file

<?php
return [
    'modules' => [
        'Magento_Store' => 1,
        'Magento_Directory' => 1,
        'Magento_AdvancedPricingImportExport' => 1,
        'Magento_Backend' => 1,
        'Magento_Amqp' => 1,
        'Magento_Config' => 1,
        'Magento_User' => 1,
        'Magento_Authorization' => 1,
        'Magento_Theme' => 1,
        'Magento_Eav' => 1,
        'Magento_Backup' => 1,
        'Magento_Customer' => 1,
        'Magento_AdminNotification' => 1,
        'Magento_GraphQl' => 1,
        'Magento_BundleImportExport' => 1,
        'Magento_CacheInvalidate' => 1,
        'Magento_Indexer' => 1,
        'Magento_Variable' => 1,
        'Magento_Security' => 1,
        'Magento_EavGraphQl' => 1,
        'Magento_CatalogImportExport' => 1,
        'Magento_Cms' => 1,
        'Magento_Rule' => 1,
        'Magento_Catalog' => 1,
        'Magento_CatalogRule' => 1,
        'Magento_CatalogUrlRewrite' => 1,
        'Magento_CatalogUrlRewriteGraphQl' => 1,
        'Magento_Widget' => 1,
        'Magento_Quote' => 1,
        'Magento_SalesSequence' => 1,
        'Magento_Payment' => 1,
        'Magento_CmsUrlRewrite' => 1,
        'Magento_CmsUrlRewriteGraphQl' => 1,
        'Magento_Integration' => 1,
        'Magento_ConfigurableImportExport' => 1,
        'Magento_CatalogInventory' => 1,
        'Magento_Search' => 1,
        'Magento_Sales' => 1,
        'Magento_Contact' => 1,
        'Magento_Cookie' => 1,
        'Magento_Cron' => 1,
        'Magento_CurrencySymbol' => 1,
        'Magento_Checkout' => 1,
        'Magento_Analytics' => 1,
        'Magento_CustomerGraphQl' => 1,
        'Magento_CustomerImportExport' => 1,
        'Magento_Deploy' => 1,
        'Magento_Developer' => 1,
        'Magento_Dhl' => 1,
        'Magento_AdvancedSearch' => 1,
        'Magento_Downloadable' => 1,
        'Magento_StoreGraphQl' => 1,
        'Magento_ImportExport' => 1,
        'Magento_Bundle' => 1,
        'Magento_CatalogGraphQl' => 1,
        'Magento_CatalogSearch' => 1,
        'Magento_Email' => 1,
        'Magento_EncryptionKey' => 1,
        'Magento_Fedex' => 1,
        'Magento_GiftMessage' => 1,
        'Magento_GoogleAdwords' => 1,
        'Magento_GoogleAnalytics' => 1,
        'Magento_Ui' => 1,
        'Magento_Msrp' => 1,
        'Magento_GroupedImportExport' => 1,
        'Magento_GroupedProduct' => 1,
        'Magento_GroupedProductGraphQl' => 1,
        'Magento_DownloadableImportExport' => 1,
        'Magento_Tax' => 1,
        'Magento_InstantPurchase' => 1,
        'Magento_CatalogAnalytics' => 1,
        'Magento_Inventory' => 1,
        'Magento_InventoryAdminUi' => 1,
        'Magento_InventoryApi' => 1,
        'Magento_InventoryBundleProduct' => 1,
        'Magento_InventoryCatalog' => 1,
        'Magento_InventorySales' => 1,
        'Magento_InventoryCatalogAdminUi' => 1,
        'Magento_InventoryCatalogApi' => 1,
        'Magento_InventoryCatalogSearch' => 1,
        'Magento_ConfigurableProduct' => 1,
        'Magento_InventoryConfigurableProduct' => 1,
        'Magento_InventoryConfigurableProductIndexer' => 1,
        'Magento_InventoryConfiguration' => 1,
        'Magento_InventoryConfigurationApi' => 1,
        'Magento_InventoryGroupedProduct' => 1,
        'Magento_InventoryImportExport' => 1,
        'Magento_InventoryIndexer' => 1,
        'Magento_InventoryLowQuantityNotification' => 1,
        'Magento_InventoryLowQuantityNotificationAdminUi' => 1,
        'Magento_InventoryLowQuantityNotificationApi' => 1,
        'Magento_InventoryMultiDimensionalIndexerApi' => 1,
        'Magento_InventoryProductAlert' => 1,
        'Magento_InventoryReservations' => 1,
        'Magento_InventoryReservationsApi' => 1,
        'Magento_InventoryCache' => 1,
        'Magento_InventorySalesAdminUi' => 1,
        'Magento_InventorySalesApi' => 1,
        'Magento_InventorySalesFrontendUi' => 1,
        'Magento_InventoryShipping' => 1,
        'Magento_Shipping' => 1,
        'Magento_InventorySourceSelection' => 1,
        'Magento_InventorySourceSelectionApi' => 1,
        'Magento_LayeredNavigation' => 1,
        'Magento_Marketplace' => 1,
        'Magento_MediaStorage' => 1,
        'Magento_MessageQueue' => 1,
        'Magento_CatalogRuleConfigurable' => 1,
        'Magento_Multishipping' => 1,
        'Magento_MysqlMq' => 1,
        'Magento_NewRelicReporting' => 1,
        'Magento_Newsletter' => 1,
        'Magento_OfflinePayments' => 1,
        'Magento_SalesRule' => 1,
        'Magento_PageCache' => 1,
        'Magento_Vault' => 1,
        'Magento_Paypal' => 1,
        'Magento_Persistent' => 1,
        'Magento_ProductAlert' => 1,
        'Magento_ProductVideo' => 1,
        'Magento_CheckoutAgreements' => 1,
        'Magento_QuoteAnalytics' => 1,
        'Magento_ReleaseNotification' => 1,
        'Magento_Reports' => 1,
        'Magento_RequireJs' => 1,
        'Magento_Review' => 1,
        'Magento_ReviewAnalytics' => 1,
        'Magento_Robots' => 1,
        'Magento_Rss' => 1,
        'Magento_Elasticsearch' => 1,
        'Magento_Captcha' => 1,
        'Magento_SalesAnalytics' => 1,
        'Magento_SalesInventory' => 1,
        'Magento_OfflineShipping' => 1,
        'Magento_ConfigurableProductSales' => 1,
        'Magento_UrlRewrite' => 1,
        'Magento_DownloadableGraphQl' => 1,
        'Magento_CustomerAnalytics' => 1,
        'Magento_SendFriend' => 1,
        'Magento_InventoryShippingAdminUi' => 1,
        'Magento_Signifyd' => 1,
        'Magento_Sitemap' => 1,
        'Magento_ConfigurableProductGraphQl' => 1,
        'Magento_BundleGraphQl' => 1,
        'Magento_Webapi' => 1,
        'Magento_SwaggerWebapi' => 1,
        'Magento_SwaggerWebapiAsync' => 1,
        'Magento_Swatches' => 1,
        'Magento_SwatchesGraphQl' => 1,
        'Magento_SwatchesLayeredNavigation' => 1,
        'Magento_TaxGraphQl' => 1,
        'Magento_TaxImportExport' => 1,
        'Magento_TestModuleAsyncAmqp' => 1,
        'Magento_TestModuleDirectoryZipCodes' => 1,
        'Magento_TestModuleExtensionAttributes' => 1,
        'Magento_TestModuleFakePaymentMethod' => 1,
        'Magento_TestModuleMessageQueueConfigOverride' => 1,
        'Magento_TestModuleMessageQueueConfiguration' => 1,
        'Magento_TestModuleSample' => 1,
        'Magento_TestModuleSynchronousAmqp' => 1,
        'Magento_TestModuleWysiwygConfig' => 1,
        'Magento_Authorizenet' => 1,
        'Magento_Tinymce3' => 1,
        'Magento_Translation' => 1,
        'Magento_GoogleOptimizer' => 1,
        'Magento_Ups' => 1,
        'Magento_SampleData' => 1,
        'Magento_UrlRewriteGraphQl' => 1,
        'Magento_AsynchronousOperations' => 1,
        'Magento_Usps' => 1,
        'Magento_InventoryConfigurableProductAdminUi' => 1,
        'Magento_Braintree' => 1,
        'Magento_Version' => 1,
        'Magento_Swagger' => 1,
        'Magento_WebapiAsync' => 1,
        'Magento_WebapiSecurity' => 1,
        'Magento_Weee' => 1,
        'Magento_WeeeGraphQl' => 1,
        'Magento_CatalogWidget' => 1,
        'Magento_Wishlist' => 1,
        'Magento_WishlistAnalytics' => 1
    ]
];
@IvanPletnyov
Copy link
Contributor

@dverkade I cannot reproduce this issue. Could you please add more details?

@IvanPletnyov IvanPletnyov self-assigned this Aug 8, 2018
@dverkade
Copy link
Member Author

dverkade commented Aug 8, 2018

Hi @IvanPletnyov,

Thank you for your feedback. This issue has been reproduced by @engcom-backlog-nickolas as well. See magento/magento2#17336 How can I help you further? All the information I have available is in this issue.

@IvanPletnyov
Copy link
Contributor

@dverkade I'm trying to reproduce, but it's working for me
peek 2018-08-08 17-02

@dverkade
Copy link
Member Author

dverkade commented Aug 8, 2018

Hi @IvanPletnyov thanks for the screen share. I see yours is working. So strange! Did you make customisations to the PHPunit file? It only throws the error when it needs to install Magento and no database tables are present in the database. I have attached the PHPunit.xml file I'm using. The CLEANUP needs to be ENABLED and the database needs to be empty (i.e. no database tables present) in order for my to get this error. Hope this helps!

<?xml version="1.0" encoding="UTF-8"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
         colors="true"
         columns="max"
         beStrictAboutTestsThatDoNotTestAnything="false"
         bootstrap="./framework/bootstrap.php"
         stderr="true"
>
    <!-- Test suites definition -->
    <testsuites>
        <!-- Memory tests run first to prevent influence of other tests on accuracy of memory measurements -->
        <testsuite name="Memory Usage Tests">
            <file>testsuite/Magento/MemoryUsageTest.php</file>
        </testsuite>
        <testsuite name="Magento Integration Tests">
            <directory suffix="Test.php">testsuite</directory>
            <directory suffix="Test.php">../../../app/code/*/*/Test/Integration</directory>
            <exclude>testsuite/Magento/MemoryUsageTest.php</exclude>
        </testsuite>
    </testsuites>
    <!-- Code coverage filters -->
    <filter>
        <whitelist addUncoveredFilesFromWhiteList="true">
            <directory suffix=".php">../../../app/code/Magento</directory>
            <directory suffix=".php">../../../lib/internal/Magento</directory>
            <exclude>
                <directory>../../../app/code/*/*/Test</directory>
                <directory>../../../lib/internal/*/*/Test</directory>
                <directory>../../../lib/internal/*/*/*/Test</directory>
                <directory>../../../setup/src/*/*/Test</directory>
            </exclude>
        </whitelist>
    </filter>
    <!-- PHP INI settings and constants definition -->
    <php>
        <includePath>.</includePath>
        <includePath>testsuite</includePath>
        <ini name="date.timezone" value="America/Los_Angeles"/>
        <ini name="xdebug.max_nesting_level" value="200"/>
        <!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) -->
        <const name="TESTS_INSTALL_CONFIG_FILE" value="etc/install-config-mysql.php"/>
        <!-- Local XML configuration file ('.dist' extension will be added, if the specified file doesn't exist) -->
        <const name="TESTS_GLOBAL_CONFIG_FILE" value="etc/config-global.php"/>
        <!-- Semicolon-separated 'glob' patterns, that match global XML configuration files -->
        <const name="TESTS_GLOBAL_CONFIG_DIR" value="../../../app/etc"/>
        <!-- Whether to cleanup the application before running tests or not -->
        <const name="TESTS_CLEANUP" value="enabled"/>
        <!-- Memory usage and estimated leaks thresholds -->
        <!--<const name="TESTS_MEM_USAGE_LIMIT" value="1024M"/>-->
        <const name="TESTS_MEM_LEAK_LIMIT" value=""/>
        <!-- Path to Percona Toolkit bin directory -->
        <!--<const name="PERCONA_TOOLKIT_BIN_DIR" value=""/>-->
        <!-- CSV Profiler Output file -->
        <!--<const name="TESTS_PROFILER_FILE" value="profiler.csv"/>-->
        <!-- Bamboo compatible CSV Profiler Output file name -->
        <!--<const name="TESTS_BAMBOO_PROFILER_FILE" value="profiler.csv"/>-->
        <!-- Metrics for Bamboo Profiler Output in PHP file that returns array -->
        <!--<const name="TESTS_BAMBOO_PROFILER_METRICS_FILE" value="../../build/profiler_metrics.php"/>-->
        <!-- Whether to output all CLI commands executed by the bootstrap and tests -->
        <const name="TESTS_EXTRA_VERBOSE_LOG" value="1"/>
        <!-- Magento mode for tests execution. Possible values are "default", "developer" and "production". -->
        <const name="TESTS_MAGENTO_MODE" value="developer"/>
        <!-- Minimum error log level to listen for. Possible values: -1 ignore all errors, and level constants form http://tools.ietf.org/html/rfc5424 standard -->
        <const name="TESTS_ERROR_LOG_LISTENER_LEVEL" value="-1"/>
        <!-- Connection parameters for MongoDB library tests -->
        <!--<const name="MONGODB_CONNECTION_STRING" value="mongodb://localhost:27017"/>-->
        <!--<const name="MONGODB_DATABASE_NAME" value="magento_integration_tests"/>-->
    </php>
    <!-- Test listeners -->
    <listeners>
        <listener class="Magento\TestFramework\Event\PhpUnit"/>
        <listener class="Magento\TestFramework\ErrorLog\Listener"/>
    </listeners>
</phpunit>

@IvanPletnyov
Copy link
Contributor

@dverkade Hi! I'm use default phpunit.xml.dist, create new database... but I still can't reproduce
second proof

@maghamed maghamed closed this as completed Sep 9, 2018
@rofthedeep
Copy link

Hi, did you find a solution for this problem?

@onevn
Copy link

onevn commented May 14, 2020

Same here... Anyone get rid of this????

@riconeitzel
Copy link

witzig, wen man auf seiner suche nach issues so findet @rofthedeep 😄 👋🏻🤚🏻👋🏻🤚🏻👋🏻🤚🏻

@rofthedeep
Copy link

@riconeitzel :) wir haben es dann so gelöst, dass wir die Datenbank nicht mehr automatisch syncronisieren, sondern nur noch nach Bedarf per Robo Script ... eine wirkliche Lösung haben wir aber nicht gefunden ...

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

6 participants