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
Andrew7234/ci e2e #410
Andrew7234/ci e2e #410
Conversation
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.
Looking good!
Looks like run.sh
is giving false positives?
- I added suggestions for easier debugging of CI failures (in this PR and in the future).
- IIRC we might still have some queries that return results in a nondeterministic order; that could explain the failures.
c8c1908
to
1da672c
Compare
368c335
to
9f40e62
Compare
2e004cc
to
a98de65
Compare
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.
Thank you! I'm genuinely excited to try this out in the next PRs.
Q: I vaguely remembered (and IIRC you confirmed) that some API outputs have a non-deterministic order. But I don't see any changes in the server code that fixes this. So is everything deterministic after all?
# metadata_registry: | ||
# interval: 5m | ||
# aggregate_stats: | ||
# tx_volume_interval: 5m |
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.
Note: Our non-block-based analyzers also have a fair bit of complexity in them, and it would be good to test them also. That's a separate task though.
The git-based metadata_registry
is an exception, but everything else we could fit into this framework. I think what we want to do is have a way to run all the block analyzers to the end, then run all the evm_tokens_*
and evm_token_balances_*
analyzers and aggregate_stats
. We just don't have a way yet of telling them "exit when there is no more work for you".
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.
script tweaks for running locally on MacOS add pogreb cache for 100 blocks of consensus/emerald add expected api responses add e2e_regression test to ci; add timeout to run.sh add postgres step remove extraneous -it from make postgres test: extend psql delay more sed -i wrangling apply reviewer suggestions upload indexer responses on failure test standardize timezone to UTC standardize yaml Content-Type header [analyzer] don't fetch latest block height; instead default to max uint [ci] update rpc-cache [ci] update spec for changes in 415 nit test test address comments; add intra-batch delay on slow-sync nit nit various api changes nit nit
0074ada
to
1c8e4e6
Compare
Yeah originally I was seeing the |
https://app.clickup.com/t/866a5pprn
Note: I'm holding off on making this step required in CI for a week or longer in order to verify that these tests are as reliable as we hope they are.
"2022-04-11T11:12:31Z"
vs local machine"2022-04-11T04:12:31-07:00"
[x]