← Back to team overview

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

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

 

Public bug reported:

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.

** Affects: ubuntu-server-iso-testing
     Importance: Undecided
         Status: New

-- 
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:
  New

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.



Follow ups

References