Job timeout risk: spec/features/broadcast_messages_spec.rb ran much longer than expected

Why was this issue created?

spec/features/broadcast_messages_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/broadcast_messages_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 2392781 created at 2024-02-02T00:44:09Z
Field Value
Job URL rspec-system-pg14-24-32
Job total RSpec suite run time expected: 23 minutes 49.11 seconds, actual: 77 minutes 24.24 seconds
Spec file run time expected: 25.81 seconds, actual: 12 minutes 10.11 seconds
Spec file weight 15.72% of total suite run time
  • Reported from pipeline 2464909 created at 2024-02-21T06:12:59Z
Field Value
Job URL rspec-system-pg14-14-32
Job total RSpec suite run time expected: 24 minutes 12.85 seconds, actual: 80 minutes 19.51 seconds
Spec file run time expected: 25.2 seconds, actual: 16 minutes 27.09 seconds
Spec file weight 20.48% of total suite run time
  • Reported from pipeline 2547152 created at 2024-03-15T01:15:54Z
Field Value
Job URL rspec-system-pg16-9-32
Job total RSpec suite run time expected: 23 minutes 49.02 seconds, actual: 78 minutes 15.24 seconds
Spec file run time expected: 26.02 seconds, actual: 12 minutes 34.26 seconds
Spec file weight 16.06% of total suite run time
  • Reported from pipeline 2689638 created at 2024-04-24T11:54:51Z
Field Value
Job URL rspec-system-pg14-single-db-14-32
Job total RSpec suite run time expected: 21 minutes 17.41 seconds, actual: 80 minutes 24.26 seconds
Spec file run time expected: 18.47 seconds, actual: 16 minutes 17.01 seconds
Spec file weight 20.25% of total suite run time
  • Reported from pipeline 2690083 created at 2024-04-24T13:05:36Z
Field Value
Job URL rspec-system-pg14-14-32
Job total RSpec suite run time expected: 21 minutes 17.41 seconds, actual: 80 minutes 20.01 seconds
Spec file run time expected: 18.47 seconds, actual: 15 minutes 15.65 seconds
Spec file weight 19.0% of total suite run time
  • Reported from pipeline 2815060 created at 2024-05-24T15:10:38Z
Field Value
Job URL rspec-system-pg14-31-32
Job total RSpec suite run time expected: 19 minutes 51.24 seconds, actual: 80 minutes 26.47 seconds
Spec file run time expected: 21.24 seconds, actual: 16 minutes 27.72 seconds
Spec file weight 20.46% of total suite run time
  • Reported from pipeline 3030955 created at 2024-07-23T05:56:12Z
Field Value
Job URL rspec-system-pg14-24-32
Job total RSpec suite run time expected: 23 minutes 52.65 seconds, actual: 83 minutes 45.27 seconds
Spec file run time expected: 46.46 seconds, actual: 21 minutes 46.08 seconds
Spec file weight 25.99% of total suite run time
  • Reported from pipeline 3193243 created at 2024-09-10T06:34:54Z
Field Value
Job URL rspec-system-pg14-26-32
Job total RSpec suite run time expected: 24 minutes 53.52 seconds, actual: 79 minutes 57.59 seconds
Spec file run time expected: 41.99 seconds, actual: 15 minutes 15.79 seconds
Spec file weight 19.09% of total suite run time
  • Reported from pipeline 3281411 created at 2024-10-06T19:10:53Z
Field Value
Job URL rspec-system-pg14-no-gitaly-transactions-9-32
Job total RSpec suite run time expected: 22 minutes 19.21 seconds, actual: 79 minutes 40.73 seconds
Spec file run time expected: 39.04 seconds, actual: 16 minutes 16.84 seconds
Spec file weight 20.43% of total suite run time
  • Reported from pipeline 3349417 created at 2024-10-23T01:42:37Z
Field Value
Job URL rspec-system-pg14-9-32
Job total RSpec suite run time expected: 24 minutes 2.6 seconds, actual: 80 minutes 22.29 seconds
Spec file run time expected: 35.97 seconds, actual: 21 minutes 30.68 seconds
Spec file weight 26.76% of total suite run time
  • Reported from pipeline 3395954 created at 2024-11-01T16:21:33Z
Field Value
Job URL rspec-system-pg14-single-redis-26-32
Job total RSpec suite run time expected: 21 minutes 3.96 seconds, actual: 80 minutes 15.57 seconds
Spec file run time expected: 33.52 seconds, actual: 21 minutes 29.02 seconds
Spec file weight 26.77% of total suite run time
  • Reported from pipeline 3396312 created at 2024-11-01T17:27:40Z
