Академический Документы
Профессиональный Документы
Культура Документы
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.
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]