[go: up one dir, main page]

Skip to content

Job timeout risk: ee/spec/features/projects/settings/branch_rules_settings_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/branch_rules_settings_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/branch_rules_settings_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 3176922 created at 2024-09-05T08:19:42Z
Field Value
Job URL rspec-ee-system-pg14-12-16
Job total RSpec suite run time expected: 25 minutes 0.78 second, actual: 80 minutes 11.57 seconds
Spec file run time expected: 32.38 seconds, actual: 12 minutes 29.18 seconds
Spec file weight 15.57% of total suite run time
  • Reported from pipeline 3177091 created at 2024-09-05T08:47:45Z
Field Value
Job URL rspec-ee-system-pg14-12-16
Job total RSpec suite run time expected: 25 minutes 0.78 second, actual: 81 minutes 3.71 seconds
Spec file run time expected: 32.38 seconds, actual: 12 minutes 30.31 seconds
Spec file weight 15.43% of total suite run time
  • Reported from pipeline 3250330 created at 2024-09-26T12:24:37Z
Field Value
Job URL rspec-ee-system-pg14-10-16
Job total RSpec suite run time expected: 25 minutes 20.79 seconds, actual: 70 minutes 29.66 seconds
Spec file run time expected: 58.97 seconds, actual: 24 minutes 56.17 seconds
Spec file weight 35.37% of total suite run time
  • Reported from pipeline 3256232 created at 2024-09-28T07:10:47Z
Field Value
Job URL rspec-ee-system-pg14-8-16
Job total RSpec suite run time expected: 24 minutes 22.89 seconds, actual: 76 minutes 50.69 seconds
Spec file run time expected: 59.44 seconds, actual: 25 minutes 5.32 seconds
Spec file weight 32.65% of total suite run time
  • Reported from pipeline 3357512 created at 2024-10-24T13:09:49Z
Field Value
Job URL rspec-ee-system-pg14-14-16
Job total RSpec suite run time expected: 23 minutes 43.76 seconds, actual: 70 minutes 48.45 seconds
Spec file run time expected: 57.28 seconds, actual: 24 minutes 55.64 seconds
Spec file weight 35.2% of total suite run time
  • Reported from pipeline 3380125 created at 2024-10-30T05:49:38Z
Field Value
Job URL rspec-ee-system-pg14-single-db-ci-connection-13-16
Job total RSpec suite run time expected: 23 minutes 50.97 seconds, actual: 80 minutes 12.06 seconds
Spec file run time expected: 57.9 seconds, actual: 25 minutes 3.71 seconds
Spec file weight 31.25% 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: 59.67 seconds, actual: 25 minutes 13.73 seconds
Spec file weight 31.03% of total suite run time
  • Reported from pipeline 3466209 created at 2024-11-18T22:04:59Z
Field Value
Job URL rspec-ee-system-pg14-13-16
Job total RSpec suite run time expected: 22 minutes 49.81 seconds, actual: 74 minutes 1.21 seconds
Spec file run time expected: 57.88 seconds, actual: 25 minutes 17.11 seconds
Spec file weight 34.16% 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: 57.32 seconds, actual: 25 minutes 9.15 seconds
Spec file weight 31.88% of total suite run time
  • Reported from pipeline 3528839 created at 2024-12-03T09:08:15Z
Field Value
Job URL rspec-ee-system-pg14-single-redis-7-16
Job total RSpec suite run time expected: 22 minutes 52.19 seconds, actual: 73 minutes 4.26 seconds
Spec file run time expected: 1 minute 0.46 second, actual: 25 minutes 11.82 seconds
Spec file weight 34.48% of total suite run time
  • Reported from pipeline 3550162 created at 2024-12-06T15:56:05Z
Field Value
Job URL rspec-ee-system-pg14-14-16
Job total RSpec suite run time expected: 24 minutes 31.64 seconds, actual: 74 minutes 38.1 seconds
Spec file run time expected: 1 minute 2.52 seconds, actual: 24 minutes 59.52 seconds
Spec file weight 33.49% of total suite run time
  • Reported from pipeline 3554294 created at 2024-12-09T04:50:20Z
Field Value
Job URL rspec-ee-system-pg14-13-16
Job total RSpec suite run time expected: 24 minutes 24.11 seconds, actual: 80 minutes 59.38 seconds
Spec file run time expected: 1 minute 10.27 seconds, actual: 25 minutes 17.97 seconds
Spec file weight 31.24% of total suite run time
  • Reported from pipeline 3571190 created at 2024-12-12T06:04:02Z
Field Value
Job URL rspec-ee-system-pg14-5-16
Job total RSpec suite run time expected: 23 minutes 16.49 seconds, actual: 79 minutes 53.2 seconds
Spec file run time expected: 1 minute 0.55 second, actual: 25 minutes 11.26 seconds
Spec file weight 31.53% of total suite run time
  • Reported from pipeline 3618907 created at 2024-12-27T19:15:00Z
Field Value
Job URL rspec-ee-system-pg14-14-16
Job total RSpec suite run time expected: 24 minutes 46.92 seconds, actual: 79 minutes 23.2 seconds
Spec file run time expected: 1 minute 2.5 seconds, actual: 25 minutes 8.25 seconds
Spec file weight 31.66% of total suite run time
  • Reported from pipeline 3636562 created at 2025-01-06T07:39:39Z
Field Value
Job URL rspec-ee-system-pg14-16-16
Job total RSpec suite run time expected: 24 minutes 9.89 seconds, actual: 71 minutes 24.27 seconds
Spec file run time expected: 57.73 seconds, actual: 26 minutes 1.41 seconds
Spec file weight 36.45% of total suite run time
  • Reported from pipeline 3682116 created at 2025-01-15T18:08:09Z
Field Value
Job URL rspec-ee-system-pg14-13-16
Job total RSpec suite run time expected: 24 minutes 42.43 seconds, actual: 80 minutes 35.05 seconds
Spec file run time expected: 57.47 seconds, actual: 25 minutes 13.41 seconds
Spec file weight 31.3% of total suite run time
  • Reported from pipeline 3753573 created at 2025-02-01T07:10:37Z
Field Value
Job URL rspec-ee-system-pg14-16-16
Job total RSpec suite run time expected: 24 minutes 6.57 seconds, actual: 80 minutes 0.74 second
Spec file run time expected: 58.85 seconds, actual: 25 minutes 7.55 seconds
Spec file weight 31.4% of total suite run time
  • Reported from pipeline 3852084 created at 2025-02-26T07:40:47Z
Field Value
Job URL rspec-ee-system-pg14-10-16
Job total RSpec suite run time expected: 24 minutes 58.3 seconds, actual: 76 minutes 34.72 seconds
Spec file run time expected: 1 minute 7.95 seconds, actual: 25 minutes 5.27 seconds
Spec file weight 32.76% of total suite run time
  • Reported from pipeline 3950844 created at 2025-03-21T19:30:35Z
Field Value
Job URL rspec-ee-system-pg16-2-16
Job total RSpec suite run time expected: 25 minutes 8.87 seconds, actual: 77 minutes 6.79 seconds
Spec file run time expected: 1 minute 5.36 seconds, actual: 21 minutes 44.45 seconds
Spec file weight 28.19% of total suite run time
  • Reported from pipeline 3968907 created at 2025-03-26T17:29:10Z
Field Value
Job URL rspec-ee-system-pg16-single-redis-10-16
Job total RSpec suite run time expected: 25 minutes 8.48 seconds, actual: 79 minutes 3.6 seconds
Spec file run time expected: 1 minute 10.02 seconds, actual: 15 minutes 44.98 seconds
Spec file weight 19.92% of total suite run time
  • Reported from pipeline 4042512 created at 2025-04-14T20:55:37Z
Field Value
Job URL rspec-ee-system-pg16-11-16
Job total RSpec suite run time expected: 24 minutes 23.18 seconds, actual: 76 minutes 36.74 seconds
Spec file run time expected: 1 minute 1.35 seconds, actual: 21 minutes 42.95 seconds
Spec file weight 28.34% of total suite run time
  • Reported from pipeline 4088070 created at 2025-04-28T06:01:56Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 24 minutes 52.7 seconds, actual: 79 minutes 41.58 seconds
