Skip to content

Instantly share code, notes, and snippets.

@facuescobar
Created December 11, 2015 20:21
Show Gist options
  • Save facuescobar/90253e71aba81f7a787d to your computer and use it in GitHub Desktop.
Save facuescobar/90253e71aba81f7a787d to your computer and use it in GitHub Desktop.
Minimizing /mnt/local/home/escobar/rebelmouse/static/js-build/roar/betawatchers/toggle-questions.js
Minimizing /mnt/local/home/escobar/rebelmouse/static/js-build/roar/includes/googletagmanager.js
Minimizing /mnt/local/home/escobar/rebelmouse/static/js-build/roar/findmypast/libs/masonry.js
[localhost] local: sudo -H -u deploys_roar /bin/bash -c "ssh deploys@wfe-test2 test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar || mkdir /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar"
[localhost] local: sudo -H -u deploys_roar /bin/bash -c "rsync --exclude ".git" --delete -pthr . deploys@wfe-test2:/mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar 2>&1"
[localhost] local: sudo -H -u deploys_roar /bin/bash -c "ssh deploys@wfe-test2 fab -f /home/deploys/fabfile_sync.py roar sync_roar:tag=deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar --set upload_static=all,roar=unitedbmb,role=rebelmouse@wfe-test2"
wfe-test2
[rebelmouse@wfe-test2] Executing task 'sync_roar'
[localhost] local: hostname
[localhost] local: echo `whoami` > /tmp/rebelmouse-sync.lock
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar
[localhost] local: find /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar -iname "*.pyc" -delete
[rebelmouse@wfe-test2] Executing task 'push_roar'
[rebelmouse@wfe-test2] run: test -d /home/rebelmouse/rebelmouse || mkdir -p /home/rebelmouse/rebelmouse
[rebelmouse@wfe-test2] put: /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/requirements.txt -> /home/rebelmouse/deploy_requirements.txt
[rebelmouse@wfe-test2] run: diff /home/rebelmouse/deploy_requirements.txt /home/rebelmouse/rebelmouse/requirements.txt
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/unitedbmb && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/unitedbmb/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/engine/unitedbmb/
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/img/whitelabel/unitedbmb && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/img/whitelabel/unitedbmb rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/img/whitelabel/
[localhost] local: test -f /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/settings/prod.py && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/settings/prod.py rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/engine/settings/prod.py
[localhost] local: test -f /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/settings/settings.json && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/engine/settings/settings.json rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/engine/settings/settings.json
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/dynamic_content/unitedbmb && echo "True" || echo "False"
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/community/roar/includes/unitedbmb && echo "True" || echo "False"
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/whitelabel/unitedbmb && echo "True" || echo "False"
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/whitelabel/submissions/roar/unitedbmb && echo "True" || echo "False"
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/mustache/roar && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/mustache/roar/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/templates/mustache/roar/
[localhost] local: test -f /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/dynamic_content/dynamic_content.xsd && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/dynamic_content/dynamic_content.xsd rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/templates/dynamic_content/dynamic_content.xsd
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/email/users/whitelabel/ && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/email/users/whitelabel/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/templates/email/users/whitelabel/
[localhost] local: test -f /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/dynamic_content/html5.xsd && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/dynamic_content/html5.xsd rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/templates/dynamic_content/html5.xsd
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/simple_pages/unitedbmb && echo "True" || echo "False"
[localhost] local: test -d /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/templates/community/unitedbmb && echo "True" || echo "False"
[localhost] local: rsync --delete -pthr --exclude roar_libs.js --exclude static/js-build/amd_config.js --exclude version_config.json /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js-build/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js-build/
[localhost] local: rsync --delete -pthr --exclude version_config.json /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/css-build/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/css-build/
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js/
[localhost] local: rsync --delete -pthr /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/css/* rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/css/
[rebelmouse@wfe-test2] Executing task 'push_hash'
[localhost] local: /usr/bin/rsync --delete -a /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/css-build/version_config.json rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/css-build/
[localhost] local: /usr/bin/rsync --delete -a /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js-build/version_config.json rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js-build/
[localhost] local: /usr/bin/rsync --delete -a /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js-build/amd_config.js rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js-build/
[localhost] local: /usr/bin/rsync --delete -a /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js-build/roar_libs.js rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js-build/
[localhost] local: /usr/bin/rsync --delete -a /mnt/local/tmp/deploy-2015-12-11-20-13-45-roar-unitedbmb-escobar/static/js-build/tmpl/roar_libs.js rebelmouse@wfe-test2:/home/rebelmouse/rebelmouse/static/js-build/tmpl/
[rebelmouse@wfe-test2] run: touch /tmp/rebelmouse-reload
[localhost] local: rm /tmp/rebelmouse-sync.lock
[rebelmouse@wfe-test2] pushed on servers rebelmouse@wfe-test2.
Done.
Disconnecting from rebelmouse@wfe-test2... done.
[localhost] local: sudo -H -u deploys_roar /bin/bash -c "/home/deploys_roar/live-test.sh unitedbmb ."
Starting sanity check...
Checking www.rebelmouse.com .... OK
Checking www.cloudinsights.com .... OK
Checking www.garyvaynerchuk.com .... OK
Checking welcome.weightwatchers.com .... OK
Checking www.thedodo.com .... OK
Checking www.mimichatter.com .... OK
Checking www.thesnug.com .... OK
Checking www.weedhorn.com .... OK
Checking www.theoutfit.com .... OK
Checking connect.powertofly.com .... OK
Checking www.fatherly.com .... OK
Checking simplyamerican.almay.com .... OK
Checking www.distractify.com .... OK
Checking www.shoebox.com .... OK
Checking begreater.flonase.com .... OK
Checking www.campusrush.com .... OK
Checking www.civilized.life .... OK
Checking labs.rebelmouse.com/core/dashboard/ ....OK
Checking welcome.weightwatchers.com/section/system-requirements/ ....OK
Checking welcome.weightwatchers.com/section/eat/ ....OK
[localhost] local: sudo -H -u deploys_roar /bin/bash -c "/home/deploys_roar/roar-live-test.sh unitedbmb ."
Starting sanity check...
Checking unitedbmb ....NOT OK, got
FATAL: One or more sainty check failed as shown above, with the following error on /mnt/local/log/uwsgi/rebelmouse.log of wfe-test:
...brutally killing workers...
worker 1 buried after 0 seconds
worker 2 buried after 0 seconds
worker 3 buried after 0 seconds
worker 4 buried after 0 seconds
worker 5 buried after 0 seconds
worker 6 buried after 0 seconds
worker 7 buried after 0 seconds
worker 8 buried after 0 seconds
binary reloading uWSGI...
chdir() to /mnt/local/home/rebelmouse
closing all non-uwsgi socket fds > 2 (max_fd = 200000)...
found fd 6 mapped to socket 0 (/tmp/uwsgi.sock)
running /mnt/local/home/rebelmouse/env/rebelmouse/bin/uwsgi
[uWSGI] getting INI configuration from /etc/uwsgi.ini
*** Starting uWSGI 1.9.18.2 (64bit) on [Fri Dec 11 16:20:34 2015] ***
compiled with version: 4.8.2 on 19 March 2015 15:02:57
os: Linux-3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015
nodename: wfe-test1
machine: x86_64
clock source: unix
pcre jit disabled
detected number of CPU cores: 8
current working directory: /mnt/local/home/rebelmouse
detected binary path: /mnt/local/home/rebelmouse/env/rebelmouse/bin/uwsgi
your processes number limit is 120234
your memory page size is 4096 bytes
detected max file descriptor number: 200000
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
uwsgi socket 0 inherited UNIX address /tmp/uwsgi.sock fd 6
Python version: 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2]
Python main interpreter initialized at 0x20e7f00
python threads support enabled
your server socket listen backlog is limited to 500 connections
your mercy for graceful operations on workers is 60 seconds
mapped 3787776 bytes (3699 KB) for 200 cores
*** Operational MODE: preforking+threaded ***
WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x20e7f00 pid: 28102 (default app)
*** uWSGI is running in multiple interpreter mode ***
gracefully (RE)spawned uWSGI master process (pid: 28102)
spawned uWSGI worker 1 (pid: 29685, cores: 25)
spawned uWSGI worker 2 (pid: 29686, cores: 25)
spawned uWSGI worker 3 (pid: 29691, cores: 25)
spawned uWSGI worker 4 (pid: 29708, cores: 25)
spawned uWSGI worker 5 (pid: 29721, cores: 25)
spawned uWSGI worker 6 (pid: 29725, cores: 25)
spawned uWSGI worker 7 (pid: 29746, cores: 25)
spawned uWSGI worker 8 (pid: 29760, cores: 25)
*** Stats server enabled on 127.0.0.1:1717 fd: 26 ***
Fatal error: local() encountered an error (return code 1) while executing 'sudo -H -u deploys_roar /bin/bash -c "/home/deploys_roar/roar-live-test.sh unitedbmb ."'
Aborting.
[localhost] local: rm /tmp/rebelmouse2.lock
Fatal error: Live test failed
Aborting.
Disconnecting from localhost:8022... done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment