[go: up one dir, main page]

Skip to content

Job timeout risk: ee/spec/features/merge_request/user_edits_approval_rules_mr_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/merge_request/user_edits_approval_rules_mr_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/merge_request/user_edits_approval_rules_mr_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 2562790 created at 2024-03-21T10:08:12Z
Field Value
Job URL rspec-ee-system-pg14-single-db-11-14
Job total RSpec suite run time expected: 27 minutes 26.77 seconds, actual: 80 minutes 44.91 seconds
Spec file run time expected: 35.1 seconds, actual: 12 minutes 41.9 seconds
Spec file weight 15.73% of total suite run time
  • Reported from pipeline 2564875 created at 2024-03-21T19:46:39Z
Field Value
Job URL rspec-ee-system-pg14-single-db-ci-connection-7-14
Job total RSpec suite run time expected: 27 minutes 31.45 seconds, actual: 83 minutes 25.68 seconds
Spec file run time expected: 35.14 seconds, actual: 13 minutes 4.66 seconds
Spec file weight 15.68% of total suite run time
  • Reported from pipeline 2721159 created at 2024-05-01T21:05:05Z
Field Value
Job URL rspec-ee-system-pg14-single-db-8-14
Job total RSpec suite run time expected: 23 minutes 49.68 seconds, actual: 80 minutes 38.86 seconds
Spec file run time expected: 28.57 seconds, actual: 13 minutes 44.47 seconds
Spec file weight 17.04% of total suite run time
  • Reported from pipeline 2770852 created at 2024-05-14T15:11:34Z
Field Value
Job URL rspec-ee-system-pg14-single-db-ci-connection-7-14
Job total RSpec suite run time expected: 25 minutes 4.79 seconds, actual: 80 minutes 34.03 seconds
Spec file run time expected: 31.25 seconds, actual: 14 minutes 39.94 seconds
Spec file weight 18.2% of total suite run time
  • Reported from pipeline 2778128 created at 2024-05-16T01:15:48Z
Field Value
Job URL rspec-ee-system-pg16-opensearch1-13-14
Job total RSpec suite run time expected: 25 minutes 19.92 seconds, actual: 79 minutes 58.9 seconds
Spec file run time expected: 33.35 seconds, actual: 13 minutes 53.52 seconds
Spec file weight 17.37% of total suite run time
  • Reported from pipeline 2914894 created at 2024-06-22T05:10:39Z
Field Value
Job URL rspec-ee-system-pg14-12-14
Job total RSpec suite run time expected: 26 minutes 42.97 seconds, actual: 70 minutes 0.12 second
Spec file run time expected: 29.38 seconds, actual: 12 minutes 50.4 seconds
Spec file weight 18.34% of total suite run time
  • Reported from pipeline 2945567 created at 2024-06-28T15:53:21Z
Field Value
Job URL rspec-ee-system-pg14-single-db-4-14
Job total RSpec suite run time expected: 26 minutes 21.08 seconds, actual: 81 minutes 32.68 seconds
Spec file run time expected: 29.37 seconds, actual: 12 minutes 39.74 seconds
Spec file weight 15.53% of total suite run time
  • Reported from pipeline 2951567 created at 2024-07-01T13:22:18Z
Field Value
Job URL rspec-ee-system-pg14-6-14
Job total RSpec suite run time expected: 25 minutes 23.59 seconds, actual: 70 minutes 49.11 seconds
Spec file run time expected: 28.62 seconds, actual: 12 minutes 42.91 seconds
Spec file weight 17.95% of total suite run time
  • Reported from pipeline 2996543 created at 2024-07-12T07:54:32Z
Field Value
Job URL rspec-ee-system-pg14-14-14
Job total RSpec suite run time expected: 25 minutes 45.28 seconds, actual: 80 minutes 24.94 seconds
Spec file run time expected: 33.94 seconds, actual: 13 minutes 46.23 seconds
Spec file weight 17.12% of total suite run time
  • Reported from pipeline 3087310 created at 2024-08-07T18:37:32Z
Field Value
Job URL rspec-ee-system-pg14-8-16
Job total RSpec suite run time expected: 24 minutes 42.25 seconds, actual: 78 minutes 33.86 seconds
Spec file run time expected: 33.21 seconds, actual: 12 minutes 36.29 seconds
Spec file weight 16.04% of total suite run time
  • Reported from pipeline 3087357 created at 2024-08-07T18:48:57Z
