package: cloud-init
version: 0.7.6~bzr976-2 
severity: serious
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
x-debbugs-cc: reproducible-bui...@lists.alioth.debian.org

Hi,

building the cloud-init package fails during package tests because the 
hostname metadata.google.internal cannot be resolved and cloud specific URLs 
like http://169.254.169.254/openstack/latest cannot be accessed, see attached 
log.

Filing this as a serious bug as it prevents anyone from (re-)building the 
package outside of such cloud services...

Suggestion solution: drop these tests during package build.


cheers,
        Holger
Starting to build cloud-init on 2015-02-18 00:15
The jenkins build log is/was available at https://jenkins.debian.net/job/reproducible_builder_gamma/29159//console
Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'cloud-init' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/collab-maint/cloud-init.git
Need to get 533 kB of source archives.
Get:1 http://ftp.de.debian.org/debian/ sid/main cloud-init 0.7.6~bzr976-2 (dsc) [2270 B]
Get:2 http://ftp.de.debian.org/debian/ sid/main cloud-init 0.7.6~bzr976-2 (tar) [505 kB]
Get:3 http://ftp.de.debian.org/debian/ sid/main cloud-init 0.7.6~bzr976-2 (diff) [26.3 kB]
Fetched 533 kB in 0s (2841 kB/s)
Download complete and in download only mode
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 3.0 (quilt)
Source: cloud-init
Binary: cloud-init
Architecture: all
Version: 0.7.6~bzr976-2
Maintainer: Charles Plessy <ple...@debian.org>
Uploaders: Miguel Landaeta <mig...@miguel.cc>, Julien Danjou <a...@debian.org>, Thomas Goirand <z...@debian.org>
Homepage: https://launchpad.net/cloud-init
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cloud-init.git;a=summary
Vcs-Git: git://anonscm.debian.org/collab-maint/cloud-init.git
Build-Depends: debhelper (>= 9), iproute2, po-debconf, pyflakes, pylint, python, python-boto (>= 2.3), python-cheetah, python-configobj, python-httpretty, python-jsonpatch, python-mocker, python-nose, python-oauth, python-serial, python-setuptools, python-requests, python-yaml
Package-List:
 cloud-init deb admin optional arch=all
Checksums-Sha1:
 4b31da1c3731bac2726b9443c8f67a6f50152489 504535 cloud-init_0.7.6~bzr976.orig.tar.gz
 8a332d201ff4cabaeeb912fab267e66d7a2b40c0 26300 cloud-init_0.7.6~bzr976-2.debian.tar.xz
Checksums-Sha256:
 7f1ef50424a9731981f5aa8d1289edce24648099e41c6d98e306bb3da7c8f7f4 504535 cloud-init_0.7.6~bzr976.orig.tar.gz
 1bcd08aa84f85e8f3ceab4763567975a13c1631bfebb6f053b5df9a17a6eb683 26300 cloud-init_0.7.6~bzr976-2.debian.tar.xz
Files:
 c617becac751badac9bb17f868ee501d 504535 cloud-init_0.7.6~bzr976.orig.tar.gz
 469094154fc0f213697a6d13313e1e29 26300 cloud-init_0.7.6~bzr976-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTt+27AAoJEMW9bI8ildUCkPQP/RPOru3XOkZgg2mYh2Tc2XZU
2Oe89DPynn9aeadVz81XibL1H6t8EvQZdNoZlB15MbKu2jPqwfoSGfVAUnEn0nnt
/Z5dC5dauWU1afCKnZDL2g0eYrFrqK5puEdZRd/uWzIFdUTNVMH/zlSvw7B3l9tK
GVwDYaGE4gawI0hYHE591IYWvD/ALoVPsQbX2n5s8MdgZLZA1y2QJ4drHLCpMaZ2
lB0zvbkv5J9mPkURu4xqNRbfeovDPuvxbq+alYFqHmHpWySNncDQrNvHJ5YEYN7z
yQzeuKmO+n9gTdx+JVCSe7AxFWHLWGV/7plWcKXnr1ClDaUIXFRg3HsdP+g98ct0
/GCvbwe2vycYpMvuXQSSxOx0q23VWt4O/kQRLkF1DWTmUtAxRIoQSk7Fm4z51fHA
9ipQ8pL/8wDe0GRsMud+YFF6swF6AnBBLJu9QyZdgzuSSUug7JHeMOqWBP+FZ+bX
UB74fy5/vodbCz72KBuGj9e6Z4mmniAbr0WJm4woX892qqvo7vshYGoUGN0qxusr
ux0yIK9tm51F0ql8XsbQKXNJ4WYQKL7PHE8sE8v1O+sPLATWIaywGnhTLfpsfnVB
kGso9+TgzQV0qe9yf03mdO/c14w+3+j7ZvyRArejm3dAt26T3mZafqnLOEeghOd3
0N3crA/z1b9+uDJ6NPom
=aomw
-----END PGP SIGNATURE-----
+ timeout 12h nice ionice -c 3 sudo DEB_BUILD_OPTIONS=parallel=15 pbuilder --build --configfile /tmp/pbuilderrc_NivE --debbuildopts -b --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid cloud-init_0.7.6~bzr976-2.dsc
W: /root/.pbuilderrc does not exist
I: using fakeroot in build.
I: Current time: Wed Feb 18 00:15:36 UTC 2015
I: pbuilder-time-stamp: 1424218536
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base-reproducible.tgz]
I: creating local configuration
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /run/shm
I: policy-rc.d already exists
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9), iproute2, po-debconf, pyflakes, pylint, python, python-boto (>= 2.3), python-cheetah, python-configobj, python-httpretty, python-jsonpatch, python-mocker, python-nose, python-oauth, python-serial, python-setuptools, python-requests, python-yaml
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 13607 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on iproute2; however:
  Package iproute2 is not installed.
 pbuilder-satisfydepends-dummy depends on pyflakes; however:
  Package pyflakes is not installed.
 pbuilder-satisfydepends-dummy depends on pylint; however:
  Package pylint is not installed.
 pbuilder-satisfydepends-dummy depends on python; however:
  Package python is not installed.
 pbuilder-satisfydepends-dummy depends on python-boto (>= 2.3); however:
  Package python-boto is not installed.
 pbuilder-satisfydepends-dummy depends on python-cheetah; however:
  Package python-cheetah is not installed.
 pbuilder-satisfydepends-dummy depends on python-configobj; however:
  Package python-configobj is not installed.
 pbuilder-satisfydepends-dummy depends on python-httpretty; however:
  Package python-httpretty is not installed.
 pbuilder-satisfydepends-dummy depends on python-jsonpatch; however:
  Package python-jsonpatch
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
The following NEW packages will be installed:
  ca-certificates{a} dh-python{a} iproute2{a} libexpat1{a} libmpdec2{a} 
  libpython-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} 
  libpython3-stdlib{a} libpython3.4-minimal{a} libpython3.4-stdlib{a} 
  libssl1.0.0{a} libyaml-0-2{a} mime-support{a} openssl{a} pyflakes{a} 
  pylint{a} python{a} python-astroid{a} python-boto{a} python-chardet{a} 
  python-cheetah{a} python-configobj{a} python-httpretty{a} 
  python-json-pointer{a} python-jsonpatch{a} python-logilab-common{a} 
  python-minimal{a} python-mocker{a} python-nose{a} python-oauth{a} 
  python-pkg-resources{a} python-requests{a} python-serial{a} 
  python-setuptools{a} python-six{a} python-urllib3{a} python-yaml{a} 
  python2.7{a} python2.7-minimal{a} python3{a} python3-minimal{a} 
  python3-pkg-resources{a} python3.4{a} python3.4-minimal{a} 