Spec file run time expected: 40.28 seconds, actual: 12 minutes 27.31 seconds
Spec file weight 15.63% of total suite run time
  • Reported from pipeline 4114719 created at 2025-05-05T05:58:06Z
Field Value
Job URL rspec-ee-system-pg16-13-16
Job total RSpec suite run time expected: 24 minutes 31.99 seconds, actual: 78 minutes 19.34 seconds
Spec file run time expected: 37.81 seconds, actual: 21 minutes 49.78 seconds
Spec file weight 27.87% of total suite run time
  • Reported from pipeline 4180661 created at 2025-05-21T08:18:13Z
Field Value
Job URL rspec-ee-system-pg16-9-16
Job total RSpec suite run time expected: 25 minutes 15.15 seconds, actual: 76 minutes 58.34 seconds
Spec file run time expected: 38.2 seconds, actual: 12 minutes 24.4 seconds
Spec file weight 16.12% of total suite run time
  • Reported from pipeline 4181042 created at 2025-05-21T09:43:01Z
Field Value
Job URL rspec-ee-system-pg16-single-redis-9-16
Job total RSpec suite run time expected: 25 minutes 15.15 seconds, actual: 78 minutes 42.31 seconds
Spec file run time expected: 38.2 seconds, actual: 12 minutes 29.22 seconds
Spec file weight 15.87% of total suite run time
  • Reported from pipeline 4181293 created at 2025-05-21T10:51:10Z
Field Value
Job URL rspec-ee-system-pg16-single-db-9-16
Job total RSpec suite run time expected: 25 minutes 15.15 seconds, actual: 79 minutes 3.59 seconds
Spec file run time expected: 38.2 seconds, actual: 12 minutes 22.75 seconds
Spec file weight 15.66% of total suite run time
  • Reported from pipeline 4331814 created at 2025-07-03T07:28:55Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 23 minutes 55.13 seconds, actual: 81 minutes 52.34 seconds
Spec file run time expected: 38.49 seconds, actual: 15 minutes 25.76 seconds
Spec file weight 18.85% of total suite run time
  • Reported from pipeline 4331902 created at 2025-07-03T08:06:09Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 23 minutes 55.13 seconds, actual: 81 minutes 26.34 seconds
Spec file run time expected: 38.49 seconds, actual: 15 minutes 23.89 seconds
Spec file weight 18.91% of total suite run time
  • Reported from pipeline 4331814 created at 2025-07-03T07:28:55Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 23 minutes 55.13 seconds, actual: 82 minutes 2.86 seconds
Spec file run time expected: 38.49 seconds, actual: 15 minutes 29.11 seconds
Spec file weight 18.87% of total suite run time
  • Reported from pipeline 4367395 created at 2025-07-13T00:06:48Z
Field Value
Job URL rspec-ee-system-pg16-no-gitaly-transactions-8-16
Job total RSpec suite run time expected: 24 minutes 0.13 second, actual: 75 minutes 27.42 seconds
Spec file run time expected: 33.82 seconds, actual: 15 minutes 31.81 seconds
Spec file weight 20.58% of total suite run time
  • Reported from pipeline 4445947 created at 2025-08-04T19:10:49Z
Field Value
Job URL rspec-ee-system-pg16-16-16
Job total RSpec suite run time expected: 25 minutes 10.37 seconds, actual: 79 minutes 50.37 seconds
Spec file run time expected: 42.04 seconds, actual: 21 minutes 56.57 seconds
Spec file weight 27.48% of total suite run time
  • Reported from pipeline 4585791 created at 2025-09-09T10:32:01Z
Field Value
Job URL rspec-ee-system-pg16-11-16
Job total RSpec suite run time expected: 27 minutes 18.92 seconds, actual: 78 minutes 5.86 seconds
Spec file run time expected: 44.27 seconds, actual: 21 minutes 49.34 seconds
Spec file weight 27.94% of total suite run time