<div dir="ltr">On Sun, Nov 3, 2013 at 12:27 PM, David Faure <span dir="ltr"><<a href="mailto:faure@kde.org" target="_blank">faure@kde.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This error:<br>
<a href="http://build.kde.org/job/kdelibs_stable/886/testReport/(root)/TestSuite/kptyprocesstest/" target="_blank">http://build.kde.org/job/kdelibs_stable/886/testReport/(root)/TestSuite/kptyprocesstest/</a><br>
<br>
is caused by this:<br>
<br>
jenkins@slave1:/srv/jenkins/workspace/kdelibs_master/build> ping -i 0.5 localhost<br>
ping: icmp open socket: Operation not permitted<br>
<br>
because the code is doing exactly this:<br>
<br>
void KPtyProcessTest::test_suspend_pty()<br>
{<br>
KPtyProcess p;<br>
p.setPtyChannels(KPtyProcess::AllChannels);<br>
p.setProgram("ping", QStringList() << "-i" << "0.5" << "localhost");<br>
p.start();<br>
<br>
// verify that data is available to read from the pty<br>
QVERIFY(p.pty()->waitForReadyRead(1500));<br>
[...]<br>
<br>
<br>
Should we<br>
1) change <a href="http://build.kde.org" target="_blank">build.kde.org</a>'s setup to allow running ping?<br>
2) write a helper program to replace ping? [sounds like the correct solution, but<br>
needs a volunteer, since this kpty stuff isn't really maintained anymore]<br>
3) skip the test when that first check fails?<br></blockquote><div><br></div><div style>It should already have been allowing ping to run - I have just conducted some tests and it seems to work fine. I have reinstalled the "iputils" package on slave1 however just in case.</div>
<div style><br></div><div style>Can you please retest?</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
--<br>
David Faure, <a href="mailto:faure@kde.org">faure@kde.org</a>, <a href="http://www.davidfaure.fr" target="_blank">http://www.davidfaure.fr</a><br>
Working on KDE, in particular KDE Frameworks 5<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra" style>Thanks,</div><div class="gmail_extra" style>Ben</div></div>