Fixing: `fork/exec /bin/bash: argument list too long`

If you receive the following error message during a Workflow, read below.


fork/exec /bin/bash: argument list too long

 If you check the `Spin up Environment`step, you'll like find that the environment variable `CIRCLE_WORKFLOW_CONCURRENCY_MAP` contains a large collection of values.

If you see this, the issue is you have in your workflow a job that has too many `requires` in your workflow.

      - TestGroup1:
            - test1
            - test2
            - test3
            - test4
            . . .

Due to a limitation in the number of arguments that can be set, you are limited to 52 requires. To get around this, you can combine tests, or further fan out your workflow into smaller groups.

Was this article helpful?
0 out of 1 found this helpful



Please sign in to leave a comment.