Comment 7 for bug 334858

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

This OOPSes when processing the PCJ:

Traceback (most recent call last):
  Module lazr.jobrunner.jobrunner, line 194, in runJobHandleError
    self.runJob(job, fallback)
  Module lp.services.job.runner, line 270, in runJob
    super(BaseJobRunner, self).runJob(IRunnableJob(job), fallback)
  Module lazr.jobrunner.jobrunner, line 162, in runJob
    job.run()
  Module lp.soyuz.model.packagecopyjob, line 495, in run
    self.attemptCopy()
  Module lp.soyuz.model.packagecopyjob, line 562, in attemptCopy
    unembargo=self.unembargo)
  Module lp.soyuz.scripts.packagecopier, line 686, in do_copy
    previous_version=old_version)
  Module lp.soyuz.adapters.notification, line 193, in notify
    bprs=bprs)
  Module lp.soyuz.adapters.notification, line 477, in get_upload_notification_recipients
    info = fetch_information(spr, bprs, changes)
  Module lp.soyuz.adapters.notification, line 631, in fetch_information
    changesfile = spr.aggregate_changelog(previous_version)
  Module lp.soyuz.model.sourcepackagerelease, line 649, in aggregate_changelog
    for block in Changelog(changelog.read()):
  Module lp.services.librarian.model, line 171, in read
    self.open(timeout=timeout)
  Module lp.services.librarian.model, line 161, in open
    self._datafile = self.client.getFileByAlias(self.id, timeout)
  Module lp.services.librarian.client, line 476, in getFileByAlias
    return self._connect_read(url, try_until, aliasID)
  Module lp.services.librarian.client, line 491, in _connect_read
    raise LookupError(aliasID)
LookupError: 103960041

I'll need to figure out what's going on here; I assume it's either a missing transaction.commit or passing the wrong (private) objects to notify.

Archive.syncSource (the delayed-copy path) still works. So we can *probably* deploy this anyway, but the OOPS needs to be fixed ASAP.