Unexpected preparation error: Process exited with status 2


#1

We’re getting the following error during some of our builds:

Error executing build steps

Unexpected preparation error: Process exited with status 2

#2

What step is running when this happens?


#3

This is the immediately preceding step:

      - run:
          name: Start MySQL
          command: |
            timeout -k 1m 1m docker-compose pull mysql-test || \
            timeout -k 1m 1m docker-compose pull mysql-test || \
            timeout -k 1m 1m docker-compose pull mysql-test
            docker-compose create mysql-test
            docker cp ./build/docker/config/my.cnf ${COMPOSE_PROJECT_NAME}_mysql-test_1:/etc/my.cnf
            docker-compose up -d mysql-test

The “Error executing build steps” shows up as the next step after that. From the CircleCI’s UI, it looks like the preceding step timed out but not error out (?).


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.