Field Value
Job URL rspec-ee-system-pg14-single-db-ci-connection-8-16
Job total RSpec suite run time expected: 24 minutes 42.25 seconds, actual: 81 minutes 3.9 seconds
Spec file run time expected: 33.21 seconds, actual: 12 minutes 44.32 seconds
Spec file weight 15.71% of total suite run time
  • 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: 33.19 seconds, actual: 12 minutes 34.27 seconds
Spec file weight 16.15% of total suite run time
  • Reported from pipeline 3231198 created at 2024-09-20T09:31:32Z
Field Value
Job URL rspec-ee-system-pg14-8-16
Job total RSpec suite run time expected: 25 minutes 12.95 seconds, actual: 80 minutes 16.98 seconds
Spec file run time expected: 33.56 seconds, actual: 12 minutes 59.29 seconds
Spec file weight 16.18% of total suite run time
  • Reported from pipeline 3374171 created at 2024-10-29T09:19:21Z
Field Value
Job URL rspec-ee-system-pg14-7-16
Job total RSpec suite run time expected: 23 minutes 45.72 seconds, actual: 81 minutes 0.41 second
Spec file run time expected: 28.46 seconds, actual: 12 minutes 47.89 seconds
Spec file weight 15.8% of total suite run time
  • Reported from pipeline 3468273 created at 2024-11-19T08:59:16Z
Field Value
Job URL rspec-ee-system-pg14-13-16
Job total RSpec suite run time expected: 22 minutes 52.88 seconds, actual: 82 minutes 1.61 seconds
Spec file run time expected: 33.3 seconds, actual: 12 minutes 39.75 seconds
Spec file weight 15.44% of total suite run time
  • Reported from pipeline 3497919 created at 2024-11-25T23:21:23Z
Field Value
Job URL rspec-ee-system-pg14-single-db-ci-connection-11-16
Job total RSpec suite run time expected: 24 minutes 9.15 seconds, actual: 80 minutes 42.37 seconds
Spec file run time expected: 32.76 seconds, actual: 12 minutes 49.49 seconds
Spec file weight 15.89% of total suite run time
  • Reported from pipeline 3565671 created at 2024-12-11T07:25:23Z
Field Value
Job URL rspec-ee-system-pg14-7-16
Job total RSpec suite run time expected: 23 minutes 17.22 seconds, actual: 80 minutes 52.39 seconds
Spec file run time expected: 29.86 seconds, actual: 13 minutes 53.48 seconds
Spec file weight 17.18% of total suite run time
  • Reported from pipeline 3618977 created at 2024-12-27T20:58:24Z
Field Value
Job URL rspec-ee-system-pg14-es8-12-16
Job total RSpec suite run time expected: 23 minutes 58.62 seconds, actual: 71 minutes 21.09 seconds
Spec file run time expected: 31.26 seconds, actual: 12 minutes 46.13 seconds
Spec file weight 17.9% 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: 31.06 seconds, actual: 12 minutes 49.15 seconds
Spec file weight 15.91% of total suite run time
  • Reported from pipeline 3721317 created at 2025-01-24T22:00:31Z
Field Value
Job URL rspec-ee-system-pg14-9-16
Job total RSpec suite run time expected: 26 minutes 0.78 second, actual: 79 minutes 51.72 seconds
Spec file run time expected: 36.61 seconds, actual: 12 minutes 40.5 seconds
Spec file weight 15.87% of total suite run time
  • Reported from pipeline 3733516 created at 2025-01-28T17:49:23Z
Field Value
Job URL rspec-ee-system-pg14-7-16
Job total RSpec suite run time expected: 25 minutes 9.95 seconds, actual: 70 minutes 27.96 seconds
Spec file run time expected: 30.16 seconds, actual: 12 minutes 42.99 seconds
Spec file weight 18.05% of total suite run time
  • Reported from pipeline 3759367 created at 2025-02-03T16:31:54Z
