Push reps.mozilla.org 2013-03-19 code to stage

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
--
major
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: pierros, Assigned: cturra)

Tracking

Details

(Whiteboard: [triaged 20130319][push interrupt], URL)

(Reporter)

Description

5 years ago
We would like the code of mozilla/remo tagged as 2013-03-19 to be pushed to stage reps.allizom.org

Thanks!
(Assignee)

Comment 1

5 years ago
i just ran a push to reps stage, but got the following error when the update script ran the minimying code...

Compressing assets...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ python ./manage.py compress_assets
To turn on cache busting, use settings.CACHEBUST_IMGS
Minifying /data/engagement-stage/src/reps.allizom.org/remo/media/css/remo-all.css (using YUI Compressor)

[ERROR] 132:1:missing ) after argument list

[ERROR] 1:0:Compilation produced 1 syntax errors.
org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors.
	at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeError(YUICompressor.java:154)
	at org.mozilla.javascript.Parser.parse(Parser.java:392)
	at org.mozilla.javascript.Parser.parse(Parser.java:337)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:533)
	at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:131)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
/usr/bin/java -jar /data/engagement-stage/src/reps.allizom.org/remo/vendor/src/jingo-minify/jingo_minify/bin/yuicompressor-2.4.7.jar  /data/engagement-stage/src/reps.allizom.org/remo/media/js/voting_list_votings-all.js -o /data/engagement-stage/src/reps.allizom.org/remo/media/js/voting_list_votings-min.js exited with a non-zero status.
Minifying /data/engagement-stage/src/reps.allizom.org/remo/media/js/voting_list_votings-all.js (using YUI Compressor)
Minifying /data/engagement-stage/src/reps.allizom.org/remo/media/js/events_list-all.js (using YUI Compressor)
Minifying /data/engagement-stage/src/reps.allizom.org/remo/media/js/events_view_event-all.js (using YUI Compressor)
Unchanged files skipped for minification: 20
Error: one or more minify commands exited with a non-zero status. See output above for errors.
Assignee: server-ops-webops → cturra
Whiteboard: [triaged 20130319][push interrupt]
Chris, I updated the code. Can you try again?
(Assignee)

Comment 3

5 years ago
push to stage completed without errors this time.

[root@engagementadm.private.phx1 reps.allizom.org]# bash -x update 2013-03-19
+ TAG=2013-03-19
+ '[' 1 -lt 1 ']'
+ CODE_DIR=/data/engagement-stage/src/reps.allizom.org/remo
+ VENDOR_DIR=/data/engagement-stage/src/reps.allizom.org/remo/vendor
+ date
Tue Mar 19 12:10:43 PDT 2013
+ update_code
+ echo -e 'Updating code...'
Updating code...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ git fetch origin -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git checkout -f 2013-03-19 -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule sync -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating vendor submodules...'
Updating vendor submodules...
+ cd /data/engagement-stage/src/reps.allizom.org/remo/vendor
+ git submodule sync -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ git submodule update --init -q
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Cleaning gitignore and pyc files...'
Cleaning gitignore and pyc files...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ find . -type f -name .gitignore -or -name '*.pyc' -delete
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Collecting Static Assets'
Collecting Static Assets
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ python ./manage.py collectstatic --noinput

0 static files copied, 73 unmodified.
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Compressing assets...'
Compressing assets...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ python ./manage.py compress_assets
To turn on cache busting, use settings.CACHEBUST_IMGS
Unchanged files skipped for minification: 24
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Running migrate...'
Running migrate...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ python manage.py migrate
/data/engagement-stage/src/reps.allizom.org/remo/vendor/lib/python/celery/decorators.py:34: CDeprecationWarning:
The `celery.decorators` module along with the magic keyword arguments,
are deprecated, and will be removed in version 3.0.

Please use the `celery.task` module instead of `celery.decorators`,
and the `task.request` should be used instead of the magic keyword arguments:

    from celery.task import task

