Skip to content

Instantly share code, notes, and snippets.

@joshco
Created June 13, 2015 20:36
Show Gist options
  • Save joshco/3834495d9fd87772ce01 to your computer and use it in GitHub Desktop.
Save joshco/3834495d9fd87772ce01 to your computer and use it in GitHub Desktop.
dockerfile fail
+ parse_args git-receive-pack ''\''pymysample'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n git-receive-pack 'pymysample' ]]
+ export -n SSH_ORIGINAL_COMMAND
+ [[ git-receive-pack =~ config-* ]]
+ /usr/local/bin/dokku git-receive-pack ''\''pymysample'\'''
+ [[ -f /home/dokku/dokkurc ]]
+ [[ -d /home/dokku/.dokkurc ]]
+ for f in '$DOKKU_ROOT/.dokkurc/*'
+ source /home/dokku/.dokkurc/DOKKU_TRACE
++ export DOKKU_TRACE=1
++ DOKKU_TRACE=1
+ [[ -n 1 ]]
+ set -x
+ parse_args git-receive-pack ''\''pymysample'\'''
+ for arg in '"$@"'
+ case "$arg" in
+ for arg in '"$@"'
+ case "$arg" in
+ return 0
+ args=("$@")
+ [[ git-receive-pack =~ ^--.* ]]
+ has_tty
++ /usr/bin/tty
++ true
+ [[ not a tty == \n\o\t\ \a\ \t\t\y ]]
+ return 1
+ DOKKU_QUIET_OUTPUT=1
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ [[ -n '' ]]
+ case "$1" in
+ implemented=0
+ for script in '$PLUGIN_PATH/*/commands'
+ set +e
+ /var/lib/dokku/plugins/00_dokku-standard/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/00_dokku-standard/commands
+ source /var/lib/dokku/plugins/00_dokku-standard/../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/apps/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/apps/commands
+ source /var/lib/dokku/plugins/apps/../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/backup/commands git-receive-pack ''\''pymysample'\'''
+ CURRENT_BACKUP_VERSION=1
+ 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/config/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/config/commands
+ source /var/lib/dokku/plugins/config/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ ENV_FILE='/home/dokku/'\''pymysample'\''/ENV'
+ ENV_FILE_TEMP='/home/dokku/'\''pymysample'\''/ENV.tmp'
+ 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/docker-options/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/docker-options/commands
+ source /var/lib/dokku/plugins/docker-options/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
+ PHASES=(build deploy run)
+ FILE_PREFIX=DOCKER_OPTIONS_
+ 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/dokku-psql-single-container/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
+ source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
+ source /var/lib/dokku/plugins/dokku-psql-single-container/functions
++ set -eo pipefail
++ [[ -n 1 ]]
++ set -x
++ APP=''\''pymysample'\'''
++ PSQL_ROOT=/home/dokku/.psql-sc
++ PSQL_IMAGE=postgres:9.3
++ PSQL_CONTAINER_NAME=psql-single-container
+ set +e
+ [[ git-receive-pack == psql:* ]]
+ case "$1" in
+ 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/domains/commands git-receive-pack ''\''pymysample'\'''
++ 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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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}$'
+ 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/git/commands git-receive-pack ''\''pymysample'\'''
++ 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
++ perl -pe 's/(?<!\\)'\''//g'
++ echo ''\''pymysample'\'''
++ sed 's/\\'\''/'\''/g'
+ APP=pymysample
+ APP_PATH=/home/dokku/pymysample
+ [[ git-receive-pack == \g\i\t\-\r\e\c\e\i\v\e\-\p\a\c\k ]]
+ [[ ! -d /home/dokku/pymysample/refs ]]
+ args='git-receive-pack '\''pymysample'\'''
+ git-shell -c 'git-receive-pack '\''pymysample'\'''
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 pymysample
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 pymysample
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/apps/commands git-hook pymysample
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 pymysample
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 pymysample
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
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 pymysample
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/dokku-psql-single-container/commands git-hook pymysample
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ APP=pymysample
remote: ++ PSQL_ROOT=/home/dokku/.psql-sc
remote: ++ PSQL_IMAGE=postgres:9.3
remote: ++ PSQL_CONTAINER_NAME=psql-single-container
remote: + set +e
remote: + [[ git-hook == psql:* ]]
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-hook pymysample
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}){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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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-hook pymysample
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=pymysample
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 receive-app pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: ++ dirname /var/lib/dokku/plugins/git/receive-app
remote: + source /var/lib/dokku/plugins/git/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + APP=pymysample
remote: + REV=6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: + dokku git-build pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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/apps/commands git-build pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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/dokku-psql-single-container/commands git-build pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ APP=pymysample
remote: ++ PSQL_ROOT=/home/dokku/.psql-sc
remote: ++ PSQL_IMAGE=postgres:9.3
remote: ++ PSQL_CONTAINER_NAME=psql-single-container
remote: + set +e
remote: + [[ git-build == psql:* ]]
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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-9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}%[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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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=pymysample
remote: + APP_BUILD_LOCK=/home/dokku/pymysample/.build.lock
remote: + APP_BUILD_LOCK_MSG='pymysample is currently being deployed or locked. Waiting...'
remote: ++ flock -n /home/dokku/pymysample/.build.lock true
remote: ++ echo 0
remote: + [[ 0 -ne 0 ]]
remote: + shift 1
remote: + flock -o /home/dokku/pymysample/.build.lock dokku git-build-locked pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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/apps/commands git-build-locked pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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/dokku-psql-single-container/commands git-build-locked pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ APP=pymysample
remote: ++ PSQL_ROOT=/home/dokku/.psql-sc
remote: ++ PSQL_IMAGE=postgres:9.3
remote: ++ PSQL_CONTAINER_NAME=psql-single-container
remote: + set +e
remote: + [[ git-build-locked == psql:* ]]
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands git-build-locked pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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-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_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 pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
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=pymysample
remote: + [[ 3 -ge 3 ]]
remote: + REF=6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: + git_build_app_repo pymysample 6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: + verify_app_name pymysample
remote: + local APP=pymysample
remote: + [[ ! -d /home/dokku/pymysample ]]
remote: + IMAGE=dokku/pymysample
remote: + return 0
remote: + APP=pymysample
remote: + REV=6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: ++ mktemp -d
remote: + TMP_WORK_DIR=/tmp/tmp.I4qDeceVNt
remote: + trap 'rm -rf "$TMP_WORK_DIR" > /dev/null' RETURN
remote: + chmod 755 /tmp/tmp.I4qDeceVNt
remote: + unset GIT_DIR GIT_WORK_TREE
remote: + pushd /tmp/tmp.I4qDeceVNt
remote: + git clone -q /home/dokku/pymysample /tmp/tmp.I4qDeceVNt
remote: + git config advice.detachedHead false
remote: + git checkout 6b64f56e83beeb735b7e584e4e9121f8d6f41792
remote: + git submodule update --init --recursive
remote: + find -name .git -prune -exec rm -rf '{}' ';'
remote: + [[ -f Dockerfile ]]
remote: ++ [[ -f .env ]]
remote: ++ echo 1
remote: + [[ 1 != \0 ]]
remote: + [[ ! -f .buildpacks ]]
remote: + sed -u 's/^//'
remote: + dokku receive pymysample dockerfile /tmp/tmp.I4qDeceVNt
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 pymysample dockerfile /tmp/tmp.I4qDeceVNt
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=pymysample
remote: + IMAGE=dokku/pymysample
remote: + IMAGE_SOURCE_TYPE=dockerfile
remote: + TMP_WORK_DIR=/tmp/tmp.I4qDeceVNt
remote: + dokku_log_info1 'Cleaning up...'
remote: + echo '-----> Cleaning up...'
remote: + dokku cleanup
remote: -----> 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: + dokku_log_info1 'Building pymysample from dockerfile...'
remote: + echo '-----> Building pymysample from dockerfile...'
remote: + dokku build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: -----> Building pymysample from dockerfile...
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 pymysample dockerfile /tmp/tmp.I4qDeceVNt
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: ++ docker images -f dangling=true -q
remote: ++ docker ps -a -f status=exited -q
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 pymysample dockerfile /tmp/tmp.I4qDeceVNt
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=pymysample
remote: + IMAGE=dokku/pymysample
remote: + IMAGE_SOURCE_TYPE=dockerfile
remote: + TMP_WORK_DIR=/tmp/tmp.I4qDeceVNt
remote: + CACHE_DIR=/home/dokku/pymysample/cache
remote: + pushd /tmp/tmp.I4qDeceVNt
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: ++ awk '{ print $2 }'
remote: ++ head -1
remote: ++ grep EXPOSE Dockerfile
remote: ++ true
remote: + DOCKERFILE_PORT=
remote: + [[ -n '' ]]
remote: + pluginhook pre-build-dockerfile pymysample
remote: + docker build -t dokku/pymysample .
remote: + docker rm b7a8af10a651
remote: Sending build context to Docker daemon 59.9 kB
remote:
remote:
remote: Sending build context to Docker daemon 
remote:
remote: Step 0 : FROM kaggle/python:latest
remote:  ---> d7422af11c41
remote: Step 1 : RUN curl -L -k https://github.com/gliderlabs/herokuish/releases/download/v0.3.0/herokuish_0.3.0_linux_x86_64.tgz -L |tar -xzC /bin
remote:  ---> Using cache
remote:  ---> ac2e961008ac
remote: Step 2 : COPY / /app/
remote: + docker rmi 31d483126114 20951ad32038
remote:  ---> bfe97ec4255c
remote: Removing intermediate container 68ce57f7ec49
remote: Step 3 : RUN /bin/herokuish buildpack install && ln -s /bin/herokuish /build && ln -s /bin/herokuish /start && ln -s /bin/herokuish /exec
remote:  ---> Running in ef44f681f034
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-clojure'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-go'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-gradle'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-grails'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-java'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-multi'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-nodejs'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-php'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-play'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-python'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-ruby'...
remote: Cloning into '/tmp/buildpacks/heroku-buildpack-scala'...
remote:  ---> 74c5d9fd762d
remote: Removing intermediate container ef44f681f034
remote: Successfully built 74c5d9fd762d
remote: + pluginhook post-build-dockerfile pymysample
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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 build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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 build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
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 build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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/dokku-psql-single-container/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ APP=pymysample
remote: ++ PSQL_ROOT=/home/dokku/.psql-sc
remote: ++ PSQL_IMAGE=postgres:9.3
remote: ++ PSQL_CONTAINER_NAME=psql-single-container
remote: + set +e
remote: + [[ build == psql:* ]]
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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,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}|::(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 build pymysample dockerfile /tmp/tmp.I4qDeceVNt
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: + 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/logging-supervisord/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: ++ dirname /var/lib/dokku/plugins/logging-supervisord/commands
remote: + PLUGIN_DIR=/var/lib/dokku/plugins/logging-supervisord
remote: + . /var/lib/dokku/plugins/logging-supervisord/lib/helpers
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/nginx-vhosts/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: ++ dirname /var/lib/dokku/plugins/nginx-vhosts/commands
remote: + source /var/lib/dokku/plugins/nginx-vhosts/../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/ps/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: ++ dirname /var/lib/dokku/plugins/ps/commands
remote: + source /var/lib/dokku/plugins/ps/../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/shell/commands build pymysample dockerfile /tmp/tmp.I4qDeceVNt
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + [[ 1 -eq 0 ]]
remote: + dokku_log_info1 'Releasing pymysample...'
remote: + echo '-----> Releasing pymysample...'
remote: + dokku release pymysample dockerfile
remote: -----> Releasing pymysample...
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 release pymysample dockerfile
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: + [[ release =~ ^--.* ]]
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 release pymysample dockerfile
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=pymysample
remote: + IMAGE=dokku/pymysample
remote: + IMAGE_SOURCE_TYPE=dockerfile
remote: + case "$IMAGE_SOURCE_TYPE" in
remote: + pluginhook pre-release-dockerfile pymysample
remote: + pluginhook post-release-dockerfile pymysample
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/apps/commands release pymysample dockerfile
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 release pymysample dockerfile
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 release pymysample dockerfile
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
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 release pymysample dockerfile
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/dokku-psql-single-container/commands release pymysample dockerfile
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ dirname /var/lib/dokku/plugins/dokku-psql-single-container/commands
remote: + source /var/lib/dokku/plugins/dokku-psql-single-container/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ APP=pymysample
remote: ++ PSQL_ROOT=/home/dokku/.psql-sc
remote: ++ PSQL_IMAGE=postgres:9.3
remote: ++ PSQL_CONTAINER_NAME=psql-single-container
remote: + set +e
remote: + [[ release == psql:* ]]
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/domains/commands release pymysample dockerfile
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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}){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 release pymysample dockerfile
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: + 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/logging-supervisord/commands release pymysample dockerfile
remote: ++ dirname /var/lib/dokku/plugins/logging-supervisord/commands
remote: + PLUGIN_DIR=/var/lib/dokku/plugins/logging-supervisord
remote: + . /var/lib/dokku/plugins/logging-supervisord/lib/helpers
remote: + case "$1" in
remote: + exit_code=0
remote: + set -e
remote: + [[ 0 -eq 10 ]]
remote: + implemented=1
remote: + [[ 0 -ne 0 ]]
remote: + for script in '$PLUGIN_PATH/*/commands'
remote: + set +e
remote: + /var/lib/dokku/plugins/nginx-vhosts/commands release pymysample dockerfile
remote: ++ dirname /var/lib/dokku/plugins/nginx-vhosts/commands
remote: + source /var/lib/dokku/plugins/nginx-vhosts/../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/ps/commands release pymysample dockerfile
remote: ++ dirname /var/lib/dokku/plugins/ps/commands
remote: + source /var/lib/dokku/plugins/ps/../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/shell/commands release pymysample dockerfile
remote: + case "$1" in
remote: + exit 10
remote: + exit_code=10
remote: + set -e
remote: + [[ 10 -eq 10 ]]
remote: + continue
remote: + [[ 1 -eq 0 ]]
remote: + dokku_log_info1 'Deploying pymysample...'
remote: + echo '-----> Deploying pymysample...'
remote: + dokku deploy pymysample
remote: -----> Deploying pymysample...
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 deploy pymysample
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + for arg in '"$@"'
remote: + case "$arg" in
remote: + return 0
remote: + args=("$@")
remote: + [[ deploy =~ ^--.* ]]
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=pymysample
remote: + IMAGE=dokku/pymysample
remote: + pluginhook pre-deploy pymysample
remote: + [[ -f /home/dokku/pymysample/CONTAINER ]]
remote: + oldid=01de924226b49c56ce02120d6920d9ab995da1c1c73b952297d2a0add4f368a4
remote: ++ :
remote: ++ pluginhook docker-args pymysample deploy
remote: ++ cat
remote: + STDIN=
remote: + APP=pymysample
remote: + LOG_DIR=/var/log/dokku/pymysample
remote: + CONTAINER_PATH=/var/log/app
remote: + mkdir -p /var/log/dokku/pymysample
remote: + echo ' -v /var/log/dokku/pymysample:/var/log/app'
remote: + DOCKER_ARGS=' -v /var/log/dokku/pymysample:/var/log/app'
remote: ++ pluginhook docker-args-deploy pymysample
remote: ++ :
remote: ++ dirname /var/lib/dokku/plugins/config/docker-args-deploy
remote: + source /var/lib/dokku/plugins/config/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: ++ cat
remote: + STDIN=
remote: + APP=pymysample
remote: + IMAGE=dokku/pymysample
remote: + DOCKERFILE_ENV_FILE=/home/dokku/pymysample/DOCKERFILE_ENV_FILE
remote: + is_image_buildstep_based dokku/pymysample
remote: + [[ ! -f /home/ubuntu/.circlerc ]]
remote: + local DOCKER_ARGS=--rm
remote: + docker run --entrypoint=/bin/bash --rm dokku/pymysample -c '[[ -f /exec ]]'
remote: + echo ''
remote: ++ cat
remote: + STDIN=
remote: + APP=pymysample
remote: + case "$0" in
remote: + PHASE=DEPLOY
remote: + FILE_PREFIX=DOCKER_OPTIONS_
remote: + PHASE_FILE_PATH=/home/dokku/pymysample/DOCKER_OPTIONS_DEPLOY
remote: + output=
remote: + [[ -f /home/dokku/pymysample/DOCKER_OPTIONS_DEPLOY ]]
remote: + echo ''
remote: + DOCKER_ARGS+=
remote: ++ pluginhook bind-external-ip pymysample
remote: + APP=pymysample
remote: ++ dokku config:get pymysample NO_VHOST
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 config:get pymysample NO_VHOST
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: + [[ config:get =~ ^--.* ]]
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 config:get pymysample NO_VHOST
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/apps/commands config:get pymysample NO_VHOST
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 config:get pymysample NO_VHOST
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 config:get pymysample NO_VHOST
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: + ENV_FILE=/home/dokku/pymysample/ENV
remote: + ENV_FILE_TEMP=/home/dokku/pymysample/ENV.tmp
remote: + case "$1" in
remote: + [[ -z pymysample ]]
remote: + verify_app_name pymysample
remote: + local APP=pymysample
remote: + [[ ! -d /home/dokku/pymysample ]]
remote: + IMAGE=dokku/pymysample
remote: + return 0
remote: + APP=pymysample
remote: + [[ -z NO_VHOST ]]
remote: + config_create
remote: + '[' -f /home/dokku/pymysample/ENV ']'
remote: + [[ ! -s /home/dokku/pymysample/ENV ]]
remote: + KEY=NO_VHOST
remote: + sed -e 's/^'\''//' -e 's/'\''$//'
remote: + cut -d= -f2-
remote: + grep '^export NO_VHOST='
remote: + grep -Eo 'export ([a-zA-Z_][a-zA-Z0-9_]*=.*)' /home/dokku/pymysample/ENV
remote: + exit_code=1
remote: + set -e
remote: + [[ 1 -eq 10 ]]
remote: + implemented=1
remote: + [[ 1 -ne 0 ]]
remote: + exit 1
remote: ++ true
remote: + NO_VHOST=
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}){1,4}|'
remote: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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: + [[ -f /home/dokku/VHOST ]]
remote: + GLOBAL_VHOST=dokku.splitatom.com
remote: + [[ -n '' ]]
remote: + [[ dokku.splitatom.com =~ ([0-9]{1,3}[\.]){3}[0-9]{1,3}$ ]]
remote: + [[ dokku.splitatom.com =~ ([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: + [[ -z dokku.splitatom.com ]]
remote: + [[ -f /home/dokku/pymysample/VHOST ]]
remote: + echo false
remote: + BIND_EXTERNAL=false
remote: + is_image_buildstep_based dokku/pymysample
remote: + [[ ! -f /home/ubuntu/.circlerc ]]
remote: + local DOCKER_ARGS=--rm
remote: + docker run --entrypoint=/bin/bash --rm dokku/pymysample -c '[[ -f /exec ]]'
remote: + DOKKU_BUILDSTEP=true
remote: + [[ -n true ]]
remote: + START_CMD='/start web'
remote: + [[ -z true ]]
remote: + [[ false = \f\a\l\s\e ]]
remote: + port=5000
remote: ++ docker run -d -e PORT=5000 -v /var/log/dokku/pymysample:/var/log/app dokku/pymysample /start web
remote: + id=68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: ++ docker inspect --format '{{ .NetworkSettings.IPAddress }}' 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + ipaddr=172.17.0.190
remote: + trap kill_new INT TERM EXIT
remote: + dokku_log_info1 'Running pre-flight checks'
remote: + echo '-----> Running pre-flight checks'
remote: + pluginhook check-deploy pymysample 5000 172.17.0.190 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: -----> Running pre-flight checks
remote: ++ dirname /var/lib/dokku/plugins/checks/check-deploy
remote: + source /var/lib/dokku/plugins/checks/../common/functions
remote: ++ set -eo pipefail
remote: ++ [[ -n 1 ]]
remote: ++ set -x
remote: + APP=pymysample
remote: + DOKKU_APP_LISTEN_PORT=5000
remote: + DOKKU_APP_LISTEN_IP=172.17.0.190
remote: + DOKKU_APP_CONTAINER_ID=68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + [[ -z 5000 ]]
remote: + [[ -z 172.17.0.190 ]]
remote: + [[ -z 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83 ]]
remote: + [[ -f /home/dokku/ENV ]]
remote: + source /home/dokku/ENV
remote: ++ export CURL_CONNECT_TIMEOUT=5
remote: ++ CURL_CONNECT_TIMEOUT=5
remote: ++ export CURL_TIMEOUT=30
remote: ++ CURL_TIMEOUT=30
remote: + [[ -f /home/dokku/pymysample/ENV ]]
remote: + source /home/dokku/pymysample/ENV
remote: ++ export DATABASE_URL=postgresql://pymysample:d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6@172.17.0.2:5432/pymysample
remote: ++ DATABASE_URL=postgresql://pymysample:d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6@172.17.0.2:5432/pymysample
remote: ++ export DB_HOST=172.17.0.2
remote: ++ DB_HOST=172.17.0.2
remote: ++ export DB_NAME=pymysample
remote: ++ DB_NAME=pymysample
remote: ++ export DB_PASS=d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6
remote: ++ DB_PASS=d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6
remote: ++ export DB_PORT=5432
remote: ++ DB_PORT=5432
remote: ++ export DB_TYPE=postgresql
remote: ++ DB_TYPE=postgresql
remote: ++ export DB_USER=pymysample
remote: ++ DB_USER=pymysample
remote: ++ export POSTGRESQL_URL=postgresql://pymysample:d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6@172.17.0.2:5432/pymysample
remote: ++ POSTGRESQL_URL=postgresql://pymysample:d2f5065298a86a4ca054ae650abbdebb31e8be370fcfb2a5903cdbb6a13d78c6@172.17.0.2:5432/pymysample
remote: + WAIT=5
remote: + TIMEOUT=30
remote: + ATTEMPTS=5
remote: ++ mktemp -d /tmp/CHECKS.XXXXX
remote: + TMPDIR=/tmp/CHECKS.PulQU
remote: + docker cp 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83:/app/CHECKS /tmp/CHECKS.PulQU
remote: + true
remote: + FILENAME=/tmp/CHECKS.PulQU/CHECKS
remote: + trap cleanup EXIT
remote: + [[ ! -s /tmp/CHECKS.PulQU/CHECKS ]]
remote: + dokku_log_verbose 'For more efficient zero downtime deployments, create a file CHECKS.'
remote: + echo ' For more efficient zero downtime deployments, create a file CHECKS.'
remote: + dokku_log_verbose 'See http://progrium.viewdocs.io/dokku/checks-examples.md for examples'
remote: + echo ' See http://progrium.viewdocs.io/dokku/checks-examples.md for examples'
remote: + dokku_log_verbose 'CHECKS file not found in container: Running simple container check...'
remote: + echo ' CHECKS file not found in container: Running simple container check...'
remote: + rm -rf /tmp/CHECKS.PulQU
remote:  For more efficient zero downtime deployments, create a file CHECKS.
remote:  See http://progrium.viewdocs.io/dokku/checks-examples.md for examples
remote:  CHECKS file not found in container: Running simple container check...
remote: + DOKKU_DEFAULT_WAIT=35
remote: + dokku_log_info1 'Waiting for 35 seconds ...'
remote: + echo '-----> Waiting for 35 seconds ...'
remote: + sleep 35
remote: -----> Waiting for 35 seconds ...
remote: + grep -q 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + docker ps -q --no-trunc
remote: + dokku_log_fail 'App container failed to start!!'
remote: + echo 'App container failed to start!!'
remote: App container failed to start!!
remote: + exit 1
remote: + cleanup
remote: + rm -rf /tmp/CHECKS.PulQU
remote: + dokku_log_info2_qui+ 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/logging-supervisord/commands git-receive-pack ''\''pymysample'\'''
++ dirname /var/lib/dokku/plugins/logging-supervisord/commands
+ PLUGIN_DIR=/var/lib/dokku/plugins/logging-supervisord
+ . /var/lib/dokku/plugins/logging-supervisord/lib/helpers
+ case "$1" in
+ 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 ''\''pymysample'\'''
++ 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/ps/commands git-receive-pack ''\''pymysample'\'''
++ 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 ''\''pymysample'\'''
+ case "$1" in
+ exit 10
+ exit_code=10
+ set -e
+ [[ 10 -eq 10 ]]
+ continue
+ [[ 1 -eq 0 ]]
+ exit 0
et 'pymysample container output:'
remote: + [[ -z '' ]]
remote: + echo '=====> pymysample container output:'
remote: + dokku_container_log_verbose_quiet 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + CID=68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + shift
remote: + OIFS=' 
remote: '
remote: + IFS='
remote: '
remote: =====> pymysample container output:
remote: ++ docker logs 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + IFS=' 
remote: '
remote: + dokku_log_info2_quiet 'end pymysample container output'
remote: + [[ -z '' ]]
remote: + echo '=====> end pymysample container output'
remote: =====> end pymysample container output
remote: + kill_new
remote: + docker inspect 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + docker kill 68ff393e9b59b03903a8cb82944886b7c99550bc24f400e02240532a11580f83
remote: + trap - INT TERM EXIT
remote: + kill -9 13619
remote: /usr/local/bin/dokku: line 49: 13619 Killed dokku deploy "$APP"
remote: + exit_code=137
remote: + set -e
remote: + [[ 137 -eq 10 ]]
remote: + implemented=1
remote: + [[ 137 -ne 0 ]]
remote: + exit 137
remote: + exit_code=137
remote: + set -e
remote: + [[ 137 -eq 10 ]]
remote: + implemented=1
remote: + [[ 137 -ne 0 ]]
remote: + exit 137
remote: + exit_code=137
remote: + set -e
remote: + [[ 137 -eq 10 ]]
remote: + implemented=1
remote: + [[ 137 -ne 0 ]]
remote: + exit 137
To [email protected]:pymysample
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:pymysample'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment