Skip to content

Use patch command at first #82

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

Closed
wants to merge 1 commit into from
Closed

Conversation

iGerchak
Copy link

@iGerchak iGerchak commented Dec 21, 2020

Description

On Magento 2.3.6 Open Source we had an issue when the patch MDVA-31168-V2 was silently failing with no changes in code. During debug session together with @ihor-sviziev we found that it executes the following command:

cat - <<'EOF' | git apply
diff --git a/vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php b/vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php
index daa874e829e..3b805fef734 100644
--- a/vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php
+++ b/vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php
@@ -82,7 +82,7 @@ class RowCustomizer implements RowCustomizerInterface
             ->addAttributeToSelect('samples_title');
         // set global scope during export
         $this->storeManager->setCurrentStore(Store::DEFAULT_STORE_ID);
-        foreach ($collection as $product) {
+        foreach ($productCollection as $product) {
             $productLinks = $this->linkRepository->getLinksByProduct($product);
             $productSamples = $this->sampleRepository->getSamplesByProduct($product);
             $this->downloadableData[$product->getId()] = [];
EOF

After adding -v argument - we found the following error, with 0 return code:
Skipped patch 'vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php'.
image

During some googling, I found that sometimes it's happening and it's recommended to use patch command instead:
https://stackoverflow.com/questions/42386491/git-apply-skips-patches

So my suggestion is to use patch command at first with a fallback to the git apply.

Note: git --version output:
git version 2.20.1

Also reproducting on git version 2.27.0

Fixed Issues (if relevant)

  1. magento/magento-cloud-patches#<issue_number>: Issue title
  2. ...

Manual testing scenarios

  1. ...
  2. ...

Release notes

For user-facing changes, add a meaningful release note. For examples, see Magento Cloud Patches release notes.

Associated documentation updates

Add link to Magento DevDocs PR or Issue, if needed.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • Pull request introduces user-facing changes and includes meaningful updates for any required release notes and documentation changes
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)

@ihor-sviziev
Copy link

@oshmyheliuk could you review this PR?

@bubasuma
Copy link
Contributor

Hi @iGerchak
I couldn't reproduce this issue in 2.3.6. I applied the patch using command ./vendor/bin/magento-patches apply MDVA-31168-V2. The patch was successfully applied and I could see the changes applied in /vendor/magento/module-downloadable-import-export/Model/Export/RowCustomizer.php:85.

Could you please help us to reproduce this issue?

Here is my concern about the proposed solution

There is no guarantee that there won't be other issues with PATCH and we won't be switching back and forth. Moreover, I don't know any reliable resources that suggest PATCH over GIT for applying patches. Maybe we should think of making it configurable (e.g using environment variable). Perhaps, we should handle this specific issue in GitDriver and consider it as a failure so it will fallback to PATCH?

@ihor-sviziev
Copy link

ihor-sviziev commented Dec 23, 2020 via email

@ihor-sviziev
Copy link

@bubasuma any updates? We're having this issue both on Ubuntu based local machine and on CI/CD.

We're running apply command on top of checked out git repository. If you're not able to reproduce it - please contact me in slack - it will be much more effective

@bubasuma
Copy link
Contributor

bubasuma commented Jan 6, 2021

Hi @ihor-sviziev
I still can't reproduce this issue. Please see attached screenshot
Magento Version: 2.3.6
OS: Ubuntu 20.04
GIT: 2.25.1

Before Apply

Screen Shot 2021-01-06 at 9 45 47 AM

After Apply

Screen Shot 2021-01-06 at 9 44 31 AM

After Revert

Screen Shot 2021-01-06 at 9 46 55 AM

@ihor-sviziev
Copy link

@bubasuma will try to provide you more details next week

@bubasuma
Copy link
Contributor

bubasuma commented Jan 7, 2021

@ihor-sviziev Could you please also check if there are other patches with the same issue in your environment?

@viktym
Copy link
Contributor

viktym commented Jan 7, 2021

@ihor-sviziev please try to modify the patch header.
Example:
replace

diff --git a/vendor/magento/module-negotiable-quote/Model/NegotiableQuoteConverter.php b/vendor/magento/module-negotiable-quote/Model/NegotiableQuoteConverter.php
index 050f3f6d4..9a918c0c5 100644

with

diff -Nuar a/vendor/magento/module-negotiable-quote/Model/NegotiableQuoteConverter.php b/vendor/magento/module-negotiable-quote/Model/NegotiableQuoteConverter.php

and apply using Git

@ihor-sviziev
Copy link

@viktym will try that one as well

@magento-cloud-ft-jenkins-svc

Static Analysis & Code Style Results

❌ One or more static analysis or code style checks have failed.

PHP Codesniffer Output

Could not read phpcs output.

PHP Mess Detector Output

Could not read phpmd output.

PHPStan Output

Could not read phpstan output.

This comment was generated by Jenkins job magento-cloud-docker/static build 3.

@magento-cloud-ft-jenkins-svc

Unit & Integration Test Results

❌ One or more unit or integration tests have failed.

Unit Test Output

Could not read unit test output.

Integration Test Output

Could not read integration test output.

This comment was generated by Jenkins job magento-cloud-docker/unit build 2.

@magento-cloud-ft-jenkins-svc

Unit Test Results

✅  All unit tests have passed.

Unit Test Output

> phpunit --configuration tests/unit '--log-junit' 'tests/unit/tmp/junit.xml' '--coverage-clover' 'tests/unit/tmp/clover.xml'
PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

...............................................................  63 / 159 ( 39%)
............................................................... 126 / 159 ( 79%)
.................................                               159 / 159 (100%)

Time: 1.71 seconds, Memory: 18.00MB

OK (159 tests, 392 assertions)

Generating code coverage report in Clover XML format ... done

This comment was generated by Jenkins job magento-cloud-patches/unit build 5.

@magento-cloud-ft-jenkins-svc

Static Analysis & Code Style Results

✅  All static analysis and code style checks have passed.

PHP Codesniffer Output

> phpcs src --standard=tests/static/phpcs-ruleset.xml -p -n
............................................................  60 / 142 (42%)
............................................................ 120 / 142 (85%)
......................                                       142 / 142 (100%)


Time: 4.34 secs; Memory: 12MB


PHP Mess Detector Output


Found 0 violations and 0 errors in 2738ms

�[32mNo mess detected�[0m

This comment was generated by Jenkins job magento-cloud-patches/static build 6.

@magento-cloud-ft-jenkins-svc

Functional Acceptance Test Results

❌  One or more functional acceptance tests have failed.

PHP 7.1

  • ❌  Acceptance71Cest
  • ❌  Acceptance71CeCest
  • ❌  Acceptance71CePart2Cest
  • ❌  Acceptance71Part2Cest

PHP 7.2

  • ✅  Acceptance72CeCest
  • ✅  Acceptance72Cest

PHP 7.3

  • ✅  Acceptance73CeCest
  • ✅  Acceptance73Cest

PHP 7.4

  • ✅  AcceptanceCeCest
  • ✅  AcceptanceCest

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 magento-cloud-patches/functional build 10.

@magento-cloud-ft-jenkins-svc

PHP 7.1 Acceptance71Cest Output

Codeception PHP Testing Framework v2.5.6
Powered by PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
Running with seed: 


Acceptance Tests (7) ---------------------------------------
Acceptance71Cest: Test patches | "2.1.16"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.16"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.1.17"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.17"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.1.18"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.18"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.2.0"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.2.1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.2.2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Cest: Test patches | "2.2.3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.3"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Ces...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Ces...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
------------------------------------------------------------
365x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. /app/vendor/symfony/event-dispatcher/EventDispatcher.php:58
112x 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
7x DEPRECATION: Calling the "Codeception\Lib\Connector\Guzzle6::getInternalResponse()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0. /app/vendor/symfony/browser-kit/Client.php:217


Time: 1.19 hours, Memory: 22.00MB

There were 7 failures:

---------
1) Acceptance71Cest: Test patches | "2.1.16"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
2) Acceptance71Cest: Test patches | "2.1.17"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
3) Acceptance71Cest: Test patches | "2.1.18"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
4) Acceptance71Cest: Test patches | "2.2.0"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
5) Acceptance71Cest: Test patches | "2.2.1"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
6) Acceptance71Cest: Test patches | "2.2.2"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
7) Acceptance71Cest: Test patches | "2.2.3"
 Test  src/Test/Functional/Acceptance/Acceptance71Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


