My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_controllers / Build ID 6a06d69a-3653-4e02-8041-a3b9d488de96

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
2e5f0d302fbd346a36f0bf34160c087eac4d1952 refs/heads/knapsack_fine_tuning 8 2022-11-30 08:10:20 UTC 2022-11-30 08:11:53 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 23.21 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2022-11-30 08:10:20 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 28.718 seconds.

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

Node index Finish time Execution time
0 Finished Last 2022-11-30 08:11:43 UTC 1 minute 50.415 seconds
1 2022-11-30 08:10:28 UTC 1 minute 17.629 seconds
2 2022-11-30 08:10:50 UTC 1 minute 17.312 seconds
3 Finished First 2022-11-30 08:10:20 UTC 1 minute 13.159 seconds
4 2022-11-30 08:10:27 UTC 1 minute 11.594 seconds
5 2022-11-30 08:10:33 UTC 1 minute 14.737 seconds
6 2022-11-30 08:11:35 UTC 1 minute 49.011 seconds
7 2022-11-30 08:11:41 UTC 1 minute 55.886 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
072129bc-cfd0-4cc8-bcf2-f5f1a455a83d 8 11 minutes 49.74 seconds 1 minute 28.718 seconds 6.172 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 28.718 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 86 entries files) Execution time
spec/controllers/api/v0/orders_controller_spec.rb 1 minute 34.89 seconds
spec/controllers/api/v0/shipments_controller_spec.rb 52.268 seconds
spec/controllers/split_checkout_controller_spec.rb 42.058 seconds
spec/controllers/admin/bulk_line_items_controller_spec.rb 40.934 seconds
spec/controllers/spree/orders_controller_spec.rb 39.705 seconds
spec/controllers/spree/admin/orders_controller_spec.rb 39.547 seconds
spec/controllers/admin/subscriptions_controller_spec.rb 38.069 seconds
spec/controllers/api/v0/products_controller_spec.rb 30.872 seconds
spec/controllers/admin/reports_controller_spec.rb 29.493 seconds
spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb 22.037 seconds
spec/controllers/api/v0/variants_controller_spec.rb 20.685 seconds
spec/controllers/line_items_controller_spec.rb 19.548 seconds
spec/controllers/spree/admin/adjustments_controller_spec.rb 16.567 seconds
spec/controllers/api/v0/order_cycles_controller_spec.rb 16.217 seconds
spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb 13.578 seconds
spec/controllers/spree/users_controller_spec.rb 12.909 seconds
spec/controllers/groups_controller_spec.rb 12.43 seconds
spec/controllers/admin/proxy_orders_controller_spec.rb 11.474 seconds
spec/controllers/enterprises_controller_spec.rb 10.932 seconds
spec/controllers/payment_gateways/stripe_controller_spec.rb 10.363 seconds
spec/controllers/admin/enterprises_controller_spec.rb 10.228 seconds
spec/controllers/user_passwords_controller_spec.rb 9.928 seconds
spec/controllers/checkout_controller_spec.rb 8.323 seconds
spec/controllers/admin/schedules_controller_spec.rb 6.867 seconds
spec/controllers/admin/variant_overrides_controller_spec.rb 6.815 seconds
spec/controllers/admin/customers_controller_spec.rb 5.95 seconds
spec/controllers/spree/admin/products_controller_spec.rb 5.715 seconds
spec/controllers/spree/admin/shipping_methods_controller_spec.rb 5.272 seconds
spec/controllers/spree/admin/variants_controller_spec.rb 5.198 seconds
spec/controllers/api/v0/exchange_products_controller_spec.rb 5.166 seconds
spec/controllers/admin/order_cycles_controller_spec.rb 4.865 seconds
spec/controllers/spree/admin/orders/customer_details_controller_spec.rb 4.092 seconds
spec/controllers/api/v0/reports/packing_report_spec.rb 3.976 seconds
spec/controllers/shop_controller_spec.rb 3.69 seconds
spec/controllers/admin/subscription_line_items_controller_spec.rb 3.657 seconds
spec/controllers/payment_gateways/paypal_controller_spec.rb 3.569 seconds
spec/controllers/admin/inventory_items_controller_spec.rb 3.462 seconds
spec/controllers/spree/admin/payment_methods_controller_spec.rb 3.408 seconds
spec/controllers/spree/admin/orders/invoices_spec.rb 3.254 seconds
spec/controllers/cart_controller_spec.rb 2.602 seconds
spec/controllers/spree/admin/return_authorizations_controller_spec.rb 2.065 seconds
spec/controllers/shops_controller_spec.rb 1.935 seconds
spec/controllers/spree/admin/invoices_controller_spec.rb 1.819 seconds
spec/controllers/base_controller_spec.rb 1.644 seconds
spec/controllers/spree/credit_cards_controller_spec.rb 1.506 seconds
spec/controllers/admin/stripe_accounts_controller_spec.rb 1.479 seconds
spec/controllers/api/v0/shops_controller_spec.rb 1.458 seconds
spec/controllers/api/v0/product_images_controller_spec.rb 1.285 seconds
spec/controllers/api/v0/promo_images_controller_spec.rb 1.28 seconds
spec/controllers/api/v0/taxons_controller_spec.rb 1.248 seconds
spec/controllers/spree/admin/search_controller_spec.rb 1.132 seconds
spec/controllers/admin/manager_invitations_controller_spec.rb 1.119 seconds
spec/controllers/api/v0/enterprises_controller_spec.rb 1.093 seconds
spec/controllers/api/v0/logos_controller_spec.rb 1.008 seconds
spec/controllers/user_confirmations_controller_spec.rb 0.832 seconds
spec/controllers/spree/admin/overview_controller_spec.rb 0.778 seconds
spec/controllers/admin/column_preferences_controller_spec.rb 0.687 seconds
spec/controllers/api/v0/terms_and_conditions_controller_spec.rb 0.629 seconds
spec/controllers/api/v0/customers_controller_spec.rb 0.602 seconds
spec/controllers/stripe/callbacks_controller_spec.rb 0.581 seconds
spec/controllers/spree/admin/tax_rates_controller_spec.rb 0.507 seconds
spec/controllers/api/v0/states_controller_spec.rb 0.398 seconds
spec/controllers/spree/api_keys_controller_spec.rb 0.361 seconds
spec/controllers/api/v0/reports_controller_spec.rb 0.338 seconds
spec/controllers/admin/stripe_connect_settings_controller_spec.rb 0.317 seconds
spec/controllers/admin/tag_rules_controller_spec.rb 0.313 seconds
spec/controllers/admin/invoice_settings_controller_spec.rb 0.288 seconds
spec/controllers/spree/admin/mail_methods_controller_spec.rb 0.268 seconds
spec/controllers/stripe/webhooks_controller_spec.rb 0.236 seconds
spec/controllers/spree/user_sessions_controller_spec.rb 0.205 seconds
spec/controllers/admin/terms_of_service_files_controller_spec.rb 0.198 seconds
spec/controllers/spree/admin/users_controller_spec.rb 0.186 seconds
spec/controllers/registration_controller_spec.rb 0.183 seconds
spec/controllers/api/v0/enterprise_fees_controller_spec.rb 0.159 seconds
spec/controllers/spree/admin/shipping_categories_controller_spec.rb 0.159 seconds
spec/controllers/spree/admin/base_controller_spec.rb 0.149 seconds
spec/controllers/api/v0/taxonomies_controller_spec.rb 0.126 seconds
spec/controllers/api/v0/base_controller_spec.rb 0.104 seconds
spec/controllers/admin/matomo_settings_controller_spec.rb 0.101 seconds
spec/controllers/spree/admin/tax_settings_controller_spec.rb 0.089 seconds
spec/controllers/user_registrations_controller_spec.rb 0.075 seconds
spec/controllers/concerns/address_transformation_spec.rb 0.064 seconds
spec/controllers/spree/admin/general_settings_controller_spec.rb 0.063 seconds
spec/controllers/spree/admin/countries_controller_spec.rb 0.058 seconds
spec/controllers/api/v0/statuses_controller_spec.rb 0.03 seconds
spec/controllers/concerns/raising_parameters_spec.rb 0.017 seconds

Start using Knapsack Pro

Sign up and speed up your tests.