Skip to content

Instantly share code, notes, and snippets.

@hhff
Created August 30, 2015 19:55
Show Gist options
  • Save hhff/fe990d2be528c3a07ce4 to your computer and use it in GitHub Desktop.
Save hhff/fe990d2be528c3a07ce4 to your computer and use it in GitHub Desktop.
Dokku Failed Buildpack Fetch
...snip...
++ dirname /var/lib/dokku/plugins/domains/commands
+ source /var/lib/dokku/plugins/domains/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
+ RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-f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in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/git/commands git-receive-pack ''\''test-static-buildpack'\'''
++ dirname /var/lib/dokku/plugins/git/commands
+ source /var/lib/dokku/plugins/git/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
++ echo ''\''test-static-buildpack'\'''
++ sed 's/\\'\''/'\''/g'
++ perl -pe 's/(?<!\\)'\''//g'
++ sed 's/^\///g'
+ APP=test-static-buildpack
+ APP_PATH=/home/dokku/test-static-buildpack
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/test-static-buildpack/refs ]]
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ args='git-receive-pack '\''/home/dokku/test-static-buildpack'\'''
+ git-shell -c 'git-receive-pack '\''/home/dokku/test-static-buildpack'\'''
Counting objects: 142, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (140/140), done.
Writing objects: 100% (142/142), 46.18 MiB | 389.00 KiB/s, done.
Total 142 (delta 2), reused 0 (delta 0)
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-hook test-static-buildpack
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-hook =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/20_events/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + PLUGIN_DIR=/var/lib/dokku/plugins/20_events
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-hook test-static-buildpack
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/docker-options/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/docker-options/commands
remote: + source /var/lib/dokku/plugins/docker-options/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + PHASES=(build deploy run)
remote: + FILE_PREFIX=DOCKER_OPTIONS_
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1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a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-hook test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=test-static-buildpack
remote: + read oldrev newrev refname
remote: + [[ refs/heads/master = \r\e\f\s\/\h\e\a\d\s\/\m\a\s\t\e\r ]]
remote: + pluginhook -p receive-app test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/20_events/receive-app
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ dirname /var/lib/dokku/plugins/git/receive-app
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + APP=test-static-buildpack
remote: + REV=3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + '[' '!' -d /home/dokku/test-static-buildpack/refs ']'
remote: + dokku git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/20_events/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + PLUGIN_DIR=/var/lib/dokku/plugins/20_events
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/docker-options/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/docker-options/commands
remote: + source /var/lib/dokku/plugins/docker-options/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + PHASES=(build deploy run)
remote: + FILE_PREFIX=DOCKER_OPTIONS_
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0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[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-build test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=test-static-buildpack
remote: + APP_BUILD_LOCK=/home/dokku/test-static-buildpack/.build.lock
remote: + APP_BUILD_LOCK_MSG='test-static-buildpack is currently being deployed or locked. Waiting...'
remote: ++ flock -n /home/dokku/test-static-buildpack/.build.lock true
remote: ++ echo 0
remote: + [[ 0 -ne 0 ]]
remote: + shift 1
remote: + flock -o /home/dokku/test-static-buildpack/.build.lock dokku git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ git-build-locked =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/20_events/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/20_events/commands
remote: + PLUGIN_DIR=/var/lib/dokku/plugins/20_events
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/apps/commands
remote: + source /var/lib/dokku/plugins/apps/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/backup/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + CURRENT_BACKUP_VERSION=1
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/config/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/config/commands
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/docker-options/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/docker-options/commands
remote: + source /var/lib/dokku/plugins/docker-options/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + PHASES=(build deploy run)
remote: + FILE_PREFIX=DOCKER_OPTIONS_
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/domains/commands
remote: + source /var/lib/dokku/plugins/domains/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}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fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}'
remote: + RE_IPV4='([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + RE_IPV6='([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe08:(:[0-9a-fA-F]{1,4}){2,2}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}([0-9]{1,3}[\.]){3}[0-9]{1,3}|([0-9a-fA-F]{1,4}:){1,4}:([0-9]{1,3}[\.]){3}[0-9]{1,3}$'
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/git/commands git-build-locked test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ dirname /var/lib/dokku/plugins/git/commands
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=test-static-buildpack
remote: + [[ 3 -ge 3 ]]
remote: + REF=3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + git_build_app_repo test-static-buildpack 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + verify_app_name test-static-buildpack
remote: + local APP=test-static-buildpack
remote: + [[ ! -n test-static-buildpack ]]
remote: + [[ ! -d /home/dokku/test-static-buildpack ]]
remote: + IMAGE=dokku/test-static-buildpack
remote: + return 0
remote: + APP=test-static-buildpack
remote: + REV=3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: ++ mktemp -d
remote: + TMP_WORK_DIR=/tmp/tmp.thGkHd20aJ
remote: + trap 'rm -rf "$TMP_WORK_DIR" > /dev/null' RETURN
remote: + chmod 755 /tmp/tmp.thGkHd20aJ
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/tmp.thGkHd20aJ
remote: + git clone -q /home/dokku/test-static-buildpack /tmp/tmp.thGkHd20aJ
remote: + git config advice.detachedHead false
remote: + git checkout 3ad4bb9ec838f53017b3288daca5dd4304f9edc4
remote: + git submodule update --init --recursive
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: + dokku receive test-static-buildpack herokuish /tmp/tmp.thGkHd20aJ
/'
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args receive test-static-buildpack herokuish /tmp/tmp.thGkHd20aJ
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ receive =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + APP=test-static-buildpack
remote: + IMAGE=dokku/test-static-buildpack
remote: + IMAGE_SOURCE_TYPE=herokuish
remote: + TMP_WORK_DIR=/tmp/tmp.thGkHd20aJ
remote: + dokku_log_info1 'Cleaning up...'
remote: + echo '-----> Cleaning up...'
remote: + dokku cleanup
-----> Cleaning up...
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args cleanup
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ cleanup =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: ++ docker ps -a -f status=exited -q
remote: + docker rm fa8ffa62b840 a34bf01e9b29 f2b6c8137d92 ef6251799af8
remote: + dokku_log_info1 'Building test-static-buildpack from herokuish...'
remote: + echo '-----> Building test-static-buildpack from herokuish...'
remote: + dokku build test-static-buildpack herokuish /tmp/tmp.thGkHd20aJ
-----> Building test-static-buildpack from herokuish...
remote: ++ docker images -f dangling=true -q
remote: + [[ -f /home/dokku/dokkurc ]]
remote: + [[ -d /home/dokku/.dokkurc ]]
remote: + for f in '$DOKKU_ROOT/.dokkurc/*'
remote: + source /home/dokku/.dokkurc/DOKKU_TRACE
remote: ++ export DOKKU_TRACE=1
remote: ++ DOKKU_TRACE=1
remote: + [[ -n 1 ]]
remote: + set -x
remote: + parse_args build test-static-buildpack herokuish /tmp/tmp.thGkHd20aJ
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ build =~ ^--.* ]]
remote: + has_tty
remote: ++ /usr/bin/tty
remote: ++ true
remote: + [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
remote: + return 1
remote: + DOKKU_QUIET_OUTPUT=1
remote: ++ id -un
remote: + [[ dokku != \d\o\k\k\u ]]
remote: + [[ -n '' ]]
remote: + case "$1" in
remote: + implemented=0
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/00_dokku-standard/commands build test-static-buildpack herokuish /tmp/tmp.thGkHd20aJ
remote: ++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
remote: + source /var/lib/dokku/plugins/00_dokku-standard/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + case "$1" in
remote: + APP=test-static-buildpack
remote: + IMAGE=dokku/test-static-buildpack
remote: + IMAGE_SOURCE_TYPE=herokuish
remote: + TMP_WORK_DIR=/tmp/tmp.thGkHd20aJ
remote: + CACHE_DIR=/home/dokku/test-static-buildpack/cache
remote: + [[ -f /home/dokku/test-static-buildpack/ENV ]]
remote: + pushd /tmp/tmp.thGkHd20aJ
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ docker run -i -a stdin gliderlabs/herokuish /bin/bash -c 'mkdir -p /app && tar -xC /app'
remote: ++ tar -c .
remote: + docker rmi a412aca6e211
remote: + id=3c72ddc2bb8bc93137be8563d03dc5069721f0a730f539f87b3e7f170c1b1555
remote: ++ docker wait 3c72ddc2bb8bc93137be8563d03dc5069721f0a730f539f87b3e7f170c1b1555
remote: + test 0 -eq 0
remote: + docker commit 3c72ddc2bb8bc93137be8563d03dc5069721f0a730f539f87b3e7f170c1b1555 dokku/test-static-buildpack
remote: + [[ -d /home/dokku/test-static-buildpack/cache ]]
remote: + mkdir /home/dokku/test-static-buildpack/cache
remote: + pluginhook pre-build test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/build-env/pre-build
remote: + source /var/lib/dokku/plugins/build-env/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + APP=test-static-buildpack
remote: + IMAGE=dokku/test-static-buildpack
remote: + BUILD_ENV=
remote: + [[ -f /home/dokku/BUILD_ENV ]]
remote: + grep -q CURL_CONNECT_TIMEOUT /home/dokku/ENV
remote: + grep -q CURL_TIMEOUT /home/dokku/ENV
remote: + [[ -f /home/dokku/ENV ]]
remote: + BUILD_ENV+='
remote: '
remote: + BUILD_ENV+='export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30'
remote: + BUILD_ENV+='
remote: '
remote: + [[ -f /home/dokku/test-static-buildpack/ENV ]]
remote: + [[ ! -z
remote: export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30
remote: ]]
remote: + dokku_log_info1 'Adding BUILD_ENV to build environment...'
remote: + echo '-----> Adding BUILD_ENV to build environment...'
-----> Adding BUILD_ENV to build environment...
remote: ++ echo export CURL_CONNECT_TIMEOUT=5 export CURL_TIMEOUT=30
remote: ++ sed -e 's@export @@g' -e 's@\\n@ @g'
remote: +++ cat
remote: ++ docker run -i -a stdin dokku/test-static-buildpack /bin/bash -c 'for ENV_VAR in CURL_CONNECT_TIMEOUT=5 CURL_TIMEOUT=30; do echo $ENV_VAR |sed '\''s@^\([^=]*\)=\(.*\)$@echo \"\2\" >/tmp/env/\1@g'\'' >>/tmp/set_env.sh; done && mkdir -p /tmp/env && /bin/bash /tmp/set_env.sh'
remote: + id=518aa68911b8f157dfaba3ac0ec0ea3ff1fd889cf66f3d840cbbb918c7384d79
remote: ++ docker wait 518aa68911b8f157dfaba3ac0ec0ea3ff1fd889cf66f3d840cbbb918c7384d79
remote: + test 0 -eq 0
remote: + docker commit 518aa68911b8f157dfaba3ac0ec0ea3ff1fd889cf66f3d840cbbb918c7384d79 dokku/test-static-buildpack
remote: ++ echo -e '
remote: export CURL_CONNECT_TIMEOUT=5
remote: export CURL_TIMEOUT=30
remote: ++ docker run -i -a stdin dokku/test-static-buildpack /bin/bash -c 'cat >> /app/.env'
remote: '
remote: + id=08997fbbc39796993fcaba02603054a22ffca7677f8af33923221abb68bcbcd1
remote: ++ docker wait 08997fbbc39796993fcaba02603054a22ffca7677f8af33923221abb68bcbcd1
remote: + test 0 -eq 0
remote: + docker commit 08997fbbc39796993fcaba02603054a22ffca7677f8af33923221abb68bcbcd1 dokku/test-static-buildpack
remote: + pluginhook pre-build-buildstep test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/20_events/pre-build-buildstep
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: + pluginhook pre-build-buildpack test-static-buildpack
remote: ++ :
remote: ++ pluginhook docker-args test-static-buildpack build
remote: ++ dirname /var/lib/dokku/plugins/postgres/docker-args
remote: + source /var/lib/dokku/plugins/postgres/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/postgres/docker-args
remote: + source /var/lib/dokku/plugins/postgres/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: +++ dirname /var/lib/dokku/plugins/postgres/docker-args
remote: ++ source /var/lib/dokku/plugins/postgres/config
remote: +++ export POSTGRES_IMAGE=postgres
remote: +++ POSTGRES_IMAGE=postgres
remote: +++ export POSTGRES_IMAGE_VERSION=9.5
remote: +++ POSTGRES_IMAGE_VERSION=9.5
remote: +++ export POSTGRES_ROOT=/var/lib/dokku/services/postgres
remote: +++ POSTGRES_ROOT=/var/lib/dokku/services/postgres
remote: +++ export PLUGIN_COMMAND_PREFIX=postgres
remote: +++ PLUGIN_COMMAND_PREFIX=postgres
remote: +++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
remote: +++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
remote: +++ export PLUGIN_DATASTORE_PORT=5432
remote: +++ PLUGIN_DATASTORE_PORT=5432
remote: +++ export PLUGIN_DEFAULT_ALIAS=DATABASE
remote: +++ PLUGIN_DEFAULT_ALIAS=DATABASE
remote: +++ export PLUGIN_IMAGE=postgres
remote: +++ PLUGIN_IMAGE=postgres
remote: +++ export PLUGIN_IMAGE_VERSION=9.5
remote: +++ PLUGIN_IMAGE_VERSION=9.5
remote: +++ export PLUGIN_SCHEME=postgres
remote: +++ PLUGIN_SCHEME=postgres
remote: +++ export PLUGIN_SERVICE=Postgres
remote: +++ PLUGIN_SERVICE=Postgres
remote: ++ dirname /var/lib/dokku/plugins/postgres/docker-args
remote: + source /var/lib/dokku/plugins/postgres/config
remote: ++ export POSTGRES_IMAGE=postgres
remote: ++ POSTGRES_IMAGE=postgres
remote: ++ export POSTGRES_IMAGE_VERSION=9.5
remote: ++ POSTGRES_IMAGE_VERSION=9.5
remote: ++ export POSTGRES_ROOT=/var/lib/dokku/services/postgres
remote: ++ POSTGRES_ROOT=/var/lib/dokku/services/postgres
remote: ++ export PLUGIN_COMMAND_PREFIX=postgres
remote: ++ PLUGIN_COMMAND_PREFIX=postgres
remote: ++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
remote: ++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
remote: ++ export PLUGIN_DATASTORE_PORT=5432
remote: ++ PLUGIN_DATASTORE_PORT=5432
remote: ++ export PLUGIN_DEFAULT_ALIAS=DATABASE
remote: ++ PLUGIN_DEFAULT_ALIAS=DATABASE
remote: ++ export PLUGIN_IMAGE=postgres
remote: ++ PLUGIN_IMAGE=postgres
remote: ++ export PLUGIN_IMAGE_VERSION=9.5
remote: ++ PLUGIN_IMAGE_VERSION=9.5
remote: ++ export PLUGIN_SCHEME=postgres
remote: ++ PLUGIN_SCHEME=postgres
remote: ++ export PLUGIN_SERVICE=Postgres
remote: ++ PLUGIN_SERVICE=Postgres
remote: ++ cat
remote: + STDIN=
remote: + APP=test-static-buildpack
remote: + output=
remote: + for i in '$PLUGIN_DATA_ROOT/*'
remote: + [[ -d /var/lib/dokku/services/postgres/jaime_johnson_staging ]]
remote: ++ echo /var/lib/dokku/services/postgres/jaime_johnson_staging
remote: ++ cut -d/ -f 7
remote: + SERVICE=jaime_johnson_staging
remote: + LINKS_FILE=/var/lib/dokku/services/postgres/jaime_johnson_staging/LINKS
remote: ++ service_alias jaime_johnson_staging
remote: ++ local SERVICE=jaime_johnson_staging
remote: ++ local ALIAS_FILE=/var/lib/dokku/services/postgres/jaime_johnson_staging/ALIAS
remote: ++ verify_service_name jaime_johnson_staging
remote: ++ local SERVICE=jaime_johnson_staging
remote: ++ [[ ! -n jaime_johnson_staging ]]
remote: ++ [[ ! -d /var/lib/dokku/services/postgres/jaime_johnson_staging ]]
remote: ++ return 0
remote: ++ [[ -f /var/lib/dokku/services/postgres/jaime_johnson_staging/ALIAS ]]
remote: ++ echo DATABASE
remote: + ALIAS=DATABASE
remote: ++ service_url jaime_johnson_staging
remote: ++ local SERVICE=jaime_johnson_staging
remote: ++ local SERVICE_ROOT=/var/lib/dokku/services/postgres/jaime_johnson_staging
remote: +++ cat /var/lib/dokku/services/postgres/jaime_johnson_staging/ID
remote: ++ local ID=d17c44d11490f5c63101a05ce32c241ce7de5b93b86a39533540dbce39f06f1c
remote: +++ get_container_ip d17c44d11490f5c63101a05ce32c241ce7de5b93b86a39533540dbce39f06f1c
remote: +++ docker inspect --format '{{ .NetworkSettings.IPAddress }}' d17c44d11490f5c63101a05ce32c241ce7de5b93b86a39533540dbce39f06f1c
remote: ++ local IP=172.17.0.8
remote: +++ cat /var/lib/dokku/services/postgres/jaime_johnson_staging/PASSWORD
remote: ++ local PASSWORD=MjM2MTMyMTg2OTVm
remote: ++ echo postgres://postgres:[email protected]:5432/jaime_johnson_staging
remote: + SERVICE_URL=postgres://postgres:[email protected]:5432/jaime_johnson_staging
remote: + [[ -f /var/lib/dokku/services/postgres/jaime_johnson_staging/LINKS ]]
remote: + read line
remote: + [[ jaime-johnson-staging == \t\e\s\t\-\s\t\a\t\i\c\-\b\u\i\l\d\p\a\c\k ]]
remote: + read line
remote: + echo ''
remote: + DOCKER_ARGS=
remote: ++ :
remote: ++ pluginhook docker-args-build test-static-buildpack
remote: ++ dirname /var/lib/dokku/plugins/20_events/docker-args-build
remote: + source /var/lib/dokku/plugins/20_events/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + [[ ! -n '' ]]
remote: ++ cat
remote: + STDIN=
remote: + APP=test-static-buildpack
remote: + case "$0" in
remote: + PHASE=BUILD
remote: + FILE_PREFIX=DOCKER_OPTIONS_
remote: + PHASE_FILE_PATH=/home/dokku/test-static-buildpack/DOCKER_OPTIONS_BUILD
remote: + output=
remote: + [[ -f /home/dokku/test-static-buildpack/DOCKER_OPTIONS_BUILD ]]
remote: + echo ''
remote: + DOCKER_ARGS+=
remote: ++ docker run -d -v /home/dokku/test-static-buildpack/cache:/cache -e CACHE_PATH=/cache dokku/test-static-buildpack /build
remote: + id=964a1a03032f896c9b8952dc9738eb309ec98a541aa85a793d2c59ac17396fa0
remote: + docker attach 964a1a03032f896c9b8952dc9738eb309ec98a541aa85a793d2c59ac17396fa0
-----> Fetching custom buildpack
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
+ exit_code=0
+ set -e
+ [[ 0 -eq 10 ]]
+ implemented=1
+ [[ 0 -ne 0 ]]
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/nginx-vhosts/commands git-receive-pack ''\''test-static-buildpack'\'''
++ dirname /var/lib/dokku/plugins/nginx-vhosts/commands
+ source /var/lib/dokku/plugins/nginx-vhosts/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/postgres/commands git-receive-pack ''\''test-static-buildpack'\'''
++ dirname /var/lib/dokku/plugins/postgres/commands
+ source /var/lib/dokku/plugins/postgres/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ dirname /var/lib/dokku/plugins/postgres/commands
+ source /var/lib/dokku/plugins/postgres/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+++ dirname /var/lib/dokku/plugins/postgres/commands
++ source /var/lib/dokku/plugins/postgres/config
+++ export POSTGRES_IMAGE=postgres
+++ POSTGRES_IMAGE=postgres
+++ export POSTGRES_IMAGE_VERSION=9.5
+++ POSTGRES_IMAGE_VERSION=9.5
+++ export POSTGRES_ROOT=/var/lib/dokku/services/postgres
+++ POSTGRES_ROOT=/var/lib/dokku/services/postgres
+++ export PLUGIN_COMMAND_PREFIX=postgres
+++ PLUGIN_COMMAND_PREFIX=postgres
+++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
+++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
+++ export PLUGIN_DATASTORE_PORT=5432
+++ PLUGIN_DATASTORE_PORT=5432
+++ export PLUGIN_DEFAULT_ALIAS=DATABASE
+++ PLUGIN_DEFAULT_ALIAS=DATABASE
+++ export PLUGIN_IMAGE=postgres
+++ PLUGIN_IMAGE=postgres
+++ export PLUGIN_IMAGE_VERSION=9.5
+++ PLUGIN_IMAGE_VERSION=9.5
+++ export PLUGIN_SCHEME=postgres
+++ PLUGIN_SCHEME=postgres
+++ export PLUGIN_SERVICE=Postgres
+++ PLUGIN_SERVICE=Postgres
++ dirname /var/lib/dokku/plugins/postgres/commands
+ source /var/lib/dokku/plugins/postgres/config
++ export POSTGRES_IMAGE=postgres
++ POSTGRES_IMAGE=postgres
++ export POSTGRES_IMAGE_VERSION=9.5
++ POSTGRES_IMAGE_VERSION=9.5
++ export POSTGRES_ROOT=/var/lib/dokku/services/postgres
++ POSTGRES_ROOT=/var/lib/dokku/services/postgres
++ export PLUGIN_COMMAND_PREFIX=postgres
++ PLUGIN_COMMAND_PREFIX=postgres
++ export PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
++ PLUGIN_DATA_ROOT=/var/lib/dokku/services/postgres
++ export PLUGIN_DATASTORE_PORT=5432
++ PLUGIN_DATASTORE_PORT=5432
++ export PLUGIN_DEFAULT_ALIAS=DATABASE
++ PLUGIN_DEFAULT_ALIAS=DATABASE
++ export PLUGIN_IMAGE=postgres
++ PLUGIN_IMAGE=postgres
++ export PLUGIN_IMAGE_VERSION=9.5
++ PLUGIN_IMAGE_VERSION=9.5
++ export PLUGIN_SCHEME=postgres
++ PLUGIN_SCHEME=postgres
++ export PLUGIN_SERVICE=Postgres
++ PLUGIN_SERVICE=Postgres
+ [[ ! -d /var/lib/dokku/services/postgres ]]
+ command -v psql
+ command -v pg_dump
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/ps/commands git-receive-pack ''\''test-static-buildpack'\'''
++ dirname /var/lib/dokku/plugins/ps/commands
+ source /var/lib/dokku/plugins/ps/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ dirname /var/lib/dokku/plugins/ps/commands
+ source /var/lib/dokku/plugins/ps/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+++ dirname /var/lib/dokku/plugins/ps/commands
++ source /var/lib/dokku/plugins/ps/../common/functions
+++ set -eo pipefail
+++ [[ -n 1 ]]
+++ set -x
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/shell/commands git-receive-pack ''\''test-static-buildpack'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ exit 0
To [email protected]:test-static-buildpack
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:test-static-buildpack'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment