Loading...


Related Products


How can I fix build errors in Pipelines?

After a Pipelines job is complete, the pipelines status command displays if it succeeded or failed. The output of the status command should appear similar to the following:

Job ID: 70daa6d7-c803-42a5-9555-169bd5917d85
Status: succeeded
Summary: Successfully completed the build task.
Your deployment branch is: pipelines-build-master
Site: devcloud:mysite
VCS path: master
Submitted: 2016-08-04 18:50:43 (UTC)
Started: 2016-08-04 18:50:45 (UTC)
Finished: 2016-08-04 18:51:49 (UTC)

The Status line displays the job’s final status. Possible job statuses include the following:

  • succeeded - The job succeeded.
  • build error - Something under your control as a user needs to be fixed.
  • system failure - An internal problem occurred with the Pipelines feature. Contact Acquia Support for assistance.

When a Pipelines job fails with a build error, the Summary line provides additional information about what went wrong. Examples include the following:

  • Summary: Failed to complete the build because there is no acquia-pipelines.yaml build file.

    The repository doesn’t contain a build definition (acquia-pipelines.yaml) file. You may have forgotten to add your build definition file with git commit or you may have forgotten to git push it.

  • Summary: Failed to parse the acquia-pipelines.yaml file.

    The build definition file contains a syntax error. You can use a YAML validator (such as YAML Lint) to determine if there are any errors with your build definition file.

  • Summary: Disk usage exceeded.

    Your job could not complete because it attempted to use more disk space than was allowed.

  • Summary: The SSH key named "my-key" cannot be used because it requires a password.

    The SSH key in your build definition file is encrypted with a password. You can either:

    • Create a new SSH key without a password. For example, use the command ssh-keygen -t rsa ~/.ssh/pipelines.
    • Remove the password from the current key. For example, use the command ssh-keygen -p -f ~/.ssh/id_rsa to remove the password from the file ~/.ssh/id_rsa.

    In either case, you will need to re-add the SSH key to your build definition file with the pipelines encrypt command.

  • Summary: The SSH key named "my-key" is not a valid SSH private key.

    The SSH key in your build definition file is not an SSH key. You may have provided bad data to the pipelines encrypt command when you added it. The correct command to add an SSH key to your build definition file is

    cat ~/.ssh/[name_of_key_file] | pipelines encrypt - --add ssh-keys.my-key
  • Summary: Failed to execute the build script.

    A command executed by your build definition file failed. Run the pipelines logs command to see the job output to identify what happened. Adding the set -e command to the beginning of a script that is failing will cause it to display each command before it is executed, helping you to determine which command is failing.

  • Summary: Timed out trying to start the job.

    Your job timed out because it exhausted the number of retries given for a job. The Pipelines 
     provides further information about why each retry failed. A common reason being that the number of retries exceeded the concurrency limit.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation