magento / ece-tools

All Submissions you make to Magento Inc. (“Magento") through GitHub are subject to the following terms and conditions: (1) You grant Magento a perpetual, worldwide, non-exclusive, no charge, royalty free, irrevocable license under your applicable copyrights and patents to reproduce, prepare derivative works of, display, publically perform, sublicense and distribute any feedback, ideas, code, or other information (“Submission") you submit through GitHub. (2) Your Submission is an original work of authorship and you are the owner or are legally entitled to grant the license stated above. (3) You agree to the Contributor License Agreement found here: https://github.com/magento/magento2/blob/master/CONTRIBUTOR_LICENSE_AGREEMENT.html
Open Software License 3.0
117 stars 83 forks source link

#805 remove redundant clean-cache step #806

Closed phoenix-bjoern closed 2 years ago

phoenix-bjoern commented 2 years ago

Removes redundant clean-cache form update step (see #805).

magento-cloud-ft-jenkins-svc commented 2 years ago

Functional Acceptance Test Results

:x:  One or more functional acceptance tests have failed.

PHP 7.2

PHP 7.3

PHP 7.4

PHP 8.1

Output for failed tests is below. If many tests have failed only the first 5 will be included. If you need additional information please reach out to the Magento Cloud team for more details.

This comment was generated by Jenkins job ece-tools/functional build 142.

magento-cloud-ft-jenkins-svc commented 2 years ago

PHP 7.2 AcceptanceCe72Cest Output

Codeception PHP Testing Framework v4.1.31 https://helpukrainewin.org
Powered by PHPUnit 8.5.26 #StandWithUkraine

Acceptance Tests (1) ---------------------------------------
AcceptanceCe72Cest: Test with split build command
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\AcceptanceCe72Cest:testWithSplitBuildCommand
Test: src/Test/Functional/Acceptance/AcceptanceCe72Cest.php:testWithSplitBuildCommand
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/product-c...","2.3.2"
 I composer update 
 I generate docker compose "--mode=production"
 I start environment 
 I stop environment 
 I remove work dir 
 ERROR 

------------------------------------------------------------
18x DEPRECATION: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. /app/vendor/symfony/process/Process.php:147
11x DEPRECATION: The Robo\Common\ProcessUtils::escapeArgument() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0. /app/vendor/consolidation/robo/src/Common/ProcessUtils.php:39

Time: 16.38 minutes, Memory: 16.00 MB

There was 1 error:

---------
1) AcceptanceCe72Cest: Test with split build command
 Test  src/Test/Functional/Acceptance/AcceptanceCe72Cest.php:testWithSplitBuildCommand

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvUp 

  10.2: Pulling from mariadb
Digest: sha256:8fcefbc6900276beaf7355e091c097ef57d2016e710fd202d325caeaae76d0a9
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/mariadb:10.2
5.0: Pulling from redis
Digest: sha256:ebd33c510abecb1a9eb2b7ca7d6f609915f7a997c444381febc94c92f497ad6e
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/redis:5.0
7.2-fpm-1.3.2: Pulling from magento/magento-cloud-docker-php
Digest: sha256:c2f1c6aa73782ffcd9f1549ff50cf2764e0f8c82b67c093c4f447cb31f7ec078
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/magento/magento-cloud-docker-php:7.2-fpm-1.3.2
1.19-1.3.2: Pulling from magento/magento-cloud-docker-nginx
Digest: sha256:e59524277058532c241e72b87f24f223e4a7ab55030f544a391097d786ad2776
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/magento/magento-cloud-docker-nginx:1.19-1.3.2
6.2-1.3.2: Pulling from magento/magento-cloud-docker-varnish
Digest: sha256:4ec70782e3358f57f9ca0d3b4108c9b9b9045ceff8c8746f7234dffa109a602a
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/magento/magento-cloud-docker-varnish:6.2-1.3.2
7.2-cli-1.3.2: Pulling from magento/magento-cloud-docker-php
Digest: sha256:48eab149366484d74a51e1351ac4a3e01a63106b319b178b93567f70b89597ed
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/magento/magento-cloud-docker-php:7.2-cli-1.3.2
latest: Pulling from mailhog/mailhog
Digest: sha256:8d76a3d4ffa32a3661311944007a415332c4bb855657f4f6c57996405c009bea
Status: Downloaded newer image for 772853816666.dkr.ecr.us-west-2.amazonaws.com/mailhog/mailhog:latest  

