Skip to content

Fix: katalon_gitlab_ci_yaml_spec.rb hangs on created pipeline

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

Summary

The Developer Experience (DevEx) team is working on improving pipeline stability EPIC and has identified a recurring failure due to katalon_gitlab_ci_yaml_spec.rb That's causing significant job timeouts.

Problem Description

The spec file spec/lib/gitlab/ci/templates/katalon_gitlab_ci_yaml_spec.rb is expected to take a few minutes to run, but hangs for 60 + minutes before timing out.

Error Details

Here is the error message

Click to view Error logs
# [RSpecRunTime] Starting example group spec/lib/gitlab/ci/templates/katalon_gitlab_ci_yaml_spec.rb. Expected to take 1.54 seconds.
Katalon.gitlab-ci.yml
  the created pipeline
Terminated
WARNING: step_script could not run to completion because the timeout was exceeded. For more control over job and script timeouts see: https://docs.gitlab.com/ci/runners/configure_runners/#set-script-and-after_script-timeouts
ERROR: Job failed: execution took longer than 1h30m0s seconds

Impact

  • Frequency: 36 occurrences in the last 28 days
  • Duration: Jobs hang for 60+ minutes before timing out

Related Issue

gitlab-org/quality/analytics/team#145

Related Links

Here is the list of failed jobs, due to the same error

Click to view Failed Job URL's

https://gitlab.com/gitlab-org/gitlab/-/jobs/10826953311

https://gitlab.com/gitlab-org/gitlab/-/jobs/10827676043

https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/10815043163

https://gitlab.com/gitlab-org/gitlab/-/jobs/10809682735

https://gitlab.com/gitlab-org/gitlab/-/jobs/10811421074

https://gitlab.com/gitlab-org/gitlab/-/jobs/10809409828

https://gitlab.com/gitlab-org/gitlab/-/jobs/10806028022

https://gitlab.com/gitlab-org/gitlab/-/jobs/10806045468

https://gitlab.com/gitlab-org/gitlab/-/jobs/10807231284

https://gitlab.com/gitlab-org/gitlab/-/jobs/10806162341

https://gitlab.com/gitlab-org/gitlab/-/jobs/10808192438

https://gitlab.com/gitlab-org/gitlab/-/jobs/10804821363

https://gitlab.com/gitlab-org/gitlab/-/jobs/10804245637

https://gitlab.com/gitlab-org/gitlab/-/jobs/10804656092

https://gitlab.com/gitlab-org/gitlab/-/jobs/10804492613

https://gitlab.com/gitlab-org/gitlab/-/jobs/10802880482

https://gitlab.com/gitlab-org/gitlab/-/jobs/10802831824

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801801065

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801767589

https://gitlab.com/gitlab-org/gitlab/-/jobs/10802996979

https://gitlab.com/gitlab-org/gitlab/-/jobs/10807131181

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801526727

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801550648

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801865264

https://gitlab.com/gitlab-org/gitlab/-/jobs/10804096243

https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/10801226250

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801209356

https://gitlab.com/gitlab-org/gitlab/-/jobs/10800244870

https://gitlab.com/gitlab-org/gitlab/-/jobs/10801081878

https://gitlab.com/gitlab-org/gitlab/-/jobs/10799492656

https://gitlab.com/gitlab-org/gitlab/-/jobs/10799406041

https://gitlab.com/gitlab-org/gitlab/-/jobs/10799373910

https://gitlab.com/gitlab-org/gitlab/-/jobs/10799039367

https://gitlab.com/gitlab-org/gitlab/-/jobs/10796131627

https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/10799566876

https://gitlab.com/gitlab-org/gitlab/-/jobs/10800037393

Edited by 🤖 GitLab Bot 🤖