Field Value
Job URL rspec-system-pg14-26-32
Job total RSpec suite run time expected: 21 minutes 3.96 seconds, actual: 80 minutes 0.4 second
Spec file run time expected: 33.52 seconds, actual: 21 minutes 24.54 seconds
Spec file weight 26.76% of total suite run time
  • Reported from pipeline 3562225 created at 2024-12-10T14:19:39Z
Field Value
Job URL rspec-system-pg14-19-32
Job total RSpec suite run time expected: 23 minutes 16.23 seconds, actual: 79 minutes 54.27 seconds
Spec file run time expected: 48.79 seconds, actual: 30 minutes 47.89 seconds
Spec file weight 38.54% of total suite run time
  • Reported from pipeline 3566263 created at 2024-12-11T09:29:45Z
Field Value
Job URL rspec-system-pg14-single-redis-18-32
Job total RSpec suite run time expected: 22 minutes 58.51 seconds, actual: 76 minutes 21.44 seconds
Spec file run time expected: 47.79 seconds, actual: 27 minutes 39.77 seconds
Spec file weight 36.23% of total suite run time
  • Reported from pipeline 3566505 created at 2024-12-11T10:16:48Z
Field Value
Job URL rspec-system-pg14-single-db-18-32
Job total RSpec suite run time expected: 22 minutes 58.51 seconds, actual: 76 minutes 32.44 seconds
Spec file run time expected: 47.79 seconds, actual: 30 minutes 50.07 seconds
Spec file weight 40.29% of total suite run time
  • Reported from pipeline 3566714 created at 2024-12-11T10:59:56Z
Field Value
Job URL rspec-system-pg14-18-32
Job total RSpec suite run time expected: 22 minutes 58.51 seconds, actual: 76 minutes 27.35 seconds
Spec file run time expected: 47.79 seconds, actual: 18 minutes 21.09 seconds
Spec file weight 24.0% of total suite run time
  • Reported from pipeline 3589193 created at 2024-12-17T11:41:03Z
Field Value
Job URL rspec-system-pg14-single-db-ci-connection-31-32
Job total RSpec suite run time expected: 23 minutes 9.13 seconds, actual: 82 minutes 2.03 seconds
Spec file run time expected: 46.3 seconds, actual: 30 minutes 46.96 seconds
Spec file weight 37.52% of total suite run time
  • Reported from pipeline 3593512 created at 2024-12-18T02:39:15Z
Field Value
Job URL rspec-system-pg14-single-db-ci-connection-5-32
Job total RSpec suite run time expected: 23 minutes 35.29 seconds, actual: 82 minutes 29.02 seconds
Spec file run time expected: 46.88 seconds, actual: 30 minutes 42.57 seconds
Spec file weight 37.23% of total suite run time
  • Reported from pipeline 3598068 created at 2024-12-18T17:46:26Z
Field Value
Job URL rspec-system-pg14-single-redis-28-32
Job total RSpec suite run time expected: 24 minutes 8.83 seconds, actual: 76 minutes 43.02 seconds
Spec file run time expected: 47.82 seconds, actual: 24 minutes 29.88 seconds
Spec file weight 31.93% of total suite run time
  • Reported from pipeline 3600754 created at 2024-12-19T07:17:21Z
Field Value
Job URL rspec-system-pg14-20-32
Job total RSpec suite run time expected: 24 minutes 15.32 seconds, actual: 77 minutes 30.33 seconds
Spec file run time expected: 44.07 seconds, actual: 24 minutes 28.52 seconds
Spec file weight 31.58% of total suite run time
  • Reported from pipeline 3621738 created at 2024-12-30T05:52:36Z
Field Value
Job URL rspec-system-pg14-single-redis-29-32
Job total RSpec suite run time expected: 23 minutes 35.73 seconds, actual: 76 minutes 0.95 second
Spec file run time expected: 50.17 seconds, actual: 15 minutes 15.83 seconds
Spec file weight 20.08% of total suite run time
  • Reported from pipeline 3636719 created at 2025-01-06T09:10:49Z
Field Value
Job URL rspec-system-pg14-no-gitaly-transactions-18-32
Job total RSpec suite run time expected: 23 minutes 12.56 seconds, actual: 70 minutes 39.94 seconds
Spec file run time expected: 47.48 seconds, actual: 32 minutes 40.1 seconds
Spec file weight 46.23% of total suite run time
  • Reported from pipeline 3780283 created at 2025-02-07T13:59:59Z
