-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
- Magento 2.2.7
- Configured Build system according to technical details.
Steps to reproduce (*)
- Emulate exception that happened in Static content deploy - Randomly css files not generated #22880 by adding above this line
$this->tmpDirectory->delete($this->lockFilePath);
throwing exception:
throw new FileSystemException(__('Test'));
- Run
php bin/magento setup:static-content:deploy -f --theme Magento/blank
Expected result (*)
- In case of any errors - there should see exception details, not only stacktrace
Actual result (*)
#0 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/Filesystem/Driver/File.php(399): FilesystemIterator->__construct('/opt/atlassian/...', 12288)
#1 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/Filesystem/Directory/Write.php(188): Magento\Framework\Filesystem\Driver\File->deleteDirectory('/opt/atlassian/...')
#2 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/LockerProcess.php(89): Magento\Framework\Filesystem\Directory\Write->delete('tmp/alternative...')
#3 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/PreProcessor/AlternativeSource.php(116): Magento\Framework\View\Asset\LockerProcess->unlockProcess()
#4 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-developer/Model/View/Asset/PreProcessor/PreprocessorStrategy.php(76): Magento\Framework\View\Asset\PreProcessor\AlternativeSource->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain))
#5 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/PreProcessor/Pool.php(77): Magento\Developer\Model\View\Asset\PreProcessor\PreprocessorStrategy->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain))
#6 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/Source.php(152): Magento\Framework\View\Asset\PreProcessor\Pool->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain))
#7 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/Source.php(105): Magento\Framework\View\Asset\Source->preProcess(Object(Magento\Framework\View\Asset\File))
#8 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/View/Asset/File.php(157): Magento\Framework\View\Asset\Source->getFile(Object(Magento\Framework\View\Asset\File))
#9 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/App/View/Asset/Publisher.php(73): Magento\Framework\View\Asset\File->getSourceFile()
#10 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/App/View/Asset/Publisher.php(61): Magento\Framework\App\View\Asset\Publisher->publishAsset(Object(Magento\Framework\View\Asset\File))
#11 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployStaticFile.php(92): Magento\Framework\App\View\Asset\Publisher->publish(Object(Magento\Framework\View\Asset\File))
#12 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployPackage.php(189): Magento\Deploy\Service\DeployStaticFile->deployFile('css/email.less', Array)
#13 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployPackage.php(136): Magento\Deploy\Service\DeployPackage->processFile(Object(Magento\Deploy\Package\PackageFile), Object(Magento\Deploy\Package\Package))
#14 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployPackage.php(107): Magento\Deploy\Service\DeployPackage->deployEmulated(Object(Magento\Deploy\Package\Package), Array, true)
#15 [internal function]: Magento\Deploy\Service\DeployPackage->Magento\Deploy\Service\{closure}()
#16 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/App/State.php(186): call_user_func_array(Object(Closure), Array)
#17 /opt/atlassian/pipelines/agent/build/tmp/magento2/generated/code/Magento/Framework/App/State/Interceptor.php(89): Magento\Framework\App\State->emulateAreaCode('frontend', Object(Closure), Array)
#18 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployPackage.php(108): Magento\Framework\App\State\Interceptor->emulateAreaCode('frontend', Object(Closure))
#19 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Process/Queue.php(319): Magento\Deploy\Service\DeployPackage->deploy(Object(Magento\Deploy\Package\Package), Array, true)
#20 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Process/Queue.php(235): Magento\Deploy\Process\Queue->execute(Object(Magento\Deploy\Package\Package))
#21 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Process/Queue.php(216): Magento\Deploy\Process\Queue->executePackage(Object(Magento\Deploy\Package\Package), 'frontend/My/Th...', Array, false)
#22 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Process/Queue.php(169): Magento\Deploy\Process\Queue->assertAndExecute('frontend/My/Th...', Array, Array)
#23 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Strategy/QuickDeploy.php(76): Magento\Deploy\Process\Queue->process()
#24 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/module-deploy/Service/DeployStaticContent.php(109): Magento\Deploy\Strategy\QuickDeploy->deploy(Array)
#25 /opt/atlassian/pipelines/agent/build/tmp/magento2/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php(140): Magento\Deploy\Service\DeployStaticContent->deploy(Array)
#26 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/symfony/console/Command/Command.php(245): Magento\Setup\Console\Command\DeployStaticContentCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#27 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#28 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand(Object(Magento\Setup\Console\Command\DeployStaticContentCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#29 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/magento/framework/Console/Cli.php(102): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#30 /opt/atlassian/pipelines/agent/build/tmp/magento2/vendor/symfony/console/Application.php(117): Magento\Framework\Console\Cli->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#31 /opt/atlassian/pipelines/agent/build/tmp/magento2/bin/magento(23): Symfony\Component\Console\Application->run()
#32 {main}
This issue was discovered during testing #22607
and working on reporting #22880
hostep
Metadata
Metadata
Assignees
Labels
Fixed in 2.2.xThe issue has been fixed in 2.2 release lineThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
