Pipeline Stages Executing Out Of Order

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

CI pipeline stages appear to execute out of order.

Steps to reproduce

Make a pipeline with several stages and execute it. Honestly this was working fine for me until recently so I'm not sure what triggered it.

Example Project

My project which has this issue is

https://gitlab.com/Queuecumber/linux-acs-override

Take a look at the stage order in this pipeline:

https://gitlab.com/Queuecumber/linux-acs-override/pipelines/13231453

Compared to the stage order as defined in my yaml

https://gitlab.com/Queuecumber/linux-acs-override/blob/master/.gitlab-ci.yml

What is the current bug behavior?

When the job is queued, the stage order appears as defined in the CI yaml, when all the jobs are finished, they are shown in the wrong order and the results seem to match the incorrect order.

What is the expected correct behavior?

Pipeline executes in correct order

Relevant logs and/or screenshots

During pipeline execution:

Screenshot_from_2017-10-26_22-59-18

After pipeline execution:

Screenshot_from_2017-10-26_22-59-02

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading