Not sure why this is happening, first time experiencing this. This is for a PHP and Laravel build. Tests run fine locally, but on CircleCI, on container 0, I get
Waiting for parallel builds to finish... Parallel build failed
Alright, indeed, container 9 has an error message. Under the step
#!/bin/bash -eo pipefail .circleci/test + parallelism=7 + case $CIRCLE_NODE_INDEX in + vendor/bin/php-cs-fixer fix --dry-run --diff Loaded config default from "/home/ubuntu/repo/.php_cs.dist". 1) app/XXX/Accounts/Service/AccountRegistration/ImportListSeeder.php ---------- begin diff ---------- --- Original +++ New @@ @@ use App\XXX\Products\Services\ImportProductService; -use App\Models\Account; use App\Models\Shop; -use App\Models\User; @@ @@ ----------- end diff ----------- Checked all files in 22.481 seconds, 14.000 MB memory used Exited with code 8
What gives? I’m not understanding why it’s showing a list of my file diffs with an exit code 8. The output from PHPUnit also shows no failing tests. Any idea?
I’ve figured out the reason why. A lint service is enforcing certain rules and the error messages were the recommended steps to fix. Doh!