Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elastic scaling: add e2e test #3929

Merged
merged 27 commits into from
Apr 5, 2024
Merged

Elastic scaling: add e2e test #3929

merged 27 commits into from
Apr 5, 2024

Conversation

sandreim
Copy link
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.

Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
…reim/elastic_statement_dist

Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
@sandreim sandreim added R0-silent Changes should not be mentioned in any release notes 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 <[email protected]>
Copy link
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
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

Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Signed-off-by: Andrei Sandu <[email protected]>
Base automatically changed from sandreim/elastic_statement_dist to master April 3, 2024 08:57
@sandreim
Copy link
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
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
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
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
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
133 of 135 checks passed
@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 <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
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 <[email protected]>
Co-authored-by: Javier Viola <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T10-tests This PR/Issue is related to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants