Skip to content

Add tools to execute a series of experiments on the same DO setup#33

Open
lasarojc wants to merge 43 commits intomainfrom
lasarojc/runtests
Open

Add tools to execute a series of experiments on the same DO setup#33
lasarojc wants to merge 43 commits intomainfrom
lasarojc/runtests

Conversation

@lasarojc
Copy link
Copy Markdown
Contributor

@lasarojc lasarojc commented Jan 8, 2024

This PR Introduces runtests.py script, which allows you to configure and execute a series of experiments in sequence, on the same DO setup, to make comparisons fair.

runtests.py works by replacing tags on template files for the ../../testnet.toml and ../../experiment.mk by combinations of the values specified in an options file.
For each combination, the runtests.py scripts invokes the make commands in Makefile to recreate the node configuration, clean up the nodes (not the prometheus server), push the new configuration, and run the experiments.

Generic (example* files) and specific (flood_* files) examples are included.
The new README.md has more details on using the script.

This PR is the second part of a breakdown of PR #24 to make reviewing simpler.

@sergio-mena
Copy link
Copy Markdown
Collaborator

@lasarojc Can you rebase this once #32 is merged?

@lasarojc
Copy link
Copy Markdown
Contributor Author

@sergio-mena changes merged!

@lasarojc lasarojc requested a review from mzabaluev February 9, 2024 13:27
@lasarojc lasarojc requested review from hvanz and removed request for jmalicevic and mzabaluev March 25, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants