adt-buildvm-ubuntu-cloud fails to provision Precise VMs with timeout in cloud-init

Bug #1330950 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

The following command on Utopic "./tools/adt-buildvm-ubuntu-cloud -s 10G -a amd64 -r precise" fails with a timeout. Log file attached.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: autopkgtest 2.18
ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
Uname: Linux 3.15.0-6-generic x86_64
ApportVersion: 2.14.3-0ubuntu1
Architecture: amd64
Date: Tue Jun 17 13:39:51 2014
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to utopic on 2012-01-31 (867 days ago)

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

In Precise cloud-init doesn't support cloud-config files with a leading "\n", this patch addresses this issue.

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Jean-Baptiste! I applied that fix, but there are some more issues to fix for making precise images work, working on those now.

Revision history for this message
Martin Pitt (pitti) wrote :

I pushed a few more fixes which work now. The generated precise VM looks good, although running tests there doesn't work yet (presumably due to problems with 9p, will need to investigate tomorrow).

Changed in autopkgtest (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "adt-buildvm-ubuntu-cloud.nocr_in_cloud-config.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 2.20

---------------
autopkgtest (2.20) unstable; urgency=medium

  Improvements:
  * Add "Test" argument/member for a shell string command, instead of
    specifying a path to a test executable. Not currently supported by Debian
    parser.
  * Convert doc/README.* to Markdown, so that it's easy to format them as PDF
    or HTML, e. g. with pandoc.
  * If the --user option is given or the testbed specifies a normal user, pass
    this to --setup-commands through $ADT_NORMAL_USER.
  * Allow --setup-commands which would ordinarily reboot the testbed to
    suppress this by creating a stamp file in /run. This is useful for
    commands which run processes that aren't started at boot.
  * Default to C.UTF-8 locale instead of C. This is supported in Debian >= 7
    (wheezy) and Ubuntu >= 12.04 LTS, and much closer to reality than C.

  Bug fixes:
  * Don't include "adt-satdep" dummy package in <test>-packages output files.
  * adt-buildvm-ubuntu-cloud: Use host timezone as default for the VM, to
    avoid TZ changes during boot when running tests. Thanks Jean-Baptiste
    Lallement!
  * Run tests with specified locale also when they run as user.
  * Fix test failure with Ubuntu's pkgbinarymangler installed.

 -- Martin Pitt <email address hidden> Tue, 24 Jun 2014 16:34:36 +0200

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
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.