Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exited with code 1 #13

Open
ghost opened this issue Sep 24, 2016 · 7 comments
Open

Exited with code 1 #13

ghost opened this issue Sep 24, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 24, 2016

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

@abdullah-jubayer
Copy link

@andy-1bg did you find out what was the reason for it? was it memory?

@abdullah-jubayer
Copy link

thankyou @javabudd

@jarrettj
Copy link

jarrettj commented Oct 6, 2017

+1

@DavertMik
Copy link
Member

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

@hadouke
Copy link

hadouke commented Jun 18, 2018

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

@ccsuperstar
Copy link
Contributor

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?

@reinholdfuereder
Copy link
Contributor

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());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants