Due to recent merge https://github.com/openstack/diskimage-builder/commit/2ea4f6ec8a5d4ed651275db35779d929a1d04b90 to DIB our image building procedure got failed.
We have to drop 00-disable-apt-recoomends from ubuntu-guest image elements
https://github.com/openstack/trove-integration/blob/master/scripts/files/elements/ubuntu-guest/pre-install.d/00-disable-apt-recommends
and depend on
https://github.com/openstack/diskimage-builder/blob/master/elements/dpkg/pre-install.d/00-disable-apt-recommends
Recent kick-start log
+ '[' -d /home/trove-try/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.AHbMHK4X/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/pkg-map/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/bin/pkg-map ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/pkg-map/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/extra-data.d/10-create-pkg-map-dir ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/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/trove-try/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.AHbMHK4X/hooks/install.d
++ ls /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/05-heat-cfntools ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/install.d/10-ec2-user ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/install.d -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/install.d/10-ec2-user
++ 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.AHbMHK4X/hooks -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/element-deps
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.AHbMHK4X/hooks -a /opt/stack/tripleo-image-elements/elements/heat-cfntools/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/trove-try/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/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d
+ _DIR=install.d
+ test -d /tmp/image.AHbMHK4X/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/10-support-physical-hardware ']'
+ cp -t /tmp/image.AHbMHK4X/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/environment.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d
+ _DIR=environment.d
+ test -d /tmp/image.AHbMHK4X/hooks/environment.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/environment.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/environment.d/10-ubuntu-distro-name.bash ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/environment.d/99-cloud-init-datasources.bash ']'
+ cp -t /tmp/image.AHbMHK4X/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/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin
+ _DIR=bin
+ test -d /tmp/image.AHbMHK4X/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/bin/map-services ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/bin/map-services
+ 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.AHbMHK4X/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/pre-install.d/00-remove-apt-xapian-index ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/pre-install.d/00-remove-grub ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/pre-install.d/01-set-ubuntu-mirror ']'
+ cp -t /tmp/image.AHbMHK4X/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/root.d
++ basename /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d
+ _DIR=root.d
+ test -d /tmp/image.AHbMHK4X/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/root.d/10-cache-ubuntu-tarball ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/root.d -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/root.d/10-cache-ubuntu-tarball
++ 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.AHbMHK4X/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.AHbMHK4X/hooks -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/element-deps
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.AHbMHK4X/hooks -a /opt/stack/diskimage-builder/bin/../elements/ubuntu/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/trove-try/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.AHbMHK4X/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/cloud-init-datasources/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/05-set-cloud-init-sources ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/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/trove-try/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/install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/install.d
+ _DIR=install.d
+ test -d /tmp/image.AHbMHK4X/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/00-baseline-environment ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/00-baseline-environment
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/00-ccache ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/00-ccache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/10-cloud-init ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/10-cloud-init
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/50-store-build-settings ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/install.d/99-dkms ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/install.d -a /opt/stack/diskimage-builder/bin/../elements/base/install.d/99-dkms
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/99-up-to-date ']'
+ cp -t /tmp/image.AHbMHK4X/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/environment.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/environment.d
+ _DIR=environment.d
+ test -d /tmp/image.AHbMHK4X/hooks/environment.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/environment.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/environment.d/10-SYSTEMD_SYSTEM_UNIT_DIR.bash ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/base/environment.d/10-SYSTEMD_SYSTEM_UNIT_DIR.bash
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/environment.d/10-ccache.bash ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/environment.d -a /opt/stack/diskimage-builder/bin/../elements/base/environment.d/10-ccache.bash
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/environment.d/10-dib-init-system.bash ']'
+ cp -t /tmp/image.AHbMHK4X/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/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.AHbMHK4X/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/pre-install.d/03-baseline-tools ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/pre-install.d/04-dib-init-system ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/extra-data.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/extra-data.d/50-store-build-settings ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/extra-data.d/99-enable-install-types ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/extra-data.d -a /opt/stack/diskimage-builder/bin/../elements/base/extra-data.d/99-enable-install-types
+ 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.AHbMHK4X/hooks/root.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/root.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/root.d/01-ccache ']'
+ cp -t /tmp/image.AHbMHK4X/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/cleanup.d
++ basename /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d
+ _DIR=cleanup.d
+ test -d /tmp/image.AHbMHK4X/hooks/cleanup.d
++ ls /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/cleanup.d/01-ccache ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d/01-ccache
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/cleanup.d/99-tidy-logs ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/cleanup.d -a /opt/stack/diskimage-builder/bin/../elements/base/cleanup.d/99-tidy-logs
++ 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.AHbMHK4X/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.AHbMHK4X/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.AHbMHK4X/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/element-deps
+ for _FILE in '$(find $dir/$_ELEMENT -maxdepth 1 -type f)'
+ cp -t /tmp/image.AHbMHK4X/hooks -a /opt/stack/diskimage-builder/bin/../elements/base/README.md
+ break
+ for _ELEMENT in '$IMAGE_ELEMENT'
+ for dir in '${ELEMENTS_PATH//:/ }'
+ '[' -d /home/trove-try/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.AHbMHK4X/hooks/post-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/post-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/post-install.d/00-package-installs ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/post-install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/install.d/00-package-installs ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.AHbMHK4X/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/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/bin
+ _DIR=bin
+ test -d /tmp/image.AHbMHK4X/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/bin/package-installs ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/bin -a /opt/stack/diskimage-builder/bin/../elements/package-installs/bin/package-installs
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/bin/package-uninstalls ']'
+ cp -t /tmp/image.AHbMHK4X/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/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.AHbMHK4X/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/pre-install.d/02-package-installs ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/pre-install.d/99-package-uninstalls ']'
+ cp -t /tmp/image.AHbMHK4X/hooks/pre-install.d -a /opt/stack/diskimage-builder/bin/../elements/package-installs/pre-install.d/99-package-uninstalls
++ 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.AHbMHK4X/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.AHbMHK4X/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/trove-try/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/finalise.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d
+ _DIR=finalise.d
+ test -d /tmp/image.AHbMHK4X/hooks/finalise.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/finalise.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/finalise.d/99-clean-up-cache ']'
+ cp -t /tmp/image.AHbMHK4X/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.AHbMHK4X/hooks/finalise.d/99-write-dpkg-manifest ']'
+ cp -t /tmp/image.AHbMHK4X/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/bin
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/bin
+ _DIR=bin
+ test -d /tmp/image.AHbMHK4X/hooks/bin
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/bin
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/bin/install-packages ']'
+ cp -t /tmp/image.AHbMHK4X/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/pre-install.d
++ basename /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d
+ _DIR=pre-install.d
+ test -d /tmp/image.AHbMHK4X/hooks/pre-install.d
++ ls /opt/stack/diskimage-builder/bin/../elements/dpkg/pre-install.d
+ for _HOOK in '$(ls $1)'
+ '[' '!' -f /tmp/image.AHbMHK4X/hooks/pre-install.d/00-disable-apt-recommends ']'
+ echo 'There is a duplicated hook in your elements: dpkg/pre-install.d/00-disable-apt-recommends'
There is a duplicated hook in your elements: dpkg/pre-install.d/00-disable-apt-recommends
+ exit 1
+ trap_cleanup
+ exitval=1
+ cleanup
+ unmount_image
+ sync
+ unmount_dir /tmp/image.AHbMHK4X/mnt
+ local pattern=/tmp/image.AHbMHK4X/mnt mnts=
+ '[' -n /tmp/image.AHbMHK4X/mnt ']'
++ awk '{print $2}'
++ grep '^/tmp/image.AHbMHK4X/mnt'
++ sort -r
+ mnts=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ cleanup_dirs
+ sudo rm -rf /tmp/image.AHbMHK4X/built
+ sudo rm -rf /tmp/image.AHbMHK4X/mnt
+ sudo umount -f /tmp/image.AHbMHK4X /tmp/image.qIXqiDJw
umount2: Invalid argument
umount: /tmp/image.AHbMHK4X: not mounted
umount2: Invalid argument
umount: /tmp/image.qIXqiDJw: not mounted
+ true
+ rm -rf /tmp/image.AHbMHK4X /tmp/image.qIXqiDJw
+ exit 1
trove-try@opw-shaifali:~/trove-integration/scripts$
Fix proposed to branch: master /review. openstack. org/129723
Review: https:/