Skip to content

Auto-shrink testcase group when too many variants are found.#1105

Merged
inferno-chromium merged 2 commits into
masterfrom
b16
Oct 22, 2019
Merged

Auto-shrink testcase group when too many variants are found.#1105
inferno-chromium merged 2 commits into
masterfrom
b16

Conversation

@inferno-chromium

@inferno-chromium inferno-chromium commented Oct 15, 2019

Copy link
Copy Markdown
Collaborator

If a crash results in similar looking stacktraces that only differ in slight strings (e.g. numbers in check failure asserts), this can explode the number of testcases in a group, breaking crash management and processing. Since this happens from time to time, make it automatic to auto-shrink those testcase groups.

@googlebot googlebot added the cla: yes CLA signed. label Oct 15, 2019
@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

/gcbrun

1 similar comment
@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Comment thread src/appengine/handlers/cron/grouper.py
Comment thread src/appengine/handlers/cron/grouper.py
Comment thread src/appengine/handlers/cron/grouper.py
Comment thread src/python/tests/appengine/handlers/cron/grouper_test.py

@oliverchang oliverchang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. I wonder if another way to address this is to make the similarity algorithm a bit more aggressive in the case of crash types with user provided input like CHECKs.

Comment thread src/appengine/handlers/cron/grouper.py Outdated
Comment thread src/appengine/handlers/cron/grouper.py Outdated
@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

LGTM. I wonder if another way to address this is to make the similarity algorithm a bit more aggressive in the case of crash types with user provided input like CHECKs.

I fixed some signature in crash analyzer, but there are more crazy cases.

@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

take another look, although i wont check this in until next week.

@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

@oliverchang - can you please take another look.

@oliverchang

Copy link
Copy Markdown
Collaborator

LGTM. Sorry didn't realise you were waiting on another review!

@inferno-chromium inferno-chromium merged commit 6f8e087 into master Oct 22, 2019
@oliverchang oliverchang deleted the b16 branch November 15, 2019 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes CLA signed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants