-
Notifications
You must be signed in to change notification settings - Fork 649
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
Add a nightly build to circleci which runs even the slow blockchain tests #1588
base: main
Are you sure you want to change the base?
Conversation
I feel about as knowledgeable about circle CI cron jobs as that owl looks. Here is a potentially bad idea: what if we only ran the slowest tests in the nightly job? Even if we do that, I'm a bit worried that the tests will fail based on memory issues. I feel mildly confident that they will if we try to run everything plus the slow tests. Even if we only run slow tests, we might have to break them up further into smaller jobs to convince circle to run them. |
Anyone have experience setting up and running a Jenkins server? I think our best route to accomplish this would be having the devops team provisioning a more powerful machine that we can run these more intensive tests on (and maybe the benchmarks too since that machine is likely to have a more stable CPU profile. |
Might also be worth looking into whether https://github.com/features/actions can help us with this. |
Heads up! PR #1579 pulls in tests that routinely consume 3 GiB of RAM when exec'd in a single process, or ~ 8 GiB at peak when allowed to run in parallel. CircleCI crashes for me when using Python 3.6. These are now certainly listed in |
(Unrelated to the above.) Note that there are other tests that aren't run, which are not in py-evm/tests/json-fixtures/test_blockchain.py Lines 131 to 148 in 7e3b313
Perhaps the function can be reworked to |
Opened #1606 to help reduce memory pressure. Hopefully it's enough to stop CircleCI from crashing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see a run of this working (maybe by temporarily adding it to the main workflow) before we merge the change to the nightly.
Working off https://github.com/ethereum/py-evm/pull/1577/files#r240997519, it might be nice to run the SLOWEST_TESTS more often than never. I'm not sure if this works, I wasn't able to get it to run locally,
circleci build --job py36-all-blockchain-tests
kept failing with out of disk space errors.Does anyone know of a better way to test it than merging and waiting for nightfall like this adorable little owl?
Cute Animal Picture