My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_controllers / Build ID 2490765c-3550-4917-82ec-01f9443a50a2

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
8564177902710ef9155569925afdfc195f1ca68b refs/pull/9895/merge 10 2022-11-06 17:29:44 UTC 2022-11-06 17:31:06 UTC

Parallel CI Nodes

All parallel CI nodes finished their work.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 31.518 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2022-11-06 17:30:26 UTC. CI nodes that finished at least 60s later are highlighted.

The reason for slow CI nodes might be too large test files (see the Test Files tab). You may want to try the Knapsack Pro Queue Mode (Ruby) to improve the distribution of your tests. Learn more about dynamic test suite split here.

Note: if you run a CI build for the same commit again (for instance when you retry a CI build), then you will see the data updated below. Some of the nodes might be highlighted until the whole CI build is complete.

The average test execution time per CI node is 1 minute 35.337 seconds.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 31.518 seconds. The shorter this time is, the better.

Node index Finish time Execution time
0 Finished Last 2022-11-06 17:31:57 UTC 2 minutes 8.183 seconds
1 2022-11-06 17:31:45 UTC 1 minute 57.185 seconds
2 2022-11-06 17:31:42 UTC 2 minutes 11.165 seconds
3 Finished First 2022-11-06 17:30:26 UTC 38.543 seconds
4 2022-11-06 17:30:40 UTC 1 minute 2.976 seconds
5 2022-11-06 17:30:39 UTC 1 minute 24.608 seconds
6 2022-11-06 17:31:54 UTC 2 minutes 3.226 seconds
7 2022-11-06 17:31:24 UTC 1 minute 33.932 seconds
8 2022-11-06 17:30:41 UTC 1 minute 28.646 seconds
9 2022-11-06 17:31:22 UTC 1 minute 24.907 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
247dd616-9289-4120-9c2c-908ef8765802 10 15 minutes 53.366 seconds 1 minute 35.337 seconds 6.575 seconds

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 1 minute 35.337 seconds are a bottleneck because they take more time than the expected execution time per parallel CI node.


You can enable auto split of slow RSpec test files by test examples on parallel CI nodes to run your CI builds faster.

The more parallel CI nodes you use, the more test files will be split by test examples.

We recommend running at least 2 CI builds after you increase the number of parallel CI nodes. This way Knapsack Pro API can learn about your test examples defined in the slow test files to split tests better in future CI builds.


