← Back to team overview

touch-packages team mailing list archive

[Bug 1391349] Re: apport-retrace is failing for Ubuntu RTM 14.09

 

Here's the full Traceback from the retracers:

2014-11-10 10:41:39,675:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:Traceback (most recent call last):
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/srv/daisy.ubuntu.com/production/apport/bin/apport-retrace", line 298, in <module>
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    options.extra_package, options.verbose)
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/srv/daisy.ubuntu.com/production/apport/apport/sandboxutils.py", line 192, in make_sandbox
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    pkgs = needed_runtime_packages(report, sandbox_dir, cache_dir, pkg_versions, verbose)
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/srv/daisy.ubuntu.com/production/apport/apport/sandboxutils.py", line 95, in needed_runtime_packages
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    arch=report.get('Architecture'))
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/srv/daisy.ubuntu.com/production/apport/apport/packaging_impl.py", line 340, in get_file_package
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    return self._search_contents(file, map_cachedir, release, arch)
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/srv/daisy.ubuntu.com/production/apport/apport/packaging_impl.py", line 913, in _search_contents
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    src = urlopen(url)
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 138, in urlopen
2014-11-10 10:41:39,676:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    return opener.open(url, data, timeout)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 375, in open
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    response = meth(req, response)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 487, in http_response
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    'http', request, response, code, msg, hdrs)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 413, in error
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    return self._call_chain(*args)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 347, in _call_chain
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    result = func(*args)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:  File "/usr/lib/python3.2/urllib/request.py", line 495, in http_error_default
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:    raise HTTPError(req.full_url, code, msg, hdrs, fp)
2014-11-10 10:41:39,677:19334:139770203899648:INFO:root:1239e1a4-68c6-11e4-b63d-fa163e373683:swift:urllib.error.HTTPError: HTTP Error 404: Not Found

** Changed in: apport (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1391349

Title:
  apport-retrace is failing for Ubuntu RTM 14.09

Status in “apport” package in Ubuntu:
  Triaged

Bug description:
  I noticed that retraces of crashes from Ubuntu RTM 14.09 are failing
  and I suspect it is because of the following in backends/packaging-
  apt-dpkg.py:

              if age is None or age >= 86400:
                  url = '%s/dists/%s%s/Contents-%s.gz' % (self._get_mirror(), release, pocket, arch)

                  try:
                      src = urlopen(url)
                  except IOError:
                      # we ignore non-existing pockets, but we do crash if the
                      # release pocket doesn't exist
                      if pocket == '':
                          raise

  Because Ubuntu RTM 14.09 uses a different archive
  (derived.archive.canonical.com) than the system one
  (archive.ubuntu.com) this will fail.

  Given that there is a retracer configuration for this release (and for
  all releases), I think it'd make sense to use set_mirror from the same
  code to choose the specific mirror.  This would need to be done in
  apport/sandboxutils.py and would require sorting out the mirror from
  the sources.list file in the config_dir.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1391349/+subscriptions


References