FAILURES!
Tests: 7, Assertions: 7, Failures: 7.
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job magento-cloud-patches/functional build 10.

@magento-cloud-ft-jenkins-svc

PHP 7.1 Acceptance71CeCest Output

Codeception PHP Testing Framework v2.5.6
Powered by PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
Running with seed: 


Acceptance Tests (7) ---------------------------------------
Acceptance71CeCest: Test patches | "2.1.16"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.16"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.1.16 ..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeC...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeC...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CeCest: Test patches | "2.1.17"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.17"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.1.17 ..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 ERROR 

Acceptance71CeCest: Test patches | "2.1.18"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.1.18"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.1.18 ..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeC...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeC...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CeCest: Test patches | "2.2.0"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.0"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.0 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeC...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeC...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CeCest: Test patches | "2.2.1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.1"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.1 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeC...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeC...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CeCest: Test patches | "2.2.2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.2"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.2 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeC...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeC...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CeCest: Test patches | "2.2.3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CeCest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.3"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.3 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 ERROR 

------------------------------------------------------------
403x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. /app/vendor/symfony/event-dispatcher/EventDispatcher.php:58
126x 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
77x 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
7x DEPRECATION: Calling the "Codeception\Lib\Connector\Guzzle6::getInternalResponse()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0. /app/vendor/symfony/browser-kit/Client.php:217


