Вы находитесь на странице: 1из 249

# Logfile created on 2018-03-22 14:07:03 -0400 by logger.

rb/56438
INFO ---------------------------------------------------------------------------
INFO START 2018-03-22 14:07:03 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [65e9cf0e] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [65e9cf0e] Command: [ -d ~/.rvm ]
DEBUG [65e9cf0e] Finished in 1.174 seconds with exit status 0 (successful).
DEBUG [65dd6b9d] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [65dd6b9d] Command: ~/.rvm/bin/rvm version
DEBUG [65dd6b9d] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [65dd6b9d] Finished in 0.367 seconds with exit status 0 (successful).
DEBUG [f848ed24] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [f848ed24] Command: ~/.rvm/bin/rvm current
DEBUG [f848ed24] ruby-2.3.4
DEBUG [f848ed24] Finished in 0.384 seconds with exit status 0 (successful).
DEBUG [5e64158d] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [5e64158d] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [5e64158d] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [5e64158d] Finished in 0.519 seconds with exit status 0 (successful).
INFO [04f086dc] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [04f086dc] Command: /usr/bin/env mkdir -p /tmp
INFO [04f086dc] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [de5995dd] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [de5995dd] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [de5995dd] Finished in 0.143 seconds with exit status 0 (successful).
INFO [0eb4ea72] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [0eb4ea72] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [0eb4ea72] 0bfa0185e1e449b92af2cfd20612ca0d2b2f1aa1 HEAD
INFO [0eb4ea72] Finished in 0.578 seconds with exit status 0 (successful).
INFO [d322acd8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [d322acd8] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [d322acd8] Finished in 0.137 seconds with exit status 0 (successful).
INFO [79a0e830] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [79a0e830] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [79a0e830] Finished in 0.141 seconds with exit status 0 (successful).
INFO [1c75dbdf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [1c75dbdf] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [1c75dbdf] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [52eebdc8] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [52eebdc8] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [52eebdc8] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [556ef191] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [556ef191] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [556ef191] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [1eef3036] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [1eef3036] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [1eef3036] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [21068c3c] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [21068c3c] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [21068c3c] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [de1810ba] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [de1810ba] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [de1810ba] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [0a638182] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [0a638182] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [0a638182] 0cf3ee9180151ff61713c986e611faebc9acb4f5
DEBUG [0a638182] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [41b28bb6] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [41b28bb6] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [41b28bb6] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [ce3ca513] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [ce3ca513] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [ce3ca513] Finished in 0.137 seconds with exit status 0 (successful).
INFO [6f401e71] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [6f401e71] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [6f401e71] Finished in 0.144 seconds with exit status 0 (successful).
INFO [19faa3e6] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [19faa3e6] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [19faa3e6] Fetching origin
DEBUG [19faa3e6] From bitbucket.org:avanraven/infraplan
e073d74..2a8433e feature/predict_modeling -> feature/predict_modeling
DEBUG [19faa3e6] 82e9ea2..e8e9351 jg-database-backup-on-deploy -> jg-
database-backup-on-deploy
DEBUG [19faa3e6] 0cf3ee9..0bfa018 master -> master
DEBUG [19faa3e6] 907d33f..e02fd58 staging -> staging
INFO [19faa3e6] Finished in 1.586 seconds with exit status 0 (successful).
DEBUG [00532522] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [00532522] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [00532522] Finished in 0.146 seconds with exit status 0 (successful).
INFO [63500363] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180708 as deploy@li1268-
184.members.linode.com
DEBUG [63500363] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180322180708 )
INFO [63500363] Finished in 0.142 seconds with exit status 0 (successful).
INFO [60cf6ab1] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180322180708
as deploy@li1268-184.members.linode.com
DEBUG [60cf6ab1] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180322180708 )
INFO [60cf6ab1] Finished in 0.419 seconds with exit status 0 (successful).
DEBUG [fb22cc28] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [fb22cc28] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [fb22cc28] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [299f6f42] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [299f6f42] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [299f6f42] 2a8433e895433c114835714ea56e92115908291b
DEBUG [299f6f42] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [00c525f1] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322180708; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180708'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [00c525f1] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322180708; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180708'" 1>&2; false; fi
DEBUG [00c525f1] Finished in 0.139 seconds with exit status 0 (successful).
INFO [bf3a6f27] Running /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [bf3a6f27] Command: cd
/home/deploy/infraplan_staging/releases/20180322180708 && /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION
INFO [bf3a6f27] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ae7b3cc1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180708/config as deploy@li1268-
184.members.linode.com
DEBUG [ae7b3cc1] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180708/config
INFO [ae7b3cc1] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [349773d2] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [349773d2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml ]
DEBUG [349773d2] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [a07b65de] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a07b65de] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml ]
DEBUG [a07b65de] Finished in 0.139 seconds with exit status 1 (failed).
INFO [68b1a7bd] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [68b1a7bd] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/database.yml
INFO [68b1a7bd] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [013eedf7] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [013eedf7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml ]
DEBUG [013eedf7] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [7be85da0] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7be85da0] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml ]
DEBUG [7be85da0] Finished in 0.141 seconds with exit status 1 (failed).
INFO [c577c429] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [c577c429] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/secrets.yml
INFO [c577c429] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [413137f8] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [413137f8] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml ]
DEBUG [413137f8] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [0f1af865] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0f1af865] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml ]
DEBUG [0f1af865] Finished in 0.139 seconds with exit status 1 (failed).
INFO [15736d77] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [15736d77] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322180708/config/app_config.yml
INFO [15736d77] Finished in 0.139 seconds with exit status 0 (successful).
INFO [24f31d51] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180708
/home/deploy/infraplan_staging/releases/20180322180708/tmp
/home/deploy/infraplan_staging/releases/20180322180708/public as deploy@li1268-
184.members.linode.com
DEBUG [24f31d51] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180708
/home/deploy/infraplan_staging/releases/20180322180708/tmp
/home/deploy/infraplan_staging/releases/20180322180708/public
INFO [24f31d51] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [d159ec74] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/log ] as deploy@li1268-
184.members.linode.com
DEBUG [d159ec74] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/log ]
DEBUG [d159ec74] Finished in 0.136 seconds with exit status 1 (failed).
DEBUG [671e7031] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/log ] as deploy@li1268-
184.members.linode.com
DEBUG [671e7031] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/log ]
DEBUG [671e7031] Finished in 0.145 seconds with exit status 1 (failed).
INFO [76893d1b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322180708/log as deploy@li1268-
184.members.linode.com
DEBUG [76893d1b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322180708/log
INFO [76893d1b] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [817ae2aa] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [817ae2aa] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids ]
DEBUG [817ae2aa] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [49378ce7] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [49378ce7] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids ]
DEBUG [49378ce7] Finished in 0.140 seconds with exit status 1 (failed).
INFO [89acd634] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [89acd634] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322180708/tmp/pids
INFO [89acd634] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [cae42490] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [cae42490] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache ]
DEBUG [cae42490] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [3022d3a9] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [3022d3a9] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache ]
DEBUG [3022d3a9] Finished in 0.142 seconds with exit status 1 (failed).
INFO [254729ef] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [254729ef] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322180708/tmp/cache
INFO [254729ef] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [783f0d98] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [783f0d98] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets ]
DEBUG [783f0d98] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [207e119c] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [207e119c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets ]
DEBUG [207e119c] Finished in 0.140 seconds with exit status 1 (failed).
INFO [4a518ff9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [4a518ff9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322180708/tmp/sockets
INFO [4a518ff9] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [4ca4b592] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [4ca4b592] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/public/system ]
DEBUG [4ca4b592] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [e6475e50] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [e6475e50] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/public/system ]
DEBUG [e6475e50] Finished in 0.138 seconds with exit status 1 (failed).
INFO [3f1c7048] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322180708/public/system as
deploy@li1268-184.members.linode.com
DEBUG [3f1c7048] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322180708/public/system
INFO [3f1c7048] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [7bf25e8a] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180708/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [7bf25e8a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180708/public/assets ]
DEBUG [7bf25e8a] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [592d49fe] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180708/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [592d49fe] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180708/public/assets ]
DEBUG [592d49fe] Finished in 0.137 seconds with exit status 0 (successful).
INFO [8d3a6d97] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180708/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [8d3a6d97] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180708/public/assets
INFO [8d3a6d97] Finished in 0.154 seconds with exit status 0 (successful).
INFO [244bf29a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322180708/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [244bf29a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322180708/public/assets
INFO [244bf29a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f320e16a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322180708; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180708'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f320e16a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322180708; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180708'" 1>&2; false; fi
DEBUG [f320e16a] Finished in 0.140 seconds with exit status 0 (successful).
INFO [89d15f0c] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [89d15f0c] Command: cd
/home/deploy/infraplan_staging/releases/20180322180708 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
DEBUG [89d15f0c] You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have deleted from the Gemfile:


* capistrano-passenger (~> 0.1.1)
* capistrano-rbenv (~> 2.0.3)
INFO ---------------------------------------------------------------------------
INFO START 2018-03-22 14:08:41 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [4b362de6] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [4b362de6] Command: [ -d ~/.rvm ]
DEBUG [4b362de6] Finished in 0.542 seconds with exit status 0 (successful).
DEBUG [46855423] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [46855423] Command: ~/.rvm/bin/rvm version
DEBUG [46855423] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [46855423] Finished in 0.387 seconds with exit status 0 (successful).
DEBUG [6fc7d4f3] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [6fc7d4f3] Command: ~/.rvm/bin/rvm current
DEBUG [6fc7d4f3] ruby-2.3.4
DEBUG [6fc7d4f3] Finished in 0.350 seconds with exit status 0 (successful).
DEBUG [6e9c4980] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [6e9c4980] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [6e9c4980] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [6e9c4980] Finished in 0.456 seconds with exit status 0 (successful).
INFO [b3ed6864] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [b3ed6864] Command: /usr/bin/env mkdir -p /tmp
INFO [b3ed6864] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [740d0d8c] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [740d0d8c] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [740d0d8c] Finished in 0.142 seconds with exit status 0 (successful).
INFO [3f876240] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [3f876240] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [3f876240] 0bfa0185e1e449b92af2cfd20612ca0d2b2f1aa1 HEAD
INFO [3f876240] Finished in 0.478 seconds with exit status 0 (successful).
INFO [276c811e] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [276c811e] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [276c811e] Finished in 0.141 seconds with exit status 0 (successful).
INFO [eb826398] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [eb826398] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [eb826398] Finished in 0.139 seconds with exit status 0 (successful).
INFO [d56f3055] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [d56f3055] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [d56f3055] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [5c5e5779] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [5c5e5779] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [5c5e5779] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [84da3c92] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [84da3c92] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [84da3c92] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [e0f71ff7] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [e0f71ff7] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [e0f71ff7] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [1d2b9a69] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [1d2b9a69] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [1d2b9a69] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [951fe317] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [951fe317] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [951fe317] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [f166f70d] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [f166f70d] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [f166f70d] 0cf3ee9180151ff61713c986e611faebc9acb4f5
DEBUG [f166f70d] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [bb4821f3] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [bb4821f3] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [bb4821f3] Finished in 0.137 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [2a2ec8c6] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [2a2ec8c6] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [2a2ec8c6] Finished in 0.137 seconds with exit status 0 (successful).
INFO [8dbef276] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [8dbef276] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [8dbef276] Finished in 0.141 seconds with exit status 0 (successful).
INFO [c1875f98] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [c1875f98] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [c1875f98] Fetching origin
INFO [c1875f98] Finished in 0.476 seconds with exit status 0 (successful).
DEBUG [ed7a1e6c] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [ed7a1e6c] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [ed7a1e6c] Finished in 0.139 seconds with exit status 0 (successful).
INFO [6c2335f4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180845 as deploy@li1268-
184.members.linode.com
DEBUG [6c2335f4] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180322180845 )
INFO [6c2335f4] Finished in 0.142 seconds with exit status 0 (successful).
INFO [d0e84d23] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180322180845
as deploy@li1268-184.members.linode.com
DEBUG [d0e84d23] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180322180845 )
INFO [d0e84d23] Finished in 0.405 seconds with exit status 0 (successful).
DEBUG [cda128f8] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [cda128f8] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [cda128f8] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [2c576e3a] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [2c576e3a] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [2c576e3a] 2a8433e895433c114835714ea56e92115908291b
DEBUG [2c576e3a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [64b02229] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322180845; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180845'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [64b02229] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322180845; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180845'" 1>&2; false; fi
DEBUG [64b02229] Finished in 0.139 seconds with exit status 0 (successful).
INFO [87fa0be4] Running /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [87fa0be4] Command: cd
/home/deploy/infraplan_staging/releases/20180322180845 && /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION
INFO [87fa0be4] Finished in 0.141 seconds with exit status 0 (successful).
INFO [e29263f4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180845/config as deploy@li1268-
184.members.linode.com
DEBUG [e29263f4] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180845/config
INFO [e29263f4] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [c0850c5b] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [c0850c5b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml ]
DEBUG [c0850c5b] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [220e0643] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [220e0643] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml ]
DEBUG [220e0643] Finished in 0.136 seconds with exit status 1 (failed).
INFO [2b5c6422] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [2b5c6422] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/database.yml
INFO [2b5c6422] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [6a6b615e] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6a6b615e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml ]
DEBUG [6a6b615e] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [46bb50ea] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [46bb50ea] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml ]
DEBUG [46bb50ea] Finished in 0.139 seconds with exit status 1 (failed).
INFO [978271a5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [978271a5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/secrets.yml
INFO [978271a5] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [ed175b04] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ed175b04] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml ]
DEBUG [ed175b04] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [93ae5241] Running [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [93ae5241] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml ]
DEBUG [93ae5241] Finished in 0.137 seconds with exit status 1 (failed).
INFO [d82f09fb] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [d82f09fb] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322180845/config/app_config.yml
INFO [d82f09fb] Finished in 0.139 seconds with exit status 0 (successful).
INFO [cc5e622f] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180845
/home/deploy/infraplan_staging/releases/20180322180845/tmp
/home/deploy/infraplan_staging/releases/20180322180845/public as deploy@li1268-
184.members.linode.com
DEBUG [cc5e622f] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322180845
/home/deploy/infraplan_staging/releases/20180322180845/tmp
/home/deploy/infraplan_staging/releases/20180322180845/public
INFO [cc5e622f] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [1097034e] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/log ] as deploy@li1268-
184.members.linode.com
DEBUG [1097034e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/log ]
DEBUG [1097034e] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [4546fc04] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4546fc04] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/log ]
DEBUG [4546fc04] Finished in 0.142 seconds with exit status 1 (failed).
INFO [b98838df] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322180845/log as deploy@li1268-
184.members.linode.com
DEBUG [b98838df] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322180845/log
INFO [b98838df] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [0332034c] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [0332034c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids ]
DEBUG [0332034c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [bd1783c3] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [bd1783c3] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids ]
DEBUG [bd1783c3] Finished in 0.139 seconds with exit status 1 (failed).
INFO [1e2bb8b2] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [1e2bb8b2] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322180845/tmp/pids
INFO [1e2bb8b2] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5bd9068f] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [5bd9068f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache ]
DEBUG [5bd9068f] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [5e10b80c] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [5e10b80c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache ]
DEBUG [5e10b80c] Finished in 0.140 seconds with exit status 1 (failed).
INFO [26ffd491] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [26ffd491] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322180845/tmp/cache
INFO [26ffd491] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [e0157e50] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [e0157e50] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets ]
DEBUG [e0157e50] Finished in 0.136 seconds with exit status 1 (failed).
DEBUG [81da0724] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [81da0724] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets ]
DEBUG [81da0724] Finished in 0.139 seconds with exit status 1 (failed).
INFO [bbe4fed4] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [bbe4fed4] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322180845/tmp/sockets
INFO [bbe4fed4] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [3606a676] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [3606a676] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/public/system ]
DEBUG [3606a676] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [0f1f16cf] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [0f1f16cf] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/public/system ]
DEBUG [0f1f16cf] Finished in 0.141 seconds with exit status 1 (failed).
INFO [28197796] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322180845/public/system as
deploy@li1268-184.members.linode.com
DEBUG [28197796] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322180845/public/system
INFO [28197796] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [6dcae571] Running [ -L
/home/deploy/infraplan_staging/releases/20180322180845/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [6dcae571] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322180845/public/assets ]
DEBUG [6dcae571] Finished in 0.136 seconds with exit status 1 (failed).
DEBUG [fc5e8ed3] Running [ -d
/home/deploy/infraplan_staging/releases/20180322180845/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [fc5e8ed3] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322180845/public/assets ]
DEBUG [fc5e8ed3] Finished in 0.138 seconds with exit status 0 (successful).
INFO [18864100] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180845/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [18864100] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180845/public/assets
INFO [18864100] Finished in 0.149 seconds with exit status 0 (successful).
INFO [e3e30bfb] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322180845/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [e3e30bfb] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322180845/public/assets
INFO [e3e30bfb] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [ab01d1c0] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322180845; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180845'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ab01d1c0] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322180845; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322180845'" 1>&2; false; fi
DEBUG [ab01d1c0] Finished in 0.141 seconds with exit status 0 (successful).
INFO [24d8b4e5] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [24d8b4e5] Command: cd
/home/deploy/infraplan_staging/releases/20180322180845 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
DEBUG [24d8b4e5] You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have deleted from the Gemfile:


* capistrano-passenger (~> 0.1.1)
* capistrano-rbenv (~> 2.0.3)
INFO ---------------------------------------------------------------------------
INFO START 2018-03-22 14:11:30 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [593075e5] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [593075e5] Command: [ -d ~/.rvm ]
DEBUG [593075e5] Finished in 0.551 seconds with exit status 0 (successful).
DEBUG [3082cdb9] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [3082cdb9] Command: ~/.rvm/bin/rvm version
DEBUG [3082cdb9] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [3082cdb9] Finished in 0.352 seconds with exit status 0 (successful).
DEBUG [0a9328ab] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [0a9328ab] Command: ~/.rvm/bin/rvm current
DEBUG [0a9328ab] ruby-2.3.4
DEBUG [0a9328ab] Finished in 0.343 seconds with exit status 0 (successful).
DEBUG [01fc47f5] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [01fc47f5] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [01fc47f5] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [01fc47f5] Finished in 0.511 seconds with exit status 0 (successful).
INFO [a5849a89] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [a5849a89] Command: /usr/bin/env mkdir -p /tmp
INFO [a5849a89] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [5b1230da] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [5b1230da] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [5b1230da] Finished in 0.140 seconds with exit status 0 (successful).
INFO [efd6bda4] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [efd6bda4] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [efd6bda4] 0bfa0185e1e449b92af2cfd20612ca0d2b2f1aa1 HEAD
INFO [efd6bda4] Finished in 0.513 seconds with exit status 0 (successful).
INFO [f27e6258] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [f27e6258] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [f27e6258] Finished in 0.135 seconds with exit status 0 (successful).
INFO [be1a615f] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [be1a615f] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [be1a615f] Finished in 0.139 seconds with exit status 0 (successful).
INFO [eec2bbe8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [eec2bbe8] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [eec2bbe8] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [2baea31f] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [2baea31f] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [2baea31f] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [1d26a7f4] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [1d26a7f4] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [1d26a7f4] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c91da81d] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [c91da81d] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [c91da81d] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b0667758] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [b0667758] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [b0667758] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [30669b52] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [30669b52] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [30669b52] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [300e50fe] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [300e50fe] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [300e50fe] 0cf3ee9180151ff61713c986e611faebc9acb4f5
DEBUG [300e50fe] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [e8a0fbc0] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [e8a0fbc0] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [e8a0fbc0] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [7c255e38] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [7c255e38] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [7c255e38] Finished in 0.138 seconds with exit status 0 (successful).
INFO [74df1e1b] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [74df1e1b] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [74df1e1b] Finished in 0.142 seconds with exit status 0 (successful).
INFO [c5513d3b] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [c5513d3b] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [c5513d3b] Fetching origin
INFO [c5513d3b] Finished in 0.494 seconds with exit status 0 (successful).
DEBUG [6c38703a] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [6c38703a] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [6c38703a] Finished in 0.139 seconds with exit status 0 (successful).
INFO [96dfc2bd] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181134 as deploy@li1268-
184.members.linode.com
DEBUG [96dfc2bd] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180322181134 )
INFO [96dfc2bd] Finished in 0.141 seconds with exit status 0 (successful).
INFO [3d4382a3] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180322181134
as deploy@li1268-184.members.linode.com
DEBUG [3d4382a3] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180322181134 )
INFO [3d4382a3] Finished in 0.354 seconds with exit status 0 (successful).
DEBUG [a5694718] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [a5694718] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [a5694718] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [5a87e186] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [5a87e186] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [5a87e186] 2a8433e895433c114835714ea56e92115908291b
DEBUG [5a87e186] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [7deb56e2] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181134; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181134'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [7deb56e2] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181134; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181134'" 1>&2; false; fi
DEBUG [7deb56e2] Finished in 0.142 seconds with exit status 0 (successful).
INFO [0263cbdb] Running /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [0263cbdb] Command: cd
/home/deploy/infraplan_staging/releases/20180322181134 && /usr/bin/env echo
"2a8433e895433c114835714ea56e92115908291b" >> REVISION
INFO [0263cbdb] Finished in 0.145 seconds with exit status 0 (successful).
INFO [6fe20b5f] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181134/config as deploy@li1268-
184.members.linode.com
DEBUG [6fe20b5f] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181134/config
INFO [6fe20b5f] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [e4531759] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [e4531759] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml ]
DEBUG [e4531759] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [89148516] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [89148516] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml ]
DEBUG [89148516] Finished in 0.141 seconds with exit status 1 (failed).
INFO [ee6d19cb] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [ee6d19cb] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/database.yml
INFO [ee6d19cb] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [8de4aaa1] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [8de4aaa1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml ]
DEBUG [8de4aaa1] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [e47bceda] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [e47bceda] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml ]
DEBUG [e47bceda] Finished in 0.140 seconds with exit status 1 (failed).
INFO [7c952e62] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [7c952e62] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/secrets.yml
INFO [7c952e62] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c7db3fe1] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [c7db3fe1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml ]
DEBUG [c7db3fe1] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [6021e33b] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6021e33b] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml ]
DEBUG [6021e33b] Finished in 0.139 seconds with exit status 1 (failed).
INFO [69bfc028] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [69bfc028] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322181134/config/app_config.yml
INFO [69bfc028] Finished in 0.147 seconds with exit status 0 (successful).
INFO [c5de29c4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181134
/home/deploy/infraplan_staging/releases/20180322181134/tmp
/home/deploy/infraplan_staging/releases/20180322181134/public as deploy@li1268-
184.members.linode.com
DEBUG [c5de29c4] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181134
/home/deploy/infraplan_staging/releases/20180322181134/tmp
/home/deploy/infraplan_staging/releases/20180322181134/public
INFO [c5de29c4] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [8f549da2] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/log ] as deploy@li1268-
184.members.linode.com
DEBUG [8f549da2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/log ]
DEBUG [8f549da2] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [0dc2e844] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/log ] as deploy@li1268-
184.members.linode.com
DEBUG [0dc2e844] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/log ]
DEBUG [0dc2e844] Finished in 0.139 seconds with exit status 1 (failed).
INFO [fd9352d4] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322181134/log as deploy@li1268-
184.members.linode.com
DEBUG [fd9352d4] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322181134/log
INFO [fd9352d4] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [4ebf239b] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [4ebf239b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids ]
DEBUG [4ebf239b] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [92bbb1cb] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [92bbb1cb] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids ]
DEBUG [92bbb1cb] Finished in 0.140 seconds with exit status 1 (failed).
INFO [7786501e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [7786501e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322181134/tmp/pids
INFO [7786501e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [eeef35f3] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [eeef35f3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache ]
DEBUG [eeef35f3] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [cc82f4f5] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [cc82f4f5] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache ]
DEBUG [cc82f4f5] Finished in 0.138 seconds with exit status 1 (failed).
INFO [58aac2c8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [58aac2c8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322181134/tmp/cache
INFO [58aac2c8] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [84d78c51] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [84d78c51] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets ]
DEBUG [84d78c51] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [13c32723] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [13c32723] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets ]
DEBUG [13c32723] Finished in 0.141 seconds with exit status 1 (failed).
INFO [a73e1877] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [a73e1877] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322181134/tmp/sockets
INFO [a73e1877] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [a0788ea3] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [a0788ea3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/public/system ]
DEBUG [a0788ea3] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [16517d29] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [16517d29] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/public/system ]
DEBUG [16517d29] Finished in 0.140 seconds with exit status 1 (failed).
INFO [601c40c5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322181134/public/system as
deploy@li1268-184.members.linode.com
DEBUG [601c40c5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322181134/public/system
INFO [601c40c5] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [a8e9c4c7] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181134/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [a8e9c4c7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181134/public/assets ]
DEBUG [a8e9c4c7] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [0e8638d1] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181134/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [0e8638d1] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181134/public/assets ]
DEBUG [0e8638d1] Finished in 0.137 seconds with exit status 0 (successful).
INFO [df9b146c] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181134/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [df9b146c] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181134/public/assets
INFO [df9b146c] Finished in 0.148 seconds with exit status 0 (successful).
INFO [21fdc9fd] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322181134/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [21fdc9fd] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322181134/public/assets
INFO [21fdc9fd] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [ac0d7b35] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181134; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181134'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ac0d7b35] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181134; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181134'" 1>&2; false; fi
DEBUG [ac0d7b35] Finished in 0.137 seconds with exit status 0 (successful).
INFO [f17f9d2c] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [f17f9d2c] Command: cd
/home/deploy/infraplan_staging/releases/20180322181134 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
DEBUG [f17f9d2c] You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have deleted from the Gemfile:


* capistrano-passenger (~> 0.1.1)
* capistrano-rbenv (~> 2.0.3)
INFO ---------------------------------------------------------------------------
INFO START 2018-03-22 14:12:13 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [f790fc13] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [f790fc13] Command: [ -d ~/.rvm ]
DEBUG [f790fc13] Finished in 0.542 seconds with exit status 0 (successful).
DEBUG [7ff425d1] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [7ff425d1] Command: ~/.rvm/bin/rvm version
DEBUG [7ff425d1] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [7ff425d1] Finished in 0.384 seconds with exit status 0 (successful).
DEBUG [e1a5abf6] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [e1a5abf6] Command: ~/.rvm/bin/rvm current
DEBUG [e1a5abf6] ruby-2.3.4
DEBUG [e1a5abf6] Finished in 0.357 seconds with exit status 0 (successful).
DEBUG [2f3225ec] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [2f3225ec] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [2f3225ec] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [2f3225ec] Finished in 0.590 seconds with exit status 0 (successful).
INFO [d151f298] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [d151f298] Command: /usr/bin/env mkdir -p /tmp
INFO [d151f298] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [ac7927b7] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [ac7927b7] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [ac7927b7] Finished in 0.140 seconds with exit status 0 (successful).
INFO [f1a49b8d] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [f1a49b8d] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [f1a49b8d] 0bfa0185e1e449b92af2cfd20612ca0d2b2f1aa1 HEAD
INFO [f1a49b8d] Finished in 0.503 seconds with exit status 0 (successful).
INFO [60eff400] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [60eff400] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [60eff400] Finished in 0.141 seconds with exit status 0 (successful).
INFO [b0cd3d5a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [b0cd3d5a] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [b0cd3d5a] Finished in 0.140 seconds with exit status 0 (successful).
INFO [8f1eee0a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [8f1eee0a] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [8f1eee0a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [d7ea618c] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [d7ea618c] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [d7ea618c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [59484693] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [59484693] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [59484693] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [9ef97222] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [9ef97222] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [9ef97222] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [9b237b49] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [9b237b49] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [9b237b49] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [37f0b141] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [37f0b141] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [37f0b141] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [8b7a302d] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [8b7a302d] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [8b7a302d] 0cf3ee9180151ff61713c986e611faebc9acb4f5
DEBUG [8b7a302d] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [f4588537] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [f4588537] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [f4588537] Finished in 0.136 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [99fb8912] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [99fb8912] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [99fb8912] Finished in 0.137 seconds with exit status 0 (successful).
INFO [5bf68361] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [5bf68361] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [5bf68361] Finished in 0.143 seconds with exit status 0 (successful).
INFO [082cdfe2] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [082cdfe2] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [082cdfe2] Fetching origin
DEBUG [082cdfe2] From bitbucket.org:avanraven/infraplan
2a8433e..ae48879 feature/predict_modeling -> feature/predict_modeling
INFO [082cdfe2] Finished in 0.582 seconds with exit status 0 (successful).
DEBUG [67ba7a26] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [67ba7a26] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [67ba7a26] Finished in 0.144 seconds with exit status 0 (successful).
INFO [104a2e62] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218 as deploy@li1268-
184.members.linode.com
DEBUG [104a2e62] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180322181218 )
INFO [104a2e62] Finished in 0.184 seconds with exit status 0 (successful).
INFO [e082119b] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180322181218
as deploy@li1268-184.members.linode.com
DEBUG [e082119b] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180322181218 )
INFO [e082119b] Finished in 0.427 seconds with exit status 0 (successful).
DEBUG [f57dde90] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [f57dde90] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [f57dde90] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [436fef92] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [436fef92] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [436fef92] ae48879d2e107e243029ddc6a90ec9180c0d15ae
DEBUG [436fef92] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [b7df899a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b7df899a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [b7df899a] Finished in 0.152 seconds with exit status 0 (successful).
INFO [5a3cb9d3] Running /usr/bin/env echo
"ae48879d2e107e243029ddc6a90ec9180c0d15ae" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [5a3cb9d3] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && /usr/bin/env echo
"ae48879d2e107e243029ddc6a90ec9180c0d15ae" >> REVISION
INFO [5a3cb9d3] Finished in 0.141 seconds with exit status 0 (successful).
INFO [b098bdde] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218/config as deploy@li1268-
184.members.linode.com
DEBUG [b098bdde] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218/config
INFO [b098bdde] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c360713a] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [c360713a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml ]
DEBUG [c360713a] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [b7ac92bc] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [b7ac92bc] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml ]
DEBUG [b7ac92bc] Finished in 0.139 seconds with exit status 1 (failed).
INFO [49f7c671] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [49f7c671] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/database.yml
INFO [49f7c671] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [5dcbf125] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [5dcbf125] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml ]
DEBUG [5dcbf125] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [75520af3] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [75520af3] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml ]
DEBUG [75520af3] Finished in 0.146 seconds with exit status 1 (failed).
INFO [b376c0ec] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [b376c0ec] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/secrets.yml
INFO [b376c0ec] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [f5d1d566] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f5d1d566] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml ]
DEBUG [f5d1d566] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [74734585] Running [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [74734585] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml ]
DEBUG [74734585] Finished in 0.140 seconds with exit status 1 (failed).
INFO [f2bde522] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [f2bde522] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322181218/config/app_config.yml
INFO [f2bde522] Finished in 0.140 seconds with exit status 0 (successful).
INFO [21a0b984] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218
/home/deploy/infraplan_staging/releases/20180322181218/tmp
/home/deploy/infraplan_staging/releases/20180322181218/public as deploy@li1268-
184.members.linode.com
DEBUG [21a0b984] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218
/home/deploy/infraplan_staging/releases/20180322181218/tmp
/home/deploy/infraplan_staging/releases/20180322181218/public
INFO [21a0b984] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [d78d3f10] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/log ] as deploy@li1268-
184.members.linode.com
DEBUG [d78d3f10] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/log ]
DEBUG [d78d3f10] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [e78c224e] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e78c224e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/log ]
DEBUG [e78c224e] Finished in 0.140 seconds with exit status 1 (failed).
INFO [fedc0f72] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322181218/log as deploy@li1268-
184.members.linode.com
DEBUG [fedc0f72] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322181218/log
INFO [fedc0f72] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [7ebe3dce] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [7ebe3dce] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids ]
DEBUG [7ebe3dce] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [60f54c0c] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [60f54c0c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids ]
DEBUG [60f54c0c] Finished in 0.140 seconds with exit status 1 (failed).
INFO [97bf25cd] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [97bf25cd] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322181218/tmp/pids
INFO [97bf25cd] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [2a1b2127] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [2a1b2127] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache ]
DEBUG [2a1b2127] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [6301368a] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [6301368a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache ]
DEBUG [6301368a] Finished in 0.139 seconds with exit status 1 (failed).
INFO [ee28aebd] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [ee28aebd] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322181218/tmp/cache
INFO [ee28aebd] Finished in 0.152 seconds with exit status 0 (successful).
DEBUG [3ef5e6d2] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [3ef5e6d2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets ]
DEBUG [3ef5e6d2] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [be6e3f75] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [be6e3f75] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets ]
DEBUG [be6e3f75] Finished in 0.141 seconds with exit status 1 (failed).
INFO [da24d56c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [da24d56c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322181218/tmp/sockets
INFO [da24d56c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [d7f47972] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [d7f47972] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/public/system ]
DEBUG [d7f47972] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [1d27d016] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [1d27d016] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/public/system ]
DEBUG [1d27d016] Finished in 0.137 seconds with exit status 1 (failed).
INFO [13b90691] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322181218/public/system as
deploy@li1268-184.members.linode.com
DEBUG [13b90691] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322181218/public/system
INFO [13b90691] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [fd0027a6] Running [ -L
/home/deploy/infraplan_staging/releases/20180322181218/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [fd0027a6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322181218/public/assets ]
DEBUG [fd0027a6] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [ca0d7b03] Running [ -d
/home/deploy/infraplan_staging/releases/20180322181218/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [ca0d7b03] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322181218/public/assets ]
DEBUG [ca0d7b03] Finished in 0.139 seconds with exit status 0 (successful).
INFO [1f61f3ec] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181218/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [1f61f3ec] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181218/public/assets
INFO [1f61f3ec] Finished in 0.148 seconds with exit status 0 (successful).
INFO [8683a330] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322181218/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [8683a330] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322181218/public/assets
INFO [8683a330] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [81a38ab6] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [81a38ab6] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [81a38ab6] Finished in 0.138 seconds with exit status 0 (successful).
INFO [f668f5ef] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [f668f5ef] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [f668f5ef] Finished in 5.988 seconds with exit status 0 (successful).
DEBUG [f3b80092] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f3b80092] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [f3b80092] Finished in 0.137 seconds with exit status 0 (successful).
INFO [1e4ebbc2] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [1e4ebbc2] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
DEBUG [1e4ebbc2] I, [2018-03-22T18:13:44.942131 #17270] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/application-
59cbc01910794ee6a0d067d407c3a169e8838f2b67aaab798a31b201518f4dbc.js
INFO [1e4ebbc2] Finished in 92.756 seconds with exit status 0 (successful).
DEBUG [0a66ae06] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0a66ae06] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [0a66ae06] Finished in 0.162 seconds with exit status 0 (successful).
INFO [8b0995fe] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [8b0995fe] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322181218/assets_manifest_backup
INFO [8b0995fe] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [0deccf50] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [0deccf50] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest*
DEBUG [0deccf50]
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [0deccf50] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [12a10d65] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [12a10d65] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest*
DEBUG [12a10d65]
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [12a10d65] Finished in 0.142 seconds with exit status 0 (successful).
INFO [2f6ed9bc] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180322181218/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [2f6ed9bc] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180322181218/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180322181218/assets_manifest_backup
INFO [2f6ed9bc] Finished in 0.147 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [aeff5833] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [aeff5833] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [aeff5833] Finished in 0.140 seconds with exit status 0 (successful).
INFO [9f8ba0e4] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [9f8ba0e4] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [9f8ba0e4] Finished in 5.533 seconds with exit status 0 (successful).
INFO [a10123b9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180322181218
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [a10123b9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180322181218
/home/deploy/infraplan_staging/releases/current
INFO [a10123b9] Finished in 0.140 seconds with exit status 0 (successful).
INFO [3f05cee9] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [3f05cee9] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [3f05cee9] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f60d416a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f60d416a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322181218; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322181218'" 1>&2; false; fi
DEBUG [f60d416a] Finished in 0.139 seconds with exit status 0 (successful).
INFO [35a238ec] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [35a238ec] Command: cd
/home/deploy/infraplan_staging/releases/20180322181218 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [35a238ec]
/home/deploy/infraplan_staging/releases/20180322181218/app/controllers/predic
t_csv_controller.rb:37: warning: found = in conditional, should be ==
DEBUG [35a238ec] delayed_job: trying to stop process with pid 1217...
DEBUG [35a238ec]
DEBUG [35a238ec] delayed_job: process with pid 1217 successfully stopped.
DEBUG [35a238ec] delayed_job: process with pid 18029 started.
INFO [35a238ec] Finished in 5.889 seconds with exit status 0 (successful).
DEBUG [01b4e166] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [01b4e166] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [01b4e166] 20180316053913 20180316054858 20180320044813
20180320070314 20180320071127
20180322180708 20180322180845 20180322181134 20180322181218
DEBUG [01b4e166] Finished in 0.147 seconds with exit status 0 (successful).
INFO Keeping 5 of 9 deployed releases on li1268-184.members.linode.com
DEBUG [82cafbd9] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [82cafbd9] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [82cafbd9] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [c6ae64ba] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [c6ae64ba] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [c6ae64ba] /home/deploy/infraplan_staging/releases/20180322181218
DEBUG [c6ae64ba] Finished in 0.162 seconds with exit status 0 (successful).
INFO [a8c832d0] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180316053913
/home/deploy/infraplan_staging/releases/20180316054858
/home/deploy/infraplan_staging/releases/20180320044813
/home/deploy/infraplan_staging/releases/20180320070314 as deploy@li1268-
184.members.linode.com
DEBUG [a8c832d0] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180316053913
/home/deploy/infraplan_staging/releases/20180316054858
/home/deploy/infraplan_staging/releases/20180320044813
/home/deploy/infraplan_staging/releases/20180320070314
INFO [a8c832d0] Finished in 0.285 seconds with exit status 0 (successful).
DEBUG [e75f74f5] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [e75f74f5] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [e75f74f5] Finished in 0.136 seconds with exit status 0 (successful).
INFO [a49c3926] Running /usr/bin/env echo "Branch feature/predict_modeling (at
ae48879d2e107e243029ddc6a90ec9180c0d15ae) deployed as release 20180322181218 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [a49c3926] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
ae48879d2e107e243029ddc6a90ec9180c0d15ae) deployed as release 20180322181218 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [a49c3926] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [938ef74f] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [938ef74f] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [938ef74f] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [c9964c2f] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [c9964c2f] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [c9964c2f] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [4f80c77b] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [4f80c77b] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [4f80c77b] Finished in 0.148 seconds with exit status 0 (successful).
INFO [7974ad8b] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [7974ad8b] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [7974ad8b] Command restart sent success
DEBUG [7974ad8b]
INFO [7974ad8b] Finished in 1.007 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-03-22 15:59:01 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [ab99cad4] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [ab99cad4] Command: [ -d ~/.rvm ]
DEBUG [ab99cad4] Finished in 0.582 seconds with exit status 0 (successful).
DEBUG [6d589772] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [6d589772] Command: ~/.rvm/bin/rvm version
DEBUG [6d589772] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [6d589772] Finished in 0.422 seconds with exit status 0 (successful).
DEBUG [53dc54cd] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [53dc54cd] Command: ~/.rvm/bin/rvm current
DEBUG [53dc54cd] ruby-2.3.4
DEBUG [53dc54cd] Finished in 0.396 seconds with exit status 0 (successful).
DEBUG [8c263651] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [8c263651] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [8c263651] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [8c263651] Finished in 0.539 seconds with exit status 0 (successful).
INFO [72aa7198] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [72aa7198] Command: /usr/bin/env mkdir -p /tmp
INFO [72aa7198] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [138e836e] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [138e836e] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [138e836e] Finished in 0.150 seconds with exit status 0 (successful).
INFO [8df545e1] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [8df545e1] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [8df545e1] 0bfa0185e1e449b92af2cfd20612ca0d2b2f1aa1 HEAD
INFO [8df545e1] Finished in 1.057 seconds with exit status 0 (successful).
INFO [7bd66608] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [7bd66608] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [7bd66608] Finished in 0.142 seconds with exit status 0 (successful).
INFO [05631a8b] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [05631a8b] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [05631a8b] Finished in 0.138 seconds with exit status 0 (successful).
INFO [81443814] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [81443814] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [81443814] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [e38c0818] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [e38c0818] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [e38c0818] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [30789e2b] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [30789e2b] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [30789e2b] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [5a1ee8c9] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [5a1ee8c9] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [5a1ee8c9] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [0ea3c297] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [0ea3c297] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [0ea3c297] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [a9357c6a] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [a9357c6a] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [a9357c6a] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [9cf195f9] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [9cf195f9] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [9cf195f9] ae48879d2e107e243029ddc6a90ec9180c0d15ae
DEBUG [9cf195f9] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [51b400f5] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [51b400f5] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [51b400f5] Finished in 0.139 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [cf5127a3] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [cf5127a3] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [cf5127a3] Finished in 0.136 seconds with exit status 0 (successful).
INFO [ef4783f9] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [ef4783f9] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [ef4783f9] Finished in 0.140 seconds with exit status 0 (successful).
INFO [14471785] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [14471785] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [14471785] Fetching origin
DEBUG [14471785] From bitbucket.org:avanraven/infraplan
ae48879..f4f8847 feature/predict_modeling -> feature/predict_modeling
INFO [14471785] Finished in 0.897 seconds with exit status 0 (successful).
DEBUG [6d26cc48] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [6d26cc48] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [6d26cc48] Finished in 0.138 seconds with exit status 0 (successful).
INFO [a0500ac6] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906 as deploy@li1268-
184.members.linode.com
DEBUG [a0500ac6] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180322195906 )
INFO [a0500ac6] Finished in 0.142 seconds with exit status 0 (successful).
INFO [3d7f0760] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180322195906
as deploy@li1268-184.members.linode.com
DEBUG [3d7f0760] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180322195906 )
INFO [3d7f0760] Finished in 0.391 seconds with exit status 0 (successful).
DEBUG [b08c516b] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [b08c516b] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [b08c516b] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [807bcf3c] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [807bcf3c] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [807bcf3c] f4f8847226db2ea740512ff87223a2ea399170db
DEBUG [807bcf3c] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [bc8f8375] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [bc8f8375] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [bc8f8375] Finished in 0.139 seconds with exit status 0 (successful).
INFO [cc1e5284] Running /usr/bin/env echo
"f4f8847226db2ea740512ff87223a2ea399170db" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [cc1e5284] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && /usr/bin/env echo
"f4f8847226db2ea740512ff87223a2ea399170db" >> REVISION
INFO [cc1e5284] Finished in 0.143 seconds with exit status 0 (successful).
INFO [83db829c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906/config as deploy@li1268-
184.members.linode.com
DEBUG [83db829c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906/config
INFO [83db829c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f68108ca] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f68108ca] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml ]
DEBUG [f68108ca] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [7b9450e1] Running [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7b9450e1] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml ]
DEBUG [7b9450e1] Finished in 0.140 seconds with exit status 1 (failed).
INFO [9e893195] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [9e893195] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/database.yml
INFO [9e893195] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [a22127f1] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a22127f1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml ]
DEBUG [a22127f1] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [0eec1933] Running [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0eec1933] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml ]
DEBUG [0eec1933] Finished in 0.143 seconds with exit status 1 (failed).
INFO [b7d61d09] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [b7d61d09] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/secrets.yml
INFO [b7d61d09] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f3fe3648] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f3fe3648] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml ]
DEBUG [f3fe3648] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [ccd73bff] Running [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ccd73bff] Command: [ -f
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml ]
DEBUG [ccd73bff] Finished in 0.140 seconds with exit status 1 (failed).
INFO [dfc95861] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [dfc95861] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180322195906/config/app_config.yml
INFO [dfc95861] Finished in 0.139 seconds with exit status 0 (successful).
INFO [f06bc35d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906
/home/deploy/infraplan_staging/releases/20180322195906/tmp
/home/deploy/infraplan_staging/releases/20180322195906/public as deploy@li1268-
184.members.linode.com
DEBUG [f06bc35d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906
/home/deploy/infraplan_staging/releases/20180322195906/tmp
/home/deploy/infraplan_staging/releases/20180322195906/public
INFO [f06bc35d] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [e077b8d0] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e077b8d0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/log ]
DEBUG [e077b8d0] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [a36780fe] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/log ] as deploy@li1268-
184.members.linode.com
DEBUG [a36780fe] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/log ]
DEBUG [a36780fe] Finished in 0.139 seconds with exit status 1 (failed).
INFO [9aed4e6d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322195906/log as deploy@li1268-
184.members.linode.com
DEBUG [9aed4e6d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180322195906/log
INFO [9aed4e6d] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [b0da2dc0] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [b0da2dc0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids ]
DEBUG [b0da2dc0] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [6297f704] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [6297f704] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids ]
DEBUG [6297f704] Finished in 0.141 seconds with exit status 1 (failed).
INFO [b1ec0b22] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [b1ec0b22] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180322195906/tmp/pids
INFO [b1ec0b22] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [bbcc4f26] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [bbcc4f26] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache ]
DEBUG [bbcc4f26] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [7acc548a] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [7acc548a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache ]
DEBUG [7acc548a] Finished in 0.138 seconds with exit status 1 (failed).
INFO [9a1fe5d3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [9a1fe5d3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180322195906/tmp/cache
INFO [9a1fe5d3] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [0f925cd0] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [0f925cd0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets ]
DEBUG [0f925cd0] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [74bbc57a] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [74bbc57a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets ]
DEBUG [74bbc57a] Finished in 0.137 seconds with exit status 1 (failed).
INFO [448b42f5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [448b42f5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180322195906/tmp/sockets
INFO [448b42f5] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [7475b62e] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [7475b62e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/public/system ]
DEBUG [7475b62e] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [391848bd] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [391848bd] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/public/system ]
DEBUG [391848bd] Finished in 0.142 seconds with exit status 1 (failed).
INFO [c76f0579] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322195906/public/system as
deploy@li1268-184.members.linode.com
DEBUG [c76f0579] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180322195906/public/system
INFO [c76f0579] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1ef1f06c] Running [ -L
/home/deploy/infraplan_staging/releases/20180322195906/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [1ef1f06c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180322195906/public/assets ]
DEBUG [1ef1f06c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [6780fb6e] Running [ -d
/home/deploy/infraplan_staging/releases/20180322195906/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [6780fb6e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180322195906/public/assets ]
DEBUG [6780fb6e] Finished in 0.139 seconds with exit status 0 (successful).
INFO [1a613c16] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322195906/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [1a613c16] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322195906/public/assets
INFO [1a613c16] Finished in 0.150 seconds with exit status 0 (successful).
INFO [47f5344d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322195906/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [47f5344d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180322195906/public/assets
INFO [47f5344d] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [cce61ebb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [cce61ebb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [cce61ebb] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2fe23b73] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [2fe23b73] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [2fe23b73] Finished in 1.576 seconds with exit status 0 (successful).
DEBUG [f180c473] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f180c473] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [f180c473] Finished in 0.135 seconds with exit status 0 (successful).
INFO [c7ef017c] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [c7ef017c] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [c7ef017c] Finished in 3.831 seconds with exit status 0 (successful).
DEBUG [f69479f7] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f69479f7] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [f69479f7] Finished in 0.139 seconds with exit status 0 (successful).
INFO [6aa7bf60] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [6aa7bf60] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180322195906/assets_manifest_backup
INFO [6aa7bf60] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [cb5b59b4] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [cb5b59b4] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest*
DEBUG [cb5b59b4]
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [cb5b59b4] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [a9bd7009] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [a9bd7009] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest*
DEBUG [a9bd7009]
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [a9bd7009] Finished in 0.140 seconds with exit status 0 (successful).
INFO [408e7d01] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180322195906/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [408e7d01] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180322195906/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180322195906/assets_manifest_backup
INFO [408e7d01] Finished in 0.141 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [ae8597e6] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ae8597e6] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [ae8597e6] Finished in 0.138 seconds with exit status 0 (successful).
INFO [9caf5c72] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [9caf5c72] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [9caf5c72] Finished in 3.704 seconds with exit status 0 (successful).
INFO [93a197d8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180322195906
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [93a197d8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180322195906
/home/deploy/infraplan_staging/releases/current
INFO [93a197d8] Finished in 0.136 seconds with exit status 0 (successful).
INFO [eaa4c944] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [eaa4c944] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [eaa4c944] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5de8ed9d] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5de8ed9d] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180322195906; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180322195906'" 1>&2; false; fi
DEBUG [5de8ed9d] Finished in 0.138 seconds with exit status 0 (successful).
INFO [982b2ed2] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [982b2ed2] Command: cd
/home/deploy/infraplan_staging/releases/20180322195906 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [982b2ed2]
/home/deploy/infraplan_staging/releases/20180322195906/app/controllers/predic
t_csv_controller.rb:37: warning: found = in conditional, should be ==
DEBUG [982b2ed2] delayed_job: trying to stop process with pid 18029...
DEBUG [982b2ed2]
DEBUG [982b2ed2] delayed_job: process with pid 18029 successfully stopped.
DEBUG [982b2ed2] delayed_job: process with pid 20181 started.
INFO [982b2ed2] Finished in 5.353 seconds with exit status 0 (successful).
DEBUG [02968c67] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [02968c67] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [02968c67] 20180320071127 20180322180708 20180322180845
20180322181134 20180322181218
20180322195906
DEBUG [02968c67] Finished in 0.137 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [a6a89661] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [a6a89661] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [a6a89661] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [4a6720d5] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [4a6720d5] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [4a6720d5] /home/deploy/infraplan_staging/releases/20180322195906
DEBUG [4a6720d5] Finished in 0.140 seconds with exit status 0 (successful).
INFO [b0e4869d] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180320071127 as deploy@li1268-
184.members.linode.com
DEBUG [b0e4869d] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180320071127
INFO [b0e4869d] Finished in 0.183 seconds with exit status 0 (successful).
DEBUG [70bbd162] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [70bbd162] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [70bbd162] Finished in 0.140 seconds with exit status 0 (successful).
INFO [82328afc] Running /usr/bin/env echo "Branch feature/predict_modeling (at
f4f8847226db2ea740512ff87223a2ea399170db) deployed as release 20180322195906 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [82328afc] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
f4f8847226db2ea740512ff87223a2ea399170db) deployed as release 20180322195906 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [82328afc] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [799d435a] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [799d435a] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [799d435a] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [793f2009] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [793f2009] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [793f2009] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [3f3337bc] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [3f3337bc] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [3f3337bc] Finished in 0.144 seconds with exit status 0 (successful).
INFO [c6ffc3c4] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [c6ffc3c4] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [c6ffc3c4] Command restart sent success
DEBUG [c6ffc3c4]
INFO [c6ffc3c4] Finished in 0.985 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-03-24 04:09:54 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [6821710d] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [6821710d] Command: [ -d ~/.rvm ]
DEBUG [6821710d] Finished in 0.641 seconds with exit status 0 (successful).
DEBUG [132ea0d4] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [132ea0d4] Command: ~/.rvm/bin/rvm version
DEBUG [132ea0d4] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [132ea0d4] Finished in 0.347 seconds with exit status 0 (successful).
DEBUG [35636e3d] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [35636e3d] Command: ~/.rvm/bin/rvm current
DEBUG [35636e3d] ruby-2.3.4
DEBUG [35636e3d] Finished in 0.344 seconds with exit status 0 (successful).
DEBUG [d69bb63e] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [d69bb63e] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [d69bb63e] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [d69bb63e] Finished in 0.474 seconds with exit status 0 (successful).
INFO [d5cf5618] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [d5cf5618] Command: /usr/bin/env mkdir -p /tmp
INFO [d5cf5618] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [1153bc25] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [1153bc25] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [1153bc25] Finished in 0.138 seconds with exit status 0 (successful).
INFO [14e592a0] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [14e592a0] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [14e592a0] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [14e592a0] Finished in 0.484 seconds with exit status 0 (successful).
INFO [2a50becf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [2a50becf] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [2a50becf] Finished in 0.141 seconds with exit status 0 (successful).
INFO [5432d834] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [5432d834] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [5432d834] Finished in 0.138 seconds with exit status 0 (successful).
INFO [236f9c06] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [236f9c06] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [236f9c06] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [981aa65e] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [981aa65e] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [981aa65e] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [62e3eba2] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [62e3eba2] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [62e3eba2] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [6b214554] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [6b214554] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [6b214554] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [6babce40] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [6babce40] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [6babce40] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ac54e90b] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [ac54e90b] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [ac54e90b] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ead81d66] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [ead81d66] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [ead81d66] 4ad1b209831f4fef5401a7111c019456bb2f4ad2
DEBUG [ead81d66] Finished in 0.160 seconds with exit status 0 (successful).
DEBUG [f0a5954b] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [f0a5954b] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [f0a5954b] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [48c95bb1] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [48c95bb1] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [48c95bb1] Finished in 0.136 seconds with exit status 0 (successful).
INFO [0bb5352f] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [0bb5352f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [0bb5352f] Finished in 0.140 seconds with exit status 0 (successful).
INFO [d39c6452] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [d39c6452] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [d39c6452] Fetching origin
DEBUG [d39c6452] From bitbucket.org:avanraven/infraplan
f4f8847..e0d5900 feature/predict_modeling -> feature/predict_modeling
INFO [d39c6452] Finished in 0.569 seconds with exit status 0 (successful).
DEBUG [a67e5099] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [a67e5099] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [a67e5099] Finished in 0.138 seconds with exit status 0 (successful).
INFO [46311828] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958 as deploy@li1268-
184.members.linode.com
DEBUG [46311828] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180324080958 )
INFO [46311828] Finished in 0.142 seconds with exit status 0 (successful).
INFO [d905c2b0] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180324080958
as deploy@li1268-184.members.linode.com
DEBUG [d905c2b0] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180324080958 )
INFO [d905c2b0] Finished in 0.365 seconds with exit status 0 (successful).
DEBUG [48e0f2e6] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [48e0f2e6] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [48e0f2e6] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [814363cb] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [814363cb] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [814363cb] e0d5900fd054db848a5e77201e06a080175cbb04
DEBUG [814363cb] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [a7e674f4] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [a7e674f4] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [a7e674f4] Finished in 0.142 seconds with exit status 0 (successful).
INFO [2a1d49d4] Running /usr/bin/env echo
"e0d5900fd054db848a5e77201e06a080175cbb04" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [2a1d49d4] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && /usr/bin/env echo
"e0d5900fd054db848a5e77201e06a080175cbb04" >> REVISION
INFO [2a1d49d4] Finished in 0.139 seconds with exit status 0 (successful).
INFO [09fc0129] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958/config as deploy@li1268-
184.members.linode.com
DEBUG [09fc0129] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958/config
INFO [09fc0129] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [3e9160e4] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [3e9160e4] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml ]
DEBUG [3e9160e4] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [42f42cc9] Running [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [42f42cc9] Command: [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml ]
DEBUG [42f42cc9] Finished in 0.138 seconds with exit status 1 (failed).
INFO [a951b4e5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [a951b4e5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/database.yml
INFO [a951b4e5] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [85352dbe] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [85352dbe] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml ]
DEBUG [85352dbe] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [6ca18034] Running [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6ca18034] Command: [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml ]
DEBUG [6ca18034] Finished in 0.145 seconds with exit status 1 (failed).
INFO [fec26417] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [fec26417] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/secrets.yml
INFO [fec26417] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [dca7a04c] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [dca7a04c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml ]
DEBUG [dca7a04c] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [73106c14] Running [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [73106c14] Command: [ -f
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml ]
DEBUG [73106c14] Finished in 0.145 seconds with exit status 1 (failed).
INFO [7bf1e820] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [7bf1e820] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180324080958/config/app_config.yml
INFO [7bf1e820] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ac4ffb7d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958
/home/deploy/infraplan_staging/releases/20180324080958/tmp
/home/deploy/infraplan_staging/releases/20180324080958/public as deploy@li1268-
184.members.linode.com
DEBUG [ac4ffb7d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958
/home/deploy/infraplan_staging/releases/20180324080958/tmp
/home/deploy/infraplan_staging/releases/20180324080958/public
INFO [ac4ffb7d] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [e805276b] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e805276b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/log ]
DEBUG [e805276b] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [4b9625e4] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4b9625e4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/log ]
DEBUG [4b9625e4] Finished in 0.140 seconds with exit status 1 (failed).
INFO [9759b2b9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180324080958/log as deploy@li1268-
184.members.linode.com
DEBUG [9759b2b9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180324080958/log
INFO [9759b2b9] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [e037efdc] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [e037efdc] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids ]
DEBUG [e037efdc] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [68bfd1b4] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [68bfd1b4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids ]
DEBUG [68bfd1b4] Finished in 0.146 seconds with exit status 1 (failed).
INFO [43dcb340] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [43dcb340] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180324080958/tmp/pids
INFO [43dcb340] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [42101572] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [42101572] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache ]
DEBUG [42101572] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [8e4943ad] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [8e4943ad] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache ]
DEBUG [8e4943ad] Finished in 0.141 seconds with exit status 1 (failed).
INFO [458f3146] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [458f3146] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180324080958/tmp/cache
INFO [458f3146] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [6498413b] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [6498413b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets ]
DEBUG [6498413b] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [82a66151] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [82a66151] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets ]
DEBUG [82a66151] Finished in 0.141 seconds with exit status 1 (failed).
INFO [a2a9d3f3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [a2a9d3f3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180324080958/tmp/sockets
INFO [a2a9d3f3] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [00a31106] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [00a31106] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/public/system ]
DEBUG [00a31106] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [3cf00eb2] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [3cf00eb2] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/public/system ]
DEBUG [3cf00eb2] Finished in 0.145 seconds with exit status 1 (failed).
INFO [83c0c446] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180324080958/public/system as
deploy@li1268-184.members.linode.com
DEBUG [83c0c446] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180324080958/public/system
INFO [83c0c446] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [76752817] Running [ -L
/home/deploy/infraplan_staging/releases/20180324080958/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [76752817] Command: [ -L
/home/deploy/infraplan_staging/releases/20180324080958/public/assets ]
DEBUG [76752817] Finished in 0.146 seconds with exit status 1 (failed).
DEBUG [209cc219] Running [ -d
/home/deploy/infraplan_staging/releases/20180324080958/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [209cc219] Command: [ -d
/home/deploy/infraplan_staging/releases/20180324080958/public/assets ]
DEBUG [209cc219] Finished in 0.142 seconds with exit status 0 (successful).
INFO [914ac1b5] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180324080958/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [914ac1b5] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180324080958/public/assets
INFO [914ac1b5] Finished in 0.151 seconds with exit status 0 (successful).
INFO [0112b233] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180324080958/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [0112b233] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180324080958/public/assets
INFO [0112b233] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [41c84ddc] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [41c84ddc] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [41c84ddc] Finished in 0.140 seconds with exit status 0 (successful).
INFO [615033e9] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [615033e9] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [615033e9] Finished in 1.412 seconds with exit status 0 (successful).
DEBUG [730a306d] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [730a306d] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [730a306d] Finished in 0.145 seconds with exit status 0 (successful).
INFO [c02210ec] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [c02210ec] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [c02210ec] Finished in 4.442 seconds with exit status 0 (successful).
DEBUG [0ca01213] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0ca01213] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [0ca01213] Finished in 0.139 seconds with exit status 0 (successful).
INFO [37c8955b] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [37c8955b] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180324080958/assets_manifest_backup
INFO [37c8955b] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b7cf5019] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [b7cf5019] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest*
DEBUG [b7cf5019]
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [b7cf5019] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [51814ec2] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [51814ec2] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest*
DEBUG [51814ec2]
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [51814ec2] Finished in 0.141 seconds with exit status 0 (successful).
INFO [e36a0455] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180324080958/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [e36a0455] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180324080958/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180324080958/assets_manifest_backup
INFO [e36a0455] Finished in 0.138 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [08c543dc] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [08c543dc] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [08c543dc] Finished in 0.142 seconds with exit status 0 (successful).
INFO [1327ab8f] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [1327ab8f] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [1327ab8f] Finished in 3.431 seconds with exit status 0 (successful).
INFO [dfa2589a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180324080958
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [dfa2589a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180324080958
/home/deploy/infraplan_staging/releases/current
INFO [dfa2589a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [e71e904b] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [e71e904b] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [e71e904b] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [063ef320] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [063ef320] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180324080958; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180324080958'" 1>&2; false; fi
DEBUG [063ef320] Finished in 0.137 seconds with exit status 0 (successful).
INFO [9dfb22de] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [9dfb22de] Command: cd
/home/deploy/infraplan_staging/releases/20180324080958 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [9dfb22de]
/home/deploy/infraplan_staging/releases/20180324080958/app/controllers/predic
t_csv_controller.rb:37: warning: found = in conditional, should be ==
DEBUG [9dfb22de] delayed_job: trying to stop process with pid 27433...
DEBUG [9dfb22de]
DEBUG [9dfb22de] delayed_job: process with pid 27433 successfully stopped.
DEBUG [9dfb22de] delayed_job: process with pid 32045 started.
INFO [9dfb22de] Finished in 5.138 seconds with exit status 0 (successful).
DEBUG [c7cc1d6c] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [c7cc1d6c] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [c7cc1d6c] 20180322180845 20180322181134 20180322181218
20180322195906 20180323183229
20180324080958
DEBUG [c7cc1d6c] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [b9eec893] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [b9eec893] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [b9eec893] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [b53bd7ec] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [b53bd7ec] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [b53bd7ec] /home/deploy/infraplan_staging/releases/20180324080958
DEBUG [b53bd7ec] Finished in 0.140 seconds with exit status 0 (successful).
INFO [0546bb81] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180845 as deploy@li1268-
184.members.linode.com
DEBUG [0546bb81] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322180845
INFO [0546bb81] Finished in 0.185 seconds with exit status 0 (successful).
DEBUG [696ecd26] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [696ecd26] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [696ecd26] Finished in 0.138 seconds with exit status 0 (successful).
INFO [b40c572c] Running /usr/bin/env echo "Branch feature/predict_modeling (at
e0d5900fd054db848a5e77201e06a080175cbb04) deployed as release 20180324080958 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [b40c572c] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
e0d5900fd054db848a5e77201e06a080175cbb04) deployed as release 20180324080958 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [b40c572c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [aa6e3c50] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [aa6e3c50] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [aa6e3c50] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [374a2467] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [374a2467] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [374a2467] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [77de4c29] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [77de4c29] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [77de4c29] Finished in 0.148 seconds with exit status 0 (successful).
INFO [cb2d7056] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [cb2d7056] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [cb2d7056] Command restart sent success
DEBUG [cb2d7056]
INFO [cb2d7056] Finished in 1.096 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-03-26 10:16:56 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [62ede7d6] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [62ede7d6] Command: [ -d ~/.rvm ]
DEBUG [62ede7d6] Finished in 0.738 seconds with exit status 0 (successful).
DEBUG [d46a006d] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [d46a006d] Command: ~/.rvm/bin/rvm version
DEBUG [d46a006d] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [d46a006d] Finished in 0.393 seconds with exit status 0 (successful).
DEBUG [a39f2761] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [a39f2761] Command: ~/.rvm/bin/rvm current
DEBUG [a39f2761] ruby-2.3.4
DEBUG [a39f2761] Finished in 0.339 seconds with exit status 0 (successful).
DEBUG [f58783b0] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [f58783b0] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [f58783b0] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [f58783b0] Finished in 0.491 seconds with exit status 0 (successful).
INFO [de5886e1] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [de5886e1] Command: /usr/bin/env mkdir -p /tmp
INFO [de5886e1] Finished in 0.162 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [e9fee4f4] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [e9fee4f4] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [e9fee4f4] Finished in 0.150 seconds with exit status 0 (successful).
INFO [bd5a4705] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [bd5a4705] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [bd5a4705] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [bd5a4705] Finished in 0.611 seconds with exit status 0 (successful).
INFO [54f56996] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [54f56996] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [54f56996] Finished in 0.140 seconds with exit status 0 (successful).
INFO [204642e4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [204642e4] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [204642e4] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2f2c4165] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [2f2c4165] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [2f2c4165] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [a4ce8863] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [a4ce8863] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [a4ce8863] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [36350c2e] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [36350c2e] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [36350c2e] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [62b12136] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [62b12136] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [62b12136] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [209bcd66] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [209bcd66] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [209bcd66] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [342d01cf] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [342d01cf] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [342d01cf] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [bfd0d635] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [bfd0d635] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [bfd0d635] e0d5900fd054db848a5e77201e06a080175cbb04
DEBUG [bfd0d635] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [c3c0d3a2] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [c3c0d3a2] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [c3c0d3a2] Finished in 0.149 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [91d80cb8] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [91d80cb8] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [91d80cb8] Finished in 0.140 seconds with exit status 0 (successful).
INFO [14021070] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [14021070] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [14021070] Finished in 0.146 seconds with exit status 0 (successful).
INFO [a94cac62] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [a94cac62] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [a94cac62] Fetching origin
DEBUG [a94cac62] From bitbucket.org:avanraven/infraplan
e0d5900..72bcb18 feature/predict_modeling -> feature/predict_modeling
INFO [a94cac62] Finished in 1.233 seconds with exit status 0 (successful).
DEBUG [5a07b7b1] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [5a07b7b1] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [5a07b7b1] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2dca57db] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701 as deploy@li1268-
184.members.linode.com
DEBUG [2dca57db] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180326141701 )
INFO [2dca57db] Finished in 0.140 seconds with exit status 0 (successful).
INFO [bd2e44bf] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180326141701
as deploy@li1268-184.members.linode.com
DEBUG [bd2e44bf] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180326141701 )
INFO [bd2e44bf] Finished in 0.436 seconds with exit status 0 (successful).
DEBUG [7df74cfd] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [7df74cfd] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [7df74cfd] Finished in 0.156 seconds with exit status 0 (successful).
DEBUG [5d830193] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [5d830193] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [5d830193] 72bcb18eba054e5520b14d80bf1c385898f29c47
DEBUG [5d830193] Finished in 0.161 seconds with exit status 0 (successful).
DEBUG [2ef33b45] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [2ef33b45] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [2ef33b45] Finished in 0.138 seconds with exit status 0 (successful).
INFO [44e0527f] Running /usr/bin/env echo
"72bcb18eba054e5520b14d80bf1c385898f29c47" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [44e0527f] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && /usr/bin/env echo
"72bcb18eba054e5520b14d80bf1c385898f29c47" >> REVISION
INFO [44e0527f] Finished in 0.144 seconds with exit status 0 (successful).
INFO [641c08f6] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701/config as deploy@li1268-
184.members.linode.com
DEBUG [641c08f6] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701/config
INFO [641c08f6] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [0ee3afb3] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0ee3afb3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml ]
DEBUG [0ee3afb3] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [2312f35f] Running [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2312f35f] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml ]
DEBUG [2312f35f] Finished in 0.140 seconds with exit status 1 (failed).
INFO [7f377095] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [7f377095] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/database.yml
INFO [7f377095] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [8c0dab1d] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [8c0dab1d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml ]
DEBUG [8c0dab1d] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [619fbe89] Running [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [619fbe89] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml ]
DEBUG [619fbe89] Finished in 0.137 seconds with exit status 1 (failed).
INFO [d1588f07] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [d1588f07] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/secrets.yml
INFO [d1588f07] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [d451ce66] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d451ce66] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml ]
DEBUG [d451ce66] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [6464fe68] Running [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6464fe68] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml ]
DEBUG [6464fe68] Finished in 0.136 seconds with exit status 1 (failed).
INFO [bdf8b1f5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [bdf8b1f5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180326141701/config/app_config.yml
INFO [bdf8b1f5] Finished in 0.138 seconds with exit status 0 (successful).
INFO [00acfcc6] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701
/home/deploy/infraplan_staging/releases/20180326141701/tmp
/home/deploy/infraplan_staging/releases/20180326141701/public as deploy@li1268-
184.members.linode.com
DEBUG [00acfcc6] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701
/home/deploy/infraplan_staging/releases/20180326141701/tmp
/home/deploy/infraplan_staging/releases/20180326141701/public
INFO [00acfcc6] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [ed78b91d] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/log ] as deploy@li1268-
184.members.linode.com
DEBUG [ed78b91d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/log ]
DEBUG [ed78b91d] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [ddf5da9b] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/log ] as deploy@li1268-
184.members.linode.com
DEBUG [ddf5da9b] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/log ]
DEBUG [ddf5da9b] Finished in 0.137 seconds with exit status 1 (failed).
INFO [82f50ed1] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180326141701/log as deploy@li1268-
184.members.linode.com
DEBUG [82f50ed1] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180326141701/log
INFO [82f50ed1] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [eb2e753b] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [eb2e753b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids ]
DEBUG [eb2e753b] Finished in 0.136 seconds with exit status 1 (failed).
DEBUG [1f69e0e4] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [1f69e0e4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids ]
DEBUG [1f69e0e4] Finished in 0.140 seconds with exit status 1 (failed).
INFO [4300a545] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [4300a545] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180326141701/tmp/pids
INFO [4300a545] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [667d6dca] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [667d6dca] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache ]
DEBUG [667d6dca] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [2a9b3184] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [2a9b3184] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache ]
DEBUG [2a9b3184] Finished in 0.139 seconds with exit status 1 (failed).
INFO [fc2635f9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [fc2635f9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180326141701/tmp/cache
INFO [fc2635f9] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [073108c4] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [073108c4] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets ]
DEBUG [073108c4] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [6dc314c6] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [6dc314c6] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets ]
DEBUG [6dc314c6] Finished in 0.139 seconds with exit status 1 (failed).
INFO [5a19df18] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [5a19df18] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180326141701/tmp/sockets
INFO [5a19df18] Finished in 0.162 seconds with exit status 0 (successful).
DEBUG [2bc3c995] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [2bc3c995] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/public/system ]
DEBUG [2bc3c995] Finished in 0.153 seconds with exit status 1 (failed).
DEBUG [a242873f] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [a242873f] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/public/system ]
DEBUG [a242873f] Finished in 0.141 seconds with exit status 1 (failed).
INFO [db7f9220] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180326141701/public/system as
deploy@li1268-184.members.linode.com
DEBUG [db7f9220] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180326141701/public/system
INFO [db7f9220] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [7bb0d011] Running [ -L
/home/deploy/infraplan_staging/releases/20180326141701/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [7bb0d011] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326141701/public/assets ]
DEBUG [7bb0d011] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [e342dbee] Running [ -d
/home/deploy/infraplan_staging/releases/20180326141701/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [e342dbee] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326141701/public/assets ]
DEBUG [e342dbee] Finished in 0.150 seconds with exit status 0 (successful).
INFO [a28796f4] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326141701/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [a28796f4] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326141701/public/assets
INFO [a28796f4] Finished in 0.148 seconds with exit status 0 (successful).
INFO [71316d23] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180326141701/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [71316d23] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180326141701/public/assets
INFO [71316d23] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [a5b035fc] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [a5b035fc] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [a5b035fc] Finished in 0.140 seconds with exit status 0 (successful).
INFO [57b88a66] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [57b88a66] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [57b88a66] Finished in 1.735 seconds with exit status 0 (successful).
DEBUG [79577c6c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [79577c6c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [79577c6c] Finished in 0.139 seconds with exit status 0 (successful).
INFO [cedef7ab] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [cedef7ab] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [cedef7ab] Finished in 5.300 seconds with exit status 0 (successful).
DEBUG [9645129b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [9645129b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [9645129b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [4b0c0e96] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [4b0c0e96] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326141701/assets_manifest_backup
INFO [4b0c0e96] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [3b82bf3c] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [3b82bf3c] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest*
DEBUG [3b82bf3c]
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [3b82bf3c] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [b1669c1a] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [b1669c1a] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest*
DEBUG [b1669c1a]
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [b1669c1a] Finished in 0.146 seconds with exit status 0 (successful).
INFO [3edb633f] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180326141701/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [3edb633f] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180326141701/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180326141701/assets_manifest_backup
INFO [3edb633f] Finished in 0.143 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [5e5cf253] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5e5cf253] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [5e5cf253] Finished in 0.139 seconds with exit status 0 (successful).
INFO [1bdb58db] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [1bdb58db] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [1bdb58db] Finished in 4.235 seconds with exit status 0 (successful).
INFO [86215c3b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180326141701
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [86215c3b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180326141701
/home/deploy/infraplan_staging/releases/current
INFO [86215c3b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [c0a3f779] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [c0a3f779] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [c0a3f779] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [103d8ab3] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [103d8ab3] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326141701; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326141701'" 1>&2; false; fi
DEBUG [103d8ab3] Finished in 0.150 seconds with exit status 0 (successful).
INFO [8f30fe43] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [8f30fe43] Command: cd
/home/deploy/infraplan_staging/releases/20180326141701 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [8f30fe43]
/home/deploy/infraplan_staging/releases/20180326141701/app/controllers/predic
t_csv_controller.rb:37: warning: found = in conditional, should be ==
DEBUG [8f30fe43] delayed_job: warning: no instances running. Starting...
DEBUG [8f30fe43]
DEBUG [8f30fe43] delayed_job: process with pid 9201 started.
INFO [8f30fe43] Finished in 3.959 seconds with exit status 0 (successful).
DEBUG [31377073] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [31377073] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [31377073] 20180322181134 20180322181218 20180322195906
20180323183229 20180324080958
20180326141701
DEBUG [31377073] Finished in 0.141 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [b07de43e] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [b07de43e] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [b07de43e] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [4cdf9ed7] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [4cdf9ed7] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [4cdf9ed7] /home/deploy/infraplan_staging/releases/20180326141701
DEBUG [4cdf9ed7] Finished in 0.140 seconds with exit status 0 (successful).
INFO [7244e66b] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181134 as deploy@li1268-
184.members.linode.com
DEBUG [7244e66b] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181134
INFO [7244e66b] Finished in 0.215 seconds with exit status 0 (successful).
DEBUG [a1fcbd81] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [a1fcbd81] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [a1fcbd81] Finished in 0.138 seconds with exit status 0 (successful).
INFO [963bc9b3] Running /usr/bin/env echo "Branch feature/predict_modeling (at
72bcb18eba054e5520b14d80bf1c385898f29c47) deployed as release 20180326141701 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [963bc9b3] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
72bcb18eba054e5520b14d80bf1c385898f29c47) deployed as release 20180326141701 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [963bc9b3] Finished in 0.157 seconds with exit status 0 (successful).
DEBUG [2cf12c06] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [2cf12c06] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [2cf12c06] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [314a9d0c] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [314a9d0c] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [314a9d0c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [112fdd34] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [112fdd34] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [112fdd34] Finished in 0.146 seconds with exit status 0 (successful).
INFO [759e9577] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [759e9577] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [759e9577] Command restart sent success
DEBUG [759e9577]
INFO [759e9577] Finished in 1.104 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-03-26 10:28:09 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [7352f0d0] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [7352f0d0] Command: [ -d ~/.rvm ]
DEBUG [7352f0d0] Finished in 0.518 seconds with exit status 0 (successful).
DEBUG [00ff347e] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [00ff347e] Command: ~/.rvm/bin/rvm version
DEBUG [00ff347e] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [00ff347e] Finished in 0.358 seconds with exit status 0 (successful).
DEBUG [f66acdc3] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [f66acdc3] Command: ~/.rvm/bin/rvm current
DEBUG [f66acdc3] ruby-2.3.4
DEBUG [f66acdc3] Finished in 0.368 seconds with exit status 0 (successful).
DEBUG [4334d8cb] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [4334d8cb] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [4334d8cb] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [4334d8cb] Finished in 0.520 seconds with exit status 0 (successful).
INFO [db914f74] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [db914f74] Command: /usr/bin/env mkdir -p /tmp
INFO [db914f74] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [1064e7f5] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [1064e7f5] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [1064e7f5] Finished in 0.143 seconds with exit status 0 (successful).
INFO [53279102] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [53279102] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [53279102] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [53279102] Finished in 0.503 seconds with exit status 0 (successful).
INFO [caeb28e2] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [caeb28e2] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [caeb28e2] Finished in 0.138 seconds with exit status 0 (successful).
INFO [aa831b92] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [aa831b92] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [aa831b92] Finished in 0.138 seconds with exit status 0 (successful).
INFO [0121a9e7] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [0121a9e7] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [0121a9e7] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [ebf43422] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ebf43422] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [ebf43422] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [ccde140a] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ccde140a] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [ccde140a] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [aecd6403] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [aecd6403] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [aecd6403] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [600b689e] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [600b689e] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [600b689e] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [41eedc21] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [41eedc21] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [41eedc21] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [afccf9cb] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [afccf9cb] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [afccf9cb] 72bcb18eba054e5520b14d80bf1c385898f29c47
DEBUG [afccf9cb] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3270b6eb] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [3270b6eb] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [3270b6eb] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [4376fc61] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [4376fc61] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [4376fc61] Finished in 0.137 seconds with exit status 0 (successful).
INFO [a763fe75] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [a763fe75] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [a763fe75] Finished in 0.143 seconds with exit status 0 (successful).
INFO [ddd28501] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [ddd28501] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [ddd28501] Fetching origin
DEBUG [ddd28501] From bitbucket.org:avanraven/infraplan
72bcb18..381e81c feature/predict_modeling -> feature/predict_modeling
INFO [ddd28501] Finished in 0.806 seconds with exit status 0 (successful).
DEBUG [aa7e31ae] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [aa7e31ae] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [aa7e31ae] Finished in 0.136 seconds with exit status 0 (successful).
INFO [7edc5d79] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814 as deploy@li1268-
184.members.linode.com
DEBUG [7edc5d79] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180326142814 )
INFO [7edc5d79] Finished in 0.145 seconds with exit status 0 (successful).
INFO [eca4acf9] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180326142814
as deploy@li1268-184.members.linode.com
DEBUG [eca4acf9] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180326142814 )
INFO [eca4acf9] Finished in 0.379 seconds with exit status 0 (successful).
DEBUG [5def72da] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [5def72da] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [5def72da] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [9db42bf8] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [9db42bf8] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [9db42bf8] 381e81cd3979acb6492e9395516463b2f683bf84
DEBUG [9db42bf8] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3707becd] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [3707becd] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [3707becd] Finished in 0.139 seconds with exit status 0 (successful).
INFO [9e3b20a1] Running /usr/bin/env echo
"381e81cd3979acb6492e9395516463b2f683bf84" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [9e3b20a1] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && /usr/bin/env echo
"381e81cd3979acb6492e9395516463b2f683bf84" >> REVISION
INFO [9e3b20a1] Finished in 0.149 seconds with exit status 0 (successful).
INFO [33c674f5] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814/config as deploy@li1268-
184.members.linode.com
DEBUG [33c674f5] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814/config
INFO [33c674f5] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [f0ba559e] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f0ba559e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml ]
DEBUG [f0ba559e] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [c7209934] Running [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [c7209934] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml ]
DEBUG [c7209934] Finished in 0.155 seconds with exit status 1 (failed).
INFO [3efd267c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [3efd267c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/database.yml
INFO [3efd267c] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [bcd97d98] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [bcd97d98] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml ]
DEBUG [bcd97d98] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [53f58d4d] Running [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [53f58d4d] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml ]
DEBUG [53f58d4d] Finished in 0.143 seconds with exit status 1 (failed).
INFO [b06f129c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [b06f129c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/secrets.yml
INFO [b06f129c] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [d038c91d] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d038c91d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml ]
DEBUG [d038c91d] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [2829be8f] Running [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2829be8f] Command: [ -f
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml ]
DEBUG [2829be8f] Finished in 0.152 seconds with exit status 1 (failed).
INFO [9e012e3c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [9e012e3c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180326142814/config/app_config.yml
INFO [9e012e3c] Finished in 0.151 seconds with exit status 0 (successful).
INFO [bb754721] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814
/home/deploy/infraplan_staging/releases/20180326142814/tmp
/home/deploy/infraplan_staging/releases/20180326142814/public as deploy@li1268-
184.members.linode.com
DEBUG [bb754721] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814
/home/deploy/infraplan_staging/releases/20180326142814/tmp
/home/deploy/infraplan_staging/releases/20180326142814/public
INFO [bb754721] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [4b311b21] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4b311b21] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/log ]
DEBUG [4b311b21] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [3b839e11] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/log ] as deploy@li1268-
184.members.linode.com
DEBUG [3b839e11] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/log ]
DEBUG [3b839e11] Finished in 0.155 seconds with exit status 1 (failed).
INFO [2201be02] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180326142814/log as deploy@li1268-
184.members.linode.com
DEBUG [2201be02] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180326142814/log
INFO [2201be02] Finished in 0.152 seconds with exit status 0 (successful).
DEBUG [fdaa196e] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [fdaa196e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids ]
DEBUG [fdaa196e] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [1e21f06c] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [1e21f06c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids ]
DEBUG [1e21f06c] Finished in 0.148 seconds with exit status 1 (failed).
INFO [f341c824] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [f341c824] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180326142814/tmp/pids
INFO [f341c824] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [73915130] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [73915130] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache ]
DEBUG [73915130] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [791bad53] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [791bad53] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache ]
DEBUG [791bad53] Finished in 0.148 seconds with exit status 1 (failed).
INFO [c4612c48] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [c4612c48] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180326142814/tmp/cache
INFO [c4612c48] Finished in 0.155 seconds with exit status 0 (successful).
DEBUG [e76841ea] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [e76841ea] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets ]
DEBUG [e76841ea] Finished in 0.149 seconds with exit status 1 (failed).
DEBUG [d127d7ac] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [d127d7ac] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets ]
DEBUG [d127d7ac] Finished in 0.151 seconds with exit status 1 (failed).
INFO [9eb22bfb] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [9eb22bfb] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180326142814/tmp/sockets
INFO [9eb22bfb] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [4946ad83] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [4946ad83] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/public/system ]
DEBUG [4946ad83] Finished in 0.151 seconds with exit status 1 (failed).
DEBUG [a77fd009] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [a77fd009] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/public/system ]
DEBUG [a77fd009] Finished in 0.146 seconds with exit status 1 (failed).
INFO [66f68c60] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180326142814/public/system as
deploy@li1268-184.members.linode.com
DEBUG [66f68c60] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180326142814/public/system
INFO [66f68c60] Finished in 0.163 seconds with exit status 0 (successful).
DEBUG [044dc37f] Running [ -L
/home/deploy/infraplan_staging/releases/20180326142814/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [044dc37f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180326142814/public/assets ]
DEBUG [044dc37f] Finished in 0.148 seconds with exit status 1 (failed).
DEBUG [f1fe5fff] Running [ -d
/home/deploy/infraplan_staging/releases/20180326142814/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [f1fe5fff] Command: [ -d
/home/deploy/infraplan_staging/releases/20180326142814/public/assets ]
DEBUG [f1fe5fff] Finished in 0.150 seconds with exit status 0 (successful).
INFO [d9360f86] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326142814/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [d9360f86] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326142814/public/assets
INFO [d9360f86] Finished in 0.155 seconds with exit status 0 (successful).
INFO [442fb649] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180326142814/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [442fb649] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180326142814/public/assets
INFO [442fb649] Finished in 0.152 seconds with exit status 0 (successful).
DEBUG [32113341] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [32113341] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [32113341] Finished in 0.143 seconds with exit status 0 (successful).
INFO [31b0bec0] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [31b0bec0] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [31b0bec0] Finished in 1.468 seconds with exit status 0 (successful).
DEBUG [fbefec84] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [fbefec84] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [fbefec84] Finished in 0.144 seconds with exit status 0 (successful).
INFO [837f24d5] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [837f24d5] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [837f24d5] Finished in 4.097 seconds with exit status 0 (successful).
DEBUG [651a4c76] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [651a4c76] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [651a4c76] Finished in 0.151 seconds with exit status 0 (successful).
INFO [01a4e2f8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [01a4e2f8] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180326142814/assets_manifest_backup
INFO [01a4e2f8] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [3db01cbb] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [3db01cbb] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest*
DEBUG [3db01cbb]
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [3db01cbb] Finished in 0.160 seconds with exit status 0 (successful).
DEBUG [0d510cc1] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [0d510cc1] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest*
DEBUG [0d510cc1]
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [0d510cc1] Finished in 0.168 seconds with exit status 0 (successful).
INFO [5e5b0285] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180326142814/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [5e5b0285] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180326142814/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180326142814/assets_manifest_backup
INFO [5e5b0285] Finished in 0.149 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [03e263da] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [03e263da] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [03e263da] Finished in 0.151 seconds with exit status 0 (successful).
INFO [deb20cb7] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [deb20cb7] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [deb20cb7] Finished in 3.455 seconds with exit status 0 (successful).
INFO [92066b5c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180326142814
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [92066b5c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180326142814
/home/deploy/infraplan_staging/releases/current
INFO [92066b5c] Finished in 0.148 seconds with exit status 0 (successful).
INFO [6a5f3331] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [6a5f3331] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [6a5f3331] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [b4cbd6ea] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b4cbd6ea] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180326142814; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180326142814'" 1>&2; false; fi
DEBUG [b4cbd6ea] Finished in 0.139 seconds with exit status 0 (successful).
INFO [0642158c] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [0642158c] Command: cd
/home/deploy/infraplan_staging/releases/20180326142814 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [0642158c]
/home/deploy/infraplan_staging/releases/20180326142814/app/controllers/predic
t_csv_controller.rb:37: warning: found = in conditional, should be ==
DEBUG [0642158c] delayed_job: trying to stop process with pid 9201...
DEBUG [0642158c] delayed_job: process with pid 9201 successfully stopped.
DEBUG [0642158c] delayed_job: process with pid 11054 started.
INFO [0642158c] Finished in 5.606 seconds with exit status 0 (successful).
DEBUG [f1ac2e46] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [f1ac2e46] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [f1ac2e46] 20180322181218 20180322195906 20180323183229
20180324080958 20180326141701
20180326142814
DEBUG [f1ac2e46] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [61e44a43] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [61e44a43] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [61e44a43] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [2978d4d3] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [2978d4d3] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [2978d4d3] /home/deploy/infraplan_staging/releases/20180326142814
DEBUG [2978d4d3] Finished in 0.139 seconds with exit status 0 (successful).
INFO [12901074] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181218 as deploy@li1268-
184.members.linode.com
DEBUG [12901074] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322181218
INFO [12901074] Finished in 0.210 seconds with exit status 0 (successful).
DEBUG [bd3e77bf] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [bd3e77bf] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [bd3e77bf] Finished in 0.141 seconds with exit status 0 (successful).
INFO [907274f6] Running /usr/bin/env echo "Branch feature/predict_modeling (at
381e81cd3979acb6492e9395516463b2f683bf84) deployed as release 20180326142814 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [907274f6] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
381e81cd3979acb6492e9395516463b2f683bf84) deployed as release 20180326142814 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [907274f6] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5ac1492e] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [5ac1492e] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [5ac1492e] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [131ce111] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [131ce111] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [131ce111] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [e7307b19] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [e7307b19] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [e7307b19] Finished in 0.147 seconds with exit status 0 (successful).
INFO [08c4ac4a] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [08c4ac4a] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [08c4ac4a] Command restart sent success
INFO [08c4ac4a] Finished in 1.024 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-03-28 16:20:13 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [86cc443b] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [86cc443b] Command: [ -d ~/.rvm ]
DEBUG [86cc443b] Finished in 0.688 seconds with exit status 0 (successful).
DEBUG [98cf11d9] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [98cf11d9] Command: ~/.rvm/bin/rvm version
DEBUG [98cf11d9] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [98cf11d9] Finished in 0.422 seconds with exit status 0 (successful).
DEBUG [d41e5ab7] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [d41e5ab7] Command: ~/.rvm/bin/rvm current
DEBUG [d41e5ab7] ruby-2.3.4
DEBUG [d41e5ab7] Finished in 0.420 seconds with exit status 0 (successful).
DEBUG [2be80810] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [2be80810] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [2be80810] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [2be80810] Finished in 0.685 seconds with exit status 0 (successful).
INFO [3e68669f] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [3e68669f] Command: /usr/bin/env mkdir -p /tmp
INFO [3e68669f] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [35644e60] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [35644e60] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [35644e60] Finished in 0.160 seconds with exit status 0 (successful).
INFO [c7bcb935] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [c7bcb935] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [c7bcb935] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [c7bcb935] Finished in 0.599 seconds with exit status 0 (successful).
INFO [6c5e9da5] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [6c5e9da5] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [6c5e9da5] Finished in 0.140 seconds with exit status 0 (successful).
INFO [202e0929] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [202e0929] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [202e0929] Finished in 0.149 seconds with exit status 0 (successful).
INFO [9350c199] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [9350c199] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [9350c199] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [f82624be] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [f82624be] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [f82624be] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [54639ee1] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [54639ee1] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [54639ee1] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [62421c5f] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [62421c5f] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [62421c5f] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f0124654] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [f0124654] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [f0124654] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5295093b] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [5295093b] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [5295093b] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [ca51cc10] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [ca51cc10] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [ca51cc10] 381e81cd3979acb6492e9395516463b2f683bf84
DEBUG [ca51cc10] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [a8a82ce3] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [a8a82ce3] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [a8a82ce3] Finished in 0.139 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [425b1025] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [425b1025] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [425b1025] Finished in 0.140 seconds with exit status 0 (successful).
INFO [27a4ef7d] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [27a4ef7d] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [27a4ef7d] Finished in 0.145 seconds with exit status 0 (successful).
INFO [b9eaa313] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [b9eaa313] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [b9eaa313] Fetching origin
DEBUG [b9eaa313] From bitbucket.org:avanraven/infraplan
381e81c..5ff43e9 feature/predict_modeling -> feature/predict_modeling
DEBUG [b9eaa313] * [new branch] jg-pipes-issues-are-break-issues ->
jg-pipes-issues-are-break-issues
INFO [b9eaa313] Finished in 1.468 seconds with exit status 0 (successful).
DEBUG [1324e641] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [1324e641] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [1324e641] Finished in 0.137 seconds with exit status 0 (successful).
INFO [59d03128] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018 as deploy@li1268-
184.members.linode.com
DEBUG [59d03128] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180328202018 )
INFO [59d03128] Finished in 0.146 seconds with exit status 0 (successful).
INFO [ca32a1c0] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180328202018
as deploy@li1268-184.members.linode.com
DEBUG [ca32a1c0] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180328202018 )
INFO [ca32a1c0] Finished in 0.530 seconds with exit status 0 (successful).
DEBUG [5712595c] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [5712595c] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [5712595c] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [64fc8585] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [64fc8585] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [64fc8585] 5ff43e9d89a682971f5b872d9d5a178b0fa9f58f
DEBUG [64fc8585] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [6647b4ad] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [6647b4ad] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [6647b4ad] Finished in 0.139 seconds with exit status 0 (successful).
INFO [c8dc1049] Running /usr/bin/env echo
"5ff43e9d89a682971f5b872d9d5a178b0fa9f58f" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [c8dc1049] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && /usr/bin/env echo
"5ff43e9d89a682971f5b872d9d5a178b0fa9f58f" >> REVISION
INFO [c8dc1049] Finished in 0.140 seconds with exit status 0 (successful).
INFO [9924c767] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018/config as deploy@li1268-
184.members.linode.com
DEBUG [9924c767] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018/config
INFO [9924c767] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [314a6c73] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [314a6c73] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml ]
DEBUG [314a6c73] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [033b9575] Running [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [033b9575] Command: [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml ]
DEBUG [033b9575] Finished in 0.138 seconds with exit status 1 (failed).
INFO [3f1357b4] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [3f1357b4] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/database.yml
INFO [3f1357b4] Finished in 0.178 seconds with exit status 0 (successful).
DEBUG [0d5d73b2] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0d5d73b2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml ]
DEBUG [0d5d73b2] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [8a12e3e5] Running [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [8a12e3e5] Command: [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml ]
DEBUG [8a12e3e5] Finished in 0.139 seconds with exit status 1 (failed).
INFO [d643b790] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [d643b790] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/secrets.yml
INFO [d643b790] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [2b4d7d9a] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2b4d7d9a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml ]
DEBUG [2b4d7d9a] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [7d5ac9e3] Running [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7d5ac9e3] Command: [ -f
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml ]
DEBUG [7d5ac9e3] Finished in 0.137 seconds with exit status 1 (failed).
INFO [a6330db1] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [a6330db1] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180328202018/config/app_config.yml
INFO [a6330db1] Finished in 0.140 seconds with exit status 0 (successful).
INFO [18428196] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018
/home/deploy/infraplan_staging/releases/20180328202018/tmp
/home/deploy/infraplan_staging/releases/20180328202018/public as deploy@li1268-
184.members.linode.com
DEBUG [18428196] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018
/home/deploy/infraplan_staging/releases/20180328202018/tmp
/home/deploy/infraplan_staging/releases/20180328202018/public
INFO [18428196] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [4f8ddf39] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4f8ddf39] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/log ]
DEBUG [4f8ddf39] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [8ddd5e61] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/log ] as deploy@li1268-
184.members.linode.com
DEBUG [8ddd5e61] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/log ]
DEBUG [8ddd5e61] Finished in 0.142 seconds with exit status 1 (failed).
INFO [a516798f] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180328202018/log as deploy@li1268-
184.members.linode.com
DEBUG [a516798f] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180328202018/log
INFO [a516798f] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [014d7ccd] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [014d7ccd] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids ]
DEBUG [014d7ccd] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [fcc009ce] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [fcc009ce] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids ]
DEBUG [fcc009ce] Finished in 0.139 seconds with exit status 1 (failed).
INFO [bb45a631] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [bb45a631] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180328202018/tmp/pids
INFO [bb45a631] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3edfc0c6] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [3edfc0c6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache ]
DEBUG [3edfc0c6] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [5387ba67] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [5387ba67] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache ]
DEBUG [5387ba67] Finished in 0.141 seconds with exit status 1 (failed).
INFO [ebf6814c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [ebf6814c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180328202018/tmp/cache
INFO [ebf6814c] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [f9f93efd] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [f9f93efd] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets ]
DEBUG [f9f93efd] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [9c99dc8d] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [9c99dc8d] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets ]
DEBUG [9c99dc8d] Finished in 0.139 seconds with exit status 1 (failed).
INFO [75e3ec2d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [75e3ec2d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180328202018/tmp/sockets
INFO [75e3ec2d] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [3c6eee57] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [3c6eee57] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/public/system ]
DEBUG [3c6eee57] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [fef102f2] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [fef102f2] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/public/system ]
DEBUG [fef102f2] Finished in 0.139 seconds with exit status 1 (failed).
INFO [4057a8e9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180328202018/public/system as
deploy@li1268-184.members.linode.com
DEBUG [4057a8e9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180328202018/public/system
INFO [4057a8e9] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ea551bf4] Running [ -L
/home/deploy/infraplan_staging/releases/20180328202018/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [ea551bf4] Command: [ -L
/home/deploy/infraplan_staging/releases/20180328202018/public/assets ]
DEBUG [ea551bf4] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [1b38321e] Running [ -d
/home/deploy/infraplan_staging/releases/20180328202018/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [1b38321e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180328202018/public/assets ]
DEBUG [1b38321e] Finished in 0.141 seconds with exit status 0 (successful).
INFO [dee76da6] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180328202018/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [dee76da6] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180328202018/public/assets
INFO [dee76da6] Finished in 0.159 seconds with exit status 0 (successful).
INFO [9916d602] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180328202018/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [9916d602] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180328202018/public/assets
INFO [9916d602] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [0a0a3c43] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0a0a3c43] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [0a0a3c43] Finished in 0.140 seconds with exit status 0 (successful).
INFO [b1dd5064] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [b1dd5064] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [b1dd5064] Finished in 1.844 seconds with exit status 0 (successful).
DEBUG [e034b347] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [e034b347] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [e034b347] Finished in 0.139 seconds with exit status 0 (successful).
INFO [7000a2c6] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [7000a2c6] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [7000a2c6] Finished in 5.083 seconds with exit status 0 (successful).
DEBUG [8a3bf0f4] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [8a3bf0f4] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [8a3bf0f4] Finished in 0.136 seconds with exit status 0 (successful).
INFO [341cd4b6] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [341cd4b6] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180328202018/assets_manifest_backup
INFO [341cd4b6] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [7ba09a1e] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [7ba09a1e] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest*
DEBUG [7ba09a1e]
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [7ba09a1e] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [3011491e] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [3011491e] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest*
DEBUG [3011491e]
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [3011491e] Finished in 0.143 seconds with exit status 0 (successful).
INFO [263abcf4] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180328202018/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [263abcf4] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180328202018/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180328202018/assets_manifest_backup
INFO [263abcf4] Finished in 0.149 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [2847ee68] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [2847ee68] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [2847ee68] Finished in 0.139 seconds with exit status 0 (successful).
INFO [7b4eb919] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [7b4eb919] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [7b4eb919] Finished in 3.992 seconds with exit status 0 (successful).
INFO [eed7f2ed] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180328202018
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [eed7f2ed] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180328202018
/home/deploy/infraplan_staging/releases/current
INFO [eed7f2ed] Finished in 0.140 seconds with exit status 0 (successful).
INFO [5ede1802] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [5ede1802] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [5ede1802] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [5807644a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5807644a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180328202018; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180328202018'" 1>&2; false; fi
DEBUG [5807644a] Finished in 0.144 seconds with exit status 0 (successful).
INFO [a68647ac] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [a68647ac] Command: cd
/home/deploy/infraplan_staging/releases/20180328202018 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [a68647ac]
/home/deploy/infraplan_staging/releases/20180328202018/app/controllers/predic
t_csv_controller.rb:65: warning: found = in conditional, should be ==
DEBUG [a68647ac] delayed_job: trying to stop process with pid 11054...
DEBUG [a68647ac]
DEBUG [a68647ac] delayed_job: process with pid 11054 successfully stopped.
DEBUG [a68647ac] delayed_job: process with pid 27329 started.
INFO [a68647ac] Finished in 5.018 seconds with exit status 0 (successful).
DEBUG [f6d5a459] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [f6d5a459] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [f6d5a459] 20180322195906 20180323183229 20180324080958
20180326141701 20180326142814
20180328202018
DEBUG [f6d5a459] Finished in 0.139 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [959e3a71] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [959e3a71] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [959e3a71] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [312b1ed9] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [312b1ed9] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [312b1ed9] /home/deploy/infraplan_staging/releases/20180328202018
DEBUG [312b1ed9] Finished in 0.140 seconds with exit status 0 (successful).
INFO [555de790] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322195906 as deploy@li1268-
184.members.linode.com
DEBUG [555de790] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180322195906
INFO [555de790] Finished in 0.216 seconds with exit status 0 (successful).
DEBUG [c4ac82a4] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [c4ac82a4] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [c4ac82a4] Finished in 0.137 seconds with exit status 0 (successful).
INFO [a94ae3fb] Running /usr/bin/env echo "Branch feature/predict_modeling (at
5ff43e9d89a682971f5b872d9d5a178b0fa9f58f) deployed as release 20180328202018 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [a94ae3fb] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
5ff43e9d89a682971f5b872d9d5a178b0fa9f58f) deployed as release 20180328202018 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [a94ae3fb] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [57e9b8ec] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [57e9b8ec] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [57e9b8ec] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [58450025] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [58450025] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [58450025] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [941d7866] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [941d7866] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [941d7866] Finished in 0.149 seconds with exit status 0 (successful).
INFO [24026148] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [24026148] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [24026148] Command restart sent success
INFO [24026148] Finished in 1.033 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-01 17:25:42 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [dfd3cce3] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [dfd3cce3] Command: [ -d ~/.rvm ]
DEBUG [dfd3cce3] Finished in 0.721 seconds with exit status 0 (successful).
DEBUG [835ddf50] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [835ddf50] Command: ~/.rvm/bin/rvm version
DEBUG [835ddf50] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [835ddf50] Finished in 0.417 seconds with exit status 0 (successful).
DEBUG [20e2e4f0] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [20e2e4f0] Command: ~/.rvm/bin/rvm current
DEBUG [20e2e4f0] ruby-2.3.4
DEBUG [20e2e4f0] Finished in 0.380 seconds with exit status 0 (successful).
DEBUG [d787e295] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [d787e295] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [d787e295] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [d787e295] Finished in 0.537 seconds with exit status 0 (successful).
INFO [e969420b] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [e969420b] Command: /usr/bin/env mkdir -p /tmp
INFO [e969420b] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [ddb392c3] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [ddb392c3] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [ddb392c3] Finished in 0.138 seconds with exit status 0 (successful).
INFO [d4bd82ec] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [d4bd82ec] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [d4bd82ec] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [d4bd82ec] Finished in 0.775 seconds with exit status 0 (successful).
INFO [d1e9417f] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [d1e9417f] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [d1e9417f] Finished in 0.141 seconds with exit status 0 (successful).
INFO [2e396671] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [2e396671] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [2e396671] Finished in 0.138 seconds with exit status 0 (successful).
INFO [ec195983] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [ec195983] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [ec195983] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [41e2d6e4] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [41e2d6e4] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [41e2d6e4] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [f665f08c] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [f665f08c] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [f665f08c] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [0116b160] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [0116b160] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [0116b160] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [6fca3e7c] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [6fca3e7c] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [6fca3e7c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [aa1bc87a] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [aa1bc87a] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [aa1bc87a] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [66724764] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [66724764] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [66724764] 5ff43e9d89a682971f5b872d9d5a178b0fa9f58f
DEBUG [66724764] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [43d967f6] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [43d967f6] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [43d967f6] Finished in 0.143 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [96bf5f6d] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [96bf5f6d] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [96bf5f6d] Finished in 0.144 seconds with exit status 0 (successful).
INFO [5140b6cc] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [5140b6cc] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [5140b6cc] Finished in 0.145 seconds with exit status 0 (successful).
INFO [bca2e3f3] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [bca2e3f3] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [bca2e3f3] Fetching origin
DEBUG [bca2e3f3] From bitbucket.org:avanraven/infraplan
5ff43e9..9663171 feature/predict_modeling -> feature/predict_modeling
INFO [bca2e3f3] Finished in 0.745 seconds with exit status 0 (successful).
DEBUG [6294d6d3] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [6294d6d3] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [6294d6d3] Finished in 0.206 seconds with exit status 0 (successful).
INFO [fd523f2a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547 as deploy@li1268-
184.members.linode.com
DEBUG [fd523f2a] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180401212547 )
INFO [fd523f2a] Finished in 0.233 seconds with exit status 0 (successful).
INFO [3babbf8f] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180401212547
as deploy@li1268-184.members.linode.com
DEBUG [3babbf8f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180401212547 )
INFO [3babbf8f] Finished in 0.498 seconds with exit status 0 (successful).
DEBUG [7ffef0ea] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [7ffef0ea] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [7ffef0ea] Finished in 0.214 seconds with exit status 0 (successful).
DEBUG [77b4ee2c] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [77b4ee2c] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [77b4ee2c] 96631718c4b558495ce628976be48f0d18568cbf
DEBUG [77b4ee2c] Finished in 0.161 seconds with exit status 0 (successful).
DEBUG [b17f506a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b17f506a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [b17f506a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [b0182a7d] Running /usr/bin/env echo
"96631718c4b558495ce628976be48f0d18568cbf" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [b0182a7d] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && /usr/bin/env echo
"96631718c4b558495ce628976be48f0d18568cbf" >> REVISION
INFO [b0182a7d] Finished in 0.149 seconds with exit status 0 (successful).
INFO [af599766] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547/config as deploy@li1268-
184.members.linode.com
DEBUG [af599766] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547/config
INFO [af599766] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [e9c22bd6] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [e9c22bd6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml ]
DEBUG [e9c22bd6] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [90fe8ae8] Running [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [90fe8ae8] Command: [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml ]
DEBUG [90fe8ae8] Finished in 0.143 seconds with exit status 1 (failed).
INFO [f6d232a8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [f6d232a8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/database.yml
INFO [f6d232a8] Finished in 0.153 seconds with exit status 0 (successful).
DEBUG [89a5d2b0] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [89a5d2b0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml ]
DEBUG [89a5d2b0] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [fcc6d320] Running [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [fcc6d320] Command: [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml ]
DEBUG [fcc6d320] Finished in 0.139 seconds with exit status 1 (failed).
INFO [5bd1ae6f] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [5bd1ae6f] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/secrets.yml
INFO [5bd1ae6f] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [3c04fa55] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [3c04fa55] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml ]
DEBUG [3c04fa55] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [2b4cb7ff] Running [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2b4cb7ff] Command: [ -f
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml ]
DEBUG [2b4cb7ff] Finished in 0.139 seconds with exit status 1 (failed).
INFO [2f61eb52] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [2f61eb52] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180401212547/config/app_config.yml
INFO [2f61eb52] Finished in 0.139 seconds with exit status 0 (successful).
INFO [3b7ec415] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547
/home/deploy/infraplan_staging/releases/20180401212547/tmp
/home/deploy/infraplan_staging/releases/20180401212547/public as deploy@li1268-
184.members.linode.com
DEBUG [3b7ec415] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547
/home/deploy/infraplan_staging/releases/20180401212547/tmp
/home/deploy/infraplan_staging/releases/20180401212547/public
INFO [3b7ec415] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [616962f1] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/log ] as deploy@li1268-
184.members.linode.com
DEBUG [616962f1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/log ]
DEBUG [616962f1] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [e070564e] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e070564e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/log ]
DEBUG [e070564e] Finished in 0.141 seconds with exit status 1 (failed).
INFO [dd6555fa] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180401212547/log as deploy@li1268-
184.members.linode.com
DEBUG [dd6555fa] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180401212547/log
INFO [dd6555fa] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [6fe5792e] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [6fe5792e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids ]
DEBUG [6fe5792e] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [2289a213] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [2289a213] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids ]
DEBUG [2289a213] Finished in 0.144 seconds with exit status 1 (failed).
INFO [4041e6da] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [4041e6da] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180401212547/tmp/pids
INFO [4041e6da] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [d8d8504c] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [d8d8504c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache ]
DEBUG [d8d8504c] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [e8cd5749] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [e8cd5749] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache ]
DEBUG [e8cd5749] Finished in 0.142 seconds with exit status 1 (failed).
INFO [8170fe42] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [8170fe42] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180401212547/tmp/cache
INFO [8170fe42] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [11fd0ce7] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [11fd0ce7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets ]
DEBUG [11fd0ce7] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [cb47f024] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [cb47f024] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets ]
DEBUG [cb47f024] Finished in 0.143 seconds with exit status 1 (failed).
INFO [0697716b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [0697716b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180401212547/tmp/sockets
INFO [0697716b] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [be8f6725] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [be8f6725] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/public/system ]
DEBUG [be8f6725] Finished in 0.146 seconds with exit status 1 (failed).
DEBUG [05454f8d] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [05454f8d] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/public/system ]
DEBUG [05454f8d] Finished in 0.140 seconds with exit status 1 (failed).
INFO [99cb5c55] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180401212547/public/system as
deploy@li1268-184.members.linode.com
DEBUG [99cb5c55] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180401212547/public/system
INFO [99cb5c55] Finished in 0.167 seconds with exit status 0 (successful).
DEBUG [77df6555] Running [ -L
/home/deploy/infraplan_staging/releases/20180401212547/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [77df6555] Command: [ -L
/home/deploy/infraplan_staging/releases/20180401212547/public/assets ]
DEBUG [77df6555] Finished in 0.187 seconds with exit status 1 (failed).
DEBUG [daebc35a] Running [ -d
/home/deploy/infraplan_staging/releases/20180401212547/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [daebc35a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180401212547/public/assets ]
DEBUG [daebc35a] Finished in 0.146 seconds with exit status 0 (successful).
INFO [ef6db1df] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180401212547/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [ef6db1df] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180401212547/public/assets
INFO [ef6db1df] Finished in 0.157 seconds with exit status 0 (successful).
INFO [90b298c1] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180401212547/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [90b298c1] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180401212547/public/assets
INFO [90b298c1] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [53435d9c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [53435d9c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [53435d9c] Finished in 0.138 seconds with exit status 0 (successful).
INFO [0d415feb] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [0d415feb] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [0d415feb] Finished in 1.738 seconds with exit status 0 (successful).
DEBUG [b1e65bf2] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b1e65bf2] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [b1e65bf2] Finished in 0.142 seconds with exit status 0 (successful).
INFO [1e222916] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [1e222916] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [1e222916] Finished in 67.176 seconds with exit status 0 (successful).
DEBUG [d1807d05] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [d1807d05] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [d1807d05] Finished in 0.141 seconds with exit status 0 (successful).
INFO [a7851640] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [a7851640] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180401212547/assets_manifest_backup
INFO [a7851640] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [48bcf1f9] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [48bcf1f9] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest*
DEBUG [48bcf1f9]
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [48bcf1f9] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [e95e3bda] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [e95e3bda] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest*
DEBUG [e95e3bda]
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [e95e3bda] Finished in 0.141 seconds with exit status 0 (successful).
INFO [5652e7e5] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180401212547/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [5652e7e5] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180401212547/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180401212547/assets_manifest_backup
INFO [5652e7e5] Finished in 0.144 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [580dac74] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [580dac74] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [580dac74] Finished in 0.136 seconds with exit status 0 (successful).
INFO [b844869c] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [b844869c] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [b844869c] == 20180401164709 CreatePredictions: migrating
================================
DEBUG [b844869c]
DEBUG [b844869c] -- execute("CREATE TABLE `predictions` (\n `id`
int(0) NOT NULL AUTO_INCREMENT,\n `project_id` int(11) DEFAULT NULL,\n
`name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,\n `variables` json
DEFAULT NULL,\n `constraints` json DEFAULT NULL,\n PRIMARY KEY (`id`),\n
FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE\n );")
DEBUG [b844869c]
DEBUG [b844869c] -> 0.0069s
DEBUG [b844869c]
DEBUG [b844869c] == 20180401164709 CreatePredictions: migrated (0.0072s)
=======================
DEBUG [b844869c]
DEBUG [b844869c]
INFO [b844869c] Finished in 3.587 seconds with exit status 0 (successful).
INFO [d27402be] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180401212547
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [d27402be] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180401212547
/home/deploy/infraplan_staging/releases/current
INFO [d27402be] Finished in 0.142 seconds with exit status 0 (successful).
INFO [3b1d3436] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [3b1d3436] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [3b1d3436] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [1b18139f] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [1b18139f] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180401212547; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180401212547'" 1>&2; false; fi
DEBUG [1b18139f] Finished in 0.142 seconds with exit status 0 (successful).
INFO [aaf5a4b5] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [aaf5a4b5] Command: cd
/home/deploy/infraplan_staging/releases/20180401212547 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [aaf5a4b5]
/home/deploy/infraplan_staging/releases/20180401212547/app/controllers/predic
t_csv_controller.rb:65: warning: found = in conditional, should be ==
DEBUG [aaf5a4b5] delayed_job: warning: no instances running. Starting...
DEBUG [aaf5a4b5]
DEBUG [aaf5a4b5] delayed_job: process with pid 9457 started.
INFO [aaf5a4b5] Finished in 4.059 seconds with exit status 0 (successful).
DEBUG [8fec0ad6] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [8fec0ad6] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [8fec0ad6] 20180323183229 20180324080958 20180326141701
20180326142814 20180328202018
20180401212547
DEBUG [8fec0ad6] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [f9d004ff] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [f9d004ff] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [f9d004ff] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1240ac81] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [1240ac81] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [1240ac81] /home/deploy/infraplan_staging/releases/20180401212547
DEBUG [1240ac81] Finished in 0.147 seconds with exit status 0 (successful).
INFO [07d32fd8] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180323183229 as deploy@li1268-
184.members.linode.com
DEBUG [07d32fd8] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180323183229
INFO [07d32fd8] Finished in 0.202 seconds with exit status 0 (successful).
DEBUG [aa853204] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [aa853204] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [aa853204] Finished in 0.145 seconds with exit status 0 (successful).
INFO [646c24f6] Running /usr/bin/env echo "Branch feature/predict_modeling (at
96631718c4b558495ce628976be48f0d18568cbf) deployed as release 20180401212547 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [646c24f6] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
96631718c4b558495ce628976be48f0d18568cbf) deployed as release 20180401212547 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [646c24f6] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [37859bd1] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [37859bd1] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [37859bd1] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [0d2d3aa1] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [0d2d3aa1] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [0d2d3aa1] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [1330645b] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [1330645b] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [1330645b] Finished in 0.145 seconds with exit status 0 (successful).
INFO [d74450f7] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [d74450f7] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [d74450f7] Command restart sent success
INFO [d74450f7] Finished in 0.966 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-04 16:12:28 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [123ba1da] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [123ba1da] Command: [ -d ~/.rvm ]
DEBUG [123ba1da] Finished in 0.716 seconds with exit status 0 (successful).
DEBUG [85721182] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [85721182] Command: ~/.rvm/bin/rvm version
DEBUG [85721182] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [85721182] Finished in 0.417 seconds with exit status 0 (successful).
DEBUG [f0c06859] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [f0c06859] Command: ~/.rvm/bin/rvm current
DEBUG [f0c06859] ruby-2.3.4
DEBUG [f0c06859] Finished in 0.366 seconds with exit status 0 (successful).
DEBUG [1e580d62] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [1e580d62] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [1e580d62] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [1e580d62] Finished in 0.538 seconds with exit status 0 (successful).
INFO [cf814164] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [cf814164] Command: /usr/bin/env mkdir -p /tmp
INFO [cf814164] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [c2c0dfd1] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [c2c0dfd1] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [c2c0dfd1] Finished in 0.147 seconds with exit status 0 (successful).
INFO [e96f9c31] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [e96f9c31] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [e96f9c31] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [e96f9c31] Finished in 0.489 seconds with exit status 0 (successful).
INFO [3c5c818d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [3c5c818d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [3c5c818d] Finished in 0.139 seconds with exit status 0 (successful).
INFO [d725c1a3] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [d725c1a3] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [d725c1a3] Finished in 0.140 seconds with exit status 0 (successful).
INFO [f638dcb4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [f638dcb4] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [f638dcb4] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b2144449] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [b2144449] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [b2144449] Finished in 0.135 seconds with exit status 0 (successful).
DEBUG [25906776] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [25906776] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [25906776] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [78664992] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [78664992] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [78664992] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c555e8e6] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [c555e8e6] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [c555e8e6] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [cb975ca9] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [cb975ca9] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [cb975ca9] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [0dce9814] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [0dce9814] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [0dce9814] 96631718c4b558495ce628976be48f0d18568cbf
DEBUG [0dce9814] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [ee05824e] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [ee05824e] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [ee05824e] Finished in 0.137 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [a4034e44] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [a4034e44] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [a4034e44] Finished in 0.137 seconds with exit status 0 (successful).
INFO [91180246] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [91180246] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [91180246] Finished in 0.140 seconds with exit status 0 (successful).
INFO [d6482eae] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [d6482eae] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [d6482eae] Fetching origin
DEBUG [d6482eae] From bitbucket.org:avanraven/infraplan
9663171..ee0d5af feature/predict_modeling -> feature/predict_modeling
DEBUG [d6482eae] * [new branch] jg-breaks-sort-by-life-status -> jg-
breaks-sort-by-life-status
fb521db..4f19c56 jg-pipes-issues-are-break-issues -> jg-pipes-issues-are-break-
issues
INFO [d6482eae] Finished in 1.168 seconds with exit status 0 (successful).
DEBUG [005b7a14] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [005b7a14] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [005b7a14] Finished in 0.136 seconds with exit status 0 (successful).
INFO [a43905cc] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232 as deploy@li1268-
184.members.linode.com
DEBUG [a43905cc] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180404201232 )
INFO [a43905cc] Finished in 0.139 seconds with exit status 0 (successful).
INFO [d5508b36] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180404201232
as deploy@li1268-184.members.linode.com
DEBUG [d5508b36] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180404201232 )
INFO [d5508b36] Finished in 0.414 seconds with exit status 0 (successful).
DEBUG [8ea20834] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [8ea20834] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [8ea20834] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [37a316b0] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [37a316b0] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [37a316b0] ee0d5affd016517ae2000bcad7a0ce95dd33e7fe
DEBUG [37a316b0] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [0357c668] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0357c668] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [0357c668] Finished in 0.138 seconds with exit status 0 (successful).
INFO [b6baf4ff] Running /usr/bin/env echo
"ee0d5affd016517ae2000bcad7a0ce95dd33e7fe" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [b6baf4ff] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && /usr/bin/env echo
"ee0d5affd016517ae2000bcad7a0ce95dd33e7fe" >> REVISION
INFO [b6baf4ff] Finished in 0.136 seconds with exit status 0 (successful).
INFO [e922b4c1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232/config as deploy@li1268-
184.members.linode.com
DEBUG [e922b4c1] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232/config
INFO [e922b4c1] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [7a9b8a28] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7a9b8a28] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml ]
DEBUG [7a9b8a28] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [84d6b7ca] Running [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [84d6b7ca] Command: [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml ]
DEBUG [84d6b7ca] Finished in 0.135 seconds with exit status 1 (failed).
INFO [af0d44c6] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [af0d44c6] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/database.yml
INFO [af0d44c6] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [f17bb8bc] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f17bb8bc] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml ]
DEBUG [f17bb8bc] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [d582ec7b] Running [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d582ec7b] Command: [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml ]
DEBUG [d582ec7b] Finished in 0.136 seconds with exit status 1 (failed).
INFO [8b9c39cc] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [8b9c39cc] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/secrets.yml
INFO [8b9c39cc] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [74bf6968] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [74bf6968] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml ]
DEBUG [74bf6968] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [5f77cb2f] Running [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [5f77cb2f] Command: [ -f
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml ]
DEBUG [5f77cb2f] Finished in 0.137 seconds with exit status 1 (failed).
INFO [b3daf391] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [b3daf391] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180404201232/config/app_config.yml
INFO [b3daf391] Finished in 0.138 seconds with exit status 0 (successful).
INFO [af4515fd] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232
/home/deploy/infraplan_staging/releases/20180404201232/tmp
/home/deploy/infraplan_staging/releases/20180404201232/public as deploy@li1268-
184.members.linode.com
DEBUG [af4515fd] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232
/home/deploy/infraplan_staging/releases/20180404201232/tmp
/home/deploy/infraplan_staging/releases/20180404201232/public
INFO [af4515fd] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [e8078a3c] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e8078a3c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/log ]
DEBUG [e8078a3c] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [5a841757] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/log ] as deploy@li1268-
184.members.linode.com
DEBUG [5a841757] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/log ]
DEBUG [5a841757] Finished in 0.136 seconds with exit status 1 (failed).
INFO [78c1309e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180404201232/log as deploy@li1268-
184.members.linode.com
DEBUG [78c1309e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180404201232/log
INFO [78c1309e] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [f43e00fb] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [f43e00fb] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids ]
DEBUG [f43e00fb] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [acf19516] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [acf19516] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids ]
DEBUG [acf19516] Finished in 0.144 seconds with exit status 1 (failed).
INFO [ebafce7c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [ebafce7c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180404201232/tmp/pids
INFO [ebafce7c] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [e04c446c] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [e04c446c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache ]
DEBUG [e04c446c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [603dd84c] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [603dd84c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache ]
DEBUG [603dd84c] Finished in 0.140 seconds with exit status 1 (failed).
INFO [052dc81d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [052dc81d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180404201232/tmp/cache
INFO [052dc81d] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [531f3fdc] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [531f3fdc] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets ]
DEBUG [531f3fdc] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [57164251] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [57164251] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets ]
DEBUG [57164251] Finished in 0.139 seconds with exit status 1 (failed).
INFO [f2397580] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [f2397580] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180404201232/tmp/sockets
INFO [f2397580] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [fbc8e71a] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [fbc8e71a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/public/system ]
DEBUG [fbc8e71a] Finished in 0.136 seconds with exit status 1 (failed).
DEBUG [750ddab8] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [750ddab8] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/public/system ]
DEBUG [750ddab8] Finished in 0.137 seconds with exit status 1 (failed).
INFO [40af248a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180404201232/public/system as
deploy@li1268-184.members.linode.com
DEBUG [40af248a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180404201232/public/system
INFO [40af248a] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [f7dc7beb] Running [ -L
/home/deploy/infraplan_staging/releases/20180404201232/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [f7dc7beb] Command: [ -L
/home/deploy/infraplan_staging/releases/20180404201232/public/assets ]
DEBUG [f7dc7beb] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [4702c240] Running [ -d
/home/deploy/infraplan_staging/releases/20180404201232/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [4702c240] Command: [ -d
/home/deploy/infraplan_staging/releases/20180404201232/public/assets ]
DEBUG [4702c240] Finished in 0.136 seconds with exit status 0 (successful).
INFO [c5a8c783] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180404201232/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [c5a8c783] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180404201232/public/assets
INFO [c5a8c783] Finished in 0.147 seconds with exit status 0 (successful).
INFO [0fb6af1b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180404201232/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [0fb6af1b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180404201232/public/assets
INFO [0fb6af1b] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [fbc21156] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [fbc21156] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [fbc21156] Finished in 0.141 seconds with exit status 0 (successful).
INFO [53e8ccfb] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [53e8ccfb] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [53e8ccfb] Finished in 1.649 seconds with exit status 0 (successful).
DEBUG [c6e606fd] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [c6e606fd] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [c6e606fd] Finished in 0.143 seconds with exit status 0 (successful).
INFO [0743ade4] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [0743ade4] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [0743ade4] Finished in 5.336 seconds with exit status 0 (successful).
DEBUG [82c0d012] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [82c0d012] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [82c0d012] Finished in 0.140 seconds with exit status 0 (successful).
INFO [1680db24] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [1680db24] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180404201232/assets_manifest_backup
INFO [1680db24] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [60be779c] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [60be779c] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest*
DEBUG [60be779c]
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [60be779c] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [09dc4709] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [09dc4709] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest*
DEBUG [09dc4709]
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [09dc4709] Finished in 0.139 seconds with exit status 0 (successful).
INFO [a9dd4ec0] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180404201232/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [a9dd4ec0] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180404201232/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180404201232/assets_manifest_backup
INFO [a9dd4ec0] Finished in 0.142 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [08ceffa3] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [08ceffa3] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [08ceffa3] Finished in 0.137 seconds with exit status 0 (successful).
INFO [c2f87c7d] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [c2f87c7d] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [c2f87c7d] Finished in 4.763 seconds with exit status 0 (successful).
INFO [b288c173] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180404201232
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [b288c173] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180404201232
/home/deploy/infraplan_staging/releases/current
INFO [b288c173] Finished in 0.143 seconds with exit status 0 (successful).
INFO [235919b4] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [235919b4] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [235919b4] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [5bd1c868] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5bd1c868] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180404201232; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180404201232'" 1>&2; false; fi
DEBUG [5bd1c868] Finished in 0.140 seconds with exit status 0 (successful).
INFO [dd5a8a2f] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [dd5a8a2f] Command: cd
/home/deploy/infraplan_staging/releases/20180404201232 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [dd5a8a2f]
/home/deploy/infraplan_staging/releases/20180404201232/app/controllers/predic
t_csv_controller.rb:65: warning: found = in conditional, should be ==
DEBUG [dd5a8a2f] delayed_job: trying to stop process with pid 9457...
DEBUG [dd5a8a2f]
DEBUG [dd5a8a2f] delayed_job: process with pid 9457 successfully stopped.
DEBUG [dd5a8a2f] delayed_job: process with pid 7619 started.
INFO [dd5a8a2f] Finished in 5.351 seconds with exit status 0 (successful).
DEBUG [5acc1597] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [5acc1597] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [5acc1597] 20180324080958 20180326141701 20180326142814
20180328202018 20180401212547
20180404201232
DEBUG [5acc1597] Finished in 0.145 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [2cb22742] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [2cb22742] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [2cb22742] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [582d7c4d] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [582d7c4d] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [582d7c4d] /home/deploy/infraplan_staging/releases/20180404201232
DEBUG [582d7c4d] Finished in 0.138 seconds with exit status 0 (successful).
INFO [663212d2] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180324080958 as deploy@li1268-
184.members.linode.com
DEBUG [663212d2] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180324080958
INFO [663212d2] Finished in 0.203 seconds with exit status 0 (successful).
DEBUG [b1b9aa70] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [b1b9aa70] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [b1b9aa70] Finished in 0.143 seconds with exit status 0 (successful).
INFO [68170835] Running /usr/bin/env echo "Branch feature/predict_modeling (at
ee0d5affd016517ae2000bcad7a0ce95dd33e7fe) deployed as release 20180404201232 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [68170835] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
ee0d5affd016517ae2000bcad7a0ce95dd33e7fe) deployed as release 20180404201232 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [68170835] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [6e1122f0] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [6e1122f0] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [6e1122f0] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [910df186] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [910df186] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [910df186] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [7e108a9b] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [7e108a9b] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [7e108a9b] Finished in 0.144 seconds with exit status 0 (successful).
INFO [82e6663f] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [82e6663f] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [82e6663f] Command restart sent success
DEBUG [82e6663f]
INFO [82e6663f] Finished in 0.973 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-09 15:50:48 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [0d5f3290] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [0d5f3290] Command: [ -d ~/.rvm ]
DEBUG [0d5f3290] Finished in 0.828 seconds with exit status 0 (successful).
DEBUG [deaf1553] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [deaf1553] Command: ~/.rvm/bin/rvm version
DEBUG [deaf1553] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [deaf1553] Finished in 0.337 seconds with exit status 0 (successful).
DEBUG [4ea1afbf] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [4ea1afbf] Command: ~/.rvm/bin/rvm current
DEBUG [4ea1afbf] ruby-2.3.4
DEBUG [4ea1afbf] Finished in 0.338 seconds with exit status 0 (successful).
DEBUG [34dd943f] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [34dd943f] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [34dd943f] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [34dd943f] Finished in 0.531 seconds with exit status 0 (successful).
INFO [a497764c] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [a497764c] Command: /usr/bin/env mkdir -p /tmp
INFO [a497764c] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [04882871] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [04882871] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [04882871] Finished in 0.154 seconds with exit status 0 (successful).
INFO [d61c39f4] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [d61c39f4] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [d61c39f4] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [d61c39f4] Finished in 0.597 seconds with exit status 0 (successful).
INFO [768ae180] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [768ae180] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [768ae180] Finished in 0.138 seconds with exit status 0 (successful).
INFO [d26fc77d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [d26fc77d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [d26fc77d] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2b3e6eec] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [2b3e6eec] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [2b3e6eec] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [918768fa] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [918768fa] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [918768fa] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [6c9cc07d] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [6c9cc07d] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [6c9cc07d] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [0a7b57ae] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [0a7b57ae] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [0a7b57ae] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [30e51dd9] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [30e51dd9] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [30e51dd9] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [5c89d83a] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [5c89d83a] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [5c89d83a] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [275cafb4] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [275cafb4] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [275cafb4] ee0d5affd016517ae2000bcad7a0ce95dd33e7fe
DEBUG [275cafb4] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [c7d0993b] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [c7d0993b] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [c7d0993b] Finished in 0.141 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [e0ae6af5] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [e0ae6af5] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [e0ae6af5] Finished in 0.137 seconds with exit status 0 (successful).
INFO [9966a6c1] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [9966a6c1] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [9966a6c1] Finished in 0.146 seconds with exit status 0 (successful).
INFO [21a53a90] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [21a53a90] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [21a53a90] Fetching origin
DEBUG [21a53a90] From bitbucket.org:avanraven/infraplan
ee0d5af..0235073 feature/predict_modeling -> feature/predict_modeling
INFO [21a53a90] Finished in 0.838 seconds with exit status 0 (successful).
DEBUG [810c3bd2] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [810c3bd2] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [810c3bd2] Finished in 0.139 seconds with exit status 0 (successful).
INFO [00b29898] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053 as deploy@li1268-
184.members.linode.com
DEBUG [00b29898] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180409195053 )
INFO [00b29898] Finished in 0.140 seconds with exit status 0 (successful).
INFO [509580ff] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180409195053
as deploy@li1268-184.members.linode.com
DEBUG [509580ff] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180409195053 )
INFO [509580ff] Finished in 0.396 seconds with exit status 0 (successful).
DEBUG [65be1010] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [65be1010] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [65be1010] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [785ae9c7] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [785ae9c7] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [785ae9c7] 02350736bf00b9a4e7faf253cdc3a17ba1ad198d
DEBUG [785ae9c7] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [32633e0f] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [32633e0f] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [32633e0f] Finished in 0.142 seconds with exit status 0 (successful).
INFO [e30353df] Running /usr/bin/env echo
"02350736bf00b9a4e7faf253cdc3a17ba1ad198d" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [e30353df] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && /usr/bin/env echo
"02350736bf00b9a4e7faf253cdc3a17ba1ad198d" >> REVISION
INFO [e30353df] Finished in 0.142 seconds with exit status 0 (successful).
INFO [d0d2ca00] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053/config as deploy@li1268-
184.members.linode.com
DEBUG [d0d2ca00] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053/config
INFO [d0d2ca00] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [0586c175] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0586c175] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml ]
DEBUG [0586c175] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [4207c1b5] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4207c1b5] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml ]
DEBUG [4207c1b5] Finished in 0.151 seconds with exit status 1 (failed).
INFO [5bc7f415] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [5bc7f415] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/database.yml
INFO [5bc7f415] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [24b9f78f] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [24b9f78f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml ]
DEBUG [24b9f78f] Finished in 0.146 seconds with exit status 1 (failed).
DEBUG [10eac3ad] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [10eac3ad] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml ]
DEBUG [10eac3ad] Finished in 0.150 seconds with exit status 1 (failed).
INFO [d88c1991] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [d88c1991] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/secrets.yml
INFO [d88c1991] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ad161fe7] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ad161fe7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml ]
DEBUG [ad161fe7] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [d8679dca] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d8679dca] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml ]
DEBUG [d8679dca] Finished in 0.141 seconds with exit status 1 (failed).
INFO [e1ad2140] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [e1ad2140] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180409195053/config/app_config.yml
INFO [e1ad2140] Finished in 0.139 seconds with exit status 0 (successful).
INFO [0a46d245] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/20180409195053/tmp
/home/deploy/infraplan_staging/releases/20180409195053/public as deploy@li1268-
184.members.linode.com
DEBUG [0a46d245] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/20180409195053/tmp
/home/deploy/infraplan_staging/releases/20180409195053/public
INFO [0a46d245] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [c5c2bea1] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/log ] as deploy@li1268-
184.members.linode.com
DEBUG [c5c2bea1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/log ]
DEBUG [c5c2bea1] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [71da6dfe] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/log ] as deploy@li1268-
184.members.linode.com
DEBUG [71da6dfe] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/log ]
DEBUG [71da6dfe] Finished in 0.141 seconds with exit status 1 (failed).
INFO [feefeac3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180409195053/log as deploy@li1268-
184.members.linode.com
DEBUG [feefeac3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180409195053/log
INFO [feefeac3] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [d6791251] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [d6791251] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids ]
DEBUG [d6791251] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [e61c3b61] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [e61c3b61] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids ]
DEBUG [e61c3b61] Finished in 0.147 seconds with exit status 1 (failed).
INFO [cc053830] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [cc053830] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180409195053/tmp/pids
INFO [cc053830] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [829a8cdb] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [829a8cdb] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache ]
DEBUG [829a8cdb] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [89c4713f] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [89c4713f] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache ]
DEBUG [89c4713f] Finished in 0.144 seconds with exit status 1 (failed).
INFO [bc5a68f3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [bc5a68f3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180409195053/tmp/cache
INFO [bc5a68f3] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [98d2b633] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [98d2b633] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets ]
DEBUG [98d2b633] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [3f31caea] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [3f31caea] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets ]
DEBUG [3f31caea] Finished in 0.137 seconds with exit status 1 (failed).
INFO [90250c30] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [90250c30] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180409195053/tmp/sockets
INFO [90250c30] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [822c2bf5] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [822c2bf5] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/public/system ]
DEBUG [822c2bf5] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [944a083c] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [944a083c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/public/system ]
DEBUG [944a083c] Finished in 0.143 seconds with exit status 1 (failed).
INFO [7e6e865b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180409195053/public/system as
deploy@li1268-184.members.linode.com
DEBUG [7e6e865b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180409195053/public/system
INFO [7e6e865b] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3e471275] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195053/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [3e471275] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195053/public/assets ]
DEBUG [3e471275] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [804ea8b1] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195053/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [804ea8b1] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195053/public/assets ]
DEBUG [804ea8b1] Finished in 0.139 seconds with exit status 0 (successful).
INFO [dc730241] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195053/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [dc730241] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195053/public/assets
INFO [dc730241] Finished in 0.146 seconds with exit status 0 (successful).
INFO [4e8a4d7b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180409195053/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [4e8a4d7b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180409195053/public/assets
INFO [4e8a4d7b] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [cf74b387] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [cf74b387] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [cf74b387] Finished in 0.136 seconds with exit status 0 (successful).
INFO [00c7f7e6] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [00c7f7e6] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [00c7f7e6] Finished in 5.171 seconds with exit status 0 (successful).
DEBUG [fa0ca17a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [fa0ca17a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [fa0ca17a] Finished in 0.139 seconds with exit status 0 (successful).
INFO [e6d0f074] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [e6d0f074] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
DEBUG [e6d0f074] I, [2018-04-09T19:52:18.179837 #11767] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/application-
99102aa242cf939733aa0a60f592bd27fab79b670ae7934a224323d38354f166.js
DEBUG [e6d0f074] I, [2018-04-09T19:52:36.716220 #11767] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/application-
2da7398c6c6fdbcbc0fbf98869fcac6696cf9f4f0df721d31b511ce5a3027b57.css
DEBUG [e6d0f074] I, [2018-04-09T19:52:36.722364 #11767] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/chosen-sprite-
8aa69ee6b2376505578d758bfbbc52aec88fa5e591f1a7cabd8adfa80a7b613a.png
DEBUG [e6d0f074] I, [2018-04-09T19:52:36.724613 #11767] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/chosen-
sprite@2x-1e349b80fba8c23b63656925fda8dfe3c5927b5d0d8a1672143416caacf460fb.png
INFO [e6d0f074] Finished in 91.427 seconds with exit status 0 (successful).
DEBUG [9d21158b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [9d21158b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [9d21158b] Finished in 0.142 seconds with exit status 0 (successful).
INFO [8ef0070d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [8ef0070d] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195053/assets_manifest_backup
INFO [8ef0070d] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [8a1b87e8] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [8a1b87e8] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest*
DEBUG [8a1b87e8]
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [8a1b87e8] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [89093715] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [89093715] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest*
DEBUG [89093715]
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [89093715] Finished in 0.140 seconds with exit status 0 (successful).
INFO [e5a82008] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180409195053/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [e5a82008] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180409195053/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180409195053/assets_manifest_backup
INFO [e5a82008] Finished in 0.140 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [b84504bb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b84504bb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [b84504bb] Finished in 0.140 seconds with exit status 0 (successful).
INFO [6a8ed0cf] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [6a8ed0cf] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [6a8ed0cf] Finished in 5.021 seconds with exit status 0 (successful).
INFO [3c0fab79] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [3c0fab79] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/current
INFO [3c0fab79] Finished in 0.150 seconds with exit status 0 (successful).
INFO [ce1b1910] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [ce1b1910] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [ce1b1910] Finished in -0.004 seconds with exit status 0 (successful).
DEBUG [914829c0] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [914829c0] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195053; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195053'" 1>&2; false; fi
DEBUG [914829c0] Finished in 0.139 seconds with exit status 0 (successful).
INFO [0299d62c] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [0299d62c] Command: cd
/home/deploy/infraplan_staging/releases/20180409195053 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [0299d62c]
/home/deploy/infraplan_staging/releases/20180409195053/app/controllers/predic
t_csv_controller.rb:62: warning: found = in conditional, should be ==
DEBUG [0299d62c] delayed_job: trying to stop process with pid 7619...
DEBUG [0299d62c]
DEBUG [0299d62c] delayed_job: process with pid 7619 successfully stopped.
DEBUG [0299d62c] delayed_job: process with pid 12528 started.
INFO [0299d62c] Finished in 5.306 seconds with exit status 0 (successful).
DEBUG [5be4d7a0] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [5be4d7a0] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [5be4d7a0] 20180326141701 20180326142814 20180328202018
20180401212547 20180404201232
20180409195053
DEBUG [5be4d7a0] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [7beb6d54] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [7beb6d54] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [7beb6d54] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [bbb46bf6] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [bbb46bf6] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [bbb46bf6] /home/deploy/infraplan_staging/releases/20180409195053
DEBUG [bbb46bf6] Finished in 0.141 seconds with exit status 0 (successful).
INFO [8b34ca64] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326141701 as deploy@li1268-
184.members.linode.com
DEBUG [8b34ca64] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326141701
INFO [8b34ca64] Finished in 0.212 seconds with exit status 0 (successful).
DEBUG [66f57b3f] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [66f57b3f] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [66f57b3f] Finished in 0.136 seconds with exit status 0 (successful).
INFO [ff05466a] Running /usr/bin/env echo "Branch feature/predict_modeling (at
02350736bf00b9a4e7faf253cdc3a17ba1ad198d) deployed as release 20180409195053 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [ff05466a] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
02350736bf00b9a4e7faf253cdc3a17ba1ad198d) deployed as release 20180409195053 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [ff05466a] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [d267f5af] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [d267f5af] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [d267f5af] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [a23ed580] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [a23ed580] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [a23ed580] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [0460dbea] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [0460dbea] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [0460dbea] Finished in 0.148 seconds with exit status 0 (successful).
INFO [6e1c0d1a] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [6e1c0d1a] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [6e1c0d1a] Command restart sent success
DEBUG [6e1c0d1a]
INFO [6e1c0d1a] Finished in 1.046 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-09 15:59:51 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [27b65615] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [27b65615] Command: [ -d ~/.rvm ]
DEBUG [27b65615] Finished in 0.616 seconds with exit status 0 (successful).
DEBUG [bacad0c6] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [bacad0c6] Command: ~/.rvm/bin/rvm version
DEBUG [bacad0c6] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [bacad0c6] Finished in 0.348 seconds with exit status 0 (successful).
DEBUG [a18c6527] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [a18c6527] Command: ~/.rvm/bin/rvm current
DEBUG [a18c6527] ruby-2.3.4
DEBUG [a18c6527] Finished in 0.373 seconds with exit status 0 (successful).
DEBUG [180077b8] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [180077b8] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [180077b8] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [180077b8] Finished in 0.496 seconds with exit status 0 (successful).
INFO [858e18e4] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [858e18e4] Command: /usr/bin/env mkdir -p /tmp
INFO [858e18e4] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [6b5d125b] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [6b5d125b] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [6b5d125b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [f573bee3] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [f573bee3] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [f573bee3] 4ad1b209831f4fef5401a7111c019456bb2f4ad2 HEAD
INFO [f573bee3] Finished in 0.465 seconds with exit status 0 (successful).
INFO [541bd8dc] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [541bd8dc] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [541bd8dc] Finished in 0.145 seconds with exit status 0 (successful).
INFO [f71f1aa1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [f71f1aa1] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [f71f1aa1] Finished in 0.136 seconds with exit status 0 (successful).
INFO [17c3352d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [17c3352d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [17c3352d] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [299985fe] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [299985fe] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [299985fe] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [25296a9c] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [25296a9c] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [25296a9c] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f09729a4] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [f09729a4] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [f09729a4] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [9bcee02f] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [9bcee02f] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [9bcee02f] Finished in 0.136 seconds with exit status 0 (successful).
DEBUG [7e15af5a] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [7e15af5a] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [7e15af5a] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [1f4e5037] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [1f4e5037] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [1f4e5037] 02350736bf00b9a4e7faf253cdc3a17ba1ad198d
DEBUG [1f4e5037] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [eb3bf660] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [eb3bf660] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [eb3bf660] Finished in 0.142 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [e1c296b0] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [e1c296b0] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [e1c296b0] Finished in 0.145 seconds with exit status 0 (successful).
INFO [68d8e465] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [68d8e465] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [68d8e465] Finished in 0.141 seconds with exit status 0 (successful).
INFO [95ec502a] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [95ec502a] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [95ec502a] Fetching origin
DEBUG [95ec502a] From bitbucket.org:avanraven/infraplan
0235073..40e6a5a feature/predict_modeling -> feature/predict_modeling
INFO [95ec502a] Finished in 0.738 seconds with exit status 0 (successful).
DEBUG [8b1b2192] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [8b1b2192] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [8b1b2192] Finished in 0.136 seconds with exit status 0 (successful).
INFO [d73eb1ab] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955 as deploy@li1268-
184.members.linode.com
DEBUG [d73eb1ab] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180409195955 )
INFO [d73eb1ab] Finished in 0.142 seconds with exit status 0 (successful).
INFO [ae51d66e] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180409195955
as deploy@li1268-184.members.linode.com
DEBUG [ae51d66e] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180409195955 )
INFO [ae51d66e] Finished in 0.373 seconds with exit status 0 (successful).
DEBUG [8a9db254] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [8a9db254] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [8a9db254] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [54293472] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [54293472] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [54293472] 40e6a5a7888bff0e30f98d407d459e57114078b3
DEBUG [54293472] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [73d96e9c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [73d96e9c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [73d96e9c] Finished in 0.137 seconds with exit status 0 (successful).
INFO [7dfded63] Running /usr/bin/env echo
"40e6a5a7888bff0e30f98d407d459e57114078b3" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [7dfded63] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && /usr/bin/env echo
"40e6a5a7888bff0e30f98d407d459e57114078b3" >> REVISION
INFO [7dfded63] Finished in 0.141 seconds with exit status 0 (successful).
INFO [c4ec3527] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955/config as deploy@li1268-
184.members.linode.com
DEBUG [c4ec3527] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955/config
INFO [c4ec3527] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [2e0187c3] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2e0187c3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml ]
DEBUG [2e0187c3] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [199f0060] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [199f0060] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml ]
DEBUG [199f0060] Finished in 0.139 seconds with exit status 1 (failed).
INFO [9e8d36de] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [9e8d36de] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/database.yml
INFO [9e8d36de] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [9cb7e4c0] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [9cb7e4c0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml ]
DEBUG [9cb7e4c0] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [499a3a6a] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [499a3a6a] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml ]
DEBUG [499a3a6a] Finished in 0.137 seconds with exit status 1 (failed).
INFO [c9f52867] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [c9f52867] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/secrets.yml
INFO [c9f52867] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [4231fcff] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4231fcff] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml ]
DEBUG [4231fcff] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [414e38eb] Running [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [414e38eb] Command: [ -f
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml ]
DEBUG [414e38eb] Finished in 0.148 seconds with exit status 1 (failed).
INFO [bb69da1a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [bb69da1a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180409195955/config/app_config.yml
INFO [bb69da1a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [75f2f3ff] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/20180409195955/tmp
/home/deploy/infraplan_staging/releases/20180409195955/public as deploy@li1268-
184.members.linode.com
DEBUG [75f2f3ff] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/20180409195955/tmp
/home/deploy/infraplan_staging/releases/20180409195955/public
INFO [75f2f3ff] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [331ad794] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/log ] as deploy@li1268-
184.members.linode.com
DEBUG [331ad794] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/log ]
DEBUG [331ad794] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [bbb8a8ed] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/log ] as deploy@li1268-
184.members.linode.com
DEBUG [bbb8a8ed] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/log ]
DEBUG [bbb8a8ed] Finished in 0.141 seconds with exit status 1 (failed).
INFO [e39de665] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180409195955/log as deploy@li1268-
184.members.linode.com
DEBUG [e39de665] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180409195955/log
INFO [e39de665] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [e7e3662a] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [e7e3662a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids ]
DEBUG [e7e3662a] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [a9334e1f] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [a9334e1f] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids ]
DEBUG [a9334e1f] Finished in 0.142 seconds with exit status 1 (failed).
INFO [760725c1] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [760725c1] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180409195955/tmp/pids
INFO [760725c1] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [cfd4fc59] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [cfd4fc59] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache ]
DEBUG [cfd4fc59] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [39c0a27a] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [39c0a27a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache ]
DEBUG [39c0a27a] Finished in 0.143 seconds with exit status 1 (failed).
INFO [3b46f220] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [3b46f220] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180409195955/tmp/cache
INFO [3b46f220] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f6aada0f] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [f6aada0f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets ]
DEBUG [f6aada0f] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [b1df95d6] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [b1df95d6] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets ]
DEBUG [b1df95d6] Finished in 0.147 seconds with exit status 1 (failed).
INFO [df67555a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [df67555a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180409195955/tmp/sockets
INFO [df67555a] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [1225b4d8] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [1225b4d8] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/public/system ]
DEBUG [1225b4d8] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [e5ee09af] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [e5ee09af] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/public/system ]
DEBUG [e5ee09af] Finished in 0.154 seconds with exit status 1 (failed).
INFO [7d0d3c9a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180409195955/public/system as
deploy@li1268-184.members.linode.com
DEBUG [7d0d3c9a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180409195955/public/system
INFO [7d0d3c9a] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [9257eb97] Running [ -L
/home/deploy/infraplan_staging/releases/20180409195955/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [9257eb97] Command: [ -L
/home/deploy/infraplan_staging/releases/20180409195955/public/assets ]
DEBUG [9257eb97] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [d32c3f35] Running [ -d
/home/deploy/infraplan_staging/releases/20180409195955/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [d32c3f35] Command: [ -d
/home/deploy/infraplan_staging/releases/20180409195955/public/assets ]
DEBUG [d32c3f35] Finished in 0.145 seconds with exit status 0 (successful).
INFO [557152ac] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195955/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [557152ac] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195955/public/assets
INFO [557152ac] Finished in 0.164 seconds with exit status 0 (successful).
INFO [c95991b7] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180409195955/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [c95991b7] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180409195955/public/assets
INFO [c95991b7] Finished in 0.152 seconds with exit status 0 (successful).
DEBUG [3dee226c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [3dee226c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [3dee226c] Finished in 0.143 seconds with exit status 0 (successful).
INFO [316904d1] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [316904d1] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [316904d1] Finished in 2.072 seconds with exit status 0 (successful).
DEBUG [0199cc67] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0199cc67] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [0199cc67] Finished in 0.142 seconds with exit status 0 (successful).
INFO [83123a5b] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [83123a5b] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [83123a5b] Finished in 5.475 seconds with exit status 0 (successful).
DEBUG [e85a495b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [e85a495b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [e85a495b] Finished in 0.140 seconds with exit status 0 (successful).
INFO [5975542c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [5975542c] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180409195955/assets_manifest_backup
INFO [5975542c] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [d9cf37b0] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [d9cf37b0] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest*
DEBUG [d9cf37b0]
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [d9cf37b0] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ec5128a8] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [ec5128a8] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest*
DEBUG [ec5128a8]
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [ec5128a8] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ea7bcc4e] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180409195955/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [ea7bcc4e] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180409195955/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180409195955/assets_manifest_backup
INFO [ea7bcc4e] Finished in 0.143 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [5ef813fb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5ef813fb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [5ef813fb] Finished in 0.139 seconds with exit status 0 (successful).
INFO [ce1a7e5c] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [ce1a7e5c] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [ce1a7e5c] Finished in 4.920 seconds with exit status 0 (successful).
INFO [b11e4f70] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [b11e4f70] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/current
INFO [b11e4f70] Finished in 0.144 seconds with exit status 0 (successful).
INFO [61bf7c15] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [61bf7c15] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [61bf7c15] Finished in 0.163 seconds with exit status 0 (successful).
DEBUG [e59d8e14] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [e59d8e14] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180409195955; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180409195955'" 1>&2; false; fi
DEBUG [e59d8e14] Finished in 0.165 seconds with exit status 0 (successful).
INFO [8f5ba6b9] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [8f5ba6b9] Command: cd
/home/deploy/infraplan_staging/releases/20180409195955 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [8f5ba6b9]
/home/deploy/infraplan_staging/releases/20180409195955/app/controllers/predic
t_csv_controller.rb:62: warning: found = in conditional, should be ==
DEBUG [8f5ba6b9] delayed_job: trying to stop process with pid 12528...
DEBUG [8f5ba6b9]
DEBUG [8f5ba6b9] delayed_job: process with pid 12528 successfully stopped.
DEBUG [8f5ba6b9] delayed_job: process with pid 14359 started.
INFO [8f5ba6b9] Finished in 5.439 seconds with exit status 0 (successful).
DEBUG [b5ea5c97] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [b5ea5c97] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [b5ea5c97] 20180326142814 20180328202018 20180401212547
20180404201232 20180409195053
20180409195955
DEBUG [b5ea5c97] Finished in 0.141 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [7fae36a9] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [7fae36a9] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [7fae36a9] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [77741d0a] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [77741d0a] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [77741d0a] /home/deploy/infraplan_staging/releases/20180409195955
DEBUG [77741d0a] Finished in 0.140 seconds with exit status 0 (successful).
INFO [8a07961c] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326142814 as deploy@li1268-
184.members.linode.com
DEBUG [8a07961c] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180326142814
INFO [8a07961c] Finished in 0.198 seconds with exit status 0 (successful).
DEBUG [29d4e197] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [29d4e197] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [29d4e197] Finished in 0.136 seconds with exit status 0 (successful).
INFO [1013f3bf] Running /usr/bin/env echo "Branch feature/predict_modeling (at
40e6a5a7888bff0e30f98d407d459e57114078b3) deployed as release 20180409195955 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [1013f3bf] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
40e6a5a7888bff0e30f98d407d459e57114078b3) deployed as release 20180409195955 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [1013f3bf] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [9edff518] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [9edff518] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [9edff518] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [699793ff] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [699793ff] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [699793ff] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [4223ae02] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [4223ae02] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [4223ae02] Finished in 0.144 seconds with exit status 0 (successful).
INFO [2167e15b] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [2167e15b] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [2167e15b] Command restart sent success
DEBUG [2167e15b]
INFO [2167e15b] Finished in 0.892 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-18 12:21:49 -0400 cap staging deploy BRANCH=master
INFO ---------------------------------------------------------------------------
DEBUG [a7d46a2b] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [a7d46a2b] Command: [ -d ~/.rvm ]
DEBUG [a7d46a2b] Finished in 0.762 seconds with exit status 0 (successful).
DEBUG [4129bdf3] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [4129bdf3] Command: ~/.rvm/bin/rvm version
DEBUG [4129bdf3] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [4129bdf3] Finished in 0.360 seconds with exit status 0 (successful).
DEBUG [d58be6c5] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [d58be6c5] Command: ~/.rvm/bin/rvm current
DEBUG [d58be6c5] ruby-2.3.4
DEBUG [d58be6c5] Finished in 0.369 seconds with exit status 0 (successful).
DEBUG [214db25d] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [214db25d] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [214db25d] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [214db25d] Finished in 0.530 seconds with exit status 0 (successful).
INFO [a95ed2eb] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [a95ed2eb] Command: /usr/bin/env mkdir -p /tmp
INFO [a95ed2eb] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [60fbcc26] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [60fbcc26] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [60fbcc26] Finished in 0.428 seconds with exit status 0 (successful).
INFO [52455637] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [52455637] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [52455637] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [52455637] Finished in 0.994 seconds with exit status 0 (successful).
INFO [147f63b5] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [147f63b5] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [147f63b5] Finished in 0.144 seconds with exit status 0 (successful).
INFO [5c8bae46] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [5c8bae46] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [5c8bae46] Finished in 0.140 seconds with exit status 0 (successful).
INFO [05e5635c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [05e5635c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [05e5635c] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [0a703cfe] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [0a703cfe] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [0a703cfe] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [20de7f3a] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [20de7f3a] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [20de7f3a] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [b5577753] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [b5577753] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [b5577753] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [2a9d414d] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [2a9d414d] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [2a9d414d] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [939780d8] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [939780d8] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [939780d8] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [fcc188a2] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [fcc188a2] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [fcc188a2] 40e6a5a7888bff0e30f98d407d459e57114078b3
DEBUG [fcc188a2] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [efb26e6e] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [efb26e6e] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [efb26e6e] Finished in 0.141 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [41e6b660] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [41e6b660] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [41e6b660] Finished in 0.142 seconds with exit status 0 (successful).
INFO [416d03b3] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [416d03b3] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [416d03b3] Finished in 0.145 seconds with exit status 0 (successful).
INFO [c42ca9f6] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [c42ca9f6] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [c42ca9f6] Fetching origin
DEBUG [c42ca9f6] From bitbucket.org:avanraven/infraplan
40e6a5a..2c70f21 feature/predict_modeling -> feature/predict_modeling
DEBUG [c42ca9f6] + 793a1a3...07d7d8a jg-breaks-sort-by-life-status -> jg-
breaks-sort-by-life-status (forced update)
DEBUG [c42ca9f6] * [new branch] jg-pipedata-on-breaks -> jg-pipedata-
on-breaks
DEBUG [c42ca9f6] 4ad1b20..0f367cc master -> master
INFO [c42ca9f6] Finished in 3.429 seconds with exit status 0 (successful).
DEBUG [2fcdcd79] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [2fcdcd79] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [2fcdcd79] Finished in 0.138 seconds with exit status 0 (successful).
INFO [1a5d89cf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154 as deploy@li1268-
184.members.linode.com
DEBUG [1a5d89cf] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180418162154 )
INFO [1a5d89cf] Finished in 0.144 seconds with exit status 0 (successful).
INFO [eb32e623] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f
- -C /home/deploy/infraplan_staging/releases/20180418162154 as deploy@li1268-
184.members.linode.com
DEBUG [eb32e623] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive master | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180418162154 )
INFO [eb32e623] Finished in 0.458 seconds with exit status 0 (successful).
DEBUG [a24413e0] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [a24413e0] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [a24413e0] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [3bdd3f36] Running /usr/bin/env git rev-list --max-count=1 master as
deploy@li1268-184.members.linode.com
DEBUG [3bdd3f36] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 master )
DEBUG [3bdd3f36] 0f367cce33319e470acbfa251fdeb46ca174e21a
DEBUG [3bdd3f36] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [e81c5417] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [e81c5417] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [e81c5417] Finished in 0.142 seconds with exit status 0 (successful).
INFO [58be4f74] Running /usr/bin/env echo
"0f367cce33319e470acbfa251fdeb46ca174e21a" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [58be4f74] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && /usr/bin/env echo
"0f367cce33319e470acbfa251fdeb46ca174e21a" >> REVISION
INFO [58be4f74] Finished in 0.138 seconds with exit status 0 (successful).
INFO [95631b65] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154/config as deploy@li1268-
184.members.linode.com
DEBUG [95631b65] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154/config
INFO [95631b65] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [4c97f2c6] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4c97f2c6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml ]
DEBUG [4c97f2c6] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [65dfec3b] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [65dfec3b] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml ]
DEBUG [65dfec3b] Finished in 0.140 seconds with exit status 1 (failed).
INFO [4ef4a7ce] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [4ef4a7ce] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/database.yml
INFO [4ef4a7ce] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [758668e6] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [758668e6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml ]
DEBUG [758668e6] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [da4b04f1] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [da4b04f1] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml ]
DEBUG [da4b04f1] Finished in 0.139 seconds with exit status 1 (failed).
INFO [78db88e4] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [78db88e4] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/secrets.yml
INFO [78db88e4] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [aa75984c] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [aa75984c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml ]
DEBUG [aa75984c] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [1cd525ab] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [1cd525ab] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml ]
DEBUG [1cd525ab] Finished in 0.140 seconds with exit status 1 (failed).
INFO [a828a6b8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [a828a6b8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180418162154/config/app_config.yml
INFO [a828a6b8] Finished in 0.139 seconds with exit status 0 (successful).
INFO [f01f655d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154
/home/deploy/infraplan_staging/releases/20180418162154/tmp
/home/deploy/infraplan_staging/releases/20180418162154/public as deploy@li1268-
184.members.linode.com
DEBUG [f01f655d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154
/home/deploy/infraplan_staging/releases/20180418162154/tmp
/home/deploy/infraplan_staging/releases/20180418162154/public
INFO [f01f655d] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [98590ac5] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/log ] as deploy@li1268-
184.members.linode.com
DEBUG [98590ac5] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/log ]
DEBUG [98590ac5] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [a4440022] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/log ] as deploy@li1268-
184.members.linode.com
DEBUG [a4440022] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/log ]
DEBUG [a4440022] Finished in 0.145 seconds with exit status 1 (failed).
INFO [78f98409] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180418162154/log as deploy@li1268-
184.members.linode.com
DEBUG [78f98409] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180418162154/log
INFO [78f98409] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [f053fd19] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [f053fd19] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids ]
DEBUG [f053fd19] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [90c70379] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [90c70379] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids ]
DEBUG [90c70379] Finished in 0.140 seconds with exit status 1 (failed).
INFO [42886f08] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [42886f08] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180418162154/tmp/pids
INFO [42886f08] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b7d6a9cf] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [b7d6a9cf] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache ]
DEBUG [b7d6a9cf] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [113d11b7] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [113d11b7] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache ]
DEBUG [113d11b7] Finished in 0.143 seconds with exit status 1 (failed).
INFO [b40ad619] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [b40ad619] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180418162154/tmp/cache
INFO [b40ad619] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [39b11147] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [39b11147] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets ]
DEBUG [39b11147] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [f65c515b] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [f65c515b] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets ]
DEBUG [f65c515b] Finished in 0.141 seconds with exit status 1 (failed).
INFO [72a8dab3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [72a8dab3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180418162154/tmp/sockets
INFO [72a8dab3] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [d98dada1] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [d98dada1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/public/system ]
DEBUG [d98dada1] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [6fe273ec] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [6fe273ec] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/public/system ]
DEBUG [6fe273ec] Finished in 0.140 seconds with exit status 1 (failed).
INFO [6ff33a29] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180418162154/public/system as
deploy@li1268-184.members.linode.com
DEBUG [6ff33a29] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180418162154/public/system
INFO [6ff33a29] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [43696217] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162154/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [43696217] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162154/public/assets ]
DEBUG [43696217] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [7b0ff6dc] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162154/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [7b0ff6dc] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162154/public/assets ]
DEBUG [7b0ff6dc] Finished in 0.139 seconds with exit status 0 (successful).
INFO [0c97d3b2] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162154/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [0c97d3b2] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162154/public/assets
INFO [0c97d3b2] Finished in 0.158 seconds with exit status 0 (successful).
INFO [cf4a2ec3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180418162154/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [cf4a2ec3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180418162154/public/assets
INFO [cf4a2ec3] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [f98710f5] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f98710f5] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [f98710f5] Finished in 0.145 seconds with exit status 0 (successful).
INFO [0dd3a45e] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [0dd3a45e] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [0dd3a45e] Finished in 1.739 seconds with exit status 0 (successful).
DEBUG [0835c75c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0835c75c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [0835c75c] Finished in 0.139 seconds with exit status 0 (successful).
INFO [c99d5e5a] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [c99d5e5a] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
DEBUG [c99d5e5a] I, [2018-04-18T16:23:15.294282 #20872] INFO -- :
Writing
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/application-
d8de983904020da885f1c61d8d9f2c0526755658fc127fab3518f1a2ef9d425e.js
INFO [c99d5e5a] Finished in 69.180 seconds with exit status 0 (successful).
DEBUG [2fff39a2] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [2fff39a2] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [2fff39a2] Finished in 0.143 seconds with exit status 0 (successful).
INFO [8eacbb43] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [8eacbb43] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162154/assets_manifest_backup
INFO [8eacbb43] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [7e8ac60c] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [7e8ac60c] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest*
DEBUG [7e8ac60c]
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [7e8ac60c] Finished in 0.166 seconds with exit status 0 (successful).
DEBUG [597781d1] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [597781d1] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest*
DEBUG [597781d1]
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [597781d1] Finished in 0.145 seconds with exit status 0 (successful).
INFO [d2c37963] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180418162154/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [d2c37963] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180418162154/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180418162154/assets_manifest_backup
INFO [d2c37963] Finished in 0.146 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [657d93f4] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [657d93f4] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [657d93f4] Finished in 0.143 seconds with exit status 0 (successful).
INFO [20d510a5] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [20d510a5] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [20d510a5] == 20180326061543 AddInheritedToItemStatus: migrating
=========================
DEBUG [20d510a5]
DEBUG [20d510a5] -- add_column(:item_statuses, :pipe_inherited, :boolean,
{:default=>false})
DEBUG [20d510a5]
DEBUG [20d510a5] -> 8.3489s
DEBUG [20d510a5]
DEBUG [20d510a5] == 20180326061543 AddInheritedToItemStatus: migrated
(8.3491s) ================
DEBUG [20d510a5]
DEBUG [20d510a5]
INFO [20d510a5] Finished in 12.682 seconds with exit status 0 (successful).
INFO [569c7e33] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180418162154
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [569c7e33] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180418162154
/home/deploy/infraplan_staging/releases/current
INFO [569c7e33] Finished in 0.141 seconds with exit status 0 (successful).
INFO [c8571556] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [c8571556] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [c8571556] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [0b26ef73] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0b26ef73] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162154; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162154'" 1>&2; false; fi
DEBUG [0b26ef73] Finished in 0.142 seconds with exit status 0 (successful).
INFO [165167f7] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [165167f7] Command: cd
/home/deploy/infraplan_staging/releases/20180418162154 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [165167f7]
/home/deploy/infraplan_staging/releases/20180418162154/app/controllers/predic
t_csv_controller.rb:62: warning: found = in conditional, should be ==
DEBUG [165167f7] delayed_job: warning: no instances running. Starting...
DEBUG [165167f7] delayed_job: process with pid 21638 started.
INFO [165167f7] Finished in 4.053 seconds with exit status 0 (successful).
DEBUG [67ed47f4] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [67ed47f4] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [67ed47f4] 20180328202018 20180401212547 20180404201232
20180409195053 20180409195955
20180418162154
DEBUG [67ed47f4] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [981e4d53] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [981e4d53] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [981e4d53] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [e17db4e3] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [e17db4e3] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [e17db4e3] /home/deploy/infraplan_staging/releases/20180418162154
DEBUG [e17db4e3] Finished in 0.144 seconds with exit status 0 (successful).
INFO [461201c3] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180328202018 as deploy@li1268-
184.members.linode.com
DEBUG [461201c3] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180328202018
INFO [461201c3] Finished in 0.198 seconds with exit status 0 (successful).
DEBUG [7db4ee3f] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [7db4ee3f] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [7db4ee3f] Finished in 0.140 seconds with exit status 0 (successful).
INFO [24900499] Running /usr/bin/env echo "Branch master (at
0f367cce33319e470acbfa251fdeb46ca174e21a) deployed as release 20180418162154 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [24900499] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch master (at 0f367cce33319e470acbfa251fdeb46ca174e21a)
deployed as release 20180418162154 by Rahul" >>
/home/deploy/infraplan_staging/revisions.log
INFO [24900499] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [e119a4f6] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [e119a4f6] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [e119a4f6] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [abbbf084] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [abbbf084] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [abbbf084] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [82233d28] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [82233d28] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [82233d28] Finished in 0.145 seconds with exit status 0 (successful).
INFO [47d4380d] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [47d4380d] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [47d4380d] Command restart sent success
DEBUG [47d4380d]
INFO [47d4380d] Finished in 1.036 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-18 12:24:51 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [d8794171] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [d8794171] Command: [ -d ~/.rvm ]
DEBUG [d8794171] Finished in 0.882 seconds with exit status 0 (successful).
DEBUG [f59b2ce0] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [f59b2ce0] Command: ~/.rvm/bin/rvm version
DEBUG [f59b2ce0] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [f59b2ce0] Finished in 0.346 seconds with exit status 0 (successful).
DEBUG [e6f4f3d2] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [e6f4f3d2] Command: ~/.rvm/bin/rvm current
DEBUG [e6f4f3d2] ruby-2.3.4
DEBUG [e6f4f3d2] Finished in 0.345 seconds with exit status 0 (successful).
DEBUG [c226ae59] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [c226ae59] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [c226ae59] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [c226ae59] Finished in 0.493 seconds with exit status 0 (successful).
INFO [5b2741a7] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [5b2741a7] Command: /usr/bin/env mkdir -p /tmp
INFO [5b2741a7] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [85fe8426] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [85fe8426] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [85fe8426] Finished in 0.145 seconds with exit status 0 (successful).
INFO [b49ddd8f] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [b49ddd8f] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [b49ddd8f] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [b49ddd8f] Finished in 0.503 seconds with exit status 0 (successful).
INFO [48a84a2b] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [48a84a2b] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [48a84a2b] Finished in 0.141 seconds with exit status 0 (successful).
INFO [7b07d5b2] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [7b07d5b2] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [7b07d5b2] Finished in 0.138 seconds with exit status 0 (successful).
INFO [56a25e80] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [56a25e80] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [56a25e80] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [babdbdf4] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [babdbdf4] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [babdbdf4] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [ecd6d9f0] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ecd6d9f0] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [ecd6d9f0] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [a54a34da] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [a54a34da] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [a54a34da] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [d97f95e2] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [d97f95e2] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [d97f95e2] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [d9c63703] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [d9c63703] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [d9c63703] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [64c7e14e] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [64c7e14e] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [64c7e14e] 0f367cce33319e470acbfa251fdeb46ca174e21a
DEBUG [64c7e14e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [86e37377] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [86e37377] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [86e37377] Finished in 0.172 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [f64219e9] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [f64219e9] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [f64219e9] Finished in 0.200 seconds with exit status 0 (successful).
INFO [20bc0a84] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [20bc0a84] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [20bc0a84] Finished in 0.165 seconds with exit status 0 (successful).
INFO [6e75417a] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [6e75417a] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [6e75417a] Fetching origin
INFO [6e75417a] Finished in 0.471 seconds with exit status 0 (successful).
DEBUG [ad661929] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [ad661929] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [ad661929] Finished in 0.138 seconds with exit status 0 (successful).
INFO [5215a854] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456 as deploy@li1268-
184.members.linode.com
DEBUG [5215a854] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180418162456 )
INFO [5215a854] Finished in 0.145 seconds with exit status 0 (successful).
INFO [c0614a4e] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180418162456
as deploy@li1268-184.members.linode.com
DEBUG [c0614a4e] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180418162456 )
INFO [c0614a4e] Finished in 0.420 seconds with exit status 0 (successful).
DEBUG [3495cb8d] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [3495cb8d] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [3495cb8d] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [b018047f] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [b018047f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [b018047f] 2c70f216539e080e677cdcfe52d64d82d07006f9
DEBUG [b018047f] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [4815b3d9] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [4815b3d9] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [4815b3d9] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ded1c6d2] Running /usr/bin/env echo
"2c70f216539e080e677cdcfe52d64d82d07006f9" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [ded1c6d2] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && /usr/bin/env echo
"2c70f216539e080e677cdcfe52d64d82d07006f9" >> REVISION
INFO [ded1c6d2] Finished in 0.151 seconds with exit status 0 (successful).
INFO [cc7c132d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456/config as deploy@li1268-
184.members.linode.com
DEBUG [cc7c132d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456/config
INFO [cc7c132d] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [4e2cf8c0] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4e2cf8c0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml ]
DEBUG [4e2cf8c0] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [804d81a6] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [804d81a6] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml ]
DEBUG [804d81a6] Finished in 0.140 seconds with exit status 1 (failed).
INFO [5456871a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [5456871a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/database.yml
INFO [5456871a] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [2576dd45] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [2576dd45] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml ]
DEBUG [2576dd45] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [8538cec9] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [8538cec9] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml ]
DEBUG [8538cec9] Finished in 0.140 seconds with exit status 1 (failed).
INFO [a6b8041a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [a6b8041a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/secrets.yml
INFO [a6b8041a] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [69e4bc58] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [69e4bc58] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml ]
DEBUG [69e4bc58] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [21c0ca85] Running [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [21c0ca85] Command: [ -f
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml ]
DEBUG [21c0ca85] Finished in 0.143 seconds with exit status 1 (failed).
INFO [d370c364] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [d370c364] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180418162456/config/app_config.yml
INFO [d370c364] Finished in 0.141 seconds with exit status 0 (successful).
INFO [70198f25] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456
/home/deploy/infraplan_staging/releases/20180418162456/tmp
/home/deploy/infraplan_staging/releases/20180418162456/public as deploy@li1268-
184.members.linode.com
DEBUG [70198f25] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456
/home/deploy/infraplan_staging/releases/20180418162456/tmp
/home/deploy/infraplan_staging/releases/20180418162456/public
INFO [70198f25] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [de127918] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/log ] as deploy@li1268-
184.members.linode.com
DEBUG [de127918] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/log ]
DEBUG [de127918] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [6590dfc0] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/log ] as deploy@li1268-
184.members.linode.com
DEBUG [6590dfc0] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/log ]
DEBUG [6590dfc0] Finished in 0.140 seconds with exit status 1 (failed).
INFO [c6f0f3c7] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180418162456/log as deploy@li1268-
184.members.linode.com
DEBUG [c6f0f3c7] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180418162456/log
INFO [c6f0f3c7] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [21969bde] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [21969bde] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids ]
DEBUG [21969bde] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [5db35701] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [5db35701] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids ]
DEBUG [5db35701] Finished in 0.153 seconds with exit status 1 (failed).
INFO [ce2b5bd0] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [ce2b5bd0] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180418162456/tmp/pids
INFO [ce2b5bd0] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [597595ad] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [597595ad] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache ]
DEBUG [597595ad] Finished in 0.177 seconds with exit status 1 (failed).
DEBUG [0bcbf7be] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [0bcbf7be] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache ]
DEBUG [0bcbf7be] Finished in 0.217 seconds with exit status 1 (failed).
INFO [e18ed5a0] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [e18ed5a0] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180418162456/tmp/cache
INFO [e18ed5a0] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [fc61b135] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [fc61b135] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets ]
DEBUG [fc61b135] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [d66c2449] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [d66c2449] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets ]
DEBUG [d66c2449] Finished in 0.141 seconds with exit status 1 (failed).
INFO [53a9e29f] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [53a9e29f] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180418162456/tmp/sockets
INFO [53a9e29f] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [5c2a18c3] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [5c2a18c3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/public/system ]
DEBUG [5c2a18c3] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [ad91b143] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [ad91b143] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/public/system ]
DEBUG [ad91b143] Finished in 0.146 seconds with exit status 1 (failed).
INFO [3383defc] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180418162456/public/system as
deploy@li1268-184.members.linode.com
DEBUG [3383defc] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180418162456/public/system
INFO [3383defc] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [404b9de0] Running [ -L
/home/deploy/infraplan_staging/releases/20180418162456/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [404b9de0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180418162456/public/assets ]
DEBUG [404b9de0] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [335b3c3c] Running [ -d
/home/deploy/infraplan_staging/releases/20180418162456/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [335b3c3c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180418162456/public/assets ]
DEBUG [335b3c3c] Finished in 0.144 seconds with exit status 0 (successful).
INFO [75c77cc4] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162456/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [75c77cc4] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162456/public/assets
INFO [75c77cc4] Finished in 0.154 seconds with exit status 0 (successful).
INFO [0647c07b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180418162456/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [0647c07b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180418162456/public/assets
INFO [0647c07b] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [13c8d767] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [13c8d767] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [13c8d767] Finished in 0.142 seconds with exit status 0 (successful).
INFO [eac32cbd] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [eac32cbd] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [eac32cbd] Finished in 1.579 seconds with exit status 0 (successful).
DEBUG [8f6faec8] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [8f6faec8] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [8f6faec8] Finished in 0.140 seconds with exit status 0 (successful).
INFO [50e1ff4a] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [50e1ff4a] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [50e1ff4a] Finished in 4.386 seconds with exit status 0 (successful).
DEBUG [f9579d4e] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f9579d4e] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [f9579d4e] Finished in 0.142 seconds with exit status 0 (successful).
INFO [b2e1b7a5] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [b2e1b7a5] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180418162456/assets_manifest_backup
INFO [b2e1b7a5] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [c8fbbb96] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [c8fbbb96] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest*
DEBUG [c8fbbb96]
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [c8fbbb96] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [aa04acd3] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [aa04acd3] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest*
DEBUG [aa04acd3]
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [aa04acd3] Finished in 0.149 seconds with exit status 0 (successful).
INFO [3e7e6345] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180418162456/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [3e7e6345] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180418162456/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180418162456/assets_manifest_backup
INFO [3e7e6345] Finished in 0.147 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [066243a7] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [066243a7] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [066243a7] Finished in 0.141 seconds with exit status 0 (successful).
INFO [3c6157f4] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [3c6157f4] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [3c6157f4] Finished in 3.790 seconds with exit status 0 (successful).
INFO [d1110648] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180418162456
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [d1110648] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180418162456
/home/deploy/infraplan_staging/releases/current
INFO [d1110648] Finished in 0.144 seconds with exit status 0 (successful).
INFO [e4704449] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [e4704449] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [e4704449] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [e5bf9680] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [e5bf9680] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180418162456; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180418162456'" 1>&2; false; fi
DEBUG [e5bf9680] Finished in 0.141 seconds with exit status 0 (successful).
INFO [b965544c] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [b965544c] Command: cd
/home/deploy/infraplan_staging/releases/20180418162456 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [b965544c]
/home/deploy/infraplan_staging/releases/20180418162456/app/controllers/predic
t_csv_controller.rb:62: warning: found = in conditional, should be ==
DEBUG [b965544c] delayed_job: trying to stop process with pid 21638...
DEBUG [b965544c]
DEBUG [b965544c] delayed_job: process with pid 21638 successfully stopped.
DEBUG [b965544c] delayed_job: process with pid 23489 started.
INFO [b965544c] Finished in 5.254 seconds with exit status 0 (successful).
DEBUG [5762e946] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [5762e946] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [5762e946] 20180401212547 20180404201232 20180409195053
20180409195955 20180418162154
20180418162456
DEBUG [5762e946] Finished in 0.143 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [4ed53cd0] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [4ed53cd0] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [4ed53cd0] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [45353e37] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [45353e37] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [45353e37] /home/deploy/infraplan_staging/releases/20180418162456
DEBUG [45353e37] Finished in 0.140 seconds with exit status 0 (successful).
INFO [1dee19bb] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180401212547 as deploy@li1268-
184.members.linode.com
DEBUG [1dee19bb] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180401212547
INFO [1dee19bb] Finished in 0.205 seconds with exit status 0 (successful).
DEBUG [a689246a] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [a689246a] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [a689246a] Finished in 0.139 seconds with exit status 0 (successful).
INFO [59dda6e0] Running /usr/bin/env echo "Branch feature/predict_modeling (at
2c70f216539e080e677cdcfe52d64d82d07006f9) deployed as release 20180418162456 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [59dda6e0] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
2c70f216539e080e677cdcfe52d64d82d07006f9) deployed as release 20180418162456 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [59dda6e0] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [5e7e2fbe] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [5e7e2fbe] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [5e7e2fbe] Finished in 0.169 seconds with exit status 0 (successful).
DEBUG [f9451bf9] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [f9451bf9] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [f9451bf9] Finished in 0.219 seconds with exit status 0 (successful).
DEBUG [bcfbbd0e] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [bcfbbd0e] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [bcfbbd0e] Finished in 0.151 seconds with exit status 0 (successful).
INFO [646e1230] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [646e1230] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [646e1230] Command restart sent success
DEBUG [646e1230]
INFO [646e1230] Finished in 0.996 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-25 03:37:16 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [1a35e548] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [1a35e548] Command: [ -d ~/.rvm ]
DEBUG [1a35e548] Finished in 0.687 seconds with exit status 0 (successful).
DEBUG [deb991af] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [deb991af] Command: ~/.rvm/bin/rvm version
DEBUG [deb991af] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [deb991af] Finished in 0.416 seconds with exit status 0 (successful).
DEBUG [048d2836] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [048d2836] Command: ~/.rvm/bin/rvm current
DEBUG [048d2836] ruby-2.3.4
DEBUG [048d2836] Finished in 0.578 seconds with exit status 0 (successful).
DEBUG [8f893e41] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [8f893e41] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [8f893e41] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [8f893e41] Finished in 0.545 seconds with exit status 0 (successful).
INFO [f546add6] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [f546add6] Command: /usr/bin/env mkdir -p /tmp
INFO [f546add6] Finished in 0.156 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [c1eef33b] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [c1eef33b] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [c1eef33b] Finished in 0.145 seconds with exit status 0 (successful).
INFO [21ba003c] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [21ba003c] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [21ba003c] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [21ba003c] Finished in 0.966 seconds with exit status 0 (successful).
INFO [8a92d136] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [8a92d136] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [8a92d136] Finished in 0.097 seconds with exit status 0 (successful).
INFO [d2dd45e0] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [d2dd45e0] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [d2dd45e0] Finished in 0.142 seconds with exit status 0 (successful).
INFO [ced703c0] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [ced703c0] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [ced703c0] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [3ae0df90] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [3ae0df90] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [3ae0df90] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [46241318] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [46241318] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [46241318] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [c7c37460] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [c7c37460] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [c7c37460] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [eedbcfdf] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [eedbcfdf] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [eedbcfdf] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [2270bdd6] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [2270bdd6] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [2270bdd6] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [06ceea53] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [06ceea53] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [06ceea53] 3957319aba2d5eb12dee86fbc4f8383b7e675b2f
DEBUG [06ceea53] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [471ae054] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [471ae054] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [471ae054] Finished in 0.147 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [00860ae6] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [00860ae6] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [00860ae6] Finished in 0.139 seconds with exit status 0 (successful).
INFO [b74f658f] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [b74f658f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [b74f658f] Finished in 0.155 seconds with exit status 0 (successful).
INFO [ddd9f889] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [ddd9f889] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [ddd9f889] Fetching origin
DEBUG [ddd9f889] From bitbucket.org:avanraven/infraplan
2c70f21..4457434 feature/predict_modeling -> feature/predict_modeling
DEBUG [ddd9f889] * [new branch] jg-fix-scopes-on-pipes-table -> jg-
fix-scopes-on-pipes-table
INFO [ddd9f889] Finished in 1.939 seconds with exit status 0 (successful).
DEBUG [d186d57f] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [d186d57f] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [d186d57f] Finished in 0.140 seconds with exit status 0 (successful).
INFO [548c76bf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721 as deploy@li1268-
184.members.linode.com
DEBUG [548c76bf] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180425073721 )
INFO [548c76bf] Finished in 0.143 seconds with exit status 0 (successful).
INFO [b4865762] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180425073721
as deploy@li1268-184.members.linode.com
DEBUG [b4865762] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180425073721 )
INFO [b4865762] Finished in 0.575 seconds with exit status 0 (successful).
DEBUG [8c8e3a18] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [8c8e3a18] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [8c8e3a18] Finished in 0.163 seconds with exit status 0 (successful).
DEBUG [6fd3fe15] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [6fd3fe15] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [6fd3fe15] 4457434c7317baefe4769e3b2eb461796dce3b1f
DEBUG [6fd3fe15] Finished in 0.162 seconds with exit status 0 (successful).
DEBUG [5f788235] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5f788235] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
DEBUG [5f788235] Finished in 0.170 seconds with exit status 0 (successful).
INFO [a35ec0c2] Running /usr/bin/env echo
"4457434c7317baefe4769e3b2eb461796dce3b1f" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [a35ec0c2] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && /usr/bin/env echo
"4457434c7317baefe4769e3b2eb461796dce3b1f" >> REVISION
INFO [a35ec0c2] Finished in 0.150 seconds with exit status 0 (successful).
INFO [4fb19f22] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721/config as deploy@li1268-
184.members.linode.com
DEBUG [4fb19f22] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721/config
INFO [4fb19f22] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [32319ab1] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [32319ab1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml ]
DEBUG [32319ab1] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [47020dd3] Running [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [47020dd3] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml ]
DEBUG [47020dd3] Finished in 0.139 seconds with exit status 1 (failed).
INFO [b14a24af] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [b14a24af] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/database.yml
INFO [b14a24af] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [171b2fc9] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [171b2fc9] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml ]
DEBUG [171b2fc9] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [bc0bd74a] Running [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [bc0bd74a] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml ]
DEBUG [bc0bd74a] Finished in 0.144 seconds with exit status 1 (failed).
INFO [2071fa3d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [2071fa3d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/secrets.yml
INFO [2071fa3d] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [a52c9d2f] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a52c9d2f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml ]
DEBUG [a52c9d2f] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [b813b754] Running [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [b813b754] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml ]
DEBUG [b813b754] Finished in 0.141 seconds with exit status 1 (failed).
INFO [dca43344] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [dca43344] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425073721/config/app_config.yml
INFO [dca43344] Finished in 0.142 seconds with exit status 0 (successful).
INFO [2cfd51db] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721
/home/deploy/infraplan_staging/releases/20180425073721/tmp
/home/deploy/infraplan_staging/releases/20180425073721/public as deploy@li1268-
184.members.linode.com
DEBUG [2cfd51db] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721
/home/deploy/infraplan_staging/releases/20180425073721/tmp
/home/deploy/infraplan_staging/releases/20180425073721/public
INFO [2cfd51db] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [0de0c6e6] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/log ] as deploy@li1268-
184.members.linode.com
DEBUG [0de0c6e6] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/log ]
DEBUG [0de0c6e6] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [4543235d] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4543235d] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/log ]
DEBUG [4543235d] Finished in 0.139 seconds with exit status 1 (failed).
INFO [e4ea1c60] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425073721/log as deploy@li1268-
184.members.linode.com
DEBUG [e4ea1c60] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425073721/log
INFO [e4ea1c60] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [86ddcbe3] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [86ddcbe3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids ]
DEBUG [86ddcbe3] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [e0836eb8] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [e0836eb8] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids ]
DEBUG [e0836eb8] Finished in 0.141 seconds with exit status 1 (failed).
INFO [fd903776] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [fd903776] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425073721/tmp/pids
INFO [fd903776] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [99cf664e] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [99cf664e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache ]
DEBUG [99cf664e] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [0e119a0c] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [0e119a0c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache ]
DEBUG [0e119a0c] Finished in 0.141 seconds with exit status 1 (failed).
INFO [3bc9198b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [3bc9198b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425073721/tmp/cache
INFO [3bc9198b] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [5273e082] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [5273e082] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets ]
DEBUG [5273e082] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [8284c653] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [8284c653] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets ]
DEBUG [8284c653] Finished in 0.139 seconds with exit status 1 (failed).
INFO [d3bf284a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [d3bf284a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425073721/tmp/sockets
INFO [d3bf284a] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [9f51848c] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [9f51848c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/public/system ]
DEBUG [9f51848c] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [abea669a] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [abea669a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/public/system ]
DEBUG [abea669a] Finished in 0.141 seconds with exit status 1 (failed).
INFO [4310820b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425073721/public/system as
deploy@li1268-184.members.linode.com
DEBUG [4310820b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425073721/public/system
INFO [4310820b] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b3c5ad85] Running [ -L
/home/deploy/infraplan_staging/releases/20180425073721/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [b3c5ad85] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425073721/public/assets ]
DEBUG [b3c5ad85] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [6f7a7d53] Running [ -d
/home/deploy/infraplan_staging/releases/20180425073721/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [6f7a7d53] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425073721/public/assets ]
DEBUG [6f7a7d53] Finished in 0.141 seconds with exit status 0 (successful).
INFO [bc82787f] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425073721/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [bc82787f] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425073721/public/assets
INFO [bc82787f] Finished in 0.153 seconds with exit status 0 (successful).
INFO [74c6b78e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425073721/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [74c6b78e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425073721/public/assets
INFO [74c6b78e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [c1eb052d] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [c1eb052d] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
DEBUG [c1eb052d] Finished in 0.143 seconds with exit status 0 (successful).
INFO [40bce2ce] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [40bce2ce] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [40bce2ce] Finished in 233.785 seconds with exit status 0 (successful).
DEBUG [35703207] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [35703207] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
DEBUG [35703207] Finished in 0.140 seconds with exit status 0 (successful).
INFO [8190ddd1] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [8190ddd1] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [8190ddd1] Finished in 7.064 seconds with exit status 0 (successful).
DEBUG [a0f7567e] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [a0f7567e] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
DEBUG [a0f7567e] Finished in 0.140 seconds with exit status 0 (successful).
INFO [550bff07] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [550bff07] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425073721/assets_manifest_backup
INFO [550bff07] Finished in 0.270 seconds with exit status 0 (successful).
DEBUG [94a2b84a] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [94a2b84a] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest*
DEBUG [94a2b84a]
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [94a2b84a] Finished in 0.170 seconds with exit status 0 (successful).
DEBUG [ca955674] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [ca955674] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest*
DEBUG [ca955674]
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [ca955674] Finished in 0.148 seconds with exit status 0 (successful).
INFO [fc5c1d17] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425073721/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [fc5c1d17] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425073721/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425073721/assets_manifest_backup
INFO [fc5c1d17] Finished in 0.158 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [0a452007] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [0a452007] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425073721; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425073721'" 1>&2; false; fi
DEBUG [0a452007] Finished in 0.147 seconds with exit status 0 (successful).
INFO [5be390f1] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [5be390f1] Command: cd
/home/deploy/infraplan_staging/releases/20180425073721 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [5be390f1] == 20180425030426 AddInterimTableRowToPipe: migrating
=========================
DEBUG [5be390f1] -- add_column(:pipes, :interim_table_row, :json)
DEBUG [5be390f1] rake aborted!
DEBUG [5be390f1] StandardError: An error has occurred, all later migrations
canceled:

Mysql2::Error: Lost connection to MySQL server during query: ALTER TABLE `pipes`
ADD `interim_table_row` json
DEBUG [5be390f1]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425073721/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'
DEBUG [5be390f1]
Caused by:
ActiveRecord::StatementInvalid: Mysql2::Error: Lost connection to MySQL server
during query: ALTER TABLE `pipes` ADD `interim_table_row` json
DEBUG [5be390f1]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425073721/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'

Caused by:
DEBUG [5be390f1] Mysql2::Error: Lost connection to MySQL server during query
DEBUG [5be390f1]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425073721/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'
DEBUG [5be390f1] Tasks: TOP => db:migrate
(See full trace by running task with --trace)
INFO ---------------------------------------------------------------------------
INFO START 2018-04-25 03:55:10 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [47cf2b75] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [47cf2b75] Command: [ -d ~/.rvm ]
DEBUG [47cf2b75] Finished in 0.665 seconds with exit status 0 (successful).
DEBUG [9fef1983] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [9fef1983] Command: ~/.rvm/bin/rvm version
DEBUG [9fef1983] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [9fef1983] Finished in 0.444 seconds with exit status 0 (successful).
DEBUG [ed1ee82b] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [ed1ee82b] Command: ~/.rvm/bin/rvm current
DEBUG [ed1ee82b] ruby-2.3.4
DEBUG [ed1ee82b] Finished in 0.349 seconds with exit status 0 (successful).
DEBUG [650ef044] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [650ef044] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [650ef044] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [650ef044] Finished in 0.616 seconds with exit status 0 (successful).
INFO [3397011f] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [3397011f] Command: /usr/bin/env mkdir -p /tmp
INFO [3397011f] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [50868d25] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [50868d25] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [50868d25] Finished in 0.149 seconds with exit status 0 (successful).
INFO [2ce4b200] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [2ce4b200] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [2ce4b200] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [2ce4b200] Finished in 1.131 seconds with exit status 0 (successful).
INFO [699b9709] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [699b9709] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [699b9709] Finished in 0.098 seconds with exit status 0 (successful).
INFO [0dc8c9e3] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [0dc8c9e3] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [0dc8c9e3] Finished in 0.140 seconds with exit status 0 (successful).
INFO [4d86248c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [4d86248c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [4d86248c] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [ef9b5947] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ef9b5947] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [ef9b5947] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [d455a85f] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [d455a85f] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [d455a85f] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [750423c1] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [750423c1] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [750423c1] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [2ad2d9e9] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [2ad2d9e9] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [2ad2d9e9] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [925091f3] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [925091f3] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [925091f3] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [6ddfc887] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [6ddfc887] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [6ddfc887] 3957319aba2d5eb12dee86fbc4f8383b7e675b2f
DEBUG [6ddfc887] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5c24647a] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [5c24647a] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [5c24647a] Finished in 0.143 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [036a6c02] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [036a6c02] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [036a6c02] Finished in 0.137 seconds with exit status 0 (successful).
INFO [d924011f] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [d924011f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [d924011f] Finished in 0.215 seconds with exit status 0 (successful).
INFO [98ea3147] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [98ea3147] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [98ea3147] Fetching origin
INFO [98ea3147] Finished in 0.604 seconds with exit status 0 (successful).
DEBUG [cea9edcd] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [cea9edcd] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [cea9edcd] Finished in 0.093 seconds with exit status 0 (successful).
INFO [3f1c01ff] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515 as deploy@li1268-
184.members.linode.com
DEBUG [3f1c01ff] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180425075515 )
INFO [3f1c01ff] Finished in 0.144 seconds with exit status 0 (successful).
INFO [223d5e2d] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180425075515
as deploy@li1268-184.members.linode.com
DEBUG [223d5e2d] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180425075515 )
INFO [223d5e2d] Finished in 0.453 seconds with exit status 0 (successful).
DEBUG [8ddd841b] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [8ddd841b] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [8ddd841b] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [9db22f39] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [9db22f39] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [9db22f39] 4457434c7317baefe4769e3b2eb461796dce3b1f
DEBUG [9db22f39] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [6b308de7] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [6b308de7] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
DEBUG [6b308de7] Finished in 0.142 seconds with exit status 0 (successful).
INFO [92e90d27] Running /usr/bin/env echo
"4457434c7317baefe4769e3b2eb461796dce3b1f" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [92e90d27] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && /usr/bin/env echo
"4457434c7317baefe4769e3b2eb461796dce3b1f" >> REVISION
INFO [92e90d27] Finished in 0.142 seconds with exit status 0 (successful).
INFO [044c6d53] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515/config as deploy@li1268-
184.members.linode.com
DEBUG [044c6d53] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515/config
INFO [044c6d53] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [7cb7a28d] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7cb7a28d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml ]
DEBUG [7cb7a28d] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [80ec0678] Running [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [80ec0678] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml ]
DEBUG [80ec0678] Finished in 0.138 seconds with exit status 1 (failed).
INFO [a64b88e5] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [a64b88e5] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/database.yml
INFO [a64b88e5] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [c9cd2910] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [c9cd2910] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml ]
DEBUG [c9cd2910] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [f572403a] Running [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f572403a] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml ]
DEBUG [f572403a] Finished in 0.146 seconds with exit status 1 (failed).
INFO [325ece78] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [325ece78] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/secrets.yml
INFO [325ece78] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [004375fe] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [004375fe] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml ]
DEBUG [004375fe] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [6971b3f8] Running [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6971b3f8] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml ]
DEBUG [6971b3f8] Finished in 0.139 seconds with exit status 1 (failed).
INFO [32a30c70] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [32a30c70] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425075515/config/app_config.yml
INFO [32a30c70] Finished in 0.143 seconds with exit status 0 (successful).
INFO [922f6eb1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515
/home/deploy/infraplan_staging/releases/20180425075515/tmp
/home/deploy/infraplan_staging/releases/20180425075515/public as deploy@li1268-
184.members.linode.com
DEBUG [922f6eb1] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515
/home/deploy/infraplan_staging/releases/20180425075515/tmp
/home/deploy/infraplan_staging/releases/20180425075515/public
INFO [922f6eb1] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [505f92b1] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/log ] as deploy@li1268-
184.members.linode.com
DEBUG [505f92b1] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/log ]
DEBUG [505f92b1] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [b02033ec] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/log ] as deploy@li1268-
184.members.linode.com
DEBUG [b02033ec] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/log ]
DEBUG [b02033ec] Finished in 0.142 seconds with exit status 1 (failed).
INFO [c5855636] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425075515/log as deploy@li1268-
184.members.linode.com
DEBUG [c5855636] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425075515/log
INFO [c5855636] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [e4cf788e] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [e4cf788e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids ]
DEBUG [e4cf788e] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [233376fe] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [233376fe] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids ]
DEBUG [233376fe] Finished in 0.142 seconds with exit status 1 (failed).
INFO [44fb3918] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [44fb3918] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425075515/tmp/pids
INFO [44fb3918] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [b729baa2] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [b729baa2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache ]
DEBUG [b729baa2] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [2badcaa4] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [2badcaa4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache ]
DEBUG [2badcaa4] Finished in 0.142 seconds with exit status 1 (failed).
INFO [354b25af] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [354b25af] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425075515/tmp/cache
INFO [354b25af] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [8955f75c] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [8955f75c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets ]
DEBUG [8955f75c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [afeb6e1d] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [afeb6e1d] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets ]
DEBUG [afeb6e1d] Finished in 0.144 seconds with exit status 1 (failed).
INFO [7c3ca711] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [7c3ca711] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425075515/tmp/sockets
INFO [7c3ca711] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [77efd63b] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [77efd63b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/public/system ]
DEBUG [77efd63b] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [d21da050] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [d21da050] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/public/system ]
DEBUG [d21da050] Finished in 0.139 seconds with exit status 1 (failed).
INFO [39dfad81] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425075515/public/system as
deploy@li1268-184.members.linode.com
DEBUG [39dfad81] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425075515/public/system
INFO [39dfad81] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [cba48115] Running [ -L
/home/deploy/infraplan_staging/releases/20180425075515/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [cba48115] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425075515/public/assets ]
DEBUG [cba48115] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [3bcba2ea] Running [ -d
/home/deploy/infraplan_staging/releases/20180425075515/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [3bcba2ea] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425075515/public/assets ]
DEBUG [3bcba2ea] Finished in 0.140 seconds with exit status 0 (successful).
INFO [9fecd84a] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425075515/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [9fecd84a] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425075515/public/assets
INFO [9fecd84a] Finished in 0.149 seconds with exit status 0 (successful).
INFO [a18dfd06] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425075515/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [a18dfd06] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425075515/public/assets
INFO [a18dfd06] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [8f60dd0e] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [8f60dd0e] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
DEBUG [8f60dd0e] Finished in 0.143 seconds with exit status 0 (successful).
INFO [927ac9a4] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [927ac9a4] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [927ac9a4] Finished in 1.688 seconds with exit status 0 (successful).
DEBUG [68bd1833] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [68bd1833] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
DEBUG [68bd1833] Finished in 0.136 seconds with exit status 0 (successful).
INFO [79b94df3] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [79b94df3] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [79b94df3] Finished in 5.065 seconds with exit status 0 (successful).
DEBUG [decac232] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [decac232] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
DEBUG [decac232] Finished in 0.141 seconds with exit status 0 (successful).
INFO [d8f349bf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [d8f349bf] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425075515/assets_manifest_backup
INFO [d8f349bf] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [a3350746] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [a3350746] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest*
DEBUG [a3350746]
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [a3350746] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [cadbba74] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [cadbba74] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest*
DEBUG [cadbba74]
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [cadbba74] Finished in 0.144 seconds with exit status 0 (successful).
INFO [1a4c8362] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425075515/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [1a4c8362] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425075515/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425075515/assets_manifest_backup
INFO [1a4c8362] Finished in 0.142 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [7ae0d2e8] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [7ae0d2e8] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425075515; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425075515'" 1>&2; false; fi
DEBUG [7ae0d2e8] Finished in 0.140 seconds with exit status 0 (successful).
INFO [cc55d800] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [cc55d800] Command: cd
/home/deploy/infraplan_staging/releases/20180425075515 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [cc55d800] == 20180425030426 AddInterimTableRowToPipe: migrating
=========================
DEBUG [cc55d800] -- add_column(:pipes, :interim_table_row, :json)
DEBUG [cc55d800] rake aborted!
DEBUG [cc55d800] StandardError: An error has occurred, all later migrations
canceled:

Mysql2::Error: Lost connection to MySQL server during query: ALTER TABLE `pipes`
ADD `interim_table_row` json
DEBUG [cc55d800]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425075515/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'
DEBUG [cc55d800]
Caused by:
ActiveRecord::StatementInvalid: Mysql2::Error: Lost connection to MySQL server
during query: ALTER TABLE `pipes` ADD `interim_table_row` json
DEBUG [cc55d800]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425075515/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'

Caused by:
DEBUG [cc55d800] Mysql2::Error: Lost connection to MySQL server during query
DEBUG [cc55d800]
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `_query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:80:in `block in query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/mysql2-
0.3.21/lib/mysql2/client.rb:79:in `query'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in `block
in execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in
log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in `execute'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/schema_statements.rb:393:in
`add_column'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:662:in `block in method_missing'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `block in say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:631:in `say_with_time'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:651:in `method_missing'
/
home/deploy/infraplan_staging/releases/20180425075515/db/migrate/20180425030426_add
_interim_table_row_to_pipe.rb:3:in `change'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:605:in `exec_migration'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:589:in `block (2 levels) in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:588:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in
`with_connection'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:587:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:765:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:995:in `block in
execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:1043:in `ddl_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:994:in `execute_migration_in_transaction'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:956:in `block in migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:952:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:820:in `up'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/migration.rb:798:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activerecord-
4.2.4/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top
(required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/exe/rake:27:in `<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
`kernel_load'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in
`run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in
`exec'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in
`dispatch'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in
`start'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:30:in `block in
<top (required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-
1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/home/deploy/.rvm/gems/ruby-2.3.4/gems/bundler-1.16.1/exe/bundle:22:in `<top
(required)>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `load'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/bundle:22:in `<main>'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
/home/deploy/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate
DEBUG [cc55d800] (See full trace by running task with --trace)
INFO ---------------------------------------------------------------------------
INFO START 2018-04-25 04:01:01 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [6bb89ee1] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [6bb89ee1] Command: [ -d ~/.rvm ]
DEBUG [6bb89ee1] Finished in 0.712 seconds with exit status 0 (successful).
DEBUG [3c480ad8] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [3c480ad8] Command: ~/.rvm/bin/rvm version
DEBUG [3c480ad8] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [3c480ad8] Finished in 0.461 seconds with exit status 0 (successful).
DEBUG [984cb6c2] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [984cb6c2] Command: ~/.rvm/bin/rvm current
DEBUG [984cb6c2] ruby-2.3.4
DEBUG [984cb6c2] Finished in 0.428 seconds with exit status 0 (successful).
DEBUG [99039bbc] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [99039bbc] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [99039bbc] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [99039bbc] Finished in 0.725 seconds with exit status 0 (successful).
INFO [93be8c54] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [93be8c54] Command: /usr/bin/env mkdir -p /tmp
INFO [93be8c54] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [89db96c8] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [89db96c8] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [89db96c8] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ce5e629d] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [ce5e629d] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [ce5e629d] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [ce5e629d] Finished in 0.739 seconds with exit status 0 (successful).
INFO [1fac029c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [1fac029c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [1fac029c] Finished in 0.098 seconds with exit status 0 (successful).
INFO [af96d8ec] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [af96d8ec] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [af96d8ec] Finished in 0.140 seconds with exit status 0 (successful).
INFO [acab68af] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [acab68af] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [acab68af] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1b670bee] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [1b670bee] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [1b670bee] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3ba76945] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [3ba76945] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [3ba76945] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [22e0412d] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [22e0412d] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [22e0412d] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [88cb961d] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [88cb961d] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [88cb961d] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [39e4c684] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [39e4c684] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [39e4c684] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [aa8198b3] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [aa8198b3] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [aa8198b3] 3957319aba2d5eb12dee86fbc4f8383b7e675b2f
DEBUG [aa8198b3] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [bab7878c] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [bab7878c] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [bab7878c] Finished in 0.154 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [2fff369a] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [2fff369a] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [2fff369a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [06011f49] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [06011f49] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [06011f49] Finished in 0.145 seconds with exit status 0 (successful).
INFO [f97d7e2e] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [f97d7e2e] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [f97d7e2e] Fetching origin
DEBUG [f97d7e2e] From bitbucket.org:avanraven/infraplan
4457434..bed6fcf feature/predict_modeling -> feature/predict_modeling
INFO [f97d7e2e] Finished in 0.982 seconds with exit status 0 (successful).
DEBUG [0b950e85] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [0b950e85] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [0b950e85] Finished in 0.139 seconds with exit status 0 (successful).
INFO [bb2e4fbf] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106 as deploy@li1268-
184.members.linode.com
DEBUG [bb2e4fbf] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180425080106 )
INFO [bb2e4fbf] Finished in 0.147 seconds with exit status 0 (successful).
INFO [412f8f38] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180425080106
as deploy@li1268-184.members.linode.com
DEBUG [412f8f38] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180425080106 )
INFO [412f8f38] Finished in 0.410 seconds with exit status 0 (successful).
DEBUG [c940f0ee] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [c940f0ee] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [c940f0ee] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [d4c695e0] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [d4c695e0] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [d4c695e0] bed6fcf0c345046703345e40c566a076f284dbe9
DEBUG [d4c695e0] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [d8d2f4eb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [d8d2f4eb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [d8d2f4eb] Finished in 0.153 seconds with exit status 0 (successful).
INFO [34c70fa3] Running /usr/bin/env echo
"bed6fcf0c345046703345e40c566a076f284dbe9" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [34c70fa3] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && /usr/bin/env echo
"bed6fcf0c345046703345e40c566a076f284dbe9" >> REVISION
INFO [34c70fa3] Finished in 0.147 seconds with exit status 0 (successful).
INFO [f9152002] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106/config as deploy@li1268-
184.members.linode.com
DEBUG [f9152002] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106/config
INFO [f9152002] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [d29e561a] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d29e561a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml ]
DEBUG [d29e561a] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [807b57de] Running [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [807b57de] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml ]
DEBUG [807b57de] Finished in 0.139 seconds with exit status 1 (failed).
INFO [71f5f88d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [71f5f88d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/database.yml
INFO [71f5f88d] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [19f73c24] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [19f73c24] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml ]
DEBUG [19f73c24] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [7e4d165e] Running [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7e4d165e] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml ]
DEBUG [7e4d165e] Finished in 0.139 seconds with exit status 1 (failed).
INFO [5f3493b8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [5f3493b8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/secrets.yml
INFO [5f3493b8] Finished in 0.153 seconds with exit status 0 (successful).
DEBUG [49a4a16c] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [49a4a16c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml ]
DEBUG [49a4a16c] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [94f29f4e] Running [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [94f29f4e] Command: [ -f
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml ]
DEBUG [94f29f4e] Finished in 0.141 seconds with exit status 1 (failed).
INFO [55292f3a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [55292f3a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180425080106/config/app_config.yml
INFO [55292f3a] Finished in 0.142 seconds with exit status 0 (successful).
INFO [78f84cd8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106
/home/deploy/infraplan_staging/releases/20180425080106/tmp
/home/deploy/infraplan_staging/releases/20180425080106/public as deploy@li1268-
184.members.linode.com
DEBUG [78f84cd8] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106
/home/deploy/infraplan_staging/releases/20180425080106/tmp
/home/deploy/infraplan_staging/releases/20180425080106/public
INFO [78f84cd8] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [e5a69653] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e5a69653] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/log ]
DEBUG [e5a69653] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [09e8ac9a] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/log ] as deploy@li1268-
184.members.linode.com
DEBUG [09e8ac9a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/log ]
DEBUG [09e8ac9a] Finished in 0.140 seconds with exit status 1 (failed).
INFO [ab26cc74] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425080106/log as deploy@li1268-
184.members.linode.com
DEBUG [ab26cc74] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180425080106/log
INFO [ab26cc74] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [960668df] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [960668df] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids ]
DEBUG [960668df] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [ca6946f0] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [ca6946f0] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids ]
DEBUG [ca6946f0] Finished in 0.146 seconds with exit status 1 (failed).
INFO [405c84b3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [405c84b3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180425080106/tmp/pids
INFO [405c84b3] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [486e2209] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [486e2209] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache ]
DEBUG [486e2209] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [bfc199ee] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [bfc199ee] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache ]
DEBUG [bfc199ee] Finished in 0.139 seconds with exit status 1 (failed).
INFO [318aae83] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [318aae83] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180425080106/tmp/cache
INFO [318aae83] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [32644a55] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [32644a55] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets ]
DEBUG [32644a55] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [787abf56] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [787abf56] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets ]
DEBUG [787abf56] Finished in 0.144 seconds with exit status 1 (failed).
INFO [919bf884] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [919bf884] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180425080106/tmp/sockets
INFO [919bf884] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [9c52b5ac] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [9c52b5ac] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/public/system ]
DEBUG [9c52b5ac] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [bb3acc6f] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [bb3acc6f] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/public/system ]
DEBUG [bb3acc6f] Finished in 0.138 seconds with exit status 1 (failed).
INFO [2e755a18] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425080106/public/system as
deploy@li1268-184.members.linode.com
DEBUG [2e755a18] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180425080106/public/system
INFO [2e755a18] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [599baa41] Running [ -L
/home/deploy/infraplan_staging/releases/20180425080106/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [599baa41] Command: [ -L
/home/deploy/infraplan_staging/releases/20180425080106/public/assets ]
DEBUG [599baa41] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [4e4afec3] Running [ -d
/home/deploy/infraplan_staging/releases/20180425080106/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [4e4afec3] Command: [ -d
/home/deploy/infraplan_staging/releases/20180425080106/public/assets ]
DEBUG [4e4afec3] Finished in 0.145 seconds with exit status 0 (successful).
INFO [80de8266] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425080106/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [80de8266] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180425080106/public/assets
INFO [80de8266] Finished in 0.152 seconds with exit status 0 (successful).
INFO [94206587] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425080106/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [94206587] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180425080106/public/assets
INFO [94206587] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [aa2d73db] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [aa2d73db] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [aa2d73db] Finished in 0.148 seconds with exit status 0 (successful).
INFO [9bd1efc0] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [9bd1efc0] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [9bd1efc0] Finished in 1.833 seconds with exit status 0 (successful).
DEBUG [be497afb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [be497afb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [be497afb] Finished in 0.139 seconds with exit status 0 (successful).
INFO [5be32cde] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [5be32cde] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [5be32cde] Finished in 5.455 seconds with exit status 0 (successful).
DEBUG [1dc4191e] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [1dc4191e] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [1dc4191e] Finished in 0.140 seconds with exit status 0 (successful).
INFO [59a59dc7] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [59a59dc7] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180425080106/assets_manifest_backup
INFO [59a59dc7] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [d6f6df35] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [d6f6df35] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest*
DEBUG [d6f6df35]
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [d6f6df35] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [5ab9104f] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [5ab9104f] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest*
DEBUG [5ab9104f]
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [5ab9104f] Finished in 0.147 seconds with exit status 0 (successful).
INFO [6437c6b9] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425080106/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [6437c6b9] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180425080106/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180425080106/assets_manifest_backup
INFO [6437c6b9] Finished in 0.144 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [5f5f152a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5f5f152a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [5f5f152a] Finished in 0.140 seconds with exit status 0 (successful).
INFO [f82e728c] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [f82e728c] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [f82e728c] == 20180425034350 CreateInterimVariables: migrating
===========================
DEBUG [f82e728c]
DEBUG [f82e728c] -- create_table(:interim_variables)
DEBUG [f82e728c]
DEBUG [f82e728c] -> 0.0090s
DEBUG [f82e728c]
DEBUG [f82e728c] == 20180425034350 CreateInterimVariables: migrated
(0.0093s) ==================
DEBUG [f82e728c]
DEBUG [f82e728c]
INFO [f82e728c] Finished in 3.733 seconds with exit status 0 (successful).
INFO [5dbf3346] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180425080106
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [5dbf3346] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180425080106
/home/deploy/infraplan_staging/releases/current
INFO [5dbf3346] Finished in 0.139 seconds with exit status 0 (successful).
INFO [f4af906d] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [f4af906d] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [f4af906d] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [c47a716f] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [c47a716f] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180425080106; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180425080106'" 1>&2; false; fi
DEBUG [c47a716f] Finished in 0.144 seconds with exit status 0 (successful).
INFO [93c93ba2] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [93c93ba2] Command: cd
/home/deploy/infraplan_staging/releases/20180425080106 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [93c93ba2]
/home/deploy/infraplan_staging/releases/20180425080106/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [93c93ba2] delayed_job: warning: no instances running. Starting...
DEBUG [93c93ba2]
DEBUG [93c93ba2] delayed_job: process with pid 32129 started.
INFO [93c93ba2] Finished in 3.913 seconds with exit status 0 (successful).
DEBUG [14c5204a] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [14c5204a] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [14c5204a] 20180409195053 20180409195955 20180418162154
20180418162456 20180419052928
20180425073721 20180425075515 20180425080106
DEBUG [14c5204a] Finished in 0.142 seconds with exit status 0 (successful).
INFO Keeping 5 of 8 deployed releases on li1268-184.members.linode.com
DEBUG [e7a9f9cd] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [e7a9f9cd] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [e7a9f9cd] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [94f01164] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [94f01164] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [94f01164] /home/deploy/infraplan_staging/releases/20180425080106
DEBUG [94f01164] Finished in 0.145 seconds with exit status 0 (successful).
INFO [339bc546] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/20180418162154 as deploy@li1268-
184.members.linode.com
DEBUG [339bc546] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180409195053
/home/deploy/infraplan_staging/releases/20180409195955
/home/deploy/infraplan_staging/releases/20180418162154
INFO [339bc546] Finished in 0.343 seconds with exit status 0 (successful).
DEBUG [4f4fb040] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [4f4fb040] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [4f4fb040] Finished in 0.141 seconds with exit status 0 (successful).
INFO [6c409a8f] Running /usr/bin/env echo "Branch feature/predict_modeling (at
bed6fcf0c345046703345e40c566a076f284dbe9) deployed as release 20180425080106 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [6c409a8f] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
bed6fcf0c345046703345e40c566a076f284dbe9) deployed as release 20180425080106 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [6c409a8f] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [46ff6e13] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [46ff6e13] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [46ff6e13] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [bac1d36e] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [bac1d36e] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [bac1d36e] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [9c67118f] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [9c67118f] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [9c67118f] Finished in 0.147 seconds with exit status 0 (successful).
INFO [787cd993] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [787cd993] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [787cd993] Command restart sent success
DEBUG [787cd993]
INFO [787cd993] Finished in 0.942 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-04-27 10:40:30 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [256a6b70] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [256a6b70] Command: [ -d ~/.rvm ]
DEBUG [256a6b70] Finished in 0.915 seconds with exit status 0 (successful).
DEBUG [dfa96d02] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [dfa96d02] Command: ~/.rvm/bin/rvm version
DEBUG [dfa96d02] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [dfa96d02] Finished in 0.477 seconds with exit status 0 (successful).
DEBUG [b007d0e2] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [b007d0e2] Command: ~/.rvm/bin/rvm current
DEBUG [b007d0e2] ruby-2.3.4
DEBUG [b007d0e2] Finished in 0.347 seconds with exit status 0 (successful).
DEBUG [4a4ac7b6] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [4a4ac7b6] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [4a4ac7b6] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [4a4ac7b6] Finished in 0.720 seconds with exit status 0 (successful).
INFO [0c0acfcd] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [0c0acfcd] Command: /usr/bin/env mkdir -p /tmp
INFO [0c0acfcd] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [09f7b866] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [09f7b866] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [09f7b866] Finished in 0.141 seconds with exit status 0 (successful).
INFO [8d7c9789] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [8d7c9789] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [8d7c9789] 0f367cce33319e470acbfa251fdeb46ca174e21a HEAD
INFO [8d7c9789] Finished in 0.667 seconds with exit status 0 (successful).
INFO [a3e44551] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [a3e44551] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [a3e44551] Finished in 0.139 seconds with exit status 0 (successful).
INFO [3d330828] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [3d330828] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [3d330828] Finished in 0.142 seconds with exit status 0 (successful).
INFO [0555c48d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [0555c48d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [0555c48d] Finished in 0.153 seconds with exit status 0 (successful).
DEBUG [d52a9a48] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [d52a9a48] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [d52a9a48] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [95768542] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [95768542] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [95768542] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [13ac251a] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [13ac251a] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [13ac251a] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [da1cdd41] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [da1cdd41] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [da1cdd41] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [88f4871f] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [88f4871f] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [88f4871f] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [56827512] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [56827512] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [56827512] bed6fcf0c345046703345e40c566a076f284dbe9
DEBUG [56827512] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [c84d5cbc] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [c84d5cbc] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [c84d5cbc] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [f9d954d2] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [f9d954d2] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [f9d954d2] Finished in 0.139 seconds with exit status 0 (successful).
INFO [a3994f52] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [a3994f52] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [a3994f52] Finished in 0.143 seconds with exit status 0 (successful).
INFO [ccaee364] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [ccaee364] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [ccaee364] Fetching origin
DEBUG [ccaee364] From bitbucket.org:avanraven/infraplan
bed6fcf..03ff689 feature/predict_modeling -> feature/predict_modeling
INFO [ccaee364] Finished in 0.977 seconds with exit status 0 (successful).
DEBUG [fe0de2f1] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [fe0de2f1] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [fe0de2f1] Finished in 0.143 seconds with exit status 0 (successful).
INFO [2e97c256] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035 as deploy@li1268-
184.members.linode.com
DEBUG [2e97c256] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180427144035 )
INFO [2e97c256] Finished in 0.145 seconds with exit status 0 (successful).
INFO [3b8ec04d] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180427144035
as deploy@li1268-184.members.linode.com
DEBUG [3b8ec04d] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180427144035 )
INFO [3b8ec04d] Finished in 0.564 seconds with exit status 0 (successful).
DEBUG [b98462c0] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [b98462c0] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [b98462c0] Finished in 0.163 seconds with exit status 0 (successful).
DEBUG [3ead6e6f] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [3ead6e6f] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [3ead6e6f] 03ff689150718842c340bd5e46d169d2d6a3f9af
DEBUG [3ead6e6f] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [40fc0ddb] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [40fc0ddb] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [40fc0ddb] Finished in 0.137 seconds with exit status 0 (successful).
INFO [b15fec3b] Running /usr/bin/env echo
"03ff689150718842c340bd5e46d169d2d6a3f9af" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [b15fec3b] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && /usr/bin/env echo
"03ff689150718842c340bd5e46d169d2d6a3f9af" >> REVISION
INFO [b15fec3b] Finished in 0.151 seconds with exit status 0 (successful).
INFO [2464ab48] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035/config as deploy@li1268-
184.members.linode.com
DEBUG [2464ab48] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035/config
INFO [2464ab48] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1bed3482] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [1bed3482] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml ]
DEBUG [1bed3482] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [b0e8ad8d] Running [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [b0e8ad8d] Command: [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml ]
DEBUG [b0e8ad8d] Finished in 0.141 seconds with exit status 1 (failed).
INFO [a2f1b317] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [a2f1b317] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/database.yml
INFO [a2f1b317] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [98c99af2] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [98c99af2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml ]
DEBUG [98c99af2] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [fd8e56be] Running [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [fd8e56be] Command: [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml ]
DEBUG [fd8e56be] Finished in 0.139 seconds with exit status 1 (failed).
INFO [65dfd8e2] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [65dfd8e2] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/secrets.yml
INFO [65dfd8e2] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [a9fd805c] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a9fd805c] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml ]
DEBUG [a9fd805c] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [49d7656d] Running [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [49d7656d] Command: [ -f
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml ]
DEBUG [49d7656d] Finished in 0.139 seconds with exit status 1 (failed).
INFO [6ce7f535] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [6ce7f535] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180427144035/config/app_config.yml
INFO [6ce7f535] Finished in 0.140 seconds with exit status 0 (successful).
INFO [077d0c08] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035
/home/deploy/infraplan_staging/releases/20180427144035/tmp
/home/deploy/infraplan_staging/releases/20180427144035/public as deploy@li1268-
184.members.linode.com
DEBUG [077d0c08] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035
/home/deploy/infraplan_staging/releases/20180427144035/tmp
/home/deploy/infraplan_staging/releases/20180427144035/public
INFO [077d0c08] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [d8719481] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/log ] as deploy@li1268-
184.members.linode.com
DEBUG [d8719481] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/log ]
DEBUG [d8719481] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [02c3681c] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/log ] as deploy@li1268-
184.members.linode.com
DEBUG [02c3681c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/log ]
DEBUG [02c3681c] Finished in 0.139 seconds with exit status 1 (failed).
INFO [87edef90] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180427144035/log as deploy@li1268-
184.members.linode.com
DEBUG [87edef90] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180427144035/log
INFO [87edef90] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [ede3c3d5] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [ede3c3d5] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids ]
DEBUG [ede3c3d5] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [13cf947c] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [13cf947c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids ]
DEBUG [13cf947c] Finished in 0.138 seconds with exit status 1 (failed).
INFO [99f99dd2] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [99f99dd2] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180427144035/tmp/pids
INFO [99f99dd2] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [24f3f5d4] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [24f3f5d4] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache ]
DEBUG [24f3f5d4] Finished in 0.137 seconds with exit status 1 (failed).
DEBUG [f339aac5] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [f339aac5] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache ]
DEBUG [f339aac5] Finished in 0.137 seconds with exit status 1 (failed).
INFO [afb31bde] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [afb31bde] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180427144035/tmp/cache
INFO [afb31bde] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [b7636247] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [b7636247] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets ]
DEBUG [b7636247] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [ea0f43c4] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [ea0f43c4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets ]
DEBUG [ea0f43c4] Finished in 0.139 seconds with exit status 1 (failed).
INFO [ccd7204b] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [ccd7204b] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180427144035/tmp/sockets
INFO [ccd7204b] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [bcb57513] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [bcb57513] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/public/system ]
DEBUG [bcb57513] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [c0df49f1] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [c0df49f1] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/public/system ]
DEBUG [c0df49f1] Finished in 0.141 seconds with exit status 1 (failed).
INFO [1bac09b7] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180427144035/public/system as
deploy@li1268-184.members.linode.com
DEBUG [1bac09b7] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180427144035/public/system
INFO [1bac09b7] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [5d6e85c8] Running [ -L
/home/deploy/infraplan_staging/releases/20180427144035/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [5d6e85c8] Command: [ -L
/home/deploy/infraplan_staging/releases/20180427144035/public/assets ]
DEBUG [5d6e85c8] Finished in 0.139 seconds with exit status 1 (failed).
DEBUG [e96ee720] Running [ -d
/home/deploy/infraplan_staging/releases/20180427144035/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [e96ee720] Command: [ -d
/home/deploy/infraplan_staging/releases/20180427144035/public/assets ]
DEBUG [e96ee720] Finished in 0.141 seconds with exit status 0 (successful).
INFO [43307ce2] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180427144035/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [43307ce2] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180427144035/public/assets
INFO [43307ce2] Finished in 0.143 seconds with exit status 0 (successful).
INFO [2f165b71] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180427144035/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [2f165b71] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180427144035/public/assets
INFO [2f165b71] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [20906334] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [20906334] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [20906334] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2a3068fb] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [2a3068fb] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [2a3068fb] Finished in 15.106 seconds with exit status 0 (successful).
DEBUG [91760ea7] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [91760ea7] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [91760ea7] Finished in 0.142 seconds with exit status 0 (successful).
INFO [b843021e] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [b843021e] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [b843021e] Finished in 6.401 seconds with exit status 0 (successful).
DEBUG [f494b79c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f494b79c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [f494b79c] Finished in 0.142 seconds with exit status 0 (successful).
INFO [88f6f1f0] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [88f6f1f0] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180427144035/assets_manifest_backup
INFO [88f6f1f0] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [53d986cc] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [53d986cc] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest*
DEBUG [53d986cc]
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [53d986cc] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [9d9083dd] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [9d9083dd] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest*
DEBUG [9d9083dd]
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [9d9083dd] Finished in 0.142 seconds with exit status 0 (successful).
INFO [e2a17e3a] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180427144035/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [e2a17e3a] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180427144035/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180427144035/assets_manifest_backup
INFO [e2a17e3a] Finished in 0.144 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [9b10ee52] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [9b10ee52] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [9b10ee52] Finished in 0.137 seconds with exit status 0 (successful).
INFO [56be2338] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [56be2338] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [56be2338] Finished in 3.641 seconds with exit status 0 (successful).
INFO [270983b8] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180427144035
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [270983b8] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180427144035
/home/deploy/infraplan_staging/releases/current
INFO [270983b8] Finished in 0.138 seconds with exit status 0 (successful).
INFO [404f33c9] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [404f33c9] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [404f33c9] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [789f5f64] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [789f5f64] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180427144035; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180427144035'" 1>&2; false; fi
DEBUG [789f5f64] Finished in 0.139 seconds with exit status 0 (successful).
INFO [cff5dcee] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [cff5dcee] Command: cd
/home/deploy/infraplan_staging/releases/20180427144035 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [cff5dcee]
/home/deploy/infraplan_staging/releases/20180427144035/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [cff5dcee] delayed_job: trying to stop process with pid 32129...
DEBUG [cff5dcee]
DEBUG [cff5dcee] delayed_job: process with pid 32129 successfully stopped.
DEBUG [cff5dcee] delayed_job: process with pid 15897 started.
INFO [cff5dcee] Finished in 6.073 seconds with exit status 0 (successful).
DEBUG [9adac649] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [9adac649] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [9adac649] 20180418162456 20180419052928 20180425073721
20180425075515 20180425080106
20180427144035
DEBUG [9adac649] Finished in 0.140 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [0a5ddee5] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [0a5ddee5] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [0a5ddee5] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [7df54b7f] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [7df54b7f] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [7df54b7f] /home/deploy/infraplan_staging/releases/20180427144035
DEBUG [7df54b7f] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ce6db8e8] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162456 as deploy@li1268-
184.members.linode.com
DEBUG [ce6db8e8] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180418162456
INFO [ce6db8e8] Finished in 0.215 seconds with exit status 0 (successful).
DEBUG [9287781b] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [9287781b] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [9287781b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [cb3c0707] Running /usr/bin/env echo "Branch feature/predict_modeling (at
03ff689150718842c340bd5e46d169d2d6a3f9af) deployed as release 20180427144035 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [cb3c0707] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
03ff689150718842c340bd5e46d169d2d6a3f9af) deployed as release 20180427144035 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [cb3c0707] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [035b7974] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [035b7974] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [035b7974] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [0cb4360a] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [0cb4360a] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [0cb4360a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [bb519c8f] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [bb519c8f] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [bb519c8f] Finished in 0.145 seconds with exit status 0 (successful).
INFO [a27b4e90] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [a27b4e90] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [a27b4e90] Command restart sent success
DEBUG [a27b4e90]
INFO [a27b4e90] Finished in 0.964 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-05-03 00:56:43 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [ad9ba8ba] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [ad9ba8ba] Command: [ -d ~/.rvm ]
DEBUG [ad9ba8ba] Finished in 0.731 seconds with exit status 0 (successful).
DEBUG [0b1c0bc9] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [0b1c0bc9] Command: ~/.rvm/bin/rvm version
DEBUG [0b1c0bc9] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [0b1c0bc9] Finished in 0.331 seconds with exit status 0 (successful).
DEBUG [2e659d5e] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [2e659d5e] Command: ~/.rvm/bin/rvm current
DEBUG [2e659d5e] ruby-2.3.4
DEBUG [2e659d5e] Finished in 0.360 seconds with exit status 0 (successful).
DEBUG [702f217b] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [702f217b] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [702f217b] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [702f217b] Finished in 0.495 seconds with exit status 0 (successful).
INFO [635804b8] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [635804b8] Command: /usr/bin/env mkdir -p /tmp
INFO [635804b8] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [f6d63b86] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [f6d63b86] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [f6d63b86] Finished in 0.145 seconds with exit status 0 (successful).
INFO [9559a105] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [9559a105] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [9559a105] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [9559a105] Finished in 0.927 seconds with exit status 0 (successful).
INFO [f75eb7e2] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [f75eb7e2] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [f75eb7e2] Finished in 0.144 seconds with exit status 0 (successful).
INFO [9f38087a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [9f38087a] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [9f38087a] Finished in 0.147 seconds with exit status 0 (successful).
INFO [cf998a02] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [cf998a02] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [cf998a02] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [ba0370d4] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ba0370d4] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [ba0370d4] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [88d3c203] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [88d3c203] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [88d3c203] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [9904aeb6] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [9904aeb6] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [9904aeb6] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [658c3d9e] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [658c3d9e] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [658c3d9e] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [20eb7712] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [20eb7712] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [20eb7712] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [dc92cb1f] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [dc92cb1f] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [dc92cb1f] 03ff689150718842c340bd5e46d169d2d6a3f9af
DEBUG [dc92cb1f] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [f25bf876] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [f25bf876] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [f25bf876] Finished in 0.145 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [c51abd4b] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [c51abd4b] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [c51abd4b] Finished in 0.141 seconds with exit status 0 (successful).
INFO [0789c937] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [0789c937] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [0789c937] Finished in 0.146 seconds with exit status 0 (successful).
INFO [db1463cf] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [db1463cf] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [db1463cf] Fetching origin
DEBUG [db1463cf] From bitbucket.org:avanraven/infraplan
03ff689..6fe0e39 feature/predict_modeling -> feature/predict_modeling
DEBUG [db1463cf] 0f367cc..8a48e9e master -> master
INFO [db1463cf] Finished in 1.221 seconds with exit status 0 (successful).
DEBUG [2170f73e] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [2170f73e] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [2170f73e] Finished in 0.140 seconds with exit status 0 (successful).
INFO [90c4ecfe] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648 as deploy@li1268-
184.members.linode.com
DEBUG [90c4ecfe] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180503045648 )
INFO [90c4ecfe] Finished in 0.141 seconds with exit status 0 (successful).
INFO [0abccfca] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180503045648
as deploy@li1268-184.members.linode.com
DEBUG [0abccfca] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180503045648 )
INFO [0abccfca] Finished in 0.398 seconds with exit status 0 (successful).
DEBUG [9ab5a1dd] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [9ab5a1dd] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [9ab5a1dd] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [7393ab69] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [7393ab69] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [7393ab69] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [7393ab69] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [40211297] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [40211297] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [40211297] Finished in 0.142 seconds with exit status 0 (successful).
INFO [fd9a6e18] Running /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [fd9a6e18] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION
INFO [fd9a6e18] Finished in 0.143 seconds with exit status 0 (successful).
INFO [6a942bcc] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648/config as deploy@li1268-
184.members.linode.com
DEBUG [6a942bcc] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648/config
INFO [6a942bcc] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [b3106edf] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [b3106edf] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml ]
DEBUG [b3106edf] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [eb90c7c7] Running [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [eb90c7c7] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml ]
DEBUG [eb90c7c7] Finished in 0.143 seconds with exit status 1 (failed).
INFO [5f892cc2] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [5f892cc2] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/database.yml
INFO [5f892cc2] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [e06f0293] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [e06f0293] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml ]
DEBUG [e06f0293] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [3739fd7a] Running [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [3739fd7a] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml ]
DEBUG [3739fd7a] Finished in 0.144 seconds with exit status 1 (failed).
INFO [417075c3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [417075c3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/secrets.yml
INFO [417075c3] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [700b1d68] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [700b1d68] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml ]
DEBUG [700b1d68] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [38973d51] Running [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [38973d51] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml ]
DEBUG [38973d51] Finished in 0.143 seconds with exit status 1 (failed).
INFO [12b4f08e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [12b4f08e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503045648/config/app_config.yml
INFO [12b4f08e] Finished in 0.141 seconds with exit status 0 (successful).
INFO [2b47574c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648
/home/deploy/infraplan_staging/releases/20180503045648/tmp
/home/deploy/infraplan_staging/releases/20180503045648/public as deploy@li1268-
184.members.linode.com
DEBUG [2b47574c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648
/home/deploy/infraplan_staging/releases/20180503045648/tmp
/home/deploy/infraplan_staging/releases/20180503045648/public
INFO [2b47574c] Finished in 0.151 seconds with exit status 0 (successful).
DEBUG [c241ef31] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/log ] as deploy@li1268-
184.members.linode.com
DEBUG [c241ef31] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/log ]
DEBUG [c241ef31] Finished in 0.156 seconds with exit status 1 (failed).
DEBUG [70657534] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/log ] as deploy@li1268-
184.members.linode.com
DEBUG [70657534] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/log ]
DEBUG [70657534] Finished in 0.145 seconds with exit status 1 (failed).
INFO [2ace75b7] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503045648/log as deploy@li1268-
184.members.linode.com
DEBUG [2ace75b7] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503045648/log
INFO [2ace75b7] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [5da89a75] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [5da89a75] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids ]
DEBUG [5da89a75] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [28d534b7] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [28d534b7] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids ]
DEBUG [28d534b7] Finished in 0.139 seconds with exit status 1 (failed).
INFO [fe295950] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [fe295950] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503045648/tmp/pids
INFO [fe295950] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b76ce84f] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [b76ce84f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache ]
DEBUG [b76ce84f] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [7b84fcf2] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [7b84fcf2] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache ]
DEBUG [7b84fcf2] Finished in 0.141 seconds with exit status 1 (failed).
INFO [3c63e173] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [3c63e173] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503045648/tmp/cache
INFO [3c63e173] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [b00549c4] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [b00549c4] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets ]
DEBUG [b00549c4] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [626f5729] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [626f5729] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets ]
DEBUG [626f5729] Finished in 0.141 seconds with exit status 1 (failed).
INFO [d0af467e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [d0af467e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503045648/tmp/sockets
INFO [d0af467e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [9acff40d] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [9acff40d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/public/system ]
DEBUG [9acff40d] Finished in 0.150 seconds with exit status 1 (failed).
DEBUG [1f16c347] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [1f16c347] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/public/system ]
DEBUG [1f16c347] Finished in 0.158 seconds with exit status 1 (failed).
INFO [e47d9e21] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503045648/public/system as
deploy@li1268-184.members.linode.com
DEBUG [e47d9e21] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503045648/public/system
INFO [e47d9e21] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [7003a82d] Running [ -L
/home/deploy/infraplan_staging/releases/20180503045648/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [7003a82d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503045648/public/assets ]
DEBUG [7003a82d] Finished in 0.146 seconds with exit status 1 (failed).
DEBUG [8a17ed45] Running [ -d
/home/deploy/infraplan_staging/releases/20180503045648/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [8a17ed45] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503045648/public/assets ]
DEBUG [8a17ed45] Finished in 0.147 seconds with exit status 0 (successful).
INFO [222194c6] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503045648/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [222194c6] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503045648/public/assets
INFO [222194c6] Finished in 0.156 seconds with exit status 0 (successful).
INFO [390041da] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503045648/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [390041da] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503045648/public/assets
INFO [390041da] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [5c1e427b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5c1e427b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [5c1e427b] Finished in 0.140 seconds with exit status 0 (successful).
INFO [35c67c5c] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [35c67c5c] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [35c67c5c] Finished in 8.575 seconds with exit status 0 (successful).
DEBUG [b889f30d] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [b889f30d] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [b889f30d] Finished in 0.137 seconds with exit status 0 (successful).
INFO [dff7bc7c] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [dff7bc7c] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [dff7bc7c] Finished in 68.328 seconds with exit status 0 (successful).
DEBUG [6ad54fcf] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [6ad54fcf] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [6ad54fcf] Finished in 0.143 seconds with exit status 0 (successful).
INFO [4eb37bb0] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [4eb37bb0] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503045648/assets_manifest_backup
INFO [4eb37bb0] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [a08b4c31] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [a08b4c31] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest*
DEBUG [a08b4c31]
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [a08b4c31] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [2dbee55c] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [2dbee55c] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest*
DEBUG [2dbee55c]
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [2dbee55c] Finished in 0.144 seconds with exit status 0 (successful).
INFO [d847e43a] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503045648/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [d847e43a] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503045648/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503045648/assets_manifest_backup
INFO [d847e43a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [61833f58] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [61833f58] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [61833f58] Finished in 0.140 seconds with exit status 0 (successful).
INFO [8adb2a12] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [8adb2a12] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [8adb2a12] == 20180427215911 CreatePredictModels: migrating
==============================
DEBUG [8adb2a12]
DEBUG [8adb2a12] -- create_table(:predict_models)
DEBUG [8adb2a12]
DEBUG [8adb2a12] -> 0.0262s
DEBUG [8adb2a12]
DEBUG [8adb2a12] == 20180427215911 CreatePredictModels: migrated (0.0264s)
=====================
DEBUG [8adb2a12]
DEBUG [8adb2a12]
DEBUG [8adb2a12] == 20180430024758 CreateProjectFiles: migrating
===============================
DEBUG [8adb2a12]
DEBUG [8adb2a12] -- create_table(:project_files)
DEBUG [8adb2a12]
DEBUG [8adb2a12] -> 0.0644s
DEBUG [8adb2a12]
DEBUG [8adb2a12] == 20180430024758 CreateProjectFiles: migrated (0.0646s)
======================
DEBUG [8adb2a12]
DEBUG [8adb2a12]
INFO [8adb2a12] Finished in 3.459 seconds with exit status 0 (successful).
INFO [31651211] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503045648
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [31651211] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503045648
/home/deploy/infraplan_staging/releases/current
INFO [31651211] Finished in 0.141 seconds with exit status 0 (successful).
INFO [8dff5fb4] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [8dff5fb4] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [8dff5fb4] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [bcd35552] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [bcd35552] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503045648; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503045648'" 1>&2; false; fi
DEBUG [bcd35552] Finished in 0.138 seconds with exit status 0 (successful).
INFO [b2866709] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [b2866709] Command: cd
/home/deploy/infraplan_staging/releases/20180503045648 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [b2866709]
/home/deploy/infraplan_staging/releases/20180503045648/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [b2866709] bundler: failed to load command: bin/delayed_job
(bin/delayed_job)
DEBUG [b2866709] NoMethodError: undefined method `belongs_to' for
ProjectFilesController:Class

/home/deploy/infraplan_staging/releases/20180503045648/app/controllers/project_file
s_controller.rb:2:in `<class:ProjectFilesController>'

/home/deploy/infraplan_staging/releases/20180503045648/app/controllers/project_file
s_controller.rb:1:in `<top (required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:317:in `depend_on'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:233:in `require_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `block in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:346:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in
tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2
levels) in each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in
`each_strongly_connected_component_from'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in
each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in
`each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/infraplan_staging/releases/20180503045648/config/environment.rb:5:in
`<top (required)>'
bin/delayed_job:3:in `require'
bin/delayed_job:3:in `<top (required)>'
INFO ---------------------------------------------------------------------------
INFO START 2018-05-03 01:00:01 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [198df701] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [198df701] Command: [ -d ~/.rvm ]
DEBUG [198df701] Finished in 0.643 seconds with exit status 0 (successful).
DEBUG [7fb4fa98] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [7fb4fa98] Command: ~/.rvm/bin/rvm version
DEBUG [7fb4fa98] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [7fb4fa98] Finished in 0.618 seconds with exit status 0 (successful).
DEBUG [8bdc05c5] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [8bdc05c5] Command: ~/.rvm/bin/rvm current
DEBUG [8bdc05c5] ruby-2.3.4
DEBUG [8bdc05c5] Finished in 0.470 seconds with exit status 0 (successful).
DEBUG [98763185] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [98763185] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [98763185] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [98763185] Finished in 0.653 seconds with exit status 0 (successful).
INFO [df93f19a] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [df93f19a] Command: /usr/bin/env mkdir -p /tmp
INFO [df93f19a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [9cc086f9] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [9cc086f9] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [9cc086f9] Finished in 0.145 seconds with exit status 0 (successful).
INFO [b739fbfe] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [b739fbfe] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [b739fbfe] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [b739fbfe] Finished in 3.406 seconds with exit status 0 (successful).
INFO [a6bcbfa6] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [a6bcbfa6] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [a6bcbfa6] Finished in 0.138 seconds with exit status 0 (successful).
INFO [b4d17e4d] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [b4d17e4d] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [b4d17e4d] Finished in 0.141 seconds with exit status 0 (successful).
INFO [0a80d643] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [0a80d643] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [0a80d643] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [0194ef66] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [0194ef66] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [0194ef66] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [220d740a] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [220d740a] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [220d740a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [9c617cfc] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [9c617cfc] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [9c617cfc] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [15f1d04a] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [15f1d04a] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [15f1d04a] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [acae28e4] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [acae28e4] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [acae28e4] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b0471042] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [b0471042] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [b0471042] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [b0471042] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c421d83f] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [c421d83f] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [c421d83f] Finished in 0.139 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [e3e0d1a5] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [e3e0d1a5] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [e3e0d1a5] Finished in 0.141 seconds with exit status 0 (successful).
INFO [7b5c439b] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [7b5c439b] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [7b5c439b] Finished in 0.145 seconds with exit status 0 (successful).
INFO [3b4d0547] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [3b4d0547] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [3b4d0547] Fetching origin
INFO [3b4d0547] Finished in 0.475 seconds with exit status 0 (successful).
DEBUG [9cdd27a4] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [9cdd27a4] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [9cdd27a4] Finished in 0.139 seconds with exit status 0 (successful).
INFO [b93b8b17] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008 as deploy@li1268-
184.members.linode.com
DEBUG [b93b8b17] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180503050008 )
INFO [b93b8b17] Finished in 0.142 seconds with exit status 0 (successful).
INFO [0bcc1f22] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180503050008
as deploy@li1268-184.members.linode.com
DEBUG [0bcc1f22] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180503050008 )
INFO [0bcc1f22] Finished in 0.389 seconds with exit status 0 (successful).
DEBUG [6262638f] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [6262638f] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [6262638f] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [38aeeb98] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [38aeeb98] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [38aeeb98] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [38aeeb98] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [d612fdf4] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [d612fdf4] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [d612fdf4] Finished in 0.140 seconds with exit status 0 (successful).
INFO [4e4bfff6] Running /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [4e4bfff6] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION
INFO [4e4bfff6] Finished in 0.142 seconds with exit status 0 (successful).
INFO [14647430] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008/config as deploy@li1268-
184.members.linode.com
DEBUG [14647430] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008/config
INFO [14647430] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [3c780ee3] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [3c780ee3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml ]
DEBUG [3c780ee3] Finished in 0.151 seconds with exit status 1 (failed).
DEBUG [ecdddc34] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ecdddc34] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml ]
DEBUG [ecdddc34] Finished in 0.143 seconds with exit status 1 (failed).
INFO [9389e0de] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [9389e0de] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/database.yml
INFO [9389e0de] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [f09d38da] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [f09d38da] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml ]
DEBUG [f09d38da] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [d8e05119] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d8e05119] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml ]
DEBUG [d8e05119] Finished in 0.146 seconds with exit status 1 (failed).
INFO [c27b849e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [c27b849e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/secrets.yml
INFO [c27b849e] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [48a4f028] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [48a4f028] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml ]
DEBUG [48a4f028] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [ca8214a2] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ca8214a2] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml ]
DEBUG [ca8214a2] Finished in 0.142 seconds with exit status 1 (failed).
INFO [5475b9f9] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [5475b9f9] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503050008/config/app_config.yml
INFO [5475b9f9] Finished in 0.145 seconds with exit status 0 (successful).
INFO [c171c2c9] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008
/home/deploy/infraplan_staging/releases/20180503050008/tmp
/home/deploy/infraplan_staging/releases/20180503050008/public as deploy@li1268-
184.members.linode.com
DEBUG [c171c2c9] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008
/home/deploy/infraplan_staging/releases/20180503050008/tmp
/home/deploy/infraplan_staging/releases/20180503050008/public
INFO [c171c2c9] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [0808933f] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/log ] as deploy@li1268-
184.members.linode.com
DEBUG [0808933f] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/log ]
DEBUG [0808933f] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [b766be63] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/log ] as deploy@li1268-
184.members.linode.com
DEBUG [b766be63] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/log ]
DEBUG [b766be63] Finished in 0.142 seconds with exit status 1 (failed).
INFO [0479a095] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503050008/log as deploy@li1268-
184.members.linode.com
DEBUG [0479a095] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503050008/log
INFO [0479a095] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [53f20a20] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [53f20a20] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids ]
DEBUG [53f20a20] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [93740a32] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [93740a32] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids ]
DEBUG [93740a32] Finished in 0.140 seconds with exit status 1 (failed).
INFO [f35eaa18] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [f35eaa18] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503050008/tmp/pids
INFO [f35eaa18] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1b6c9bc5] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [1b6c9bc5] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache ]
DEBUG [1b6c9bc5] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [1eeee43d] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [1eeee43d] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache ]
DEBUG [1eeee43d] Finished in 0.141 seconds with exit status 1 (failed).
INFO [64a17e9a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [64a17e9a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503050008/tmp/cache
INFO [64a17e9a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [b592b555] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [b592b555] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets ]
DEBUG [b592b555] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [c7700bf4] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [c7700bf4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets ]
DEBUG [c7700bf4] Finished in 0.141 seconds with exit status 1 (failed).
INFO [f70846a7] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [f70846a7] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503050008/tmp/sockets
INFO [f70846a7] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [069cc1e7] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [069cc1e7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/public/system ]
DEBUG [069cc1e7] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [19ac5a5c] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [19ac5a5c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/public/system ]
DEBUG [19ac5a5c] Finished in 0.147 seconds with exit status 1 (failed).
INFO [ff127af0] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503050008/public/system as
deploy@li1268-184.members.linode.com
DEBUG [ff127af0] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503050008/public/system
INFO [ff127af0] Finished in 0.151 seconds with exit status 0 (successful).
DEBUG [772a8c5a] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050008/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [772a8c5a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050008/public/assets ]
DEBUG [772a8c5a] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [da4de89f] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050008/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [da4de89f] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050008/public/assets ]
DEBUG [da4de89f] Finished in 0.148 seconds with exit status 0 (successful).
INFO [4a4cc3cf] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503050008/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [4a4cc3cf] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503050008/public/assets
INFO [4a4cc3cf] Finished in 0.110 seconds with exit status 0 (successful).
INFO [7b764297] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503050008/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [7b764297] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503050008/public/assets
INFO [7b764297] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [78da0119] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [78da0119] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [78da0119] Finished in 0.151 seconds with exit status 0 (successful).
INFO [2a93f626] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [2a93f626] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [2a93f626] Finished in 1.284 seconds with exit status 0 (successful).
DEBUG [5881fde6] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5881fde6] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [5881fde6] Finished in 0.141 seconds with exit status 0 (successful).
INFO [9af5e170] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [9af5e170] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [9af5e170] Finished in 4.318 seconds with exit status 0 (successful).
DEBUG [1b83d026] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [1b83d026] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [1b83d026] Finished in 0.141 seconds with exit status 0 (successful).
INFO [ecf75de8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [ecf75de8] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050008/assets_manifest_backup
INFO [ecf75de8] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [e7329314] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [e7329314] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest*
DEBUG [e7329314]
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [e7329314] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [cb95ac7f] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [cb95ac7f] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest*
DEBUG [cb95ac7f]
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [cb95ac7f] Finished in 0.146 seconds with exit status 0 (successful).
INFO [0a2b710c] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503050008/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [0a2b710c] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503050008/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503050008/assets_manifest_backup
INFO [0a2b710c] Finished in 0.149 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [88655655] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [88655655] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [88655655] Finished in 0.150 seconds with exit status 0 (successful).
INFO [f5296b2b] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [f5296b2b] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [f5296b2b] Finished in 3.838 seconds with exit status 0 (successful).
INFO [a528ce98] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503050008
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [a528ce98] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503050008
/home/deploy/infraplan_staging/releases/current
INFO [a528ce98] Finished in 0.152 seconds with exit status 0 (successful).
INFO [d0837cf5] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [d0837cf5] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [d0837cf5] Finished in 0.152 seconds with exit status 0 (successful).
DEBUG [2fa1e529] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [2fa1e529] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050008; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050008'" 1>&2; false; fi
DEBUG [2fa1e529] Finished in 0.143 seconds with exit status 0 (successful).
INFO [4b900ccc] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [4b900ccc] Command: cd
/home/deploy/infraplan_staging/releases/20180503050008 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [4b900ccc]
/home/deploy/infraplan_staging/releases/20180503050008/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [4b900ccc] bundler: failed to load command: bin/delayed_job
(bin/delayed_job)
DEBUG [4b900ccc] NoMethodError: undefined method `belongs_to' for
ProjectFilesController:Class

/home/deploy/infraplan_staging/releases/20180503050008/app/controllers/project_file
s_controller.rb:2:in `<class:ProjectFilesController>'

/home/deploy/infraplan_staging/releases/20180503050008/app/controllers/project_file
s_controller.rb:1:in `<top (required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:317:in `depend_on'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:233:in `require_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `block in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:346:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in
tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2
levels) in each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in
`each_strongly_connected_component_from'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in
each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in
`each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/infraplan_staging/releases/20180503050008/config/environment.rb:5:in
`<top (required)>'
bin/delayed_job:3:in `require'
bin/delayed_job:3:in `<top (required)>'
DEBUG [4b900ccc]
INFO ---------------------------------------------------------------------------
INFO START 2018-05-03 01:09:28 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [7e5ee333] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [7e5ee333] Command: [ -d ~/.rvm ]
DEBUG [7e5ee333] Finished in 0.553 seconds with exit status 0 (successful).
DEBUG [4b355735] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [4b355735] Command: ~/.rvm/bin/rvm version
DEBUG [4b355735] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [4b355735] Finished in 0.347 seconds with exit status 0 (successful).
DEBUG [5d3399b1] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [5d3399b1] Command: ~/.rvm/bin/rvm current
DEBUG [5d3399b1] ruby-2.3.4
DEBUG [5d3399b1] Finished in 0.362 seconds with exit status 0 (successful).
DEBUG [368401c9] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [368401c9] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [368401c9] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [368401c9] Finished in 0.507 seconds with exit status 0 (successful).
INFO [69faa4d6] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [69faa4d6] Command: /usr/bin/env mkdir -p /tmp
INFO [69faa4d6] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [61ed0f48] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [61ed0f48] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [61ed0f48] Finished in 0.148 seconds with exit status 0 (successful).
INFO [42baed92] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [42baed92] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [42baed92] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [42baed92] Finished in 0.425 seconds with exit status 0 (successful).
INFO [917c68c3] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [917c68c3] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [917c68c3] Finished in 0.143 seconds with exit status 0 (successful).
INFO [c27ed209] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [c27ed209] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [c27ed209] Finished in 0.143 seconds with exit status 0 (successful).
INFO [c8367f85] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [c8367f85] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [c8367f85] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [4ce4d908] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [4ce4d908] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [4ce4d908] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [81c7c520] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [81c7c520] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [81c7c520] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [b8760516] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [b8760516] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [b8760516] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [7c2ee969] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [7c2ee969] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [7c2ee969] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [6b424983] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [6b424983] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [6b424983] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [21007444] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [21007444] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [21007444] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [21007444] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [8256a1ea] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [8256a1ea] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [8256a1ea] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [1d187a0b] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [1d187a0b] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [1d187a0b] Finished in 0.140 seconds with exit status 0 (successful).
INFO [09fd82b2] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [09fd82b2] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [09fd82b2] Finished in 0.160 seconds with exit status 0 (successful).
INFO [8e825830] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [8e825830] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [8e825830] Fetching origin
INFO [8e825830] Finished in 0.427 seconds with exit status 0 (successful).
DEBUG [4f015892] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [4f015892] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [4f015892] Finished in 0.142 seconds with exit status 0 (successful).
INFO [ef3f5425] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932 as deploy@li1268-
184.members.linode.com
DEBUG [ef3f5425] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180503050932 )
INFO [ef3f5425] Finished in 0.144 seconds with exit status 0 (successful).
INFO [c5d3dff1] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180503050932
as deploy@li1268-184.members.linode.com
DEBUG [c5d3dff1] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180503050932 )
INFO [c5d3dff1] Finished in 0.367 seconds with exit status 0 (successful).
DEBUG [52259c08] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [52259c08] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [52259c08] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [03fbb4eb] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [03fbb4eb] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [03fbb4eb] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [03fbb4eb] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [5355358a] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5355358a] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [5355358a] Finished in 0.150 seconds with exit status 0 (successful).
INFO [622f8284] Running /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [622f8284] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && /usr/bin/env echo
"6fe0e39991a1dafd9916f7874f37ee5150bdf0bc" >> REVISION
INFO [622f8284] Finished in 0.150 seconds with exit status 0 (successful).
INFO [d98d3731] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932/config as deploy@li1268-
184.members.linode.com
DEBUG [d98d3731] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932/config
INFO [d98d3731] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [7bcc7aee] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7bcc7aee] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml ]
DEBUG [7bcc7aee] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [4539188c] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4539188c] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml ]
DEBUG [4539188c] Finished in 0.142 seconds with exit status 1 (failed).
INFO [08271540] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [08271540] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/database.yml
INFO [08271540] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [3bf67b2e] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [3bf67b2e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml ]
DEBUG [3bf67b2e] Finished in 0.149 seconds with exit status 1 (failed).
DEBUG [1cc0d2b3] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [1cc0d2b3] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml ]
DEBUG [1cc0d2b3] Finished in 0.139 seconds with exit status 1 (failed).
INFO [8ffb2afa] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [8ffb2afa] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/secrets.yml
INFO [8ffb2afa] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [a62c3384] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a62c3384] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml ]
DEBUG [a62c3384] Finished in 0.145 seconds with exit status 1 (failed).
DEBUG [fb087b68] Running [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [fb087b68] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml ]
DEBUG [fb087b68] Finished in 0.140 seconds with exit status 1 (failed).
INFO [ba73feb3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [ba73feb3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503050932/config/app_config.yml
INFO [ba73feb3] Finished in 0.141 seconds with exit status 0 (successful).
INFO [78b23fd1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932
/home/deploy/infraplan_staging/releases/20180503050932/tmp
/home/deploy/infraplan_staging/releases/20180503050932/public as deploy@li1268-
184.members.linode.com
DEBUG [78b23fd1] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932
/home/deploy/infraplan_staging/releases/20180503050932/tmp
/home/deploy/infraplan_staging/releases/20180503050932/public
INFO [78b23fd1] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [c89e9e60] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/log ] as deploy@li1268-
184.members.linode.com
DEBUG [c89e9e60] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/log ]
DEBUG [c89e9e60] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [f7fc688e] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/log ] as deploy@li1268-
184.members.linode.com
DEBUG [f7fc688e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/log ]
DEBUG [f7fc688e] Finished in 0.143 seconds with exit status 1 (failed).
INFO [f6974f05] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503050932/log as deploy@li1268-
184.members.linode.com
DEBUG [f6974f05] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503050932/log
INFO [f6974f05] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [ce00b0b0] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [ce00b0b0] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids ]
DEBUG [ce00b0b0] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [123b7b01] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [123b7b01] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids ]
DEBUG [123b7b01] Finished in 0.138 seconds with exit status 1 (failed).
INFO [17c33e21] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [17c33e21] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503050932/tmp/pids
INFO [17c33e21] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [dbee9382] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [dbee9382] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache ]
DEBUG [dbee9382] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [f8ef2379] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [f8ef2379] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache ]
DEBUG [f8ef2379] Finished in 0.139 seconds with exit status 1 (failed).
INFO [fdc78181] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [fdc78181] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503050932/tmp/cache
INFO [fdc78181] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [8efbff78] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [8efbff78] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets ]
DEBUG [8efbff78] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [4a9e64c3] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [4a9e64c3] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets ]
DEBUG [4a9e64c3] Finished in 0.140 seconds with exit status 1 (failed).
INFO [f597b45e] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [f597b45e] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503050932/tmp/sockets
INFO [f597b45e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [db24ddee] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [db24ddee] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/public/system ]
DEBUG [db24ddee] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [69485177] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [69485177] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/public/system ]
DEBUG [69485177] Finished in 0.153 seconds with exit status 1 (failed).
INFO [bc3bb11c] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503050932/public/system as
deploy@li1268-184.members.linode.com
DEBUG [bc3bb11c] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503050932/public/system
INFO [bc3bb11c] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [25f4eaf2] Running [ -L
/home/deploy/infraplan_staging/releases/20180503050932/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [25f4eaf2] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503050932/public/assets ]
DEBUG [25f4eaf2] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [d3afb13a] Running [ -d
/home/deploy/infraplan_staging/releases/20180503050932/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [d3afb13a] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503050932/public/assets ]
DEBUG [d3afb13a] Finished in 0.143 seconds with exit status 0 (successful).
INFO [548360e9] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503050932/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [548360e9] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503050932/public/assets
INFO [548360e9] Finished in 0.156 seconds with exit status 0 (successful).
INFO [774eea12] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503050932/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [774eea12] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503050932/public/assets
INFO [774eea12] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [26ee090b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [26ee090b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [26ee090b] Finished in 0.142 seconds with exit status 0 (successful).
INFO [aea3cd51] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [aea3cd51] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [aea3cd51] Finished in 1.233 seconds with exit status 0 (successful).
DEBUG [ac746f48] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ac746f48] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [ac746f48] Finished in 0.146 seconds with exit status 0 (successful).
INFO [0c313797] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [0c313797] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [0c313797] Finished in 3.782 seconds with exit status 0 (successful).
DEBUG [f85c1c8c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f85c1c8c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [f85c1c8c] Finished in 0.146 seconds with exit status 0 (successful).
INFO [9a033af2] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [9a033af2] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503050932/assets_manifest_backup
INFO [9a033af2] Finished in 0.160 seconds with exit status 0 (successful).
DEBUG [9fbe9766] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [9fbe9766] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest*
DEBUG [9fbe9766]
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [9fbe9766] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [5198116a] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [5198116a] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest*
DEBUG [5198116a]
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [5198116a] Finished in 0.150 seconds with exit status 0 (successful).
INFO [7e4d83d2] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503050932/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [7e4d83d2] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503050932/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503050932/assets_manifest_backup
INFO [7e4d83d2] Finished in 0.161 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [ec800a88] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ec800a88] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [ec800a88] Finished in 0.146 seconds with exit status 0 (successful).
INFO [d98f2e3e] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [d98f2e3e] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [d98f2e3e] Finished in 3.531 seconds with exit status 0 (successful).
INFO [208ee622] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503050932
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [208ee622] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503050932
/home/deploy/infraplan_staging/releases/current
INFO [208ee622] Finished in 0.145 seconds with exit status 0 (successful).
INFO [fc688051] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [fc688051] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [fc688051] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [7002ddfe] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [7002ddfe] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503050932; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503050932'" 1>&2; false; fi
DEBUG [7002ddfe] Finished in 0.140 seconds with exit status 0 (successful).
INFO [385ab6ca] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [385ab6ca] Command: cd
/home/deploy/infraplan_staging/releases/20180503050932 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [385ab6ca]
/home/deploy/infraplan_staging/releases/20180503050932/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [385ab6ca] bundler: failed to load command: bin/delayed_job
(bin/delayed_job)
DEBUG [385ab6ca] NoMethodError: undefined method `belongs_to' for
ProjectFilesController:Class

/home/deploy/infraplan_staging/releases/20180503050932/app/controllers/project_file
s_controller.rb:2:in `<class:ProjectFilesController>'

/home/deploy/infraplan_staging/releases/20180503050932/app/controllers/project_file
s_controller.rb:1:in `<top (required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:317:in `depend_on'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:233:in `require_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `block in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:346:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in
tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2
levels) in each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in
`each_strongly_connected_component_from'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in
each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in
`each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/infraplan_staging/releases/20180503050932/config/environment.rb:5:in
`<top (required)>'
bin/delayed_job:3:in `require'
bin/delayed_job:3:in `<top (required)>'
DEBUG [385ab6ca]
INFO ---------------------------------------------------------------------------
INFO START 2018-05-03 01:10:04 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [3842fb92] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [3842fb92] Command: [ -d ~/.rvm ]
DEBUG [3842fb92] Finished in 0.552 seconds with exit status 0 (successful).
DEBUG [12858daf] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [12858daf] Command: ~/.rvm/bin/rvm version
DEBUG [12858daf] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [12858daf] Finished in 0.366 seconds with exit status 0 (successful).
DEBUG [3d9f6cce] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [3d9f6cce] Command: ~/.rvm/bin/rvm current
DEBUG [3d9f6cce] ruby-2.3.4
DEBUG [3d9f6cce] Finished in 0.372 seconds with exit status 0 (successful).
DEBUG [9a584ac0] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [9a584ac0] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [9a584ac0] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [9a584ac0] Finished in 0.524 seconds with exit status 0 (successful).
INFO [8b425abf] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [8b425abf] Command: /usr/bin/env mkdir -p /tmp
INFO [8b425abf] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [401793d8] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [401793d8] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [401793d8] Finished in 0.145 seconds with exit status 0 (successful).
INFO [6ab5d8aa] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [6ab5d8aa] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [6ab5d8aa] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [6ab5d8aa] Finished in 0.448 seconds with exit status 0 (successful).
INFO [aca329a4] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [aca329a4] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [aca329a4] Finished in 0.144 seconds with exit status 0 (successful).
INFO [2d34b406] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [2d34b406] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [2d34b406] Finished in 0.138 seconds with exit status 0 (successful).
INFO [32f21e6c] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [32f21e6c] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [32f21e6c] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [1eeae1ca] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [1eeae1ca] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [1eeae1ca] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [a078ba99] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [a078ba99] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [a078ba99] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [ca32a252] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [ca32a252] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [ca32a252] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [a82f8182] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [a82f8182] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [a82f8182] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [834ab95b] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [834ab95b] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [834ab95b] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [add9ee86] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [add9ee86] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [add9ee86] 6fe0e39991a1dafd9916f7874f37ee5150bdf0bc
DEBUG [add9ee86] Finished in 0.157 seconds with exit status 0 (successful).
DEBUG [4450d196] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [4450d196] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [4450d196] Finished in 0.139 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [dd2dc8ce] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [dd2dc8ce] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [dd2dc8ce] Finished in 0.138 seconds with exit status 0 (successful).
INFO [2c2fbe69] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [2c2fbe69] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [2c2fbe69] Finished in 0.143 seconds with exit status 0 (successful).
INFO [265b25ec] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [265b25ec] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [265b25ec] Fetching origin
DEBUG [265b25ec] From bitbucket.org:avanraven/infraplan
6fe0e39..b094f9b feature/predict_modeling -> feature/predict_modeling
INFO [265b25ec] Finished in 0.635 seconds with exit status 0 (successful).
DEBUG [ca1814d9] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [ca1814d9] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [ca1814d9] Finished in 0.167 seconds with exit status 0 (successful).
INFO [b925abfb] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009 as deploy@li1268-
184.members.linode.com
DEBUG [b925abfb] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180503051009 )
INFO [b925abfb] Finished in 0.160 seconds with exit status 0 (successful).
INFO [e54bfea7] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180503051009
as deploy@li1268-184.members.linode.com
DEBUG [e54bfea7] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180503051009 )
INFO [e54bfea7] Finished in 0.374 seconds with exit status 0 (successful).
DEBUG [dcb4aa92] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [dcb4aa92] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [dcb4aa92] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [fe58759b] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [fe58759b] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [fe58759b] b094f9b987329a7f9ee798f53e45d63495fe7fd1
DEBUG [fe58759b] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [ee73c130] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ee73c130] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [ee73c130] Finished in 0.140 seconds with exit status 0 (successful).
INFO [52587680] Running /usr/bin/env echo
"b094f9b987329a7f9ee798f53e45d63495fe7fd1" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [52587680] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && /usr/bin/env echo
"b094f9b987329a7f9ee798f53e45d63495fe7fd1" >> REVISION
INFO [52587680] Finished in 0.141 seconds with exit status 0 (successful).
INFO [69cffefd] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009/config as deploy@li1268-
184.members.linode.com
DEBUG [69cffefd] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009/config
INFO [69cffefd] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [a6938a0d] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a6938a0d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml ]
DEBUG [a6938a0d] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [6b91ec72] Running [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6b91ec72] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml ]
DEBUG [6b91ec72] Finished in 0.141 seconds with exit status 1 (failed).
INFO [f6aed754] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [f6aed754] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/database.yml
INFO [f6aed754] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [d3a98eea] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [d3a98eea] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml ]
DEBUG [d3a98eea] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [54063634] Running [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [54063634] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml ]
DEBUG [54063634] Finished in 0.141 seconds with exit status 1 (failed).
INFO [3f264b45] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [3f264b45] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/secrets.yml
INFO [3f264b45] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [23f90831] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [23f90831] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml ]
DEBUG [23f90831] Finished in 0.138 seconds with exit status 1 (failed).
DEBUG [663f7cf4] Running [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [663f7cf4] Command: [ -f
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml ]
DEBUG [663f7cf4] Finished in 0.145 seconds with exit status 1 (failed).
INFO [0ddcb164] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [0ddcb164] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180503051009/config/app_config.yml
INFO [0ddcb164] Finished in 0.146 seconds with exit status 0 (successful).
INFO [1a29d103] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009
/home/deploy/infraplan_staging/releases/20180503051009/tmp
/home/deploy/infraplan_staging/releases/20180503051009/public as deploy@li1268-
184.members.linode.com
DEBUG [1a29d103] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009
/home/deploy/infraplan_staging/releases/20180503051009/tmp
/home/deploy/infraplan_staging/releases/20180503051009/public
INFO [1a29d103] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [326e9983] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/log ] as deploy@li1268-
184.members.linode.com
DEBUG [326e9983] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/log ]
DEBUG [326e9983] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [5d64ecda] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/log ] as deploy@li1268-
184.members.linode.com
DEBUG [5d64ecda] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/log ]
DEBUG [5d64ecda] Finished in 0.145 seconds with exit status 1 (failed).
INFO [a6026208] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503051009/log as deploy@li1268-
184.members.linode.com
DEBUG [a6026208] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180503051009/log
INFO [a6026208] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [4aa5d5f3] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [4aa5d5f3] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids ]
DEBUG [4aa5d5f3] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [bb5b80f0] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [bb5b80f0] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids ]
DEBUG [bb5b80f0] Finished in 0.140 seconds with exit status 1 (failed).
INFO [7f3a5d3d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [7f3a5d3d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180503051009/tmp/pids
INFO [7f3a5d3d] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [932029a9] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [932029a9] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache ]
DEBUG [932029a9] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [9f4c9ddc] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [9f4c9ddc] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache ]
DEBUG [9f4c9ddc] Finished in 0.142 seconds with exit status 1 (failed).
INFO [7d4f1163] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [7d4f1163] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180503051009/tmp/cache
INFO [7d4f1163] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [5eb0da31] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [5eb0da31] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets ]
DEBUG [5eb0da31] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [9ba732b7] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [9ba732b7] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets ]
DEBUG [9ba732b7] Finished in 0.139 seconds with exit status 1 (failed).
INFO [f23a1f9d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [f23a1f9d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180503051009/tmp/sockets
INFO [f23a1f9d] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [ae0bff2d] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [ae0bff2d] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/public/system ]
DEBUG [ae0bff2d] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [d793903e] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [d793903e] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/public/system ]
DEBUG [d793903e] Finished in 0.141 seconds with exit status 1 (failed).
INFO [b0c035a0] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503051009/public/system as
deploy@li1268-184.members.linode.com
DEBUG [b0c035a0] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180503051009/public/system
INFO [b0c035a0] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [912309e7] Running [ -L
/home/deploy/infraplan_staging/releases/20180503051009/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [912309e7] Command: [ -L
/home/deploy/infraplan_staging/releases/20180503051009/public/assets ]
DEBUG [912309e7] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [7aa77b30] Running [ -d
/home/deploy/infraplan_staging/releases/20180503051009/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [7aa77b30] Command: [ -d
/home/deploy/infraplan_staging/releases/20180503051009/public/assets ]
DEBUG [7aa77b30] Finished in 0.143 seconds with exit status 0 (successful).
INFO [bdfa6206] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503051009/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [bdfa6206] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180503051009/public/assets
INFO [bdfa6206] Finished in 0.152 seconds with exit status 0 (successful).
INFO [c6d18869] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503051009/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [c6d18869] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180503051009/public/assets
INFO [c6d18869] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [16258a15] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [16258a15] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [16258a15] Finished in 0.139 seconds with exit status 0 (successful).
INFO [8198d53d] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [8198d53d] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [8198d53d] Finished in 1.308 seconds with exit status 0 (successful).
DEBUG [ac985395] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [ac985395] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [ac985395] Finished in 0.138 seconds with exit status 0 (successful).
INFO [3e03d3f3] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [3e03d3f3] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [3e03d3f3] Finished in 3.988 seconds with exit status 0 (successful).
DEBUG [adc4dd00] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [adc4dd00] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [adc4dd00] Finished in 0.139 seconds with exit status 0 (successful).
INFO [5f32ae68] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [5f32ae68] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180503051009/assets_manifest_backup
INFO [5f32ae68] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [c919b485] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [c919b485] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest*
DEBUG [c919b485]
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [c919b485] Finished in 0.145 seconds with exit status 0 (successful).
DEBUG [f08c5cb0] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [f08c5cb0] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest*
DEBUG [f08c5cb0]
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [f08c5cb0] Finished in 0.145 seconds with exit status 0 (successful).
INFO [6cb7ff47] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503051009/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [6cb7ff47] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180503051009/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180503051009/assets_manifest_backup
INFO [6cb7ff47] Finished in 0.142 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [d618050b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [d618050b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [d618050b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [71743893] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [71743893] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
INFO [71743893] Finished in 3.548 seconds with exit status 0 (successful).
INFO [0f843a19] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503051009
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [0f843a19] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180503051009
/home/deploy/infraplan_staging/releases/current
INFO [0f843a19] Finished in 0.145 seconds with exit status 0 (successful).
INFO [cf4667ef] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [cf4667ef] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [cf4667ef] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [08e7b322] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [08e7b322] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180503051009; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180503051009'" 1>&2; false; fi
DEBUG [08e7b322] Finished in 0.146 seconds with exit status 0 (successful).
INFO [28b5b294] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [28b5b294] Command: cd
/home/deploy/infraplan_staging/releases/20180503051009 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [28b5b294]
/home/deploy/infraplan_staging/releases/20180503051009/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [28b5b294] delayed_job: trying to stop process with pid 15897...
DEBUG [28b5b294]
DEBUG [28b5b294] delayed_job: process with pid 15897 successfully stopped.
DEBUG [28b5b294] delayed_job: process with pid 18936 started.
INFO [28b5b294] Finished in 5.043 seconds with exit status 0 (successful).
DEBUG [d478bd17] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [d478bd17] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [d478bd17] 20180419052928 20180425073721 20180425075515
20180425080106 20180427144035
20180503045648 20180503050008 20180503050932 20180503051009
DEBUG [d478bd17] Finished in 0.141 seconds with exit status 0 (successful).
INFO Keeping 5 of 9 deployed releases on li1268-184.members.linode.com
DEBUG [0b7f446f] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [0b7f446f] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [0b7f446f] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [19d1dfd1] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [19d1dfd1] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [19d1dfd1] /home/deploy/infraplan_staging/releases/20180503051009
DEBUG [19d1dfd1] Finished in 0.144 seconds with exit status 0 (successful).
INFO [cd2a9224] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180419052928
/home/deploy/infraplan_staging/releases/20180425073721
/home/deploy/infraplan_staging/releases/20180425075515
/home/deploy/infraplan_staging/releases/20180425080106 as deploy@li1268-
184.members.linode.com
DEBUG [cd2a9224] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180419052928
/home/deploy/infraplan_staging/releases/20180425073721
/home/deploy/infraplan_staging/releases/20180425075515
/home/deploy/infraplan_staging/releases/20180425080106
INFO [cd2a9224] Finished in 0.391 seconds with exit status 0 (successful).
DEBUG [e4acac7f] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [e4acac7f] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [e4acac7f] Finished in 0.141 seconds with exit status 0 (successful).
INFO [b091a4ba] Running /usr/bin/env echo "Branch feature/predict_modeling (at
b094f9b987329a7f9ee798f53e45d63495fe7fd1) deployed as release 20180503051009 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [b091a4ba] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
b094f9b987329a7f9ee798f53e45d63495fe7fd1) deployed as release 20180503051009 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [b091a4ba] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [1b0cd977] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [1b0cd977] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [1b0cd977] Finished in 0.150 seconds with exit status 0 (successful).
DEBUG [c5ebc019] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [c5ebc019] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [c5ebc019] Finished in 0.149 seconds with exit status 0 (successful).
DEBUG [4edbcd8a] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [4edbcd8a] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [4edbcd8a] Finished in 0.148 seconds with exit status 0 (successful).
INFO [011b7858] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [011b7858] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [011b7858] Command restart sent success
DEBUG [011b7858]
INFO [011b7858] Finished in 0.967 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-05-14 10:02:04 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [00b4baf0] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [00b4baf0] Command: [ -d ~/.rvm ]
DEBUG [00b4baf0] Finished in 0.681 seconds with exit status 0 (successful).
DEBUG [cccfdd17] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [cccfdd17] Command: ~/.rvm/bin/rvm version
DEBUG [cccfdd17] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [cccfdd17] Finished in 0.343 seconds with exit status 0 (successful).
DEBUG [97bb0925] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [97bb0925] Command: ~/.rvm/bin/rvm current
DEBUG [97bb0925] ruby-2.3.4
DEBUG [97bb0925] Finished in 0.338 seconds with exit status 0 (successful).
DEBUG [4a4e1dc3] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [4a4e1dc3] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [4a4e1dc3] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [4a4e1dc3] Finished in 0.506 seconds with exit status 0 (successful).
INFO [b1357acc] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [b1357acc] Command: /usr/bin/env mkdir -p /tmp
INFO [b1357acc] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [96ed8eae] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [96ed8eae] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [96ed8eae] Finished in 0.140 seconds with exit status 0 (successful).
INFO [98945977] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [98945977] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [98945977] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [98945977] Finished in 3.500 seconds with exit status 0 (successful).
INFO [341a68b8] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [341a68b8] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [341a68b8] Finished in 0.147 seconds with exit status 0 (successful).
INFO [fb36505a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [fb36505a] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [fb36505a] Finished in 0.141 seconds with exit status 0 (successful).
INFO [968b59ec] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [968b59ec] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [968b59ec] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [c54fba6a] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [c54fba6a] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [c54fba6a] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [38844c36] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [38844c36] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [38844c36] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [252a45f2] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [252a45f2] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [252a45f2] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [d2316da5] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [d2316da5] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [d2316da5] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [fd8fded7] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [fd8fded7] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [fd8fded7] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [dd2c9090] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [dd2c9090] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [dd2c9090] b094f9b987329a7f9ee798f53e45d63495fe7fd1
DEBUG [dd2c9090] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [e4d6de45] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [e4d6de45] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [e4d6de45] Finished in 0.141 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [f4c3ba6d] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [f4c3ba6d] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [f4c3ba6d] Finished in 0.136 seconds with exit status 0 (successful).
INFO [8209dee5] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [8209dee5] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [8209dee5] Finished in 0.141 seconds with exit status 0 (successful).
INFO [64f2becc] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [64f2becc] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [64f2becc] Fetching origin
DEBUG [64f2becc] From bitbucket.org:avanraven/infraplan
b094f9b..d755466 feature/predict_modeling -> feature/predict_modeling
INFO [64f2becc] Finished in 1.316 seconds with exit status 0 (successful).
DEBUG [2acb6515] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [2acb6515] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [2acb6515] Finished in 0.142 seconds with exit status 0 (successful).
INFO [76a91483] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211 as deploy@li1268-
184.members.linode.com
DEBUG [76a91483] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180514140211 )
INFO [76a91483] Finished in 0.148 seconds with exit status 0 (successful).
INFO [02fa4370] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180514140211
as deploy@li1268-184.members.linode.com
DEBUG [02fa4370] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180514140211 )
INFO [02fa4370] Finished in 0.429 seconds with exit status 0 (successful).
DEBUG [ffbd6080] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [ffbd6080] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [ffbd6080] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [734b3d72] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [734b3d72] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [734b3d72] d755466f4aa1fcec426406d13449bf7cca3fcdf4
DEBUG [734b3d72] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [60d893d6] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [60d893d6] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [60d893d6] Finished in 0.140 seconds with exit status 0 (successful).
INFO [59c3ab10] Running /usr/bin/env echo
"d755466f4aa1fcec426406d13449bf7cca3fcdf4" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [59c3ab10] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && /usr/bin/env echo
"d755466f4aa1fcec426406d13449bf7cca3fcdf4" >> REVISION
INFO [59c3ab10] Finished in 0.143 seconds with exit status 0 (successful).
INFO [d1f830d3] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211/config as deploy@li1268-
184.members.linode.com
DEBUG [d1f830d3] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211/config
INFO [d1f830d3] Finished in 0.138 seconds with exit status 0 (successful).
DEBUG [fa04018a] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [fa04018a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml ]
DEBUG [fa04018a] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [4db7166a] Running [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [4db7166a] Command: [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml ]
DEBUG [4db7166a] Finished in 0.161 seconds with exit status 1 (failed).
INFO [ca3cc1f0] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [ca3cc1f0] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/database.yml
INFO [ca3cc1f0] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [a166de5e] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [a166de5e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml ]
DEBUG [a166de5e] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [6629621b] Running [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [6629621b] Command: [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml ]
DEBUG [6629621b] Finished in 0.141 seconds with exit status 1 (failed).
INFO [d70e7a04] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [d70e7a04] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/secrets.yml
INFO [d70e7a04] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [0a321024] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0a321024] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml ]
DEBUG [0a321024] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [5cfb5caf] Running [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [5cfb5caf] Command: [ -f
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml ]
DEBUG [5cfb5caf] Finished in 0.137 seconds with exit status 1 (failed).
INFO [cbe82ab6] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [cbe82ab6] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180514140211/config/app_config.yml
INFO [cbe82ab6] Finished in 0.147 seconds with exit status 0 (successful).
INFO [4596a89a] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211
/home/deploy/infraplan_staging/releases/20180514140211/tmp
/home/deploy/infraplan_staging/releases/20180514140211/public as deploy@li1268-
184.members.linode.com
DEBUG [4596a89a] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211
/home/deploy/infraplan_staging/releases/20180514140211/tmp
/home/deploy/infraplan_staging/releases/20180514140211/public
INFO [4596a89a] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [e61e1f3a] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/log ] as deploy@li1268-
184.members.linode.com
DEBUG [e61e1f3a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/log ]
DEBUG [e61e1f3a] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [4bb8c4f8] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/log ] as deploy@li1268-
184.members.linode.com
DEBUG [4bb8c4f8] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/log ]
DEBUG [4bb8c4f8] Finished in 0.142 seconds with exit status 1 (failed).
INFO [071b3304] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180514140211/log as deploy@li1268-
184.members.linode.com
DEBUG [071b3304] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180514140211/log
INFO [071b3304] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [590a627a] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [590a627a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids ]
DEBUG [590a627a] Finished in 0.147 seconds with exit status 1 (failed).
DEBUG [c27d4a51] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [c27d4a51] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids ]
DEBUG [c27d4a51] Finished in 0.142 seconds with exit status 1 (failed).
INFO [51325c51] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [51325c51] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180514140211/tmp/pids
INFO [51325c51] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [1f19e259] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [1f19e259] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache ]
DEBUG [1f19e259] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [1c4ec130] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [1c4ec130] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache ]
DEBUG [1c4ec130] Finished in 0.142 seconds with exit status 1 (failed).
INFO [82eee028] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [82eee028] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180514140211/tmp/cache
INFO [82eee028] Finished in 0.137 seconds with exit status 0 (successful).
DEBUG [127b5931] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [127b5931] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets ]
DEBUG [127b5931] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [1a0698e6] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [1a0698e6] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets ]
DEBUG [1a0698e6] Finished in 0.145 seconds with exit status 1 (failed).
INFO [b17dee00] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [b17dee00] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180514140211/tmp/sockets
INFO [b17dee00] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [2957c5ce] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [2957c5ce] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/public/system ]
DEBUG [2957c5ce] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [32916b31] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [32916b31] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/public/system ]
DEBUG [32916b31] Finished in 0.137 seconds with exit status 1 (failed).
INFO [286eba6f] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180514140211/public/system as
deploy@li1268-184.members.linode.com
DEBUG [286eba6f] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180514140211/public/system
INFO [286eba6f] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [2d9ec207] Running [ -L
/home/deploy/infraplan_staging/releases/20180514140211/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [2d9ec207] Command: [ -L
/home/deploy/infraplan_staging/releases/20180514140211/public/assets ]
DEBUG [2d9ec207] Finished in 0.142 seconds with exit status 1 (failed).
DEBUG [c2de6735] Running [ -d
/home/deploy/infraplan_staging/releases/20180514140211/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [c2de6735] Command: [ -d
/home/deploy/infraplan_staging/releases/20180514140211/public/assets ]
DEBUG [c2de6735] Finished in 0.141 seconds with exit status 0 (successful).
INFO [7774aeaf] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180514140211/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [7774aeaf] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180514140211/public/assets
INFO [7774aeaf] Finished in 0.153 seconds with exit status 0 (successful).
INFO [083df8fe] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180514140211/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [083df8fe] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180514140211/public/assets
INFO [083df8fe] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [2ab08dc6] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [2ab08dc6] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [2ab08dc6] Finished in 0.143 seconds with exit status 0 (successful).
INFO [af34383e] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [af34383e] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [af34383e] Finished in 1.610 seconds with exit status 0 (successful).
DEBUG [3e6ff76b] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [3e6ff76b] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [3e6ff76b] Finished in 0.139 seconds with exit status 0 (successful).
INFO [7dc59210] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [7dc59210] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [7dc59210] Finished in 4.186 seconds with exit status 0 (successful).
DEBUG [5aa7e779] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [5aa7e779] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [5aa7e779] Finished in 0.139 seconds with exit status 0 (successful).
INFO [c7a26581] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [c7a26581] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180514140211/assets_manifest_backup
INFO [c7a26581] Finished in 0.147 seconds with exit status 0 (successful).
DEBUG [9262a32e] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [9262a32e] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest*
DEBUG [9262a32e]
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [9262a32e] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [7a85d0dd] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [7a85d0dd] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest*
DEBUG [7a85d0dd]
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [7a85d0dd] Finished in 0.141 seconds with exit status 0 (successful).
INFO [1d0838fa] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180514140211/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [1d0838fa] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180514140211/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180514140211/assets_manifest_backup
INFO [1d0838fa] Finished in 0.147 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [715aaffc] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [715aaffc] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [715aaffc] Finished in 0.139 seconds with exit status 0 (successful).
INFO [64ec6025] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [64ec6025] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [64ec6025] == 20180514114311 AddJsonFieldsToPredictModel: migrating
======================
DEBUG [64ec6025]
DEBUG [64ec6025] -- add_column(:predict_models, :model_one, "json")
DEBUG [64ec6025]
DEBUG [64ec6025] -> 0.0252s
DEBUG [64ec6025]
DEBUG [64ec6025] -- add_column(:predict_models, :model_two, "json")
DEBUG [64ec6025]
DEBUG [64ec6025] -> 0.0103s
DEBUG [64ec6025]
DEBUG [64ec6025] -- add_column(:predict_models, :as_is_table, "json")
DEBUG [64ec6025]
DEBUG [64ec6025] -> 0.0107s
DEBUG [64ec6025]
DEBUG [64ec6025] == 20180514114311 AddJsonFieldsToPredictModel: migrated
(0.0469s) =============
DEBUG [64ec6025]
DEBUG [64ec6025]
INFO [64ec6025] Finished in 3.757 seconds with exit status 0 (successful).
INFO [698a630d] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180514140211
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [698a630d] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180514140211
/home/deploy/infraplan_staging/releases/current
INFO [698a630d] Finished in 0.149 seconds with exit status 0 (successful).
INFO [c456e273] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [c456e273] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [c456e273] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [06683e41] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [06683e41] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180514140211; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180514140211'" 1>&2; false; fi
DEBUG [06683e41] Finished in 0.143 seconds with exit status 0 (successful).
INFO [3f474362] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [3f474362] Command: cd
/home/deploy/infraplan_staging/releases/20180514140211 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [3f474362]
/home/deploy/infraplan_staging/releases/20180514140211/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [3f474362] delayed_job: trying to stop process with pid 6382...
DEBUG [3f474362]
DEBUG [3f474362] delayed_job: process with pid 6382 successfully stopped.
DEBUG [3f474362] delayed_job: process with pid 25075 started.
INFO [3f474362] Finished in 5.445 seconds with exit status 0 (successful).
DEBUG [ecec24cb] Running /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases as deploy@li1268-184.members.linode.com
DEBUG [ecec24cb] Command: /usr/bin/env ls -x
/home/deploy/infraplan_staging/releases
DEBUG [ecec24cb] 20180427144035 20180503045648 20180503050008
20180503050932 20180503051009
20180514140211
DEBUG [ecec24cb] Finished in 0.138 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on li1268-184.members.linode.com
DEBUG [e9748af5] Running [ -d /home/deploy/infraplan_staging/current ] as
deploy@li1268-184.members.linode.com
DEBUG [e9748af5] Command: [ -d /home/deploy/infraplan_staging/current ]
DEBUG [e9748af5] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [42a967dc] Running /usr/bin/env readlink
/home/deploy/infraplan_staging/current as deploy@li1268-184.members.linode.com
DEBUG [42a967dc] Command: /usr/bin/env readlink
/home/deploy/infraplan_staging/current
DEBUG [42a967dc] /home/deploy/infraplan_staging/releases/20180514140211
DEBUG [42a967dc] Finished in 0.142 seconds with exit status 0 (successful).
INFO [73d9a215] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180427144035 as deploy@li1268-
184.members.linode.com
DEBUG [73d9a215] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180427144035
INFO [73d9a215] Finished in 0.214 seconds with exit status 0 (successful).
DEBUG [67aeaa70] Running if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi as deploy@li1268-184.members.linode.com
DEBUG [67aeaa70] Command: if test ! -d /home/deploy/infraplan_staging/releases;
then echo "Directory does not exist '/home/deploy/infraplan_staging/releases'"
1>&2; false; fi
DEBUG [67aeaa70] Finished in 0.143 seconds with exit status 0 (successful).
INFO [43a00a53] Running /usr/bin/env echo "Branch feature/predict_modeling (at
d755466f4aa1fcec426406d13449bf7cca3fcdf4) deployed as release 20180514140211 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log as deploy@li1268-
184.members.linode.com
DEBUG [43a00a53] Command: cd /home/deploy/infraplan_staging/releases &&
/usr/bin/env echo "Branch feature/predict_modeling (at
d755466f4aa1fcec426406d13449bf7cca3fcdf4) deployed as release 20180514140211 by
Rahul" >> /home/deploy/infraplan_staging/revisions.log
INFO [43a00a53] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [f4bf0b2b] Running if test ! -d /home/deploy/infraplan_staging/current; then
echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi as deploy@li1268-184.members.linode.com
DEBUG [f4bf0b2b] Command: if test ! -d /home/deploy/infraplan_staging/current;
then echo "Directory does not exist '/home/deploy/infraplan_staging/current'" 1>&2;
false; fi
DEBUG [f4bf0b2b] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [0028cae0] Running [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ] as deploy@li1268-
184.members.linode.com
DEBUG [0028cae0] Command: [ -f
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ]
DEBUG [0028cae0] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG [3b2c2829] Running /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) as deploy@li1268-
184.members.linode.com
DEBUG [3b2c2829] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; /usr/bin/env kill -0 $( cat
/home/deploy/infraplan_staging/shared/tmp/pids/puma.pid ) )
DEBUG [3b2c2829] Finished in 0.148 seconds with exit status 0 (successful).
INFO [a3709cfd] Running ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart as deploy@li1268-
184.members.linode.com
DEBUG [a3709cfd] Command: cd /home/deploy/infraplan_staging/current && ( export
RACK_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec pumactl -S
/home/deploy/infraplan_staging/shared/tmp/pids/puma.state -F
/home/deploy/infraplan_staging/shared/puma.rb restart )
DEBUG [a3709cfd] Command restart sent success
DEBUG [a3709cfd]
INFO [a3709cfd] Finished in 1.014 seconds with exit status 0 (successful).
INFO ---------------------------------------------------------------------------
INFO START 2018-05-31 11:08:28 -0400 cap staging deploy
BRANCH=feature/predict_modeling
INFO ---------------------------------------------------------------------------
DEBUG [43b0fd16] Running [ -d ~/.rvm ] as deploy@li1268-184.members.linode.com
DEBUG [43b0fd16] Command: [ -d ~/.rvm ]
DEBUG [43b0fd16] Finished in 0.785 seconds with exit status 0 (successful).
DEBUG [90c3f8f8] Running ~/.rvm/bin/rvm version as deploy@li1268-
184.members.linode.com
DEBUG [90c3f8f8] Command: ~/.rvm/bin/rvm version
DEBUG [90c3f8f8] rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne
E. Seguin [https://rvm.io]
DEBUG [90c3f8f8] Finished in 0.476 seconds with exit status 0 (successful).
DEBUG [8e680c55] Running ~/.rvm/bin/rvm current as deploy@li1268-
184.members.linode.com
DEBUG [8e680c55] Command: ~/.rvm/bin/rvm current
DEBUG [8e680c55] ruby-2.3.4
DEBUG [8e680c55] Finished in 0.347 seconds with exit status 0 (successful).
DEBUG [1be9efad] Running ~/.rvm/bin/rvm default do ruby --version as
deploy@li1268-184.members.linode.com
DEBUG [1be9efad] Command: ~/.rvm/bin/rvm default do ruby --version
DEBUG [1be9efad] ruby 2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
DEBUG [1be9efad] Finished in 0.540 seconds with exit status 0 (successful).
INFO [88e668ca] Running /usr/bin/env mkdir -p /tmp as deploy@li1268-
184.members.linode.com
DEBUG [88e668ca] Command: /usr/bin/env mkdir -p /tmp
INFO [88e668ca] Finished in 0.146 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 0.0%
INFO Uploading /tmp/git-ssh-infraplan-staging-Rahul.sh 100.0%
INFO [f76bf4ac] Running /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh as deploy@li1268-184.members.linode.com
DEBUG [f76bf4ac] Command: /usr/bin/env chmod 700 /tmp/git-ssh-infraplan-staging-
Rahul.sh
INFO [f76bf4ac] Finished in 0.142 seconds with exit status 0 (successful).
INFO [76154acc] Running /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD as deploy@li1268-
184.members.linode.com
DEBUG [76154acc] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-
infraplan-staging-Rahul.sh" ; /usr/bin/env git ls-remote
git@bitbucket.org:avanraven/infraplan.git HEAD )
DEBUG [76154acc] 8a48e9e40d690e1f732f25f99c87d7acdded1997 HEAD
INFO [76154acc] Finished in 1.941 seconds with exit status 0 (successful).
INFO [4be79420] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases as
deploy@li1268-184.members.linode.com
DEBUG [4be79420] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared /home/deploy/infraplan_staging/releases
INFO [4be79420] Finished in 0.141 seconds with exit status 0 (successful).
INFO [7339133e] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets as deploy@li1268-
184.members.linode.com
DEBUG [7339133e] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/shared/public/assets
INFO [7339133e] Finished in 0.140 seconds with exit status 0 (successful).
INFO [065ee027] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config as deploy@li1268-
184.members.linode.com
DEBUG [065ee027] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/shared/config
INFO [065ee027] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [2857edb7] Running [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [2857edb7] Command: [ -f
/home/deploy/infraplan_staging/shared/config/database.yml ]
DEBUG [2857edb7] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [0c3e4593] Running [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [0c3e4593] Command: [ -f
/home/deploy/infraplan_staging/shared/config/secrets.yml ]
DEBUG [0c3e4593] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5355fe4d] Running [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ] as deploy@li1268-
184.members.linode.com
DEBUG [5355fe4d] Command: [ -f
/home/deploy/infraplan_staging/shared/config/app_config.yml ]
DEBUG [5355fe4d] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [1398565b] Running [ -f /home/deploy/infraplan_staging/shared/puma.rb ] as
deploy@li1268-184.members.linode.com
DEBUG [1398565b] Command: [ -f /home/deploy/infraplan_staging/shared/puma.rb ]
DEBUG [1398565b] Finished in 0.139 seconds with exit status 0 (successful).
DEBUG [d5ab9c81] Running [ -f /home/deploy/infraplan_staging/current/REVISION ] as
deploy@li1268-184.members.linode.com
DEBUG [d5ab9c81] Command: [ -f /home/deploy/infraplan_staging/current/REVISION ]
DEBUG [d5ab9c81] Finished in 0.198 seconds with exit status 0 (successful).
DEBUG [86b46dab] Running /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null as deploy@li1268-
184.members.linode.com
DEBUG [86b46dab] Command: /usr/bin/env cat
/home/deploy/infraplan_staging/current/REVISION 2>/dev/null
DEBUG [86b46dab] d755466f4aa1fcec426406d13449bf7cca3fcdf4
DEBUG [86b46dab] Finished in 0.198 seconds with exit status 0 (successful).
DEBUG [40dc458f] Running [ -f /home/deploy/infraplan_staging/repo/HEAD ] as
deploy@li1268-184.members.linode.com
DEBUG [40dc458f] Command: [ -f /home/deploy/infraplan_staging/repo/HEAD ]
DEBUG [40dc458f] Finished in 0.140 seconds with exit status 0 (successful).
INFO The repository mirror is at /home/deploy/infraplan_staging/repo
DEBUG [bc1fd09f] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [bc1fd09f] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [bc1fd09f] Finished in 0.138 seconds with exit status 0 (successful).
INFO [99477e57] Running /usr/bin/env git remote set-url origin
git@bitbucket.org:avanraven/infraplan.git as deploy@li1268-184.members.linode.com
DEBUG [99477e57] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote set-url origin git@bitbucket.org:avanraven/infraplan.git )
INFO [99477e57] Finished in 0.220 seconds with exit status 0 (successful).
INFO [f91711ef] Running /usr/bin/env git remote update --prune as deploy@li1268-
184.members.linode.com
DEBUG [f91711ef] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git remote update --prune )
DEBUG [f91711ef] Fetching origin
DEBUG [f91711ef] From bitbucket.org:avanraven/infraplan
d755466..4f91b04 feature/predict_modeling -> feature/predict_modeling
INFO [f91711ef] Finished in 4.897 seconds with exit status 0 (successful).
DEBUG [5934e330] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [5934e330] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [5934e330] Finished in 0.140 seconds with exit status 0 (successful).
INFO [1a95f4c1] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834 as deploy@li1268-
184.members.linode.com
DEBUG [1a95f4c1] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env mkdir -p /home/deploy/infraplan_staging/releases/20180531150834 )
INFO [1a95f4c1] Finished in 0.142 seconds with exit status 0 (successful).
INFO [e2410b59] Running /usr/bin/env git archive feature/predict_modeling |
/usr/bin/env tar -x -f - -C /home/deploy/infraplan_staging/releases/20180531150834
as deploy@li1268-184.members.linode.com
DEBUG [e2410b59] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git archive feature/predict_modeling | /usr/bin/env tar -x -f - -C
/home/deploy/infraplan_staging/releases/20180531150834 )
INFO [e2410b59] Finished in 0.422 seconds with exit status 0 (successful).
DEBUG [38219d50] Running if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi as deploy@li1268-184.members.linode.com
DEBUG [38219d50] Command: if test ! -d /home/deploy/infraplan_staging/repo; then
echo "Directory does not exist '/home/deploy/infraplan_staging/repo'" 1>&2; false;
fi
DEBUG [38219d50] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [c5af015e] Running /usr/bin/env git rev-list --max-count=1
feature/predict_modeling as deploy@li1268-184.members.linode.com
DEBUG [c5af015e] Command: cd /home/deploy/infraplan_staging/repo && ( export
GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/git-ssh-infraplan-staging-Rahul.sh" ;
/usr/bin/env git rev-list --max-count=1 feature/predict_modeling )
DEBUG [c5af015e] 4f91b04a275f4889a16b5e951a052f70b300bd1c
DEBUG [c5af015e] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [4be125ab] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [4be125ab] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [4be125ab] Finished in 0.141 seconds with exit status 0 (successful).
INFO [1fcac050] Running /usr/bin/env echo
"4f91b04a275f4889a16b5e951a052f70b300bd1c" >> REVISION as deploy@li1268-
184.members.linode.com
DEBUG [1fcac050] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && /usr/bin/env echo
"4f91b04a275f4889a16b5e951a052f70b300bd1c" >> REVISION
INFO [1fcac050] Finished in 0.142 seconds with exit status 0 (successful).
INFO [74dc3434] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834/config as deploy@li1268-
184.members.linode.com
DEBUG [74dc3434] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834/config
INFO [74dc3434] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [5de6135a] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [5de6135a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml ]
DEBUG [5de6135a] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [dbcf06a7] Running [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [dbcf06a7] Command: [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml ]
DEBUG [dbcf06a7] Finished in 0.143 seconds with exit status 1 (failed).
INFO [7c6ec3a3] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml as
deploy@li1268-184.members.linode.com
DEBUG [7c6ec3a3] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/database.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/database.yml
INFO [7c6ec3a3] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [e9a0a6ba] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [e9a0a6ba] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml ]
DEBUG [e9a0a6ba] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [0ba0c498] Running [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [0ba0c498] Command: [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml ]
DEBUG [0ba0c498] Finished in 0.151 seconds with exit status 1 (failed).
INFO [25a4d966] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml as
deploy@li1268-184.members.linode.com
DEBUG [25a4d966] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/secrets.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/secrets.yml
INFO [25a4d966] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [7a94322b] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [7a94322b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml ]
DEBUG [7a94322b] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [ced2b59b] Running [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml ] as
deploy@li1268-184.members.linode.com
DEBUG [ced2b59b] Command: [ -f
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml ]
DEBUG [ced2b59b] Finished in 0.141 seconds with exit status 1 (failed).
INFO [61576ecc] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml as
deploy@li1268-184.members.linode.com
DEBUG [61576ecc] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/config/app_config.yml
/home/deploy/infraplan_staging/releases/20180531150834/config/app_config.yml
INFO [61576ecc] Finished in 0.142 seconds with exit status 0 (successful).
INFO [534b5b0b] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834
/home/deploy/infraplan_staging/releases/20180531150834/tmp
/home/deploy/infraplan_staging/releases/20180531150834/public as deploy@li1268-
184.members.linode.com
DEBUG [534b5b0b] Command: /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834
/home/deploy/infraplan_staging/releases/20180531150834/tmp
/home/deploy/infraplan_staging/releases/20180531150834/public
INFO [534b5b0b] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [bc6538eb] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/log ] as deploy@li1268-
184.members.linode.com
DEBUG [bc6538eb] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/log ]
DEBUG [bc6538eb] Finished in 0.144 seconds with exit status 1 (failed).
DEBUG [05c4c60c] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/log ] as deploy@li1268-
184.members.linode.com
DEBUG [05c4c60c] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/log ]
DEBUG [05c4c60c] Finished in 0.140 seconds with exit status 1 (failed).
INFO [6195dd6a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180531150834/log as deploy@li1268-
184.members.linode.com
DEBUG [6195dd6a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/log
/home/deploy/infraplan_staging/releases/20180531150834/log
INFO [6195dd6a] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [4d0bce5b] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [4d0bce5b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids ]
DEBUG [4d0bce5b] Finished in 0.143 seconds with exit status 1 (failed).
DEBUG [cb7521b4] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids ] as deploy@li1268-
184.members.linode.com
DEBUG [cb7521b4] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids ]
DEBUG [cb7521b4] Finished in 0.141 seconds with exit status 1 (failed).
INFO [e50c6a7f] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids as deploy@li1268-
184.members.linode.com
DEBUG [e50c6a7f] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/pids
/home/deploy/infraplan_staging/releases/20180531150834/tmp/pids
INFO [e50c6a7f] Finished in 0.140 seconds with exit status 0 (successful).
DEBUG [7509b5fc] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [7509b5fc] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache ]
DEBUG [7509b5fc] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [14fde01b] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache ] as
deploy@li1268-184.members.linode.com
DEBUG [14fde01b] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache ]
DEBUG [14fde01b] Finished in 0.142 seconds with exit status 1 (failed).
INFO [ee7a3e20] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache as deploy@li1268-
184.members.linode.com
DEBUG [ee7a3e20] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/cache
/home/deploy/infraplan_staging/releases/20180531150834/tmp/cache
INFO [ee7a3e20] Finished in 0.141 seconds with exit status 0 (successful).
DEBUG [9ec2c84e] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [9ec2c84e] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets ]
DEBUG [9ec2c84e] Finished in 0.141 seconds with exit status 1 (failed).
DEBUG [c0d551b7] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets ] as
deploy@li1268-184.members.linode.com
DEBUG [c0d551b7] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets ]
DEBUG [c0d551b7] Finished in 0.143 seconds with exit status 1 (failed).
INFO [88d3f764] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets as
deploy@li1268-184.members.linode.com
DEBUG [88d3f764] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/tmp/sockets
/home/deploy/infraplan_staging/releases/20180531150834/tmp/sockets
INFO [88d3f764] Finished in 0.151 seconds with exit status 0 (successful).
DEBUG [4afad48b] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [4afad48b] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/public/system ]
DEBUG [4afad48b] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [607024b3] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/public/system ] as
deploy@li1268-184.members.linode.com
DEBUG [607024b3] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/public/system ]
DEBUG [607024b3] Finished in 0.139 seconds with exit status 1 (failed).
INFO [da8629fe] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180531150834/public/system as
deploy@li1268-184.members.linode.com
DEBUG [da8629fe] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/system
/home/deploy/infraplan_staging/releases/20180531150834/public/system
INFO [da8629fe] Finished in 0.144 seconds with exit status 0 (successful).
DEBUG [0477df9a] Running [ -L
/home/deploy/infraplan_staging/releases/20180531150834/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [0477df9a] Command: [ -L
/home/deploy/infraplan_staging/releases/20180531150834/public/assets ]
DEBUG [0477df9a] Finished in 0.140 seconds with exit status 1 (failed).
DEBUG [100e0c23] Running [ -d
/home/deploy/infraplan_staging/releases/20180531150834/public/assets ] as
deploy@li1268-184.members.linode.com
DEBUG [100e0c23] Command: [ -d
/home/deploy/infraplan_staging/releases/20180531150834/public/assets ]
DEBUG [100e0c23] Finished in 0.138 seconds with exit status 0 (successful).
INFO [932a935d] Running /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180531150834/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [932a935d] Command: /usr/bin/env rm -rf
/home/deploy/infraplan_staging/releases/20180531150834/public/assets
INFO [932a935d] Finished in 0.153 seconds with exit status 0 (successful).
INFO [fdebd14a] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180531150834/public/assets as
deploy@li1268-184.members.linode.com
DEBUG [fdebd14a] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/shared/public/assets
/home/deploy/infraplan_staging/releases/20180531150834/public/assets
INFO [fdebd14a] Finished in 0.143 seconds with exit status 0 (successful).
DEBUG [630bd67c] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [630bd67c] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [630bd67c] Finished in 0.140 seconds with exit status 0 (successful).
INFO [d2fb52dd] Running ~/.rvm/bin/rvm default do bundle install --path
/home/deploy/infraplan_staging/shared/bundle --without development test
--deployment --quiet as deploy@li1268-184.members.linode.com
DEBUG [d2fb52dd] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && ~/.rvm/bin/rvm default do
bundle install --path /home/deploy/infraplan_staging/shared/bundle --without
development test --deployment --quiet
INFO [d2fb52dd] Finished in 5.891 seconds with exit status 0 (successful).
DEBUG [f7237582] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f7237582] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [f7237582] Finished in 0.144 seconds with exit status 0 (successful).
INFO [66e8c011] Running ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile as deploy@li1268-184.members.linode.com
DEBUG [66e8c011] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && ( export
RAILS_ENV="staging" RAILS_GROUPS="" ; ~/.rvm/bin/rvm default do bundle exec rake
assets:precompile )
INFO [66e8c011] Finished in 67.990 seconds with exit status 0 (successful).
DEBUG [f1452805] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [f1452805] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [f1452805] Finished in 0.160 seconds with exit status 0 (successful).
INFO [15d92467] Running /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [15d92467] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && /usr/bin/env mkdir -p
/home/deploy/infraplan_staging/releases/20180531150834/assets_manifest_backup
INFO [15d92467] Finished in 0.155 seconds with exit status 0 (successful).
DEBUG [c16d635f] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [c16d635f] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest*
DEBUG [c16d635f]
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [c16d635f] Finished in 0.148 seconds with exit status 0 (successful).
DEBUG [dd2aa9d6] Running /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest* as deploy@li1268-184.members.linode.com
DEBUG [dd2aa9d6] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && /usr/bin/env ls
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest*
DEBUG [dd2aa9d6]
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprocke
ts-manifest-96acf77e949c5bb55bf0a2807d1185a9.json
DEBUG [dd2aa9d6] Finished in 0.143 seconds with exit status 0 (successful).
INFO [610b2ada] Running /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180531150834/assets_manifest_backup as
deploy@li1268-184.members.linode.com
DEBUG [610b2ada] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && /usr/bin/env cp
/home/deploy/infraplan_staging/releases/20180531150834/public/assets/.sprockets-
manifest-96acf77e949c5bb55bf0a2807d1185a9.json
/home/deploy/infraplan_staging/releases/20180531150834/assets_manifest_backup
INFO [610b2ada] Finished in 0.150 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [8e343170] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [8e343170] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [8e343170] Finished in 0.140 seconds with exit status 0 (successful).
INFO [3edd7a90] Running ~/.rvm/bin/rvm default do bundle exec rake db:migrate as
deploy@li1268-184.members.linode.com
DEBUG [3edd7a90] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec rake db:migrate )
DEBUG [3edd7a90] == 20180519224315 CreateInventories: migrating
================================
DEBUG [3edd7a90]
DEBUG [3edd7a90] -- create_table(:inventories)
DEBUG [3edd7a90]
DEBUG [3edd7a90] -> 0.0773s
DEBUG [3edd7a90]
DEBUG [3edd7a90] == 20180519224315 CreateInventories: migrated (0.0777s)
=======================
DEBUG [3edd7a90]
DEBUG [3edd7a90]
INFO [3edd7a90] Finished in 6.077 seconds with exit status 0 (successful).
INFO [57e985be] Running /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180531150834
/home/deploy/infraplan_staging/releases/current as deploy@li1268-
184.members.linode.com
DEBUG [57e985be] Command: /usr/bin/env ln -s
/home/deploy/infraplan_staging/releases/20180531150834
/home/deploy/infraplan_staging/releases/current
INFO [57e985be] Finished in 0.144 seconds with exit status 0 (successful).
INFO [44e4eda6] Running /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging as
deploy@li1268-184.members.linode.com
DEBUG [44e4eda6] Command: /usr/bin/env mv
/home/deploy/infraplan_staging/releases/current /home/deploy/infraplan_staging
INFO [44e4eda6] Finished in 0.142 seconds with exit status 0 (successful).
DEBUG [03ca88b5] Running if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
as deploy@li1268-184.members.linode.com
DEBUG [03ca88b5] Command: if test ! -d
/home/deploy/infraplan_staging/releases/20180531150834; then echo "Directory does
not exist '/home/deploy/infraplan_staging/releases/20180531150834'" 1>&2; false; fi
DEBUG [03ca88b5] Finished in 0.139 seconds with exit status 0 (successful).
INFO [639320ca] Running ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart as deploy@li1268-184.members.linode.com
DEBUG [639320ca] Command: cd
/home/deploy/infraplan_staging/releases/20180531150834 && ( export
RAILS_ENV="staging" ; ~/.rvm/bin/rvm default do bundle exec bin/delayed_job
restart )
DEBUG [639320ca]
/home/deploy/infraplan_staging/releases/20180531150834/app/controllers/predic
t_csv_controller.rb:64: warning: found = in conditional, should be ==
DEBUG [639320ca] bundler: failed to load command: bin/delayed_job
(bin/delayed_job)
DEBUG [639320ca] RuntimeError: Don't know how to build task
'Inventory::generate' (see --tasks)
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/lib/rake/task_manager.rb:59:in `[]'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/rake-
12.3.0/lib/rake/task.rb:362:in `[]'

/home/deploy/infraplan_staging/releases/20180531150834/app/models/inventory.rb:16:i
n `block (2 levels) in <class:Inventory>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/dsl_helper.rb:26:in `instance_eval'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/dsl_helper.rb:26:in `add_options_from_dsl'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/core/event.rb:17:in `initialize'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/state_machine.rb:35:in `new'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/state_machine.rb:35:in `add_event'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/base.rb:115:in `event'

