Skip to content

Instantly share code, notes, and snippets.

@tpendragon
Last active January 23, 2017 18:57
Show Gist options
  • Save tpendragon/9cbe2b1a49c04d40925dcc14029704ff to your computer and use it in GitHub Desktop.
Save tpendragon/9cbe2b1a49c04d40925dcc14029704ff to your computer and use it in GitHub Desktop.
Heaven number 24182773 for pulibrary/plum
From https://github.com/pulibrary/plum
13ce1b3..1c412b2 migrate-state -> origin/migrate-state
HEAD is now at 1c412b2 Improve Solr query, handle Geo workflow items correctly
INFO [1375d5d7] Running /usr/bin/env mkdir -p /tmp/plum/ as deploy@hydra-dev
DEBUG [1375d5d7] Command: /usr/bin/env mkdir -p /tmp/plum/
INFO [1375d5d7] Finished in 5.575 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/plum/git-ssh.sh 0.0%
INFO Uploading /tmp/plum/git-ssh.sh 100.0%
INFO [9385bf07] Running /usr/bin/env chmod +x /tmp/plum/git-ssh.sh as deploy@hydra-dev
DEBUG [9385bf07] Command: /usr/bin/env chmod +x /tmp/plum/git-ssh.sh
INFO [9385bf07] Finished in 0.019 seconds with exit status 0 (successful).
INFO [2ee07100] Running /usr/bin/env git ls-remote --heads https://github.com/pulibrary/plum.git as deploy@hydra-dev
DEBUG [2ee07100] Command: ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/plum/git-ssh.sh" ; /usr/bin/env git ls-remote --heads https://github.com/pulibrary/plum.git )
DEBUG [2ee07100] 2f428570804ed1cc001ad7e33d7bb7805320dcdc refs/heads/859-geoserver-docker
8e2bed14d6f1c13dec6d7eb55820a3ea7e569d7f refs/heads/920-cc-2-0
66da514574d55cd028628e22add82298f5affee9 refs/heads/AT11
cc3e926cd66b921cd538ece2a257a37905399e01 refs/heads/fix_rabbit
41fb11dc451adf32436a6a47a6effcd8a194e0e0 refs/heads/fulltext_work
a0b64d4e27c38e1730fb69512fbac4e629825d6a refs/heads/geo_concerns_jobs
aec537b62a2b08dba570fb4223463060ee704f59 refs/heads/hack_fedora_connection
90fc6ad048b54de5c9a4138de26d8f15f8283fad refs/heads/master
1c412b211baf91d8c5d0165baf87b1039b4e813d refs/heads/migrate-state
a44b3061058c95e8eb622ffbec18c8105ef36a4b refs/heads/remove_attach_file
276dada24eb2d029e2767a2ce29178c6c5f6cbaa refs/heads/reorder_pages
92b0bb6250fab1c00fcdbc5915f2f6accda6d40d refs/heads/token_auth
02a9dfe0018c11894192ded75e34f5fb4173efd9 refs/heads/welcome-refactor
41baf20ed02505b64b13a7f0d045a1bed7726081 refs/heads/wide-open
INFO [2ee07100] Finished in 0.381 seconds with exit status 0 (successful).
INFO [5f8c5058] Running /usr/bin/env mkdir -p /opt/plum/shared /opt/plum/releases as deploy@hydra-dev
DEBUG [5f8c5058] Command: /usr/bin/env mkdir -p /opt/plum/shared /opt/plum/releases
INFO [5f8c5058] Finished in 0.012 seconds with exit status 0 (successful).
INFO [45bcbc2f] Running /usr/bin/env mkdir -p /opt/plum/shared/public/assets /opt/plum/shared/log /opt/plum/shared/tmp/derivatives /opt/plum/shared/tmp/geo-derivatives /opt/plum/shared/tmp/uploads /opt/plum/shared/vendor/bundle /opt/plum/shared/staged_files as deploy@hydra-dev
DEBUG [45bcbc2f] Command: /usr/bin/env mkdir -p /opt/plum/shared/public/assets /opt/plum/shared/log /opt/plum/shared/tmp/derivatives /opt/plum/shared/tmp/geo-derivatives /opt/plum/shared/tmp/uploads /opt/plum/shared/vendor/bundle /opt/plum/shared/staged_files
INFO [45bcbc2f] Finished in 0.015 seconds with exit status 0 (successful).
DEBUG [5c9c002c] Running /usr/bin/env [ -f /opt/plum/current/REVISION ] as deploy@hydra-dev
DEBUG [5c9c002c] Command: [ -f /opt/plum/current/REVISION ]
DEBUG [5c9c002c] Finished in 0.011 seconds with exit status 0 (successful).
DEBUG [fafef222] Running /usr/bin/env cat /opt/plum/current/REVISION 2>/dev/null as deploy@hydra-dev
DEBUG [fafef222] Command: /usr/bin/env cat /opt/plum/current/REVISION 2>/dev/null
DEBUG [fafef222] 8ac0e45
DEBUG [fafef222] Finished in 0.012 seconds with exit status 0 (successful).
DEBUG [73395b01] Running /usr/bin/env kill -USR1 $(sudo initctl status plum-workers | grep /running | awk '{print $NF}') || : as deploy@hydra-dev
DEBUG [73395b01] Command: kill -USR1 $(sudo initctl status plum-workers | grep /running | awk '{print $NF}') || :
DEBUG [73395b01] Finished in 0.071 seconds with exit status 0 (successful).
DEBUG [e3d6b348] Running /usr/bin/env [ -f /opt/plum/repo/HEAD ] as deploy@hydra-dev
DEBUG [e3d6b348] Command: [ -f /opt/plum/repo/HEAD ]
DEBUG [e3d6b348] Finished in 0.008 seconds with exit status 0 (successful).
INFO The repository mirror is at /opt/plum/repo
DEBUG [5b6a9f17] Running /usr/bin/env if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [5b6a9f17] Command: if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi
DEBUG [5b6a9f17] Finished in 0.007 seconds with exit status 0 (successful).
INFO [cf6d2520] Running /usr/bin/env git remote update as deploy@hydra-dev
DEBUG [cf6d2520] Command: cd /opt/plum/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/plum/git-ssh.sh" ; /usr/bin/env git remote update )
DEBUG [cf6d2520] Fetching origin
DEBUG [cf6d2520] From https://github.com/pulibrary/plum
f72e4bf..90fc6ad master -> master
DEBUG [cf6d2520] 13ce1b3..1c412b2 migrate-state -> migrate-state
DEBUG [cf6d2520] + bbd2966...3a8d91b refs/pull/927/merge -> refs/pull/927/merge (forced update)
DEBUG [cf6d2520] + 0453a75...1638cb3 refs/pull/943/merge -> refs/pull/943/merge (forced update)
DEBUG [cf6d2520] 13ce1b3..1c412b2 refs/pull/956/head -> refs/pull/956/head
DEBUG [cf6d2520] + 21ffff3...904f803 refs/pull/956/merge -> refs/pull/956/merge (forced update)
DEBUG [cf6d2520] * [new ref] refs/pull/970/head -> refs/pull/970/head
DEBUG [cf6d2520] * [new ref] refs/pull/971/head -> refs/pull/971/head
INFO [cf6d2520] Finished in 1.956 seconds with exit status 0 (successful).
DEBUG [f89ce858] Running /usr/bin/env if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [f89ce858] Command: if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi
DEBUG [f89ce858] Finished in 0.009 seconds with exit status 0 (successful).
INFO [78746131] Running /usr/bin/env mkdir -p /opt/plum/releases/20170123185531 as deploy@hydra-dev
DEBUG [78746131] Command: cd /opt/plum/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/plum/git-ssh.sh" ; /usr/bin/env mkdir -p /opt/plum/releases/20170123185531 )
INFO [78746131] Finished in 0.011 seconds with exit status 0 (successful).
INFO [5e2c7551] Running /usr/bin/env git archive migrate-state | tar -x -f - -C /opt/plum/releases/20170123185531 as deploy@hydra-dev
DEBUG [5e2c7551] Command: cd /opt/plum/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/plum/git-ssh.sh" ; /usr/bin/env git archive migrate-state | tar -x -f - -C /opt/plum/releases/20170123185531 )
INFO [5e2c7551] Finished in 1.167 seconds with exit status 0 (successful).
DEBUG [e3e12526] Running /usr/bin/env if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [e3e12526] Command: if test ! -d /opt/plum/repo; then echo "Directory does not exist '/opt/plum/repo'" 1>&2; false; fi
DEBUG [e3e12526] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [7cb83282] Running /usr/bin/env git rev-list --max-count=1 --abbrev-commit migrate-state as deploy@hydra-dev
DEBUG [7cb83282] Command: cd /opt/plum/repo && ( export GIT_ASKPASS="/bin/echo" GIT_SSH="/tmp/plum/git-ssh.sh" ; /usr/bin/env git rev-list --max-count=1 --abbrev-commit migrate-state )
DEBUG [7cb83282] 1c412b2
DEBUG [7cb83282] Finished in 0.015 seconds with exit status 0 (successful).
DEBUG [782570af] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [782570af] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [782570af] Finished in 0.009 seconds with exit status 0 (successful).
INFO [3c8a5462] Running /usr/bin/env echo "1c412b2" >> REVISION as deploy@hydra-dev
DEBUG [3c8a5462] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env echo "1c412b2" >> REVISION
INFO [3c8a5462] Finished in 0.011 seconds with exit status 0 (successful).
INFO [fd0ab794] Running /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/public /opt/plum/releases/20170123185531 /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/vendor /opt/plum/releases/20170123185531 as deploy@hydra-dev
DEBUG [fd0ab794] Command: /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/public /opt/plum/releases/20170123185531 /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/tmp /opt/plum/releases/20170123185531/vendor /opt/plum/releases/20170123185531
INFO [fd0ab794] Finished in 0.010 seconds with exit status 0 (successful).
DEBUG [a8935a88] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/public/assets ] as deploy@hydra-dev
DEBUG [a8935a88] Command: [ -L /opt/plum/releases/20170123185531/public/assets ]
DEBUG [a8935a88] Finished in 0.007 seconds with exit status 1 (failed).
DEBUG [2bd0951a] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/public/assets ] as deploy@hydra-dev
DEBUG [2bd0951a] Command: [ -d /opt/plum/releases/20170123185531/public/assets ]
DEBUG [2bd0951a] Finished in 0.007 seconds with exit status 1 (failed).
INFO [e279f7c8] Running /usr/bin/env ln -s /opt/plum/shared/public/assets /opt/plum/releases/20170123185531/public/assets as deploy@hydra-dev
DEBUG [e279f7c8] Command: /usr/bin/env ln -s /opt/plum/shared/public/assets /opt/plum/releases/20170123185531/public/assets
INFO [e279f7c8] Finished in 0.022 seconds with exit status 0 (successful).
DEBUG [5ea29ef6] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/log ] as deploy@hydra-dev
DEBUG [5ea29ef6] Command: [ -L /opt/plum/releases/20170123185531/log ]
DEBUG [5ea29ef6] Finished in 0.008 seconds with exit status 1 (failed).
DEBUG [02abde61] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/log ] as deploy@hydra-dev
DEBUG [02abde61] Command: [ -d /opt/plum/releases/20170123185531/log ]
DEBUG [02abde61] Finished in 0.007 seconds with exit status 0 (successful).
INFO [e916e95b] Running /usr/bin/env rm -rf /opt/plum/releases/20170123185531/log as deploy@hydra-dev
DEBUG [e916e95b] Command: /usr/bin/env rm -rf /opt/plum/releases/20170123185531/log
INFO [e916e95b] Finished in 0.012 seconds with exit status 0 (successful).
INFO [510a17ac] Running /usr/bin/env ln -s /opt/plum/shared/log /opt/plum/releases/20170123185531/log as deploy@hydra-dev
DEBUG [510a17ac] Command: /usr/bin/env ln -s /opt/plum/shared/log /opt/plum/releases/20170123185531/log
INFO [510a17ac] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [e012b1fe] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/tmp/derivatives ] as deploy@hydra-dev
DEBUG [e012b1fe] Command: [ -L /opt/plum/releases/20170123185531/tmp/derivatives ]
DEBUG [e012b1fe] Finished in 0.007 seconds with exit status 1 (failed).
DEBUG [89ec66a9] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/tmp/derivatives ] as deploy@hydra-dev
DEBUG [89ec66a9] Command: [ -d /opt/plum/releases/20170123185531/tmp/derivatives ]
DEBUG [89ec66a9] Finished in 0.007 seconds with exit status 1 (failed).
INFO [d02879c8] Running /usr/bin/env ln -s /opt/plum/shared/tmp/derivatives /opt/plum/releases/20170123185531/tmp/derivatives as deploy@hydra-dev
DEBUG [d02879c8] Command: /usr/bin/env ln -s /opt/plum/shared/tmp/derivatives /opt/plum/releases/20170123185531/tmp/derivatives
INFO [d02879c8] Finished in 0.018 seconds with exit status 0 (successful).
DEBUG [a032e65b] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/tmp/geo-derivatives ] as deploy@hydra-dev
DEBUG [a032e65b] Command: [ -L /opt/plum/releases/20170123185531/tmp/geo-derivatives ]
DEBUG [a032e65b] Finished in 0.007 seconds with exit status 1 (failed).
DEBUG [fb923300] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/tmp/geo-derivatives ] as deploy@hydra-dev
DEBUG [fb923300] Command: [ -d /opt/plum/releases/20170123185531/tmp/geo-derivatives ]
DEBUG [fb923300] Finished in 0.007 seconds with exit status 1 (failed).
INFO [4d3ffad6] Running /usr/bin/env ln -s /opt/plum/shared/tmp/geo-derivatives /opt/plum/releases/20170123185531/tmp/geo-derivatives as deploy@hydra-dev
DEBUG [4d3ffad6] Command: /usr/bin/env ln -s /opt/plum/shared/tmp/geo-derivatives /opt/plum/releases/20170123185531/tmp/geo-derivatives
INFO [4d3ffad6] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [797fc732] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/tmp/uploads ] as deploy@hydra-dev
DEBUG [797fc732] Command: [ -L /opt/plum/releases/20170123185531/tmp/uploads ]
DEBUG [797fc732] Finished in 0.008 seconds with exit status 1 (failed).
DEBUG [1d9ca362] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/tmp/uploads ] as deploy@hydra-dev
DEBUG [1d9ca362] Command: [ -d /opt/plum/releases/20170123185531/tmp/uploads ]
DEBUG [1d9ca362] Finished in 0.007 seconds with exit status 1 (failed).
INFO [d869e2b6] Running /usr/bin/env ln -s /opt/plum/shared/tmp/uploads /opt/plum/releases/20170123185531/tmp/uploads as deploy@hydra-dev
DEBUG [d869e2b6] Command: /usr/bin/env ln -s /opt/plum/shared/tmp/uploads /opt/plum/releases/20170123185531/tmp/uploads
INFO [d869e2b6] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [acccb8ce] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/vendor/bundle ] as deploy@hydra-dev
DEBUG [acccb8ce] Command: [ -L /opt/plum/releases/20170123185531/vendor/bundle ]
DEBUG [acccb8ce] Finished in 0.007 seconds with exit status 1 (failed).
DEBUG [4585a331] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/vendor/bundle ] as deploy@hydra-dev
DEBUG [4585a331] Command: [ -d /opt/plum/releases/20170123185531/vendor/bundle ]
DEBUG [4585a331] Finished in 0.011 seconds with exit status 1 (failed).
INFO [e1da5ae8] Running /usr/bin/env ln -s /opt/plum/shared/vendor/bundle /opt/plum/releases/20170123185531/vendor/bundle as deploy@hydra-dev
DEBUG [e1da5ae8] Command: /usr/bin/env ln -s /opt/plum/shared/vendor/bundle /opt/plum/releases/20170123185531/vendor/bundle
INFO [e1da5ae8] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [5ee91128] Running /usr/bin/env [ -L /opt/plum/releases/20170123185531/staged_files ] as deploy@hydra-dev
DEBUG [5ee91128] Command: [ -L /opt/plum/releases/20170123185531/staged_files ]
DEBUG [5ee91128] Finished in 0.008 seconds with exit status 1 (failed).
DEBUG [9d1374e2] Running /usr/bin/env [ -d /opt/plum/releases/20170123185531/staged_files ] as deploy@hydra-dev
DEBUG [9d1374e2] Command: [ -d /opt/plum/releases/20170123185531/staged_files ]
DEBUG [9d1374e2] Finished in 0.007 seconds with exit status 0 (successful).
INFO [a2968c61] Running /usr/bin/env rm -rf /opt/plum/releases/20170123185531/staged_files as deploy@hydra-dev
DEBUG [a2968c61] Command: /usr/bin/env rm -rf /opt/plum/releases/20170123185531/staged_files
INFO [a2968c61] Finished in 0.009 seconds with exit status 0 (successful).
INFO [c9c6125e] Running /usr/bin/env ln -s /opt/plum/shared/staged_files /opt/plum/releases/20170123185531/staged_files as deploy@hydra-dev
DEBUG [c9c6125e] Command: /usr/bin/env ln -s /opt/plum/shared/staged_files /opt/plum/releases/20170123185531/staged_files
INFO [c9c6125e] Finished in 0.010 seconds with exit status 0 (successful).
DEBUG [7b7bfc16] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [7b7bfc16] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [7b7bfc16] Finished in 0.007 seconds with exit status 0 (successful).
INFO [9328c237] Running /usr/bin/env bundle install --path /opt/plum/shared/bundle --without development test --deployment --quiet as deploy@hydra-dev
DEBUG [9328c237] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env bundle install --path /opt/plum/shared/bundle --without development test --deployment --quiet
INFO [9328c237] Finished in 33.152 seconds with exit status 0 (successful).
DEBUG [92d12ab7] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [92d12ab7] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [92d12ab7] Finished in 0.009 seconds with exit status 0 (successful).
INFO [d21e49a3] Running bundle exec rake assets:precompile as deploy@hydra-dev
DEBUG [d21e49a3] Command: cd /opt/plum/releases/20170123185531 && ( export RAILS_ENV="staging" ; bundle exec rake assets:precompile )
DEBUG [d21e49a3] [DEPRECATION] `last_comment` is deprecated. Please use `last_description` instead.
DEBUG [d21e49a3] I, [2017-01-23T13:57:00.960399 #20303] INFO -- : Writing /opt/plum/releases/20170123185531/public/assets/application-a981cc214eafa0377375368d65d39c57e1f015d09528eca13fafe4a16c566808.js
DEBUG [d21e49a3] I, [2017-01-23T13:57:00.961392 #20303] INFO -- : Writing /opt/plum/releases/20170123185531/public/assets/application-a981cc214eafa0377375368d65d39c57e1f015d09528eca13fafe4a16c566808.js.gz
DEBUG [d21e49a3] I, [2017-01-23T13:57:14.117975 #20303] INFO -- : Writing /opt/plum/releases/20170123185531/public/assets/application-b6bde314cc6505c369daa01e211d230f736ce2ada03c4957f77e3fa07f3b6af4.css
DEBUG [d21e49a3] I, [2017-01-23T13:57:14.118236 #20303] INFO -- : Writing /opt/plum/releases/20170123185531/public/assets/application-b6bde314cc6505c369daa01e211d230f736ce2ada03c4957f77e3fa07f3b6af4.css.gz
INFO [d21e49a3] Finished in 75.305 seconds with exit status 0 (successful).
DEBUG [955a9dfe] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [955a9dfe] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [955a9dfe] Finished in 0.011 seconds with exit status 0 (successful).
INFO [59fadc03] Running /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/assets_manifest_backup as deploy@hydra-dev
DEBUG [59fadc03] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/assets_manifest_backup
INFO [59fadc03] Finished in 0.011 seconds with exit status 0 (successful).
DEBUG [901abdc4] Running /usr/bin/env ls /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest* as deploy@hydra-dev
DEBUG [901abdc4] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env ls /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest*
DEBUG [901abdc4] /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest-97bea96d835575913172410ad922b10f.json
DEBUG [901abdc4] Finished in 0.014 seconds with exit status 0 (successful).
DEBUG [b4d45897] Running /usr/bin/env ls /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest* as deploy@hydra-dev
DEBUG [b4d45897] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env ls /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest*
DEBUG [b4d45897] /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest-97bea96d835575913172410ad922b10f.json
DEBUG [b4d45897] Finished in 0.012 seconds with exit status 0 (successful).
INFO [7f3a18d5] Running /usr/bin/env cp /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest-97bea96d835575913172410ad922b10f.json /opt/plum/releases/20170123185531/assets_manifest_backup as deploy@hydra-dev
DEBUG [7f3a18d5] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env cp /opt/plum/releases/20170123185531/public/assets/.sprockets-manifest-97bea96d835575913172410ad922b10f.json /opt/plum/releases/20170123185531/assets_manifest_backup
INFO [7f3a18d5] Finished in 0.024 seconds with exit status 0 (successful).
INFO [deploy:migrate] Run `rake db:migrate`
DEBUG [d27b4927] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [d27b4927] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [d27b4927] Finished in 0.009 seconds with exit status 0 (successful).
INFO [84b475e7] Running bundle exec rake db:migrate as deploy@hydra-dev
DEBUG [84b475e7] Command: cd /opt/plum/releases/20170123185531 && ( export RAILS_ENV="staging" ; bundle exec rake db:migrate )
DEBUG [84b475e7] [DEPRECATION] `last_comment` is deprecated. Please use `last_description` instead.
DEBUG [84b475e7] == 20170103194041 CreateOperations: migrating =================================
-- create_table(:curation_concerns_operations)
-> 0.3309s
== 20170103194041 CreateOperations: migrated (0.3310s) ========================
== 20170103194042 CreateSipity: migrating =====================================
-- create_table("sipity_notification_recipients")
-> 0.0197s
-- add_index("sipity_notification_recipients", ["notification_id", "role_id", "recipient_strategy"], {:name=>"sipity_notifications_recipients_surrogate"})
-> 0.0052s
-- add_index("sipity_notification_recipients", ["notification_id"], {:name=>"sipity_notification_recipients_notification"})
-> 0.0041s
-- add_index("sipity_notification_recipients", ["recipient_strategy"], {:name=>"sipity_notification_recipients_recipient_strategy"})
-> 0.0039s
-- add_index("sipity_notification_recipients", ["role_id"], {:name=>"sipity_notification_recipients_role"})
-> 0.0040s
-- create_table("sipity_notifications")
-> 0.0046s
-- add_index("sipity_notifications", ["name"], {:name=>"index_sipity_notifications_on_name", :unique=>true})
-> 0.0041s
-- add_index("sipity_notifications", ["notification_type"], {:name=>"index_sipity_notifications_on_notification_type"})
-> 0.0040s
-- create_table("sipity_notifiable_contexts")
-> 0.0152s
-- add_index("sipity_notifiable_contexts", ["notification_id"], {:name=>"sipity_notifiable_contexts_notification_id"})
-> 0.0046s
-- add_index("sipity_notifiable_contexts", ["scope_for_notification_id", "scope_for_notification_type", "reason_for_notification", "notification_id"], {:name=>"sipity_notifiable_contexts_concern_surrogate", :unique=>true})
-> 0.0045s
-- add_index("sipity_notifiable_contexts", ["scope_for_notification_id", "scope_for_notification_type", "reason_for_notification"], {:name=>"sipity_notifiable_contexts_concern_context"})
-> 0.0043s
-- add_index("sipity_notifiable_contexts", ["scope_for_notification_id", "scope_for_notification_type"], {:name=>"sipity_notifiable_contexts_concern"})
-> 0.0042s
-- create_table("sipity_agents")
-> 0.0055s
-- add_index("sipity_agents", ["proxy_for_id", "proxy_for_type"], {:name=>"sipity_agents_proxy_for", :unique=>true})
-> 0.0045s
-- create_table("sipity_comments")
-> 0.0049s
-- add_index("sipity_comments", ["agent_id"], {:name=>"index_sipity_comments_on_agent_id"})
-> 0.0045s
-- add_index("sipity_comments", ["created_at"], {:name=>"index_sipity_comments_on_created_at"})
-> 0.0043s
-- add_index("sipity_comments", ["entity_id"], {:name=>"index_sipity_comments_on_entity_id"})
-> 0.0042s
-- create_table("sipity_entities")
-> 0.0048s
-- add_index("sipity_entities", ["proxy_for_global_id"], {:name=>"sipity_entities_proxy_for_global_id", :unique=>true})
-> 0.0047s
-- add_index("sipity_entities", ["workflow_id"], {:name=>"index_sipity_entities_on_workflow_id"})
-> 0.0040s
-- add_index("sipity_entities", ["workflow_state_id"], {:name=>"index_sipity_entities_on_workflow_state_id"})
-> 0.0040s
-- create_table("sipity_entity_specific_responsibilities")
-> 0.0049s
-- add_index("sipity_entity_specific_responsibilities", ["agent_id"], {:name=>"sipity_entity_specific_responsibilities_agent"})
-> 0.0046s
-- add_index("sipity_entity_specific_responsibilities", ["entity_id"], {:name=>"sipity_entity_specific_responsibilities_entity"})
-> 0.0045s
-- add_index("sipity_entity_specific_responsibilities", ["workflow_role_id", "entity_id", "agent_id"], {:name=>"sipity_entity_specific_responsibilities_aggregate", :unique=>true})
-> 0.0045s
-- add_index("sipity_entity_specific_responsibilities", ["workflow_role_id"], {:name=>"sipity_entity_specific_responsibilities_role"})
-> 0.0041s
-- create_table("sipity_workflows")
-> 0.0115s
-- add_index("sipity_workflows", ["name"], {:name=>"index_sipity_workflows_on_name", :unique=>true})
-> 0.0043s
-- create_table("sipity_workflow_actions")
-> 0.0049s
-- add_index("sipity_workflow_actions", ["resulting_workflow_state_id"], {:name=>"sipity_workflow_actions_resulting_workflow_state"})
-> 0.0043s
-- add_index("sipity_workflow_actions", ["workflow_id", "name"], {:name=>"sipity_workflow_actions_aggregate", :unique=>true})
-> 0.0041s
-- add_index("sipity_workflow_actions", ["workflow_id"], {:name=>"sipity_workflow_actions_workflow"})
-> 0.0040s
-- create_table("sipity_workflow_responsibilities")
-> 0.0037s
-- add_index("sipity_workflow_responsibilities", ["agent_id", "workflow_role_id"], {:name=>"sipity_workflow_responsibilities_aggregate", :unique=>true})
-> 0.0044s
-- create_table("sipity_workflow_roles")
-> 0.0037s
-- add_index("sipity_workflow_roles", ["workflow_id", "role_id"], {:name=>"sipity_workflow_roles_aggregate", :unique=>true})
-> 0.0043s
-- create_table("sipity_workflow_state_action_permissions")
-> 0.0138s
-- add_index("sipity_workflow_state_action_permissions", ["workflow_role_id", "workflow_state_action_id"], {:name=>"sipity_workflow_state_action_permissions_aggregate", :unique=>true})
-> 0.0045s
-- create_table("sipity_workflow_state_actions")
-> 0.0037s
-- add_index("sipity_workflow_state_actions", ["originating_workflow_state_id", "workflow_action_id"], {:name=>"sipity_workflow_state_actions_aggregate", :unique=>true})
-> 0.0045s
-- create_table("sipity_workflow_states")
-> 0.0050s
-- add_index("sipity_workflow_states", ["name"], {:name=>"index_sipity_workflow_states_on_name"})
-> 0.0043s
-- add_index("sipity_workflow_states", ["workflow_id", "name"], {:name=>"sipity_type_state_aggregate", :unique=>true})
-> 0.0045s
-- create_table("sipity_roles")
-> 0.0048s
-- add_index("sipity_roles", ["name"], {:name=>"index_sipity_roles_on_name", :unique=>true})
-> 0.0042s
== 20170103194042 CreateSipity: migrated (0.2517s) ============================
== 20170103194043 CreateSipityWorkflowMethods: migrating ======================
-- create_table(:sipity_workflow_methods)
-> 0.0099s
== 20170103194043 CreateSipityWorkflowMethods: migrated (0.0100s) =============
INFO [84b475e7] Finished in 6.570 seconds with exit status 0 (successful).
INFO [7bab31c9] Running /usr/bin/env ln -s /opt/plum/releases/20170123185531 /opt/plum/releases/current as deploy@hydra-dev
DEBUG [7bab31c9] Command: /usr/bin/env ln -s /opt/plum/releases/20170123185531 /opt/plum/releases/current
INFO [7bab31c9] Finished in 0.011 seconds with exit status 0 (successful).
INFO [fe2f252a] Running /usr/bin/env mv /opt/plum/releases/current /opt/plum as deploy@hydra-dev
DEBUG [fe2f252a] Command: /usr/bin/env mv /opt/plum/releases/current /opt/plum
INFO [fe2f252a] Finished in 0.011 seconds with exit status 0 (successful).
DEBUG [98739da6] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [98739da6] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [98739da6] Finished in 0.007 seconds with exit status 0 (successful).
INFO [e99f1d69] Running /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/tmp as deploy@hydra-dev
DEBUG [e99f1d69] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env mkdir -p /opt/plum/releases/20170123185531/tmp
INFO [e99f1d69] Finished in 0.010 seconds with exit status 0 (successful).
INFO [600fba10] Running /usr/bin/env touch /opt/plum/releases/20170123185531/tmp/restart.txt as deploy@hydra-dev
DEBUG [600fba10] Command: cd /opt/plum/releases/20170123185531 && /usr/bin/env touch /opt/plum/releases/20170123185531/tmp/restart.txt
INFO [600fba10] Finished in 0.009 seconds with exit status 0 (successful).
DEBUG [0555ed95] Running /usr/bin/env if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [0555ed95] Command: if test ! -d /opt/plum/releases/20170123185531; then echo "Directory does not exist '/opt/plum/releases/20170123185531'" 1>&2; false; fi
DEBUG [0555ed95] Finished in 0.007 seconds with exit status 0 (successful).
INFO [770db316] Running bundle exec rake cache:clear as deploy@hydra-dev
DEBUG [770db316] Command: cd /opt/plum/releases/20170123185531 && ( export RAILS_ENV="staging" ; bundle exec rake cache:clear )
DEBUG [770db316] [DEPRECATION] `last_comment` is deprecated. Please use `last_description` instead.
DEBUG [770db316] Clearing Rails cache
INFO [770db316] Finished in 7.062 seconds with exit status 0 (successful).
INFO [84dfa808] Running /usr/bin/env sudo initctl restart plum-workers as deploy@hydra-dev
DEBUG [84dfa808] Command: /usr/bin/env sudo initctl restart plum-workers
DEBUG [84dfa808] plum-workers start/running, process 20528
INFO [84dfa808] Finished in 0.508 seconds with exit status 0 (successful).
DEBUG [895a4e30] Running /usr/bin/env ls -xtr /opt/plum/releases as deploy@hydra-dev
DEBUG [895a4e30] Command: /usr/bin/env ls -xtr /opt/plum/releases
DEBUG [895a4e30] 20161229084827 20161229085046 20170103165711 20170109192835 20170120190800
20170123185531
DEBUG [895a4e30] Finished in 0.011 seconds with exit status 0 (successful).
INFO Keeping 5 of 6 deployed releases on hydra-dev
INFO [2965190a] Running /usr/bin/env rm -rf /opt/plum/releases/20161229084827 as deploy@hydra-dev
DEBUG [2965190a] Command: /usr/bin/env rm -rf /opt/plum/releases/20161229084827
INFO [2965190a] Finished in 0.083 seconds with exit status 0 (successful).
DEBUG [b54e8cfc] Running /usr/bin/env if test ! -d /opt/plum/releases; then echo "Directory does not exist '/opt/plum/releases'" 1>&2; false; fi as deploy@hydra-dev
DEBUG [b54e8cfc] Command: if test ! -d /opt/plum/releases; then echo "Directory does not exist '/opt/plum/releases'" 1>&2; false; fi
DEBUG [b54e8cfc] Finished in 0.008 seconds with exit status 0 (successful).
INFO [5c31bf9e] Running /usr/bin/env echo "Branch migrate-state (at 1c412b2) deployed as release 20170123185531 by " >> /opt/plum/revisions.log as deploy@hydra-dev
DEBUG [5c31bf9e] Command: echo "Branch migrate-state (at 1c412b2) deployed as release 20170123185531 by " >> /opt/plum/revisions.log
INFO [5c31bf9e] Finished in 0.020 seconds with exit status 0 (successful).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment