Skip to content

Job timeout risk: ee/spec/models/geo_node_status_spec.rb ran much longer than expected

Why was this issue created?

ee/spec/models/geo_node_status_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/models/geo_node_status_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 4750124 created at 2025-10-19T21:19:15Z
Field Value
Job URL rspec-ee-unit-pg16-single-db-25-39
Job total RSpec suite run time expected: 41 minutes 47.67 seconds, actual: 79 minutes 53.31 seconds
Spec file run time expected: 9 minutes 8.47 seconds, actual: 16 minutes 17.61 seconds
Spec file weight 20.4% of total suite run time
  • Reported from pipeline 4759398 created at 2025-10-21T15:18:09Z
Field Value
Job URL rspec-ee-unit-pg16-25-39
Job total RSpec suite run time expected: 43 minutes 46.97 seconds, actual: 71 minutes 4.05 seconds
Spec file run time expected: 9 minutes 47.16 seconds, actual: 17 minutes 0.98 second
Spec file weight 23.94% of total suite run time