[go: up one dir, main page]

Skip to content

Job timeout risk: ee/spec/features/projects/settings/ee/protected_branches_spec.rb ran much longer than expected

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

Why was this issue created?

ee/spec/features/projects/settings/ee/protected_branches_spec.rb was reported to have:

  1. exceeded Knapsack's expected runtime by at least 50%, and
  2. been identified as a notable pipeline bottleneck and a job timeout risk

Suggested steps for investigation

  1. To reproduce in CI by running test files in the same order, you can follow the steps listed here.
  2. Identify if a specific test case is stalling the run time. Hint: You can search the job's log for Starting example group ee/spec/features/projects/settings/ee/protected_branches_spec.rb and view the elapsed time after each test case in the proceeding lines starting with [RSpecRunTime].
  3. If the test file is large, consider refactoring it into multiple files to allow better test parallelization across runners.
  4. If the run time cannot be fixed in time, consider quarantine the spec(s) to restore performance.

Run time details

  • Reported from pipeline 3203807 created at 2024-09-12T07:18:01Z
Field Value
Job URL rspec-ee-system-pg14-9-16
Job total RSpec suite run time expected: 25 minutes 41.34 seconds, actual: 77 minutes 50.1 seconds
Spec file run time expected: 53.36 seconds, actual: 18 minutes 31.11 seconds
Spec file weight 23.79% of total suite run time
  • Reported from pipeline 3205233 created at 2024-09-12T12:25:20Z
Field Value
Job URL rspec-ee-system-pg14-12-16
Job total RSpec suite run time expected: 25 minutes 44.77 seconds, actual: 80 minutes 5.75 seconds
Spec file run time expected: 57.19 seconds, actual: 18 minutes 36.19 seconds
Spec file weight 23.23% of total suite run time
  • Reported from pipeline 3206404 created at 2024-09-12T15:52:59Z
Field Value
Job URL rspec-ee-system-pg14-12-16
Job total RSpec suite run time expected: 25 minutes 50.51 seconds, actual: 70 minutes 50.97 seconds
Spec file run time expected: 53.75 seconds, actual: 18 minutes 32.71 seconds
Spec file weight 26.18% of total suite run time
  • Reported from pipeline 3301616 created at 2024-10-11T02:41:17Z
Field Value
Job URL rspec-ee-system-pg14-14-16
Job total RSpec suite run time expected: 22 minutes 49.91 seconds, actual: 77 minutes 17.76 seconds
Spec file run time expected: 41.93 seconds, actual: 15 minutes 23.68 seconds
Spec file weight 19.92% of total suite run time
  • Reported from pipeline 3347314 created at 2024-10-22T14:45:33Z
Field Value
Job URL rspec-ee-system-pg14-15-16
Job total RSpec suite run time expected: 23 minutes 21.71 seconds, actual: 80 minutes 46.33 seconds
Spec file run time expected: 39.7 seconds, actual: 18 minutes 29.19 seconds
Spec file weight 22.89% of total suite run time
  • Reported from pipeline 3411800 created at 2024-11-06T00:33:10Z
Field Value
Job URL rspec-ee-system-pg14-11-16
Job total RSpec suite run time expected: 24 minutes 7.08 seconds, actual: 82 minutes 19.25 seconds
Spec file run time expected: 43.4 seconds, actual: 18 minutes 29.36 seconds
Spec file weight 22.46% of total suite run time
  • Reported from pipeline 3422646 created at 2024-11-07T20:02:40Z
Field Value
Job URL rspec-ee-system-pg14-13-16
Job total RSpec suite run time expected: 24 minutes 16.57 seconds, actual: 81 minutes 18.82 seconds
Spec file run time expected: 40.35 seconds, actual: 18 minutes 39.97 seconds
Spec file weight 22.96% of total suite run time
  • Reported from pipeline 3478632 created at 2024-11-20T23:05:14Z
Field Value
Job URL rspec-ee-system-pg14-9-16
Job total RSpec suite run time expected: 24 minutes 46.0 seconds, actual: 79 minutes 47.53 seconds
Spec file run time expected: 54.07 seconds, actual: 18 minutes 39.67 seconds
Spec file weight 23.39% of total suite run time
  • Reported from pipeline 3497114 created at 2024-11-25T20:05:36Z
Field Value
Job URL rspec-ee-system-pg14-11-16
Job total RSpec suite run time expected: 23 minutes 56.26 seconds, actual: 78 minutes 53.35 seconds
Spec file run time expected: 43.9 seconds, actual: 18 minutes 35.72 seconds
Spec file weight 23.57% of total suite run time
  • Reported from pipeline 3648439 created at 2025-01-08T11:08:26Z
Field Value
Job URL rspec-ee-system-pg14-es8-7-16
Job total RSpec suite run time expected: 23 minutes 54.67 seconds, actual: 81 minutes 17.07 seconds
Spec file run time expected: 38.6 seconds, actual: 18 minutes 31.15 seconds
Spec file weight 22.78% of total suite run time
  • Reported from pipeline 3674793 created at 2025-01-14T14:52:36Z
