Skip to content

Elastic scaling: add e2e test#3929

Merged
sandreim merged 27 commits intomasterfrom
sandreim/elastic_zombies
Apr 5, 2024
Merged

Elastic scaling: add e2e test#3929
sandreim merged 27 commits intomasterfrom
sandreim/elastic_zombies

Conversation

@sandreim
Copy link
Copy Markdown
Contributor

@sandreim sandreim commented Apr 1, 2024

On top of #3879

I've also moved the previous test where we ensure multiple cores per para doesn't break non elastic parachains.

sandreim added 18 commits March 28, 2024 14:47
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
…reim/elastic_statement_dist

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
@sandreim sandreim added R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests. labels Apr 1, 2024
@sandreim sandreim requested a review from a team as a code owner April 1, 2024 14:52
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Copy link
Copy Markdown
Contributor

@alindima alindima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you also make some changes to the adder-collator for this test to pass?

@sandreim
Copy link
Copy Markdown
Contributor Author

sandreim commented Apr 2, 2024

Did you also make some changes to the adder-collator for this test to pass?

No direct changes were needed as we just define the collator_fn which is used by collation-generation that has been already upgraded to support elastic scaling

sandreim added 4 commits April 2, 2024 13:47
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Base automatically changed from sandreim/elastic_statement_dist to master April 3, 2024 08:57
sandreim added 2 commits April 3, 2024 12:01
…reim/elastic_zombies

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
@sandreim
Copy link
Copy Markdown
Contributor Author

sandreim commented Apr 4, 2024

Seems like deployment error: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5751023

Error: Timeout(0) for: waitLog(): pod: temp-collator, container: temp-collator, log: waiting for copy files to finish

CC @pepoviola

@pepoviola
Copy link
Copy Markdown
Contributor

Seems like deployment error: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5751023

Error: Timeout(0) for: waitLog(): pod: temp-collator, container: temp-collator, log: waiting for copy files to finish

CC @pepoviola

Fixed in a4531235d2808a8a614d96df9bf62a31ec283da1. The config image was the problem.

Thx!

@sandreim
Copy link
Copy Markdown
Contributor Author

sandreim commented Apr 5, 2024

Seems like deployment error: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5751023
Error: Timeout(0) for: waitLog(): pod: temp-collator, container: temp-collator, log: waiting for copy files to finish
CC @pepoviola

Fixed in a4531235d2808a8a614d96df9bf62a31ec283da1. The config image was the problem.

Thx!

thank you @pepoviola I totally missed it.

Copy link
Copy Markdown
Member

@eskimor eskimor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I read this right, that we are doing elastic scaling with 3 collators here instead of just one connecting to multiple backing groups? I guess that works with the adder collator. Do we also support one collator collating on 3 cores?

@sandreim
Copy link
Copy Markdown
Contributor Author

sandreim commented Apr 5, 2024

Do I read this right, that we are doing elastic scaling with 3 collators here instead of just one connecting to multiple backing groups? I guess that works with the adder collator. Do we also support one collator collating on 3 cores?

Just single collator case, the test has 2 parachains each with one collator:

  • 2000 has 3 cores assigned
  • 2001 has 1 core assigned

@sandreim sandreim added this pull request to the merge queue Apr 5, 2024
Merged via the queue into master with commit 0dc0d40 Apr 5, 2024
@sandreim sandreim deleted the sandreim/elastic_zombies branch April 5, 2024 10:09
Ank4n pushed a commit that referenced this pull request Apr 9, 2024
On top of #3879

I've also moved the previous test where we ensure multiple cores per
para doesn't break non elastic parachains.

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com>
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Apr 9, 2024
On top of paritytech#3879

I've also moved the previous test where we ensure multiple cores per
para doesn't break non elastic parachains.

---------

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Co-authored-by: Javier Viola <363911+pepoviola@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants