magento-cloud-patches
magento-cloud-patches copied to clipboard
ACPT-1876: Create Cloud quality patch for Application Server
…nctional issue
Description
Fixed Issues (if relevant)
- magento/magento-cloud-patches#<issue_number>: Issue title
- ...
Manual testing scenarios
- ...
- ...
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)
Functional Acceptance Test Results
:x: One or more functional acceptance tests have failed.
PHP 8.1
- :x: Acceptance81Cest
PHP 8.2
- :x: Acceptance82Cest
PHP 8.3
- :x: Acceptance83Cest
- :x: PatchApplierCest
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 207.
PHP 8.1 Acceptance81Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (8) ---------------------------------------
Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p3"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.5"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
------------------------------------------------------------
Time: 50:37.062, Memory: 24.00 MB
There were 5 failures:
1) Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
2) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
3) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
4) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
5) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:32
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
FAILURES!
Tests: 8, Assertions: 55, Failures: 5.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 207.
PHP 8.2 Acceptance82Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (3) ---------------------------------------
Acceptance82Cest: Test patches | "2.4.6","2.4.6"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.6"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance82Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance82Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(120): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance82Cest: Test patches | "2.4.6","2.4.6-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.6-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance82Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance82Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(120): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance82Cest: Test patches | "2.4.7",null
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance82Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance82Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance82Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(120): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 22:37.837, Memory: 20.00 MB
There were 3 failures:
1) Acceptance82Cest: Test patches | "2.4.6","2.4.6"
Test src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:30
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
2) Acceptance82Cest: Test patches | "2.4.6","2.4.6-p1"
Test src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:30
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
3) Acceptance82Cest: Test patches | "2.4.7",null
Test src/Test/Functional/Acceptance/Acceptance82Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
30. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
29. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
28. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
27. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
26. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:30
25. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
FAILURES!
Tests: 3, Assertions: 15, Failures: 3.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 207.
PHP 8.3 Acceptance83Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (1) ---------------------------------------
Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.7"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(34): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance83Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance83Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 06:37.335, Memory: 20.00 MB
There was 1 failure:
1) Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Test src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:34
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:30
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:29
FAILURES!
Tests: 1, Assertions: 5, Failures: 1.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 207.
PHP 8.3 PatchApplierCest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (2) ---------------------------------------
PatchApplierCest: Test applying patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '# Hello World\n
' contains "# Hello Magento".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('# Hello World\n', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('# Hello World\n', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('# Hello World\n', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('# Hello Magento', '# Hello World\n', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('# Hello Magento', '# Hello World\n')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(43): CliTester->assertStringContainsString('# Hello Magento', '# Hello World\n')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingPat...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingPat...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
PatchApplierCest: Test applying existing patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingExistingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I assert string contains string "## Addit...","# Hello ..."
I grab file content "/var/log/cloud.log","build"
I assert string contains string "Patch ../m2-hotfixe...",""
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('Patch ../m2-hot...', '', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('Patch ../m2-hot...', '')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(66): CliTester->assertStringContainsString('Patch ../m2-hot...', '')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingExistingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingExi...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingExi...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 54:34.258, Memory: 22.00 MB
There were 2 failures:
1) PatchApplierCest: Test applying patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Step Assert string contains string "# Hello Magento","# Hello World\n"
Fail Failed asserting that '# Hello World\n
' contains "# Hello Magento".
Scenario Steps:
34. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
33. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:43
31. $I->grabFileContent("/target_file.md","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:42
30. $I->startEnvironment() at src/Test/Functional/Acceptance/PatchApplierCest.php:40
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/PatchApplierCest.php:39
2) PatchApplierCest: Test applying existing patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Step Assert string contains string "Patch ../m2-hotfixes/patch.patch was already applied",""
Fail Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
Scenario Steps:
37. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
35. $I->assertStringContainsString("Patch ../m2-hot...","") at src/Test/Functional/Acceptance/PatchApplierCest.php:66
34. $I->grabFileContent("/var/log/cloud.log","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:68
33. $I->assertStringContainsString("## Add...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:65
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:64
FAILURES!
Tests: 2, Assertions: 12, Failures: 2.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 207.
Functional Acceptance Test Results
:x: One or more functional acceptance tests have failed.
PHP 8.1
- :x: Acceptance81Cest
PHP 8.2
- :white_check_mark: Acceptance82Cest
PHP 8.3
- :x: Acceptance83Cest
- :x: PatchApplierCest
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 208.
PHP 8.1 Acceptance81Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (8) ---------------------------------------
Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p3"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.5"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
------------------------------------------------------------
Time: 44:25.120, Memory: 24.00 MB
There were 5 failures:
1) Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
2) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
3) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
4) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
5) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
FAILURES!
Tests: 8, Assertions: 55, Failures: 5.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 208.
PHP 8.3 Acceptance83Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (1) ---------------------------------------
Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.7"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance83Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance83Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 49:21.530, Memory: 20.00 MB
There was 1 failure:
1) Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Test src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
FAILURES!
Tests: 1, Assertions: 5, Failures: 1.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 208.
PHP 8.3 PatchApplierCest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (2) ---------------------------------------
PatchApplierCest: Test applying patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '# Hello World\n
' contains "# Hello Magento".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('# Hello World\n', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('# Hello World\n', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('# Hello World\n', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('# Hello Magento', '# Hello World\n', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('# Hello Magento', '# Hello World\n')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(43): CliTester->assertStringContainsString('# Hello Magento', '# Hello World\n')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingPat...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingPat...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
PatchApplierCest: Test applying existing patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingExistingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I assert string contains string "## Addit...","# Hello ..."
I grab file content "/var/log/cloud.log","build"
I assert string contains string "Patch ../m2-hotfixe...",""
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('Patch ../m2-hot...', '', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('Patch ../m2-hot...', '')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(66): CliTester->assertStringContainsString('Patch ../m2-hot...', '')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingExistingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingExi...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingExi...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 01:38:13.071, Memory: 22.00 MB
There were 2 failures:
1) PatchApplierCest: Test applying patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Step Assert string contains string "# Hello Magento","# Hello World\n"
Fail Failed asserting that '# Hello World\n
' contains "# Hello Magento".
Scenario Steps:
34. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
33. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:43
31. $I->grabFileContent("/target_file.md","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:42
30. $I->startEnvironment() at src/Test/Functional/Acceptance/PatchApplierCest.php:40
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/PatchApplierCest.php:39
2) PatchApplierCest: Test applying existing patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Step Assert string contains string "Patch ../m2-hotfixes/patch.patch was already applied",""
Fail Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
Scenario Steps:
37. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
35. $I->assertStringContainsString("Patch ../m2-hot...","") at src/Test/Functional/Acceptance/PatchApplierCest.php:66
34. $I->grabFileContent("/var/log/cloud.log","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:68
33. $I->assertStringContainsString("## Add...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:65
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:64
FAILURES!
Tests: 2, Assertions: 12, Failures: 2.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 208.
Functional Acceptance Test Results
:x: One or more functional acceptance tests have failed.
PHP 8.1
- :x: Acceptance81Cest
PHP 8.2
- :white_check_mark: Acceptance82Cest
PHP 8.3
- :x: Acceptance83Cest
- :x: PatchApplierCest
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 209.
PHP 8.1 Acceptance81Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (8) ---------------------------------------
Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p3"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.5"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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
------------------------------------------------------------
Time: 55:46.616, Memory: 24.00 MB
There were 5 failures:
1) Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
2) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
3) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
4) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
5) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
FAILURES!
Tests: 8, Assertions: 55, Failures: 5.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 209.
PHP 8.3 Acceptance83Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (1) ---------------------------------------
Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.7"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance83Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance83Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 50:52.455, Memory: 20.00 MB
There was 1 failure:
1) Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Test src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
FAILURES!
Tests: 1, Assertions: 5, Failures: 1.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 209.
PHP 8.3 PatchApplierCest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (2) ---------------------------------------
PatchApplierCest: Test applying patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '# Hello World\n
' contains "# Hello Magento".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('# Hello World\n', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('# Hello World\n', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('# Hello World\n', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('# Hello Magento', '# Hello World\n', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('# Hello Magento', '# Hello World\n')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(43): CliTester->assertStringContainsString('# Hello Magento', '# Hello World\n')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingPat...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingPat...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
PatchApplierCest: Test applying existing patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingExistingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I assert string contains string "## Addit...","# Hello ..."
I grab file content "/var/log/cloud.log","build"
I assert string contains string "Patch ../m2-hotfixe...",""
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('Patch ../m2-hot...', '', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('Patch ../m2-hot...', '')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(66): CliTester->assertStringContainsString('Patch ../m2-hot...', '')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingExistingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingExi...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingExi...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 01:40:14.744, Memory: 22.00 MB
There were 2 failures:
1) PatchApplierCest: Test applying patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Step Assert string contains string "# Hello Magento","# Hello World\n"
Fail Failed asserting that '# Hello World\n
' contains "# Hello Magento".
Scenario Steps:
34. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
33. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:43
31. $I->grabFileContent("/target_file.md","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:42
30. $I->startEnvironment() at src/Test/Functional/Acceptance/PatchApplierCest.php:40
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/PatchApplierCest.php:39
2) PatchApplierCest: Test applying existing patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Step Assert string contains string "Patch ../m2-hotfixes/patch.patch was already applied",""
Fail Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
Scenario Steps:
37. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
35. $I->assertStringContainsString("Patch ../m2-hot...","") at src/Test/Functional/Acceptance/PatchApplierCest.php:66
34. $I->grabFileContent("/var/log/cloud.log","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:68
33. $I->assertStringContainsString("## Add...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:65
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:64
FAILURES!
Tests: 2, Assertions: 12, Failures: 2.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 209.
Functional Acceptance Test Results
:x: One or more functional acceptance tests have failed.
PHP 8.1
- :x: Acceptance81Cest
PHP 8.2
- :white_check_mark: Acceptance82Cest
PHP 8.3
- :x: Acceptance83Cest
- :x: PatchApplierCest
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 210.
PHP 8.1 Acceptance81Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (8) ---------------------------------------
Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p3"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.4-p4"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.5"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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 false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(41): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p1"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p1"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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 false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(41): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
Acceptance81Cest: Test patches | "2.4.5","2.4.5-p2"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/produc...","2.4.5-p2"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
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 false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(41): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance81Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(196): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance81Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance81Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(107): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 51:43.785, Memory: 22.00 MB
There were 8 failures:
1) Acceptance81Cest: Test patches | "2.4.4","2.4.4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
2) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p1"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
3) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p2"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
4) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p3"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
5) Acceptance81Cest: Test patches | "2.4.4","2.4.4-p4"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:37
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
6) Acceptance81Cest: Test patches | "2.4.5","2.4.5"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
36. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
35. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
34. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:41
33. $I->runDockerComposeCommand("run deploy cloud-deploy") at src/Test/Functional/Acceptance/AcceptanceCest.php:41
32. $I->assertTrue(true) at src/Test/Functional/Acceptance/AcceptanceCest.php:40
31. $I->startEnvironment() at src/Test/Functional/Acceptance/AcceptanceCest.php:40
7) Acceptance81Cest: Test patches | "2.4.5","2.4.5-p1"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
36. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
35. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
34. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:41
33. $I->runDockerComposeCommand("run deploy cloud-deploy") at src/Test/Functional/Acceptance/AcceptanceCest.php:41
32. $I->assertTrue(true) at src/Test/Functional/Acceptance/AcceptanceCest.php:40
31. $I->startEnvironment() at src/Test/Functional/Acceptance/AcceptanceCest.php:40
8) Acceptance81Cest: Test patches | "2.4.5","2.4.5-p2"
Test src/Test/Functional/Acceptance/Acceptance81Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
36. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
35. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
34. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:41
33. $I->runDockerComposeCommand("run deploy cloud-deploy") at src/Test/Functional/Acceptance/AcceptanceCest.php:41
32. $I->assertTrue(true) at src/Test/Functional/Acceptance/AcceptanceCest.php:40
31. $I->startEnvironment() at src/Test/Functional/Acceptance/AcceptanceCest.php:40
FAILURES!
Tests: 8, Assertions: 46, Failures: 8.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 210.
PHP 8.3 Acceptance83Cest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (1) ---------------------------------------
Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Signature: Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest:testPatches
Test: src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I remove dependency from composer "magento/magento-clou..."
I add dependency to composer "magento/product-e...","2.4.7"
I composer update
I copy file to work dir "files/patche...",".magento.env..."
I generate docker compose "--mode=production --env-vars..."
I run docker compose command "run build cloud-build"
I assert true false
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that false is true.
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail(false, '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate(false, '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(1082): PHPUnit\Framework\Assert::assertThat(false, Object(PHPUnit\Framework\Constraint\IsTrue), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(1119): PHPUnit\Framework\Assert::assertTrue(false, '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertTrue(false)
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4650): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/AcceptanceCest.php(39): CliTester->assertTrue(false)
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\AcceptanceCest->testPatches(Object(CliTester), Object(Codeception\Example))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\Acceptance83Cest), 'testPatches', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(194): Codeception\Test\Cest->invoke('testPatches', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'Acceptance83Ces...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'Acceptance83Ces...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 05:58.094, Memory: 20.00 MB
There was 1 failure:
1) Acceptance83Cest: Test patches | "2.4.7","2.4.7"
Test src/Test/Functional/Acceptance/Acceptance83Cest.php:testPatches
Step Assert true false
Fail Failed asserting that false is true.
Scenario Steps:
32. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
31. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
30. $I->assertTrue(false) at src/Test/Functional/Acceptance/AcceptanceCest.php:39
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/AcceptanceCest.php:39
28. $I->generateDockerCompose("--mode=production --env...") at src/Test/Functional/Acceptance/AcceptanceCest.php:35
27. $I->copyFileToWorkDir("files/patc...",".magento.e...") at src/Test/Functional/Acceptance/AcceptanceCest.php:34
FAILURES!
Tests: 1, Assertions: 5, Failures: 1.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 210.
PHP 8.3 PatchApplierCest Output
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
Acceptance Tests (2) ---------------------------------------
PatchApplierCest: Test applying patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '# Hello World\n
' contains "# Hello Magento".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('# Hello World\n', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('# Hello World\n', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('# Hello World\n', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('# Hello Magento', '# Hello World\n', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('# Hello Magento', '# Hello World\n')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(43): CliTester->assertStringContainsString('# Hello Magento', '# Hello World\n')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingPat...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingPat...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
PatchApplierCest: Test applying existing patch
Signature: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest:testApplyingExistingPatch
Test: src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Scenario --
I cleanup work dir
I clone template to work dir "2.4.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 dependency to composer "magento/magento-...","1.0.99"
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 get dependency version "magento/magento-cloud-docker"
I add dependency to composer "magento/magento-...","^1.0.0"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/magento-cloud-components"
I add dependency to composer "magento/magento-...","^1.0.8"
I assert true true,"Can not add dependency magento/mage..."
I get dependency version "magento/quality-patches"
I add dependency to composer "magento/quality-...","^1.1.0"
I assert true true,"Can not add dependency magento/qual..."
I get dependency version "magento/ece-tools"
I add dependency to composer "magento/ece-t...","^2002.1.0"
I assert true true,"Can not add dependency magento/ece-..."
I composer update
I copy file to work dir "files/debug_...",".magento.env..."
I generate docker compose "--mode=production"
I copy file to work dir "files/patches...","target_file.md"
I copy file to work dir "files/patche...","m2-hotfixes/..."
I run docker compose command "run build cloud-build"
I start environment
I grab file content "/target_file.md","build"
I assert string contains string "# Hello ...","# Hello ..."
I assert string contains string "## Addit...","# Hello ..."
I grab file content "/var/log/cloud.log","build"
I assert string contains string "Patch ../m2-hotfixe...",""
I stop environment
I remove work dir
------------------------------------
Message: Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
------------------------------------
Stack Trace:
#0 /app/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php(56): PHPUnit\Framework\Constraint\Constraint->fail('', '')
#1 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2438): PHPUnit\Framework\Constraint\Constraint->evaluate('', '')
#2 /app/vendor/phpunit/phpunit/src/Framework/Assert.php(2144): PHPUnit\Framework\Assert::assertThat('', Object(PHPUnit\Framework\Constraint\StringContains), '')
#3 /app/vendor/codeception/lib-asserts/src/Codeception/Util/Shared/InheritedAsserts.php(972): PHPUnit\Framework\Assert::assertStringContainsString('Patch ../m2-hot...', '', '')
#4 [internal function]: Codeception\Module\AbstractAsserts->assertStringContainsString('Patch ../m2-hot...', '')
#5 /app/vendor/codeception/codeception/src/Codeception/Step.php(292): call_user_func_array(Array, Array)
#6 /app/vendor/codeception/codeception/src/Codeception/Scenario.php(76): Codeception\Step->run(Object(Codeception\Lib\ModuleContainer))
#7 /app/vendor/magento/magento-cloud-docker/tests/functional/_support/_generated/CliTesterActions.php(4437): Codeception\Scenario->runStep(Object(Codeception\Step\Action))
#8 /app/src/Test/Functional/Acceptance/PatchApplierCest.php(66): CliTester->assertStringContainsString('Patch ../m2-hot...', '')
#9 [internal function]: Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest->testApplyingExistingPatch(Object(CliTester))
#10 /app/vendor/codeception/codeception/src/Codeception/Lib/Di.php(130): ReflectionMethod->invokeArgs(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), Array)
#11 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(184): Codeception\Lib\Di->injectDependencies(Object(Magento\CloudPatches\Test\Functional\Acceptance\PatchApplierCest), 'testApplyingExi...', Array)
#12 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(200): Codeception\Test\Cest->invoke('testApplyingExi...', Array)
#13 /app/vendor/codeception/codeception/src/Codeception/Test/Cest.php(129): Codeception\Test\Cest->executeTestMethod(Object(CliTester))
#14 /app/vendor/codeception/codeception/src/Codeception/Test/Test.php(168): Codeception\Test\Cest->test()
#15 /app/vendor/codeception/codeception/src/Codeception/Suite.php(130): Codeception\Test\Test->realRun(Object(Codeception\ResultAggregator))
#16 /app/vendor/codeception/codeception/src/Codeception/SuiteManager.php(151): Codeception\Suite->run(Object(Codeception\ResultAggregator))
#17 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(260): Codeception\SuiteManager->run(Object(Codeception\ResultAggregator))
#18 /app/vendor/codeception/codeception/src/Codeception/Codecept.php(216): Codeception\Codecept->runSuite(Array, 'Acceptance', 'PatchApplierCes...')
#19 /app/vendor/codeception/codeception/src/Codeception/Command/Run.php(435): Codeception\Codecept->run('Acceptance', 'PatchApplierCes...', Array)
#20 /app/vendor/symfony/console/Command/Command.php(326): Codeception\Command\Run->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 /app/vendor/symfony/console/Application.php(1078): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#22 /app/vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand(Object(Codeception\Command\Run), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#23 /app/vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#24 /app/vendor/codeception/codeception/src/Codeception/Application.php(112): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#25 /app/vendor/codeception/codeception/app.php(45): Codeception\Application->run()
#26 /app/vendor/codeception/codeception/app.php(46): {closure}()
#27 /app/vendor/codeception/codeception/codecept(7): require('/app/vendor/cod...')
#28 /app/vendor/bin/codecept(119): include('/app/vendor/cod...')
#29 {main}
------------------------------------
FAIL
------------------------------------------------------------
Time: 54:18.737, Memory: 22.00 MB
There were 2 failures:
1) PatchApplierCest: Test applying patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingPatch
Step Assert string contains string "# Hello Magento","# Hello World\n"
Fail Failed asserting that '# Hello World\n
' contains "# Hello Magento".
Scenario Steps:
34. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
33. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:43
31. $I->grabFileContent("/target_file.md","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:42
30. $I->startEnvironment() at src/Test/Functional/Acceptance/PatchApplierCest.php:40
29. $I->runDockerComposeCommand("run build cloud-build") at src/Test/Functional/Acceptance/PatchApplierCest.php:39
2) PatchApplierCest: Test applying existing patch
Test src/Test/Functional/Acceptance/PatchApplierCest.php:testApplyingExistingPatch
Step Assert string contains string "Patch ../m2-hotfixes/patch.patch was already applied",""
Fail Failed asserting that '' contains "Patch ../m2-hotfixes/patch.patch was already applied".
Scenario Steps:
37. $I->removeWorkDir() at src/Test/Functional/Acceptance/AbstractCest.php:99
36. $I->stopEnvironment() at src/Test/Functional/Acceptance/AbstractCest.php:98
35. $I->assertStringContainsString("Patch ../m2-hot...","") at src/Test/Functional/Acceptance/PatchApplierCest.php:66
34. $I->grabFileContent("/var/log/cloud.log","build") at src/Test/Functional/Acceptance/PatchApplierCest.php:68
33. $I->assertStringContainsString("## Add...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:65
32. $I->assertStringContainsString("# Hell...","# Hell...") at src/Test/Functional/Acceptance/PatchApplierCest.php:64
FAILURES!
Tests: 2, Assertions: 12, Failures: 2.
- JUNIT XML report generated in file:///app/tests/functional/_output/junit.xml
This comment was generated by Jenkins job magento-cloud-patches/functional build 210.
@andriyShevtsov @anadgit could you please review and merge PR because an automated tests is broken?