[go: up one dir, main page]

Skip to content

Job timeout risk: spec/features/projects/files/user_find_file_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/projects/files/user_find_file_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 spec/features/projects/files/user_find_file_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 2630844 created at 2024-04-10T09:10:44Z
Field Value
Job URL rspec-system-pg14-18-32
Job total RSpec suite run time expected: 23 minutes 26.18 seconds, actual: 80 minutes 4.0 seconds
Spec file run time expected: 44.42 seconds, actual: 15 minutes 57.76 seconds
Spec file weight 19.94% of total suite run time
  • Reported from pipeline 2726025 created at 2024-05-02T16:00:26Z
Field Value
Job URL rspec-system-pg14-26-32
Job total RSpec suite run time expected: 21 minutes 19.59 seconds, actual: 83 minutes 4.17 seconds
Spec file run time expected: 42.14 seconds, actual: 16 minutes 59.67 seconds
Spec file weight 20.46% of total suite run time
  • Reported from pipeline 2778824 created at 2024-05-16T05:55:13Z
Field Value
Job URL rspec-system-pg14-7-32
Job total RSpec suite run time expected: 21 minutes 36.77 seconds, actual: 74 minutes 31.62 seconds
Spec file run time expected: 42.1 seconds, actual: 16 minutes 57.9 seconds
Spec file weight 22.76% of total suite run time
  • Reported from pipeline 3005038 created at 2024-07-16T00:17:01Z
Field Value
Job URL rspec-system-pg14-single-db-ci-connection-7-32
Job total RSpec suite run time expected: 23 minutes 0.99 second, actual: 75 minutes 10.61 seconds
Spec file run time expected: 58.17 seconds, actual: 16 minutes 7.69 seconds
Spec file weight 21.45% of total suite run time
  • Reported from pipeline 3029627 created at 2024-07-22T20:22:07Z
Field Value
Job URL rspec-system-pg14-14-32
Job total RSpec suite run time expected: 23 minutes 51.96 seconds, actual: 77 minutes 15.93 seconds
Spec file run time expected: 50.77 seconds, actual: 16 minutes 1.9 seconds
Spec file weight 20.75% of total suite run time
  • Reported from pipeline 3031418 created at 2024-07-23T08:42:58Z
Field Value
Job URL rspec-system-pg14-single-db-14-32
Job total RSpec suite run time expected: 23 minutes 51.96 seconds, actual: 78 minutes 43.34 seconds
Spec file run time expected: 50.77 seconds, actual: 16 minutes 6.8 seconds
Spec file weight 20.47% of total suite run time
  • Reported from pipeline 3069803 created at 2024-08-02T01:45:45Z
Field Value
Job URL rspec-system-pg14-31-32
Job total RSpec suite run time expected: 24 minutes 6.72 seconds, actual: 79 minutes 10.82 seconds
Spec file run time expected: 48.25 seconds, actual: 16 minutes 8.37 seconds
Spec file weight 20.38% of total suite run time
  • Reported from pipeline 3097053 created at 2024-08-11T04:05:50Z
Field Value
Job URL rspec-system-pg14-26-32
Job total RSpec suite run time expected: 24 minutes 12.84 seconds, actual: 81 minutes 51.14 seconds
Spec file run time expected: 48.14 seconds, actual: 16 minutes 20.72 seconds
Spec file weight 19.97% of total suite run time
  • Reported from pipeline 3386720 created at 2024-10-31T01:15:47Z
Field Value
Job URL rspec-system-pg14-single-db-30-32
Job total RSpec suite run time expected: 23 minutes 15.34 seconds, actual: 82 minutes 51.86 seconds
Spec file run time expected: 45.21 seconds, actual: 16 minutes 23.34 seconds
Spec file weight 19.78% of total suite run time
  • Reported from pipeline 3474017 created at 2024-11-20T04:58:58Z
Field Value
Job URL rspec-system-pg14-single-db-7-32
Job total RSpec suite run time expected: 23 minutes 8.92 seconds, actual: 80 minutes 16.45 seconds
Spec file run time expected: 49.67 seconds, actual: 16 minutes 11.51 seconds
Spec file weight 20.17% of total suite run time
  • Reported from pipeline 3516503 created at 2024-11-29T09:59:33Z
Field Value
Job URL rspec-system-pg14-single-db-17-32
Job total RSpec suite run time expected: 22 minutes 33.81 seconds, actual: 75 minutes 22.77 seconds
Spec file run time expected: 45.58 seconds, actual: 16 minutes 9.39 seconds
Spec file weight 21.43% of total suite run time
  • Reported from pipeline 3517930 created at 2024-11-29T14:10:40Z
Field Value
Job URL rspec-system-pg14-single-db-ci-connection-19-32
Job total RSpec suite run time expected: 23 minutes 27.44 seconds, actual: 76 minutes 30.66 seconds
Spec file run time expected: 48.28 seconds, actual: 16 minutes 11.39 seconds
Spec file weight 21.16% of total suite run time
  • Reported from pipeline 3524871 created at 2024-12-02T14:00:23Z
