[php-src] Issue #9513: oops, unknown child (13560) exited with code 0. Please open a bug report

From: Date: Thu, 08 Sep 2022 16:09:31 +0000
Subject: [php-src] Issue #9513: oops, unknown child (13560) exited with code 0. Please open a bug report
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242388@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9513 Author: nopenopenope ### Description We upgraded from ECS ^8.3 to ^10.2 and updated the dependencies just as well (CS Fixer and Slavomat Fixers). Now, if we want to run ECS with our fixers on our grown codebase, we see this in our local env: ``` php-1 | [08-Sep-2022 15:51:10] ALERT: oops, unknown child (13559) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:11] ALERT: oops, unknown child (15507) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:12] ALERT: oops, unknown child (15525) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:13] ALERT: oops, unknown child (15538) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:13] ALERT: oops, unknown child (13560) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:14] ALERT: oops, unknown child (15543) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:14] ALERT: oops, unknown child (15544) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:15] ALERT: oops, unknown child (15545) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:15] ALERT: oops, unknown child (15546) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). localstack-1 | 2022-09-08T15:51:16.210 DEBUG --- [ asgi_gw_0] l.aws.serving.wsgi : GET localhost:4566/health php-1 | [08-Sep-2022 15:51:16] ALERT: oops, unknown child (15547) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:16] ALERT: oops, unknown child (15548) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). php-1 | [08-Sep-2022 15:51:17] ALERT: oops, unknown child (15549) exited with code 0. Please open a bug report (https://github.com/php/php-src/issues). ``` We have a grown ECS file with 312 lines, so I'd rather not share it here. Instead, here are the Fixers we use: ``` use PhpCsFixer\Fixer\ControlStructure\TrailingCommaInMultilineFixer; use PhpCsFixer\Fixer\Operator\IncrementStyleFixer; use PhpCsFixer\Fixer\Alias\EregToPregFixer; use PhpCsFixer\Fixer\Alias\NoAliasFunctionsFixer; use PhpCsFixer\Fixer\Alias\NoMixedEchoPrintFixer; use PhpCsFixer\Fixer\Alias\PowToExponentiationFixer; use PhpCsFixer\Fixer\ArrayNotation\ArraySyntaxFixer; use PhpCsFixer\Fixer\ArrayNotation\NoMultilineWhitespaceAroundDoubleArrowFixer; use PhpCsFixer\Fixer\ArrayNotation\NormalizeIndexBraceFixer; use PhpCsFixer\Fixer\ArrayNotation\NoTrailingCommaInSinglelineArrayFixer; use PhpCsFixer\Fixer\ArrayNotation\NoWhitespaceBeforeCommaInArrayFixer; use PhpCsFixer\Fixer\ArrayNotation\TrimArraySpacesFixer; use PhpCsFixer\Fixer\ArrayNotation\WhitespaceAfterCommaInArrayFixer; use PhpCsFixer\Fixer\Basic\BracesFixer; use PhpCsFixer\Fixer\Basic\EncodingFixer; use PhpCsFixer\Fixer\Basic\NonPrintableCharacterFixer; use PhpCsFixer\Fixer\Casing\LowercaseKeywordsFixer; use PhpCsFixer\Fixer\Casing\LowercaseStaticReferenceFixer; use PhpCsFixer\Fixer\Casing\MagicConstantCasingFixer; use PhpCsFixer\Fixer\Casing\NativeFunctionCasingFixer; use PhpCsFixer\Fixer\CastNotation\CastSpacesFixer; use PhpCsFixer\Fixer\CastNotation\LowercaseCastFixer; use PhpCsFixer\Fixer\CastNotation\ModernizeTypesCastingFixer; use PhpCsFixer\Fixer\CastNotation\NoShortBoolCastFixer; use PhpCsFixer\Fixer\CastNotation\ShortScalarCastFixer; use PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer; use PhpCsFixer\Fixer\ClassNotation\ClassDefinitionFixer; use PhpCsFixer\Fixer\ClassNotation\NoBlankLinesAfterClassOpeningFixer; use PhpCsFixer\Fixer\ClassNotation\NoNullPropertyInitializationFixer; use PhpCsFixer\Fixer\ClassNotation\NoPhp4ConstructorFixer; use PhpCsFixer\Fixer\ClassNotation\NoUnneededFinalMethodFixer; use PhpCsFixer\Fixer\ClassNotation\ProtectedToPrivateFixer; use PhpCsFixer\Fixer\ClassNotation\SelfAccessorFixer; use PhpCsFixer\Fixer\ClassNotation\SingleClassElementPerStatementFixer; use PhpCsFixer\Fixer\ClassNotation\VisibilityRequiredFixer; use PhpCsFixer\Fixer\Comment\NoEmptyCommentFixer; use PhpCsFixer\Fixer\Comment\NoTrailingWhitespaceInCommentFixer; use PhpCsFixer\Fixer\Comment\SingleLineCommentStyleFixer; use PhpCsFixer\Fixer\ConstantNotation\NativeConstantInvocationFixer; use PhpCsFixer\Fixer\ControlStructure\ElseifFixer; use PhpCsFixer\Fixer\ControlStructure\IncludeFixer; use PhpCsFixer\Fixer\ControlStructure\NoBreakCommentFixer; use PhpCsFixer\Fixer\ControlStructure\NoSuperfluousElseifFixer; use PhpCsFixer\Fixer\ControlStructure\NoTrailingCommaInListCallFixer; use PhpCsFixer\Fixer\ControlStructure\NoUnneededControlParenthesesFixer; use PhpCsFixer\Fixer\ControlStructure\NoUnneededCurlyBracesFixer; use PhpCsFixer\Fixer\ControlStructure\NoUselessElseFixer; use PhpCsFixer\Fixer\ControlStructure\SwitchCaseSemicolonToColonFixer; use PhpCsFixer\Fixer\ControlStructure\SwitchCaseSpaceFixer; use PhpCsFixer\Fixer\FunctionNotation\FunctionDeclarationFixer; use PhpCsFixer\Fixer\FunctionNotation\FunctionTypehintSpaceFixer; use PhpCsFixer\Fixer\FunctionNotation\MethodArgumentSpaceFixer; use PhpCsFixer\Fixer\FunctionNotation\NoSpacesAfterFunctionNameFixer; use PhpCsFixer\Fixer\FunctionNotation\ReturnTypeDeclarationFixer; use PhpCsFixer\Fixer\Import\NoLeadingImportSlashFixer; use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer; use PhpCsFixer\Fixer\Import\OrderedImportsFixer; use PhpCsFixer\Fixer\Import\SingleImportPerStatementFixer; use PhpCsFixer\Fixer\Import\SingleLineAfterImportsFixer; use PhpCsFixer\Fixer\LanguageConstruct\CombineConsecutiveIssetsFixer; use PhpCsFixer\Fixer\LanguageConstruct\CombineConsecutiveUnsetsFixer; use PhpCsFixer\Fixer\LanguageConstruct\DeclareEqualNormalizeFixer; use PhpCsFixer\Fixer\LanguageConstruct\DirConstantFixer; use PhpCsFixer\Fixer\LanguageConstruct\FunctionToConstantFixer; use PhpCsFixer\Fixer\LanguageConstruct\IsNullFixer; use PhpCsFixer\Fixer\ListNotation\ListSyntaxFixer; use PhpCsFixer\Fixer\NamespaceNotation\BlankLineAfterNamespaceFixer; use PhpCsFixer\Fixer\NamespaceNotation\NoLeadingNamespaceWhitespaceFixer; use PhpCsFixer\Fixer\NamespaceNotation\SingleBlankLineBeforeNamespaceFixer; use PhpCsFixer\Fixer\Naming\NoHomoglyphNamesFixer; use PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer; use PhpCsFixer\Fixer\Operator\ConcatSpaceFixer; use PhpCsFixer\Fixer\Operator\NewWithBracesFixer; use PhpCsFixer\Fixer\Operator\ObjectOperatorWithoutWhitespaceFixer; use PhpCsFixer\Fixer\Operator\StandardizeNotEqualsFixer; use PhpCsFixer\Fixer\Operator\TernaryOperatorSpacesFixer; use PhpCsFixer\Fixer\Operator\TernaryToNullCoalescingFixer; use PhpCsFixer\Fixer\Operator\UnaryOperatorSpacesFixer; use PhpCsFixer\Fixer\Phpdoc\NoBlankLinesAfterPhpdocFixer; use PhpCsFixer\Fixer\Phpdoc\NoEmptyPhpdocFixer; use PhpCsFixer\Fixer\Phpdoc\NoSuperfluousPhpdocTagsFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocIndentFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocNoAccessFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocNoAliasTagFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocNoEmptyReturnFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocNoPackageFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocNoUselessInheritdocFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocReturnSelfReferenceFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocScalarFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocSeparationFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocSingleLineVarSpacingFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocTrimFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocTypesFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocTypesOrderFixer; use PhpCsFixer\Fixer\Phpdoc\PhpdocVarWithoutNameFixer; use PhpCsFixer\Fixer\PhpTag\BlankLineAfterOpeningTagFixer; use PhpCsFixer\Fixer\PhpTag\FullOpeningTagFixer; use PhpCsFixer\Fixer\PhpTag\NoClosingTagFixer; use PhpCsFixer\Fixer\PhpUnit\PhpUnitDedicateAssertFixer; use PhpCsFixer\Fixer\PhpUnit\PhpUnitFqcnAnnotationFixer; use PhpCsFixer\Fixer\Semicolon\NoEmptyStatementFixer; use PhpCsFixer\Fixer\Semicolon\NoSinglelineWhitespaceBeforeSemicolonsFixer; use PhpCsFixer\Fixer\Semicolon\SpaceAfterSemicolonFixer; use PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer; use PhpCsFixer\Fixer\StringNotation\SingleQuoteFixer; use PhpCsFixer\Fixer\Whitespace\BlankLineBeforeStatementFixer; use PhpCsFixer\Fixer\Whitespace\IndentationTypeFixer; use PhpCsFixer\Fixer\Whitespace\LineEndingFixer; use PhpCsFixer\Fixer\Whitespace\NoExtraBlankLinesFixer; use PhpCsFixer\Fixer\Whitespace\NoSpacesAroundOffsetFixer; use PhpCsFixer\Fixer\Whitespace\NoSpacesInsideParenthesisFixer; use PhpCsFixer\Fixer\Whitespace\NoTrailingWhitespaceFixer; use PhpCsFixer\Fixer\Whitespace\NoWhitespaceInBlankLineFixer; use PhpCsFixer\Fixer\Whitespace\SingleBlankLineAtEofFixer; ``` Our pipeline aborts with this error, which is probably more related to ECS itself, but its most likely caused by the errors I've pasted above: ``` [ERROR] Child process timed out after 120 seconds in /home/xxx/agent/workspace/xxx/pre-prod-pipeline/vendor/symplify/e asy-coding-standard/vendor/symplify/easy-parallel/src/ValueObject/Paral lelProcess.php:103 [ERROR] Reached system errors count limit of 50, exiting... ``` ### PHP Version PHP 8.0.24 ### Operating System _No response_

« previous php.bugs (#242388) next »