My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_controllers / Build ID 1c2598d7-4387-433d-90ef-4ff5a5386286

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
ad78c3ddcff852b08c0d4101cc0a9ae82a50b7f8 refs/heads/fix_rspec_mocks_deprecation_2 8 2022-12-06 15:35:51 UTC 2022-12-06 15:38:34 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 2 minutes 35.811 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2022-12-06 15:35:51 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 36.546 seconds.

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

Node index Finish time Execution time
0 2022-12-06 15:37:51 UTC 2 minutes 16.209 seconds
1 Finished First 2022-12-06 15:35:51 UTC 1 minute 13.893 seconds
2 2022-12-06 15:36:14 UTC 1 minute 12.778 seconds
3 2022-12-06 15:36:11 UTC 1 minute 13.979 seconds
4 2022-12-06 15:37:25 UTC 2 minutes 4.091 seconds
5 2022-12-06 15:36:08 UTC 1 minute 20.684 seconds
6 2022-12-06 15:36:17 UTC 1 minute 9.774 seconds
7 Finished Last 2022-12-06 15:38:27 UTC 2 minutes 20.958 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
18a3be3e-4e9d-4d44-8b00-683d8935b123 8 12 minutes 52.362 seconds 1 minute 36.546 seconds 1.526 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 36.546 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 38.071 seconds
spec/controllers/admin/bulk_line_items_controller_spec.rb 1 minute 6.254 seconds
spec/controllers/spree/admin/orders_controller_spec.rb 48.228 seconds
spec/controllers/api/v0/shipments_controller_spec.rb 46.478 seconds
spec/controllers/admin/subscriptions_controller_spec.rb 43.115 seconds
spec/controllers/api/v0/products_controller_spec.rb 39.419 seconds
spec/controllers/spree/orders_controller_spec.rb 38.715 seconds
spec/controllers/split_checkout_controller_spec.rb 35.289 seconds
spec/controllers/admin/reports_controller_spec.rb 26.211 seconds
spec/controllers/line_items_controller_spec.rb 24.737 seconds
spec/controllers/api/v0/variants_controller_spec.rb 23.77 seconds
spec/controllers/admin/proxy_orders_controller_spec.rb 19.441 seconds
spec/controllers/api/v0/order_cycles_controller_spec.rb 16.985 seconds
spec/controllers/spree/admin/orders/payments/payments_controller_spec.rb 16.618 seconds
spec/controllers/spree/admin/adjustments_controller_spec.rb 15.895 seconds
spec/controllers/groups_controller_spec.rb 14.352 seconds
spec/controllers/spree/users_controller_spec.rb 14.326 seconds
spec/controllers/enterprises_controller_spec.rb 13.779 seconds
spec/controllers/spree/admin/orders/payments/payments_controller_refunds_spec.rb 11.894 seconds
spec/controllers/shops_controller_spec.rb 11.437 seconds
spec/controllers/user_passwords_controller_spec.rb 10.613 seconds
spec/controllers/payment_gateways/stripe_controller_spec.rb 9.647 seconds
spec/controllers/spree/admin/products_controller_spec.rb 8.198 seconds
spec/controllers/admin/enterprises_controller_spec.rb 7.438 seconds
spec/controllers/admin/customers_controller_spec.rb 7.411 seconds
spec/controllers/admin/variant_overrides_controller_spec.rb 7.368 seconds
spec/controllers/spree/admin/variants_controller_spec.rb 7.079 seconds
spec/controllers/admin/order_cycles_controller_spec.rb 6.325 seconds
spec/controllers/checkout_controller_spec.rb 5.969 seconds
spec/controllers/admin/subscription_line_items_controller_spec.rb 5.682 seconds
spec/controllers/spree/admin/orders/customer_details_controller_spec.rb 5.234 seconds
spec/controllers/api/v0/reports/packing_report_spec.rb 4.6 seconds
spec/controllers/cart_controller_spec.rb 4.512 seconds
spec/controllers/api/v0/exchange_products_controller_spec.rb 4.443 seconds
spec/controllers/spree/admin/shipping_methods_controller_spec.rb 3.971 seconds
spec/controllers/admin/schedules_controller_spec.rb 3.87 seconds
spec/controllers/admin/inventory_items_controller_spec.rb 3.84 seconds
spec/controllers/payment_gateways/paypal_controller_spec.rb 3.774 seconds
spec/controllers/spree/admin/payment_methods_controller_spec.rb 3.189 seconds
spec/controllers/shop_controller_spec.rb 2.841 seconds
spec/controllers/spree/admin/orders/invoices_spec.rb 2.585 seconds
spec/controllers/spree/credit_cards_controller_spec.rb 2.535 seconds
spec/controllers/base_controller_spec.rb 2.076 seconds
spec/controllers/api/v0/shops_controller_spec.rb 1.74 seconds
spec/controllers/spree/admin/return_authorizations_controller_spec.rb 1.703 seconds
spec/controllers/admin/manager_invitations_controller_spec.rb 1.582 seconds
spec/controllers/admin/stripe_accounts_controller_spec.rb 1.532 seconds
spec/controllers/spree/admin/overview_controller_spec.rb 1.268 seconds
spec/controllers/api/v0/enterprises_controller_spec.rb 1.187 seconds
spec/controllers/api/v0/promo_images_controller_spec.rb 1.147 seconds
spec/controllers/spree/admin/search_controller_spec.rb 1.103 seconds
spec/controllers/spree/admin/invoices_controller_spec.rb 1.075 seconds
spec/controllers/api/v0/customers_controller_spec.rb 1.027 seconds
spec/controllers/api/v0/logos_controller_spec.rb 0.976 seconds
spec/controllers/api/v0/taxons_controller_spec.rb 0.959 seconds
spec/controllers/api/v0/product_images_controller_spec.rb 0.944 seconds
spec/controllers/spree/admin/tax_rates_controller_spec.rb 0.806 seconds
spec/controllers/stripe/callbacks_controller_spec.rb 0.65 seconds
spec/controllers/api/v0/reports_controller_spec.rb 0.615 seconds
spec/controllers/spree/api_keys_controller_spec.rb 0.591 seconds
spec/controllers/user_confirmations_controller_spec.rb 0.513 seconds
spec/controllers/api/v0/states_controller_spec.rb 0.417 seconds
spec/controllers/spree/admin/mail_methods_controller_spec.rb 0.368 seconds
spec/controllers/admin/tag_rules_controller_spec.rb 0.353 seconds
spec/controllers/api/v0/terms_and_conditions_controller_spec.rb 0.35 seconds
spec/controllers/admin/invoice_settings_controller_spec.rb 0.342 seconds
spec/controllers/admin/terms_of_service_files_controller_spec.rb 0.296 seconds
spec/controllers/admin/column_preferences_controller_spec.rb 0.276 seconds
spec/controllers/admin/stripe_connect_settings_controller_spec.rb 0.266 seconds
spec/controllers/registration_controller_spec.rb 0.258 seconds
spec/controllers/stripe/webhooks_controller_spec.rb 0.234 seconds
spec/controllers/api/v0/enterprise_fees_controller_spec.rb 0.224 seconds
spec/controllers/spree/admin/users_controller_spec.rb 0.172 seconds
spec/controllers/spree/admin/shipping_categories_controller_spec.rb 0.163 seconds
spec/controllers/spree/user_sessions_controller_spec.rb 0.162 seconds
spec/controllers/admin/matomo_settings_controller_spec.rb 0.153 seconds
spec/controllers/user_registrations_controller_spec.rb 0.124 seconds
spec/controllers/spree/admin/tax_settings_controller_spec.rb 0.111 seconds
spec/controllers/spree/admin/base_controller_spec.rb 0.109 seconds
spec/controllers/api/v0/taxonomies_controller_spec.rb 0.094 seconds
spec/controllers/api/v0/base_controller_spec.rb 0.078 seconds
spec/controllers/concerns/address_transformation_spec.rb 0.057 seconds
spec/controllers/spree/admin/countries_controller_spec.rb 0.056 seconds
spec/controllers/spree/admin/general_settings_controller_spec.rb 0.048 seconds
spec/controllers/api/v0/statuses_controller_spec.rb 0.033 seconds
spec/controllers/concerns/raising_parameters_spec.rb 0.029 seconds

Start using Knapsack Pro

Sign up and speed up your tests.