Knapsack Pro

My organization (openfoodnetwork.org) / Open Food Network / system_consumer / Build ID 59184d2a-483c-4f49-9ac5-3acab147bee2

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
5ea1e07 refs/pull/12671/merge 12 about 2 months ago 5 minutes 20.57 seconds 22 minutes 58.15 seconds   4%

Parallel CI nodes

All parallel CI nodes finished their work.

Some of the CI nodes have not run any tests. This could happen when a CI node started late after other CI nodes had already executed all of their tests in the Queue Mode.

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

Parallel CI nodes

The first CI node finished its work at 2024-07-23 07:21:13 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 54.85 seconds.

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

Node index Finish time Tests execution time (22 minutes 58.15 seconds) Test files
0 2024-07-23 07:21:15 UTC 2 minutes 23.68 seconds
1 2024-07-23 07:21:58 UTC 3 minutes 8.92 seconds
2 2024-07-23 07:21:14 UTC 2 minutes 10.33 seconds
3 2024-07-23 07:21:17 UTC 1 minute 37.75 seconds
4 2024-07-23 07:21:14 UTC 2 minutes 12.66 seconds
5 2024-07-23 07:21:17 UTC 2 minutes 24.14 seconds
6 Finished First 2024-07-23 07:21:13 UTC 2 minutes 19.87 seconds
7 2024-07-23 07:23:58 UTC 0 seconds None
8 Finished Last 2024-07-23 07:24:04 UTC 0 seconds None
9 2024-07-23 07:21:16 UTC 2 minutes 8.8 seconds
10 2024-07-23 07:21:15 UTC 2 minutes 8.31 seconds
11 2024-07-23 07:21:15 UTC 2 minutes 23.74 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 54.85 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 34 entries files) Execution time
spec/system/consumer/shopping/shopping_spec.rb
3 minutes 8.92 seconds 2% Trend
spec/system/consumer/white_label_spec.rb
2 minutes 13.76 seconds 8% Trend
spec/system/consumer/checkout/summary_spec.rb
2 minutes 10.33 seconds 9% Trend
spec/system/consumer/shopping/variant_overrides_spec.rb
2 minutes 8.5 seconds 9% Trend
spec/system/consumer/checkout/payment_spec.rb
1 minute 54.64 seconds 11% Trend
spec/system/consumer/checkout/details_spec.rb
1 minute 48.56 seconds 13% Trend
spec/system/consumer/checkout/guest_spec.rb
1 minute 41.58 seconds 15% Trend
spec/system/consumer/authentication_spec.rb
1 minute 39.49 seconds 42% Trend
spec/system/consumer/cookies_spec.rb
1 minute 30.03 seconds 58% Trend
spec/system/consumer/registration_spec.rb
1 minute 9.8 seconds 3% Trend
spec/system/consumer/shops_spec.rb
23.64 seconds 52% Trend
spec/system/consumer/shopping/cart_spec.rb
22.47 seconds 28% Trend
spec/system/consumer/checkout/tax_not_incl_spec.rb
21.64 seconds 49% Trend
spec/system/consumer/shopping/orders_spec.rb
17.57 seconds 14% Trend
spec/system/consumer/multilingual_spec.rb
14.61 seconds 31% Trend
spec/system/consumer/checkout/tax_incl_spec.rb
13.47 seconds 58% Trend
spec/system/consumer/shopping/checkout_paypal_spec.rb
11.92 seconds 62% Trend
spec/system/consumer/shopping/products_spec.rb
9.57 seconds 35% Trend
spec/system/consumer/producers_spec.rb
8.6 seconds 47% Trend
spec/system/consumer/account_spec.rb
8.6 seconds 58% Trend
spec/system/consumer/caching/shops_caching_spec.rb
7.7 seconds 61% Trend
spec/system/consumer/groups_spec.rb
7.5 seconds 42% Trend
spec/system/consumer/account/developer_settings_spec.rb
6.97 seconds 27% Trend
spec/system/consumer/user_password_spec.rb
6.29 seconds 46% Trend
spec/system/consumer/shopping/checkout_auth_spec.rb
6.02 seconds 69% Trend
spec/system/consumer/shopping/embedded_groups_spec.rb
4.45 seconds 50% Trend
spec/system/consumer/footer_links_spec.rb
4.32 seconds 11% Trend
spec/system/consumer/account/cards_spec.rb
4.23 seconds 47% Trend
spec/system/consumer/shopping/unit_price_spec.rb
3.97 seconds 51% Trend
spec/system/consumer/caching/darkswarm_caching_spec.rb
3.5 seconds 32% Trend
spec/system/consumer/account/settings_spec.rb
3.02 seconds 51% Trend
spec/system/consumer/account/payments_spec.rb
2.18 seconds 54% Trend
spec/system/consumer/sitemap_spec.rb
480 miliseconds 71% Trend
spec/system/consumer/shopping/checkout_stripe_spec.rb
0 seconds Trend

Start using Knapsack Pro

Sign up and speed up your tests.