Test file path (Displaying all 94 entries files) Execution time
spec/models/product_importer_spec.rb 1 minute 41.911 seconds
spec/controllers/api/v0/orders_controller_spec.rb 1 minute 21.973 seconds
spec/models/order_cycle_spec.rb 1 minute 4.15 seconds
spec/models/spree/line_item_spec.rb 1 minute 0.542 seconds
spec/controllers/api/v0/shipments_controller_spec.rb 54.17 seconds
spec/controllers/admin/subscriptions_controller_spec.rb 51.755 seconds
spec/models/spree/product_spec.rb 50.551 seconds
spec/models/spree/return_authorization_spec.rb 42.382 seconds
spec/models/spree/variant_spec.rb 41.949 seconds
spec/models/spree/order_inventory_spec.rb 38.053 seconds
spec/controllers/spree/orders_controller_spec.rb 37.883 seconds
spec/controllers/split_checkout_controller_spec.rb 32.926 seconds
spec/models/spree/ability_spec.rb 22.751 seconds
spec/models/spree/stock/availability_validator_spec.rb 16.102 seconds
spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb 15.164 seconds
spec/models/spree/shipment_spec.rb 14.232 seconds
spec/models/exchange_spec.rb 14.004 seconds
spec/controllers/api/v0/variants_controller_spec.rb 13.839 seconds
spec/models/enterprise_relationship_spec.rb 13.647 seconds
spec/controllers/user_passwords_controller_spec.rb 13.571 seconds
spec/models/spree/order_contents_spec.rb 12.773 seconds
spec/controllers/enterprises_controller_spec.rb 12.38 seconds
spec/controllers/spree/users_controller_spec.rb 11.524 seconds
spec/controllers/groups_controller_spec.rb 9.916 seconds
spec/controllers/admin/variant_overrides_controller_spec.rb 8.998 seconds
spec/models/spree/stock_location_spec.rb 8.228 seconds
spec/models/variant_override_spec.rb 8.054 seconds
spec/controllers/spree/admin/products_controller_spec.rb 6.532 seconds
spec/models/concerns/variant_stock_spec.rb 6.351 seconds
spec/controllers/admin/customers_controller_spec.rb 6.288 seconds
spec/controllers/api/v0/exchange_products_controller_spec.rb 6.082 seconds
spec/controllers/spree/admin/shipping_methods_controller_spec.rb 5.076 seconds
spec/models/spree/inventory_unit_spec.rb 5.021 seconds
spec/models/spree/gateway/stripe_sca_spec.rb 4.877 seconds
spec/controllers/payment_gateways/paypal_controller_spec.rb 4.326 seconds
spec/models/spree/order/state_machine_spec.rb 3.649 seconds
spec/controllers/cart_controller_spec.rb 3.588 seconds
spec/models/spree/order/checkout_spec.rb 3.548 seconds
spec/controllers/spree/admin/orders/invoices_spec.rb 3.307 seconds
spec/models/product_import/inventory_reset_strategy_spec.rb 3.254 seconds
spec/controllers/admin/subscription_line_items_controller_spec.rb 3.144 seconds
spec/models/spree/order/adjustments_spec.rb 3.044 seconds
spec/models/spree/taxon_spec.rb 2.806 seconds
spec/models/subscription_spec.rb 2.637 seconds
spec/models/spree/user_spec.rb 2.53 seconds
spec/models/concerns/order_shipment_spec.rb 1.954 seconds
spec/models/spree/image_spec.rb 1.748 seconds
spec/controllers/base_controller_spec.rb 1.646 seconds
spec/models/spree/credit_card_spec.rb 1.575 seconds
spec/controllers/api/v0/taxons_controller_spec.rb 1.341 seconds
spec/controllers/api/v0/shops_controller_spec.rb 1.302 seconds
spec/controllers/admin/manager_invitations_controller_spec.rb 1.188 seconds
spec/models/calculator/price_sack_spec.rb 1.025 seconds
spec/models/spree/zone_spec.rb 1.001 seconds
spec/controllers/api/v0/promo_images_controller_spec.rb 0.884 seconds
spec/models/customer_spec.rb 0.864 seconds
spec/controllers/stripe/callbacks_controller_spec.rb 0.765 seconds
spec/models/spree/preferences/preferable_spec.rb 0.674 seconds
spec/models/enterprise_group_spec.rb 0.67 seconds
spec/models/concerns/balance_spec.rb 0.622 seconds
spec/models/concerns/calculated_adjustments_spec.rb 0.62 seconds
spec/models/tag_rule/filter_payment_methods_spec.rb 0.553 seconds
spec/controllers/spree/api_keys_controller_spec.rb 0.548 seconds
spec/controllers/user_confirmations_controller_spec.rb 0.48 seconds
spec/models/spree/classification_spec.rb 0.426 seconds
spec/models/calculator/flat_percent_item_total_spec.rb 0.388 seconds
spec/models/calculator/flexi_rate_spec.rb 0.368 seconds
spec/controllers/api/v0/states_controller_spec.rb 0.366 seconds
spec/models/spree/product_property_spec.rb 0.362 seconds
spec/models/spree/stock/quantifier_spec.rb 0.342 seconds
spec/controllers/admin/terms_of_service_files_controller_spec.rb 0.292 seconds
spec/controllers/admin/stripe_connect_settings_controller_spec.rb 0.284 seconds
spec/models/spree/preference_spec.rb 0.136 seconds
spec/models/adjustment_metadata_spec.rb 0.134 seconds
spec/controllers/api/v0/enterprise_fees_controller_spec.rb 0.128 seconds
spec/models/spree/addresses_spec.rb 0.126 seconds
spec/models/spree/order/address_spec.rb 0.124 seconds
spec/models/spree/preferences/store_spec.rb 0.121 seconds
spec/controllers/spree/admin/base_controller_spec.rb 0.115 seconds
spec/controllers/spree/admin/tax_settings_controller_spec.rb 0.095 seconds
spec/controllers/spree/admin/countries_controller_spec.rb 0.09 seconds
spec/models/tag_rule/filter_products_spec.rb 0.087 seconds
spec/models/tag_rule/filter_order_cycles_spec.rb 0.081 seconds
spec/models/spree/taxonomy_spec.rb 0.073 seconds
spec/models/product_import/entry_processor_spec.rb 0.055 seconds
spec/controllers/concerns/address_transformation_spec.rb 0.048 seconds
spec/models/product_import/reset_absent_spec.rb 0.04 seconds
spec/models/spree/gateway_spec.rb 0.035 seconds
spec/models/subscription_line_item_spec.rb 0.035 seconds
spec/controllers/api/v0/statuses_controller_spec.rb 0.032 seconds
spec/models/spree/state_spec.rb 0.026 seconds
spec/models/calculator/flat_rate_spec.rb 0.022 seconds
spec/models/spree/app_configuration_spec.rb 0.021 seconds
spec/models/content_configuration_spec.rb 0.009 seconds

Start using Knapsack Pro

Sign up and speed up your tests.