Field Value
Job URL rspec-ee-system-pg15-es8-16-16
Job total RSpec suite run time expected: 25 minutes 0.32 second, actual: 80 minutes 19.1 seconds
Spec file run time expected: 38.58 seconds, actual: 18 minutes 38.07 seconds
Spec file weight 23.2% of total suite run time
  • Reported from pipeline 3742410 created at 2025-01-30T07:34:36Z
Field Value
Job URL rspec-ee-system-pg14-9-16
Job total RSpec suite run time expected: 24 minutes 36.49 seconds, actual: 81 minutes 27.78 seconds
Spec file run time expected: 37.68 seconds, actual: 18 minutes 32.22 seconds
Spec file weight 22.76% of total suite run time
  • Reported from pipeline 3977984 created at 2025-03-28T13:54:14Z
Field Value
Job URL rspec-ee-system-pg16-12-16
Job total RSpec suite run time expected: 25 minutes 8.68 seconds, actual: 77 minutes 34.46 seconds
Spec file run time expected: 48.25 seconds, actual: 18 minutes 28.1 seconds
Spec file weight 23.81% of total suite run time
  • Reported from pipeline 4294655 created at 2025-06-23T09:31:51Z
Field Value
Job URL rspec-ee-system-pg16-13-16
Job total RSpec suite run time expected: 25 minutes 5.42 seconds, actual: 77 minutes 18.97 seconds
Spec file run time expected: 41.38 seconds, actual: 18 minutes 29.43 seconds
Spec file weight 23.92% of total suite run time
  • Reported from pipeline 4294674 created at 2025-06-23T09:38:55Z
Field Value
Job URL rspec-ee-system-pg16-es8-13-16
Job total RSpec suite run time expected: 25 minutes 5.42 seconds, actual: 78 minutes 29.42 seconds
Spec file run time expected: 41.38 seconds, actual: 18 minutes 31.7 seconds
Spec file weight 23.61% of total suite run time
  • Reported from pipeline 4366509 created at 2025-07-12T02:05:37Z
Field Value
Job URL rspec-ee-system-pg16-no-gitaly-transactions-15-16
Job total RSpec suite run time expected: 24 minutes 13.0 seconds, actual: 79 minutes 43.55 seconds
Spec file run time expected: 39.63 seconds, actual: 18 minutes 41.75 seconds
Spec file weight 23.45% of total suite run time
  • Reported from pipeline 4527772 created at 2025-08-25T15:49:02Z
Field Value
Job URL rspec-ee-system-pg16-9-16
Job total RSpec suite run time expected: 25 minutes 51.16 seconds, actual: 79 minutes 43.53 seconds
Spec file run time expected: 40.49 seconds, actual: 18 minutes 30.2 seconds
Spec file weight 23.21% of total suite run time
  • Reported from pipeline 4561644 created at 2025-09-03T03:04:44Z
Field Value
Job URL rspec-ee-system-pg16-13-16
Job total RSpec suite run time expected: 28 minutes 2.22 seconds, actual: 73 minutes 39.05 seconds
Spec file run time expected: 46.53 seconds, actual: 18 minutes 29.83 seconds
Spec file weight 25.11% of total suite run time
  • Reported from pipeline 4566862 created at 2025-09-04T01:02:31Z
Field Value
Job URL rspec-ee-system-pg16-15-16
Job total RSpec suite run time expected: 27 minutes 44.14 seconds, actual: 81 minutes 22.37 seconds
Spec file run time expected: 40.67 seconds, actual: 18 minutes 38.75 seconds
Spec file weight 22.91% of total suite run time
  • Reported from pipeline 4566967 created at 2025-09-04T01:37:46Z
Field Value
Job URL rspec-ee-system-pg16-15-16
Job total RSpec suite run time expected: 27 minutes 44.14 seconds, actual: 80 minutes 39.04 seconds
Spec file run time expected: 40.67 seconds, actual: 18 minutes 30.13 seconds
Spec file weight 22.94% of total suite run time
  • Reported from pipeline 4574903 created at 2025-09-05T15:45:46Z
Field Value
Job URL rspec-ee-system-pg16-5-16
Job total RSpec suite run time expected: 28 minutes 7.27 seconds, actual: 80 minutes 39.48 seconds
Spec file run time expected: 42.18 seconds, actual: 18 minutes 29.26 seconds
Spec file weight 22.92% of total suite run time
  • Reported from pipeline 4584864 created at 2025-09-09T06:20:40Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 26 minutes 10.75 seconds, actual: 81 minutes 41.15 seconds
Spec file run time expected: 39.37 seconds, actual: 18 minutes 30.98 seconds
Spec file weight 22.67% of total suite run time
  • Reported from pipeline 4627348 created at 2025-09-19T08:24:26Z
Field Value
Job URL rspec-ee-system-pg16-single-db-ci-connection-13-16
Job total RSpec suite run time expected: 28 minutes 37.15 seconds, actual: 71 minutes 23.02 seconds
Spec file run time expected: 42.42 seconds, actual: 18 minutes 33.11 seconds
Spec file weight 25.99% of total suite run time