Testing Plan #4075
Replies: 5 comments 9 replies
-
@stacks-network/blockchain-team @CharlieC3 @saralab |
Beta Was this translation helpful? Give feedback.
-
Not sure whether that is related to this discussion. I would like to test with devenv and run deposit and withdrawal tests: https://github.com/stacks-network/sbtc/tree/main/devenv |
Beta Was this translation helpful? Give feedback.
-
Should test
|
Beta Was this translation helpful? Give feedback.
-
@CharlieC3 re: testground, @zone117x shared this that we should consider: libp2p/test-plans#103 |
Beta Was this translation helpful? Give feedback.
-
Thanks all for the discussion, esp. @wileyj and @CharlieC3 ! I wanted to add some quick thoughts, apologies if it's redundant / if folks are already aligned on these:
For instance, if we had good tooling and automation in place to:
Then we could start building baselines on the current blockchain, and iteratively test Nakamoto builds against those baselines as features get added. Things like (many of these have already been mentioned above, so I'm listing these to be illustrative not exhaustive):
It will be a bunch of work to build out these capabilities, so there should be no blockers on Nakamoto work IMO :) |
Beta Was this translation helpful? Give feedback.
-
Testing Plan
Questions for the Devs
On-demand Testing (closed-membership network)
What to test
Regression Tests (Existing)
stacks-increase
works as expectedstacks-unlock
works as expectedFeature Tests
Frameworks
Testground is the best fit for an off the shelf solution, and is designed for testing distributed systems. The tests will:
Questions
Help Needed
Timeframe
Late December/Early January for first iteration
Persistent Testing (closed-membership network)
This will be a close approximation of what we can expect in a real-world environment.
Network Requirements
20443-20444
ingress firewalled )What to test
Frameworks
We’ll use AWS cloud VMs to host the persistent tests. AWS is the obvious option since it will give us access to multiple regions around the globe, provide access to tools to bootstrap the network (cloudformation/terraform etc), and also provides some of the requirements i.e. the command and control tool without having to create anything bespoke.
Stacks blockchain binary will be built from source on each VM by a script run via cron.
Questions
Options for Retrieving Metrics
Timeframe
Late December / Early January for first iteration
Appendix
AWS Cloudwatch Agent: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html
AWS Batch: https://aws.amazon.com/batch/
Testground Rust test example: https://github.com/testground/testground/blob/master/plans/example-rust/src/main.rs
Testground metric collection plan example: https://docs.testground.ai/master/#/runner-library/cluster-k8s/monitoring?id=infrastructure-monitoring
Testground example plans for rust and javascript: https://github.com/testground/testground/tree/master/plans
Previous Testground plan for 2.0: https://github.com/stacks-network/stacks-blockchain-testground
Beta Was this translation helpful? Give feedback.
All reactions