Field Value
Job URL rspec-ee-system-pg14-single-db-15-16
Job total RSpec suite run time expected: 24 minutes 54.38 seconds, actual: 81 minutes 27.39 seconds
Spec file run time expected: 32.18 seconds, actual: 12 minutes 48.5 seconds
Spec file weight 15.72% of total suite run time
  • Reported from pipeline 3841998 created at 2025-02-24T08:49:33Z
Field Value
Job URL rspec-ee-system-pg14-7-16
Job total RSpec suite run time expected: 24 minutes 59.86 seconds, actual: 80 minutes 3.71 seconds
Spec file run time expected: 28.88 seconds, actual: 12 minutes 43.73 seconds
Spec file weight 15.9% of total suite run time
  • Reported from pipeline 3932304 created at 2025-03-18T00:18:31Z
Field Value
Job URL rspec-ee-system-pg16-single-db-ci-connection-12-16
Job total RSpec suite run time expected: 24 minutes 14.33 seconds, actual: 81 minutes 13.47 seconds
Spec file run time expected: 30.45 seconds, actual: 12 minutes 47.06 seconds
Spec file weight 15.74% of total suite run time
  • Reported from pipeline 4001879 created at 2025-04-03T18:09:39Z
Field Value
Job URL rspec-ee-system-pg16-11-16
Job total RSpec suite run time expected: 24 minutes 34.71 seconds, actual: 79 minutes 54.59 seconds
Spec file run time expected: 33.1 seconds, actual: 12 minutes 42.32 seconds
Spec file weight 15.9% of total suite run time
  • Reported from pipeline 4095249 created at 2025-04-29T15:09:09Z
Field Value
Job URL rspec-ee-system-pg16-10-16
Job total RSpec suite run time expected: 24 minutes 5.06 seconds, actual: 79 minutes 48.26 seconds
Spec file run time expected: 30.21 seconds, actual: 13 minutes 0.55 second
Spec file weight 16.3% of total suite run time
  • Reported from pipeline 4346788 created at 2025-07-08T09:27:11Z
Field Value
Job URL rspec-ee-system-pg16-8-16
Job total RSpec suite run time expected: 24 minutes 3.85 seconds, actual: 72 minutes 26.29 seconds
Spec file run time expected: 32.1 seconds, actual: 12 minutes 48.85 seconds
Spec file weight 17.69% of total suite run time
  • Reported from pipeline 4486358 created at 2025-08-14T08:36:34Z
Field Value
Job URL rspec-ee-system-pg16-3-16
Job total RSpec suite run time expected: 26 minutes 21.43 seconds, actual: 79 minutes 42.28 seconds
Spec file run time expected: 32.88 seconds, actual: 12 minutes 46.42 seconds
Spec file weight 16.03% of total suite run time
  • Reported from pipeline 4486311 created at 2025-08-14T08:24:04Z
Field Value
Job URL rspec-ee-system-pg16-3-16
Job total RSpec suite run time expected: 26 minutes 21.43 seconds, actual: 79 minutes 56.49 seconds
Spec file run time expected: 32.88 seconds, actual: 12 minutes 42.04 seconds
Spec file weight 15.89% of total suite run time
  • Reported from pipeline 4499494 created at 2025-08-18T13:24:33Z
Field Value
Job URL rspec-ee-system-pg16-12-16
Job total RSpec suite run time expected: 25 minutes 1.26 seconds, actual: 80 minutes 59.67 seconds
Spec file run time expected: 36.0 seconds, actual: 12 minutes 44.22 seconds
Spec file weight 15.73% of total suite run time
  • Reported from pipeline 4642079 created at 2025-09-23T15:47:12Z
Field Value
Job URL rspec-ee-system-pg16-8-16
Job total RSpec suite run time expected: 27 minutes 53.67 seconds, actual: 82 minutes 31.13 seconds
Spec file run time expected: 36.05 seconds, actual: 12 minutes 37.98 seconds
Spec file weight 15.31% of total suite run time
  • Reported from pipeline 4649433 created at 2025-09-25T01:42:37Z
Field Value
Job URL rspec-ee-system-pg16-es8-4-16
Job total RSpec suite run time expected: 28 minutes 38.34 seconds, actual: 73 minutes 24.01 seconds
Spec file run time expected: 35.73 seconds, actual: 12 minutes 47.32 seconds
Spec file weight 17.42% of total suite run time