Closed
Bug 822524
Opened 13 years ago
Closed 13 years ago
[AirMozilla] push -stage and -prod (regression for 404 pages)
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: peterbe, Assigned: bburton)
Details
(Whiteboard: [push interrupt])
Please push airmozilla to stage and prod again [1] please.
I found a regression that meant that for every Page Not Found page it would error out because the sidebar wasn't able to render properly.
Bug easy to reproduce with unit testing and now fixed.
[1] We did one earlier today https://bugzilla.mozilla.org/show_bug.cgi?id=822453
Reporter | ||
Comment 1•13 years ago
|
||
Here's the regression bug
https://bugzilla.mozilla.org/show_bug.cgi?id=822520
Comment 2•13 years ago
|
||
:peterbe - i just pushed this to stage for you. please give it a test and let me know when you wan this pushed to prod.
[root@genericadm.private.phx1 air.allizom.org]# bash -x update
+ CODE_DIR=/data/genericrhel6-stage/src/air.allizom.org/air
+ MEDIA_DIR=/data/genericrhel6-stage/src/air.allizom.org/air/media
++ date +%s%N
++ md5sum
++ cut -d ' ' -f 1
+ LOGFILE=/tmp/07c7f9ef49412d03253934bef2003ca2
+ PYTHON='/usr/bin/env python'
++ date +%s
+ START=1355796442
+ '[' 0 -ne 0 ']'
+ control
+ tee /tmp/07c7f9ef49412d03253934bef2003ca2
+ techo Start.
++ date -u '+%F %T'
+ STAMP='[2012-12-18 02:07:22]'
+ echo '[2012-12-18 02:07:22] Start.'
[2012-12-18 02:07:22] Start.
+ update_code
+ techo 'Updating code.'
++ date -u '+%F %T'
+ STAMP='[2012-12-18 02:07:22]'
+ echo '[2012-12-18 02:07:22] Updating code.'
[2012-12-18 02:07:22] Updating code.
+ cd /data/genericrhel6-stage/src/air.allizom.org/air
+ git checkout master
Already on 'master'
M vendor
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git pull -f
From https://github.com/mozilla/airmozilla
fb3a908..a08f67f master -> origin/master
Updating fb3a908..a08f67f
Fast-forward
airmozilla/main/context_processors.py | 3 +-
airmozilla/main/tests/test_views.py | 57 +++++++++++++++++++++++++++++++++++
airmozilla/urls.py | 2 ++
3 files changed, 61 insertions(+), 1 deletion(-)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ techo 'Updating submodules.'
++ date -u '+%F %T'
+ STAMP='[2012-12-18 02:07:28]'
+ echo '[2012-12-18 02:07:28] Updating submodules.'
[2012-12-18 02:07:28] Updating submodules.
+ git submodule update --init --recursive
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git rev-parse HEAD
+ clean_src
+ techo 'Cleaning gitignore and pyc files.'
++ date -u '+%F %T'
+ STAMP='[2012-12-18 02:07:28]'
+ echo '[2012-12-18 02:07:28] Cleaning gitignore and pyc files.'
[2012-12-18 02:07:28] Cleaning gitignore and pyc files.
+ cd /data/genericrhel6-stage/src/air.allizom.org/air
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ run_migration
+ echo -e 'Running schema/data migrations...'
Running schema/data migrations...
+ /usr/bin/env python /data/genericrhel6-stage/src/air.allizom.org/air/manage.py syncdb
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Synced:
> funfactory
> compressor
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.sessions
> django.contrib.staticfiles
> commonware.response.cookies
> session_csrf
> airmozilla.base
> airmozilla.auth
> bootstrapform
> sorl.thumbnail
> south
> django.contrib.messages
> django.contrib.sites
> django.contrib.flatpages
Not synced (use migrations):
- djcelery
- airmozilla.main
(use ./manage.py migrate to migrate these)
Running migrations for main:
- Nothing to migrate.
- Loading initial data for main.
Installed 0 object(s) from 0 fixture(s)
0 static files copied, 59 unmodified.
+ deploy
+ techo 'Deploying code.'
++ date -u '+%F %T'
+ STAMP='[2012-12-18 02:07:33]'
+ echo '[2012-12-18 02:07:33] Deploying code.'
[2012-12-18 02:07:33] Deploying code.
+ OPT=
+ '[' xterm == dumb ']'
+ /data/genericrhel6-stage/deploy air.allizom.org
[2012-12-17 18:07:33] Running rsync_project
[2012-12-17 18:07:33] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6-stage/src/air.allizom.org/ /data/genericrhel6-stage/www/air.allizom.org/
[2012-12-17 18:07:36] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6-stage/src/air.allizom.org/ /data/genericrhel6-stage/www/air.allizom.org/ (2.574s)
[2012-12-17 18:07:36] Finished rsync_project (2.575s)
[2012-12-17 18:07:36] Running commit_www
[2012-12-17 18:07:36] [localhost] running: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['air.allizom.org']'
[2012-12-17 18:08:21] [localhost] finished: cd /data/genericrhel6-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['air.allizom.org']' (44.907s)
[localhost] out: [master 512897d] deploy [air.allizom.org]
[localhost] out: 3 files changed, 61 insertions(+), 1 deletion(-)
[2012-12-17 18:08:21] Finished commit_www (44.908s)
Reporter | ||
Comment 3•13 years ago
|
||
Yes. Works on stage. Please proceed.
Assignee | ||
Updated•13 years ago
|
Assignee: server-ops-webops → bburton
Priority: -- → P3
Whiteboard: [push interrupt]
Assignee | ||
Comment 4•13 years ago
|
||
Push complete.
[root@genericadm.private.phx1 ~]# /data/genericrhel6/src/air.mozilla.org/update
[2012-12-18 16:44:07] Start.
[2012-12-18 16:44:07] Updating code.
From https://github.com/mozilla/airmozilla
fb3a908..a08f67f master -> origin/master
Warning: you are leaving 59 commits behind, not connected to
any of your branches:
fb3a908 correct missing include file for templates
2093eb0 bug 822403 - upgrade playdoh-lib for django 1.4.3
882f1fa bug 821458 - label non-public entries
419e7bc bug 817765 - integrityerrors on get_thumbnail sometimes
... and 55 more.
If you want to keep them by creating a new branch, this may be a good time
to do so with:
git branch new_branch_name fb3a908c20d4d0a7e842aa1ce9c3f035671716df
HEAD is now at a08f67f... bug 822520 - making jenkins happy
[2012-12-18 16:44:10] Updating submodules.
[2012-12-18 16:44:11] Cleaning gitignore and pyc files.
Running schema/data migrations...
/data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/pytz/__init__.py:35: UserWarning: Module south was already imported from /data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/south/__init__.py, but /usr/lib/python2.6/site-packages is being added to sys.path
from pkg_resources import resource_stream
/data/genericrhel6/src/air.mozilla.org/air/vendor/lib/python/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
DeprecationWarning)
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Synced:
> funfactory
> compressor
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.sessions
> django.contrib.staticfiles
> commonware.response.cookies
> session_csrf
> airmozilla.base
> airmozilla.auth
> bootstrapform
> sorl.thumbnail
> south
> django.contrib.messages
> django.contrib.sites
> django.contrib.flatpages
Not synced (use migrations):
- djcelery
- airmozilla.main
(use ./manage.py migrate to migrate these)
/data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/pytz/__init__.py:35: UserWarning: Module south was already imported from /data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/south/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
from pkg_resources import resource_stream
/data/genericrhel6/src/air.mozilla.org/air/vendor/lib/python/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
DeprecationWarning)
Running migrations for main:
- Nothing to migrate.
- Loading initial data for main.
Installed 0 object(s) from 0 fixture(s)
/data/genericrhel6/src/air.mozilla.org/air/vendor/lib/python/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.
DeprecationWarning)
/data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/pytz/__init__.py:35: UserWarning: Module memcache was already imported from /data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/memcache.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
from pkg_resources import resource_stream
/data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/pytz/__init__.py:35: UserWarning: Module south was already imported from /data/genericrhel6/src/air.mozilla.org/air/vendor-local/lib/python/south/__init__.pyc, but /usr/lib/python2.6/site-packages is being added to sys.path
from pkg_resources import resource_stream
0 static files copied, 59 unmodified.
[2012-12-18 16:44:17] Deploying code.
[2012-12-18 08:44:17] Running rsync_project
[2012-12-18 08:44:17] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/air.mozilla.org/ /data/genericrhel6/www/air.mozilla.org/
[2012-12-18 08:44:19] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --delete /data/genericrhel6/src/air.mozilla.org/ /data/genericrhel6/www/air.mozilla.org/ (1.882s)
[2012-12-18 08:44:19] Finished rsync_project (1.882s)
[2012-12-18 08:44:19] Running commit_www
[2012-12-18 08:44:19] [localhost] running: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['air.mozilla.org']'
[2012-12-18 08:44:36] [localhost] finished: cd /data/genericrhel6/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['air.mozilla.org']' (17.636s)
[localhost] out: [master 5a37d53] deploy [air.mozilla.org]
[localhost] out: 3 files changed, 61 insertions(+), 1 deletion(-)
[2012-12-18 08:44:36] Finished commit_www (17.636s)
[2012-12-18 08:44:36] Running push_www
[2012-12-18 08:44:36] [generic1.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:36] [generic2.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:36] [generic3.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:36] [generic4.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:36] [generic5.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:36] [generic102.webapp.phx1.mozilla.com] running: /data/bin/update-www.sh air.mozilla.org
[2012-12-18 08:44:43] [generic3.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (6.396s)
[generic3.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-12-18 08:44:43] [generic2.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (6.426s)
[generic2.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-12-18 08:44:43] [generic5.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (6.432s)
[2012-12-18 08:44:43] [generic4.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (6.712s)
[2012-12-18 08:44:43] [generic1.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (7.003s)
[generic1.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[2012-12-18 08:44:44] [generic102.webapp.phx1.mozilla.com] finished: /data/bin/update-www.sh air.mozilla.org (7.323s)
[generic102.webapp.phx1.mozilla.com] out: Not removing blog.mozilla.org/wp-content/cache/supercache/blog.mozilla.org/
[generic102.webapp.phx1.mozilla.com] out: Not removing mozillians.org/mozillians/apps/larper/
[generic102.webapp.phx1.mozilla.com] out: Not removing mozillians.org/mozillians/apps/taskboard/
[generic102.webapp.phx1.mozilla.com] out: Not removing wiki.mozilla.org/wiki/cache/8/
[2012-12-18 08:44:44] Finished push_www (7.333s)
[2012-12-18 16:44:44] Touching WSGI.
[2012-12-18 08:44:44] [generic1.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic2.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic3.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic4.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic5.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic102.webapp.phx1.mozilla.com] running: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi
[2012-12-18 08:44:44] [generic2.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.237s)
[2012-12-18 08:44:44] [generic1.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.504s)
[2012-12-18 08:44:44] [generic3.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.500s)
[2012-12-18 08:44:44] [generic4.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.506s)
[2012-12-18 08:44:44] [generic102.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.507s)
[2012-12-18 08:44:45] [generic5.webapp.phx1.mozilla.com] finished: touch /data/www/air.mozilla.org/air/wsgi/playdoh.wsgi (0.931s)
[2012-12-18 16:44:45] End.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•6 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•