Skip to content

Random Error while waiting for package deployed #21852

Closed
@talset

Description

@talset

Preconditions (*)

  1. Magento version: 2.2.8

  2. Magento source code is build by concourse (https://concourse-ci.org/).
    The concourse task use a docker image based on php:7.1 with composer and few tools added.

  3. "Build" steps:

composer install -o -q --ignore-platform-reqs
php -d memory_limit=2048M bin/magento setup:di:compile
rm -Rf var/composer_home var/log var/page_cache var/session
rm -Rf 'pub/static/adminhtml/*'
rm -Rf 'pub/static/frontend/*'
rm -Rf 'var/view_preprocessed/pub/*'
CONFIG__DEFAULT__DEV__JS__MINIFY_FILES=1
MAGE_MODE=production
php -d memory_limit=2048M bin/magento setup:static-content:deploy -f --exclude-theme=Magento/backend --jobs=4 fr_FR

Steps to reproduce (*)

  1. The issue seems quite random but ot happen with the following command php -d memory_limit=2048M bin/magento setup:static-content:deploy -f --exclude-theme=Magento/backend --jobs=4 fr_FR

Expected result (*)

  1. Not error returned by magento setup:static-content:deploy

Actual result (*)

php -d memory_limit=2048M bin/magento setup:static-content:deploy -f --exclude-theme=Magento/backend --jobs=4 fr_FR

Deploy using quick strategy
frontend/Magento/blank/fr_FR            2986/2986           ============================ 100% %  36 secs             
frontend/Magento/luma/fr_FR             3002/3002           ============================ 100% %  36 secs             
...
                                                          
 [RuntimeException]                                       
 Error while waiting for package deployed: 67; Status: 0  

setup:static-content:deploy [-f|--force] [-s|--strategy [STRATEGY]] [-a|--area [AREA]] [--exclude-area [EXCLUDE-AREA]] [-t|--theme [THEME]] [--exclude-theme [EXCLUDE-THEME]] [-l|--language [LANGUAGE]] [--exclude-language [EXCLUDE-LANGUAGE]] [-j|--jobs [JOBS]] [--symlink-locale] [--content-version CONTENT-VERSION] [--refresh-content-version-only] [--no-javascript] [--no-css] [--no-less] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] [--] [<languages>]...

The issue is really random, we have 3 environments (dev/staging/prod) and it happen randomly once a day or less. After the issue if we run the same build pipeline it works.

Do you have any idea of what does it means ? What could be the issue ?

Metadata

Metadata

Assignees

Labels

Component: DeployFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.2.xThe issue has been reproduced on latest 2.2 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions