Cancel build sometimes doesn't cancel all jobs

I canceled my builds in my private repo. There are 6 jobs in every build.
Usually I cancel a build, the third job and fourth job were not cancel.

What infomation can I provide?

Thanks, Aray.

Hi @sih4sing5hong5,

Is this still occurring?

It worked normally yesterday. I tried three builds :slight_smile:

Usually I cancel a build, the third job and fourth job were not cancel.
I tried over 10 builds 2 weeks ago.

Hi @sih4sing5hong5,

Great to hear!

It’s occurring, this time is in our public repo.

This repo has 5 concurrent jobs.

The steps as below:

  1. Check there is no running job.
  2. git push and cancel the build within 5 seconds.
  3. Restart the first jobs.
  4. The 6th, 8th, 9th and 10th jobs is running. They don’t have running after finishing.

It may be a race-condition.

Thanks :slight_smile: