Skip to content

Flaky test help#3583

Merged
fselmo merged 3 commits into
ApeWorX:mainfrom
fselmo:help-with-flaky-tests
Jan 17, 2025
Merged

Flaky test help#3583
fselmo merged 3 commits into
ApeWorX:mainfrom
fselmo:help-with-flaky-tests

Conversation

@fselmo
Copy link
Copy Markdown
Collaborator

@fselmo fselmo commented Jan 17, 2025

What was wrong?

  • We recently removed the specific flaky xfail markers from some replace transaction tests. They now sometimes fail with "nonce too low", which is better than the previous timeout issues. We should add the flaky_geth_dev_mining decorator to these so they can run again and ideally pass 1 out of 3 times.

  • We also sometimes get performance issues with older Python versions on the multiple contract init core tests. Let's keep this a more conservative number for now. 1.5 -> 1.75 should do I think.

Todo:

  • Clean up commit history
  • Re-run the CI multiple times to see if we get consistent results

Cute Animal Picture

0_o

- We recently removed the specific flaky xfail markers from some replace
  transaction tests. They now sometimes fail with "nonce too low", which
  is better than the previous timeout issues. We should add the
  flaky_geth_dev_mining decorator to these so they can run again and
  ideally pass 1 out of 3 times.

- We also sometimes get performance issues with older Python versions
  on the multiple contract init core tests. Let's keep this a more
  conservative number for now.
@fselmo fselmo requested review from kclowes, pacrob and reedsa January 17, 2025 18:36
@fselmo
Copy link
Copy Markdown
Collaborator Author

fselmo commented Jan 17, 2025

Seems to be working well now with just the geth dev mining decorator (flaky w/ max_runs=3). Unfortunately flaky won't tell us if a test ran twice or 3 times, just that it passed the 1 out of required 3 times. I think that's fine.

Copy link
Copy Markdown
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after a newsfragment gets added!

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