Skip to content
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

[NFC] Improve ClusterFuzz testing #7157

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

kripken
Copy link
Member

@kripken kripken commented Dec 17, 2024

  1. Error on retrying due to a wasm-opt issue, locally (in production, we
    don't want to error on ClusterFuzz).
  2. Move some asserts from test_run_py to the helper generate_testcases
    (so that the asserts happen in all callers).

@kripken kripken requested a review from tlively December 17, 2024 23:59
# We should not see any mention of a wasm-opt error that caused a
# retry. On production ClusterFuzz this is not an error, but we do want
# to know about such issues, as they may be real bugs in wasm-opt.
assert 'retry' not in out, out
Copy link
Member

Choose a reason for hiding this comment

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

Are asserts not executed on production ClusterFuzz infra?

Copy link
Member Author

Choose a reason for hiding this comment

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

They are, but fuzz_opt.py is not run there, instead we run clusterfuzz/run.py. fuzz_opt is only for our local testing.

Copy link
Member

Choose a reason for hiding this comment

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

Got it, thanks 👍

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