<div dir="ltr"><div><div><div>&gt;<br>And I think that including<br>
everything from /var/log/messages is too much.<br>&gt;<br></div><br></div>only if regression fails we capture messages file, I dont think its a big overhead. <br><br>&gt; But, I also did not check<br>
how big /var/log/messages is on a Jenkins slave<br>&gt;<br></div>Capturing last/active messages file should be fine.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>--Humble<br></div><br></div></div></div>
<br><div class="gmail_quote">On Thu, Dec 11, 2014 at 4:25 PM, Niels de Vos <span dir="ltr">&lt;<a href="mailto:ndevos@redhat.com" target="_blank">ndevos@redhat.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Dec 11, 2014 at 03:45:28PM +0530, Humble Devassy Chirammal wrote:<br>
&gt; &gt;<br>
&gt;<br>
&gt; I suggest to use &#39;logger -s&#39; to add a marker that a regression test has<br>
&gt; been started in /var/log/messages, and only copy the contents from after<br>
&gt; the last marker into the archive<br>
&gt; &gt;<br>
&gt;<br>
&gt; I doubt we need a marker, because its &#39;not&#39; always we need to look at<br>
&gt; &#39;messages&#39; file to see  whether its a  system specific issue.<br>
<br>
</span>But how many lines should get gathered? And I think that including<br>
everything from /var/log/messages is too much. But, I also did not check<br>
how big /var/log/messages is on a Jenkins slave...<br>
<span class="HOEnZb"><font color="#888888"><br>
Niels<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt;<br>
&gt; --Humble<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Dec 11, 2014 at 3:38 PM, Niels de Vos &lt;<a href="mailto:ndevos@redhat.com">ndevos@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Thu, Dec 11, 2014 at 11:05:21AM +0530, Humble Devassy Chirammal wrote:<br>
&gt; &gt; &gt; Hi Atin,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Have a check at current version of regression.sh here:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; <a href="https://forge.gluster.org/gluster-patch-acceptance-tests/gluster-patch-acceptance-tests/blobs/master/regression.sh" target="_blank">https://forge.gluster.org/gluster-patch-acceptance-tests/gluster-patch-acceptance-tests/blobs/master/regression.sh</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; It should be a small patch near to line 109.<br>
&gt; &gt;<br>
&gt; &gt; I suggest to use &#39;logger -s&#39; to add a marker that a regression test has<br>
&gt; &gt; been started in /var/log/messages, and only copy the contents from after<br>
&gt; &gt; the last marker into the archive.<br>
&gt; &gt;<br>
&gt; &gt; Would that make sense?<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt; Niels<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --Humble<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --Humble<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Thu, Dec 11, 2014 at 9:32 AM, Atin Mukherjee &lt;<a href="mailto:amukherj@redhat.com">amukherj@redhat.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi Justin,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; The current regression.sh code doesn&#39;t capture /var/log/messages which<br>
&gt; &gt; &gt; &gt; means whether the system ran out of memory or not can not be justified<br>
&gt; &gt; &gt; &gt; looking at the the log archive. I strongly believe we should capture<br>
&gt; &gt; &gt; &gt; this message as part of archiving the log.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Would you be able to do this change and apply it in Rackspace?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ~Atin<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Gluster-devel mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; &gt; &gt; &gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Gluster-devel mailing list<br>
&gt; &gt; &gt; <a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
&gt; &gt; &gt; <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
</div></div></blockquote></div></div>