Code push triggers multipe pipelines (4) and then gets stuck in created state
Summary
Multiple (4) pipelines have been getting created upon code push and then getting stuck in "created" state and then never gets executed. The only way (brute force) to actually make it work is cancel it and then restart it and then it executes properly.
Additional forum post I made earlier: https://forum.gitlab.com/t/gitlab-pipeline-stuck-in-created-state/47473 Looks like its happening to others as well and may not be restricted just to me
Steps to reproduce
Use the https://gitlab.com/gitlab-org/gitlab/-/blob/v13.8.1-ee/lib/gitlab/ci/templates/AWS/Deploy-ECS.gitlab-ci.yml template in your YML
What is the current bug behavior?
Code push triggers multiple pipelines (four of them to be precise) and then all of these pipelines get stuck in the "created" state.
What is the expected correct behavior?
Code push triggers 1 pipeline and the pipeline starts automatically without having to brute force it.
Relevant logs and/or screenshots
then I cancel it and restart to brute force it manually
Output of checks
This bug happens on gitlab.com and has been observed in private repositories that use the AWS ECS code deploy template in the gitlab-ci.yml
Possible fixes
Cancelling the pipeline and then re-starting the pipeline is the only way to run the pipeline. It is a very brute force way of doing it.