Time: 1.33 hours, Memory: 22.00MB

There were 2 errors:

---------
1) Acceptance71CeCest: Test patches | "2.1.17"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
                                                                                                            
  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

    
                                                                                                            

Scenario Steps:

 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
 23. $I->composerUpdate() at src/Test/Functional/Acceptance/AbstractCest.php:72

#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:680
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:100
#7  Magento\CloudPatches\Test\Functional\Acceptance\AbstractCest->_after

---------
2) Acceptance71CeCest: Test patches | "2.2.3"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
                                                                                                            
  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

    
                                                                                                            

Scenario Steps:

 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
 23. $I->composerUpdate() at src/Test/Functional/Acceptance/AbstractCest.php:72

#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:680
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:100
#7  Magento\CloudPatches\Test\Functional\Acceptance\AbstractCest->_after

--

There were 5 failures:

---------
1) Acceptance71CeCest: Test patches | "2.1.16"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
 Step  Stop environment 
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
2) Acceptance71CeCest: Test patches | "2.1.18"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
3) Acceptance71CeCest: Test patches | "2.2.0"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
4) Acceptance71CeCest: Test patches | "2.2.1"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
5) Acceptance71CeCest: Test patches | "2.2.2"
 Test  src/Test/Functional/Acceptance/Acceptance71CeCest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


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

This comment was generated by Jenkins job magento-cloud-patches/functional build 10.

@magento-cloud-ft-jenkins-svc

PHP 7.1 Acceptance71CePart2Cest Output

Codeception PHP Testing Framework v2.5.6
Powered by PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
Running with seed: 


Acceptance Tests (8) ---------------------------------------
Acceptance71CePart2Cest: Test patches | "2.2.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.4"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.4 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71CeP...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71CeP...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71CePart2Cest: Test patches | "2.2.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.5"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.5 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 ERROR 

Acceptance71CePart2Cest: Test patches | "2.2.6"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.6"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.6 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 ERROR 