/home/deploy/infraplan_staging/releases/20180531150834/app/models/inventory.rb:15:i
n `block in <class:Inventory>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/aasm.rb:62:in `instance_eval'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/aasm-
4.12.3/lib/aasm/aasm.rb:62:in `aasm'

/home/deploy/infraplan_staging/releases/20180531150834/app/models/inventory.rb:9:in
`<class:Inventory>'

/home/deploy/infraplan_staging/releases/20180531150834/app/models/inventory.rb:3:in
`<top (required)>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:274:in `require'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:360:in `require_or_load'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:317:in `depend_on'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/activesupport-
4.2.4/lib/active_support/dependencies.rb:233:in `require_dependency'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:471:in `block in eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:469:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/engine.rb:346:in `eager_load!'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `instance_exec'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:30:in `run'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:55:in `block in run_initializers'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:228:in `block in
tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:350:in `block (2
levels) in each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:431:in
`each_strongly_connected_component_from'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:349:in `block in
each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in `call'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:347:in
`each_strongly_connected_component'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/home/deploy/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/initializable.rb:54:in `run_initializers'
/home/deploy/infraplan_staging/shared/bundle/ruby/2.3.0/gems/railties-
4.2.4/lib/rails/application.rb:352:in `initialize!'
/home/deploy/infraplan_staging/releases/20180531150834/config/environment.rb:5:in
`<top (required)>'
bin/delayed_job:3:in `require'
bin/delayed_job:3:in `<top (required)>'
DEBUG [639320ca]

Вам также может понравиться