Field Value
Job URL rspec-system-pg14-single-db-18-32
Job total RSpec suite run time expected: 22 minutes 36.99 seconds, actual: 80 minutes 26.14 seconds
Spec file run time expected: 49.08 seconds, actual: 16 minutes 14.22 seconds
Spec file weight 20.19% of total suite run time
  • Reported from pipeline 3530336 created at 2024-12-03T13:11:17Z
Field Value
Job URL rspec-system-pg14-single-db-3-32
Job total RSpec suite run time expected: 23 minutes 10.25 seconds, actual: 84 minutes 52.55 seconds
Spec file run time expected: 45.12 seconds, actual: 16 minutes 10.42 seconds
Spec file weight 19.06% of total suite run time
  • Reported from pipeline 3583141 created at 2024-12-16T08:43:18Z
Field Value
Job URL rspec-system-pg14-single-db-5-32
Job total RSpec suite run time expected: 23 minutes 18.98 seconds, actual: 78 minutes 47.85 seconds
Spec file run time expected: 46.29 seconds, actual: 16 minutes 2.97 seconds
Spec file weight 20.37% of total suite run time
  • Reported from pipeline 3589415 created at 2024-12-17T12:02:43Z
Field Value
Job URL rspec-system-pg14-30-32
Job total RSpec suite run time expected: 23 minutes 9.05 seconds, actual: 79 minutes 14.98 seconds
Spec file run time expected: 48.9 seconds, actual: 16 minutes 14.45 seconds
Spec file weight 20.49% of total suite run time
  • Reported from pipeline 3595936 created at 2024-12-18T12:24:50Z
Field Value
Job URL rspec-system-pg14-2-32
Job total RSpec suite run time expected: 23 minutes 17.1 seconds, actual: 79 minutes 50.04 seconds
Spec file run time expected: 46.08 seconds, actual: 16 minutes 14.85 seconds
Spec file weight 20.35% of total suite run time
  • Reported from pipeline 3680027 created at 2025-01-15T11:27:30Z
Field Value
Job URL rspec-system-pg14-21-32
Job total RSpec suite run time expected: 23 minutes 6.08 seconds, actual: 70 minutes 23.77 seconds
Spec file run time expected: 42.31 seconds, actual: 16 minutes 1.53 seconds
Spec file weight 22.76% 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: 44.77 seconds, actual: 16 minutes 8.61 seconds
Spec file weight 21.83% of total suite run time
  • Reported from pipeline 4242331 created at 2025-06-06T16:22:00Z
Field Value
Job URL rspec-system-pg16-24-32
Job total RSpec suite run time expected: 24 minutes 58.45 seconds, actual: 81 minutes 1.87 seconds
Spec file run time expected: 49.36 seconds, actual: 16 minutes 32.81 seconds
Spec file weight 20.42% of total suite run time
  • Reported from pipeline 4251351 created at 2025-06-10T12:56:50Z
Field Value
Job URL rspec-system-pg16-single-redis-13-32
Job total RSpec suite run time expected: 24 minutes 58.52 seconds, actual: 78 minutes 4.85 seconds
Spec file run time expected: 45.71 seconds, actual: 16 minutes 6.56 seconds
Spec file weight 20.63% 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: 50.14 seconds, actual: 16 minutes 5.37 seconds
Spec file weight 21.71% of total suite run time
  • Reported from pipeline 4516623 created at 2025-08-21T21:48:46Z
Field Value
Job URL rspec-system-pg16-5-32
Job total RSpec suite run time expected: 26 minutes 59.57 seconds, actual: 81 minutes 45.49 seconds
Spec file run time expected: 47.95 seconds, actual: 16 minutes 28.3 seconds
Spec file weight 20.15% of total suite run time
  • Reported from pipeline 4518071 created at 2025-08-22T07:00:57Z
Field Value
Job URL rspec-system-pg16-5-32
Job total RSpec suite run time expected: 26 minutes 59.57 seconds, actual: 81 minutes 2.6 seconds
Spec file run time expected: 47.95 seconds, actual: 16 minutes 3.91 seconds
Spec file weight 19.82% of total suite run time
  • Reported from pipeline 4530456 created at 2025-08-26T05:46:33Z
Field Value
Job URL rspec-system-pg16-single-db-29-32
Job total RSpec suite run time expected: 26 minutes 26.0 seconds, actual: 70 minutes 27.48 seconds
Spec file run time expected: 46.65 seconds, actual: 15 minutes 58.36 seconds
Spec file weight 22.67% of total suite run time
  • Reported from pipeline 4646116 created at 2025-09-24T10:21:55Z
Field Value
Job URL rspec-system-pg16-27-32
Job total RSpec suite run time expected: 26 minutes 41.62 seconds, actual: 80 minutes 3.19 seconds
Spec file run time expected: 49.61 seconds, actual: 16 minutes 12.5 seconds
Spec file weight 20.25% of total suite run time