Acceptance71CePart2Cest: Test patches | "2.2.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.7"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.7 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71CePart2Cest: Test patches | "2.2.8"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.8"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.8 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71CePart2Cest: Test patches | "2.2.9"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.9"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.9 <..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71CePart2Cest: Test patches | "2.2.10"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.10"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.10 ..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71CePart2Cest: Test patches | "2.2.11"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71CePart2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.11"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I get work dir path 
 I remove dependency from composer "magento/magento-clou..."
 I add dependency to composer "magento/p...",">=2.2.11 ..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

------------------------------------------------------------
551x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. /app/vendor/symfony/event-dispatcher/EventDispatcher.php:58
159x 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
88x 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
3x DEPRECATION: Calling the "Codeception\Lib\Connector\Guzzle6::getInternalResponse()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0. /app/vendor/symfony/browser-kit/Client.php:217
10x DEPRECATION: The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead. /app/vendor/symfony/browser-kit/Response.php:100


Time: 2.2 hours, Memory: 24.00MB

There were 2 errors:

---------
1) Acceptance71CePart2Cest: Test patches | "2.2.5"
 Test  src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
                                                                                                            
  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

    
                                                                                                            

Scenario Steps:

 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
 23. $I->composerUpdate() at src/Test/Functional/Acceptance/AbstractCest.php:72

#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:680
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:100
#7  Magento\CloudPatches\Test\Functional\Acceptance\AbstractCest->_after

---------
2) Acceptance71CePart2Cest: Test patches | "2.2.6"
 Test  src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
                                                                                                            
  [Robo\Exception\TaskExitException]   in task Magento\CloudDocker\Test\Functional\Robo\Tasks\EnvDown 

    
                                                                                                            

Scenario Steps:

 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
 23. $I->composerUpdate() at src/Test/Functional/Acceptance/AbstractCest.php:72

#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:680
#6  /app/src/Test/Functional/Acceptance/AbstractCest.php:100
#7  Magento\CloudPatches\Test\Functional\Acceptance\AbstractCest->_after

--

There was 1 failure:

---------
1) Acceptance71CePart2Cest: Test patches | "2.2.4"
 Test  src/Test/Functional/Acceptance/Acceptance71CePart2Cest.php:testPatches
 Step  Stop environment 
 Fail  Failed asserting that false is true.

Scenario Steps:

 29. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 28. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 27. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 26. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 25. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 24. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


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

This comment was generated by Jenkins job magento-cloud-patches/functional build 10.

@magento-cloud-ft-jenkins-svc

PHP 7.1 Acceptance71Part2Cest Output

Codeception PHP Testing Framework v2.5.6
Powered by PHPUnit 6.5.14 by Sebastian Bergmann and contributors.
Running with seed: 


Acceptance Tests (8) ---------------------------------------
Acceptance71Part2Cest: Test patches | "2.2.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.4"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Par...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Par...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Part2Cest: Test patches | "2.2.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.5"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true false
 I stop environment 
 I remove work dir 
 FAIL 

------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace: 
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(62): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2116): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1150): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/codeception/src/Codeception/Util/Shared/Asserts.php(267): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 /app/vendor/codeception/codeception/src/Codeception/Module/Asserts.php(263): Codeception\Module->assertTrue(false, '')
#5 [internal function]: Codeception\Module\Asserts->assertTrue(false)
#6 /app/vendor/codeception/codeception/src/Codeception/Step.php(265): call_user_func_array(Array, Array)
#7 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(72): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#8 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(3493): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#9 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(37): CliTester->assertTrue(false)
#10 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#11 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(127): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest), Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(138): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest), 'testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(147): Codeception\Test\Cest->invoke('testPatches', 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(89): Codeception\Test\Cest->test()
#16 /app/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): Codeception\Test\Test->run(Object(PHPUnit\Framework\TestResult))
#17 /app/vendor/codeception/phpunit-wrapper/src/Runner.php(110): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#18 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(158): Codeception\PHPUnit\Runner->doEnhancedRun(Object(Codeception\Suite), Object(PHPUnit\Framework\TestResult), Array)
#19 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(192): Codeception\SuiteManager->run(Object(Codeception\PHPUnit\Runner), Object(PHPUnit\Framework\TestResult), Array)
#20 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(159): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance71Par...')
#21 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(384): Codeception\Codecept->run('Acceptance', 'Acceptance71Par...', 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(108): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /app/vendor/codeception/codeception/codecept(43): Codeception\Application->run()
#28 {main}
------------------------------------
Acceptance71Part2Cest: Test patches | "2.2.6"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.6"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71Part2Cest: Test patches | "2.2.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.7"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71Part2Cest: Test patches | "2.2.8"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.8"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71Part2Cest: Test patches | "2.2.9"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.9"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71Part2Cest: Test patches | "2.2.10"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.10"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