Scenario Steps:

 35. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:52
 34. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 33. $I->startEnvironment() at src/Test/Functional/Acceptance/AcceptanceCeCest.php:52
 32. $I->generateDockerCompose("--mode=production") at src/Test/Functional/Acceptance/AcceptanceCeCest.php:51
 31. $I->composerUpdate() at src/Test/Functional/Acceptance/AcceptanceCeCest.php:41
 30. $I->addDependencyToComposer("magento/produ...","2.3.2") at src/Test/Functional/Acceptance/AcceptanceCeCest.php:39

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:80
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->startEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:734
#6  /app/src/Test/Functional/Acceptance/AcceptanceCeCest.php:52
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AcceptanceCeCest->testWithSplitBuildCommand

ERRORS!
Tests: 1, Assertions: 4, Errors: 1.
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job ece-tools/functional build 142.

magento-cloud-ft-jenkins-svc commented 2 years ago

PHP 7.2 Cron23Php72Cest Output

Codeception PHP Testing Framework v4.1.31 https://helpukrainewin.org
Powered by PHPUnit 8.5.26 #StandWithUkraine

Acceptance Tests (1) ---------------------------------------
Cron23Php72Cest: Test cron | "2.3.1",{"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin@example.com","ADMIN_LOCALE":"fr_FR"}}
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\Cron23Php72Cest:testCron
Test: src/Test/Functional/Acceptance/Cron23Php72Cest.php:testCron
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.1"
 I clone template to work dir "2.3.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.1"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I copy dir to work dir "modules/Mage...","app/code/Mag..."
 I run docker compose command "run build cloud-build"
 I start environment 
 I stop environment 
 ERROR 

------------------------------------------------------------
18x DEPRECATION: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. /app/vendor/symfony/process/Process.php:147
10x DEPRECATION: The Robo\Common\ProcessUtils::escapeArgument() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0. /app/vendor/consolidation/robo/src/Common/ProcessUtils.php:39

Time: 24.03 minutes, Memory: 16.00 MB

There was 1 error:

---------
1) Cron23Php72Cest: Test cron | "2.3.1",{"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin@example.com","ADMIN_LOCALE":"fr_FR"}}
 Test  src/Test/Functional/Acceptance/Cron23Php72Cest.php:testCron

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->startEnvironment() at src/Test/Functional/Acceptance/CronCest.php:42
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/CronCest.php:41
 34. $I->copyDirToWorkDir("modules/Mag...","app/code/Ma...") at src/Test/Functional/Acceptance/CronCest.php:40
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/CronCest.php:38
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/CronCest.php:37

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

ERRORS!
Tests: 1, Assertions: 5, Errors: 1.
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job ece-tools/functional build 142.

magento-cloud-ft-jenkins-svc commented 2 years ago

PHP 7.2 AdminCredential23Php72Cest Output

Codeception PHP Testing Framework v4.1.31 https://helpukrainewin.org
Powered by PHPUnit 8.5.26 #StandWithUkraine

Acceptance Tests (4) ---------------------------------------
AdminCredential23Php72Cest: Test install without admin email | {"MAGENTO_CLOUD_VARIABLES":[]},"",""
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest:testInstallWithoutAdminEmail
Test: src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithoutAdminEmail
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I copy file to work dir "files/debug_...",".magento.env..."
 I generate docker compose "--mode=production --env-vars..."
 I run docker compose command "run build cloud-build"
 I start environment 
 I stop environment 
 ERROR 

AdminCredential23Php72Cest: Test install without admin email | "The following admin data wa...","The following admin data is...",{"MAGENTO_CLOUD_VARIABLES":{...}
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest:testInstallWithoutAdminEmail
Test: src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithoutAdminEmail
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I copy file to work dir "files/debug_...",".magento.env..."
 I generate docker compose "--mode=production --env-vars..."
 I run docker compose command "run build cloud-build"
 I start environment 
 I stop environment 
 ERROR 

AdminCredential23Php72Cest: Test install with different variables | {"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin@example.com"}},"admin@example.com","admin","admin"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest:testInstallWithDifferentVariables
Test: src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithDifferentVariables
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I copy file to work dir "files/debug_...",".magento.env..."
 I generate docker compose "--mode=production --env-vars..."
 I run docker compose command "run build cloud-build"
 I start environment 
 I stop environment 
 ERROR 

