Parent pipeline never fails when referencing non-existing yml file in another project
Summary
This bug report is related to #16094 (closed) (Parent/Child pipelines) introduced in 12.7. After first tests it looks like the trigger jobs (and therefore a whole parent pipeline) never times out if it references:
- Non-existing YML file
- Empty YML file
- Incorrect YML files (incorrectly structured, failing CI Lint)
Steps to reproduce
- Set up a project with
.gitlab-ci.yml
containing trigger job to a child pipeline referencing non-existing file
stages:
- test
# Expect it to fail
trigger_simple:
stage: test
trigger:
include:
- local: /unknown-file.yml
- Run pipeline and observe that pipeline will remain in Running state without any errors being thrown
Example Project
https://gitlab.com/dzalbo/test-parent-child-pipeline
What is the current bug behavior?
Parent pipelines does not fail and does not display any errors when child pipeline is incorrect (or a YML file is missing entirely)
What is the expected correct behavior?
I would expect Trigger job to fail (and therefore the whole pipeline to fail (at least if strategy: depend
is used)
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com