<tt><font size=2>> From: mikem@redhat.com</font></tt>
<br><tt><font size=2>> <br>
> On 10/21/2013 10:32 AM, John.Florian@dart.biz wrote:<br>
> > koji regen-repo f19-build<br>
> > Regenerating repo for tag f19-build<br>
> > Watching tasks (this may be safely interrupted)...<br>
> > 8 newRepo (f19-build): free<br>
> > SysCallError: (-1, 'Unexpected EOF')<br>
> <br>
> I'm seeing errors like this on F19 myself. They are intermittent and<br>
> normally retried by koji, but the cli calls that watch tasks drop<br>
> authentication before they start watching.<br>
> <br>
> You can work around this by enabling anon_retry in your koji config<br>
> (e.g. in ~/.koji/config).</font></tt>
<br>
<br><tt><font size=2>Okay, I've added "anon_retry=true" there.<br>
<br>
> The good news is that this appears to be simply the task watcher failing<br>
> 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. 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. 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. 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>> 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. Thanks!</font></tt>
<br><tt><font size=2><br>
<br>
> > I've also tried doing a scratch build and see much of the same
...<br>
> > <br>
> > koji build --scratch --wait f19 <br>
> > /pub/fedora/mdct/19/SRPMS/plant-launchers-1.3-1.fc19.src.rpm
<br>
> > Uploading srpm: <br>
> > /pub/fedora/mdct/19/SRPMS/plant-launchers-1.3-1.fc19.src.rpm<br>
> > [====================================] 100% 00:00:25 11.10
KiB 449.99 <br>
> > B/sec<br>
> > Created task: 10<br>
> > 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>
> > Watching tasks (this may be safely interrupted)...<br>
> > 10 build (f19, plant-launchers-1.3-1.fc19.src.rpm): free<br>
> > SysCallError: (-1, 'Unexpected EOF')<br>
> > <br>
> > <br>
> > I'm not seeing anything helpful in the logs and since I'm such
a koji newb <br>
> > I'm not sure what to make of this problem. Any advice would
be greatly <br>
> > appreciated.<br>
> <br>
> I believe this is happening client side for you. If you run your<br>
> commands with the --debug global option, you'll probably see a traceback<br>
> similar to this:<br>
> <br>
> File "/usr/lib/python2.7/site-packages/koji/__init__.py",
line 1925,<br>
> in _callMethod<br>
> return self._sendCall(handler, headers, request)<br>
> File "/usr/lib/python2.7/site-packages/koji/__init__.py",
line 1836,<br>
> in _sendCall<br>
> return self._sendOneCall(handler, headers, request)<br>
> File "/usr/lib/python2.7/site-packages/koji/__init__.py",
line 1856,<br>
> in _sendOneCall<br>
> response = cnx.getresponse()<br>
> File "/usr/lib64/python2.7/httplib.py", line 1045,
in getresponse<br>
> response.begin()<br>
> File "/usr/lib64/python2.7/httplib.py", line 409,
in begin<br>
> version, status, reason = self._read_status()<br>
> File "/usr/lib64/python2.7/httplib.py", line 365,
in _read_status<br>
> line = self.fp.readline(_MAXLINE + 1)<br>
> File "/usr/lib64/python2.7/socket.py", line 476,
in readline<br>
> data = self._sock.recv(self._rbufsize)<br>
> File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py",<br>
> line 140, in recv<br>
> return con.recv(bufsize, flags)<br>
> SysCallError: (-1, 'Unexpected EOF')<br>
> <br>
> I'm not yet sure what the cause of this is, but I suspect some behavior<br>
> change in the underlying libs.</font></tt>
<br>
<br>
<br><tt><font size=2>That indeed looks familiar. Unlike the newRepo,
I cannot make a build succeed (i.e., no binary rpm) despite lots of waiting.
Sounds like Koki atop F19 isn't ready for prime time yet, especially
for a newb as myself. Can you recommend a better Fedora release?
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>