<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Dnia czwartek, 30 czerwca 2022 15:37:47 CEST Sean Mooney pisze:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> On Thu, 2022-06-30 at 13:06 +0000, Jeremy Stanley wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > On 2022-06-30 14:57:44 +0200 (+0200), Dmitriy Rabotyagov wrote:</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > Is it possible to adjust the script a bit in the future to add the</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > amount of changes pushed/merged or some ratio of the amount of</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > rechecks per merged patch? I think it would also be an interesting</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > stat to see in addition to the amount of rechecks to understand how CI</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > > is stable or not.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > [...]</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > Recheck comment volume doesn't really provide an accurate measure of</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > CI stability, all it tells you is how often people requested</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > rerunning tests. Their reasons for doing it can be myriad, from not</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > believing actual failures their changes are causing, to repeatedly</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > rechecking successful results in hopes of reproducing some rare</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> > failure condition.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> yep we also recheck succeful result if we think we have fixed an intermint</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> ci failure that we could not repoduced reliably but created a patch based on code inspection.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> in such a case we usually recheck 3 times looking for at least 3 consecitive check +1s before we +2w</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> rearly is also recheck if a patch is old and the logs have rotaed when im reviewing others work</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> but genrally i just click the rebase button in that case. for example i will tend to do +2 recheck</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> if there are already cherry picks of the patch to avoid those having to be updated. but as i said this is</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> rare as we dont ofthen have bugfixes that sit around for 3+ months that still actully apply with out a merge confilict</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> but it does happen.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> so recheck is not a a great proxy for ci stablity without knowing the reason which is why not doing bare rechecks is important.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">That's true. The reason why I did script to check "bare" rechecks is to see how often people just do "recheck" without even checking reason of failures.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">For CI stability, some time ago I did another script <a href="https://github.com/slawqo/rechecks-stats/blob/main/rechecks_stats/rechecks.py">https://github.com/slawqo/rechecks-stats/blob/main/rechecks_stats/rechecks.py</a> which checks only merged patches and counts number of "Failed build" comments from Zuul on the last, merged patch set. That is also not perfect metric for sure but can give IMO better view of the CI stability as it will not count rechecks of the passed CI run to see intermittent failures or issues caused by the patch itself.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Slawek Kaplonski</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Principal Software Engineer</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Red Hat</p>
</body>
</html>