0 packages upgraded, 45 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.0 MB of archives. After unpacking 60.3 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ sid/main libssl1.0.0 amd64 1.0.1k-1 [1037 kB]
Get: 2 http://reproducible.alioth.debian.org/debian/ ./ python-pkg-resources 5.5.1-1.0~reproducible1 [64.4 kB]
Get: 3 http://reproducible.alioth.debian.org/debian/ ./ python3-pkg-resources 5.5.1-1.0~reproducible1 [34.2 kB]
Get: 4 http://reproducible.alioth.debian.org/debian/ ./ python-setuptools 5.5.1-1.0~reproducible1 [241 kB]
Get: 5 http://ftp.de.debian.org/debian/ sid/main libpython2.7-minimal amd64 2.7.9-1 [377 kB]
Get: 6 http://ftp.de.debian.org/debian/ sid/main python2.7-minimal amd64 2.7.9-1 [1403 kB]
Get: 7 http://ftp.de.debian.org/debian/ sid/main python-minimal amd64 2.7.8-3 [39.8 kB]
Get: 8 http://ftp.de.debian.org/debian/ sid/main mime-support all 3.58 [36.0 kB]
Get: 9 http://ftp.de.debian.org/debian/ sid/main libexpat1 amd64 2.1.0-6+b3 [80.3 kB]
Get: 10 http://ftp.de.debian.org/debian/ sid/main libpython2.7-stdlib amd64 2.7.9-1 [1846 kB]
Get: 11 http://ftp.de.debian.org/debian/ sid/main python2.7 amd64 2.7.9-1 [251 kB]
Get: 12 http://ftp.de.debian.org/debian/ sid/main libpython-stdlib amd64 2.7.8-3 [19.4 kB]
Get: 13 http://ftp.de.debian.org/debian/ sid/main python amd64 2.7.8-3 [151 kB]
Get: 14 http://ftp.de.debian.org/debian/ sid/main libmpdec2 amd64 2.4.1-1 [85.7 kB]
Get: 15 http://ftp.de.debian.org/debian/ sid/main libpython3.4-minimal amd64 3.4.2-4 [495 kB]
Get: 16 http://ftp.de.debian.org/debian/ sid/main libpython3.4-stdlib amd64 3.4.2-4 [2091 kB]
Get: 17 http://ftp.de.debian.org/debian/ sid/main libyaml-0-2 amd64 0.1.6-3 [50.4 kB]
Get: 18 http://ftp.de.debian.org/debian/ sid/main python-six all 1.8.0-1 [12.6 kB]
Get: 19 http://ftp.de.debian.org/debian/ sid/main python-urllib3 all 1.9.1-3 [55.4 kB]
Get: 20 http://ftp.de.debian.org/debian/ sid/main python-httpretty all 0.8.0-2 [18.1 kB]
Get: 21 http://ftp.de.debian.org/debian/ sid/main python-json-pointer all 1.0-2 [7524 B]
Get: 22 http://ftp.de.debian.org/debian/ sid/main python-jsonpatch all 1.3-5 [9270 B]
Get: 23 http://ftp.de.debian.org/debian/ sid/main python3.4-minimal amd64 3.4.2-4 [1649 kB]
Get: 24 http://ftp.de.debian.org/debian/ sid/main iproute2 amd64 3.16.0-2 [426 kB]
Get: 25 http://ftp.de.debian.org/debian/ sid/main openssl amd64 1.0.1k-1 [677 kB]
Get: 26 http://ftp.de.debian.org/debian/ sid/main ca-certificates all 20141019 [200 kB]
Get: 27 http://ftp.de.debian.org/debian/ sid/main python3.4 amd64 3.4.2-4 [209 kB]
Get: 28 http://ftp.de.debian.org/debian/ sid/main python3-minimal amd64 3.4.2-2 [34.7 kB]
Get: 29 http://ftp.de.debian.org/debian/ sid/main libpython3-stdlib amd64 3.4.2-2 [18.1 kB]
Get: 30 http://ftp.de.debian.org/debian/ sid/main python3 amd64 3.4.2-2 [21.2 kB]
Get: 31 http://ftp.de.debian.org/debian/ sid/main dh-python all 1.20141111-2 [66.4 kB]
Get: 32 http://ftp.de.debian.org/debian/ sid/main pyflakes all 0.8.1-1 [35.1 kB]
Get: 33 http://ftp.de.debian.org/debian/ sid/main python-logilab-common all 0.62.0-1 [432 kB]
Get: 34 http://ftp.de.debian.org/debian/ sid/main python-astroid all 1.2.1-3 [66.3 kB]
Get: 35 http://ftp.de.debian.org/debian/ sid/main pylint all 1.3.1-2 [143 kB]
Get: 36 http://ftp.de.debian.org/debian/ sid/main python-chardet all 2.3.0-1 [96.2 kB]
Get: 37 http://ftp.de.debian.org/debian/ sid/main python-requests all 2.4.3-5 [203 kB]
Get: 38 http://ftp.de.debian.org/debian/ sid/main python-boto all 2.34.0-2 [703 kB]
Get: 39 http://ftp.de.debian.org/debian/ sid/main python-cheetah amd64 2.4.4-3 [204 kB]
Get: 40 http://ftp.de.debian.org/debian/ sid/main python-configobj all 5.0.6-1 [35.3 kB]
Get: 41 http://ftp.de.debian.org/debian/ sid/main python-mocker all 1.0-2 [26.2 kB]
Get: 42 http://ftp.de.debian.org/debian/ sid/main python-nose all 1.3.4-2 [134 kB]
Get: 43 http://ftp.de.debian.org/debian/ sid/main python-oauth all 1.0.1-4 [12.8 kB]
Get: 44 http://ftp.de.debian.org/debian/ sid/main python-serial all 2.6-1.1 [66.6 kB]
Get: 45 http://ftp.de.debian.org/debian/ sid/main python-yaml amd64 3.11-2 [112 kB]
Fetched 14.0 MB in 7s (1968 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libssl1.0.0:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13607 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1k-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.1k-1) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../libpython2.7-minimal_2.7.9-1_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.9-1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-1_amd64.deb ...
Unpacking python2.7-minimal (2.7.9-1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.8-3_amd64.deb ...
Unpacking python-minimal (2.7.8-3) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.58_all.deb ...
Unpacking mime-support (3.58) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-6+b3_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-6+b3) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.9-1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-1_amd64.deb ...
Unpacking python2.7 (2.7.9-1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.8-3_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.8-3) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libpython2.7-minimal:amd64 (2.7.9-1) ...
Setting up python2.7-minimal (2.7.9-1) ...
Setting up python-minimal (2.7.8-3) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 14410 files and directories currently installed.)
Preparing to unpack .../python_2.7.8-3_amd64.deb ...
Unpacking python (2.7.8-3) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.2-4_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.2-4) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.2-4_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.2-4) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.1.6-3) ...
Selecting previously unselected package python-six.
Preparing to unpack .../python-six_1.8.0-1_all.deb ...
Unpacking python-six (1.8.0-1) ...
Selecting previously unselected package python-urllib3.
Preparing to unpack .../python-urllib3_1.9.1-3_all.deb ...
Unpacking python-urllib3 (1.9.1-3) ...
Selecting previously unselected package python-httpretty.
Preparing to unpack .../python-httpretty_0.8.0-2_all.deb ...
Unpacking python-httpretty (0.8.0-2) ...
Selecting previously unselected package python-json-pointer.
Preparing to unpack .../python-json-pointer_1.0-2_all.deb ...
Unpacking python-json-pointer (1.0-2) ...
Selecting previously unselected package python-jsonpatch.
Preparing to unpack .../python-jsonpatch_1.3-5_all.deb ...
Unpacking python-jsonpatch (1.3-5) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.2-4_amd64.deb ...
Unpacking python3.4-minimal (3.4.2-4) ...
Selecting previously unselected package iproute2.
Preparing to unpack .../iproute2_3.16.0-2_amd64.deb ...
Unpacking iproute2 (3.16.0-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.0.1k-1_amd64.deb ...
Unpacking openssl (1.0.1k-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-certificates_20141019_all.deb ...
Unpacking ca-certificates (20141019) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.2-4_amd64.deb ...
Unpacking python3.4 (3.4.2-4) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.2-2_amd64.deb ...
Unpacking python3-minimal (3.4.2-2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.2-2_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.2-2) ...
Selecting previously unselected package python3.
Preparing to unpack .../python3_3.4.2-2_amd64.deb ...
Unpacking python3 (3.4.2-2) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_1.20141111-2_all.deb ...
Unpacking dh-python (1.20141111-2) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_5.5.1-1.0~reproducible1_all.deb ...
Unpacking python-pkg-resources (5.5.1-1.0~reproducible1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_5.5.1-1.0~reproducible1_all.deb ...
Unpacking python3-pkg-resources (5.5.1-1.0~reproducible1) ...
Selecting previously unselected package pyflakes.
Preparing to unpack .../pyflakes_0.8.1-1_all.deb ...
Unpacking pyflakes (0.8.1-1) ...
Selecting previously unselected package python-logilab-common.
Preparing to unpack .../python-logilab-common_0.62.0-1_all.deb ...
Unpacking python-logilab-common (0.62.0-1) ...
Selecting previously unselected package python-astroid.
Preparing to unpack .../python-astroid_1.2.1-3_all.deb ...
Unpacking python-astroid (1.2.1-3) ...
Selecting previously unselected package pylint.
Preparing to unpack .../pylint_1.3.1-2_all.deb ...
Unpacking pylint (1.3.1-2) ...
Selecting previously unselected package python-chardet.
Preparing to unpack .../python-chardet_2.3.0-1_all.deb ...
Unpacking python-chardet (2.3.0-1) ...
Selecting previously unselected package python-requests.
Preparing to unpack .../python-requests_2.4.3-5_all.deb ...
Unpacking python-requests (2.4.3-5) ...
Selecting previously unselected package python-boto.
Preparing to unpack .../python-boto_2.34.0-2_all.deb ...
Unpacking python-boto (2.34.0-2) ...
Selecting previously unselected package python-cheetah.
Preparing to unpack .../python-cheetah_2.4.4-3_amd64.deb ...
Unpacking python-cheetah (2.4.4-3) ...
Selecting previously unselected package python-configobj.
Preparing to unpack .../python-configobj_5.0.6-1_all.deb ...
Unpacking python-configobj (5.0.6-1) ...
Selecting previously unselected package python-mocker.
Preparing to unpack .../python-mocker_1.0-2_all.deb ...
Unpacking python-mocker (1.0-2) ...
Selecting previously unselected package python-nose.
Preparing to unpack .../python-nose_1.3.4-2_all.deb ...
Unpacking python-nose (1.3.4-2) ...
Selecting previously unselected package python-oauth.
Preparing to unpack .../python-oauth_1.0.1-4_all.deb ...
Unpacking python-oauth (1.0.1-4) ...
Selecting previously unselected package python-serial.
Preparing to unpack .../python-serial_2.6-1.1_all.deb ...
Unpacking python-serial (2.6-1.1) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_5.5.1-1.0~reproducible1_all.deb ...
Unpacking python-setuptools (5.5.1-1.0~reproducible1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../python-yaml_3.11-2_amd64.deb ...
Unpacking python-yaml (3.11-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libssl1.0.0:amd64 (1.0.1k-1) ...
Setting up mime-support (3.58) ...
Setting up libexpat1:amd64 (2.1.0-6+b3) ...
Setting up libpython2.7-stdlib:amd64 (2.7.9-1) ...
Setting up python2.7 (2.7.9-1) ...
Setting up libpython-stdlib:amd64 (2.7.8-3) ...
Setting up python (2.7.8-3) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.2-4) ...
Setting up libpython3.4-stdlib:amd64 (3.4.2-4) ...
Setting up libyaml-0-2:amd64 (0.1.6-3) ...
Setting up python-six (1.8.0-1) ...
Setting up python-urllib3 (1.9.1-3) ...
Setting up python-httpretty (0.8.0-2) ...
Setting up python-json-pointer (1.0-2) ...
Setting up python-jsonpatch (1.3-5) ...
update-alternatives: using /usr/bin/python2-jsondiff to provide /usr/bin/jsondiff (jsondiff) in auto mode
update-alternatives: using /usr/bin/python2-jsonpatch to provide /usr/bin/jsonpatch (jsonpatch) in auto mode
Setting up python3.4-minimal (3.4.2-4) ...
Setting up iproute2 (3.16.0-2) ...
Setting up openssl (1.0.1k-1) ...
Setting up ca-certificates (20141019) ...
Setting up python3.4 (3.4.2-4) ...
Setting up python3-minimal (3.4.2-2) ...
Setting up libpython3-stdlib:amd64 (3.4.2-2) ...
Setting up python-pkg-resources (5.5.1-1.0~reproducible1) ...
Setting up python-logilab-common (0.62.0-1) ...
Setting up python-astroid (1.2.1-3) ...
Setting up pylint (1.3.1-2) ...
Setting up python-chardet (2.3.0-1) ...
Setting up python-requests (2.4.3-5) ...
Setting up python-boto (2.34.0-2) ...
Setting up python-cheetah (2.4.4-3) ...
Setting up python-configobj (5.0.6-1) ...
Setting up python-mocker (1.0-2) ...
Setting up python-nose (1.3.4-2) ...
Setting up python-oauth (1.0.1-4) ...
Setting up python-serial (2.6-1.1) ...
Setting up python-setuptools (5.5.1-1.0~reproducible1) ...
Setting up python-yaml (3.11-2) ...
Setting up dh-python (1.20141111-2) ...
Setting up python3 (3.4.2-2) ...
Setting up python3-pkg-resources (5.5.1-1.0~reproducible1) ...
Setting up pyflakes (0.8.1-1) ...
Processing triggers for libc-bin (2.19-15) ...
Processing triggers for ca-certificates (20141019) ...
Updating certificates in /etc/ssl/certs... 173 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [cloud-init_0.7.6~bzr976-2.dsc]
I: copying [./cloud-init_0.7.6~bzr976.orig.tar.gz]
I: copying [./cloud-init_0.7.6~bzr976-2.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Sat Jul  5 12:21:15 2014 UTC using RSA key ID 2295D502
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./cloud-init_0.7.6~bzr976-2.dsc
dpkg-source: info: extracting cloud-init in cloud-init-0.7.6~bzr976
dpkg-source: info: unpacking cloud-init_0.7.6~bzr976.orig.tar.gz
dpkg-source: info: unpacking cloud-init_0.7.6~bzr976-2.debian.tar.xz
dpkg-source: info: applying fix-path-to-blkid-binary.patch
dpkg-source: info: applying disable-rhel-set-hostname-test.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  -b -rfakeroot
dpkg-buildpackage: source package cloud-init
dpkg-buildpackage: source version 0.7.6~bzr976-2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Charles Plessy <ple...@debian.org>
 dpkg-source --before-build cloud-init-0.7.6~bzr976
dpkg-buildpackage: host architecture amd64
dpkg-source: info: using options from cloud-init-0.7.6~bzr976/debian/source/options: --extend-diff-ignore=\.pyc$
 fakeroot debian/rules clean
dh clean --with python2 --buildsystem=python_distutils
   dh_testdir -O--buildsystem=python_distutils
   dh_auto_clean -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
   dh_clean -O--buildsystem=python_distutils
 debian/rules build
dh build --with python2 --buildsystem=python_distutils
   dh_testdir -O--buildsystem=python_distutils
   dh_auto_configure -O--buildsystem=python_distutils
   dh_auto_build -O--buildsystem=python_distutils
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/util.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/version.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/user_data.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/url_helper.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/type_utils.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/templater.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/stages.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/ssh_util.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/signal_handler.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/settings.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/safeyaml.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/patcher.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/netinfo.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/log.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/importer.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/helpers.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/ec2_utils.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/cs_utils.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/cloud.py -> build/lib.linux-x86_64-2.7/cloudinit
copying cloudinit/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit
creating build/lib.linux-x86_64-2.7/tests
creating build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_util.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_sshutil.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_pathprefix2dict.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_merging.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_ec2_util.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_data.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_cs_util.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test_builtin_handlers.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/test__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/helpers.py -> build/lib.linux-x86_64-2.7/tests/unittests
copying tests/unittests/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests
creating build/lib.linux-x86_64-2.7/tests/unittests/test_runs
copying tests/unittests/test_runs/test_simple_run.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_runs
copying tests/unittests/test_runs/test_merge_run.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_runs
copying tests/unittests/test_runs/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_runs
creating build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_set_hostname.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_yum_add_repo.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_timezone.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_seed_random.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_power_state.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_locale.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_growpart.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_ca_certs.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/test_handler_apt_configure.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
copying tests/unittests/test_handler/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_handler
creating build/lib.linux-x86_64-2.7/tests/unittests/test_filters
copying tests/unittests/test_filters/test_launch_index.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_filters
copying tests/unittests/test_filters/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_filters
creating build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_user_data_normalize.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_sysconfig.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_resolv.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_netconfig.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_hosts.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_hostname.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/test_generic.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
copying tests/unittests/test_distros/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_distros
creating build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_smartos.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_openstack.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_opennebula.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_nocloud.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_maas.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_gce.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_configdrive.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_cloudsigma.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_azure.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/test_altcloud.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
copying tests/unittests/test_datasource/__init__.py -> build/lib.linux-x86_64-2.7/tests/unittests/test_datasource
creating build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceSmartOS.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceOpenStack.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceOpenNebula.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceOVF.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceNone.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceNoCloud.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceMAAS.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceGCE.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceEc2.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceConfigDrive.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceCloudStack.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceCloudSigma.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceAzure.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
copying cloudinit/sources/DataSourceAltCloud.py -> build/lib.linux-x86_64-2.7/cloudinit/sources
creating build/lib.linux-x86_64-2.7/cloudinit/mergers
copying cloudinit/mergers/m_str.py -> build/lib.linux-x86_64-2.7/cloudinit/mergers
copying cloudinit/mergers/m_list.py -> build/lib.linux-x86_64-2.7/cloudinit/mergers
copying cloudinit/mergers/m_dict.py -> build/lib.linux-x86_64-2.7/cloudinit/mergers
copying cloudinit/mergers/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/mergers
creating build/lib.linux-x86_64-2.7/cloudinit/handlers
copying cloudinit/handlers/upstart_job.py -> build/lib.linux-x86_64-2.7/cloudinit/handlers
copying cloudinit/handlers/shell_script.py -> build/lib.linux-x86_64-2.7/cloudinit/handlers
copying cloudinit/handlers/cloud_config.py -> build/lib.linux-x86_64-2.7/cloudinit/handlers
copying cloudinit/handlers/boot_hook.py -> build/lib.linux-x86_64-2.7/cloudinit/handlers
copying cloudinit/handlers/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/handlers
creating build/lib.linux-x86_64-2.7/cloudinit/filters
copying cloudinit/filters/launch_index.py -> build/lib.linux-x86_64-2.7/cloudinit/filters
copying cloudinit/filters/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/filters
creating build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/ubuntu.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/sles.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/rhel_util.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/rhel.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/net_util.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/gentoo.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/freebsd.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/fedora.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/debian.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/arch.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
copying cloudinit/distros/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/distros
creating build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_yum_add_repo.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_write_files.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_users_groups.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_update_hostname.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_update_etc_hosts.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_timezone.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_ssh_import_id.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_ssh_authkey_fingerprints.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_ssh.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_set_passwords.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_set_hostname.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_seed_random.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_scripts_vendor.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_scripts_user.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_scripts_per_once.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_scripts_per_instance.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_scripts_per_boot.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_salt_minion.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_runcmd.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_rsyslog.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_rightscale_userdata.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_resolv_conf.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_resizefs.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_puppet.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_power_state_change.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_phone_home.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_package_update_upgrade_install.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_mounts.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_migrator.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_mcollective.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_locale.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_landscape.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_keys_to_console.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_grub_dpkg.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_growpart.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_foo.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_final_message.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_emit_upstart.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_disk_setup.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_disable_ec2_metadata.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_debug.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_chef.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_ca_certs.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_byobu.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_bootcmd.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_apt_pipelining.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/cc_apt_configure.py -> build/lib.linux-x86_64-2.7/cloudinit/config
copying cloudinit/config/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/config
creating build/lib.linux-x86_64-2.7/cloudinit/sources/helpers
copying cloudinit/sources/helpers/openstack.py -> build/lib.linux-x86_64-2.7/cloudinit/sources/helpers
copying cloudinit/sources/helpers/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/sources/helpers
creating build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
copying cloudinit/distros/parsers/sys_conf.py -> build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
copying cloudinit/distros/parsers/resolv_conf.py -> build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
copying cloudinit/distros/parsers/hosts.py -> build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
copying cloudinit/distros/parsers/hostname.py -> build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
copying cloudinit/distros/parsers/__init__.py -> build/lib.linux-x86_64-2.7/cloudinit/distros/parsers
running build_scripts
creating build/scripts-2.7
copying and adjusting bin/cloud-init -> build/scripts-2.7
copying tools/cloud-init-per -> build/scripts-2.7
changing mode of build/scripts-2.7/cloud-init from 644 to 755
   debian/rules override_dh_auto_test
make[1]: Entering directory '/tmp/buildd/cloud-init-0.7.6~bzr976'
dh_auto_test
/usr/bin/make test
make[2]: Entering directory '/tmp/buildd/cloud-init-0.7.6~bzr976'
Running tests...
..................................................................................................FEE......................................EF.E.EEEEE...............................................................EEEEF..............................................................................................................
======================================================================
ERROR: test_metadata (tests.unittests.test_datasource.test_gce.TestDataSourceGCE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_gce.py", line 84, in test_metadata
    self.ds.get_hostname())
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceGCE.py", line 118, in get_hostname
    return self.metadata['local-hostname']
KeyError: 'local-hostname'
-------------------- >> begin captured logging << --------------------
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_list'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_list with attributes ['Merger'] in ['cloudinit.mergers.m_list']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_dict'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_dict with attributes ['Merger'] in ['cloudinit.mergers.m_dict']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_str'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_str with attributes ['Merger'] in ['cloudinit.mergers.m_str']
cloudinit.mergers: DEBUG: Merging 'dict' into 'dict' using method '_handle_unknown' of 'LookupMerger: (3)'
cloudinit.mergers: DEBUG: Merging using located merger 'DictMerger: (method=no_replace,recurse_str=False,recurse_dict=True,recurse_array=False,allow_delete=False)' since it had method '_on_dict'
cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'headers': {'X-Google-Metadata-Request': True}, 'allow_redirects': True, 'method': 'GET'} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://metadata.google.internal./computeMetadata/v1/instance/id HTTP/1.1" 504 1408
cloudinit.sources.DataSourceGCE: DEBUG: required url instance/id raised exception 504 Server Error: Gateway Time-out. not GCE
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_partial (tests.unittests.test_datasource.test_gce.TestDataSourceGCE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_gce.py", line 108, in test_metadata_partial
    self.ds.get_instance_id())
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceGCE.py", line 112, in get_instance_id
    return self.metadata['instance-id']
KeyError: 'instance-id'
-------------------- >> begin captured logging << --------------------
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_list'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_list with attributes ['Merger'] in ['cloudinit.mergers.m_list']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_dict'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_dict with attributes ['Merger'] in ['cloudinit.mergers.m_dict']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_str'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_str with attributes ['Merger'] in ['cloudinit.mergers.m_str']
cloudinit.mergers: DEBUG: Merging 'dict' into 'dict' using method '_handle_unknown' of 'LookupMerger: (3)'
cloudinit.mergers: DEBUG: Merging using located merger 'DictMerger: (method=no_replace,recurse_str=False,recurse_dict=True,recurse_array=False,allow_delete=False)' since it had method '_on_dict'
cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'headers': {'X-Google-Metadata-Request': True}, 'allow_redirects': True, 'method': 'GET'} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://metadata.google.internal./computeMetadata/v1/instance/id HTTP/1.1" 504 1408
cloudinit.sources.DataSourceGCE: DEBUG: required url instance/id raised exception 504 Server Error: Gateway Time-out. not GCE
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_bad_uuid (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 180, in test_bad_uuid
    BASE_URL, version=self.VERSION)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_invalid (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 225, in test_metadata_invalid
    BASE_URL, version=self.VERSION)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_no_ec2 (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 152, in test_no_ec2
    f = ds.read_metadata_service(BASE_URL, version=self.VERSION)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_successful (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 130, in test_successful
    f = ds.read_metadata_service(BASE_URL, version=self.VERSION)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_userdata_empty (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 189, in test_userdata_empty
    f = ds.read_metadata_service(BASE_URL, version=self.VERSION)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_vendordata_empty (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 202, in test_vendordata_empty
    f = ds.read_metadata_service(BASE_URL, version=self.VERSION)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_vendordata_invalid (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 215, in test_vendordata_invalid
    BASE_URL, version=self.VERSION)
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/DataSourceOpenStack.py", line 159, in read_metadata_service
    return reader.read_v2(version=version)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/sources/helpers/openstack.py", line 239, in read_v2
    raise NonReadable("Missing mandatory path: %s" % path)
NonReadable: Missing mandatory path: http://169.254.169.254/openstack/latest/meta_data.json
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest' with {'url': 'http://169.254.169.254/openstack/latest', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2012-08-10' with {'url': 'http://169.254.169.254/openstack/2012-08-10', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-04-04' with {'url': 'http://169.254.169.254/openstack/2013-04-04', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04 HTTP/1.1" 504 1241
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/2013-10-17' with {'url': 'http://169.254.169.254/openstack/2013-10-17', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17 HTTP/1.1" 504 1241
cloudinit.sources.helpers.openstack: DEBUG: Version 'latest' not available, attempting to use 'latest' instead
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/vendor_data.json' with {'url': 'http://169.254.169.254/openstack/latest/vendor_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/vendor_data.json HTTP/1.1" 504 1267
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/user_data' with {'url': 'http://169.254.169.254/openstack/latest/user_data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/user_data HTTP/1.1" 504 1253
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_fetch_bdm (tests.unittests.test_ec2_util.TestEc2Util)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_ec2_util.py", line 134, in test_metadata_fetch_bdm
    self.assertEquals(md['hostname'], 'ec2.fake.host.name.com')
KeyError: 'hostname'
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/latest/meta-data' with {'url': 'http://169.254.169.254/latest/meta-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 0.1} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/meta-data HTTP/1.1" 504 1233
cloudinit.ec2_utils: WARNING: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
cloudinit.ec2_utils: DEBUG: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
Traceback (most recent call last):
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/ec2_utils.py", line 175, in get_instance_metadata
    response = caller(md_url)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/util.py", line 704, in read_file_or_url
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/url_helper.py", line 257, in readurl
    raise excps[-1]
UrlError: 504 Server Error: Gateway Time-out
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_fetch_key (tests.unittests.test_ec2_util.TestEc2Util)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_ec2_util.py", line 80, in test_metadata_fetch_key
    self.assertEquals(md['hostname'], 'ec2.fake.host.name.com')
KeyError: 'hostname'
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/latest/meta-data' with {'url': 'http://169.254.169.254/latest/meta-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 0.1} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/meta-data HTTP/1.1" 504 1233
cloudinit.ec2_utils: WARNING: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
cloudinit.ec2_utils: DEBUG: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
Traceback (most recent call last):
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/ec2_utils.py", line 175, in get_instance_metadata
    response = caller(md_url)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/util.py", line 704, in read_file_or_url
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/url_helper.py", line 257, in readurl
    raise excps[-1]
UrlError: 504 Server Error: Gateway Time-out
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_fetch_no_keys (tests.unittests.test_ec2_util.TestEc2Util)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_ec2_util.py", line 59, in test_metadata_fetch_no_keys
    self.assertEquals(md['hostname'], 'ec2.fake.host.name.com')
KeyError: 'hostname'
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/latest/meta-data' with {'url': 'http://169.254.169.254/latest/meta-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/meta-data HTTP/1.1" 504 1233
cloudinit.ec2_utils: WARNING: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
cloudinit.ec2_utils: DEBUG: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
Traceback (most recent call last):
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/ec2_utils.py", line 175, in get_instance_metadata
    response = caller(md_url)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/util.py", line 704, in read_file_or_url
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/url_helper.py", line 257, in readurl
    raise excps[-1]
UrlError: 504 Server Error: Gateway Time-out
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_metadata_fetch_with_2_keys (tests.unittests.test_ec2_util.TestEc2Util)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_ec2_util.py", line 105, in test_metadata_fetch_with_2_keys
    self.assertEquals(md['hostname'], 'ec2.fake.host.name.com')
KeyError: 'hostname'
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/latest/meta-data' with {'url': 'http://169.254.169.254/latest/meta-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 0.1} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/meta-data HTTP/1.1" 504 1233
cloudinit.ec2_utils: WARNING: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
cloudinit.ec2_utils: DEBUG: Failed fetching metadata from url http://169.254.169.254/latest/meta-data
Traceback (most recent call last):
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/ec2_utils.py", line 175, in get_instance_metadata
    response = caller(md_url)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/util.py", line 704, in read_file_or_url
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/url_helper.py", line 257, in readurl
    raise excps[-1]
UrlError: 504 Server Error: Gateway Time-out
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_connection (tests.unittests.test_datasource.test_gce.TestDataSourceGCE)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_gce.py", line 71, in test_connection
    self.assertTrue(success)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_list'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_list with attributes ['Merger'] in ['cloudinit.mergers.m_list']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_dict'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_dict with attributes ['Merger'] in ['cloudinit.mergers.m_dict']
cloudinit.importer: DEBUG: Looking for modules ['cloudinit.mergers.m_str'] that have attributes ['Merger']
cloudinit.importer: DEBUG: Found m_str with attributes ['Merger'] in ['cloudinit.mergers.m_str']
cloudinit.mergers: DEBUG: Merging 'dict' into 'dict' using method '_handle_unknown' of 'LookupMerger: (3)'
cloudinit.mergers: DEBUG: Merging using located merger 'DictMerger: (method=no_replace,recurse_str=False,recurse_dict=True,recurse_array=False,allow_delete=False)' since it had method '_on_dict'
cloudinit.util: DEBUG: detected dns redirection: {'does-not-exist.example.com.': [u': does-not-exist.example.com.'], 'DwX4BOCX5n79NTW6b9UIbGv60ukd69UI': [u': DwX4BOCX5n79NTW6b9UIbGv60ukd69UI'], 'example.invalid.': [u': example.invalid.']}
cloudinit.url_helper: DEBUG: [0/1] open 'http://metadata.google.internal./computeMetadata/v1/instance/id' with {'url': 'http://metadata.google.internal./computeMetadata/v1/instance/id', 'headers': {'X-Google-Metadata-Request': True}, 'allow_redirects': True, 'method': 'GET'} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://metadata.google.internal./computeMetadata/v1/instance/id HTTP/1.1" 504 1408
cloudinit.sources.DataSourceGCE: DEBUG: required url instance/id raised exception 504 Server Error: Gateway Time-out. not GCE
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_datasource (tests.unittests.test_datasource.test_openstack.TestOpenStackDataSource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_datasource/test_openstack.py", line 235, in test_datasource
    self.assertTrue(found)
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/openstack/2012-08-10/meta_data.json' with {'url': 'http://169.254.169.254/openstack/2012-08-10/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2012-08-10/meta_data.json HTTP/1.1" 504 1271
cloudinit.url_helper: DEBUG: Read from http://169.254.169.254/openstack/2012-08-10/meta_data.json (504, 1271b) after 1 attempts
cloudinit.url_helper: DEBUG: Calling 'http://169.254.169.254/openstack/2012-08-10/meta_data.json' failed [180/-1s]: bad status code [504]
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/openstack/2013-04-04/meta_data.json' with {'url': 'http://169.254.169.254/openstack/2013-04-04/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-04-04/meta_data.json HTTP/1.1" 504 1271
cloudinit.url_helper: DEBUG: Read from http://169.254.169.254/openstack/2013-04-04/meta_data.json (504, 1271b) after 1 attempts
cloudinit.url_helper: DEBUG: Calling 'http://169.254.169.254/openstack/2013-04-04/meta_data.json' failed [362/-1s]: bad status code [504]
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/openstack/2013-10-17/meta_data.json' with {'url': 'http://169.254.169.254/openstack/2013-10-17/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/2013-10-17/meta_data.json HTTP/1.1" 504 1271
cloudinit.url_helper: DEBUG: Read from http://169.254.169.254/openstack/2013-10-17/meta_data.json (504, 1271b) after 1 attempts
cloudinit.url_helper: DEBUG: Calling 'http://169.254.169.254/openstack/2013-10-17/meta_data.json' failed [542/-1s]: bad status code [504]
cloudinit.url_helper: DEBUG: [0/1] open 'http://169.254.169.254/openstack/latest/meta_data.json' with {'url': 'http://169.254.169.254/openstack/latest/meta_data.json', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 10.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/openstack/latest/meta_data.json HTTP/1.1" 504 1263
cloudinit.url_helper: DEBUG: Read from http://169.254.169.254/openstack/latest/meta_data.json (504, 1263b) after 1 attempts
cloudinit.url_helper: DEBUG: Calling 'http://169.254.169.254/openstack/latest/meta_data.json' failed [722/-1s]: bad status code [504]
cloudinit.sources.DataSourceOpenStack: DEBUG: Giving up on OpenStack md from ['http://169.254.169.254/openstack/2012-08-10/meta_data.json', 'http://169.254.169.254/openstack/2013-04-04/meta_data.json', 'http://169.254.169.254/openstack/2013-10-17/meta_data.json', 'http://169.254.169.254/openstack/latest/meta_data.json'] after 722 seconds
--------------------- >> end captured logging << ---------------------

======================================================================
FAIL: test_userdata_fetch (tests.unittests.test_ec2_util.TestEc2Util)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/httpretty/core.py", line 1013, in wrapper
    return test(*args, **kw)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/tests/unittests/test_ec2_util.py", line 19, in test_userdata_fetch
    self.assertEquals('stuff', userdata)
AssertionError: 'stuff' != ''
-------------------- >> begin captured logging << --------------------
cloudinit.url_helper: DEBUG: [0/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: Please wait 1 seconds while we wait to try again
cloudinit.url_helper: DEBUG: [1/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: Please wait 1 seconds while we wait to try again
cloudinit.url_helper: DEBUG: [2/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: Please wait 1 seconds while we wait to try again
cloudinit.url_helper: DEBUG: [3/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: Please wait 1 seconds while we wait to try again
cloudinit.url_helper: DEBUG: [4/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.url_helper: DEBUG: Please wait 1 seconds while we wait to try again
cloudinit.url_helper: DEBUG: [5/6] open 'http://169.254.169.254/latest/user-data' with {'url': 'http://169.254.169.254/latest/user-data', 'headers': {'User-Agent': 'Cloud-Init/0.7.6'}, 'allow_redirects': True, 'method': 'GET', 'timeout': 5.0} configuration
urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost
urllib3.connectionpool: DEBUG: "GET http://169.254.169.254/latest/user-data HTTP/1.1" 504 1233
cloudinit.ec2_utils: WARNING: Failed fetching userdata from url http://169.254.169.254/latest/user-data
cloudinit.ec2_utils: DEBUG: Failed fetching userdata from url http://169.254.169.254/latest/user-data
Traceback (most recent call last):
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/ec2_utils.py", line 155, in get_instance_userdata
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/util.py", line 704, in read_file_or_url
    exception_cb=exception_cb)
  File "/tmp/buildd/cloud-init-0.7.6~bzr976/cloudinit/url_helper.py", line 257, in readurl
    raise excps[-1]
UrlError: 504 Server Error: Gateway Time-out
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 327 tests in 16252.213s

FAILED (errors=13, failures=3)
Makefile:37: recipe for target 'test' failed
make[2]: *** [test] Error 1
make[2]: Leaving directory '/tmp/buildd/cloud-init-0.7.6~bzr976'
debian/rules:12: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/tmp/buildd/cloud-init-0.7.6~bzr976'
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /run/shm filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//48702 and its subdirectories

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to