My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_system_consumer / Build ID 5487e14c-65c2-48ac-a7db-c2fc75a2a03c

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
acdfcd9c9d850dc78f7a181103c4536be994da82 refs/pull/10330/merge 10 2023-02-07 10:31:50 UTC 2023-02-07 10:41:56 UTC

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 9 minutes 57.901 seconds. The shorter this time is, the better.

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-02-07 10:31:50 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 50.179 seconds.

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

Node index Finish time Execution time
0 2023-02-07 10:33:27 UTC 3 minutes 43.351 seconds
1 2023-02-07 10:31:50 UTC 1 minute 23.191 seconds
2 2023-02-07 10:32:32 UTC 2 minutes 38.109 seconds
3 Finished First 2023-02-07 10:31:50 UTC 1 minute 21.382 seconds
4 2023-02-07 10:31:52 UTC 1 minute 57.67 seconds
5 2023-02-07 10:31:56 UTC 1 minute 30.707 seconds
6 2023-02-07 10:31:50 UTC 1 minute 55.714 seconds
7 2023-02-07 10:31:51 UTC 1 minute 53.237 seconds
8 2023-02-07 10:31:53 UTC 1 minute 58.429 seconds
9 Finished Last 2023-02-07 10:41:48 UTC 0 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
da2070d8-f6ec-417c-bf0c-c65c0a2a8bd3 10 18 minutes 21.787 seconds 1 minute 50.179 seconds 1 minute 53.173 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 50.179 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 31 entries files) Execution time
spec/system/consumer/split_checkout_spec.rb 3 minutes 43.351 seconds
spec/system/consumer/shopping/shopping_spec.rb 2 minutes 38.109 seconds
spec/system/consumer/shopping/checkout_spec.rb 1 minute 43.835 seconds
spec/system/consumer/shopping/variant_overrides_spec.rb 1 minute 18.548 seconds
spec/system/consumer/split_checkout_tax_incl_spec.rb 1 minute 0.742 seconds
spec/system/consumer/shops_spec.rb 58.34 seconds
spec/system/consumer/shopping/cart_spec.rb 53.963 seconds
spec/system/consumer/authentication_spec.rb 52.819 seconds
spec/system/consumer/cookies_spec.rb 40.98 seconds
spec/system/consumer/shopping/checkout_stripe_spec.rb 31.691 seconds
spec/system/consumer/shopping/orders_spec.rb 27.078 seconds
spec/system/consumer/split_checkout_tax_not_incl_spec.rb 23.969 seconds
spec/system/consumer/registration_spec.rb 23.087 seconds
spec/system/consumer/shopping/checkout_paypal_spec.rb 20.64 seconds
spec/system/consumer/shopping/checkout_auth_spec.rb 16.781 seconds
spec/system/consumer/account_spec.rb 16.132 seconds
spec/system/consumer/shopping/products_spec.rb 15.421 seconds
spec/system/consumer/groups_spec.rb 14.953 seconds
spec/system/consumer/producers_spec.rb 11.85 seconds
spec/system/consumer/caching/shops_caching_spec.rb 10.252 seconds
spec/system/consumer/multilingual_spec.rb 9.972 seconds
spec/system/consumer/user_password_spec.rb 7.875 seconds
spec/system/consumer/shopping/embedded_groups_spec.rb 7.785 seconds
spec/system/consumer/account/cards_spec.rb 5.501 seconds
spec/system/consumer/shopping/unit_price_spec.rb 5.349 seconds
spec/system/consumer/caching/darkswarm_caching_spec.rb 5.288 seconds
spec/system/consumer/account/developer_settings_spec.rb 5.057 seconds
spec/system/consumer/account/settings_spec.rb 4.321 seconds
spec/system/consumer/footer_links_spec.rb 4.189 seconds
spec/system/consumer/account/payments_spec.rb 3.005 seconds
spec/system/consumer/sitemap_spec.rb 0.918 seconds

Start using Knapsack Pro

Sign up and speed up your tests.