← Back to team overview

ubuntu-server-iso-testing-dev team mailing list archive

[Bug 752321] Re: download-latest-test-iso.py fails when launchpad is not available

 

** Changed in: ubuntu-server-iso-testing
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Iso Testing Developers, which is the registrant for ubuntu-
server-iso-testing.
https://bugs.launchpad.net/bugs/752321

Title:
  download-latest-test-iso.py fails when launchpad is not available

Status in Automated testing of Ubuntu server ISO images:
  Fix Committed

Bug description:
  When launchpad is not available dl-ubuntu-test-iso crashes which makes download-latest-test-iso.py as well with the following trace:
  Traceback (most recent call last):
    File "/usr/bin/dl-ubuntu-test-iso", line 628, in <module>
      main()
    File "/usr/bin/dl-ubuntu-test-iso", line 617, in main
      update_release()
    File "/usr/bin/dl-ubuntu-test-iso", line 92, in update_release
      lp_release = get_devel_release()
    File "/usr/bin/dl-ubuntu-test-iso", line 84, in get_devel_release
      u = launchpad.projects['ubuntu']
    File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 935, in __getitem__
      raise KeyError(key)
  KeyError: 'ubuntu'
  Traceback (most recent call last):
    File "/usr/bin/download-latest-test-iso", line 184, in <module>
      subprocess.check_call(cmd)
    File "/usr/lib/python2.7/subprocess.py", line 504, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['dl-ubuntu-test-iso', '--variant=alternate', '--arch=amd64', '--release=natty', '--build=20110406', '--isoroot=/var/lib/ubuntu-server-iso-testing/isos', '-P']' returned non-zero exit status 1

  Adding --no-release-check to dl-ubuntu-test-iso would avoid this
  failure.

  Notes:
   - the latest version from bzr is required and not packaged yet
   - dl-ubuntu-test-iso needs a fix too and fallback to no-release-check is lp is not available.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-server-iso-testing/+bug/752321/+subscriptions


References