About half of my builds fail with …

 

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1161, in runTask

    response = (handler.run(),)

  File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 158, in run

    return koji.util.call_with_argcheck(self.handler, self.params, self.opts)

  File "/usr/lib/python2.7/site-packages/koji/util.py", line 154, in call_with_argcheck

    return func(*args, **kwargs)

  File "/usr/sbin/kojid", line 3817, in handler

    broot.init()

  File "/usr/sbin/kojid", line 460, in init

    rv = self.mock(['--init'])

  File "/usr/sbin/kojid", line 408, in mock

    incremental_upload(self.session, fname, fd, uploadpath, logger=self.logger)

  File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 48, in incremental_upload

    fast_incremental_upload(session, fname, fd, path, retries, logger)

  File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 87, in fast_incremental_upload

    result = session.rawUpload(contents, offset, path, fname, overwrite=True)

  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1577, in __call__

    return self.__func(self.__name,args,opts)

  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1920, in _callMethod

    return self._sendCall(handler, headers, request)

  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1831, in _sendCall

    return self._sendOneCall(handler, headers, request)

  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1850, in _sendOneCall

    cnx.send(request)

  File "/usr/lib64/python2.7/httplib.py", line 820, in send

    self.sock.sendall(data)

  File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py", line 111, in sendall

    self.close()

  File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py", line 82, in close

    self.shutdown()

  File "/usr/lib/python2.7/site-packages/koji/ssl/SSLConnection.py", line 53, in shutdown

    self.__dict__["conn"].shutdown()

Error: []

 

 

If I simply resubmit the same build request enough times the job will eventually succeed, but it’s really annoying as is.  This all started when I upgraded to koji-1.10.  Is anyone else seeing this or did I perhaps screw something up with the upgrade?  I filed a bug[0] a few days ago but have heard nothing there.

 

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1266245

 

--

John Florian