OOPS-ID OOPS-04b956e188e920d5d8ad5fe55c813a78

Bug #1652828 reported by Chris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Colin Watson

Bug Description

I've installed on one of my VM a launchpad.

I've succeeded also with your help to push a branch.

Now the system raises the error in the subject when I try to browser the pushed code.

I suppose this can be related with the following error:

chris@launchpad:~/launchpad/lp-branches/devel$ bin/py cronscripts/process-job-source.py IBranchScanJobSource
2016-12-27 19:25:49 INFO Creating lockfile: /var/lock/launchpad-process-job-source-IBranchScanJobSource.lock
2016-12-27 19:25:54 INFO Running through Twisted.
2016-12-27 19:25:54 INFO Running <SCAN_BRANCH branch job (1) for ~chris-t/prova/b1> (ID 2).
Traceback (most recent call last):
  File "/home/chris/launchpad/lp-sourcedeps/eggs/Twisted-13.0.0_p2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 575, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/chris/launchpad/lp-sourcedeps/eggs/Twisted-13.0.0_p2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1126, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/home/chris/launchpad/lp-sourcedeps/eggs/Twisted-13.0.0_p2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1068, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/home/chris/launchpad/lp-sourcedeps/eggs/Twisted-13.0.0_p2-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/home/chris/launchpad/lp-branches/devel/lib/lp/services/job/runner.py", line 547, in runAll
    yield self.runJobInSubprocess(job)
  File "/home/chris/launchpad/lp-sourcedeps/eggs/Twisted-13.0.0_p2-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 575, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/chris/launchpad/lp-branches/devel/lib/lp/services/job/runner.py", line 505, in update
    self.logger.debug('Incomplete %r', job)
  File "/usr/lib/python2.7/logging/__init__.py", line 1155, in debug
    self._log(DEBUG, msg, args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1285, in _log
    record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
  File "/usr/lib/python2.7/logging/__init__.py", line 1259, in makeRecord
    rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
  File "/usr/lib/python2.7/logging/__init__.py", line 263, in __init__
    if (args and len(args) == 1 and isinstance(args[0], collections.Mapping)
  File "/usr/lib/python2.7/abc.py", line 145, in __instancecheck__
    return (cls.__subclasscheck__(subclass) or
  File "/usr/lib/python2.7/abc.py", line 180, in __subclasscheck__
    if issubclass(subclass, scls):
  File "/usr/lib/python2.7/abc.py", line 175, in __subclasscheck__
    if issubclass(subclass, rcls):
exceptions.TypeError: issubclass() arg 1 must be a class
2016-12-27 19:26:00 INFO 1 BranchScanJob jobs did not complete.

Thanks
Christian

Tags: oops

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

We noticed this when we upgraded our systems to xenial, and I fixed it a while back as r18412 (see the attached merge proposal), although at the time I didn't put it together with this bug report. See also https://github.com/zopefoundation/zope.security/issues/26 for more gory details.

Changed in launchpad:
assignee: nobody → Colin Watson (cjwatson)
importance: Undecided → Critical
status: New → Fix Released
tags: added: oops
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.