Skip to content

Instantly share code, notes, and snippets.

@pdmack
Created January 14, 2015 15:57
Show Gist options
  • Save pdmack/e482978f0f5309ed9868 to your computer and use it in GitHub Desktop.
Save pdmack/e482978f0f5309ed9868 to your computer and use it in GitHub Desktop.
trusty kick-start mysql
pmackinn@ubuntu:~/trove-integration/scripts$ ./redstack kick-start mysql
*******************************************************************************
Initializing Configuration for Running Tests...
*******************************************************************************
*******************************************************************************
Installing python test packages.
*******************************************************************************
The directory '/home/pmackinn/trove-integration/scripts/.cache/pip/log' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory '/home/pmackinn/trove-integration/scripts/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory '/home/pmackinn/trove-integration/scripts/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
Requirement already satisfied (use --upgrade to upgrade): openstack.nose-plugin in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): proboscis in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): pexpect in /usr/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): nose in /usr/lib/python2.7/dist-packages (from openstack.nose-plugin)
Requirement already satisfied (use --upgrade to upgrade): colorama in /usr/lib/python2.7/dist-packages (from openstack.nose-plugin)
Requirement already satisfied (use --upgrade to upgrade): termcolor in /usr/local/lib/python2.7/dist-packages (from openstack.nose-plugin)
*******************************************************************************
Modifying test.conf and guest.conf with appropriate values.
*******************************************************************************
*******************************************************************************
Creating Test Flavors.
*******************************************************************************
*******************************************************************************
Trying to build image
*******************************************************************************
*******************************************************************************
Building an image for use with development and integration tests.
*******************************************************************************
*******************************************************************************
Actually building the image, this can take up to 15 minutes
*******************************************************************************
/home/pmackinn/.ssh already exists
Keyfile already exists in authorized_keys - skipping
+ true
+ case "$1" in
+ QEMU_IMG_OPTIONS=compat=0.10
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ export DIB_IMAGE_CACHE=/home/pmackinn/trove-integration/scripts//.cache/image-create
+ DIB_IMAGE_CACHE=/home/pmackinn/trove-integration/scripts//.cache/image-create
+ mkdir -p /home/pmackinn/trove-integration/scripts//.cache/image-create
+ '[' '' = 1 -a /home/pmackinn/trove-integration/scripts/ '!=' '' ']'
+ source /opt/stack/diskimage-builder/bin/../lib/img-defaults
++ source /opt/stack/diskimage-builder/bin/../lib/common-defaults
+++ '[' -f /etc/debian_version ']'
++++ dpkg --print-architecture
+++ _ARCH=amd64
+++ ARCH=amd64
+++ export ARCH
+++ export DIB_NO_TMPFS=0
+++ DIB_NO_TMPFS=0
+++ export DIB_MIN_TMPFS=2
+++ DIB_MIN_TMPFS=2
+++ _BASE_ELEMENT_DIR=/opt/stack/diskimage-builder/bin/../elements
+++ ELEMENTS_PATH=/home/pmackinn/trove-integration/scripts/files/elements:/opt/stack/tripleo-image-elements/elements:/opt/stack/diskimage-builder/bin/../elements
+++ export ELEMENTS_PATH=/home/pmackinn/trove-integration/scripts/files/elements:/opt/stack/tripleo-image-elements/elements:/opt/stack/diskimage-builder/bin/../elements
+++ ELEMENTS_PATH=/home/pmackinn/trove-integration/scripts/files/elements:/opt/stack/tripleo-image-elements/elements:/opt/stack/diskimage-builder/bin/../elements
+++ export DIB_OFFLINE=
+++ DIB_OFFLINE=
+++ [[ :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games =~ :/sbin ]]
+++ [[ :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games =~ :/usr/sbin ]]
+++ [[ :/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games =~ :/usr/local/sbin ]]
++ FS_TYPE=ext4
++ IMAGE_TYPE=qcow2
++ IMAGE_NAME=/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql
+ source /opt/stack/diskimage-builder/bin/../lib/common-functions
+ source /opt/stack/diskimage-builder/bin/../lib/img-functions
+ '[' 0 == 1 ']'
+ '[' -z 'ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql' ']'
+ arg_to_elements ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools cloud-init-datasources'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql'
+ '[' '' '!=' 1 ']'
+ IMAGE_ELEMENT='base ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql'
+ '[' 0 == 1 ']'
+ echo 'Building elements: base ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql'
Building elements: base ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql
++ /opt/stack/diskimage-builder/bin/element-info --expand-dependencies base ubuntu vm heat-cfntools cloud-init-datasources ubuntu-guest ubuntu-mysql
+ IMAGE_ELEMENT='source-repositories ubuntu-guest dib-run-parts ubuntu-mysql vm manifests pip-and-virtualenv cache-url pkg-map heat-cfntools ubuntu cloud-init-datasources base package-installs dpkg dkms'
+ export IMAGE_ELEMENT
+ echo 'Expanded element dependencies to: source-repositories ubuntu-guest dib-run-parts ubuntu-mysql vm manifests pip-and-virtualenv cache-url pkg-map heat-cfntools ubuntu cloud-init-datasources base package-installs dpkg dkms'
Expanded element dependencies to: source-repositories ubuntu-guest dib-run-parts ubuntu-mysql vm manifests pip-and-virtualenv cache-url pkg-map heat-cfntools ubuntu cloud-init-datasources base package-installs dpkg dkms
+ '[' 1 = 1 ']'
+ export IMAGE_NAME=/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql
+ IMAGE_NAME=/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql
++ uuidgen -r
+ export DIB_IMAGE_ROOT_FS_UUID=b26f3b53-00f9-4d7c-95ac-ddf6b9890efa
+ DIB_IMAGE_ROOT_FS_UUID=b26f3b53-00f9-4d7c-95ac-ddf6b9890efa
+ echo ext4
+ grep -q '^ext'
+ '[' -z b26f3b53-00f9-4d7c-95ac-ddf6b9890efa ']'
+ '[' -z '' ']'
+ '[' ext4 = xfs ']'
+ DIB_ROOT_LABEL=cloudimg-rootfs
+ mk_build_dir
++ mktemp -t -d --tmpdir=/tmp image.XXXXXXXX
+ TMP_BUILD_DIR=/tmp/image.wyl3rVjW
++ mktemp -t -d --tmpdir=/tmp image.XXXXXXXX
+ TMP_IMAGE_DIR=/tmp/image.41ntlHt1
+ '[' 0 -eq 0 ']'
+ export TMP_BUILD_DIR
+ tmpfs_check
+ '[' 0 == 0 ']'
+ '[' -r /proc/meminfo ']'
++ awk '/^MemTotal/ { print $2 }' /proc/meminfo
+ total_kB=4044848
+ RAM_NEEDED=4
+ '[' 4044848 -lt 4194304 ']'
+ echo 'Not enough RAM to use tmpfs for build. (4044848 < 4G)'
Not enough RAM to use tmpfs for build. (4044848 < 4G)
+ return 1
++ id -u
++ id -g
+ sudo chown 1000:1000 /tmp/image.wyl3rVjW /tmp/image.41ntlHt1
+ trap trap_cleanup EXIT
+ echo Building in /tmp/image.wyl3rVjW
Building in /tmp/image.wyl3rVjW
+ export TMP_IMAGE_PATH=/tmp/image.41ntlHt1/image.raw
+ TMP_IMAGE_PATH=/tmp/image.41ntlHt1/image.raw
+ export OUT_IMAGE_PATH=/tmp/image.41ntlHt1/image.raw
+ OUT_IMAGE_PATH=/tmp/image.41ntlHt1/image.raw
+ export TMP_HOOKS_PATH=/tmp/image.wyl3rVjW/hooks
+ TMP_HOOKS_PATH=/tmp/image.wyl3rVjW/hooks
+ create_base
+ mkdir /tmp/image.wyl3rVjW/mnt
+ export TMP_MOUNT_PATH=/tmp/image.wyl3rVjW/mnt
+ TMP_MOUNT_PATH=/tmp/image.wyl3rVjW/mnt
+ TARGET_ROOT=/tmp/image.wyl3rVjW/mnt
+ run_d root
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ generate_hooks
+ mkdir -p /tmp/image.wyl3rVjW/hooks
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/source-repositories ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/source-repositories ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/source-repositories ']'
++ find /opt/stack/diskimage-builder/bin/../elements/source-repositories -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/source-repositories/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/source-repositories/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
+ mkdir /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/source-repositories/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/98-source-repositories ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/source-repositories/extra-data.d/98-source-repositories
++ find /opt/stack/diskimage-builder/bin/../elements/source-repositories -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/source-repositories/package-installs.yaml
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/source-repositories/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/source-repositories/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest ']'
++ find /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d
+ _DIR=post-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/post-install.d
+ mkdir /tmp/image.wyl3rVjW/hooks/post-install.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/05-ipforwarding ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d/05-ipforwarding
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/10-ntp ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d/10-ntp
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/60-loopback-host ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d/60-loopback-host
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/62-trove-guest-sudoers ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d/62-trove-guest-sudoers
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/90-apt-get-update ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/post-install.d/90-apt-get-update
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
+ mkdir /tmp/image.wyl3rVjW/hooks/install.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/05-base-apps ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/05-base-apps
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/15-reddwarf-dep ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/15-reddwarf-dep
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/20-etc ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/20-etc
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/50-user ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/50-user
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/62-ssh-key ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/62-ssh-key
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/98-ssh ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/98-ssh
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/99-clean-apt ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/install.d/99-clean-apt
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pre-install.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
+ mkdir /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/01-trim-pkgs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pre-install.d/01-trim-pkgs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/04-baseline-tools ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pre-install.d/04-baseline-tools
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/extra-data.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/20-guest-upstart ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/extra-data.d/20-guest-upstart
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/62-ssh-key ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/extra-data.d/62-ssh-key
++ find /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest -maxdepth 1 -type f
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/dib-run-parts ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/dib-run-parts ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/dib-run-parts ']'
++ find /opt/stack/diskimage-builder/bin/../elements/dib-run-parts -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dib-run-parts/root.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dib-run-parts/root.d
+ _DIR=root.d
+ test -d /tmp/image.wyl3rVjW/hooks/root.d
+ mkdir /tmp/image.wyl3rVjW/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dib-run-parts/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/90-base-dib-run-parts ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dib-run-parts/root.d/90-base-dib-run-parts
++ find /opt/stack/diskimage-builder/bin/../elements/dib-run-parts -maxdepth 1 -type f
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql ']'
++ find /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/install.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/30-mysql ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/install.d/30-mysql
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pre-install.d
++ basename /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/10-percona-apt-key ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pre-install.d/10-percona-apt-key
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/20-apparmor-mysql-local ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pre-install.d/20-apparmor-mysql-local
++ find /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/vm ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/vm ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/vm ']'
++ find /opt/stack/diskimage-builder/bin/../elements/vm -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/vm/cleanup.d
++ basename /opt/stack/diskimage-builder/bin/../elements/vm/cleanup.d
+ _DIR=cleanup.d
+ test -d /tmp/image.wyl3rVjW/hooks/cleanup.d
+ mkdir /tmp/image.wyl3rVjW/hooks/cleanup.d
++ ls /opt/stack/diskimage-builder/bin/../elements/vm/cleanup.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/51-bootloader ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/vm/cleanup.d/51-bootloader
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/vm/block-device.d
++ basename /opt/stack/diskimage-builder/bin/../elements/vm/block-device.d
+ _DIR=block-device.d
+ test -d /tmp/image.wyl3rVjW/hooks/block-device.d
+ mkdir /tmp/image.wyl3rVjW/hooks/block-device.d
++ ls /opt/stack/diskimage-builder/bin/../elements/vm/block-device.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/block-device.d/10-partition ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/block-device.d -a /opt/stack/diskimage-builder/bin/../elements/vm/block-device.d/10-partition
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/vm/finalise.d
++ basename /opt/stack/diskimage-builder/bin/../elements/vm/finalise.d
+ _DIR=finalise.d
+ test -d /tmp/image.wyl3rVjW/hooks/finalise.d
+ mkdir /tmp/image.wyl3rVjW/hooks/finalise.d
++ ls /opt/stack/diskimage-builder/bin/../elements/vm/finalise.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/finalise.d/50-remove-bogus-udev-links ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/finalise.d -a /opt/stack/diskimage-builder/bin/../elements/vm/finalise.d/50-remove-bogus-udev-links
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/finalise.d/51-bootloader ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/finalise.d -a /opt/stack/diskimage-builder/bin/../elements/vm/finalise.d/51-bootloader
++ find /opt/stack/diskimage-builder/bin/../elements/vm -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/vm/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/manifests ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/manifests ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/manifests ']'
++ find /opt/stack/diskimage-builder/bin/../elements/manifests -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/manifests/environment.d
++ basename /opt/stack/diskimage-builder/bin/../elements/manifests/environment.d
+ _DIR=environment.d
+ test -d /tmp/image.wyl3rVjW/hooks/environment.d
+ mkdir /tmp/image.wyl3rVjW/hooks/environment.d
++ ls /opt/stack/diskimage-builder/bin/../elements/manifests/environment.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/environment.d/14-manifests ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/manifests/environment.d/14-manifests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/manifests/cleanup.d
++ basename /opt/stack/diskimage-builder/bin/../elements/manifests/cleanup.d
+ _DIR=cleanup.d
+ test -d /tmp/image.wyl3rVjW/hooks/cleanup.d
++ ls /opt/stack/diskimage-builder/bin/../elements/manifests/cleanup.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/01-copy-manifests-dir ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/manifests/cleanup.d/01-copy-manifests-dir
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/manifests/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/manifests/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/manifests/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/20-manifest-dir ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/manifests/extra-data.d/20-manifest-dir
++ find /opt/stack/diskimage-builder/bin/../elements/manifests -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/manifests/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/pip-and-virtualenv ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv ']'
++ find /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/install.d
++ basename /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/get-pip-py-package-install ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/install.d/get-pip-py-package-install
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/get-pip-py-source-install ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/install.d/get-pip-py-source-install
++ find /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/element-deps
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/source-repository-pip-and-virtualenv
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/cache-url ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/cache-url ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/cache-url ']'
++ find /opt/stack/diskimage-builder/bin/../elements/cache-url -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/cache-url/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/cache-url/bin
+ _DIR=bin
+ test -d /tmp/image.wyl3rVjW/hooks/bin
+ mkdir /tmp/image.wyl3rVjW/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/cache-url/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/cache-url ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/cache-url/bin/cache-url
++ find /opt/stack/diskimage-builder/bin/../elements/cache-url -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/cache-url/__init__.py
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/cache-url/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/pkg-map ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/pkg-map ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/pkg-map ']'
++ find /opt/stack/diskimage-builder/bin/../elements/pkg-map -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/pkg-map/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/pkg-map/bin
+ _DIR=bin
+ test -d /tmp/image.wyl3rVjW/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/pkg-map/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/pkg-map ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/pkg-map/bin/pkg-map
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/pkg-map/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/pkg-map/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/pkg-map/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/10-create-pkg-map-dir ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/pkg-map/extra-data.d/10-create-pkg-map-dir
++ find /opt/stack/diskimage-builder/bin/../elements/pkg-map -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/pkg-map/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/heat-cfntools ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/heat-cfntools ']'
++ find /opt/stack/tripleo-image-elements/elements/heat-cfntools -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d
++ basename /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/05-heat-cfntools ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d/05-heat-cfntools
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/10-ec2-user ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d/10-ec2-user
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/package-installs-heat-cfntools ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d/package-installs-heat-cfntools
++ find /opt/stack/tripleo-image-elements/elements/heat-cfntools -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/ubuntu ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/ubuntu ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/ubuntu ']'
++ find /opt/stack/diskimage-builder/bin/../elements/ubuntu -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d
+ _DIR=environment.d
+ test -d /tmp/image.wyl3rVjW/hooks/environment.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/environment.d/10-ubuntu-distro-name.bash ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d/10-ubuntu-distro-name.bash
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/environment.d/99-cloud-init-datasources.bash ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d/99-cloud-init-datasources.bash
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d
+ _DIR=root.d
+ test -d /tmp/image.wyl3rVjW/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/10-cache-ubuntu-tarball ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d/10-cache-ubuntu-tarball
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/10-support-physical-hardware ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d/10-support-physical-hardware
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/00-remove-apt-xapian-index ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d/00-remove-apt-xapian-index
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/00-remove-grub ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d/00-remove-grub
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/01-set-ubuntu-mirror ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d/01-set-ubuntu-mirror
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin
+ _DIR=bin
+ test -d /tmp/image.wyl3rVjW/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/map-services ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin/map-services
++ find /opt/stack/diskimage-builder/bin/../elements/ubuntu -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/element-provides
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/cloud-init-datasources ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/cloud-init-datasources ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources ']'
++ find /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/05-set-cloud-init-sources ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/install.d/05-set-cloud-init-sources
++ find /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/base ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/base ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/base ']'
++ find /opt/stack/diskimage-builder/bin/../elements/base -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/environment.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/environment.d
+ _DIR=environment.d
+ test -d /tmp/image.wyl3rVjW/hooks/environment.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/environment.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/environment.d/10-ccache.bash ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/base/environment.d/10-ccache.bash
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/environment.d/10-dib-init-system.bash ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/base/environment.d/10-dib-init-system.bash
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d
+ _DIR=cleanup.d
+ test -d /tmp/image.wyl3rVjW/hooks/cleanup.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/01-ccache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d/01-ccache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/99-tidy-logs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d/99-tidy-logs
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/root.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/root.d
+ _DIR=root.d
+ test -d /tmp/image.wyl3rVjW/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/01-ccache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/base/root.d/01-ccache
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/00-baseline-environment ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/00-baseline-environment
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/00-ccache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/00-ccache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/10-cloud-init ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/10-cloud-init
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/50-store-build-settings ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/50-store-build-settings
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/99-dkms ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/99-dkms
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/99-up-to-date ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/99-up-to-date
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/03-baseline-tools ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d/03-baseline-tools
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/04-dib-init-system ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d/04-dib-init-system
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/50-store-build-settings ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d/50-store-build-settings
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/99-enable-install-types ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d/99-enable-install-types
++ find /opt/stack/diskimage-builder/bin/../elements/base -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/dib-init-system
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/pkg-map
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/package-installs ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/package-installs ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/package-installs ']'
++ find /opt/stack/diskimage-builder/bin/../elements/package-installs -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d
+ _DIR=post-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/post-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/00-package-installs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d/00-package-installs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d/99-package-uninstalls
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d
+ _DIR=install.d
+ test -d /tmp/image.wyl3rVjW/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/00-package-installs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d/00-package-installs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d/99-package-uninstalls
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/02-package-installs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d/02-package-installs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d/99-package-uninstalls
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/package-installs/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/bin
+ _DIR=bin
+ test -d /tmp/image.wyl3rVjW/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/package-installs ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/package-installs/bin/package-installs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/package-installs-squash ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/package-installs/bin/package-installs-squash
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/package-installs-v2 ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/package-installs/bin/package-installs-v2
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/package-uninstalls ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/package-installs/bin/package-uninstalls
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/package-installs/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/99-squash-package-install ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/extra-data.d/99-squash-package-install
++ find /opt/stack/diskimage-builder/bin/../elements/package-installs -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/package-installs/README.rst
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/package-installs/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/dpkg ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/dpkg ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/dpkg ']'
++ find /opt/stack/diskimage-builder/bin/../elements/dpkg -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d
+ _DIR=cleanup.d
+ test -d /tmp/image.wyl3rVjW/hooks/cleanup.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/40-unblock-daemons ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d/40-unblock-daemons
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/50-remove-img-build-proxy ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d/50-remove-img-build-proxy
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/cleanup.d/60-untrim-dpkg ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/cleanup.d/60-untrim-dpkg
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d
+ _DIR=root.d
+ test -d /tmp/image.wyl3rVjW/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/50-build-with-http-cache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d/50-build-with-http-cache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/60-block-apt-translations ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d/60-block-apt-translations
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/99-block-daemons ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d/99-block-daemons
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/99-shared_apt_cache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d/99-shared_apt_cache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/root.d/99-trim-dpkg ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/root.d/99-trim-dpkg
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d
+ _DIR=finalise.d
+ test -d /tmp/image.wyl3rVjW/hooks/finalise.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/finalise.d/99-clean-up-cache ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/finalise.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d/99-clean-up-cache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/finalise.d/99-write-dpkg-manifest ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/finalise.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d/99-write-dpkg-manifest
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/00-disable-apt-recommends ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d/00-disable-apt-recommends
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/01-dpkg-install-bin ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d/01-dpkg-install-bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/02-add-apt-keys ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d/02-add-apt-keys
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/pre-install.d/99-apt-get-update ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d/99-apt-get-update
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/bin
+ _DIR=bin
+ test -d /tmp/image.wyl3rVjW/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/bin/install-packages ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/dpkg/bin/install-packages
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dpkg/extra-data.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/extra-data.d
+ _DIR=extra-data.d
+ test -d /tmp/image.wyl3rVjW/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/extra-data.d/01-copy-apt-keys ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/dpkg/extra-data.d/01-copy-apt-keys
++ find /opt/stack/diskimage-builder/bin/../elements/dpkg -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/dpkg/README.md
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/dpkg/element-deps
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/pmackinn/trove-integration/scripts/files/elements/dkms ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/tripleo-image-elements/elements/dkms ']'
+ continue
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /opt/stack/diskimage-builder/bin/../elements/dkms ']'
++ find /opt/stack/diskimage-builder/bin/../elements/dkms -mindepth 1 -maxdepth 1 -type d -not -name tests
+ for _DIR in '$(find $dir/$_ELEMENT -mindepth 1 -maxdepth 1 -type d -not -name tests)'
+ copy_hooks_not_overwrite /opt/stack/diskimage-builder/bin/../elements/dkms/post-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dkms/post-install.d
+ _DIR=post-install.d
+ test -d /tmp/image.wyl3rVjW/hooks/post-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dkms/post-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.wyl3rVjW/hooks/post-install.d/99-dkms ']'
+ cp -t /tmp/image.wyl3rVjW/hooks/post-install.d -a /opt/stack/diskimage-builder/bin/../elements/dkms/post-install.d/99-dkms
++ find /opt/stack/diskimage-builder/bin/../elements/dkms -maxdepth 1 -type f
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.wyl3rVjW/hooks -a /opt/stack/diskimage-builder/bin/../elements/dkms/README.md
+ break
+ check_break before-root bash
+ echo ''
+ egrep -e '(,|^)before-root(,|$)' -q
+ '[' -d /tmp/image.wyl3rVjW/hooks/root.d ']'
+ dib-run-parts /tmp/image.wyl3rVjW/hooks/root.d
dib-run-parts Wed Jan 14 10:05:09 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/01-ccache
dib-run-parts Wed Jan 14 10:05:09 EST 2015 01-ccache completed
dib-run-parts Wed Jan 14 10:05:09 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/10-cache-ubuntu-tarball
+ set -o pipefail
+ '[' -n amd64 ']'
+ '[' -n /tmp/image.wyl3rVjW/mnt ']'
+ shopt -s extglob
+ DIB_CLOUD_IMAGES=cloud-images.ubuntu.com
+ DIB_RELEASE=precise
+ BASE_IMAGE_FILE=precise-server-cloudimg-amd64-root.tar.gz
+ SHA256SUMS=https://cloud-images.ubuntu.com/precise/current/SHA256SUMS
+ CACHED_FILE=/home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz
+ CACHED_FILE_LOCK=/home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz.lock
+ CACHED_SUMS=/home/pmackinn/trove-integration/scripts//.cache/image-create/SHA256SUMS.ubuntu.precise.amd64
++ date
+ echo 'Getting /home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz.lock: Wed Jan 14 10:05:09 EST 2015'
Getting /home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz.lock: Wed Jan 14 10:05:09 EST 2015
+ flock -w 1200 9
+ get_ubuntu_tarball
+ '[' -n '' -a -f /home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz ']'
+ echo 'Fetching Base Image'
Fetching Base Image
+ /tmp/image.wyl3rVjW/hooks/bin/cache-url https://cloud-images.ubuntu.com/precise/current/SHA256SUMS /home/pmackinn/trove-integration/scripts//.cache/image-create/SHA256SUMS.ubuntu.precise.amd64
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.88.141...
* Connected to cloud-images.ubuntu.com (91.189.88.141) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using DHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: OU=Domain Control Validated; CN=cloud-images.ubuntu.com
* start date: 2014-06-30 16:36:02 GMT
* expire date: 2015-07-14 07:49:21 GMT
* subjectAltName: cloud-images.ubuntu.com matched
* issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
* SSL certificate verify ok.
> GET /precise/current/SHA256SUMS HTTP/1.1
> User-Agent: curl/7.35.0
> Host: cloud-images.ubuntu.com
> Accept: */*
> If-Modified-Since: Tue, 13 Jan 2015 22:19:29 GMT
>
< HTTP/1.1 304 Not Modified
< Date: Wed, 14 Jan 2015 15:05:10 GMT
* Server Apache/2.2.22 (Ubuntu) is not blacklisted
< Server: Apache/2.2.22 (Ubuntu)
< ETag: "29a0b31-423-50c809a8f8f00"
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host cloud-images.ubuntu.com left intact
Server copy has not changed. Using locally cached https://cloud-images.ubuntu.com/precise/current/SHA256SUMS
+ /tmp/image.wyl3rVjW/hooks/bin/cache-url cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-root.tar.gz /home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.88.141...
* Connected to cloud-images.ubuntu.com (91.189.88.141) port 80 (#0)
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> GET /precise/current/precise-server-cloudimg-amd64-root.tar.gz HTTP/1.1
> User-Agent: curl/7.35.0
> Host: cloud-images.ubuntu.com
> Accept: */*
> If-Modified-Since: Tue, 13 Jan 2015 22:42:25 GMT
>
< HTTP/1.1 304 Not Modified
< Date: Wed, 14 Jan 2015 15:05:11 GMT
* Server Apache/2.2.22 (Ubuntu) is not blacklisted
< Server: Apache/2.2.22 (Ubuntu)
< ETag: "29a097c-e4a1087-50c7e284b7640"
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host cloud-images.ubuntu.com left intact
Server copy has not changed. Using locally cached cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-root.tar.gz
+ pushd /home/pmackinn/trove-integration/scripts//.cache/image-create
/home/pmackinn/trove-integration/scripts/.cache/image-create /home/pmackinn/trove-integration/scripts
+ sha256sum --check -
+ grep precise-server-cloudimg-amd64-root.tar.gz /home/pmackinn/trove-integration/scripts//.cache/image-create/SHA256SUMS.ubuntu.precise.amd64
precise-server-cloudimg-amd64-root.tar.gz: OK
+ popd
/home/pmackinn/trove-integration/scripts
+ sudo tar -C /tmp/image.wyl3rVjW/mnt --numeric-owner -xzf /home/pmackinn/trove-integration/scripts//.cache/image-create/precise-server-cloudimg-amd64-root.tar.gz
dib-run-parts Wed Jan 14 10:05:20 EST 2015 10-cache-ubuntu-tarball completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/50-build-with-http-cache
dib-run-parts Wed Jan 14 10:05:20 EST 2015 50-build-with-http-cache completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/60-block-apt-translations
0+1 records in
0+1 records out
32 bytes (32 B) copied, 0.000167343 s, 191 kB/s
dib-run-parts Wed Jan 14 10:05:20 EST 2015 60-block-apt-translations completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/90-base-dib-run-parts
dib-run-parts Wed Jan 14 10:05:20 EST 2015 90-base-dib-run-parts completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/99-block-daemons
0+1 records in
0+1 records out
76 bytes (76 B) copied, 6.911e-05 s, 1.1 MB/s
0+1 records in
0+1 records out
90 bytes (90 B) copied, 7.0351e-05 s, 1.3 MB/s
0+1 records in
0+1 records out
143 bytes (143 B) copied, 7.8244e-05 s, 1.8 MB/s
dib-run-parts Wed Jan 14 10:05:20 EST 2015 99-block-daemons completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/99-shared_apt_cache
dib-run-parts Wed Jan 14 10:05:20 EST 2015 99-shared_apt_cache completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/root.d/99-trim-dpkg
dib-run-parts Wed Jan 14 10:05:20 EST 2015 99-trim-dpkg completed
----------------------- PROFILING -----------------------
Target: root.d
Script Seconds
--------------------------------------- ----------
01-ccache 0.031
10-cache-ubuntu-tarball 10.550
50-build-with-http-cache 0.005
60-block-apt-translations 0.031
90-base-dib-run-parts 0.011
99-block-daemons 0.047
99-shared_apt_cache 0.016
99-trim-dpkg 0.015
--------------------- END PROFILING ---------------------
+ check_break after-root bash
+ egrep -e '(,|^)after-root(,|$)' -q
+ echo ''
++ ls /tmp/image.wyl3rVjW/mnt
++ grep -v '^lost+found\|tmp$'
+ '[' -z 'bin
boot
dev
etc
home
initrd.img
lib
lib64
media
mnt
opt
proc
root
run
sbin
selinux
srv
sys
usr
var
vmlinuz' ']'
+ '[' -L /tmp/image.wyl3rVjW/mnt/etc/resolv.conf ']'
+ sudo mv /tmp/image.wyl3rVjW/mnt/etc/resolv.conf /tmp/image.wyl3rVjW/mnt/etc/resolv.conf.ORIG
+ sudo touch /tmp/image.wyl3rVjW/mnt/etc/resolv.conf
+ sudo chmod 777 /tmp/image.wyl3rVjW/mnt/etc/resolv.conf
+ '[' -e /etc/resolv.conf ']'
+ cat /etc/resolv.conf
+ mount_proc_dev_sys
+ sudo mount -t proc none /tmp/image.wyl3rVjW/mnt/proc
+ sudo mount --bind /dev /tmp/image.wyl3rVjW/mnt/dev
+ sudo mount --bind /dev/pts /tmp/image.wyl3rVjW/mnt/dev/pts
+ sudo mount -t sysfs none /tmp/image.wyl3rVjW/mnt/sys
+ echo 'export DIB_DEFAULT_INSTALLTYPE="source"'
+ run_d extra-data
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ check_break before-extra-data bash
+ egrep -e '(,|^)before-extra-data(,|$)' -q
+ echo ''
+ '[' -d /tmp/image.wyl3rVjW/hooks/extra-data.d ']'
+ dib-run-parts /tmp/image.wyl3rVjW/hooks/extra-data.d
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/01-copy-apt-keys
DIB_ADD_APT_KEYS is not set - not importing keys
dib-run-parts Wed Jan 14 10:05:20 EST 2015 01-copy-apt-keys completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/10-create-pkg-map-dir
+ set -o pipefail
+ sudo mkdir -p /tmp/image.wyl3rVjW/mnt/usr/share/pkg-map/
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/source-repositories/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/source-repositories/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/source-repositories/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-guest/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/ubuntu-guest/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/ubuntu-guest/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/dib-run-parts/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/dib-run-parts/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/dib-run-parts/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/ubuntu-mysql/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/ubuntu-mysql/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/ubuntu-mysql/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/vm/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/vm/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/vm/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/manifests/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/manifests/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/manifests/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/pip-and-virtualenv/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/pip-and-virtualenv/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/pip-and-virtualenv/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/cache-url/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/cache-url/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/cache-url/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/pkg-map/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/pkg-map/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/pkg-map/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/heat-cfntools/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/heat-cfntools/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/heat-cfntools/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/ubuntu/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/ubuntu/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/ubuntu/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/cloud-init-datasources/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/cloud-init-datasources/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/base/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/base/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/base/pkg-map ']'
+ sudo cp /opt/stack/diskimage-builder/bin/../elements/base/pkg-map /tmp/image.wyl3rVjW/mnt/usr/share/pkg-map/base
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/package-installs/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/package-installs/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/package-installs/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/dpkg/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/dpkg/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/dpkg/pkg-map ']'
+ for ELEMENT in '$IMAGE_ELEMENT'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /home/pmackinn/trove-integration/scripts/files/elements/dkms/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/tripleo-image-elements/elements/dkms/pkg-map ']'
+ for DIR in '${ELEMENTS_PATH//:/ }'
+ '[' -f /opt/stack/diskimage-builder/bin/../elements/dkms/pkg-map ']'
dib-run-parts Wed Jan 14 10:05:20 EST 2015 10-create-pkg-map-dir completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/20-guest-upstart
+ source /opt/stack/diskimage-builder/bin/../lib/die
+ '[' -n /tmp/image.wyl3rVjW/hooks. ']'
+ '[' -n pmackinn ']'
+ '[' -n pmackinn ']'
+ '[' -n 10.0.0.1 ']'
+ '[' -n '\/opt\/stack\/trove' ']'
+ '[' -n /home/pmackinn/trove-integration/scripts ']'
+ '[' -n '\/tmp\/' ']'
+ sed 's/GUEST_USERNAME/pmackinn/g;s/GUEST_LOGDIR/\/tmp\//g;s/HOST_SCP_USERNAME/pmackinn/g;s/NETWORK_GATEWAY/10.0.0.1/g;s/PATH_TROVE/\/opt\/stack\/trove/g' /home/pmackinn/trove-integration/scripts/files/trove-guest.upstart.conf
dib-run-parts Wed Jan 14 10:05:20 EST 2015 20-guest-upstart completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/20-manifest-dir
+ set -o pipefail
+ sudo mkdir -p /tmp/image.wyl3rVjW/mnt//etc/dib-manifests
dib-run-parts Wed Jan 14 10:05:20 EST 2015 20-manifest-dir completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/50-store-build-settings
dib-run-parts Wed Jan 14 10:05:20 EST 2015 50-store-build-settings completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/62-ssh-key
+ source /opt/stack/diskimage-builder/bin/../lib/die
+ '[' -n /tmp/image.wyl3rVjW/hooks. ']'
+ '[' -n pmackinn ']'
++ whoami
+ '[' pmackinn = root ']'
+ '[' -e /home/pmackinn/.ssh/authorized_keys ']'
+ sudo -Hiu pmackinn dd if=/home/pmackinn/.ssh/authorized_keys of=/tmp/image.wyl3rVjW/hooks/ssh-authorized-keys
0+1 records in
0+1 records out
401 bytes (401 B) copied, 0.000432899 s, 926 kB/s
+ sudo -Hiu pmackinn dd if=/home/pmackinn/.ssh/id_rsa of=/tmp/image.wyl3rVjW/hooks/id_rsa
3+1 records in
3+1 records out
1743 bytes (1.7 kB) copied, 0.000539974 s, 3.2 MB/s
+ sudo -Hiu pmackinn dd if=/home/pmackinn/.ssh/id_rsa.pub of=/tmp/image.wyl3rVjW/hooks/id_rsa.pub
0+1 records in
0+1 records out
401 bytes (401 B) copied, 0.000431379 s, 930 kB/s
dib-run-parts Wed Jan 14 10:05:20 EST 2015 62-ssh-key completed
dib-run-parts Wed Jan 14 10:05:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/98-source-repositories
Getting /home/pmackinn/trove-integration/scripts//.cache/image-create/source-repositories/repositories_flock: Wed Jan 14 10:05:20 EST 2015
Caching get-pip-py file from https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py in /home/pmackinn/trove-integration/scripts//.cache/image-create/source-repositories/get_pip_py_5217e630e57404aa87af8b6db2387b35af53ada0
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 199.27.76.133...
* Connected to raw.githubusercontent.com (199.27.76.133) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server key exchange (12):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Fastly, Inc.; CN=www.github.com
* start date: 2014-02-25 00:00:00 GMT
* expire date: 2015-03-02 12:00:00 GMT
* subjectAltName: raw.githubusercontent.com matched
* issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert High Assurance CA-3
* SSL certificate verify ok.
> GET /pypa/pip/master/contrib/get-pip.py HTTP/1.1
> User-Agent: curl/7.35.0
> Host: raw.githubusercontent.com
> Accept: */*
> If-Modified-Since: Tue, 13 Jan 2015 22:42:36 GMT
>
< HTTP/1.1 200 OK
< Date: Wed, 14 Jan 2015 15:05:21 GMT
* Server Apache is not blacklisted
< Server: Apache
< Access-Control-Allow-Origin: https://render.githubusercontent.com
< Content-Security-Policy: default-src 'none'
< X-XSS-Protection: 1; mode=block
< X-Frame-Options: deny
< X-Content-Type-Options: nosniff
< Strict-Transport-Security: max-age=31536000
< ETag: "9b45a7737a204f3255bc32d7bc3a125cc08c80dc"
< Content-Type: text/plain; charset=utf-8
< Cache-Control: max-age=300
< Content-Length: 1583788
< Accept-Ranges: bytes
< Via: 1.1 varnish
< X-Served-By: cache-jfk1029-JFK
< X-Cache: MISS
< X-Cache-Hits: 0
< Vary: Authorization,Accept-Encoding
< Expires: Wed, 14 Jan 2015 15:10:21 GMT
< Source-Age: 0
<
{ [data not shown]
100 1546k 100 1546k 0 0 1194k 0 0:00:01 0:00:01 --:--:-- 1194k
* Connection #0 to host raw.githubusercontent.com left intact
Server copy has changed. Using server version of https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py
0+1 records in
0+1 records out
16 bytes (16 B) copied, 6.2981e-05 s, 254 kB/s
dib-run-parts Wed Jan 14 10:05:22 EST 2015 98-source-repositories completed
dib-run-parts Wed Jan 14 10:05:22 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/99-enable-install-types
+ set -o pipefail
+ declare -a SPECIFIED_ELEMS
+ SPECIFIED_ELEMS[0]=
+ PREFIX=DIB_INSTALLTYPE_
++ env
++ grep '^DIB_INSTALLTYPE_'
++ cut -d= -f1
++ echo ''
+ INSTALL_TYPE_VARS=
++ ls -d /tmp/image.wyl3rVjW/hooks/install.d/get-pip-py-source-install
+ default_install_type_dirs=/tmp/image.wyl3rVjW/hooks/install.d/get-pip-py-source-install
+ for _install_dir in '$default_install_type_dirs'
+ SUFFIX=-source-install
++ basename /tmp/image.wyl3rVjW/hooks/install.d/get-pip-py-source-install
+ _install_dir=get-pip-py-source-install
+ INSTALLDIRPREFIX=get-pip-py
+ found=0
+ '[' 0 = 0 ']'
+ pushd /tmp/image.wyl3rVjW/hooks/install.d
/tmp/image.wyl3rVjW/hooks/install.d /home/pmackinn/trove-integration/scripts
+ ln -sf get-pip-py-source-install/01-install-pip .
+ popd
/home/pmackinn/trove-integration/scripts
dib-run-parts Wed Jan 14 10:05:22 EST 2015 99-enable-install-types completed
dib-run-parts Wed Jan 14 10:05:22 EST 2015 Running /tmp/image.wyl3rVjW/hooks/extra-data.d/99-squash-package-install
+ set -o pipefail
++ dirname /tmp/image.wyl3rVjW/hooks/extra-data.d/99-squash-package-install
+ sudo /tmp/image.wyl3rVjW/hooks/extra-data.d/../bin/package-installs-squash '--elements=source-repositories ubuntu-guest dib-run-parts ubuntu-mysql vm manifests pip-and-virtualenv cache-url pkg-map heat-cfntools ubuntu cloud-init-datasources base package-installs dpkg dkms' --path=/home/pmackinn/trove-integration/scripts/files/elements:/opt/stack/tripleo-image-elements/elements:/opt/stack/diskimage-builder/bin/../elements /tmp/image.wyl3rVjW/mnt/tmp/package-installs.json
dib-run-parts Wed Jan 14 10:05:22 EST 2015 99-squash-package-install completed
----------------------- PROFILING -----------------------
Target: extra-data.d
Script Seconds
--------------------------------------- ----------
01-copy-apt-keys 0.002
10-create-pkg-map-dir 0.021
20-guest-upstart 0.007
20-manifest-dir 0.008
50-store-build-settings 0.004
62-ssh-key 0.035
98-source-repositories 1.365
99-enable-install-types 0.013
99-squash-package-install 0.067
--------------------- END PROFILING ---------------------
+ check_break after-extra-data bash
+ echo ''
+ egrep -e '(,|^)after-extra-data(,|$)' -q
+ run_d_in_target pre-install
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ '[' -d /tmp/image.wyl3rVjW/hooks/pre-install.d ']'
+ sudo mkdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount --bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount -o remount,ro,bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ check_break before-pre-install run_in_target bash
+ echo ''
+ egrep -e '(,|^)before-pre-install(,|$)' -q
+ trap 'check_break after-error run_in_target bash' ERR
+ run_in_target dib-run-parts /tmp/in_target.d/pre-install.d
+ cmd='PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/pre-install.d'
+ ORIG_HOME=/home/pmackinn/trove-integration/scripts/
+ export HOME=/root
+ HOME=/root
+ sudo -E TMPDIR= chroot /tmp/image.wyl3rVjW/mnt sh -c 'PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/pre-install.d'
dib-run-parts Wed Jan 14 15:05:22 UTC 2015 Running /tmp/in_target.d/pre-install.d/00-disable-apt-recommends
0+1 records in
0+1 records out
56 bytes (56 B) copied, 2.8346e-05 s, 2.0 MB/s
dib-run-parts Wed Jan 14 15:05:22 UTC 2015 00-disable-apt-recommends completed
dib-run-parts Wed Jan 14 15:05:22 UTC 2015 Running /tmp/in_target.d/pre-install.d/00-remove-apt-xapian-index
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
apt-xapian-index
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 342 kB disk space will be freed.
(Reading database ... 47619 files and directories currently installed.)
Removing apt-xapian-index ...
Removing index /var/lib/apt-xapian-index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-75-virtual
df: Warning: cannot read table of mounted file systems: No such file or directory
Processing triggers for man-db ...
dib-run-parts Wed Jan 14 15:05:27 UTC 2015 00-remove-apt-xapian-index completed
dib-run-parts Wed Jan 14 15:05:27 UTC 2015 Running /tmp/in_target.d/pre-install.d/00-remove-grub
grub-pc 1.99-21ubuntu3.17
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 523 kB disk space will be freed.
(Reading database ... 47561 files and directories currently installed.)
Removing grub-pc ...
Saving menu.lst backup in /boot/grub/menu.lst_backup_by_grub2_prerm
Running update-grub Legacy to remove our core.img in it
Searching for GRUB installation directory ... found: /boot/grub
/usr/lib/grub-legacy/update-grub: line 116: grub: command not found
/usr/lib/grub-legacy/update-grub: line 116: grub: command not found
/usr/lib/grub-legacy/update-grub: line 153: grub: command not found
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-75-virtual
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done
Removing grub-gfxpayload-lists ...
Processing triggers for man-db ...
grub2-common 1.99-21ubuntu3.17
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
grub2-common
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 143 kB disk space will be freed.
(Reading database ... 47537 files and directories currently installed.)
Removing grub2-common ...
Processing triggers for man-db ...
Processing triggers for install-info ...
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 00-remove-grub completed
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 Running /tmp/in_target.d/pre-install.d/01-dpkg-install-bin
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 01-dpkg-install-bin completed
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 Running /tmp/in_target.d/pre-install.d/01-set-ubuntu-mirror
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 01-set-ubuntu-mirror completed
dib-run-parts Wed Jan 14 15:05:31 UTC 2015 Running /tmp/in_target.d/pre-install.d/01-trim-pkgs
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ apt-get -y purge accountsservice acpid apport apport-symptoms apt-transport-https apt-xapian-index aptitude at bash-completion bc bind9-host bsdmainutils binutils bootchart busybox-static byobu command-not-found command-not-found-data cpp cpp-4.6 curl dbus dmidecode dnsutils dosfstools ed fonts-ubuntu-font-family-console friendly-recovery ftp fuse fontconfig fontconfig-config gcc gcc-4.6 geoip-database gir1.2-glib-2.0 gir1.2-gudev-1.0 groff-base haveged hdparm hicolor-icon-theme info install-info iptables iputils-tracepath irqbalance landscape-client landscape-common language-selector-common laptop-detect libaccountsservice0 libatk1.0-0 libatk1.0-data libbind9-80 libavahi-client3 libavahi-common-data libavahi-common3 libboost-iostreams1.46.1 libcap-ng0 libcap2 libclass-accessor-perl libcairo2 libcwidget3 libcups2 libdatrie1 libdbus-glib-1-2 libdevmapper-event1.02.1 libdns81 libept1.4.12 libevent-2.0-5 libfont-afm-perl libfontconfig1 libgc1c2 libgeoip1 libgirepository-1.0-1 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgomp1 libgudev-1.0-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhtml-form-perl libhtml-format-perl libhtml-template-perl libio-socket-inet6-perl libio-string-perl libisc83 libisccc80 libisccfg82 libiw30 libjasper1 libjpeg-turbo8 libjpeg8 liblwres80 libmailtools-perl libmpc2 libmpfr4 libnfnetlink0 libopts25 libpackage-stash-xs-perl libpango1.0-0 libparse-debianchangelog-perl libparted0debian1 libpcap0.8 libpci3 libpcsclite1 libpipeline1 libpixman-1-0 libpolkit-gobject-1-0 libreadline5 libquadmath0 libsasl2-modules libsensors4 libsigc++-2.0-0c2a libsocket6-perl libssl-doc libsub-name-perl libthai-data libthai0 libtiff4 libusb-1.0-0 libxapian22 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 linux-image-3.2.0-37-generic linux-image-generic lshw lsof ltrace lvm2 man-db manpages-dev memtest86+ mlocate mtr-tiny nano ntfs-3g open-iscsi open-iscsi-utils parted patch pciutils plymouth-theme-ubuntu-text popularity-contest powermgmt-base ppp pppoeconf pybootchartgui python-apport python-chardet python-dbus python-dbus-dev python-debian python-cairo python-gdbm python-gi python-gobject-2 python-gtk2 python-keyring python-launchpadlib python-lazr.restfulclient python-lazr.uri python-newt python-openid python-pam python-pastescript python-problem-report python-serial python-scgi python-simplejson python-sqlalchemy-ext python-support python-twisted-bin python-twisted-core python-twisted-names python-twisted-web python-wadllib python-xapian python-zope.interface screen shared-mime-info strace sysstat tasksel tasksel-data tcpdump telnet time tmux ttf-dejavu-core ubuntu-standard ufw update-manager-core update-notifier-common usbutils uuid-runtime vlan w3m watershed whoopsie wireless-tools wpasupplicant xfsdump xfsprogs xz-lzma
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cpp is not installed, so not removed
Package cpp-4.6 is not installed, so not removed
Package gcc is not installed, so not removed
Package gcc-4.6 is not installed, so not removed
Package hicolor-icon-theme is not installed, so not removed
Package libatk1.0-0 is not installed, so not removed
Package libatk1.0-data is not installed, so not removed
Package libcap2 is not installed, so not removed
Package libdatrie1 is not installed, so not removed
Package libfont-afm-perl is not installed, so not removed
Package libgomp1 is not installed, so not removed
Package libhtml-form-perl is not installed, so not removed
Package libhtml-format-perl is not installed, so not removed
Package libhtml-template-perl is not installed, so not removed
Package libio-socket-inet6-perl is not installed, so not removed
Package libjpeg8 is not installed, so not removed
Package libmailtools-perl is not installed, so not removed
Package libmpc2 is not installed, so not removed
Package libmpfr4 is not installed, so not removed
Package libopts25 is not installed, so not removed
Package libpackage-stash-xs-perl is not installed, so not removed
Package libquadmath0 is not installed, so not removed
Package libreadline5 is not installed, so not removed
Package libsensors4 is not installed, so not removed
Package libsocket6-perl is not installed, so not removed
Package libthai-data is not installed, so not removed
Package libthai0 is not installed, so not removed
Package libxcomposite1 is not installed, so not removed
Package libxdamage1 is not installed, so not removed
Package libxft2 is not installed, so not removed
Package manpages-dev is not installed, so not removed
Package python-cairo is not installed, so not removed
Package python-gobject-2 is not installed, so not removed
Package python-gtk2 is not installed, so not removed
Package python-openid is not installed, so not removed
Package python-pastescript is not installed, so not removed
Package python-scgi is not installed, so not removed
Package sysstat is not installed, so not removed
Package ttf-dejavu-core is not installed, so not removed
Package vlan is not installed, so not removed
Package watershed is not installed, so not removed
Package xfsdump is not installed, so not removed
Package xfsprogs is not installed, so not removed
Package bootchart is not installed, so not removed
Package haveged is not installed, so not removed
Package pybootchartgui is not installed, so not removed
Package python-support is not installed, so not removed
Package binutils is not installed, so not removed
Package fontconfig is not installed, so not removed
Package fontconfig-config is not installed, so not removed
Package gir1.2-gudev-1.0 is not installed, so not removed
Package libavahi-client3 is not installed, so not removed
Package libavahi-common-data is not installed, so not removed
Package libavahi-common3 is not installed, so not removed
Package libcairo2 is not installed, so not removed
Package libcups2 is not installed, so not removed
Package libdevmapper-event1.02.1 is not installed, so not removed
Package libfontconfig1 is not installed, so not removed
Package libgdk-pixbuf2.0-0 is not installed, so not removed
Package libgdk-pixbuf2.0-common is not installed, so not removed
Package libgtk2.0-0 is not installed, so not removed
Package libgtk2.0-bin is not installed, so not removed
Package libgtk2.0-common is not installed, so not removed
Package libgudev-1.0-0 is not installed, so not removed
Package libjasper1 is not installed, so not removed
Package libjpeg-turbo8 is not installed, so not removed
Package libpango1.0-0 is not installed, so not removed
Package libpixman-1-0 is not installed, so not removed
Package libssl-doc is not installed, so not removed
Package libtiff4 is not installed, so not removed
Package libxcb-render0 is not installed, so not removed
Package libxcb-shm0 is not installed, so not removed
Package libxcursor1 is not installed, so not removed
Package libxfixes3 is not installed, so not removed
Package libxi6 is not installed, so not removed
Package libxinerama1 is not installed, so not removed
Package libxrandr2 is not installed, so not removed
Package libxrender1 is not installed, so not removed
Package linux-image-3.2.0-37-generic is not installed, so not removed
Package linux-image-generic is not installed, so not removed
Package lvm2 is not installed, so not removed
Package open-iscsi is not installed, so not removed
Package open-iscsi-utils is not installed, so not removed
Package python-sqlalchemy-ext is not installed, so not removed
Package shared-mime-info is not installed, so not removed
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
accountsservice* acpid* apport* apport-symptoms* apt-transport-https* apt-xapian-index* aptitude* at* bash-completion* bc*
bind9-host* bsdmainutils* busybox-static* byobu* command-not-found* command-not-found-data* curl* dbus* dmidecode* dnsutils*
dosfstools* ed* fonts-ubuntu-font-family-console* friendly-recovery* ftp* fuse* geoip-database* gir1.2-glib-2.0* groff-base*
hdparm* info* install-info* iptables* iputils-tracepath* irqbalance* landscape-client* landscape-common*
language-selector-common* laptop-detect* libaccountsservice0* libbind9-80* libboost-iostreams1.46.1* libcap-ng0*
libclass-accessor-perl* libcwidget3* libdbus-glib-1-2* libdns81* libept1.4.12* libevent-2.0-5* libgc1c2* libgeoip1*
libgirepository-1.0-1* libio-string-perl* libisc83* libisccc80* libisccfg82* libiw30* liblwres80* libnfnetlink0*
libparse-debianchangelog-perl* libparted0debian1* libpcap0.8* libpci3* libpcsclite1* libpipeline1* libpolkit-gobject-1-0*
libsasl2-modules* libsigc++-2.0-0c2a* libsub-name-perl* libusb-1.0-0* libxapian22* lshw* lsof* ltrace* man-db* memtest86+*
mlocate* mtr-tiny* nano* ntfs-3g* parted* patch* pciutils* plymouth-theme-ubuntu-text* popularity-contest* powermgmt-base* ppp*
pppconfig* pppoeconf* python-apport* python-chardet* python-dbus* python-dbus-dev* python-debian* python-gdbm* python-gi*
python-keyring* python-launchpadlib* python-lazr.restfulclient* python-lazr.uri* python-newt* python-pam* python-problem-report*
python-serial* python-simplejson* python-twisted-bin* python-twisted-core* python-twisted-names* python-twisted-web*
python-wadllib* python-xapian* python-zope.interface* screen* strace* tasksel* tasksel-data* tcpdump* telnet* time* tmux*
ubuntu-standard* ufw* update-manager-core* update-notifier-common* usbutils* uuid-runtime* w3m* whoopsie* wireless-tools*
wpasupplicant* xz-lzma*
0 upgraded, 0 newly installed, 131 to remove and 0 not upgraded.
After this operation, 85.1 MB disk space will be freed.
(Reading database ... 47524 files and directories currently installed.)
Removing ubuntu-standard ...
Removing language-selector-common ...
Purging configuration files for language-selector-common ...
Removing accountsservice ...
Purging configuration files for accountsservice ...
Removing acpid ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for acpid ...
Removing apport ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for apport ...
Removing apport-symptoms ...
Removing apt-transport-https ...
Removing apt-xapian-index ...
Purging configuration files for apt-xapian-index ...
Removing index /var/lib/apt-xapian-index...
Removing at ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for at ...
Removing bash-completion ...
Purging configuration files for bash-completion ...
Removing landscape-client ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for landscape-client ...
Removing landscape-common ...
Purging configuration files for landscape-common ...
Removing bc ...
Purging configuration files for bc ...
Removing dnsutils ...
Removing bind9-host ...
Removing man-db ...
Purging configuration files for man-db ...
Removing catpages as well as /var/cache/man hierarchy.
dpkg: warning: while removing man-db, directory '/var/lib/man-db' not empty so not removed.
Removing bsdmainutils ...
Purging configuration files for bsdmainutils ...
Removing busybox-static ...
Removing byobu ...
Purging configuration files for byobu ...
Removing command-not-found ...
Purging configuration files for command-not-found ...
Removing command-not-found-data ...
Removing curl ...
Removing dbus ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for dbus ...
rmdir: failed to remove `/var/run/dbus': No such file or directory
Removing laptop-detect ...
Removing dmidecode ...
Removing dosfstools ...
Removing ed ...
Removing fonts-ubuntu-font-family-console ...
Removing friendly-recovery ...
Purging configuration files for friendly-recovery ...
dpkg: warning: while removing friendly-recovery, directory '/lib/recovery-mode' not empty so not removed.
Removing ftp ...
Removing ntfs-3g ...
Purging configuration files for ntfs-3g ...
Removing fuse ...
Purging configuration files for fuse ...
Removing geoip-database ...
Removing python-gi ...
Purging configuration files for python-gi ...
Removing gir1.2-glib-2.0 ...
Removing groff-base ...
Purging configuration files for groff-base ...
Removing hdparm ...
Purging configuration files for hdparm ...
Removing info ...
Purging configuration files for info ...
Removing screen ...
Purging configuration files for screen ...
Removing nano ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode.
Purging configuration files for nano ...
Removing install-info ...
Removing ufw ...
Purging configuration files for ufw ...
Removing iptables ...
Purging configuration files for iptables ...
Removing iputils-tracepath ...
Removing irqbalance ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for irqbalance ...
Removing libaccountsservice0 ...
Purging configuration files for libaccountsservice0 ...
Removing libbind9-80 ...
Purging configuration files for libbind9-80 ...
Removing libcap-ng0 ...
Purging configuration files for libcap-ng0 ...
Removing libparse-debianchangelog-perl ...
Removing libclass-accessor-perl ...
Removing python-dbus ...
Removing libdbus-glib-1-2 ...
Purging configuration files for libdbus-glib-1-2 ...
Removing libisccfg82 ...
Purging configuration files for libisccfg82 ...
Removing libdns81 ...
Purging configuration files for libdns81 ...
Removing tmux ...
Purging configuration files for tmux ...
Removing libevent-2.0-5 ...
Purging configuration files for libevent-2.0-5 ...
Removing w3m ...
Purging configuration files for w3m ...
Removing libgc1c2 ...
Purging configuration files for libgc1c2 ...
Removing libgeoip1 ...
Purging configuration files for libgeoip1 ...
Removing libgirepository-1.0-1 ...
Purging configuration files for libgirepository-1.0-1 ...
Removing libio-string-perl ...
Removing libisccc80 ...
Purging configuration files for libisccc80 ...
Removing libisc83 ...
Purging configuration files for libisc83 ...
Removing wireless-tools ...
Purging configuration files for wireless-tools ...
Removing libiw30 ...
Purging configuration files for libiw30 ...
Removing liblwres80 ...
Purging configuration files for liblwres80 ...
Removing libnfnetlink0 ...
Purging configuration files for libnfnetlink0 ...
Removing parted ...
Removing libparted0debian1 ...
Purging configuration files for libparted0debian1 ...
Removing tcpdump ...
Purging configuration files for tcpdump ...
Removing pppoeconf ...
Purging configuration files for pppoeconf ...
Removing pppconfig ...
Purging configuration files for pppconfig ...
rmdir: failed to remove `/var/cache/pppconfig': No such file or directory
Removing ppp ...
Stopping all PPP connections...
Warning: Fake start-stop-daemon called, doing nothing
done.
Purging configuration files for ppp ...
Removing libpcap0.8 ...
Purging configuration files for libpcap0.8 ...
Removing pciutils ...
Purging configuration files for pciutils ...
Removing libpci3 ...
Purging configuration files for libpci3 ...
Removing wpasupplicant ...
Purging configuration files for wpasupplicant ...
Removing libpcsclite1 ...
Purging configuration files for libpcsclite1 ...
Removing libpipeline1 ...
Purging configuration files for libpipeline1 ...
Removing libpolkit-gobject-1-0 ...
Purging configuration files for libpolkit-gobject-1-0 ...
Removing libsasl2-modules ...
Removing libsub-name-perl ...
Removing usbutils ...
Removing libusb-1.0-0 ...
Purging configuration files for libusb-1.0-0 ...
Removing python-xapian ...
Removing lshw ...
Removing lsof ...
Removing ltrace ...
Purging configuration files for ltrace ...
Removing memtest86+ ...
Purging configuration files for memtest86+ ...
Removing mlocate ...
Purging configuration files for mlocate ...
Removing mtr-tiny ...
Removing update-notifier-common ...
Purging configuration files for update-notifier-common ...
Removing patch ...
Removing plymouth-theme-ubuntu-text ...
update-initramfs: deferring update (trigger activated)
Purging configuration files for plymouth-theme-ubuntu-text ...
Removing popularity-contest ...
Purging configuration files for popularity-contest ...
Removing powermgmt-base ...
Removing python-apport ...
Purging configuration files for python-apport ...
Removing python-debian ...
Removing python-chardet ...
Removing python-dbus-dev ...
Removing python-gdbm ...
Removing python-launchpadlib ...
Removing python-keyring ...
Removing python-lazr.restfulclient ...
Removing python-wadllib ...
Removing python-lazr.uri ...
E: namespace:121: cannot remove /usr/lib/python2.7/dist-packages/lazr/__init__.py
Removing python-newt ...
Removing python-pam ...
Removing python-problem-report ...
Removing python-serial ...
Removing python-simplejson ...
Removing python-twisted-web ...
Removing python-twisted-names ...
Removing python-twisted-core ...
Purging configuration files for python-twisted-core ...
Removing python-twisted-bin ...
Removing python-zope.interface ...
Removing strace ...
Removing telnet ...
Purging configuration files for telnet ...
Removing time ...
install-info: warning: maintainer scripts should not call install-info anymore,
install-info: warning: this is handled now by a dpkg trigger provided by the
install-info: warning: install-info package; package time should be updated.
Removing update-manager-core ...
Purging configuration files for update-manager-core ...
dpkg: warning: while removing update-manager-core, directory '/var/lib/update-notifier' not empty so not removed.
Removing uuid-runtime ...
Purging configuration files for uuid-runtime ...
Removing whoopsie ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
Purging configuration files for whoopsie ...
Removing xz-lzma ...
Removing tasksel ...
Purging configuration files for tasksel ...
Removing tasksel-data ...
Removing aptitude ...
Purging configuration files for aptitude ...
Removing libboost-iostreams1.46.1 ...
Purging configuration files for libboost-iostreams1.46.1 ...
Removing libcwidget3 ...
Purging configuration files for libcwidget3 ...
Removing libept1.4.12 ...
Purging configuration files for libept1.4.12 ...
Removing libsigc++-2.0-0c2a ...
Purging configuration files for libsigc++-2.0-0c2a ...
Removing libxapian22 ...
Purging configuration files for libxapian22 ...
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-75-virtual
df: Warning: cannot read table of mounted file systems: No such file or directory
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 01-trim-pkgs completed
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 Running /tmp/in_target.d/pre-install.d/02-add-apt-keys
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 02-add-apt-keys completed
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 Running /tmp/in_target.d/pre-install.d/02-package-installs
+ set -o pipefail
++ dirname /tmp/in_target.d/pre-install.d/02-package-installs
+ package-installs -d /tmp/in_target.d/pre-install.d
+ set -o pipefail
++ basename /usr/local/bin/package-installs
+ SCRIPTNAME=package-installs
++ getopt -o hd: -n package-installs -- -d /tmp/in_target.d/pre-install.d
+ TEMP=' -d '\''/tmp/in_target.d/pre-install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/pre-install.d'\'' --'
++ set -- -d /tmp/in_target.d/pre-install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/pre-install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/pre-install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/pre-install.d -maxdepth 1 -name 'package-installs-*'
+ install-packages
Not running install-packages install with empty packages list
+ package-installs-v2 --phase pre-install.d /tmp/package-installs.json
Nothing to install
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 02-package-installs completed
dib-run-parts Wed Jan 14 15:05:42 UTC 2015 Running /tmp/in_target.d/pre-install.d/03-baseline-tools
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release.gpg
Get:2 http://security.ubuntu.com precise-security Release [53.0 kB]
Get:3 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release
Get:4 http://archive.ubuntu.com precise-updates Release [194 kB]
Get:5 http://security.ubuntu.com precise-security/main amd64 Packages [473 kB]
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Get:6 http://security.ubuntu.com precise-security/restricted amd64 Packages [8943 B]
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Get:7 http://security.ubuntu.com precise-security/universe amd64 Packages [106 kB]
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Get:8 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2447 B]
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Get:9 http://security.ubuntu.com precise-security/main i386 Packages [513 kB]
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Get:10 http://archive.ubuntu.com precise-updates/main amd64 Packages [862 kB]
Get:11 http://security.ubuntu.com precise-security/restricted i386 Packages [8939 B]
Get:12 http://security.ubuntu.com precise-security/universe i386 Packages [113 kB]
Get:13 http://security.ubuntu.com precise-security/multiverse i386 Packages [2651 B]
Get:14 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [13.6 kB]
Get:15 http://archive.ubuntu.com precise-updates/universe amd64 Packages [252 kB]
Get:16 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
Get:17 http://archive.ubuntu.com precise-updates/main i386 Packages [894 kB]
Get:18 http://archive.ubuntu.com precise-updates/restricted i386 Packages [13.6 kB]
Get:19 http://archive.ubuntu.com precise-updates/universe i386 Packages [260 kB]
Get:20 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Fetched 3802 kB in 5s (647 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dib-run-parts Wed Jan 14 15:05:50 UTC 2015 03-baseline-tools completed
dib-run-parts Wed Jan 14 15:05:50 UTC 2015 Running /tmp/in_target.d/pre-install.d/04-baseline-tools
+ apt-get install -y language-pack-en python-software-properties
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-software-properties is already the newest version.
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
Recommended packages:
firefox-locale-en
The following NEW packages will be installed:
language-pack-en language-pack-en-base
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 882 kB of archives.
After this operation, 4328 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main language-pack-en-base all 1:12.04+20140106 [880 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main language-pack-en all 1:12.04+20140106 [1978 B]
Fetched 882 kB in 4s (204 kB/s)
Selecting previously unselected package language-pack-en-base.
(Reading database ... 41546 files and directories currently installed.)
Unpacking language-pack-en-base (from .../language-pack-en-base_1%3a12.04+20140106_all.deb) ...
Selecting previously unselected package language-pack-en.
Unpacking language-pack-en (from .../language-pack-en_1%3a12.04+20140106_all.deb) ...
Setting up language-pack-en (1:12.04+20140106) ...
Setting up language-pack-en-base (1:12.04+20140106) ...
Generating locales...
en_AG.UTF-8... done
en_AU.UTF-8... done
en_BW.UTF-8... done
en_CA.UTF-8... done
en_DK.UTF-8... done
en_GB.UTF-8... done
en_HK.UTF-8... done
en_IE.UTF-8... done
en_IN.UTF-8... done
en_NG.UTF-8... done
en_NZ.UTF-8... done
en_PH.UTF-8... done
en_SG.UTF-8... done
en_US.UTF-8... done
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
dib-run-parts Wed Jan 14 15:06:06 UTC 2015 04-baseline-tools completed
dib-run-parts Wed Jan 14 15:06:06 UTC 2015 Running /tmp/in_target.d/pre-install.d/04-dib-init-system
dib-run-parts Wed Jan 14 15:06:06 UTC 2015 04-dib-init-system completed
dib-run-parts Wed Jan 14 15:06:06 UTC 2015 Running /tmp/in_target.d/pre-install.d/10-percona-apt-key
+ [ -n pmackinn ]
+ [ -n precise ]
+ [ ! -e /home/pmackinn/.gnupg ]
+ mkdir -p /home/pmackinn/.gnupg
+ apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.mG3QkwZZD7 --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net
gpg: key CD2EFD2A: public key "Percona MySQL Development Team <mysql-dev@percona.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
+ cat
+ apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://security.ubuntu.com precise-security Release
Get:1 http://repo.percona.com precise Release.gpg [198 B]
Get:2 http://repo.percona.com precise Release [15.1 kB]
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Get:3 http://repo.percona.com precise/main Sources [4967 B]
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Get:4 http://repo.percona.com precise/main amd64 Packages [18.0 kB]
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Get:5 http://repo.percona.com precise/main i386 Packages [17.6 kB]
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates Release
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Fetched 55.9 kB in 2s (23.5 kB/s)
Reading package lists... Done
dib-run-parts Wed Jan 14 15:06:13 UTC 2015 10-percona-apt-key completed
dib-run-parts Wed Jan 14 15:06:13 UTC 2015 Running /tmp/in_target.d/pre-install.d/20-apparmor-mysql-local
dib-run-parts Wed Jan 14 15:06:13 UTC 2015 20-apparmor-mysql-local completed
dib-run-parts Wed Jan 14 15:06:13 UTC 2015 Running /tmp/in_target.d/pre-install.d/99-apt-get-update
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://repo.percona.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://repo.percona.com precise Release
Hit http://archive.ubuntu.com precise Release
Hit http://repo.percona.com precise/main Sources
Hit http://archive.ubuntu.com precise-updates Release
Hit http://repo.percona.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://repo.percona.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://security.ubuntu.com precise-security Release
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Reading package lists... Done
dib-run-parts Wed Jan 14 15:06:23 UTC 2015 99-apt-get-update completed
dib-run-parts Wed Jan 14 15:06:23 UTC 2015 Running /tmp/in_target.d/pre-install.d/99-package-uninstalls
+ set -o pipefail
++ dirname /tmp/in_target.d/pre-install.d/99-package-uninstalls
+ package-uninstalls -d /tmp/in_target.d/pre-install.d
+ set -o pipefail
++ basename /usr/local/bin/package-uninstalls
+ SCRIPTNAME=package-uninstalls
++ getopt -o hd: -n package-uninstalls -- -d /tmp/in_target.d/pre-install.d
+ TEMP=' -d '\''/tmp/in_target.d/pre-install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/pre-install.d'\'' --'
++ set -- -d /tmp/in_target.d/pre-install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/pre-install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/pre-install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/pre-install.d -maxdepth 1 -name 'package-installs-*'
+ install-packages -e
Not running install-packages remove with empty packages list
+ package-installs-v2 --phase pre-install.d --uninstall /tmp/package-installs.json
Nothing to uninstall
dib-run-parts Wed Jan 14 15:06:23 UTC 2015 99-package-uninstalls completed
----------------------- PROFILING -----------------------
Target: pre-install.d
Script Seconds
--------------------------------------- ----------
00-disable-apt-recommends 0.004
00-remove-apt-xapian-index 5.198
00-remove-grub 3.342
01-dpkg-install-bin 0.008
01-set-ubuntu-mirror 0.003
01-trim-pkgs 11.262
02-add-apt-keys 0.004
02-package-installs 0.059
03-baseline-tools 7.856
04-baseline-tools 15.887
04-dib-init-system 0.005
10-percona-apt-key 7.153
20-apparmor-mysql-local 0.002
99-apt-get-update 9.754
99-package-uninstalls 0.045
--------------------- END PROFILING ---------------------
+ export HOME=/home/pmackinn/trove-integration/scripts/
+ HOME=/home/pmackinn/trove-integration/scripts/
+ trap - ERR
+ check_break after-pre-install run_in_target bash
+ echo ''
+ egrep -e '(,|^)after-pre-install(,|$)' -q
+ sudo umount -f /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo rmdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ do_extra_package_install
+ '[' '' '!=' '' ']'
+ run_d_in_target install
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ '[' -d /tmp/image.wyl3rVjW/hooks/install.d ']'
+ sudo mkdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount --bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount -o remount,ro,bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ check_break before-install run_in_target bash
+ echo ''
+ egrep -e '(,|^)before-install(,|$)' -q
+ trap 'check_break after-error run_in_target bash' ERR
+ run_in_target dib-run-parts /tmp/in_target.d/install.d
+ cmd='PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/install.d'
+ ORIG_HOME=/home/pmackinn/trove-integration/scripts/
+ export HOME=/root
+ HOME=/root
+ sudo -E TMPDIR= chroot /tmp/image.wyl3rVjW/mnt sh -c 'PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/install.d'
dib-run-parts Wed Jan 14 15:06:23 UTC 2015 Running /tmp/in_target.d/install.d/00-baseline-environment
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
open-iscsi-utils
The following NEW packages will be installed:
open-iscsi open-iscsi-utils vlan
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 753 kB of archives.
After this operation, 1949 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main open-iscsi-utils amd64 2.0.871-0ubuntu9.12.04.2 [105 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main open-iscsi amd64 2.0.871-0ubuntu9.12.04.2 [613 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main vlan amd64 1.9-3ubuntu6 [35.2 kB]
Fetched 753 kB in 1s (442 kB/s)
Selecting previously unselected package open-iscsi-utils.
(Reading database ... 42157 files and directories currently installed.)
Unpacking open-iscsi-utils (from .../open-iscsi-utils_2.0.871-0ubuntu9.12.04.2_amd64.deb) ...
Selecting previously unselected package open-iscsi.
Unpacking open-iscsi (from .../open-iscsi_2.0.871-0ubuntu9.12.04.2_amd64.deb) ...
Selecting previously unselected package vlan.
Unpacking vlan (from .../vlan_1.9-3ubuntu6_amd64.deb) ...
Processing triggers for ureadahead ...
Setting up open-iscsi-utils (2.0.871-0ubuntu9.12.04.2) ...
Setting up open-iscsi (2.0.871-0ubuntu9.12.04.2) ...
update-rc.d: warning: open-iscsi stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 6)
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Setting up vlan (1.9-3ubuntu6) ...
dib-run-parts Wed Jan 14 15:06:27 UTC 2015 00-baseline-environment completed
dib-run-parts Wed Jan 14 15:06:27 UTC 2015 Running /tmp/in_target.d/install.d/00-ccache
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
Suggested packages:
distcc
The following NEW packages will be installed:
ccache
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 75.5 kB of archives.
After this operation, 249 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main ccache amd64 3.1.6-1 [75.5 kB]
Fetched 75.5 kB in 0s (180 kB/s)
Selecting previously unselected package ccache.
(Reading database ... 42201 files and directories currently installed.)
Unpacking ccache (from .../ccache_3.1.6-1_amd64.deb) ...
Setting up ccache (3.1.6-1) ...
Updating symlinks in /usr/lib/ccache ...
dib-run-parts Wed Jan 14 15:06:29 UTC 2015 00-ccache completed
dib-run-parts Wed Jan 14 15:06:29 UTC 2015 Running /tmp/in_target.d/install.d/00-package-installs
+ set -o pipefail
++ dirname /tmp/in_target.d/install.d/00-package-installs
+ package-installs -d /tmp/in_target.d/install.d
+ set -o pipefail
++ basename /usr/local/bin/package-installs
+ SCRIPTNAME=package-installs
++ getopt -o hd: -n package-installs -- -d /tmp/in_target.d/install.d
+ TEMP=' -d '\''/tmp/in_target.d/install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/install.d'\'' --'
++ set -- -d /tmp/in_target.d/install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/install.d -maxdepth 1 -name 'package-installs-*'
+ for PACKAGEFILE in '$(find $WORKDIR -maxdepth 1 -name "package-installs-*" )'
++ basename /tmp/in_target.d/install.d/package-installs-heat-cfntools
+ basefile=package-installs-heat-cfntools
+ element_name=heat-cfntools
+ read pkg
+ '[' -z gcc ']'
+ '[' g = '#' ']'
+ '[' g = - ']'
+ '[' -e /usr/share/pkg-map/heat-cfntools ']'
+ PACKAGES=' gcc'
+ read pkg
+ '[' -z python-dev ']'
+ '[' p = '#' ']'
+ '[' p = - ']'
+ '[' -e /usr/share/pkg-map/heat-cfntools ']'
+ PACKAGES=' gcc python-dev'
+ read pkg
+ '[' -z python-psutil ']'
+ '[' p = '#' ']'
+ '[' p = - ']'
+ '[' -e /usr/share/pkg-map/heat-cfntools ']'
+ PACKAGES=' gcc python-dev python-psutil'
+ read pkg
+ install-packages gcc python-dev python-psutil
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
binutils cpp cpp-4.6 gcc-4.6 libc-dev-bin libc6-dev libexpat1-dev libgomp1 libmpc2 libmpfr4 libquadmath0 libssl-dev
linux-libc-dev python2.7-dev zlib1g-dev
Suggested packages:
binutils-doc cpp-doc gcc-4.6-locales gcc-multilib make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc
gcc-4.6-multilib libmudflap0-4.6-dev gcc-4.6-doc libgcc1-dbg libgomp1-dbg libquadmath0-dbg libmudflap0-dbg binutils-gold
glibc-doc
Recommended packages:
libssl-doc
The following NEW packages will be installed:
binutils cpp cpp-4.6 gcc gcc-4.6 libc-dev-bin libc6-dev libexpat1-dev libgomp1 libmpc2 libmpfr4 libquadmath0 libssl-dev
linux-libc-dev python-dev python-psutil python2.7-dev zlib1g-dev
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 50.9 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main libgomp1 amd64 4.6.3-1ubuntu5 [25.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libmpfr4 amd64 3.1.0-3ubuntu2 [201 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main libquadmath0 amd64 4.6.3-1ubuntu5 [126 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main libmpc2 amd64 0.9-4 [39.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main binutils amd64 2.22-6ubuntu1.1 [2638 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main cpp-4.6 amd64 4.6.3-1ubuntu5 [4836 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main cpp amd64 4:4.6.3-1ubuntu5 [27.6 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/main gcc-4.6 amd64 4.6.3-1ubuntu5 [7572 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/main gcc amd64 4:4.6.3-1ubuntu5 [5114 B]
Get:10 http://archive.ubuntu.com/ubuntu/ precise-updates/main libc-dev-bin amd64 2.15-0ubuntu10.9 [83.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux-libc-dev amd64 3.2.0-75.110 [857 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise-updates/main libc6-dev amd64 2.15-0ubuntu10.9 [2944 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise-updates/main libexpat1-dev amd64 2.0.1-7.2ubuntu1.1 [216 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.21 [1573 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-dev amd64 2.7.3-0ubuntu3.6 [29.5 MB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-dev amd64 2.7.3-0ubuntu2.2 [1090 B]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/universe python-psutil amd64 0.4.1-1ubuntu1 [81.7 kB]
Fetched 50.9 MB in 26s (1926 kB/s)
Selecting previously unselected package libgomp1.
(Reading database ... 42216 files and directories currently installed.)
Unpacking libgomp1 (from .../libgomp1_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpfr4.
Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3ubuntu2_amd64.deb) ...
Selecting previously unselected package libquadmath0.
Unpacking libquadmath0 (from .../libquadmath0_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libmpc2.
Unpacking libmpc2 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-6ubuntu1.1_amd64.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.6.3-1ubuntu5_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.15-0ubuntu10.9_amd64.deb) ...
Selecting previously unselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.0-75.110_amd64.deb) ...
Selecting previously unselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.15-0ubuntu10.9_amd64.deb) ...
Selecting previously unselected package libexpat1-dev.
Unpacking libexpat1-dev (from .../libexpat1-dev_2.0.1-7.2ubuntu1.1_amd64.deb) ...
Selecting previously unselected package zlib1g-dev.
Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb) ...
Selecting previously unselected package libssl-dev.
Unpacking libssl-dev (from .../libssl-dev_1.0.1-4ubuntu5.21_amd64.deb) ...
Selecting previously unselected package python2.7-dev.
Unpacking python2.7-dev (from .../python2.7-dev_2.7.3-0ubuntu3.6_amd64.deb) ...
Selecting previously unselected package python-dev.
Unpacking python-dev (from .../python-dev_2.7.3-0ubuntu2.2_amd64.deb) ...
Selecting previously unselected package python-psutil.
Unpacking python-psutil (from .../python-psutil_0.4.1-1ubuntu1_amd64.deb) ...
Processing triggers for ccache ...
Updating symlinks in /usr/lib/ccache ...
Setting up libgomp1 (4.6.3-1ubuntu5) ...
Setting up libmpfr4 (3.1.0-3ubuntu2) ...
Setting up libquadmath0 (4.6.3-1ubuntu5) ...
Setting up libmpc2 (0.9-4) ...
Setting up binutils (2.22-6ubuntu1.1) ...
Setting up cpp-4.6 (4.6.3-1ubuntu5) ...
Setting up cpp (4:4.6.3-1ubuntu5) ...
Setting up gcc-4.6 (4.6.3-1ubuntu5) ...
Setting up gcc (4:4.6.3-1ubuntu5) ...
Setting up libc-dev-bin (2.15-0ubuntu10.9) ...
Setting up linux-libc-dev (3.2.0-75.110) ...
Setting up libc6-dev (2.15-0ubuntu10.9) ...
Setting up libexpat1-dev (2.0.1-7.2ubuntu1.1) ...
Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu4) ...
Setting up libssl-dev (1.0.1-4ubuntu5.21) ...
Setting up python2.7-dev (2.7.3-0ubuntu3.6) ...
Setting up python-dev (2.7.3-0ubuntu2.2) ...
Setting up python-psutil (0.4.1-1ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
+ package-installs-v2 --phase install.d /tmp/package-installs.json
installing git from source-repositories
Map file for source-repositories element does not exist.
dib-run-parts Wed Jan 14 15:07:12 UTC 2015 00-package-installs completed
dib-run-parts Wed Jan 14 15:07:12 UTC 2015 Running /tmp/in_target.d/install.d/01-install-pip
+ python /tmp/get-pip.py
Collecting pip
Downloading pip-6.0.6-py2.py3-none-any.whl (1.3MB)
100% |################################| 1.3MB 1.7MB/s
Collecting setuptools
Downloading setuptools-11.3.1-py2.py3-none-any.whl (500kB)
100% |################################| 503kB 2.1MB/s
Installing collected packages: setuptools, pip
Successfully installed pip-6.0.6 setuptools-11.3.1
+ pip install -U 'setuptools<8.0'
Collecting setuptools<8.0
Downloading setuptools-7.0-py2.py3-none-any.whl (534kB)
100% |################################| 536kB 2.2MB/s
Installing collected packages: setuptools
Found existing installation: setuptools 11.3.1
Uninstalling setuptools-11.3.1:
Successfully uninstalled setuptools-11.3.1
Successfully installed setuptools-7.0
+ pip install virtualenv
Collecting virtualenv
Downloading virtualenv-12.0.5-py2.py3-none-any.whl (1.8MB)
100% |################################| 1.8MB 1.8MB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-12.0.5
dib-run-parts Wed Jan 14 15:07:18 UTC 2015 01-install-pip completed
dib-run-parts Wed Jan 14 15:07:18 UTC 2015 Running /tmp/in_target.d/install.d/05-base-apps
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ apt-get -y install ntp apparmor-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libapparmor-perl libapparmor1 libcap2 libclass-factory-util-perl libclass-load-perl libclass-singleton-perl libdata-optlist-perl
libdatetime-format-builder-perl libdatetime-format-iso8601-perl libdatetime-format-strptime-perl libdatetime-locale-perl
libdatetime-perl libdatetime-timezone-perl libencode-locale-perl libfile-listing-perl libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
libio-socket-ssl-perl liblist-moreutils-perl liblwp-mediatypes-perl liblwp-protocol-https-perl libmath-round-perl
libmodule-runtime-perl libnet-http-perl libnet-ssleay-perl libopts25 libpackage-deprecationmanager-perl libpackage-stash-perl
libparams-classify-perl libparams-util-perl libparams-validate-perl librpc-xml-perl libsub-install-perl libterm-readkey-perl
libtry-tiny-perl liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl
Suggested packages:
apparmor-docs libterm-readline-gnu-perl vim-addon-manager libdata-dump-perl libcrypt-ssleay-perl libscalar-number-perl
libapache2-mod-perl2 libauthen-ntlm-perl ntp-doc
Recommended packages:
libio-socket-inet6-perl libpackage-stash-xs-perl libhtml-form-perl libhtml-format-perl libmailtools-perl
The following NEW packages will be installed:
apparmor-utils libapparmor-perl libapparmor1 libcap2 libclass-factory-util-perl libclass-load-perl libclass-singleton-perl
libdata-optlist-perl libdatetime-format-builder-perl libdatetime-format-iso8601-perl libdatetime-format-strptime-perl
libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libencode-locale-perl libfile-listing-perl libhtml-parser-perl
libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl
libhttp-negotiate-perl libio-socket-ssl-perl liblist-moreutils-perl liblwp-mediatypes-perl liblwp-protocol-https-perl
libmath-round-perl libmodule-runtime-perl libnet-http-perl libnet-ssleay-perl libopts25 libpackage-deprecationmanager-perl
libpackage-stash-perl libparams-classify-perl libparams-util-perl libparams-validate-perl librpc-xml-perl libsub-install-perl
libterm-readkey-perl libtry-tiny-perl liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl ntp
0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
Need to get 5318 kB of archives.
After this operation, 20.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main libcap2 amd64 1:2.22-1ubuntu3 [12.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libopts25 amd64 1:5.12-0.1ubuntu1 [59.9 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.2 [613 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main libclass-singleton-perl all 1.4-1 [13.6 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libparams-validate-perl amd64 0.97-1build2 [61.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main libparams-util-perl amd64 1.04-1build1 [21.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main libsub-install-perl all 0.925-1 [10.4 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/main libdata-optlist-perl all 0.107-1 [10.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/main libparams-classify-perl amd64 0.013-4 [23.3 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/main libmodule-runtime-perl all 0.011-1 [12.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise/main liblist-moreutils-perl amd64 0.33-1build1 [49.1 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise/main libpackage-deprecationmanager-perl all 0.11-1 [12.8 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise/main libpackage-stash-perl all 0.33-1 [17.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main libtry-tiny-perl all 0.11-1 [17.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise/main libclass-load-perl all 0.13-1 [11.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-timezone-perl all 1:1.42-1+2011nubuntu1 [185 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise/main libterm-readkey-perl amd64 2.30-4build3 [28.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-locale-perl all 1:0.45-1 [2274 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise/main libmath-round-perl all 0.06-3 [9488 B]
Get:20 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-perl amd64 2:0.7000-1build1 [89.5 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ precise/main libclass-factory-util-perl all 1.7-2 [7226 B]
Get:22 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-format-strptime-perl all 1.5000-1 [23.9 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-format-builder-perl all 0.8000-1 [65.4 kB]
Get:24 http://archive.ubuntu.com/ubuntu/ precise/main libdatetime-format-iso8601-perl all 0.07-1 [15.4 kB]
Get:25 http://archive.ubuntu.com/ubuntu/ precise/main liburi-perl all 1.59-1 [90.3 kB]
Get:26 http://archive.ubuntu.com/ubuntu/ precise/main libhttp-date-perl all 6.00-1 [10.1 kB]
Get:27 http://archive.ubuntu.com/ubuntu/ precise/main libhtml-tagset-perl all 3.20-2 [13.5 kB]
Get:28 http://archive.ubuntu.com/ubuntu/ precise/main libhtml-parser-perl amd64 3.69-1build1 [97.3 kB]
Get:29 http://archive.ubuntu.com/ubuntu/ precise/main libencode-locale-perl all 1.02-2 [12.0 kB]
Get:30 http://archive.ubuntu.com/ubuntu/ precise/main liblwp-mediatypes-perl all 6.01-1 [17.5 kB]
Get:31 http://archive.ubuntu.com/ubuntu/ precise/main libhttp-message-perl all 6.01-1 [77.6 kB]
Get:32 http://archive.ubuntu.com/ubuntu/ precise/main libhttp-daemon-perl all 6.00-1 [16.7 kB]
Get:33 http://archive.ubuntu.com/ubuntu/ precise/main libfile-listing-perl all 6.03-1 [9690 B]
Get:34 http://archive.ubuntu.com/ubuntu/ precise/main libhtml-tree-perl all 4.2-1 [205 kB]
Get:35 http://archive.ubuntu.com/ubuntu/ precise/main libhttp-cookies-perl all 6.00-2 [23.3 kB]
Get:36 http://archive.ubuntu.com/ubuntu/ precise/main libhttp-negotiate-perl all 6.00-2 [13.4 kB]
Get:37 http://archive.ubuntu.com/ubuntu/ precise/main libnet-http-perl all 6.02-1 [23.5 kB]
Get:38 http://archive.ubuntu.com/ubuntu/ precise/main libnet-ssleay-perl amd64 1.42-1build1 [188 kB]
Get:39 http://archive.ubuntu.com/ubuntu/ precise/main libio-socket-ssl-perl all 1.53-1 [47.5 kB]
Get:40 http://archive.ubuntu.com/ubuntu/ precise/main liblwp-protocol-https-perl all 6.02-1 [6746 B]
Get:41 http://archive.ubuntu.com/ubuntu/ precise/main libwww-robotrules-perl all 6.01-1 [14.1 kB]
Get:42 http://archive.ubuntu.com/ubuntu/ precise/main libwww-perl all 6.03-1 [156 kB]
Get:43 http://archive.ubuntu.com/ubuntu/ precise/main libxml-parser-perl amd64 2.41-1build1 [265 kB]
Get:44 http://archive.ubuntu.com/ubuntu/ precise/main librpc-xml-perl all 0.76-1 [207 kB]
Get:45 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapparmor1 amd64 2.7.102-0ubuntu3.10 [37.3 kB]
Get:46 http://archive.ubuntu.com/ubuntu/ precise-updates/main libapparmor-perl amd64 2.7.102-0ubuntu3.10 [30.1 kB]
Get:47 http://archive.ubuntu.com/ubuntu/ precise-updates/main apparmor-utils amd64 2.7.102-0ubuntu3.10 [111 kB]
Fetched 5318 kB in 22s (235 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libcap2.
(Reading database ... 44648 files and directories currently installed.)
Unpacking libcap2 (from .../libcap2_1%3a2.22-1ubuntu3_amd64.deb) ...
Selecting previously unselected package libopts25.
Unpacking libopts25 (from .../libopts25_1%3a5.12-0.1ubuntu1_amd64.deb) ...
Selecting previously unselected package ntp.
Unpacking ntp (from .../ntp_1%3a4.2.6.p3+dfsg-1ubuntu3.2_amd64.deb) ...
Selecting previously unselected package libclass-singleton-perl.
Unpacking libclass-singleton-perl (from .../libclass-singleton-perl_1.4-1_all.deb) ...
Selecting previously unselected package libparams-validate-perl.
Unpacking libparams-validate-perl (from .../libparams-validate-perl_0.97-1build2_amd64.deb) ...
Selecting previously unselected package libparams-util-perl.
Unpacking libparams-util-perl (from .../libparams-util-perl_1.04-1build1_amd64.deb) ...
Selecting previously unselected package libsub-install-perl.
Unpacking libsub-install-perl (from .../libsub-install-perl_0.925-1_all.deb) ...
Selecting previously unselected package libdata-optlist-perl.
Unpacking libdata-optlist-perl (from .../libdata-optlist-perl_0.107-1_all.deb) ...
Selecting previously unselected package libparams-classify-perl.
Unpacking libparams-classify-perl (from .../libparams-classify-perl_0.013-4_amd64.deb) ...
Selecting previously unselected package libmodule-runtime-perl.
Unpacking libmodule-runtime-perl (from .../libmodule-runtime-perl_0.011-1_all.deb) ...
Selecting previously unselected package liblist-moreutils-perl.
Unpacking liblist-moreutils-perl (from .../liblist-moreutils-perl_0.33-1build1_amd64.deb) ...
Selecting previously unselected package libpackage-deprecationmanager-perl.
Unpacking libpackage-deprecationmanager-perl (from .../libpackage-deprecationmanager-perl_0.11-1_all.deb) ...
Selecting previously unselected package libpackage-stash-perl.
Unpacking libpackage-stash-perl (from .../libpackage-stash-perl_0.33-1_all.deb) ...
Selecting previously unselected package libtry-tiny-perl.
Unpacking libtry-tiny-perl (from .../libtry-tiny-perl_0.11-1_all.deb) ...
Selecting previously unselected package libclass-load-perl.
Unpacking libclass-load-perl (from .../libclass-load-perl_0.13-1_all.deb) ...
Selecting previously unselected package libdatetime-timezone-perl.
Unpacking libdatetime-timezone-perl (from .../libdatetime-timezone-perl_1%3a1.42-1+2011nubuntu1_all.deb) ...
Selecting previously unselected package libterm-readkey-perl.
Unpacking libterm-readkey-perl (from .../libterm-readkey-perl_2.30-4build3_amd64.deb) ...
Selecting previously unselected package libdatetime-locale-perl.
Unpacking libdatetime-locale-perl (from .../libdatetime-locale-perl_1%3a0.45-1_all.deb) ...
Selecting previously unselected package libmath-round-perl.
Unpacking libmath-round-perl (from .../libmath-round-perl_0.06-3_all.deb) ...
Selecting previously unselected package libdatetime-perl.
Unpacking libdatetime-perl (from .../libdatetime-perl_2%3a0.7000-1build1_amd64.deb) ...
Selecting previously unselected package libclass-factory-util-perl.
Unpacking libclass-factory-util-perl (from .../libclass-factory-util-perl_1.7-2_all.deb) ...
Selecting previously unselected package libdatetime-format-strptime-perl.
Unpacking libdatetime-format-strptime-perl (from .../libdatetime-format-strptime-perl_1.5000-1_all.deb) ...
Selecting previously unselected package libdatetime-format-builder-perl.
Unpacking libdatetime-format-builder-perl (from .../libdatetime-format-builder-perl_0.8000-1_all.deb) ...
Selecting previously unselected package libdatetime-format-iso8601-perl.
Unpacking libdatetime-format-iso8601-perl (from .../libdatetime-format-iso8601-perl_0.07-1_all.deb) ...
Selecting previously unselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.59-1_all.deb) ...
Selecting previously unselected package libhttp-date-perl.
Unpacking libhttp-date-perl (from .../libhttp-date-perl_6.00-1_all.deb) ...
Selecting previously unselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ...
Selecting previously unselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.69-1build1_amd64.deb) ...
Selecting previously unselected package libencode-locale-perl.
Unpacking libencode-locale-perl (from .../libencode-locale-perl_1.02-2_all.deb) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Unpacking liblwp-mediatypes-perl (from .../liblwp-mediatypes-perl_6.01-1_all.deb) ...
Selecting previously unselected package libhttp-message-perl.
Unpacking libhttp-message-perl (from .../libhttp-message-perl_6.01-1_all.deb) ...
Selecting previously unselected package libhttp-daemon-perl.
Unpacking libhttp-daemon-perl (from .../libhttp-daemon-perl_6.00-1_all.deb) ...
Selecting previously unselected package libfile-listing-perl.
Unpacking libfile-listing-perl (from .../libfile-listing-perl_6.03-1_all.deb) ...
Selecting previously unselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_4.2-1_all.deb) ...
Selecting previously unselected package libhttp-cookies-perl.
Unpacking libhttp-cookies-perl (from .../libhttp-cookies-perl_6.00-2_all.deb) ...
Selecting previously unselected package libhttp-negotiate-perl.
Unpacking libhttp-negotiate-perl (from .../libhttp-negotiate-perl_6.00-2_all.deb) ...
Selecting previously unselected package libnet-http-perl.
Unpacking libnet-http-perl (from .../libnet-http-perl_6.02-1_all.deb) ...
Selecting previously unselected package libnet-ssleay-perl.
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.42-1build1_amd64.deb) ...
Selecting previously unselected package libio-socket-ssl-perl.
Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.53-1_all.deb) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Unpacking liblwp-protocol-https-perl (from .../liblwp-protocol-https-perl_6.02-1_all.deb) ...
Selecting previously unselected package libwww-robotrules-perl.
Unpacking libwww-robotrules-perl (from .../libwww-robotrules-perl_6.01-1_all.deb) ...
Selecting previously unselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_6.03-1_all.deb) ...
Selecting previously unselected package libxml-parser-perl.
Unpacking libxml-parser-perl (from .../libxml-parser-perl_2.41-1build1_amd64.deb) ...
Selecting previously unselected package librpc-xml-perl.
Unpacking librpc-xml-perl (from .../librpc-xml-perl_0.76-1_all.deb) ...
Selecting previously unselected package libapparmor1.
Unpacking libapparmor1 (from .../libapparmor1_2.7.102-0ubuntu3.10_amd64.deb) ...
Selecting previously unselected package libapparmor-perl.
Unpacking libapparmor-perl (from .../libapparmor-perl_2.7.102-0ubuntu3.10_amd64.deb) ...
Selecting previously unselected package apparmor-utils.
Unpacking apparmor-utils (from .../apparmor-utils_2.7.102-0ubuntu3.10_amd64.deb) ...
Processing triggers for ureadahead ...
Setting up libcap2 (1:2.22-1ubuntu3) ...
Setting up libopts25 (1:5.12-0.1ubuntu1) ...
Setting up ntp (1:4.2.6.p3+dfsg-1ubuntu3.2) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libclass-singleton-perl (1.4-1) ...
Setting up libparams-validate-perl (0.97-1build2) ...
Setting up libparams-util-perl (1.04-1build1) ...
Setting up libsub-install-perl (0.925-1) ...
Setting up libdata-optlist-perl (0.107-1) ...
Setting up libparams-classify-perl (0.013-4) ...
Setting up libmodule-runtime-perl (0.011-1) ...
Setting up liblist-moreutils-perl (0.33-1build1) ...
Setting up libpackage-deprecationmanager-perl (0.11-1) ...
Setting up libpackage-stash-perl (0.33-1) ...
Setting up libtry-tiny-perl (0.11-1) ...
Setting up libclass-load-perl (0.13-1) ...
Setting up libdatetime-timezone-perl (1:1.42-1+2011nubuntu1) ...
Setting up libterm-readkey-perl (2.30-4build3) ...
Setting up libdatetime-locale-perl (1:0.45-1) ...
Setting up libmath-round-perl (0.06-3) ...
Setting up libdatetime-perl (2:0.7000-1build1) ...
Setting up libclass-factory-util-perl (1.7-2) ...
Setting up libdatetime-format-strptime-perl (1.5000-1) ...
Setting up libdatetime-format-builder-perl (0.8000-1) ...
Setting up libdatetime-format-iso8601-perl (0.07-1) ...
Setting up liburi-perl (1.59-1) ...
Setting up libhttp-date-perl (6.00-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.69-1build1) ...
Setting up libencode-locale-perl (1.02-2) ...
Setting up liblwp-mediatypes-perl (6.01-1) ...
Setting up libhttp-message-perl (6.01-1) ...
Setting up libhttp-daemon-perl (6.00-1) ...
Setting up libfile-listing-perl (6.03-1) ...
Setting up libhtml-tree-perl (4.2-1) ...
Setting up libhttp-cookies-perl (6.00-2) ...
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libnet-http-perl (6.02-1) ...
Setting up libnet-ssleay-perl (1.42-1build1) ...
Setting up libio-socket-ssl-perl (1.53-1) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up libapparmor1 (2.7.102-0ubuntu3.10) ...
Setting up libapparmor-perl (2.7.102-0ubuntu3.10) ...
Setting up libwww-perl (6.03-1) ...
Setting up libxml-parser-perl (2.41-1build1) ...
Setting up librpc-xml-perl (0.76-1) ...
Setting up apparmor-utils (2.7.102-0ubuntu3.10) ...
Setting up liblwp-protocol-https-perl (6.02-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dib-run-parts Wed Jan 14 15:07:45 UTC 2015 05-base-apps completed
dib-run-parts Wed Jan 14 15:07:45 UTC 2015 Running /tmp/in_target.d/install.d/05-heat-cfntools
+ [[ fedora = \u\b\u\n\t\u ]]
+ VENV=/opt/stack/venvs/heat-cfntools
+ virtualenv --setuptools /opt/stack/venvs/heat-cfntools
New python executable in /opt/stack/venvs/heat-cfntools/bin/python
Installing setuptools, pip...done.
+ set +u
+ source /opt/stack/venvs/heat-cfntools/bin/activate
++ deactivate nondestructive
++ unset pydoc
++ '[' -n '' ']'
++ '[' -n '' ']'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
++ '[' -n '' ']'
++ unset VIRTUAL_ENV
++ '[' '!' nondestructive = nondestructive ']'
++ VIRTUAL_ENV=/opt/stack/venvs/heat-cfntools
++ export VIRTUAL_ENV
++ _OLD_VIRTUAL_PATH=/usr/lib64/ccache:/usr/lib/ccache:/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin
++ PATH=/opt/stack/venvs/heat-cfntools/bin:/usr/lib64/ccache:/usr/lib/ccache:/sbin:/usr/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin
++ export PATH
++ '[' -n '' ']'
++ '[' -z '' ']'
++ _OLD_VIRTUAL_PS1=
++ '[' x '!=' x ']'
+++ basename /opt/stack/venvs/heat-cfntools
++ '[' heat-cfntools = __ ']'
+++ basename /opt/stack/venvs/heat-cfntools
++ PS1='(heat-cfntools)'
++ export PS1
++ alias 'pydoc=python -m pydoc'
++ '[' -n /bin/bash -o -n '' ']'
++ hash -r
+ set -u
+ /opt/stack/venvs/heat-cfntools/bin/pip install -U pip
Requirement already up-to-date: pip in /opt/stack/venvs/heat-cfntools/lib/python2.7/site-packages
+ /opt/stack/venvs/heat-cfntools/bin/pip install -U 'setuptools>=1.0,<8.0'
Collecting setuptools<8.0,>=1.0
Using cached setuptools-7.0-py2.py3-none-any.whl
Installing collected packages: setuptools
Found existing installation: setuptools 11.0
Uninstalling setuptools-11.0:
Successfully uninstalled setuptools-11.0
Successfully installed setuptools-7.0
+ /opt/stack/venvs/heat-cfntools/bin/pip install -U 'pbr>=0.6,<1.0'
Collecting pbr<1.0,>=0.6
Downloading pbr-0.10.7-py2.py3-none-any.whl (70kB)
100% |################################| 73kB 1.0MB/s
Requirement already up-to-date: pip in /opt/stack/venvs/heat-cfntools/lib/python2.7/site-packages (from pbr<1.0,>=0.6)
Installing collected packages: pbr
Successfully installed pbr-0.10.7
+ /opt/stack/venvs/heat-cfntools/bin/pip install -U heat-cfntools
Collecting heat-cfntools
Downloading heat_cfntools-1.2.8-py2.py3-none-any.whl
Collecting argparse from https://pypi.python.org/packages/2.7/a/argparse/argparse-1.3.0-py2.py3-none-any.whl#md5=c89395a1a43b61ca6a116aed5e3b1d59 (from heat-cfntools)
Downloading argparse-1.3.0-py2.py3-none-any.whl
Requirement already up-to-date: pbr!=0.7,<1.0,>=0.6 in /opt/stack/venvs/heat-cfntools/lib/python2.7/site-packages (from heat-cfntools)
Collecting psutil<2.0.0,>=1.1.1 (from heat-cfntools)
Downloading psutil-1.2.1.tar.gz (167kB)
100% |################################| 167kB 1.4MB/s
Collecting boto!=2.13.0,>=2.12.0 (from heat-cfntools)
Downloading boto-2.35.1-py2.py3-none-any.whl (1.3MB)
100% |################################| 1.3MB 1.8MB/s
Requirement already up-to-date: pip in /opt/stack/venvs/heat-cfntools/lib/python2.7/site-packages (from pbr!=0.7,<1.0,>=0.6->heat-cfntools)
Installing collected packages: boto, psutil, argparse, heat-cfntools
Running setup.py install for psutil
building '_psutil_linux' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -o build/lib.linux-x86_64-2.7/_psutil_linux.so
building '_psutil_posix' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -o build/lib.linux-x86_64-2.7/_psutil_posix.so
Found existing installation: argparse 1.2.1
Not uninstalling argparse at /usr/lib/python2.7, outside environment /opt/stack/venvs/heat-cfntools
Successfully installed argparse-1.2.1 boto-2.35.1 heat-cfntools-1.2.8 psutil-1.2.1
+ /opt/stack/venvs/heat-cfntools/bin/cfn-create-aws-symlinks --source /opt/stack/venvs/heat-cfntools/bin
/opt/stack/venvs/heat-cfntools/bin -> /opt/aws/bin
/opt/stack/venvs/heat-cfntools/bin/cfn-hup -> /opt/aws/bin/cfn-hup
/opt/stack/venvs/heat-cfntools/bin/cfn-signal -> /opt/aws/bin/cfn-signal
/opt/stack/venvs/heat-cfntools/bin/cfn-init -> /opt/aws/bin/cfn-init
/opt/stack/venvs/heat-cfntools/bin/cfn-push-stats -> /opt/aws/bin/cfn-push-stats
/opt/stack/venvs/heat-cfntools/bin/cfn-create-aws-symlinks -> /opt/aws/bin/cfn-create-aws-symlinks
/opt/stack/venvs/heat-cfntools/bin/cfn-get-metadata -> /opt/aws/bin/cfn-get-metadata
+ /opt/stack/venvs/heat-cfntools/bin/cfn-create-aws-symlinks --source /opt/stack/venvs/heat-cfntools/bin --target /usr/local/bin
/opt/stack/venvs/heat-cfntools/bin -> /usr/local/bin
/opt/stack/venvs/heat-cfntools/bin/cfn-hup -> /usr/local/bin/cfn-hup
/opt/stack/venvs/heat-cfntools/bin/cfn-signal -> /usr/local/bin/cfn-signal
/opt/stack/venvs/heat-cfntools/bin/cfn-init -> /usr/local/bin/cfn-init
/opt/stack/venvs/heat-cfntools/bin/cfn-push-stats -> /usr/local/bin/cfn-push-stats
/opt/stack/venvs/heat-cfntools/bin/cfn-create-aws-symlinks -> /usr/local/bin/cfn-create-aws-symlinks
/opt/stack/venvs/heat-cfntools/bin/cfn-get-metadata -> /usr/local/bin/cfn-get-metadata
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 05-heat-cfntools completed
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 Running /tmp/in_target.d/install.d/05-set-cloud-init-sources
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 05-set-cloud-init-sources completed
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 Running /tmp/in_target.d/install.d/10-cloud-init
0+1 records in
0+1 records out
23 bytes (23 B) copied, 2.8608e-05 s, 804 kB/s
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 10-cloud-init completed
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 Running /tmp/in_target.d/install.d/10-ec2-user
++ lsb_release -is
+ distro=Ubuntu
+ '[' Ubuntu '!=' Ubuntu ']'
++ lsb_release -cs
+ codename=precise
+ '[' precise '!=' quantal ']'
+ exit 0
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 10-ec2-user completed
dib-run-parts Wed Jan 14 15:07:51 UTC 2015 Running /tmp/in_target.d/install.d/10-support-physical-hardware
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-image-3.2.0-75-generic
Suggested packages:
fdutils linux-doc-3.2.0 linux-source-3.2.0 linux-tools
Recommended packages:
grub-pc grub-efi-amd64 grub-efi-ia32 grub lilo
The following NEW packages will be installed:
linux-image-3.2.0-75-generic linux-image-generic
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.8 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-75-generic amd64 3.2.0-75.110 [38.8 MB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic amd64 3.2.0.75.89 [2342 B]
Fetched 38.8 MB in 20s (1938 kB/s)
Selecting previously unselected package linux-image-3.2.0-75-generic.
(Reading database ... 46898 files and directories currently installed.)
Unpacking linux-image-3.2.0-75-generic (from .../linux-image-3.2.0-75-generic_3.2.0-75.110_amd64.deb) ...
Done.
Selecting previously unselected package linux-image-generic.
Unpacking linux-image-generic (from .../linux-image-generic_3.2.0.75.89_amd64.deb) ...
Setting up linux-image-3.2.0-75-generic (3.2.0-75.110) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-75-generic /boot/vmlinuz-3.2.0-75-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-75-generic /boot/vmlinuz-3.2.0-75-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-75-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.2.0-75-generic /boot/vmlinuz-3.2.0-75-generic
Searching for GRUB installation directory ... found: /boot/grub
findfs: unable to resolve 'LABEL=cloudimg-rootfs'
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-75-virtual
Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.2.0-75-generic
Found kernel: /boot/vmlinuz-3.2.0-75-virtual
Updating /boot/grub/menu.lst ... done
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-75-generic /boot/vmlinuz-3.2.0-75-generic
Setting up linux-image-generic (3.2.0.75.89) ...
dib-run-parts Wed Jan 14 15:08:26 UTC 2015 10-support-physical-hardware completed
dib-run-parts Wed Jan 14 15:08:26 UTC 2015 Running /tmp/in_target.d/install.d/15-reddwarf-dep
+ export DEBIAN_FRONTEND=noninteractive
+ DEBIAN_FRONTEND=noninteractive
+ apt-get -y install python-dev libxml2-dev libxslt1-dev python-setuptools python-pip python-sqlalchemy python-lxml python-routes python-eventlet python-webob python-pastedeploy python-paste python-netaddr python-httplib2 python-iso8601 python-pexpect python-mysqldb python-migrate
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-dev is already the newest version.
python-httplib2 is already the newest version.
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libjs-sphinxdoc libjs-underscore libmysqlclient18 libxslt1.1 python-decorator python-formencode python-greenlet python-tempita
Suggested packages:
javascript-common python-egenix-mxdatetime python-dns python-greenlet-doc python-greenlet-dev python-greenlet-dbg python-lxml-dbg
mysql-server-5.1 mysql-server python-mysqldb-dbg ipython python-pastescript python-pastewebkit libapache2-mod-wsgi
libapache2-mod-python libapache2-mod-scgi python-pgsql libjs-mochikit python-sqlalchemy-doc python-psycopg2 python-kinterbasdb
python-pymssql
Recommended packages:
python-openid python-scgi python-sqlalchemy-ext
The following NEW packages will be installed:
libjs-sphinxdoc libjs-underscore libmysqlclient18 libxml2-dev libxslt1-dev libxslt1.1 python-decorator python-eventlet
python-formencode python-greenlet python-iso8601 python-lxml python-migrate python-mysqldb python-netaddr python-paste
python-pastedeploy python-pexpect python-pip python-routes python-setuptools python-sqlalchemy python-tempita python-webob
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 6827 kB of archives.
After this operation, 28.9 MB of additional disk space will be used.
Get:1 http://repo.percona.com/apt/ precise/main libmysqlclient18 amd64 1:5.5.35-rel33.0-611.precise [841 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1.1 amd64 1.1.26-8ubuntu1.3 [167 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main libjs-underscore all 1.1.6-1ubuntu2 [31.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise-updates/main libjs-sphinxdoc all 1.1.3+dfsg-2ubuntu2.1 [45.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise-updates/main libxml2-dev amd64 2.7.8.dfsg-5.1ubuntu4.11 [805 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise-updates/main libxslt1-dev amd64 1.1.26-8ubuntu1.3 [564 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main python-decorator all 3.3.2-1 [21.2 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-greenlet amd64 0.3.1-1ubuntu5.1 [15.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-eventlet all 0.9.16-1ubuntu4.2 [283 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/main python-formencode all 1.2.4-2ubuntu2 [110 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-lxml amd64 2.3.2-1ubuntu0.2 [661 kB]
Get:12 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-sqlalchemy all 0.7.4-1ubuntu0.1 [452 kB]
Get:13 http://archive.ubuntu.com/ubuntu/ precise/main python-tempita all 0.5.1-1build1 [15.1 kB]
Get:14 http://archive.ubuntu.com/ubuntu/ precise/main python-migrate all 0.7.2-1ubuntu1 [156 kB]
Get:15 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-mysqldb amd64 1.2.3-1ubuntu0.1 [64.0 kB]
Get:16 http://archive.ubuntu.com/ubuntu/ precise/main python-netaddr all 0.7.5-4build2 [1181 kB]
Get:17 http://archive.ubuntu.com/ubuntu/ precise/main python-paste all 1.7.5.1-4ubuntu2 [380 kB]
Get:18 http://archive.ubuntu.com/ubuntu/ precise/main python-pastedeploy all 1.5.0-2build1 [28.2 kB]
Get:19 http://archive.ubuntu.com/ubuntu/ precise/main python-pexpect all 2.3-1ubuntu2 [165 kB]
Get:20 http://archive.ubuntu.com/ubuntu/ precise/main python-setuptools all 0.6.24-1ubuntu1 [441 kB]
Get:21 http://archive.ubuntu.com/ubuntu/ precise/universe python-pip all 1.0-1build1 [95.1 kB]
Get:22 http://archive.ubuntu.com/ubuntu/ precise/main python-routes all 1.12.3-1ubuntu1 [27.1 kB]
Get:23 http://archive.ubuntu.com/ubuntu/ precise/main python-iso8601 all 0.1.4-1ubuntu1 [5826 B]
Get:24 http://archive.ubuntu.com/ubuntu/ precise-updates/main python-webob all 1.1.1-1ubuntu0 [273 kB]
Fetched 6827 kB in 7s (964 kB/s)
Selecting previously unselected package libxslt1.1.
(Reading database ... 51045 files and directories currently installed.)
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8ubuntu1.3_amd64.deb) ...
Selecting previously unselected package libjs-underscore.
Unpacking libjs-underscore (from .../libjs-underscore_1.1.6-1ubuntu2_all.deb) ...
Selecting previously unselected package libjs-sphinxdoc.
Unpacking libjs-sphinxdoc (from .../libjs-sphinxdoc_1.1.3+dfsg-2ubuntu2.1_all.deb) ...
Selecting previously unselected package libxml2-dev.
Unpacking libxml2-dev (from .../libxml2-dev_2.7.8.dfsg-5.1ubuntu4.11_amd64.deb) ...
Selecting previously unselected package libxslt1-dev.
Unpacking libxslt1-dev (from .../libxslt1-dev_1.1.26-8ubuntu1.3_amd64.deb) ...
Selecting previously unselected package python-decorator.
Unpacking python-decorator (from .../python-decorator_3.3.2-1_all.deb) ...
Selecting previously unselected package python-greenlet.
Unpacking python-greenlet (from .../python-greenlet_0.3.1-1ubuntu5.1_amd64.deb) ...
Selecting previously unselected package python-eventlet.
Unpacking python-eventlet (from .../python-eventlet_0.9.16-1ubuntu4.2_all.deb) ...
Selecting previously unselected package python-formencode.
Unpacking python-formencode (from .../python-formencode_1.2.4-2ubuntu2_all.deb) ...
Selecting previously unselected package python-lxml.
Unpacking python-lxml (from .../python-lxml_2.3.2-1ubuntu0.2_amd64.deb) ...
Selecting previously unselected package python-sqlalchemy.
Unpacking python-sqlalchemy (from .../python-sqlalchemy_0.7.4-1ubuntu0.1_all.deb) ...
Selecting previously unselected package python-tempita.
Unpacking python-tempita (from .../python-tempita_0.5.1-1build1_all.deb) ...
Selecting previously unselected package python-migrate.
Unpacking python-migrate (from .../python-migrate_0.7.2-1ubuntu1_all.deb) ...
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_1%3a5.5.35-rel33.0-611.precise_amd64.deb) ...
Selecting previously unselected package python-mysqldb.
Unpacking python-mysqldb (from .../python-mysqldb_1.2.3-1ubuntu0.1_amd64.deb) ...
Selecting previously unselected package python-netaddr.
Unpacking python-netaddr (from .../python-netaddr_0.7.5-4build2_all.deb) ...
Selecting previously unselected package python-paste.
Unpacking python-paste (from .../python-paste_1.7.5.1-4ubuntu2_all.deb) ...
Selecting previously unselected package python-pastedeploy.
Unpacking python-pastedeploy (from .../python-pastedeploy_1.5.0-2build1_all.deb) ...
Selecting previously unselected package python-pexpect.
Unpacking python-pexpect (from .../python-pexpect_2.3-1ubuntu2_all.deb) ...
Selecting previously unselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.24-1ubuntu1_all.deb) ...
Selecting previously unselected package python-pip.
Unpacking python-pip (from .../python-pip_1.0-1build1_all.deb) ...
Selecting previously unselected package python-routes.
Unpacking python-routes (from .../python-routes_1.12.3-1ubuntu1_all.deb) ...
Selecting previously unselected package python-iso8601.
Unpacking python-iso8601 (from .../python-iso8601_0.1.4-1ubuntu1_all.deb) ...
Selecting previously unselected package python-webob.
Unpacking python-webob (from .../python-webob_1.1.1-1ubuntu0_all.deb) ...
Setting up libxslt1.1 (1.1.26-8ubuntu1.3) ...
Setting up libjs-underscore (1.1.6-1ubuntu2) ...
Setting up libjs-sphinxdoc (1.1.3+dfsg-2ubuntu2.1) ...
Setting up libxml2-dev (2.7.8.dfsg-5.1ubuntu4.11) ...
Setting up libxslt1-dev (1.1.26-8ubuntu1.3) ...
Setting up python-decorator (3.3.2-1) ...
Setting up python-greenlet (0.3.1-1ubuntu5.1) ...
Setting up python-eventlet (0.9.16-1ubuntu4.2) ...
Setting up python-formencode (1.2.4-2ubuntu2) ...
Setting up python-lxml (2.3.2-1ubuntu0.2) ...
Setting up python-sqlalchemy (0.7.4-1ubuntu0.1) ...
Setting up python-tempita (0.5.1-1build1) ...
Setting up python-migrate (0.7.2-1ubuntu1) ...
Setting up libmysqlclient18 (1:5.5.35-rel33.0-611.precise) ...
Setting up python-mysqldb (1.2.3-1ubuntu0.1) ...
Setting up python-netaddr (0.7.5-4build2) ...
Setting up python-paste (1.7.5.1-4ubuntu2) ...
Setting up python-pastedeploy (1.5.0-2build1) ...
Setting up python-pexpect (2.3-1ubuntu2) ...
Setting up python-setuptools (0.6.24-1ubuntu1) ...
Setting up python-pip (1.0-1build1) ...
Setting up python-routes (1.12.3-1ubuntu1) ...
Setting up python-iso8601 (0.1.4-1ubuntu1) ...
Setting up python-webob (1.1.1-1ubuntu0) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
+ pip install extras python-novaclient python-swiftclient python-cinderclient kombu six babel python-heatclient passlib jinja2 python-neutronclient netifaces oslo.config oslo.messaging oslo.i18n oslo.serialization oslo.utils osprofiler
dib-run-parts Wed Jan 14 15:10:05 UTC 2015 15-reddwarf-dep completed
dib-run-parts Wed Jan 14 15:10:05 UTC 2015 Running /tmp/in_target.d/install.d/20-etc
2+1 records in
2+1 records out
1161 bytes (1.2 kB) copied, 0.000398541 s, 2.9 MB/s
dib-run-parts Wed Jan 14 15:10:05 UTC 2015 20-etc completed
dib-run-parts Wed Jan 14 15:10:05 UTC 2015 Running /tmp/in_target.d/install.d/30-mysql
+ export DEBIAN_FRONTEND=noninteractive
+ apt-get -y install libmysqlclient18 mysql-server-5.5 mysql-client-5.5 percona-xtrabackup
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmysqlclient18 is already the newest version.
libmysqlclient18 set to manually installed.
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl mysql-client-core-5.5 mysql-common mysql-server-core-5.5
Suggested packages:
tinyca mailx
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libnet-daemon-perl libplrpc-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
mysql-server-5.5 mysql-server-core-5.5 percona-xtrabackup
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.2 MB of archives.
After this operation, 112 MB of additional disk space will be used.
Get:1 http://repo.percona.com/apt/ precise/main percona-xtrabackup amd64 2.2.8-5059-1.precise [5979 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main libaio1 amd64 0.3.109-2ubuntu1 [6396 B]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-common all 5.5.40-0ubuntu0.12.04.1 [13.1 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main libnet-daemon-perl all 0.48-1 [43.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/main libdbi-perl amd64 1.616-1build2 [849 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/main libdbd-mysql-perl amd64 4.020-1build2 [106 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-core-5.5 amd64 5.5.40-0ubuntu0.12.04.1 [1939 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-client-5.5 amd64 5.5.40-0ubuntu0.12.04.1 [8337 kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-core-5.5 amd64 5.5.40-0ubuntu0.12.04.1 [6096 kB]
Get:11 http://archive.ubuntu.com/ubuntu/ precise-updates/main mysql-server-5.5 amd64 5.5.40-0ubuntu0.12.04.1 [8836 kB]
Fetched 32.2 MB in 19s (1669 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libaio1.
(Reading database ... 53428 files and directories currently installed.)
Unpacking libaio1 (from .../libaio1_0.3.109-2ubuntu1_amd64.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.40-0ubuntu0.12.04.1_all.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.616-1build2_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.40-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.40-0ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.40-0ubuntu0.12.04.1_amd64.deb) ...
Setting up mysql-common (5.5.40-0ubuntu0.12.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 53792 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.40-0ubuntu0.12.04.1_amd64.deb) ...
df: Warning: cannot read table of mounted file systems: No such file or directory
Selecting previously unselected package percona-xtrabackup.
Unpacking percona-xtrabackup (from .../percona-xtrabackup_2.2.8-5059-1.precise_amd64.deb) ...
Processing triggers for ureadahead ...
Setting up libaio1 (0.3.109-2ubuntu1) ...
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.616-1build2) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.40-0ubuntu0.12.04.1) ...
Setting up mysql-client-5.5 (5.5.40-0ubuntu0.12.04.1) ...
Setting up mysql-server-core-5.5 (5.5.40-0ubuntu0.12.04.1) ...
Setting up mysql-server-5.5 (5.5.40-0ubuntu0.12.04.1) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of stop.
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
Setting up percona-xtrabackup (2.2.8-5059-1.precise) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 30-mysql completed
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 Running /tmp/in_target.d/install.d/50-store-build-settings
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 50-store-build-settings completed
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 Running /tmp/in_target.d/install.d/50-user
+ id -u pmackinn
+ echo 'Adding pmackinn user'
Adding pmackinn user
+ useradd -G sudo -m pmackinn -s /bin/bash
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
+ chown pmackinn:pmackinn /home/pmackinn
+ passwd pmackinn
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 50-user completed
dib-run-parts Wed Jan 14 15:10:38 UTC 2015 Running /tmp/in_target.d/install.d/62-ssh-key
+ SSH_DIR=/home/pmackinn/.ssh
+ TMP_HOOKS_DIR=/tmp/in_target.d
+ '[' -e /tmp/in_target.d/ssh-authorized-keys ']'
+ '[' '!' -e /home/pmackinn/.ssh ']'
+ mkdir /home/pmackinn/.ssh
+ chown pmackinn:pmackinn /home/pmackinn/.ssh
+ sudo -Hiu pmackinn dd of=/home/pmackinn/.ssh/authorized_keys conv=notrunc if=/tmp/in_target.d/ssh-authorized-keys
0+1 records in
0+1 records out
401 bytes (401 B) copied, 0.000152804 s, 2.6 MB/s
+ '[' '!' -e /home/pmackinn/.ssh/id_rsa ']'
+ sudo -Hiu pmackinn dd of=/home/pmackinn/.ssh/id_rsa if=/tmp/in_target.d/id_rsa
3+1 records in
3+1 records out
1743 bytes (1.7 kB) copied, 0.0001879 s, 9.3 MB/s
+ sudo -Hiu pmackinn chmod 600 /home/pmackinn/.ssh/id_rsa
+ sudo -Hiu pmackinn dd of=/home/pmackinn/.ssh/id_rsa.pub if=/tmp/in_target.d/id_rsa.pub
0+1 records in
0+1 records out
401 bytes (401 B) copied, 0.000189505 s, 2.1 MB/s
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 62-ssh-key completed
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 Running /tmp/in_target.d/install.d/98-ssh
+ dpkg-reconfigure openssh-server
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
initctl (tripleo 1.0)
Warning: Fake initctl called, doing nothing
initctl (tripleo 1.0)
Warning: Fake initctl called, doing nothing
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 98-ssh completed
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 Running /tmp/in_target.d/install.d/99-clean-apt
+ apt-get clean
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 99-clean-apt completed
dib-run-parts Wed Jan 14 15:10:39 UTC 2015 Running /tmp/in_target.d/install.d/99-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfreetype6 os-prober grub-pc-bin grub-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
make patch
Suggested packages:
make-doc ed diffutils-doc
Recommended packages:
fakeroot
The following NEW packages will be installed:
dkms make patch
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 272 kB of archives.
After this operation, 895 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main make amd64 3.81-8.1ubuntu1.1 [119 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise-updates/main dkms all 2.2.0.3-1ubuntu3.2 [72.6 kB]
Fetched 272 kB in 1s (185 kB/s)
Selecting previously unselected package make.
(Reading database ... 53887 files and directories currently installed.)
Unpacking make (from .../make_3.81-8.1ubuntu1.1_amd64.deb) ...
Selecting previously unselected package patch.
Unpacking patch (from .../patch_2.6.1-3_amd64.deb) ...
Selecting previously unselected package dkms.
Unpacking dkms (from .../dkms_2.2.0.3-1ubuntu3.2_all.deb) ...
Setting up make (3.81-8.1ubuntu1.1) ...
Setting up patch (2.6.1-3) ...
Setting up dkms (2.2.0.3-1ubuntu3.2) ...
dib-run-parts Wed Jan 14 15:10:44 UTC 2015 99-dkms completed
dib-run-parts Wed Jan 14 15:10:44 UTC 2015 Running /tmp/in_target.d/install.d/99-package-uninstalls
+ set -o pipefail
++ dirname /tmp/in_target.d/install.d/99-package-uninstalls
+ package-uninstalls -d /tmp/in_target.d/install.d
+ set -o pipefail
++ basename /usr/local/bin/package-uninstalls
+ SCRIPTNAME=package-uninstalls
++ getopt -o hd: -n package-uninstalls -- -d /tmp/in_target.d/install.d
+ TEMP=' -d '\''/tmp/in_target.d/install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/install.d'\'' --'
++ set -- -d /tmp/in_target.d/install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/install.d -maxdepth 1 -name 'package-installs-*'
+ for PACKAGEFILE in '$(find $WORKDIR -maxdepth 1 -name "package-installs-*" )'
++ basename /tmp/in_target.d/install.d/package-installs-heat-cfntools
+ basefile=package-installs-heat-cfntools
+ element_name=heat-cfntools
+ read pkg
+ '[' -z gcc ']'
+ '[' g = '#' ']'
+ '[' '!' g = - ']'
+ continue
+ read pkg
+ '[' -z python-dev ']'
+ '[' p = '#' ']'
+ '[' '!' p = - ']'
+ continue
+ read pkg
+ '[' -z python-psutil ']'
+ '[' p = '#' ']'
+ '[' '!' p = - ']'
+ continue
+ read pkg
+ install-packages -e
Not running install-packages remove with empty packages list
+ package-installs-v2 --phase install.d --uninstall /tmp/package-installs.json
Nothing to uninstall
dib-run-parts Wed Jan 14 15:10:44 UTC 2015 99-package-uninstalls completed
dib-run-parts Wed Jan 14 15:10:44 UTC 2015 Running /tmp/in_target.d/install.d/99-up-to-date
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 99-up-to-date completed
----------------------- PROFILING -----------------------
Target: install.d
Script Seconds
--------------------------------------- ----------
00-baseline-environment 4.004
00-ccache 2.239
00-package-installs 42.387
01-install-pip 6.634
05-base-apps 26.376
05-heat-cfntools 6.375
05-set-cloud-init-sources 0.025
10-cloud-init 0.005
10-ec2-user 0.042
10-support-physical-hardware 34.603
15-reddwarf-dep 99.371
20-etc 0.005
30-mysql 32.795
50-store-build-settings 0.008
50-user 0.030
62-ssh-key 0.708
98-ssh 0.467
99-clean-apt 0.029
99-dkms 5.074
99-package-uninstalls 0.044
99-up-to-date 0.471
--------------------- END PROFILING ---------------------
+ export HOME=/home/pmackinn/trove-integration/scripts/
+ HOME=/home/pmackinn/trove-integration/scripts/
+ trap - ERR
+ check_break after-install run_in_target bash
+ echo ''
+ egrep -e '(,|^)after-install(,|$)' -q
+ sudo umount -f /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo rmdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ run_d_in_target post-install
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ '[' -d /tmp/image.wyl3rVjW/hooks/post-install.d ']'
+ sudo mkdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount --bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount -o remount,ro,bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ check_break before-post-install run_in_target bash
+ egrep -e '(,|^)before-post-install(,|$)' -q
+ echo ''
+ trap 'check_break after-error run_in_target bash' ERR
+ run_in_target dib-run-parts /tmp/in_target.d/post-install.d
+ cmd='PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/post-install.d'
+ ORIG_HOME=/home/pmackinn/trove-integration/scripts/
+ export HOME=/root
+ HOME=/root
+ sudo -E TMPDIR= chroot /tmp/image.wyl3rVjW/mnt sh -c 'PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/post-install.d'
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/00-package-installs
+ set -o pipefail
++ dirname /tmp/in_target.d/post-install.d/00-package-installs
+ package-installs -d /tmp/in_target.d/post-install.d
+ set -o pipefail
++ basename /usr/local/bin/package-installs
+ SCRIPTNAME=package-installs
++ getopt -o hd: -n package-installs -- -d /tmp/in_target.d/post-install.d
+ TEMP=' -d '\''/tmp/in_target.d/post-install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/post-install.d'\'' --'
++ set -- -d /tmp/in_target.d/post-install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/post-install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/post-install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/post-install.d -maxdepth 1 -name 'package-installs-*'
+ install-packages
Not running install-packages install with empty packages list
+ package-installs-v2 --phase post-install.d /tmp/package-installs.json
Nothing to install
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 00-package-installs completed
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/05-ipforwarding
+ sed -i -r 's/^\s*#(net\.ipv4\.ip_forward=1.*)/\1/' /etc/sysctl.conf
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 05-ipforwarding completed
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/10-ntp
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 10-ntp completed
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/60-loopback-host
++ hostname
+ host_name=ubuntu
+ echo '127.0.0.1 ubuntu'
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 60-loopback-host completed
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/62-trove-guest-sudoers
++ mktemp
+ TEMPFILE=/tmp/tmp.3qJIImjm3b
+ echo 'pmackinn ALL=(ALL) NOPASSWD:ALL'
+ chmod 0440 /tmp/tmp.3qJIImjm3b
+ sudo chown root:root /tmp/tmp.3qJIImjm3b
+ sudo mv /tmp/tmp.3qJIImjm3b /etc/sudoers.d/60_trove_guest
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 62-trove-guest-sudoers completed
dib-run-parts Wed Jan 14 15:10:45 UTC 2015 Running /tmp/in_target.d/post-install.d/90-apt-get-update
+ apt-get update
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://repo.percona.com precise Release.gpg
Hit http://repo.percona.com precise Release
Hit http://security.ubuntu.com precise-security Release
Hit http://repo.percona.com precise/main Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://repo.percona.com precise/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://repo.percona.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates Release
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Reading package lists... Done
dib-run-parts Wed Jan 14 15:10:49 UTC 2015 90-apt-get-update completed
dib-run-parts Wed Jan 14 15:10:49 UTC 2015 Running /tmp/in_target.d/post-install.d/99-dkms
dib-run-parts Wed Jan 14 15:10:49 UTC 2015 99-dkms completed
dib-run-parts Wed Jan 14 15:10:49 UTC 2015 Running /tmp/in_target.d/post-install.d/99-package-uninstalls
+ set -o pipefail
++ dirname /tmp/in_target.d/post-install.d/99-package-uninstalls
+ package-uninstalls -d /tmp/in_target.d/post-install.d
+ set -o pipefail
++ basename /usr/local/bin/package-uninstalls
+ SCRIPTNAME=package-uninstalls
++ getopt -o hd: -n package-uninstalls -- -d /tmp/in_target.d/post-install.d
+ TEMP=' -d '\''/tmp/in_target.d/post-install.d'\'' --'
+ '[' 0 '!=' 0 ']'
+ eval set -- ' -d '\''/tmp/in_target.d/post-install.d'\'' --'
++ set -- -d /tmp/in_target.d/post-install.d --
+ WORKDIR=
+ true
+ case "$1" in
+ WORKDIR=/tmp/in_target.d/post-install.d
+ shift 2
+ true
+ case "$1" in
+ shift
+ break
+ '[' -z /tmp/in_target.d/post-install.d ']'
+ PACKAGES=
++ find /tmp/in_target.d/post-install.d -maxdepth 1 -name 'package-installs-*'
+ install-packages -e
Not running install-packages remove with empty packages list
+ package-installs-v2 --phase post-install.d --uninstall /tmp/package-installs.json
Nothing to uninstall
dib-run-parts Wed Jan 14 15:10:49 UTC 2015 99-package-uninstalls completed
----------------------- PROFILING -----------------------
Target: post-install.d
Script Seconds
--------------------------------------- ----------
00-package-installs 0.035
05-ipforwarding 0.005
10-ntp 0.007
60-loopback-host 0.003
62-trove-guest-sudoers 0.017
90-apt-get-update 3.228
99-dkms 0.044
99-package-uninstalls 0.039
--------------------- END PROFILING ---------------------
+ export HOME=/home/pmackinn/trove-integration/scripts/
+ HOME=/home/pmackinn/trove-integration/scripts/
+ trap - ERR
+ check_break after-post-install run_in_target bash
+ echo ''
+ egrep -e '(,|^)after-post-install(,|$)' -q
+ sudo umount -f /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo rmdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ '[' -e /tmp/image.wyl3rVjW/mnt/lost+found ']'
+ sudo rm -rf /tmp/image.wyl3rVjW/mnt/lost+found
+ unmount_image
+ sync
+ unmount_dir /tmp/image.wyl3rVjW/mnt
+ local pattern=/tmp/image.wyl3rVjW/mnt mnts=
+ '[' -n /tmp/image.wyl3rVjW/mnt ']'
++ awk '{print $2}'
++ sort -r
++ grep '^/tmp/image.wyl3rVjW/mnt'
+ mnts='/tmp/image.wyl3rVjW/mnt/var/cache/apt/archives
/tmp/image.wyl3rVjW/mnt/tmp/ccache
/tmp/image.wyl3rVjW/mnt/sys
/tmp/image.wyl3rVjW/mnt/proc
/tmp/image.wyl3rVjW/mnt/dev/pts
/tmp/image.wyl3rVjW/mnt/dev'
+ '[' -n '/tmp/image.wyl3rVjW/mnt/var/cache/apt/archives
/tmp/image.wyl3rVjW/mnt/tmp/ccache
/tmp/image.wyl3rVjW/mnt/sys
/tmp/image.wyl3rVjW/mnt/proc
/tmp/image.wyl3rVjW/mnt/dev/pts
/tmp/image.wyl3rVjW/mnt/dev' ']'
+ sudo umount -fl /tmp/image.wyl3rVjW/mnt/var/cache/apt/archives /tmp/image.wyl3rVjW/mnt/tmp/ccache /tmp/image.wyl3rVjW/mnt/sys /tmp/image.wyl3rVjW/mnt/proc /tmp/image.wyl3rVjW/mnt/dev/pts /tmp/image.wyl3rVjW/mnt/dev
+ '[' -n '' ']'
+ mv /tmp/image.wyl3rVjW/mnt /tmp/image.wyl3rVjW/built
+ MKFS_OPTS=
+ '[' -n '' ']'
++ sudo du --block-size=600 -x -s /tmp/image.wyl3rVjW/built
++ awk ' { print $1 - ( $1 % 64) } '
+ _NEEDED_SIZE=2125184
+ truncate -s2125184K /tmp/image.41ntlHt1/image.raw
+ '[' ext4 = ext4 ']'
+ MKFS_OPTS='-i 4096 -J size=64'
+ '[' -n '' ']'
++ sudo losetup --show -f /tmp/image.41ntlHt1/image.raw
+ LOOPDEV=/dev/loop2
+ export 'EXTRA_UNMOUNT=detach_loopback /dev/loop2'
+ EXTRA_UNMOUNT='detach_loopback /dev/loop2'
+ export IMAGE_BLOCK_DEVICE=/dev/loop2
+ IMAGE_BLOCK_DEVICE=/dev/loop2
+ eval_run_d block-device IMAGE_BLOCK_DEVICE=
++ run_d block-device
++ check_element
++ '[' -d /tmp/image.wyl3rVjW/hooks ']'
++ check_break before-block-device bash
++ egrep -e '(,|^)before-block-device(,|$)' -q
++ echo ''
++ '[' -d /tmp/image.wyl3rVjW/hooks/block-device.d ']'
++ dib-run-parts /tmp/image.wyl3rVjW/hooks/block-device.d
dib-run-parts Wed Jan 14 10:10:50 EST 2015 Running /tmp/image.wyl3rVjW/hooks/block-device.d/10-partition
Checking that no-one is using this disk right now ...
BLKRRPART: Invalid argument
OK
Disk /dev/loop2: cannot get geometry
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/loop2: unrecognized partition table type
No partitions found
BLKRRPART: Invalid argument
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
dib-run-parts Wed Jan 14 10:10:51 EST 2015 10-partition completed
++ check_break after-block-device bash
++ echo ''
++ egrep -e '(,|^)after-block-device(,|$)' -q
+ local 'TEMP=
Disk /dev/loop2: 264 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/loop2p1 * 1 263 263 2112547+ 83 Linux
/dev/loop2p2 0 - 0 0 0 Empty
/dev/loop2p3 0 - 0 0 0 Empty
/dev/loop2p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
IMAGE_BLOCK_DEVICE=/dev/loop2p1
----------------------- PROFILING -----------------------
Target: block-device.d
Script Seconds
--------------------------------------- ----------
10-partition 0.109
--------------------- END PROFILING ---------------------'
+ echo '
Disk /dev/loop2: 264 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/loop2p1 * 1 263 263 2112547+ 83 Linux
/dev/loop2p2 0 - 0 0 0 Empty
/dev/loop2p3 0 - 0 0 0 Empty
/dev/loop2p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
IMAGE_BLOCK_DEVICE=/dev/loop2p1
----------------------- PROFILING -----------------------
Target: block-device.d
Script Seconds
--------------------------------------- ----------
10-partition 0.109
--------------------- END PROFILING ---------------------'
Disk /dev/loop2: 264 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/loop2p1 * 1 263 263 2112547+ 83 Linux
/dev/loop2p2 0 - 0 0 0 Empty
/dev/loop2p3 0 - 0 0 0 Empty
/dev/loop2p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
IMAGE_BLOCK_DEVICE=/dev/loop2p1
----------------------- PROFILING -----------------------
Target: block-device.d
Script Seconds
--------------------------------------- ----------
10-partition 0.109
--------------------- END PROFILING ---------------------
++ echo '
Disk /dev/loop2: 264 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/loop2p1 * 1 263 263 2112547+ 83 Linux
/dev/loop2p2 0 - 0 0 0 Empty
/dev/loop2p3 0 - 0 0 0 Empty
/dev/loop2p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
IMAGE_BLOCK_DEVICE=/dev/loop2p1
----------------------- PROFILING -----------------------
Target: block-device.d
Script Seconds
--------------------------------------- ----------
10-partition 0.109
--------------------- END PROFILING ---------------------'
++ grep -s IMAGE_BLOCK_DEVICE=
+ '[' IMAGE_BLOCK_DEVICE=/dev/loop2p1 ']'
++ echo '
Disk /dev/loop2: 264 cylinders, 255 heads, 63 sectors/track
Old situation:
New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/loop2p1 * 1 263 263 2112547+ 83 Linux
/dev/loop2p2 0 - 0 0 0 Empty
/dev/loop2p3 0 - 0 0 0 Empty
/dev/loop2p4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
IMAGE_BLOCK_DEVICE=/dev/loop2p1
----------------------- PROFILING -----------------------
Target: block-device.d
Script Seconds
--------------------------------------- ----------
10-partition 0.109
++ grep IMAGE_BLOCK_DEVICE=
--------------------- END PROFILING ---------------------'
+ TEMP=IMAGE_BLOCK_DEVICE=/dev/loop2p1
+ eval IMAGE_BLOCK_DEVICE=/dev/loop2p1
++ IMAGE_BLOCK_DEVICE=/dev/loop2p1
+ sudo mkfs -i 4096 -J size=64 -t ext4 -L cloudimg-rootfs /dev/loop2p1
mke2fs 1.42.9 (4-Feb-2014)
Discarding device blocks: done
Filesystem label=cloudimg-rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
528224 inodes, 528136 blocks
26406 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=541065216
17 block groups
32768 blocks per group, 32768 fragments per group
31072 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
+ grep -q '^ext'
+ echo ext4
+ sudo tune2fs /dev/loop2p1 -U b26f3b53-00f9-4d7c-95ac-ddf6b9890efa
tune2fs 1.42.9 (4-Feb-2014)
+ mkdir /tmp/image.wyl3rVjW/mnt
+ sudo mount /dev/loop2p1 /tmp/image.wyl3rVjW/mnt
+ sudo mv -t /tmp/image.wyl3rVjW/mnt /tmp/image.wyl3rVjW/built/2.4.7 /tmp/image.wyl3rVjW/built/=0.3.0 /tmp/image.wyl3rVjW/built/=1.0.0 /tmp/image.wyl3rVjW/built/=1.2.0 /tmp/image.wyl3rVjW/built/=1.4.0 /tmp/image.wyl3rVjW/built/bin /tmp/image.wyl3rVjW/built/boot /tmp/image.wyl3rVjW/built/dev /tmp/image.wyl3rVjW/built/etc /tmp/image.wyl3rVjW/built/home /tmp/image.wyl3rVjW/built/initrd.img /tmp/image.wyl3rVjW/built/initrd.img.old /tmp/image.wyl3rVjW/built/lib /tmp/image.wyl3rVjW/built/lib64 /tmp/image.wyl3rVjW/built/media /tmp/image.wyl3rVjW/built/mnt /tmp/image.wyl3rVjW/built/opt /tmp/image.wyl3rVjW/built/proc /tmp/image.wyl3rVjW/built/root /tmp/image.wyl3rVjW/built/run /tmp/image.wyl3rVjW/built/sbin /tmp/image.wyl3rVjW/built/selinux /tmp/image.wyl3rVjW/built/srv /tmp/image.wyl3rVjW/built/sys /tmp/image.wyl3rVjW/built/tmp /tmp/image.wyl3rVjW/built/usr /tmp/image.wyl3rVjW/built/var /tmp/image.wyl3rVjW/built/vmlinuz /tmp/image.wyl3rVjW/built/vmlinuz.old
+ mount_proc_dev_sys
+ sudo mount -t proc none /tmp/image.wyl3rVjW/mnt/proc
+ sudo mount --bind /dev /tmp/image.wyl3rVjW/mnt/dev
+ sudo mount --bind /dev/pts /tmp/image.wyl3rVjW/mnt/dev/pts
+ sudo mount -t sysfs none /tmp/image.wyl3rVjW/mnt/sys
+ run_d_in_target finalise
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ '[' -d /tmp/image.wyl3rVjW/hooks/finalise.d ']'
+ sudo mkdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount --bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo mount -o remount,ro,bind /tmp/image.wyl3rVjW/hooks /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ check_break before-finalise run_in_target bash
+ egrep -e '(,|^)before-finalise(,|$)' -q
+ echo ''
+ trap 'check_break after-error run_in_target bash' ERR
+ run_in_target dib-run-parts /tmp/in_target.d/finalise.d
+ cmd='PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/finalise.d'
+ ORIG_HOME=/home/pmackinn/trove-integration/scripts/
+ export HOME=/root
+ HOME=/root
+ sudo -E TMPDIR= chroot /tmp/image.wyl3rVjW/mnt sh -c 'PATH=$PATH:/usr/local/bin ; dib-run-parts /tmp/in_target.d/finalise.d'
dib-run-parts Wed Jan 14 15:11:12 UTC 2015 Running /tmp/in_target.d/finalise.d/50-remove-bogus-udev-links
+ set -o pipefail
++ lsb_release -is
+ '[' 'openSUSE project' = Ubuntu ']'
dib-run-parts Wed Jan 14 15:11:12 UTC 2015 50-remove-bogus-udev-links completed
dib-run-parts Wed Jan 14 15:11:12 UTC 2015 Running /tmp/in_target.d/finalise.d/51-bootloader
+ set -o pipefail
+ '[' -n /dev/loop2p1 ']'
+ PART_DEV=/dev/loop2p1
++ echo /dev/loop2p1
++ sed -e s#mapper/##
++ sed -e s#p1##
+ BOOT_DEV=/dev/loop2
+ DIB_EXTLINUX=0
+ '[' 0 '!=' 0 ']'
+ install_grub2
+ '[' -f /tmp/grub/install ']'
+ install-packages grub-pc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
grub-gfxpayload-lists grub2-common
The following NEW packages will be installed:
grub-gfxpayload-lists grub-pc grub2-common
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 239 kB of archives.
After this operation, 667 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main grub2-common amd64 1.99-21ubuntu3.17 [95.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise-updates/main grub-pc amd64 1.99-21ubuntu3.17 [140 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/main grub-gfxpayload-lists amd64 0.6 [3506 B]
Fetched 239 kB in 1s (143 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub2-common.
(Reading database ... 53954 files and directories currently installed.)
Unpacking grub2-common (from .../grub2-common_1.99-21ubuntu3.17_amd64.deb) ...
Selecting previously unselected package grub-pc.
Unpacking grub-pc (from .../grub-pc_1.99-21ubuntu3.17_amd64.deb) ...
Selecting previously unselected package grub-gfxpayload-lists.
Unpacking grub-gfxpayload-lists (from .../grub-gfxpayload-lists_0.6_amd64.deb) ...
Setting up grub2-common (1.99-21ubuntu3.17) ...
Setting up grub-pc (1.99-21ubuntu3.17) ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-75-virtual
Found initrd image: /boot/initrd.img-3.2.0-75-virtual
Found linux image: /boot/vmlinuz-3.2.0-75-generic
Found initrd image: /boot/initrd.img-3.2.0-75-generic
done
Setting up grub-gfxpayload-lists (0.6) ...
++ which grub-install
+ GRUBNAME=/usr/sbin/grub-install
+ '[' -z /usr/sbin/grub-install ']'
+ '[' -z /usr/sbin/grub-install ']'
++ /usr/sbin/grub-install --version
++ grep 0.97
++ wc -l
+ '[' 0 -ne 0 ']'
+ echo 'Installing GRUB2...'
Installing GRUB2...
+ GRUB_OPTS=
+ [[ ! '' == *--target* ]]
++ /usr/sbin/grub-install --version
+ [[ grub-install (GRUB) 1.99-21ubuntu3.17 =~ 2\. ]]
+ /usr/sbin/grub-install '--modules=biosdisk part_msdos' /dev/loop2
Installation finished. No error reported.
+ '[' -d /boot/grub2 ']'
+ '[' -d /boot/grub ']'
+ GRUB_CFG=/boot/grub/grub.cfg
+ echo 'GRUB_TERMINAL="serial console"'
+ echo GRUB_GFXPAYLOAD_LINUX=text
+ echo 'GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200"'
+ echo 'GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"'
+ GRUB_MKCONFIG='grub2-mkconfig -o /boot/grub/grub.cfg'
+ DISTRO_NAME=ubuntu
+ case $DISTRO_NAME in
+ sed -i -e 's/\(^GRUB_CMDLINE_LINUX.*\)"$/\1 nofb nomodeset vga=normal"/' /etc/default/grub
+ GRUB_MKCONFIG=update-grub
+ PROBER_DISABLED=
+ grep -qe '^\s*GRUB_DISABLE_OS_PROBER=true' /etc/default/grub
+ PROBER_DISABLED=true
+ echo GRUB_DISABLE_OS_PROBER=true
+ update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-75-virtual
Found initrd image: /boot/initrd.img-3.2.0-75-virtual
Found linux image: /boot/vmlinuz-3.2.0-75-generic
Found initrd image: /boot/initrd.img-3.2.0-75-generic
done
+ '[' -n true ']'
+ sed -i '$d' /etc/default/grub
+ DIB_RELEASE=precise
+ '[' precise = precise ']'
+ sed -i 's%search --no.*%%' /boot/grub/grub.cfg
+ sed -i 's%set root=.*%set root=(hd0,1)%' /boot/grub/grub.cfg
+ sed -i s%/dev/loop2p1%LABEL=cloudimg-rootfs% /boot/grub/grub.cfg
+ sed -i 's%search --no-floppy --fs-uuid --set=root .*$%search --no-floppy --set=root --label cloudimg-rootfs%' /boot/grub/grub.cfg
+ sed -i 's%root=UUID=[A-Za-z0-9\-]*%root=LABEL=cloudimg-rootfs%' /boot/grub/grub.cfg
+ '[' ubuntu = fedora ']'
dib-run-parts Wed Jan 14 15:11:20 UTC 2015 51-bootloader completed
dib-run-parts Wed Jan 14 15:11:20 UTC 2015 Running /tmp/in_target.d/finalise.d/99-clean-up-cache
dib-run-parts Wed Jan 14 15:11:20 UTC 2015 99-clean-up-cache completed
dib-run-parts Wed Jan 14 15:11:20 UTC 2015 Running /tmp/in_target.d/finalise.d/99-write-dpkg-manifest
+ set -o pipefail
++ basename /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql
+ DPKG_MANIFEST_NAME=dib-manifest-dpkg-ubuntu_mysql
+ echo '{"packages": ['
+ format='{"package": "${binary:Package}","arch": "${Architecture}","version": "${Version}","status": "${db:Status-Abbrev}"},'
+ dpkg-query --show '--showformat={"package": "${binary:Package}","arch": "${Architecture}","version": "${Version}","status": "${db:Status-Abbrev}"},'
+ tee -a /etc/dib-manifests/dib-manifest-dpkg-ubuntu_mysql
{"package": "","arch": "all","version": "3.113ubuntu2","status": ""},{"package": "","arch": "amd64","version": "2.7.102-0ubuntu3.10","status": ""},{"package": "","arch": "amd64","version": "2.7.102-0ubuntu3.10","status": ""},{"package": "","arch": "amd64","version": "0.8.16~exp12ubuntu10.22","status": ""},{"package": "","arch": "amd64","version": "0.8.16~exp12ubuntu10.22","status": ""},{"package": "","arch": "amd64","version": "6.5ubuntu6.8","status": ""},{"package": "","arch": "amd64","version": "3.5.24","status": ""},{"package": "","arch": "amd64","version": "4.2-2ubuntu2.6","status": ""},{"package": "","arch": "amd64","version": "2.22-6ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "1:2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "1:1.18.5-1ubuntu4.1","status": ""},{"package": "","arch": "amd64","version": "1.0.6-1","status": ""},{"package": "","arch": "all","version": "20130906ubuntu0.12.04.1","status": ""},{"package": "","arch": "amd64","version": "3.1.6-1","status": ""},{"package": "","arch": "all","version": "0.6.3-0ubuntu1.15","status": ""},{"package": "","arch": "all","version": "0.4ubuntu1","status": ""},{"package": "","arch": "all","version": "0.4ubuntu1","status": ""},{"package": "","arch": "all","version": "0.25-0ubuntu5.1","status": ""},{"package": "","arch": "all","version": "1.70ubuntu5","status": ""},{"package": "","arch": "amd64","version": "8.13-3ubuntu3.2","status": ""},{"package": "","arch": "amd64","version": "2.11-7ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "4:4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "1.1.2-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "3.0pl1-120ubuntu4","status": ""},{"package": "","arch": "amd64","version": "0.5.7-2ubuntu2","status": ""},{"package": "","arch": "all","version": "1.5.42ubuntu1","status": ""},{"package": "","arch": "all","version": "1.5.42ubuntu1","status": ""},{"package": "","arch": "amd64","version": "4.2.1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1:3.2-1ubuntu1","status": ""},{"package": "","arch": "all","version": "2.2.0.3-1ubuntu3.2","status": ""},{"package": "","arch": "amd64","version": "2:1.02.48-4ubuntu7.4","status": ""},{"package": "","arch": "amd64","version": "1.16.1.2ubuntu7.5","status": ""},{"package": "","arch": "amd64","version": "1.42-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.42-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "2.1.5+deb1+cvs20081104-9","status": ""},{"package": "","arch": "all","version": "2.0.0~bzr516-0ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "5.09-2ubuntu0.5","status": ""},{"package": "","arch": "amd64","version": "4.4.2-4ubuntu1","status": ""},{"package": "","arch": "amd64","version": "4:4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "0.18.1.1-5ubuntu3","status": ""},{"package": "","arch": "amd64","version": "1:1.7.9.5-1ubuntu0.1","status": ""},{"package": "","arch": "all","version": "1:1.7.9.5-1ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.4.11-3ubuntu2.7","status": ""},{"package": "","arch": "amd64","version": "1.4.11-3ubuntu2.7","status": ""},{"package": "","arch": "amd64","version": "2.10-1","status": ""},{"package": "","arch": "amd64","version": "1.99-21ubuntu3.17","status": ""},{"package": "","arch": "amd64","version": "0.6","status": ""},{"package": "","arch": "all","version": "0.6.3-0ubuntu1.15","status": ""},{"package": "","arch": "amd64","version": "1.99-21ubuntu3.17","status": ""},{"package": "","arch": "amd64","version": "1.99-21ubuntu3.17","status": ""},{"package": "","arch": "amd64","version": "1.99-21ubuntu3.17","status": ""},{"package": "","arch": "amd64","version": "1.4-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "3.06ubuntu1","status": ""},{"package": "","arch": "amd64","version": "0.7~beta2ubuntu11.1","status": ""},{"package": "","arch": "all","version": "0.99ubuntu13.5","status": ""},{"package": "","arch": "amd64","version": "0.99ubuntu13.5","status": ""},{"package": "","arch": "amd64","version": "2.88dsf-13.10ubuntu11.1","status": ""},{"package": "","arch": "amd64","version": "1.14.0-2.1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "20111117-1ubuntu2.3","status": ""},{"package": "","arch": "amd64","version": "3:20101006-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "4.1.ESV-R4-0ubuntu5.9","status": ""},{"package": "","arch": "amd64","version": "4.1.ESV-R4-0ubuntu5.9","status": ""},{"package": "","arch": "all","version": "3.31-1","status": ""},{"package": "","arch": "amd64","version": "3.2-1","status": ""},{"package": "","arch": "amd64","version": "1.15.2-3ubuntu4","status": ""},{"package": "","arch": "all","version": "1.70ubuntu5","status": ""},{"package": "","arch": "amd64","version": "1.5.25-1ubuntu2","status": ""},{"package": "","arch": "all","version": "1.10+dfsg~beta1-2ubuntu0.5","status": ""},{"package": "","arch": "all","version": "1:12.04+20140106","status": ""},{"package": "","arch": "all","version": "1:12.04+20140106","status": ""},{"package": "","arch": "amd64","version": "444-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.2.51-5ubuntu1","status": ""},{"package": "","arch": "amd64","version": "0.3.109-2ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.7.102-0ubuntu3.10","status": ""},{"package": "","arch": "amd64","version": "2.7.102-0ubuntu3.10","status": ""},{"package": "","arch": "amd64","version": "0.8.16~exp12ubuntu10.22","status": ""},{"package": "","arch": "amd64","version": "0.8.16~exp12ubuntu10.22","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1:2.4.46-5ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "0.3.0-2","status": ""},{"package": "","arch": "amd64","version": "1.0.6-1","status": ""},{"package": "","arch": "amd64","version": "2.15-0ubuntu10.9","status": ""},{"package": "","arch": "amd64","version": "2.15-0ubuntu10.9","status": ""},{"package": "","arch": "amd64","version": "2.15-0ubuntu10.9","status": ""},{"package": "","arch": "amd64","version": "2.15-0ubuntu10.9","status": ""},{"package": "","arch": "amd64","version": "1:2.22-1ubuntu3","status": ""},{"package": "","arch": "all","version": "1.7-2","status": ""},{"package": "","arch": "all","version": "0.36-3","status": ""},{"package": "","arch": "all","version": "0.13-1","status": ""},{"package": "","arch": "all","version": "1.4-1","status": ""},{"package": "","arch": "amd64","version": "1.42-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "7.22.0-3ubuntu4.11","status": ""},{"package": "","arch": "amd64","version": "7.22.0-3ubuntu4.11","status": ""},{"package": "","arch": "all","version": "0.107-1","status": ""},{"package": "","arch": "all","version": "0.8000-1","status": ""},{"package": "","arch": "all","version": "0.07-1","status": ""},{"package": "","arch": "all","version": "1.5000-1","status": ""},{"package": "","arch": "all","version": "1:0.45-1","status": ""},{"package": "","arch": "amd64","version": "2:0.7000-1build1","status": ""},{"package": "","arch": "all","version": "1:1.42-1+2011nubuntu1","status": ""},{"package": "","arch": "amd64","version": "5.1.25-11build1","status": ""},{"package": "","arch": "amd64","version": "4.020-1build2","status": ""},{"package": "","arch": "amd64","version": "1.616-1build2","status": ""},{"package": "","arch": "amd64","version": "1.4.18-1ubuntu1.7","status": ""},{"package": "","arch": "amd64","version": "2:1.02.48-4ubuntu7.4","status": ""},{"package": "","arch": "amd64","version": "2.4.52-1~precise2","status": ""},{"package": "","arch": "amd64","version": "2.4.52-1~precise2","status": ""},{"package": "","arch": "amd64","version": "2.4.52-1~precise2","status": ""},{"package": "","arch": "amd64","version": "2.4.52-1~precise2","status": ""},{"package": "","arch": "amd64","version": "2.11-20080614-3ubuntu2","status": ""},{"package": "","arch": "amd64","version": "0.152-1ubuntu3","status": ""},{"package": "","arch": "all","version": "1.02-2","status": ""},{"package": "","arch": "all","version": "0.17-1","status": ""},{"package": "","arch": "amd64","version": "2.0.1-7.2ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "2.0.1-7.2ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "3.0.11~rc1-5","status": ""},{"package": "","arch": "all","version": "6.03-1","status": ""},{"package": "","arch": "amd64","version": "2.4.8-1ubuntu2.1","status": ""},{"package": "","arch": "amd64","version": "0.19.2-1","status": ""},{"package": "","arch": "amd64","version": "2.8.6-2ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1:4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "1.5.0-3ubuntu0.3","status": ""},{"package": "","arch": "amd64","version": "1.8.3-10","status": ""},{"package": "","arch": "amd64","version": "2.32.4-0ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2:5.0.2+dfsg-2ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.12.14-5ubuntu3.8","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "1.10-2ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1.20.4-4","status": ""},{"package": "","arch": "amd64","version": "1.10+dfsg~beta1-2ubuntu0.5","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "3.69-1build1","status": ""},{"package": "","arch": "all","version": "3.20-2","status": ""},{"package": "","arch": "all","version": "4.2-1","status": ""},{"package": "","arch": "all","version": "6.00-2","status": ""},{"package": "","arch": "all","version": "6.00-1","status": ""},{"package": "","arch": "all","version": "6.00-1","status": ""},{"package": "","arch": "all","version": "6.01-1","status": ""},{"package": "","arch": "all","version": "6.00-2","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.23-2","status": ""},{"package": "","arch": "all","version": "1.53-1","status": ""},{"package": "","arch": "all","version": "1.7.1-1ubuntu1","status": ""},{"package": "","arch": "all","version": "1.1.3+dfsg-2ubuntu2.1","status": ""},{"package": "","arch": "all","version": "1.1.6-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.10+dfsg~beta1-2ubuntu0.5","status": ""},{"package": "","arch": "amd64","version": "1.5.2-2","status": ""},{"package": "","arch": "amd64","version": "1.5.25-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.10+dfsg~beta1-2ubuntu0.5","status": ""},{"package": "","arch": "amd64","version": "1.10+dfsg~beta1-2ubuntu0.5","status": ""},{"package": "","arch": "amd64","version": "2.4.28-1.1ubuntu4.4","status": ""},{"package": "","arch": "amd64","version": "0.33-1build1","status": ""},{"package": "","arch": "amd64","version": "1.05-7build1","status": ""},{"package": "","arch": "amd64","version": "1.09-3ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "1.09-3ubuntu0.1","status": ""},{"package": "","arch": "all","version": "6.01-1","status": ""},{"package": "","arch": "all","version": "6.02-1","status": ""},{"package": "","arch": "amd64","version": "5.1.1alpha+20110809-3","status": ""},{"package": "","arch": "amd64","version": "5.09-2ubuntu0.5","status": ""},{"package": "","arch": "all","version": "0.06-3","status": ""},{"package": "","arch": "all","version": "0.011-1","status": ""},{"package": "","arch": "amd64","version": "2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "0.9-4","status": ""},{"package": "","arch": "amd64","version": "3.1.0-3ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1:5.5.35-rel33.0-611.precise","status": ""},{"package": "","arch": "amd64","version": "5.9-4","status": ""},{"package": "","arch": "amd64","version": "5.9-4","status": ""},{"package": "","arch": "all","version": "0.48-1","status": ""},{"package": "","arch": "all","version": "6.02-1","status": ""},{"package": "","arch": "amd64","version": "1.42-1build1","status": ""},{"package": "","arch": "amd64","version": "0.52.11-2ubuntu10","status": ""},{"package": "","arch": "amd64","version": "1.0.3-4ubuntu9.1","status": ""},{"package": "","arch": "amd64","version": "1.0.3-4ubuntu9.1","status": ""},{"package": "","arch": "amd64","version": "3.2.3-2ubuntu2","status": ""},{"package": "","arch": "amd64","version": "3.2.3-2ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1:5.12-0.1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "0.12-2ubuntu1","status": ""},{"package": "","arch": "all","version": "0.11-1","status": ""},{"package": "","arch": "all","version": "0.33-1","status": ""},{"package": "","arch": "amd64","version": "1.1.3-7ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.1.3-7ubuntu2","status": ""},{"package": "","arch": "all","version": "1.1.3-7ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.1.3-7ubuntu2","status": ""},{"package": "","arch": "amd64","version": "0.013-4","status": ""},{"package": "","arch": "amd64","version": "1.04-1build1","status": ""},{"package": "","arch": "amd64","version": "0.97-1build2","status": ""},{"package": "","arch": "amd64","version": "0.12.902-1ubuntu0.2","status": ""},{"package": "","arch": "amd64","version": "8.12-4","status": ""},{"package": "","arch": "all","version": "0.2020-2","status": ""},{"package": "","arch": "amd64","version": "0.8.2-2ubuntu31.1","status": ""},{"package": "","arch": "amd64","version": "1.2.46-3ubuntu4","status": ""},{"package": "","arch": "amd64","version": "1.16-3ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu3.6","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "amd64","version": "6.2-8","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "all","version": "0.76-1","status": ""},{"package": "","arch": "amd64","version": "2.4~20110711.gitc28f1bab-1","status": ""},{"package": "","arch": "amd64","version": "2.1.25.dfsg1-3ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "2.1.0-4.1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.2.4-3ubuntu1","status": ""},{"package": "","arch": "amd64","version": "3.7.9-2ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "1.42-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "1.0.1-4ubuntu5.21","status": ""},{"package": "","arch": "amd64","version": "1.0.1-4ubuntu5.21","status": ""},{"package": "","arch": "amd64","version": "4.6.3-1ubuntu5","status": ""},{"package": "","arch": "all","version": "0.925-1","status": ""},{"package": "","arch": "all","version": "2.16-2","status": ""},{"package": "","arch": "amd64","version": "2.10-1ubuntu1.2","status": ""},{"package": "","arch": "amd64","version": "2.30-4build3","status": ""},{"package": "","arch": "amd64","version": "0.04-7build1","status": ""},{"package": "","arch": "amd64","version": "1.7-5","status": ""},{"package": "","arch": "all","version": "0.06-7","status": ""},{"package": "","arch": "all","version": "1.2000-1","status": ""},{"package": "","arch": "amd64","version": "5.9-4","status": ""},{"package": "","arch": "all","version": "0.11-1","status": ""},{"package": "","arch": "amd64","version": "175-0ubuntu9.8","status": ""},{"package": "","arch": "all","version": "1.59-1","status": ""},{"package": "","arch": "amd64","version": "2:0.1.12-20","status": ""},{"package": "","arch": "amd64","version": "2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "1.6~git20120311.dfsg.1-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "7.6.q-21","status": ""},{"package": "","arch": "all","version": "6.03-1","status": ""},{"package": "","arch": "all","version": "6.01-1","status": ""},{"package": "","arch": "amd64","version": "2:1.4.99.1-0ubuntu2.2","status": ""},{"package": "","arch": "all","version": "2:1.4.99.1-0ubuntu2.2","status": ""},{"package": "","arch": "amd64","version": "1:1.0.6-4","status": ""},{"package": "","arch": "amd64","version": "1.8.1-1ubuntu0.2","status": ""},{"package": "","arch": "amd64","version": "1:1.1.0-4","status": ""},{"package": "","arch": "amd64","version": "2:1.3.0-3ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "2.41-1build1","status": ""},{"package": "","arch": "amd64","version": "2.7.8.dfsg-5.1ubuntu4.11","status": ""},{"package": "","arch": "amd64","version": "2.7.8.dfsg-5.1ubuntu4.11","status": ""},{"package": "","arch": "amd64","version": "2:1.1.0-3","status": ""},{"package": "","arch": "amd64","version": "1.1.26-8ubuntu1.3","status": ""},{"package": "","arch": "amd64","version": "1.1.26-8ubuntu1.3","status": ""},{"package": "","arch": "amd64","version": "0.1.4-2ubuntu0.12.04.4","status": ""},{"package": "","arch": "all","version": "1.79.18","status": ""},{"package": "","arch": "all","version": "3.2.0-75.110","status": ""},{"package": "","arch": "amd64","version": "3.2.0-75.110","status": ""},{"package": "","arch": "amd64","version": "3.2.0.75.89","status": ""},{"package": "","arch": "amd64","version": "3.2.0-75.110","status": ""},{"package": "","arch": "amd64","version": "3.2.0-75.110","status": ""},{"package": "","arch": "amd64","version": "3.2.0.75.89","status": ""},{"package": "","arch": "amd64","version": "3.2.0.75.89","status": ""},{"package": "","arch": "amd64","version": "3.2.0-75.110","status": ""},{"package": "","arch": "amd64","version": "3.2.0.75.89","status": ""},{"package": "","arch": "all","version": "2.13+git20120306-3","status": ""},{"package": "","arch": "amd64","version": "0.1.16","status": ""},{"package": "","arch": "amd64","version": "1:4.1.4.2+svn3283-3ubuntu5.1","status": ""},{"package": "","arch": "amd64","version": "3.7.8-6ubuntu5","status": ""},{"package": "","arch": "all","version": "4.0-0ubuntu20.3","status": ""},{"package": "","arch": "all","version": "4.0-0ubuntu20.3","status": ""},{"package": "","arch": "amd64","version": "3.81-8.1ubuntu1.1","status": ""},{"package": "","arch": "all","version": "2.3.1-89ubuntu2","status": ""},{"package": "","arch": "all","version": "3.35-0.1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1.3.3-17","status": ""},{"package": "","arch": "all","version": "3.51-1ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "3.16-1ubuntu2","status": ""},{"package": "","arch": "amd64","version": "2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "2.36.4","status": ""},{"package": "","arch": "amd64","version": "2.15-0ubuntu10.9","status": ""},{"package": "","arch": "amd64","version": "5.5.40-0ubuntu0.12.04.1","status": ""},{"package": "","arch": "amd64","version": "5.5.40-0ubuntu0.12.04.1","status": ""},{"package": "","arch": "all","version": "5.5.40-0ubuntu0.12.04.1","status": ""},{"package": "","arch": "amd64","version": "5.5.40-0ubuntu0.12.04.1","status": ""},{"package": "","arch": "amd64","version": "5.5.40-0ubuntu0.12.04.1","status": ""},{"package": "","arch": "all","version": "5.9-4","status": ""},{"package": "","arch": "amd64","version": "5.9-4","status": ""},{"package": "","arch": "amd64","version": "1.60-24.1ubuntu2","status": ""},{"package": "","arch": "all","version": "4.47ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1.89-4ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1:4.2.6.p3+dfsg-1ubuntu3.2","status": ""},{"package": "","arch": "amd64","version": "1:4.2.6.p3+dfsg-1ubuntu3.2","status": ""},{"package": "","arch": "amd64","version": "2.0.871-0ubuntu9.12.04.2","status": ""},{"package": "","arch": "amd64","version": "2.0.871-0ubuntu9.12.04.2","status": ""},{"package": "","arch": "amd64","version": "1:5.9p1-5ubuntu1.4","status": ""},{"package": "","arch": "amd64","version": "1:5.9p1-5ubuntu1.4","status": ""},{"package": "","arch": "amd64","version": "1.0.1-4ubuntu5.21","status": ""},{"package": "","arch": "amd64","version": "1.51ubuntu3","status": ""},{"package": "","arch": "amd64","version": "1:4.1.4.2+svn3283-3ubuntu5.1","status": ""},{"package": "","arch": "amd64","version": "2.6.1-3","status": ""},{"package": "","arch": "amd64","version": "2.2.8-5059-1.precise","status": ""},{"package": "","arch": "amd64","version": "5.14.2-6ubuntu2.4","status": ""},{"package": "","arch": "amd64","version": "5.14.2-6ubuntu2.4","status": ""},{"package": "","arch": "all","version": "5.14.2-6ubuntu2.4","status": ""},{"package": "","arch": "amd64","version": "0.8.2-2ubuntu31.1","status": ""},{"package": "","arch": "amd64","version": "1:3.2.8-11ubuntu6.3","status": ""},{"package": "","arch": "amd64","version": "22.15-2ubuntu1.1","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu2.2","status": ""},{"package": "","arch": "amd64","version": "0.8.3ubuntu7.2","status": ""},{"package": "","arch": "all","version": "0.8.3ubuntu7.2","status": ""},{"package": "","arch": "all","version": "2.2.2-0ubuntu3","status": ""},{"package": "","arch": "amd64","version": "2.4.4-2ubuntu3","status": ""},{"package": "","arch": "all","version": "4.7.2+ds-3build1","status": ""},{"package": "","arch": "amd64","version": "2.4.1-1ubuntu0.1","status": ""},{"package": "","arch": "all","version": "3.3.2-1","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu2.2","status": ""},{"package": "","arch": "all","version": "0.9.16-1ubuntu4.2","status": ""},{"package": "","arch": "all","version": "1.2.4-2ubuntu2","status": ""},{"package": "","arch": "all","version": "0.3.2-9.1ubuntu3","status": ""},{"package": "","arch": "amd64","version": "0.3.1-1ubuntu5.1","status": ""},{"package": "","arch": "all","version": "0.7.2-1ubuntu2.1","status": ""},{"package": "","arch": "all","version": "0.1.4-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.3.2-1ubuntu0.2","status": ""},{"package": "","arch": "amd64","version": "0.21.1-2ubuntu2","status": ""},{"package": "","arch": "all","version": "0.7.2-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu2.2","status": ""},{"package": "","arch": "amd64","version": "1.2.3-1ubuntu0.1","status": ""},{"package": "","arch": "all","version": "0.7.5-4build2","status": ""},{"package": "","arch": "all","version": "1.0.1-3build1","status": ""},{"package": "","arch": "amd64","version": "0.12-1ubuntu2.1","status": ""},{"package": "","arch": "all","version": "1.7.7.1-2ubuntu1","status": ""},{"package": "","arch": "all","version": "1.7.5.1-4ubuntu2","status": ""},{"package": "","arch": "all","version": "1.5.0-2build1","status": ""},{"package": "","arch": "all","version": "2.3-1ubuntu2","status": ""},{"package": "","arch": "all","version": "1.0-1build1","status": ""},{"package": "","arch": "all","version": "0.6.24-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "0.4.1-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "7.19.0-4ubuntu3","status": ""},{"package": "","arch": "all","version": "1.12.3-1ubuntu1","status": ""},{"package": "","arch": "all","version": "0.6.24-1ubuntu1","status": ""},{"package": "","arch": "all","version": "0.82.7.7","status": ""},{"package": "","arch": "all","version": "0.7.4-1ubuntu0.1","status": ""},{"package": "","arch": "all","version": "0.5.1-1build1","status": ""},{"package": "","arch": "all","version": "1.1.1-1ubuntu0","status": ""},{"package": "","arch": "amd64","version": "3.10-2ubuntu0.1","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu3.6","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu3.6","status": ""},{"package": "","arch": "amd64","version": "2.7.3-0ubuntu3.6","status": ""},{"package": "","arch": "all","version": "6.2-8","status": ""},{"package": "","arch": "all","version": "1.63ubuntu16","status": ""},{"package": "","arch": "amd64","version": "3.0.9-1ubuntu1","status": ""},{"package": "","arch": "amd64","version": "5.8.6-1ubuntu8.9","status": ""},{"package": "","arch": "amd64","version": "4.2.1-9","status": ""},{"package": "","arch": "all","version": "0.0.6ubuntu2","status": ""},{"package": "","arch": "all","version": "1.26+nmu1ubuntu1","status": ""},{"package": "","arch": "all","version": "2.10-0ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1.8.3p1-1ubuntu3.6","status": ""},{"package": "","arch": "all","version": "2.88dsf-13.10ubuntu11.1","status": ""},{"package": "","arch": "amd64","version": "2.88dsf-13.10ubuntu11.1","status": ""},{"package": "","arch": "amd64","version": "1.26-4ubuntu1","status": ""},{"package": "","arch": "amd64","version": "7.6.q-21","status": ""},{"package": "","arch": "all","version": "2014i-0ubuntu0.12.04","status": ""},{"package": "","arch": "all","version": "2011.11.21.1","status": ""},{"package": "","arch": "amd64","version": "1.267.1","status": ""},{"package": "","arch": "all","version": "3.0025+nmu2ubuntu1","status": ""},{"package": "","arch": "amd64","version": "175-0ubuntu9.8","status": ""},{"package": "","arch": "all","version": "0.76ubuntu1","status": ""},{"package": "","arch": "amd64","version": "1.5-0ubuntu7.2","status": ""},{"package": "","arch": "amd64","version": "0.100.0-12","status": ""},{"package": "","arch": "amd64","version": "2.20.1-1ubuntu3.1","status": ""},{"package": "","arch": "amd64","version": "2:7.3.429-2ubuntu2.1","status": ""},{"package": "","arch": "amd64","version": "2:7.3.429-2ubuntu2.1","status": ""},{"package": "","arch": "all","version": "2:7.3.429-2ubuntu2.1","status": ""},{"package": "","arch": "amd64","version": "2:7.3.429-2ubuntu2.1","status": ""},{"package": "","arch": "amd64","version": "1.9-3ubuntu6","status": ""},{"package": "","arch": "amd64","version": "1.13.4-2ubuntu1.2","status": ""},{"package": "","arch": "amd64","version": "0.52.11-2ubuntu10","status": ""},{"package": "","arch": "all","version": "2011.04.28-1ubuntu3","status": ""},{"package": "","arch": "amd64","version": "1:1.0.6-1","status": ""},{"package": "","arch": "all","version": "2.5-1ubuntu1.5","status": ""},{"package": "","arch": "all","version": "0.13","status": ""},{"package": "","arch": "amd64","version": "5.1.1alpha+20110809-3","status": ""},{"package": "","arch": "amd64","version": "1:1.2.3.4.dfsg-3ubuntu4","status": ""},{"package": "","arch": "amd64","version": "1:1.2.3.4.dfsg-3ubuntu4","status": ""},+ sed -i -e 's/,$/\n]}/g' -e 's/\(},\)/ \1\n/g' /etc/dib-manifests/dib-manifest-dpkg-ubuntu_mysql
dib-run-parts Wed Jan 14 15:11:20 UTC 2015 99-write-dpkg-manifest completed
----------------------- PROFILING -----------------------
Target: finalise.d
Script Seconds
--------------------------------------- ----------
50-remove-bogus-udev-links 0.081
51-bootloader 8.047
99-clean-up-cache 0.022
99-write-dpkg-manifest 0.016
--------------------- END PROFILING ---------------------
+ export HOME=/home/pmackinn/trove-integration/scripts/
+ HOME=/home/pmackinn/trove-integration/scripts/
+ trap - ERR
+ check_break after-finalise run_in_target bash
+ egrep -e '(,|^)after-finalise(,|$)' -q
+ echo ''
+ sudo umount -f /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ sudo rmdir /tmp/image.wyl3rVjW/mnt/tmp/in_target.d
+ finalise_base
+ TARGET_ROOT=/tmp/image.wyl3rVjW/mnt
+ run_d cleanup
+ check_element
+ '[' -d /tmp/image.wyl3rVjW/hooks ']'
+ check_break before-cleanup bash
+ echo ''
+ egrep -e '(,|^)before-cleanup(,|$)' -q
+ '[' -d /tmp/image.wyl3rVjW/hooks/cleanup.d ']'
+ dib-run-parts /tmp/image.wyl3rVjW/hooks/cleanup.d
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/01-ccache
dib-run-parts Wed Jan 14 10:11:20 EST 2015 01-ccache completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/01-copy-manifests-dir
+ set -o pipefail
+ '[' -d /tmp/image.wyl3rVjW/mnt//etc/dib-manifests ']'
+ '[' -e /tmp/image.wyl3rVjW/mnt/etc/dib_arguments ']'
+ sudo mv /tmp/image.wyl3rVjW/mnt/etc/dib_arguments /tmp/image.wyl3rVjW/mnt//etc/dib-manifests
+ '[' -e /tmp/image.wyl3rVjW/mnt/etc/dib_environment ']'
+ sudo mv /tmp/image.wyl3rVjW/mnt/etc/dib_environment /tmp/image.wyl3rVjW/mnt//etc/dib-manifests
+ mkdir -p /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/
+ cp --no-preserve=ownership -rv /tmp/image.wyl3rVjW/mnt//etc/dib-manifests /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/
'/tmp/image.wyl3rVjW/mnt//etc/dib-manifests' -> '/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/dib-manifests'
'/tmp/image.wyl3rVjW/mnt//etc/dib-manifests/dib_environment' -> '/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/dib-manifests/dib_environment'
'/tmp/image.wyl3rVjW/mnt//etc/dib-manifests/dib-manifest-dpkg-ubuntu_mysql' -> '/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/dib-manifests/dib-manifest-dpkg-ubuntu_mysql'
'/tmp/image.wyl3rVjW/mnt//etc/dib-manifests/dib_arguments' -> '/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.d/dib-manifests/dib_arguments'
dib-run-parts Wed Jan 14 10:11:20 EST 2015 01-copy-manifests-dir completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/40-unblock-daemons
dib-run-parts Wed Jan 14 10:11:20 EST 2015 40-unblock-daemons completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/50-remove-img-build-proxy
dib-run-parts Wed Jan 14 10:11:20 EST 2015 50-remove-img-build-proxy completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/51-bootloader
+ set -o pipefail
+ '[' -n /tmp/image.wyl3rVjW/mnt ']'
+ source /opt/stack/diskimage-builder/bin/../lib/img-functions
+ '[' -d /tmp/image.wyl3rVjW/mnt/boot/extlinux ']'
+ '[' -d /tmp/image.wyl3rVjW/mnt/boot/syslinux ']'
+ exit 0
dib-run-parts Wed Jan 14 10:11:20 EST 2015 51-bootloader completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/60-untrim-dpkg
dib-run-parts Wed Jan 14 10:11:20 EST 2015 60-untrim-dpkg completed
dib-run-parts Wed Jan 14 10:11:20 EST 2015 Running /tmp/image.wyl3rVjW/hooks/cleanup.d/99-tidy-logs
+ set -o pipefail
+ sudo find /tmp/image.wyl3rVjW/mnt/var/log -type f -exec cp /dev/null '{}' ';'
+ sudo find /tmp/image.wyl3rVjW/mnt/root -name '*.log' -type f -delete
dib-run-parts Wed Jan 14 10:11:20 EST 2015 99-tidy-logs completed
----------------------- PROFILING -----------------------
Target: cleanup.d
Script Seconds
--------------------------------------- ----------
01-ccache 0.008
01-copy-manifests-dir 0.026
40-unblock-daemons 0.027
50-remove-img-build-proxy 0.007
51-bootloader 0.005
60-untrim-dpkg 0.013
99-tidy-logs 0.036
--------------------- END PROFILING ---------------------
+ check_break after-cleanup bash
+ echo ''
+ egrep -e '(,|^)after-cleanup(,|$)' -q
+ lsattr /tmp/image.wyl3rVjW/mnt/etc/resolv.conf
+ grep '^....i'
+ sudo rm -f /tmp/image.wyl3rVjW/mnt/etc/resolv.conf
+ '[' -L /tmp/image.wyl3rVjW/mnt/etc/resolv.conf.ORIG ']'
+ sudo mv /tmp/image.wyl3rVjW/mnt/etc/resolv.conf.ORIG /tmp/image.wyl3rVjW/mnt/etc/resolv.conf
+ for X in '${!IMAGE_TYPES[@]}'
+ '[' qcow2 == tar ']'
+ unmount_image
+ sync
+ unmount_dir /tmp/image.wyl3rVjW/mnt
+ local pattern=/tmp/image.wyl3rVjW/mnt mnts=
+ '[' -n /tmp/image.wyl3rVjW/mnt ']'
++ sort -r
++ grep '^/tmp/image.wyl3rVjW/mnt'
++ awk '{print $2}'
+ mnts='/tmp/image.wyl3rVjW/mnt/sys
/tmp/image.wyl3rVjW/mnt/proc
/tmp/image.wyl3rVjW/mnt/dev/pts
/tmp/image.wyl3rVjW/mnt/dev
/tmp/image.wyl3rVjW/mnt'
+ '[' -n '/tmp/image.wyl3rVjW/mnt/sys
/tmp/image.wyl3rVjW/mnt/proc
/tmp/image.wyl3rVjW/mnt/dev/pts
/tmp/image.wyl3rVjW/mnt/dev
/tmp/image.wyl3rVjW/mnt' ']'
+ sudo umount -fl /tmp/image.wyl3rVjW/mnt/sys /tmp/image.wyl3rVjW/mnt/proc /tmp/image.wyl3rVjW/mnt/dev/pts /tmp/image.wyl3rVjW/mnt/dev /tmp/image.wyl3rVjW/mnt
+ '[' -n 'detach_loopback /dev/loop2' ']'
+ detach_loopback /dev/loop2
+ local loopdev=/dev/loop2
++ sed 's/\/dev\///g'
++ echo /dev/loop2
+ loopdev_name=loop2
++ sudo dmsetup ls
++ awk '{ print $1 }'
++ grep loop2
+ mapper_name=
+ '[' '' ']'
++ seq 10 -1 1
+ for try in '$(seq 10 -1 1)'
+ sudo losetup /dev/loop2
/dev/loop2: [0801]:3278695 (/tmp/image.41ntlHt1/image.raw)
+ sudo losetup -d /dev/loop2
+ return 0
+ '[' 0 == 0 ']'
+ for IMAGE_TYPE in '${IMAGE_TYPES[@]}'
+ compress_and_save_image /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2
+ test qcow2 '!=' qcow2
+ '[' -n compat=0.10 ']'
+ EXTRA_OPTIONS='-o compat=0.10'
+ echo 'Converting image using qemu-img convert'
Converting image using qemu-img convert
+ qemu-img convert -c -f raw /tmp/image.41ntlHt1/image.raw -O qcow2 -o compat=0.10 /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2-new
+ OUT_IMAGE_PATH=/home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2-new
+ finish_image /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2
+ '[' -f /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2 -a 0 -eq 0 ']'
+ mv /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2-new /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2
+ echo 'Image file /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2 created...'
Image file /home/pmackinn/images/ubuntu_mysql/ubuntu_mysql.qcow2 created...
+ rm /tmp/image.41ntlHt1/image.raw
+ cleanup_dirs
+ sudo rm -rf /tmp/image.wyl3rVjW/built
+ sudo rm -rf /tmp/image.wyl3rVjW/mnt
+ sudo umount -f /tmp/image.wyl3rVjW /tmp/image.41ntlHt1
umount2: Invalid argument
umount: /tmp/image.wyl3rVjW: not mounted
umount2: Invalid argument
umount: /tmp/image.41ntlHt1: not mounted
+ true
+ rm -rf /tmp/image.wyl3rVjW /tmp/image.41ntlHt1
+ case "$IMAGE_ELEMENT" in
+ trap EXIT
WARNING: urllib3.connectionpool HttpConnectionPool is full, discarding connection: 10.211.55.9
IMAGE ID: 2b996dcf-3f96-4a97-b5b9-593f8b8108a8
*******************************************************************************
Updating Datastores
*******************************************************************************
/opt/stack/trove /home/pmackinn/trove-integration/scripts
2015-01-14 10:12:27.928 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
Datastore 'mysql' updated.
/home/pmackinn/trove-integration/scripts
/opt/stack/trove /home/pmackinn/trove-integration/scripts
2015-01-14 10:12:28.514 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
Datastore version '5.5' updated.
/home/pmackinn/trove-integration/scripts
/opt/stack/trove /home/pmackinn/trove-integration/scripts
2015-01-14 10:12:29.084 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
Datastore version 'inactive_version' updated.
/home/pmackinn/trove-integration/scripts
/opt/stack/trove /home/pmackinn/trove-integration/scripts
2015-01-14 10:12:29.646 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
Datastore 'mysql' updated.
/home/pmackinn/trove-integration/scripts
/opt/stack/trove /home/pmackinn/trove-integration/scripts
2015-01-14 10:12:30.219 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
Datastore 'Test_Datastore_1' updated.
/home/pmackinn/trove-integration/scripts
/opt/stack/trove /home/pmackinn/trove-integration/scripts
Loading config parameters for datastore (mysql) version (5.5)
2015-01-14 10:12:30.787 INFO trove.db.sqlalchemy.session [-] Creating SQLAlchemy engine with args: {'pool_recycle': 3600, 'echo': False}
/home/pmackinn/trove-integration/scripts
Starting tr-api cd /opt/stack/trove; /usr/local/bin/trove-api --config-file=/etc/trove/trove.conf --debug 2>&1 | tee /home/pmackinn/trove-integration/scripts/../report/logs/trove-api.log...
Starting tr-tmgr cd /opt/stack/trove; /usr/local/bin/trove-taskmanager --config-file=/etc/trove/trove-taskmanager.conf --debug 2>&1 | tee /home/pmackinn/trove-integration/scripts/../report/logs/trove-taskmanager.log...
Starting tr-cond cd /opt/stack/trove; /usr/local/bin/trove-conductor --config-file=/etc/trove/trove-conductor.conf --debug 2>&1 | tee /home/pmackinn/trove-integration/scripts/../report/logs/trove-conductor.log...
pmackinn@ubuntu:~/trove-integration/scripts$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment