During my sheriff shift today, I've noticed multiple cases like the following:
https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyKwsSBUZsYWtlIiBCcm93c2VyRm9jdXNUZXN0LkZvY3VzT25OYXZpZ2F0ZQw
1. Test starts flaking
2. Try flakes files a bug
3. That bug gets marked as Duplicate into a different tracking bug
4. Test continues flaking
5. (I think?) Try flakes sees the original bug as Closed and so files a new bug
That new bug ends up back in the sheriff queue and wastes a little bit of time being investigated and marked as duplicate again.
Instead, it would be reasonable for Try flakes to post a new comment on the tracking bug and avoid opening a new bug.
Owner: serg...@chromium.org Status: Started (was: Untriaged)
Normally, chromium-try-flakes detects when a bug is marked as Duplicate and starts to track the new bug instead. It does so when trying to update the bug with new set of flakes, which usually happens at least once a day unless there are no further flakes (as happened in this case).
Another thing that chromium-try-flakes does is disassociating closed bugs from the flaky tests after 3 days, which is done to reduce the number of bugs we need to process when marking issues as stale. Unfortunately, while doing this, we do not handle Duplicate bugs in any special way because typically by this time we would have already replaced the bug number due to update logic described above.
I'll prepare a patch to fix this.
Comment 1 by serg...@chromium.org
, Nov 22 2016Status: Started (was: Untriaged)