<tt><font size=2>&gt; From: mikem@redhat.com</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On 10/21/2013 10:32 AM, John.Florian@dart.biz wrote:<br>
&gt; &gt; koji regen-repo f19-build<br>
&gt; &gt; Regenerating repo for tag f19-build<br>
&gt; &gt; Watching tasks (this may be safely interrupted)...<br>
&gt; &gt; 8 newRepo (f19-build): free<br>
&gt; &gt; SysCallError: (-1, 'Unexpected EOF')<br>
&gt; <br>
&gt; I'm seeing errors like this on F19 myself. They are intermittent and<br>
&gt; normally retried by koji, but the cli calls that watch tasks drop<br>
&gt; authentication before they start watching.<br>
&gt; <br>
&gt; You can work around this by enabling anon_retry in your koji config<br>
&gt; (e.g. in ~/.koji/config).</font></tt>
<br>
<br><tt><font size=2>Okay, I've added &quot;anon_retry=true&quot; there.<br>
<br>
&gt; The good news is that this appears to be simply the task watcher failing<br>
&gt; on the client side. Your actual tasks may well be working.</font></tt>
<br>
<br><tt><font size=2>Ah! That may help explain what I observed after posting
that mail. &nbsp;While trying to figure out why the newRepo call was failing
I learned that this particular job gets handed off to a builder and then
got more logging going for kojid where I learned that my builder was enabled
but not ready. &nbsp;While trying to figure out why it wasn't ready, it
suddenly became ready and somewhere in that vicinity of time I also realized
that the newRepo had succeeded. &nbsp;I never felt that I'd made any change
to explain the success, but was fiddling quite a bit trying to make forward
progess.</font></tt>
<br>
<br><tt><font size=2>&gt; You can also always run koji watch-task $N to
restart the watch if it dies.</font></tt>
<br>
<br><tt><font size=2>Good to know. &nbsp;Thanks!</font></tt>
<br><tt><font size=2><br>
 <br>
&gt; &gt; I've also tried doing a scratch build and see much of the same
...<br>
&gt; &gt; <br>
&gt; &gt; koji build --scratch --wait f19 <br>
&gt; &gt; /pub/fedora/mdct/19/SRPMS/plant-launchers-1.3-1.fc19.src.rpm
<br>
&gt; &gt; Uploading srpm: <br>
&gt; &gt; /pub/fedora/mdct/19/SRPMS/plant-launchers-1.3-1.fc19.src.rpm<br>
&gt; &gt; [====================================] 100% 00:00:25 &nbsp;11.10
KiB &nbsp; 449.99 <br>
&gt; &gt; B/sec<br>
&gt; &gt; Created task: 10<br>
&gt; &gt; Task info: </font></tt><a href="http://mdct-koji.dartcontainer.com/koji/taskinfo?taskID=10"><tt><font size=2>http://mdct-koji.dartcontainer.com/koji/taskinfo?taskID=10</font></tt></a><tt><font size=2><br>
&gt; &gt; Watching tasks (this may be safely interrupted)...<br>
&gt; &gt; 10 build (f19, plant-launchers-1.3-1.fc19.src.rpm): free<br>
&gt; &gt; SysCallError: (-1, 'Unexpected EOF')<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; I'm not seeing anything helpful in the logs and since I'm such
a koji newb <br>
&gt; &gt; I'm not sure what to make of this problem. &nbsp;Any advice would
be greatly <br>
&gt; &gt; appreciated.<br>
&gt; <br>
&gt; I believe this is happening client side for you. If you run your<br>
&gt; commands with the --debug global option, you'll probably see a traceback<br>
&gt; similar to this:<br>
&gt; <br>
&gt; &nbsp; File &quot;/usr/lib/python2.7/site-packages/koji/__init__.py&quot;,
line 1925,<br>
&gt; in _callMethod<br>
&gt; &nbsp; &nbsp; return self._sendCall(handler, headers, request)<br>
&gt; &nbsp; File &quot;/usr/lib/python2.7/site-packages/koji/__init__.py&quot;,
line 1836,<br>
&gt; in _sendCall<br>
&gt; &nbsp; &nbsp; return self._sendOneCall(handler, headers, request)<br>
&gt; &nbsp; File &quot;/usr/lib/python2.7/site-packages/koji/__init__.py&quot;,
line 1856,<br>
&gt; in _sendOneCall<br>
&gt; &nbsp; &nbsp; response = cnx.getresponse()<br>
&gt; &nbsp; File &quot;/usr/lib64/python2.7/httplib.py&quot;, line 1045,
in getresponse<br>
&gt; &nbsp; &nbsp; response.begin()<br>
&gt; &nbsp; File &quot;/usr/lib64/python2.7/httplib.py&quot;, line 409,
in begin<br>
&gt; &nbsp; &nbsp; version, status, reason = self._read_status()<br>
&gt; &nbsp; File &quot;/usr/lib64/python2.7/httplib.py&quot;, line 365,
in _read_status<br>
&gt; &nbsp; &nbsp; line = self.fp.readline(_MAXLINE + 1)<br>
&gt; &nbsp; File &quot;/usr/lib64/python2.7/socket.py&quot;, line 476,
in readline<br>
&gt; &nbsp; &nbsp; data = self._sock.recv(self._rbufsize)<br>
&gt; &nbsp; File &quot;/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py&quot;,<br>
&gt; line 140, in recv<br>
&gt; &nbsp; &nbsp; return con.recv(bufsize, flags)<br>
&gt; SysCallError: (-1, 'Unexpected EOF')<br>
&gt; <br>
&gt; I'm not yet sure what the cause of this is, but I suspect some behavior<br>
&gt; change in the underlying libs.</font></tt>
<br>
<br>
<br><tt><font size=2>That indeed looks familiar. &nbsp;Unlike the newRepo,
I cannot make a build succeed (i.e., no binary rpm) despite lots of waiting.
&nbsp;Sounds like Koki atop F19 isn't ready for prime time yet, especially
for a newb as myself. &nbsp;Can you recommend a better Fedora release?
&nbsp;I've got much of the setup codified in puppet so it shouldn't be
too much a PITA to rebuild.</font></tt>
<br><font size=2 face="sans-serif"><br>
--<br>
John Florian</font>
<br>