See http://bit.ly/celery22major for more information.


  """))
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 0 object(s) from 0 fixture(s)
Running migrations for profiles:
 - Migrating forwards to 0030_auto__add_field_userprofile_receive_email_on_add_event_comment.
 > profiles:0030_auto__add_field_userprofile_receive_email_on_add_event_comment
 - Loading initial data for profiles.
Installed 50 object(s) from 1 fixture(s)
Running migrations for featuredrep:
- Nothing to migrate.
 - Loading initial data for featuredrep.
Installed 0 object(s) from 0 fixture(s)
Running migrations for remozilla:
- Nothing to migrate.
 - Loading initial data for remozilla.
Installed 1 object(s) from 1 fixture(s)
Running migrations for reports:
- Nothing to migrate.
 - Loading initial data for reports.
Installed 0 object(s) from 0 fixture(s)
Running migrations for events:
 - Migrating forwards to 0010_auto__add_field_event_times_edited.
 > events:0010_auto__add_eventcomment
 > events:0010_auto__add_field_event_times_edited
 - Loading initial data for events.
Installed 0 object(s) from 0 fixture(s)
Running migrations for voting:
 - Migrating forwards to 0004_auto__del_field_poll_eligimate_groups__add_field_poll_valid_groups.
 > voting:0001_initial
 > voting:0002_auto__add_field_pollrange_name
 > voting:0003_auto__chg_field_poll_end__chg_field_poll_start
 > voting:0004_auto__del_field_poll_eligimate_groups__add_field_poll_valid_groups
 - Loading initial data for voting.
Installed 0 object(s) from 0 fixture(s)
Running migrations for tastypie:
- Nothing to migrate.
 - Loading initial data for tastypie.
Installed 0 object(s) from 0 fixture(s)
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Updating product details...'
Updating product details...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ ./manage.py update_product_details
/data/engagement-stage/src/reps.allizom.org/remo/vendor/lib/python/celery/decorators.py:34: CDeprecationWarning:
The `celery.decorators` module along with the magic keyword arguments,
are deprecated, and will be removed in version 3.0.

Please use the `celery.task` module instead of `celery.decorators`,
and the `task.request` should be used instead of the magic keyword arguments:

    from celery.task import task

See http://bit.ly/celery22major for more information.


  """))
Product Details were up to date.
Product Details were up to date.
+ checkretval
+ retval=0
+ [[ 0 -gt 0 ]]
+ echo -e 'Storing revision information...'
Storing revision information...
+ cd /data/engagement-stage/src/reps.allizom.org/remo
+ git rev-parse HEAD
+ generate_revision_info
Deploying code...
[2013-03-19 12:10:58] Running rsync_project
[2013-03-19 12:10:58] [localhost] running: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/engagement-stage/src/reps.allizom.org/ /data/engagement-stage/www/reps.allizom.org/
[2013-03-19 12:11:02] [localhost] finished: /usr/bin/rsync -aq --include '.gitkeep' --exclude '.git*' --exclude '.hg*' --exclude '.svn*' --exclude 'CVS' --exclude '.bzr*' --delete /data/engagement-stage/src/reps.allizom.org/ /data/engagement-stage/www/reps.allizom.org/ (3.730s)
[2013-03-19 12:11:02] Finished rsync_project (3.730s)
[2013-03-19 12:11:02] Running commit_www
[2013-03-19 12:11:02] [localhost] running: cd /data/engagement-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['reps.allizom.org']'
[2013-03-19 12:11:08] [localhost] finished: cd /data/engagement-stage/www && /usr/bin/git add .; /usr/bin/git commit -a -m 'deploy ['reps.allizom.org']' (5.916s)
[localhost] out: [master d1c854c] deploy [reps.allizom.org]
[localhost] out: 73 files changed, 2338 insertions(+), 1913 deletions(-)
[localhost] out: rewrite reps.allizom.org/remo/lib/product_details_json/firefox_beta_builds.json (98%)
[localhost] out: rewrite reps.allizom.org/remo/lib/product_details_json/firefox_primary_builds.json (85%)
[localhost] out: rewrite reps.allizom.org/remo/lib/product_details_json/languages.json (94%)
[localhost] out: rewrite reps.allizom.org/remo/lib/product_details_json/mobile_details.json (84%)
[localhost] out: rewrite reps.allizom.org/remo/lib/product_details_json/thunderbird_primary_builds.json (70%)
[localhost] out: rewrite reps.allizom.org/remo/media/css/remo-min.css (87%)
[localhost] out: delete mode 100644 reps.allizom.org/remo/media/js/libs/tracker.js
[localhost] out: delete mode 100644 reps.allizom.org/remo/media/js/remo/tracker.load.js
[localhost] out: create mode 100644 reps.allizom.org/remo/media/js/remo/voting_list.js
[localhost] out: create mode 100644 reps.allizom.org/remo/media/js/voting_list_votings-all.js
[localhost] out: rewrite reps.allizom.org/remo/media/revision_info.txt (60%)
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/base/templates/includes/google_analytics.html
[localhost] out: rename reps.allizom.org/remo/remo/{events/templates/ical_template.ics => base/templates/multi_event_ical_template.ics} (84%)
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/events/migrations/0010_auto__add_eventcomment.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/events/migrations/0010_auto__add_field_event_times_edited.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/events/templates/email/owner_notification_on_add_comment.txt
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/profiles/migrations/0030_auto__add_field_userprofile_receive_email_on_add_event_comment.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/__init__.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/admin.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/helpers.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/migrations/0001_initial.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/migrations/0002_auto__add_field_pollrange_name.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/migrations/0003_auto__chg_field_poll_end__chg_field_poll_start.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/migrations/0004_auto__del_field_poll_eligimate_groups__add_field_poll_valid_groups.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/migrations/__init__.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/models.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/templates/edit_voting.html
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/templates/list_votings.html
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/templates/view_voting.html
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/tests/__init__.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/v_urls.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/views.py
[localhost] out: create mode 100644 reps.allizom.org/remo/remo/voting/voting_urls.py
[2013-03-19 12:11:08] Finished commit_www (5.917s)
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.