Acceptance71Part2Cest: Test patches | "2.2.11"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance71Part2Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
Scenario --
 I cleanup work dir 
 I clone template to work dir "2.2.11"
 I create auth json 
 I create artifacts dir 
 I create artifact current tested code "patches","1.0.99"
 I add artifacts repo to composer 
 I add ece docker git repo to composer 
 I add quality patches git repo to composer 
 I add ece tools git repo to composer 
 I add cloud components git repo to composer 
 I add dependency to composer "magento/magento-...","1.0.99"
 I get dependency version "magento/magento-cloud-docker"
 I add dependency to composer "magento/m...","1.1.x-dev..."
 I get dependency version "magento/quality-patches"
 I add dependency to composer "magento/q...","dev-maste..."
 I get dependency version "magento/magento-cloud-components"
 I add dependency to composer "magento/m...","1.0.x-dev..."
 I get dependency version "magento/ece-tools"
 I add dependency to composer "magento/e...","dev-devel..."
 I composer update 
 I copy file to work dir "files/patche...",".magento.env..."
 I run ece docker command "build:compose --mode=producti..."
 I run docker compose command "run build cloud-build"
 I assert true true
 I start environment 
 I assert true true
 I run docker compose command "run deploy cloud-deploy"
 I assert true true
 I run docker compose command "run deploy cloud-post-deploy"
 I assert true true
 I am on page "/"
 I see "Home page"
 I see "CMS homepage content goes here."
 I stop environment 
 I remove work dir 
 PASSED 

------------------------------------------------------------
525x DEPRECATION: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. /app/vendor/symfony/event-dispatcher/EventDispatcher.php:58
146x 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
80x 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
2x DEPRECATION: Calling the "Codeception\Lib\Connector\Guzzle6::getInternalResponse()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0. /app/vendor/symfony/browser-kit/Client.php:217
12x DEPRECATION: The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead. /app/vendor/symfony/browser-kit/Response.php:100


Time: 2.29 hours, Memory: 24.00MB

There were 2 failures:

---------
1) Acceptance71Part2Cest: Test patches | "2.2.4"
 Test  src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


---------
2) Acceptance71Part2Cest: Test patches | "2.2.5"
 Test  src/Test/Functional/Acceptance/Acceptance71Part2Cest.php:testPatches
 Step  Assert true false
 Fail  Failed asserting that false is true.

