robo-paracept
robo-paracept copied to clipboard
Exited with code 1
I'm having an issue with ParallelExec and Codeception exit codes. Running the codeception commands works manually, but when ran through ParallelExec they fail because codeception exits with code 1 even though --no-exit is set. Any help would be much appreciated!
[ParallelExec] ../vendor/bin/codecept run -c ../codeception.yml --group api_1 --no-exit api [ParallelExec] ../vendor/bin/codecept run -c ../codeception.yml --group api_2 --no-exit api [ParallelExec] '../vendor/bin/codecept run -c ../codeception.yml --group api_1 --no-exit api' exited with code 1 [ParallelExec] Exit code 1 Time 13.654s
@andy-1bg did you find out what was the reason for it? was it memory?
thankyou @javabudd
+1
yeah, I agree PHP is not the best way to do things in parallel. Use docker with Jenkins or GitLab CI to launch tests in multiple processes
Hey guys. Can you give me hint - what 255 error mean?
10:05:40 [ParallelExec] '/var/lib/jenkins/workspace/forms-lead-test/vendor/bin/codecept run acceptance --group current_6 --html result_6.html' exited with code 255
Hello everyone!
I have the same issue
[ParallelExec] 'vendor/bin/codecept run --env stage --override 'extensions: config: Codeception\Extension\RunFailed: fail-group: failed_4' --group parallel_4 --no-exit --xml report_4.xml --html report_4.html' exited with code 255
Have you any idea?
Got exit code 255 also only when using parallel exec, because that ignores the dir of Codecept task (to change working directory) in "_robo/vendor/consolidation/robo/src/Task/Base/ParallelExec.php:94" by overriding it with the one from the Robo process:
$this->processes[] = Process::fromShellCommandline($this->receiveCommand($command), getcwd());