Field Value
Job URL rspec-system-pg14-16-32
Job total RSpec suite run time expected: 24 minutes 1.64 seconds, actual: 75 minutes 39.41 seconds
Spec file run time expected: 47.89 seconds, actual: 21 minutes 31.22 seconds
Spec file weight 28.44% of total suite run time
  • Reported from pipeline 3827575 created at 2025-02-20T02:56:13Z
Field Value
Job URL rspec-system-pg14-single-db-8-32
Job total RSpec suite run time expected: 25 minutes 2.41 seconds, actual: 71 minutes 53.71 seconds
Spec file run time expected: 48.81 seconds, actual: 30 minutes 44.28 seconds
Spec file weight 42.75% of total suite run time
  • Reported from pipeline 3965472 created at 2025-03-26T06:33:35Z
Field Value
Job URL rspec-system-pg16-single-db-13-32
Job total RSpec suite run time expected: 24 minutes 41.69 seconds, actual: 78 minutes 0.93 second
Spec file run time expected: 51.05 seconds, actual: 24 minutes 36.04 seconds
Spec file weight 31.53% of total suite run time
  • Reported from pipeline 3993006 created at 2025-04-02T01:15:57Z
Field Value
Job URL rspec-system-pg15-6-32
Job total RSpec suite run time expected: 26 minutes 13.13 seconds, actual: 72 minutes 43.72 seconds
Spec file run time expected: 52.01 seconds, actual: 30 minutes 51.96 seconds
Spec file weight 42.44% of total suite run time
  • Reported from pipeline 4055478 created at 2025-04-17T10:11:57Z
Field Value
Job URL rspec-system-pg16-28-32
Job total RSpec suite run time expected: 24 minutes 27.0 seconds, actual: 74 minutes 17.92 seconds
Spec file run time expected: 48.59 seconds, actual: 30 minutes 39.73 seconds
Spec file weight 41.27% of total suite run time
  • Reported from pipeline 4159232 created at 2025-05-15T08:51:40Z
Field Value
Job URL rspec-system-pg16-20-32
Job total RSpec suite run time expected: 24 minutes 22.34 seconds, actual: 78 minutes 24.4 seconds
Spec file run time expected: 52.71 seconds, actual: 21 minutes 24.45 seconds
Spec file weight 27.3% of total suite run time
  • Reported from pipeline 4171200 created at 2025-05-19T09:10:49Z
Field Value
Job URL rspec-system-pg16-7-32
Job total RSpec suite run time expected: 23 minutes 59.78 seconds, actual: 76 minutes 51.34 seconds
Spec file run time expected: 52.68 seconds, actual: 18 minutes 23.81 seconds
Spec file weight 23.94% of total suite run time
  • Reported from pipeline 4327494 created at 2025-07-02T08:18:22Z
Field Value
Job URL rspec-system-pg16-30-32
Job total RSpec suite run time expected: 24 minutes 54.29 seconds, actual: 77 minutes 15.21 seconds
Spec file run time expected: 56.09 seconds, actual: 30 minutes 54.36 seconds
Spec file weight 40.01% of total suite run time
  • Reported from pipeline 4329471 created at 2025-07-02T15:50:50Z
Field Value
Job URL rspec-system-pg16-31-32
Job total RSpec suite run time expected: 24 minutes 50.42 seconds, actual: 82 minutes 13.12 seconds
Spec file run time expected: 54.84 seconds, actual: 30 minutes 35.57 seconds
Spec file weight 37.21% of total suite run time
  • Reported from pipeline 4339654 created at 2025-07-05T19:01:43Z
Field Value
Job URL rspec-system-pg16-20-32
Job total RSpec suite run time expected: 24 minutes 45.41 seconds, actual: 76 minutes 17.73 seconds
Spec file run time expected: 58.05 seconds, actual: 27 minutes 35.78 seconds
Spec file weight 36.17% of total suite run time
  • Reported from pipeline 4411064 created at 2025-07-24T13:49:03Z
Field Value
Job URL rspec-system-pg16-10-32
Job total RSpec suite run time expected: 25 minutes 40.23 seconds, actual: 76 minutes 29.16 seconds
Spec file run time expected: 52.15 seconds, actual: 15 minutes 13.94 seconds
Spec file weight 19.92% of total suite run time
Edited by 🤖 GitLab Bot 🤖