Scenario Steps:

 26. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:101
 25. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:100
 24. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 23. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
 22. $I->runEceDockerCommand("build:compose --mode=prod...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
 21. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32


FAILURES!
Tests: 8, Assertions: 38, Failures: 2.
- XML report generated in file:///app/tests/functional/_output/junit.xml

This comment was generated by Jenkins job magento-cloud-patches/functional build 10.

@ihor-sviziev
Copy link

Hi @viktym and @bubasuma,
Changing diff --git to the diff -Nuar did the job! 👍

I executed following commands:

head -n1 vendor/magento/quality-patches/patches/os/MDVA-30942__fixes_performance_when_exporting_100k_products_using_consumers__2.3.5-p2.patch
php vendor/bin/magento-patches apply MDVA-31168-V2
php vendor/bin/magento-patches status | grep MDVA-31168-V2

Before changing:
image
❌ the patch not applied (and I checked it in the code)

After:
image
✔ the patch is applied (and I checked it in the code)

It seems like a correct fix for this issue will be going through all the patches in https://github.com/magento/quality-patches/tree/master/patches and replace diff --git with diff -Nuar

@ihor-sviziev
Copy link

ihor-sviziev commented Jan 15, 2021

Also, let's introduce a feature that will prevent such an issue in the future, maybe adjusting the following check to check if it's not in the working tree using git rev-parse --is-inside-work-tree?

public function isInstalled(): bool
{
try {
$this->processFactory->create(['git', '--version'])->mustRun();
$result = true;
} catch (ProcessFailedException $exception) {
$result = false;
}
return $result;
}

Similar to this https://github.com/vaimo/composer-patches/blob/2295a6696534ef9e0eaa7c7f50e1b9ddb0aacae9/src/Config/Defaults.php#L40

@oshmyheliuk
Copy link
Contributor

@viktym @ihor-sviziev @bubasuma @iGerchak
As I understand the problem was solved and we can close this PR?

@ihor-sviziev
Copy link

ihor-sviziev commented Jan 20, 2021 via email

@oshmyheliuk
Copy link
Contributor

@bubasuma @viktym
Could you please take a look?

@bubasuma
Copy link
Contributor

@oshmyheliuk I think the issue still exists although we're not able to reproduce it. But as suggested @ihor-sviziev, the correct fix would be to replace diff --git with diff -Nuar in all patches https://github.com/magento/quality-patches/tree/master/patches. The proposed changes in this pull request is not a proper fix for this issue.

@oshmyheliuk
Copy link
Contributor

@bubasuma thanks for the clarification.
So, your team is going to update patches in quality-patches repo?

@iGerchak I'm closing this pr as the fix will be done in a different repository. Feel free to reopen or create a new pull request.
Thanks for your contribution.

@viktym
Copy link
Contributor

viktym commented Jan 20, 2021

@ihor-sviziev thanks for raising it up, investigation, and valuable advices
I'll create a task to fix this issue.
Will be fixed in 'magento/quality-patches' v.1.0.15

@viktym
Copy link
Contributor

viktym commented Jan 21, 2021

@ihor-sviziev is it enough to replace diff --git with diff -Nuar or need to strip index 050f3f6d4..9a918c0c5 100644 as well in your case ?

@ihor-sviziev
Copy link

@viktym, it was enough to replace just a first line.

I'm curious that potentially this issue might appear again if we do not introduce some prevention mechanism, like checking inside the working tree. What do you think about it? You can see in my previous comments more details about that

@viktym
Copy link
Contributor

viktym commented Jan 21, 2021

@ihor-sviziev thanks for this tip
My concern is that on Cloud we are always inside the working tree during the 'Build' phase, so 'patch' becomes a default command for Cloud.
So my plan is to update diff's header for current patches in https://github.com/magento/quality-patches/tree/master/patches
and implement replacing diff --git with diff -Nuar (if any) on a fly just before applying the patch content.

@ihor-sviziev
Copy link

@viktym cool. Thank you!
Do we have created an issue for tracking status for those 2 things?

@viktym
Copy link
Contributor

viktym commented Jan 22, 2021

@ihor-sviziev patches from https://github.com/magento/quality-patches/tree/master/patches are already updated and released in 'magento/quality-patches':1.0.14 (please update magento/quality-patches package on your instances)
MC-40529 is a ticket about replacing 'diff --git' with 'diff -Nuar' before applying the patch (implementation in magento/magento-cloud-patches). Target release - 1.0.9.

magento-devops-reposync-svc pushed a commit that referenced this pull request Jul 26, 2023
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

Successfully merging this pull request may close these issues.

6 participants