privacy-scaling-explorations / zkevm-chain

zkevm-chain: Deprecated
86 stars 52 forks source link

zkEVM-chain testing - Automation Infrastructure #28

Open AronisAt79 opened 2 years ago

AronisAt79 commented 2 years ago

This is the parent task for all activities associated to creation of a fully automated environment to run functional and benchmarking tests against zkEVM-chain.

AronisAt79 commented 2 years ago

This is a growing list of sub tasks:

29

30

31

32

33

34

38

pinkiebell commented 2 years ago

I don't know if that's already planned: I did like to also activate the prover in ci tests but that requires heavy compute & ram. Hence, is it possible to integrate a custom runner that creates a sufficient instance from (example) the AWS spot market and terminates after the run? Something like in zkevm-circuits though without any reserved instances (if any).

AronisAt79 commented 2 years ago

I don't know if that's already planned: I did like to also activate the prover in ci tests but that requires heavy compute & ram. Hence, is it possible to integrate a custom runner that creates a sufficient instance from (example) the AWS spot market and terminates after the run? Something like in zkevm-circuits though without any reserved instances (if any).

@pinkiebell the tasks listed here are for the most part ongoing (some are close to be done actually). We will be creating a utility to on/demand deploy and configure (how many provers, what ram, what cpu etc) individual full/fresh chain environments for testing purposes (via jenkins probably). That would require someone to manually run the jenkins job but at the same time gives more control over selection of needed resources. For ex, if a build fails due to oom, we include an option to redeploy the instance with more ram :). If we still think we need this in CI, it can certainly be done as well

AronisAt79 commented 2 years ago

@pinkiebell having these tests outsourced to jenkins, has the added benefit of not running loooong lasting CI rounds in github

pinkiebell commented 2 years ago

Great! That will also solve the problem 👍

leolara commented 2 years ago

@pinkiebell @AronisAt79 can I help with this while I learn more about the project in general?

pinkiebell commented 2 years ago

@leolara Sounds good to me to getting used to the project structure. You have to check in with @AronisAt79 and @ntampakas for these tasks.

I also added some smaller issues. Just look around and if you have any questions just ask on tg. We can also setup a call if you want.

AronisAt79 commented 2 years ago

H @leolara ! thanks for offering a pair of hands! Much appreciated :). Would you like to start a tg group witih me (@mari0sAr) and Nick (@ntampakas) to discuss our ongoing activities?