Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_models / Build ID b0c2b24d-824a-4c43-99dc-0b6ff5edf757

Public     Back to CI builds

Build Details

Commit hash Branch Nodes Tests execution time Created at
8fd6f21 refs/heads/add_enterprise_fees_w_tax_report_by_producer 7 12 minutes 20.87 seconds   7% 2023-05-26 15:26: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 3 minutes 50.52 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-05-26 15:26:34 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 45.84 seconds.

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

Node index Finish time Tests execution time (12 minutes 20.87 seconds)
0 2023-05-26 15:28:24 UTC 2 minutes 31.78 seconds
1 Finished First 2023-05-26 15:26:34 UTC 1 minute 18.01 seconds
2 2023-05-26 15:26:48 UTC 1 minute 36.44 seconds
3 2023-05-26 15:26:43 UTC 1 minute 35.63 seconds
4 2023-05-26 15:28:06 UTC 2 minutes 17.29 seconds
5 2023-05-26 15:26:58 UTC 1 minute 24.95 seconds
6 Finished Last 2023-05-26 15:30:25 UTC 1 minute 36.79 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 45.84 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 95 entries files) Execution time
spec/models/product_importer_spec.rb 1 minute 58.78 seconds 37% Trend
spec/models/spree/order_spec.rb 57.6 seconds 8% Trend
spec/models/order_cycle_spec.rb 56.48 seconds 6% Trend
spec/models/spree/product_spec.rb 55.82 seconds 30% Trend
spec/models/spree/line_item_spec.rb 53.07 seconds 6% Trend
spec/models/spree/variant_spec.rb 36.34 seconds 10% Trend
spec/models/spree/ability_spec.rb 34.5 seconds 29% Trend
spec/models/spree/return_authorization_spec.rb 33.19 seconds 4% Trend
spec/models/spree/order_inventory_spec.rb 30.72 seconds 3% Trend
spec/models/spree/payment_spec.rb 21.61 seconds 4% Trend
spec/models/enterprise_spec.rb 18.65 seconds 9% Trend
spec/models/spree/adjustment_spec.rb 17.84 seconds 5% Trend
spec/models/spree/stock/availability_validator_spec.rb 17.42 seconds 32% Trend
spec/models/proxy_order_spec.rb 15.87 seconds 42% Trend
spec/models/enterprise_relationship_spec.rb 14.48 seconds 5% Trend
spec/models/variant_override_spec.rb 12.07 seconds 34% Trend
spec/models/spree/shipment_spec.rb 11.94 seconds 5% Trend
spec/models/exchange_spec.rb 10.85 seconds 1% Trend
spec/models/spree/tax_rate_spec.rb 10.12 seconds 3% Trend
spec/models/spree/order_contents_spec.rb 9.08 seconds 11% Trend
spec/models/spree/stock_item_spec.rb 7.59 seconds 36% Trend
spec/models/spree/gateway/stripe_sca_spec.rb 6.86 seconds 34% Trend
spec/models/spree/stock_location_spec.rb 6.69 seconds 3% Trend
spec/models/concerns/variant_stock_spec.rb 4.92 seconds 9% Trend
spec/models/enterprise_caching_spec.rb 4.83 seconds 8% Trend
spec/models/voucher_spec.rb 4.7 seconds 2% Trend
spec/models/spree/shipping_method_spec.rb 4.09 seconds 5% Trend
spec/models/spree/inventory_unit_spec.rb 3.53 seconds 6% Trend
spec/models/spree/order/state_machine_spec.rb 3.51 seconds 6% Trend
spec/models/spree/calculator_spec.rb 3.46 seconds 13% Trend
spec/models/spree/taxon_spec.rb 3.34 seconds 34% Trend
spec/models/concerns/product_stock_spec.rb 3.27 seconds 53% Trend
spec/models/concerns/order_shipment_spec.rb 3.01 seconds 36% Trend
spec/models/spree/order/checkout_spec.rb 2.79 seconds 3% Trend
spec/models/spree/stock_movement_spec.rb 2.74 seconds 33% Trend
spec/models/enterprise_fee_spec.rb 2.64 seconds 14% Trend
spec/models/spree/payment_method_spec.rb 2.6 seconds 12% Trend
spec/models/product_import/inventory_reset_strategy_spec.rb 2.6 seconds 2% Trend
spec/models/calculator/weight_spec.rb 2.52 seconds 8% Trend
spec/models/spree/order/adjustments_spec.rb 2.16 seconds 5% Trend
spec/models/subscription_spec.rb 2.09 seconds 37% Trend
spec/models/spree/user_spec.rb 2.07 seconds 8% Trend
spec/models/spree/order/tax_spec.rb 1.95 seconds 12% Trend
spec/models/product_import/entry_validator_spec.rb 1.93 seconds 43% Trend
spec/models/customer_spec.rb 1.89 seconds 20% Trend
spec/models/spree/image_spec.rb 1.66 seconds 3% Trend
spec/models/spree/credit_card_spec.rb 1.13 seconds 11% Trend
spec/models/spree/order/payment_spec.rb 890 miliseconds 15% Trend
spec/models/concerns/balance_spec.rb 858 miliseconds 55% Trend
spec/models/enterprise_group_spec.rb 846 miliseconds 50% Trend
spec/models/spree/gateway_tagging_spec.rb 841 miliseconds 10% Trend
spec/models/order_balance_spec.rb 838 miliseconds 48% Trend
spec/models/calculator/price_sack_spec.rb 788 miliseconds 5% Trend
spec/models/spree/price_spec.rb 767 miliseconds 2% Trend
spec/models/spree/preferences/preferable_spec.rb 737 miliseconds 34% Trend
spec/models/spree/zone_spec.rb 730 miliseconds 2% Trend
spec/models/spree/stock/quantifier_spec.rb 504 miliseconds 33% Trend
spec/models/spree/product_property_spec.rb 461 miliseconds 35% Trend
spec/models/tag_rule/filter_payment_methods_spec.rb 459 miliseconds 7% Trend
spec/models/stripe_account_spec.rb 455 miliseconds 18% Trend
spec/models/concerns/calculated_adjustments_spec.rb 434 miliseconds 58% Trend
spec/models/spree/shipping_rate_spec.rb 397 miliseconds 50% Trend
spec/models/column_preference_spec.rb 372 miliseconds 1% Trend
spec/models/spree/classification_spec.rb 364 miliseconds 1% Trend
spec/models/tag_rule/filter_shipping_methods_spec.rb 345 miliseconds 1% Trend
spec/models/spree/address_spec.rb 342 miliseconds 32% Trend
spec/models/spree/asset_spec.rb 292 miliseconds 12% Trend
spec/models/calculator/flexi_rate_spec.rb 281 miliseconds 5% Trend
spec/models/calculator/flat_percent_item_total_spec.rb 277 miliseconds 7% Trend
spec/models/product_import/settings_spec.rb 206 miliseconds 26% Trend
spec/models/spree/order/callbacks_spec.rb 170 miliseconds Trend
spec/models/adjustment_metadata_spec.rb 159 miliseconds 1% Trend
spec/models/calculator/per_item_spec.rb 135 miliseconds 7% Trend
spec/models/terms_of_service_file_spec.rb 124 miliseconds 13% Trend
spec/models/spree/addresses_spec.rb 116 miliseconds 3% Trend
spec/models/spree/preference_spec.rb 113 miliseconds 1% Trend
spec/models/tag_rule/filter_order_cycles_spec.rb 111 miliseconds 38% Trend
spec/models/spree/order/address_spec.rb 96 miliseconds 12% Trend
spec/models/spree/preferences/store_spec.rb 64 miliseconds 7% Trend
spec/models/subscription_line_item_spec.rb 62 miliseconds 21% Trend
spec/models/spree/taxonomy_spec.rb 59 miliseconds 1% Trend
spec/models/tag_rule/filter_products_spec.rb 55 miliseconds 28% Trend
spec/models/product_import/entry_processor_spec.rb 54 miliseconds 1% Trend
spec/models/spree/tax_category_spec.rb 53 miliseconds 35% Trend
spec/models/product_import/reset_absent_spec.rb 53 miliseconds 3% Trend
spec/models/webhook_endpoint_spec.rb 36 miliseconds 28% Trend
spec/models/report_blob_spec.rb 28 miliseconds 7% Trend
spec/models/calculator/flat_percent_per_item_spec.rb 26 miliseconds 10% Trend
spec/models/spree/state_spec.rb 26 miliseconds 3% Trend
spec/models/tag_rule_spec.rb 25 miliseconds 19% Trend
spec/models/spree/preferences/configuration_spec.rb 21 miliseconds 16% Trend
spec/models/spree/app_configuration_spec.rb 16 miliseconds 5% Trend
spec/models/spree/gateway_spec.rb 14 miliseconds 26% Trend
spec/models/content_configuration_spec.rb 14 miliseconds 55% Trend
spec/models/calculator/flat_rate_spec.rb 12 miliseconds 7% Trend

Start using Knapsack Pro

Sign up and speed up your tests.