forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
triage: bail on certain global clusters after 30s
triage works by clustering test failures in two stages: - locally: create clusters of test failures for each unique test - globally: merge each test's clusters into a global set of clusters The clustering/merging is done by computing edit distance between the failure text of each test failure or failure cluster and accepting the first pair that has an edit distance of 10% of their combined length. This can add up in the worst case, where edit distance is going to be computed for every existing cluster before creating a new cluster. We've arbitrarily handled it thus far by: - truncating failure text to ~200k~ 10k chars - bailing out on local clustering after 60s per unique test This PR adds: - bailing out on global clustering of pathological / low value clusters after 30s - more logging to see where clustering is working vs. not
- Loading branch information
Showing
1 changed file
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters