Skip to content

There has been a missing dependency failure, check the job log for more information

Problem to solve

Error messages do not contain helpful statements about what or where the error was in the gitlab-ci definition that was causing the job to fail

Since I upgraded our hosted Gitlab EE and Gitlab-runner to 10.8,I get job failures with the message There has been a missing dependency failure, check the job log for more information.

I can't find any additional information or guidance to understand what the problem is.

Intended users

Further details

Solution

As MVC solution, we are improving the callout error message here to show the list of depended jobs that caused the missing dependencies error. The format of the message would be This job depends on other jobs with expired/erased artifacts: job_name_1, job_name_2.

Remaining problems

TBD

Potential follow ups

  • TRUE error trapping and diagnostics.
  • Look into providing a configuration option to not make previous jobs from previous stages an automatic dependency. See #6144 (comment 195987881)

Permissions and Security

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by Erick Bajao