AdminCredential23Php72Cest: Test install with different variables | "admin2@example.com","myusername","root",{"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin2@examp...}
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest:testInstallWithDifferentVariables
Test: src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithDifferentVariables
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I copy file to work dir "files/debug_...",".magento.env..."
 I generate docker compose "--mode=production --env-vars..."
 I run docker compose command "run build cloud-build"
 I start environment 
 I run docker compose command "run deploy cloud-deploy"
 I am on page "/"
 I see "Home page"
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that  on page /
-->  Autoload error We can't read some files that are required to run the Magento application. This usually means file permissions are set incorrectly. 
--> contains "Home page".
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(55): PHPUnit\Framework\Constraint\Constraint->fail(' Autoload error...', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2924): PHPUnit\Framework\Constraint\Constraint->evaluate(' Autoload error...', '')
#2 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1369): PHPUnit\Framework\Assert::assertThat(' Autoload error...', Object(Codeception\PHPUnit\Constraint\Page), '')
#3 /app/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(1838): Codeception\Module->assertThat(' Autoload error...', Object(Codeception\PHPUnit\Constraint\Page), '')
#4 /app/vendor/codeception/lib-innerbrowser/src/Codeception/Lib/InnerBrowser.php(546): Codeception\Lib\InnerBrowser->assertPageContains('Home page')
#5 [internal function]: Codeception\Lib\InnerBrowser->see('Home page')
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(285): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(1508): Codeception\Scenario->runStep(Object(Codeception\Step\Assertion))
#9 /app/src/Test/Functional/Acceptance/AdminCredentialCest.php(106): CliTester->see('Home page')
#10 [internal function]: Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredentialCest->testInstallWithDifferentVariables(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(128): ReflectionMethod->invokeArgs(Object(Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\MagentoCloud\Test\Functional\Acceptance\AdminCredential23Php72Cest), 'testInstallWith...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testInstallWith...', Array)
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(82): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#15 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(98): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(626): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(117): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(161): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(208): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(162): Codeception\Codecept->runSuite(Array, 'Acceptance', 'AdminCredential...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(403): Codeception\Codecept->run('Acceptance', 'AdminCredential...', Array)
#22 /app/vendor/symfony/console/Command/Command.php(255): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /app/vendor/codeception/codeception/src/Codeception/Application.php(117): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/app.php(46): Codeception\Application->run()
#28 /app/vendor/codeception/codeception/app.php(47): {closure}()
#29 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#30 {main}
------------------------------------
------------------------------------------------------------
73x DEPRECATION: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. /app/vendor/symfony/process/Process.php:147
40x DEPRECATION: The Robo\Common\ProcessUtils::escapeArgument() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0. /app/vendor/consolidation/robo/src/Common/ProcessUtils.php:39

Time: 48.68 minutes, Memory: 20.00 MB

There were 3 errors:

---------
1) AdminCredential23Php72Cest: Test install without admin email | {"MAGENTO_CLOUD_VARIABLES":[]},"",""
 Test  src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithoutAdminEmail

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->startEnvironment() at src/Test/Functional/Acceptance/AdminCredentialCest.php:46
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AdminCredentialCest.php:45
 33. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:42
 32. $I->copyFileToWorkDir("files/debu...",".magento.e...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:28
 31. $I->writeAppMagentoYaml({"name":"mymagento","type"...}) at src/Test/Functional/Acceptance/AbstractCest.php:142

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
2) AdminCredential23Php72Cest: Test install without admin email | "The following admin data wa...","The following admin data is...",{"MAGENTO_CLOUD_VARIABLES":{...}
 Test  src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithoutAdminEmail

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->startEnvironment() at src/Test/Functional/Acceptance/AdminCredentialCest.php:46
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AdminCredentialCest.php:45
 33. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:42
 32. $I->copyFileToWorkDir("files/debu...",".magento.e...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:28
 31. $I->writeAppMagentoYaml({"name":"mymagento","type"...}) at src/Test/Functional/Acceptance/AbstractCest.php:142

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
3) AdminCredential23Php72Cest: Test install with different variables | {"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin@example.com"}},"admin@example.com","admin","admin"
 Test  src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithDifferentVariables

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->startEnvironment() at src/Test/Functional/Acceptance/AdminCredentialCest.php:103
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AdminCredentialCest.php:102
 33. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:99
 32. $I->copyFileToWorkDir("files/debu...",".magento.e...") at src/Test/Functional/Acceptance/AdminCredentialCest.php:28
 31. $I->writeAppMagentoYaml({"name":"mymagento","type"...}) at src/Test/Functional/Acceptance/AbstractCest.php:142

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

