<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div>Xavi,<br></div><div><br></div><div>shd has been disabled in this test on line number 12 and we have also disabled client side heal.<br></div><div>So, no body is going to try to heal it.<br></div><div><br></div><div>Ashish<br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Atin Mukherjee" &lt;amukherj@redhat.com&gt;<br><b>To: </b>"Ashish Pandey" &lt;aspandey@redhat.com&gt;, "Raghavendra Gowdappa" &lt;rgowdapp@redhat.com&gt;, "Xavier Hernandez" &lt;xhernandez@datalab.es&gt;<br><b>Cc: </b>"Gluster Devel" &lt;gluster-devel@gluster.org&gt;<br><b>Sent: </b>Thursday, January 26, 2017 5:50:00 PM<br><b>Subject: </b>Re: [Gluster-devel] Spurious regression failure? tests/basic/ec/ec-background-heals.t<br><div><br></div><div>I've +1ed it now.</div><div><br><div class="gmail_quote"><div>On Thu, 26 Jan 2017 at 15:05, Xavier Hernandez &lt;<a href="mailto:xhernandez@datalab.es" target="_blank" data-mce-href="mailto:xhernandez@datalab.es">xhernandez@datalab.es</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hi Atin,<br class="gmail_msg"> <br class="gmail_msg"> I don't clearly see what's the problem. Even if the truncate causes a<br class="gmail_msg"> dirty flag to be set, eventually it should be removed before the<br class="gmail_msg"> $HEAL_TIMEOUT value.<br class="gmail_msg"> <br class="gmail_msg"> For now I've marked the test as bad.<br class="gmail_msg"> <br class="gmail_msg"> Patch is: <a href="https://review.gluster.org/16470" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="https://review.gluster.org/16470">https://review.gluster.org/16470</a><br class="gmail_msg"> <br class="gmail_msg"> Xavi<br class="gmail_msg"> <br class="gmail_msg"> On 25/01/17 17:24, Atin Mukherjee wrote:<br class="gmail_msg"> &gt; Can we please address this as early as possible, my patch has hit this<br class="gmail_msg"> &gt; failure 3 out of 4 recheck attempts now. I'm guessing some recent<br class="gmail_msg"> &gt; changes has caused it.<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt; On Wed, 25 Jan 2017 at 12:10, Ashish Pandey &lt;<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a><br class="gmail_msg"> &gt; &lt;mailto:<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a>&gt;&gt; wrote:<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;Pranith,<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;In this test tests/basic/ec/ec-background-heals.t, I think the line<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;number 86 actually creating a heal entry instead of<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;helping data heal quickly. What if all the data was already healed<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;at that moment, truncate came and in preop set the dirty flag and at the<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;end, as part of the heal, dirty flag was unset on previous good<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;bricks only and the brick which acted as heal-sink still has dirty<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;marked by truncate.<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;That is why we are only seeing "1" as get_pending_heal_count. If a<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;file was actually not healed it should be "2".<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;If heal on this file completes and unset of dirty flag happens<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;before truncate everything will be fine.<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;I think we can wait for file to be heal without truncate?<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 71 #Test that disabling background-heals still drains the queue<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 72 TEST $CLI volume set $V0 disperse.background-heals 1<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 73 TEST touch $M0/{a,b,c,d}<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 74 TEST kill_brick $V0 $H0 $B0/${V0}2<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 75 EXPECT_WITHIN $CONFIG_UPDATE_TIMEOUT "1" mount_get_option_value<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;$M0 $V0-disperse-0 background-heals<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 76 EXPECT_WITHIN $CONFIG_UPDATE_TIMEOUT "200"<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;mount_get_option_value $M0 $V0-disperse-0 heal-wait-qlength<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 77 TEST truncate -s 1GB $M0/a<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 78 echo abc &gt; $M0/b<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 79 echo abc &gt; $M0/c<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 80 echo abc &gt; $M0/d<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 81 TEST $CLI volume start $V0 force<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 82 EXPECT_WITHIN $CHILD_UP_TIMEOUT "3" ec_child_up_count $V0 0<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 83 TEST chown root:root $M0/{a,b,c,d}<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 84 TEST $CLI volume set $V0 disperse.background-heals 0<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 85 EXPECT_NOT "0" mount_get_option_value $M0 $V0-disperse-0<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;heal-waiters<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 86 TEST truncate -s 0 $M0/a # This completes the heal fast ;-) &lt;&lt;&lt;&lt;&lt;&lt;&lt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp; 87 EXPECT_WITHIN $HEAL_TIMEOUT "^0$" get_pending_heal_count $V0<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;----<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;Ashish<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;------------------------------------------------------------------------<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;*From: *"Raghavendra Gowdappa" &lt;<a href="mailto:rgowdapp@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:rgowdapp@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a>&gt;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;*To: *"Nithya Balachandran" &lt;<a href="mailto:nbalacha@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:nbalacha@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a>&gt;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;*Cc: *"Gluster Devel" &lt;<a href="mailto:gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;&gt;, "Pranith Kumar Karampuri"<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;<a href="mailto:pkarampu@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a> &lt;mailto:<a href="mailto:pkarampu@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;&gt;, "Ashish Pandey"<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a> &lt;mailto:<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a>&gt;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;*Sent: *Wednesday, January 25, 2017 9:41:38 AM<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;*Subject: *Re: [Gluster-devel] Spurious regression<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;failure?&nbsp; &nbsp; &nbsp; &nbsp; tests/basic/ec/ec-background-heals.t<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;Found another failure on same test:<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;<a href="https://build.gluster.org/job/centos6-regression/2874/consoleFull" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="https://build.gluster.org/job/centos6-regression/2874/consoleFull">https://build.gluster.org/job/centos6-regression/2874/consoleFull</a><br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;----- Original Message -----<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; From: "Nithya Balachandran" &lt;<a href="mailto:nbalacha@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:nbalacha@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a>&gt;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; To: "Gluster Devel" &lt;<a href="mailto:gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;mailto:<a href="mailto:gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:gluster-devel@gluster.org">gluster-devel@gluster.org</a>&gt;&gt;, "Pranith Kumar Karampuri"<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&lt;<a href="mailto:pkarampu@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a> &lt;mailto:<a href="mailto:pkarampu@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:pkarampu@redhat.com">pkarampu@redhat.com</a>&gt;&gt;, "Ashish Pandey"<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; &lt;<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a> &lt;mailto:<a href="mailto:aspandey@redhat.com" class="gmail_msg" target="_blank" data-mce-href="mailto:aspandey@redhat.com">aspandey@redhat.com</a>&gt;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Sent: Tuesday, January 24, 2017 9:16:31 AM<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Subject: [Gluster-devel] Spurious regression<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;failure?&nbsp; &nbsp; &nbsp; &nbsp; tests/basic/ec/ec-background-heals.t<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Hi,<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Can you please take a look at<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; <a href="https://build.gluster.org/job/centos6-regression/2859/console" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="https://build.gluster.org/job/centos6-regression/2859/console">https://build.gluster.org/job/centos6-regression/2859/console</a> ?<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; tests/basic/ec/ec-background-heals.t has failed.<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Thanks,<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Nithya<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; _______________________________________________<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; Gluster-devel mailing list<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; <a href="mailto:Gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;&gt; <a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="http://lists.gluster.org/mailman/listinfo/gluster-devel">http://lists.gluster.org/mailman/listinfo/gluster-devel</a><br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;_______________________________________________<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;Gluster-devel mailing list<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;<a href="mailto:Gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a> &lt;mailto:<a href="mailto:Gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>&gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;&nbsp; &nbsp; &nbsp;<a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="http://lists.gluster.org/mailman/listinfo/gluster-devel">http://lists.gluster.org/mailman/listinfo/gluster-devel</a><br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt; --<br class="gmail_msg"> &gt; - Atin (atinm)<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt;<br class="gmail_msg"> &gt; _______________________________________________<br class="gmail_msg"> &gt; Gluster-devel mailing list<br class="gmail_msg"> &gt; <a href="mailto:Gluster-devel@gluster.org" class="gmail_msg" target="_blank" data-mce-href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br class="gmail_msg"> &gt; <a href="http://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" class="gmail_msg" target="_blank" data-mce-href="http://lists.gluster.org/mailman/listinfo/gluster-devel">http://lists.gluster.org/mailman/listinfo/gluster-devel</a><br class="gmail_msg"> &gt;<br class="gmail_msg"> <br class="gmail_msg"></blockquote></div></div><div dir="ltr">-- <br></div><div>- Atin (atinm)</div></div><div><br></div></div></body></html>