Job timeout risk: spec/features/merge_request/user_suggests_changes_on_diff_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?
spec/features/merge_request/user_suggests_changes_on_diff_spec.rb was reported to have:
- exceeded Knapsack's expected runtime by at least 50%, and
- been identified as a notable pipeline bottleneck and a job timeout risk
Suggested steps for investigation
- To reproduce in CI by running test files in the same order, you can follow the steps listed here.
- Identify if a specific test case is stalling the run time. Hint: You can search the job's log for
Starting example group spec/features/merge_request/user_suggests_changes_on_diff_spec.rb
and view the elapsed time after each test case in the proceeding lines starting with[RSpecRunTime]
. - If the test file is large, consider refactoring it into multiple files to allow better test parallelization across runners.
- If the run time cannot be fixed in time, consider quarantine the spec(s) to restore performance.
Run time details
- Reported from pipeline 2405788 created at
2024-02-05T21:28:32Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-19-32 |
Job total RSpec suite run time | expected: 24 minutes 10.27 seconds , actual: 72 minutes 48.37 seconds
|
Spec file run time | expected: 1 minute 57.31 seconds , actual: 20 minutes 24.98 seconds
|
Spec file weight |
28.04% of total suite run time |
Reports (2)
- 2024-02-06: https://gitlab.com/gitlab-org/gitlab/-/jobs/6106293510 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1166218221)
- 2024-02-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/6133854648 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/1170424723)
- Reported from pipeline 2466263 created at
2024-02-21T13:09:38Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-single-db-4-32 |
Job total RSpec suite run time | expected: 24 minutes 26.19 seconds , actual: 80 minutes 1.59 seconds
|
Spec file run time | expected: 2 minutes 2.44 seconds , actual: 17 minutes 38.3 seconds
|
Spec file weight |
22.04% of total suite run time |
- Reported from pipeline 2682566 created at
2024-04-23T08:29:15Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-15-32 |
Job total RSpec suite run time | expected: 22 minutes 3.5 seconds , actual: 70 minutes 44.69 seconds
|
Spec file run time | expected: 1 minute 46.82 seconds , actual: 12 minutes 54.42 seconds
|
Spec file weight |
18.24% of total suite run time |
- Reported from pipeline 2766405 created at
2024-05-13T19:03:34Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-31-32 |
Job total RSpec suite run time | expected: 21 minutes 55.19 seconds , actual: 75 minutes 46.42 seconds
|
Spec file run time | expected: 1 minute 57.75 seconds , actual: 20 minutes 31.24 seconds
|
Spec file weight |
27.08% of total suite run time |
- Reported from pipeline 2777589 created at
2024-05-15T22:12:04Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-15-32 |
Job total RSpec suite run time | expected: 22 minutes 19.28 seconds , actual: 76 minutes 41.64 seconds
|
Spec file run time | expected: 1 minute 52.1 seconds , actual: 17 minutes 20.91 seconds
|
Spec file weight |
22.62% of total suite run time |
- Reported from pipeline 2778928 created at
2024-05-16T06:41:59Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-18-32 |
Job total RSpec suite run time | expected: 21 minutes 36.94 seconds , actual: 72 minutes 36.95 seconds
|
Spec file run time | expected: 1 minute 55.29 seconds , actual: 21 minutes 16.04 seconds
|
Spec file weight |
29.29% of total suite run time |
- Reported from pipeline 2781310 created at
2024-05-16T15:06:17Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-19-32 |
Job total RSpec suite run time | expected: 21 minutes 25.5 seconds , actual: 75 minutes 13.21 seconds
|
Spec file run time | expected: 1 minute 51.61 seconds , actual: 11 minutes 47.91 seconds
|
Spec file weight |
15.69% of total suite run time |
- Reported from pipeline 2825528 created at
2024-05-28T12:00:13Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-4-32 |
Job total RSpec suite run time | expected: 20 minutes 44.65 seconds , actual: 70 minutes 32.25 seconds
|
Spec file run time | expected: 1 minute 46.16 seconds , actual: 11 minutes 40.79 seconds
|
Spec file weight |
16.56% of total suite run time |
- Reported from pipeline 2894422 created at
2024-06-17T20:01:41Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-12-32 |
Job total RSpec suite run time | expected: 22 minutes 20.2 seconds , actual: 81 minutes 9.78 seconds
|
Spec file run time | expected: 2 minutes 56.19 seconds , actual: 20 minutes 57.02 seconds
|
Spec file weight |
25.81% of total suite run time |
- Reported from pipeline 3021409 created at
2024-07-19T11:22:30Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-single-db-ci-connection-19-32 |
Job total RSpec suite run time | expected: 23 minutes 24.25 seconds , actual: 71 minutes 14.58 seconds
|
Spec file run time | expected: 2 minutes 2.87 seconds , actual: 21 minutes 39.25 seconds
|
Spec file weight |
30.39% of total suite run time |
- Reported from pipeline 3094530 created at
2024-08-09T14:33:51Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-24-32 |
Job total RSpec suite run time | expected: 23 minutes 59.04 seconds , actual: 70 minutes 53.77 seconds
|
Spec file run time | expected: 2 minutes 8.53 seconds , actual: 20 minutes 26.01 seconds
|
Spec file weight |
28.82% of total suite run time |
- Reported from pipeline 3722551 created at
2025-01-25T14:05:34Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-5-32 |
Job total RSpec suite run time | expected: 22 minutes 15.45 seconds , actual: 71 minutes 45.95 seconds
|
Spec file run time | expected: 2 minutes 10.96 seconds , actual: 21 minutes 18.18 seconds
|
Spec file weight |
29.68% of total suite run time |
- Reported from pipeline 3800296 created at
2025-02-12T17:33:37Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-9-32 |
Job total RSpec suite run time | expected: 23 minutes 42.63 seconds , actual: 75 minutes 44.05 seconds
|
Spec file run time | expected: 2 minutes 17.01 seconds , actual: 15 minutes 53.93 seconds
|
Spec file weight |
20.99% of total suite run time |
- Reported from pipeline 3852696 created at
2025-02-26T10:09:42Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-single-db-ci-connection-9-32 |
Job total RSpec suite run time | expected: 23 minutes 57.09 seconds , actual: 71 minutes 19.17 seconds
|
Spec file run time | expected: 2 minutes 17.76 seconds , actual: 20 minutes 47.81 seconds
|
Spec file weight |
29.16% of total suite run time |
- Reported from pipeline 3882840 created at
2025-03-05T07:02:01Z
Field | Value |
---|---|
Job URL | rspec-system-pg14-single-db-4-32 |
Job total RSpec suite run time | expected: 24 minutes 25.38 seconds , actual: 74 minutes 25.87 seconds
|
Spec file run time | expected: 2 minutes 5.42 seconds , actual: 20 minutes 59.5 seconds
|
Spec file weight |
28.2% of total suite run time |
- Reported from pipeline 3912800 created at
2025-03-12T14:32:38Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-single-db-31-32 |
Job total RSpec suite run time | expected: 24 minutes 2.3 seconds , actual: 77 minutes 10.28 seconds
|
Spec file run time | expected: 2 minutes 11.86 seconds , actual: 16 minutes 31.24 seconds
|
Spec file weight |
21.41% of total suite run time |
- Reported from pipeline 3939986 created at
2025-03-19T14:39:08Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-25-32 |
Job total RSpec suite run time | expected: 24 minutes 33.1 seconds , actual: 73 minutes 34.84 seconds
|
Spec file run time | expected: 2 minutes 9.47 seconds , actual: 20 minutes 29.87 seconds
|
Spec file weight |
27.86% of total suite run time |
- Reported from pipeline 3950530 created at
2025-03-21T17:51:41Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-single-db-ci-connection-25-32 |
Job total RSpec suite run time | expected: 24 minutes 44.85 seconds , actual: 73 minutes 57.1 seconds
|
Spec file run time | expected: 2 minutes 11.55 seconds , actual: 11 minutes 51.62 seconds
|
Spec file weight |
16.04% of total suite run time |
- Reported from pipeline 4061530 created at
2025-04-19T04:05:49Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-no-gitaly-transactions-29-32 |
Job total RSpec suite run time | expected: 25 minutes 0.25 second , actual: 81 minutes 48.33 seconds
|
Spec file run time | expected: 2 minutes 14.03 seconds , actual: 21 minutes 56.26 seconds
|
Spec file weight |
26.82% of total suite run time |
- Reported from pipeline 4091099 created at
2025-04-28T17:10:44Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-no-gitaly-transactions-25-32 |
Job total RSpec suite run time | expected: 25 minutes 8.08 seconds , actual: 70 minutes 39.51 seconds
|
Spec file run time | expected: 2 minutes 16.59 seconds , actual: 21 minutes 0.74 second
|
Spec file weight |
29.74% of total suite run time |
- Reported from pipeline 4125314 created at
2025-05-07T06:54:20Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-10-32 |
Job total RSpec suite run time | expected: 24 minutes 37.15 seconds , actual: 75 minutes 0.83 second
|
Spec file run time | expected: 2 minutes 28.24 seconds , actual: 12 minutes 36.09 seconds
|
Spec file weight |
16.8% of total suite run time |
- Reported from pipeline 4356537 created at
2025-07-10T05:03:55Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-21-32 |
Job total RSpec suite run time | expected: 25 minutes 38.02 seconds , actual: 74 minutes 5.9 seconds
|
Spec file run time | expected: 3 minutes 34.63 seconds , actual: 24 minutes 0.73 second
|
Spec file weight |
32.41% of total suite run time |
- Reported from pipeline 4423230 created at
2025-07-28T16:53:04Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-31-32 |
Job total RSpec suite run time | expected: 24 minutes 42.79 seconds , actual: 74 minutes 7.39 seconds
|
Spec file run time | expected: 4 minutes 15.92 seconds , actual: 28 minutes 43.9 seconds
|
Spec file weight |
38.76% of total suite run time |
- Reported from pipeline 4453876 created at
2025-08-06T12:19:17Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-single-db-ci-connection-25-32 |
Job total RSpec suite run time | expected: 25 minutes 5.73 seconds , actual: 78 minutes 2.03 seconds
|
Spec file run time | expected: 3 minutes 34.87 seconds , actual: 29 minutes 46.55 seconds
|
Spec file weight |
38.16% of total suite run time |
- Reported from pipeline 4565408 created at
2025-09-03T17:16:21Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-single-db-25-32 |
Job total RSpec suite run time | expected: 26 minutes 43.69 seconds , actual: 71 minutes 16.16 seconds
|
Spec file run time | expected: 3 minutes 54.83 seconds , actual: 24 minutes 20.98 seconds
|
Spec file weight |
34.17% of total suite run time |
- Reported from pipeline 4593521 created at
2025-09-10T23:08:44Z
Field | Value |
---|---|
Job URL | rspec-system-pg16-29-32 |
Job total RSpec suite run time | expected: 27 minutes 40.11 seconds , actual: 74 minutes 54.06 seconds
|
Spec file run time | expected: 4 minutes 11.97 seconds , actual: 12 minutes 18.83 seconds
|
Spec file weight |
16.44% of total suite run time |
Edited by KNAPSACK_REPORT_ISSUES_PROJECT_TOKEN