--

There was 1 failure:

---------
1) AdminCredential23Php72Cest: Test install with different variables | "admin2@example.com","myusername","root",{"MAGENTO_CLOUD_VARIABLES":{"ADMIN_EMAIL":"admin2@examp...}
 Test  src/Test/Functional/Acceptance/AdminCredential23Php72Cest.php:testInstallWithDifferentVariables
 Step  Stop environment 
 Fail  Failed asserting that  on page /
-->  Autoload error We can't read some files that are required to run the Magento application. This usually means file permissions are set incorrectly. 
--> contains "Home page".

Scenario Steps:

 40. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:52
 39. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 38. $I->see("Home page") at src/Test/Functional/Acceptance/AdminCredentialCest.php:106
 37. $I->amOnPage("/") at src/Test/Functional/Acceptance/AdminCredentialCest.php:105
 36. $I->runDockerComposeCommand("run deploy cloud-deploy") at src/Test/Functional/Acceptance/AdminCredentialCest.php:104
 35. $I->startEnvironment() at src/Test/Functional/Acceptance/AdminCredentialCest.php:103

Artifacts:

Html: /app/tests/functional/_output/Magento.MagentoCloud.Test.Functional.Acceptance.AdminCredential23Php72Cest.testInstallWithDifferentVariables.e933895.fail.html
Response: /app/tests/functional/_output/Magento.MagentoCloud.Test.Functional.Acceptance.AdminCredential23Php72Cest.testInstallWithDifferentVariables.e933895.fail.html

ERRORS!
Tests: 4, Assertions: 21, Errors: 3, Failures: 1.
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job ece-tools/functional build 142.

magento-cloud-ft-jenkins-svc commented 2 years ago

PHP 7.2 RedisPhp72Cest Output

Codeception PHP Testing Framework v4.1.31 https://helpukrainewin.org
Powered by PHPUnit 8.5.26 #StandWithUkraine

Acceptance Tests (6) ---------------------------------------
RedisPhp72Cest: Test good configuration
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testGoodConfiguration
Scenario --
 SKIPPED 
RedisPhp72Cest: Test default configuration | "2.3.0"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testDefaultConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.0"
 I clone template to work dir "2.3.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.0"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Build phase was failed
Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(55): PHPUnit\Framework\Constraint\Constraint->fail(false, 'Build phase was...')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2924): PHPUnit\Framework\Constraint\Constraint->evaluate(false, 'Build phase was...')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1568): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), 'Build phase was...')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1380): PHPUnit\Framework\Assert::assertTrue(false, 'Build phase was...')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false, 'Build phase was...')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(285): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(5647): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/RedisCest.php(52): CliTester->assertTrue(false, 'Build phase was...')
#9 [internal function]: Magento\MagentoCloud\Test\Functional\Acceptance\RedisCest->testDefaultConfiguration(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(128): ReflectionMethod->invokeArgs(Object(Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest), 'testDefaultConf...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testDefaultConf...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(82): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(98): Codeception\Test\Cest->test()
#15 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(626): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#16 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(117): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(161): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(208): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(162): Codeception\Codecept->runSuite(Array, 'Acceptance', 'RedisPhp72Cest')
#20 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(403): Codeception\Codecept->run('Acceptance', 'RedisPhp72Cest', Array)
#21 /app/vendor/symfony/console/Command/Command.php(255): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/src/Codeception/Application.php(117): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#26 /app/vendor/codeception/codeception/app.php(46): Codeception\Application->run()
#27 /app/vendor/codeception/codeception/app.php(47): {closure}()
#28 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#29 {main}
------------------------------------
RedisPhp72Cest: Test default configuration | "2.3.1"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testDefaultConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.1"
 I clone template to work dir "2.3.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.1"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72Cest: Test default configuration | "2.3.2"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testDefaultConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72Cest: Test wrong configuration | false,false,"The REDIS_BACKEND variable contai...","","2.3.0",{"stage":{"deploy":{"REDIS_BACKEND...}
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testWrongConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testWrongConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.0"
 I clone template to work dir "2.3.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.0"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert same false,false
 I see in output "The REDIS_BACKEND variable contains an..."
 I stop environment 
 ERROR 

RedisPhp72Cest: Test wrong configuration | false,false,"The REDIS_BACKEND variable contai...","","2.3.2",{"stage":{"deploy":{"REDIS_BACKEND...}
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72Cest:testWrongConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72Cest.php:testWrongConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert same false,false
 I see in output "The REDIS_BACKEND variable contains an..."
 I stop environment 
 ERROR 

------------------------------------------------------------
85x DEPRECATION: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. /app/vendor/symfony/process/Process.php:147
50x DEPRECATION: The Robo\Common\ProcessUtils::escapeArgument() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0. /app/vendor/consolidation/robo/src/Common/ProcessUtils.php:39

Time: 49.27 minutes, Memory: 18.00 MB

There were 4 errors:

---------
1) RedisPhp72Cest: Test default configuration | "2.3.1"
 Test  src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:52
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:52
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:49
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:49
 31. $I->writeAppMagentoYaml({"name":"mymagento","type"...}) at src/Test/Functional/Acceptance/AbstractCest.php:142

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
2) RedisPhp72Cest: Test default configuration | "2.3.2"
 Test  src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:52
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:52
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:49
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:49
 31. $I->writeAppMagentoYaml({"name":"mymagento","type"...}) at src/Test/Functional/Acceptance/AbstractCest.php:142

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
3) RedisPhp72Cest: Test wrong configuration | false,false,"The REDIS_BACKEND variable contai...","","2.3.0",{"stage":{"deploy":{"REDIS_BACKEND...}
 Test  src/Test/Functional/Acceptance/RedisPhp72Cest.php:testWrongConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 38. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 37. $I->seeInOutput("The REDIS_BACKEND variable contai...") at src/Test/Functional/Acceptance/RedisCest.php:127
 36. $I->assertSame(false,false) at src/Test/Functional/Acceptance/RedisCest.php:126
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:126
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:124
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:121

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
4) RedisPhp72Cest: Test wrong configuration | false,false,"The REDIS_BACKEND variable contai...","","2.3.2",{"stage":{"deploy":{"REDIS_BACKEND...}
 Test  src/Test/Functional/Acceptance/RedisPhp72Cest.php:testWrongConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 38. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 37. $I->seeInOutput("The REDIS_BACKEND variable contai...") at src/Test/Functional/Acceptance/RedisCest.php:127
 36. $I->assertSame(false,false) at src/Test/Functional/Acceptance/RedisCest.php:126
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:126
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:124
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:121

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

--

There was 1 failure:

---------
1) RedisPhp72Cest: Test default configuration | "2.3.0"
 Test  src/Test/Functional/Acceptance/RedisPhp72Cest.php:testDefaultConfiguration
 Step  Stop environment 
 Fail  Build phase was failed
Failed asserting that false is true.

Scenario Steps:

 37. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:52
 36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 35. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:52
 34. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:52
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:49
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:49

ERRORS!
Tests: 6, Assertions: 32, Errors: 4, Failures: 1, Skipped: 1.
run with `-v` to get more info about skipped or incomplete tests
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job ece-tools/functional build 142.

magento-cloud-ft-jenkins-svc commented 2 years ago

PHP 7.2 RedisPhp72GoodConfigCest Output

Codeception PHP Testing Framework v4.1.31 https://helpukrainewin.org
Powered by PHPUnit 8.5.26 #StandWithUkraine

Acceptance Tests (9) ---------------------------------------
RedisPhp72GoodConfigCest: Test default configuration
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testDefaultConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testDefaultConfiguration
Scenario --
 SKIPPED 
RedisPhp72GoodConfigCest: Test wrong configuration
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testWrongConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testWrongConfiguration
Scenario --
 SKIPPED 
RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS_BA...},"Cm_Cache_Backend_Redis",{"backend_options":{"server":...},"2.3.0"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.0"
 I clone template to work dir "2.3.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.0"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.0"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.0"
 I clone template to work dir "2.3.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.0"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.0"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.0"
 I clone template to work dir "2.3.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.0"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.1"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.1"
 I clone template to work dir "2.3.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.1"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.1"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.1"
 I clone template to work dir "2.3.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.1"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true true,"Build phase was failed"
 I start environment 
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.2"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.2"
Signature: Magento\MagentoCloud\Test\Functional\Acceptance\RedisPhp72GoodConfigCest:testGoodConfiguration
Test: src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration
Scenario --
 I cleanup work dir 
 I is cache work dir exists "2.3.2"
 I clone template to work dir "2.3.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "ece-t...","2002...."
 I add artifacts repo to composer 
 I add dependency to composer "magento/ece-t...","2002.1.99"
 I add ece docker git repo to composer 
 I add cloud components git repo to composer 
 I add cloud patches git repo to composer 
 I add quality patches git repo to composer 
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/magento-cloud-patches"
 I add dependency to composer "magento/m...","dev-devel..."
 I assert true true,"Can not add dependency magento/mage..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I assert true true,"Can not add dependency magento/qual..."
 I composer update 
 I assert true true,"Composer update failed"
 I cache work dir "2.3.2"
sh: rsync: not found
 I read services yaml 
 I write services yaml {"mysql":{"type":"mysql:10.2","di...}
 I read app magento yaml 
 I write app magento yaml {"name":"mymagento","type":"ph...}
 I get exposed port 
 I generate docker compose "--mode=production --expose-d..."
 I write env magento yaml {"stage":{"deploy":{"REDIS_BAC...}
 I run docker compose command "run build cloud-build"
 I assert true false,"Build phase was failed"
 I stop environment 
 ERROR 

------------------------------------------------------------
120x DEPRECATION: Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell. /app/vendor/symfony/process/Process.php:147
70x DEPRECATION: The Robo\Common\ProcessUtils::escapeArgument() method is a copy of a method that was deprecated by Symfony 3.3 and removed in Symfony 4; it will be removed in Robo 2.0. /app/vendor/consolidation/robo/src/Common/ProcessUtils.php:39

Time: 1.36 hours, Memory: 18.00 MB

There were 7 errors:

---------
1) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS_BA...},"Cm_Cache_Backend_Redis",{"backend_options":{"server":...},"2.3.0"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
2) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.0"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
3) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.0"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
4) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.1"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
5) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.1"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 38. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 37. $I->startEnvironment() at src/Test/Functional/Acceptance/RedisCest.php:176
 36. $I->assertTrue(true,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
6) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"serve...},"2.3.2"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

---------
7) RedisPhp72GoodConfigCest: Test good configuration | {"stage":{"deploy":{"REDIS...},"\Magento\Framework\Cache\...",{"backend_options":{"remot...},"2.3.2"
 Test  src/Test/Functional/Acceptance/RedisPhp72GoodConfigCest.php:testGoodConfiguration

  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

Scenario Steps:

 37. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:51
 36. $I->assertTrue(false,"Build phase was failed") at src/Test/Functional/Acceptance/RedisCest.php:175
 35. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/RedisCest.php:175
 34. $I->writeEnvMagentoYaml({"stage":{"deploy":{"REDIS...}) at src/Test/Functional/Acceptance/RedisCest.php:173
 33. $I->generateDockerCompose("--mode=production --exp...") at src/Test/Functional/Acceptance/RedisCest.php:170
 32. $I->getExposedPort() at src/Test/Functional/Acceptance/RedisCest.php:170

#1  /app/vendor/consolidation/robo/src/Result.php:262
#2  /app/vendor/consolidation/robo/src/Result.php:250
#3  /app/vendor/magento/magento-cloud-docker/tests/functional/Codeception/Docker.php:64
#4  Magento\CloudDocker\Test\Functional\Codeception\Docker->stopEnvironment
#5  /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php:721
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:51
#7  Magento\MagentoCloud\Test\Functional\Acceptance\AbstractCest->_after

ERRORS!
Tests: 9, Assertions: 42, Errors: 7, Skipped: 2.
run with `-v` to get more info about skipped or incomplete tests
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job ece-tools/functional build 142.

BaDos commented 2 years ago

Please see the comment https://github.com/magento/ece-tools/issues/805#issuecomment-1170404573