Skip to content

Instantly share code, notes, and snippets.

@aqt01
Created December 14, 2016 15:37
Show Gist options
  • Save aqt01/2243f847635f991aeefbcc2bf41b1eed to your computer and use it in GitHub Desktop.
Save aqt01/2243f847635f991aeefbcc2bf41b1eed to your computer and use it in GitHub Desktop.
full log of
TASK: [edxapp | install python private requirements] **************************
skipping: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx/edx-private.txt)
TASK: [edxapp | install python extra requirements] ****************************
skipping: [127.0.0.1]
TASK: [edxapp | install CAS attribute module] *********************************
skipping: [127.0.0.1]
TASK: [edxapp | install sandbox requirements into regular venv] ***************
skipping: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/base.txt)
skipping: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
skipping: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
TASK: [edxapp | code sandbox | put sandbox apparmor profile in complain mode] ***
changed: [127.0.0.1]
TASK: [edxapp | code sandbox | Install base sandbox requirements and create sandbox virtualenv] ***
ok: [127.0.0.1]
TASK: [edxapp | code sandbox | Install sandbox requirements into sandbox venv] ***
ok: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/local.txt)
ok: [127.0.0.1] => (item=/edx/app/edxapp/edx-platform/requirements/edx-sandbox/post.txt)
TASK: [edxapp | code sandbox | put code sandbox into aa-enforce or aa-complain mode, depending on EDXAPP_SANDBOX_ENFORCE] ***
changed: [127.0.0.1]
TASK: [edxapp | compiling all py files in the edx-platform repo] **************
changed: [127.0.0.1]
TASK: [edxapp | give other read permissions to the virtualenv] ****************
ok: [127.0.0.1]
TASK: [edxapp | create application and auth config] ***************************
changed: [127.0.0.1] => (item=['lms', 'env'])
changed: [127.0.0.1] => (item=['lms', 'auth'])
TASK: [edxapp | create auth and application yaml config] **********************
changed: [127.0.0.1] => (item=['lms', 'env'])
changed: [127.0.0.1] => (item=['lms', 'auth'])
TASK: [edxapp | writing {{ item }} supervisor script] *************************
ok: [127.0.0.1] => (item=lms)
TASK: [edxapp | writing edxapp and celery supervisor scripts] *****************
changed: [127.0.0.1] => (item=edxapp.conf)
ok: [127.0.0.1] => (item=workers.conf)
TASK: [edxapp | add gunicorn configuration files] *****************************
ok: [127.0.0.1] => (item=lms)
TASK: [edxapp | enable {{ item }} supervisor script] **************************
ok: [127.0.0.1] => (item=lms)
TASK: [edxapp | enable edxapp supervisor script] ******************************
ok: [127.0.0.1]
TASK: [edxapp | enable celery worker supervisor script] ***********************
skipping: [127.0.0.1]
TASK: [edxapp | create helper scripts for managing edxapp] ********************
ok: [127.0.0.1] => (item=['edxapp-migrate', 'lms'])
ok: [127.0.0.1] => (item=['edxapp-runserver', 'lms'])
ok: [127.0.0.1] => (item=['edxapp-update-assets', 'lms'])
ok: [127.0.0.1] => (item=['edxapp-shell', 'lms'])
TASK: [edxapp | migrate] ******************************************************
skipping: [127.0.0.1] => (item=lms)
TASK: [edxapp | Remove and recreate the staticfiles directory so nothing stale can exist] ***
changed: [127.0.0.1] => (item=absent)
changed: [127.0.0.1] => (item=directory)
TASK: [edxapp | gather {{ item }} static assets with paver] *******************
failed: [127.0.0.1] => (item=lms) => {"changed": true, "cmd": ["/edx/bin/edxapp-update-assets-lms"], "delta": "0:00:09.415035", "end": "2016-12-14 15:36:21.929165", "item": "lms", "rc": 1, "start": "2016-12-14 15:36:12.514130", "warnings": []}
stderr: 2016-12-14 11:36:21,291 INFO 16933 [dd.dogapi] dog_stats_api.py:66 - Initializing dog api to use statsd: localhost, 8125
Traceback (most recent call last):
File "manage.py", line 112, in <module>
startup.run()
File "/edx/app/edxapp/edx-platform/lms/startup.py", line 87, in run
validate_lms_config(settings)
File "/edx/app/edxapp/edx-platform/common/djangoapps/startup_configurations/validate_config.py", line 10, in validate_lms_config
validate_common_config(settings)
File "/edx/app/edxapp/edx-platform/common/djangoapps/startup_configurations/validate_config.py", line 31, in validate_common_config
raise ValueError("'LMS_ROOT_URL' is not defined.")
ValueError: 'LMS_ROOT_URL' is not defined.
stdout: ---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
NO_PREREQ_INSTALL is set, not installing prereqs
xmodule_assets common/static/xmodule
Finished processing xmodule assets.
mkdir_p path('common/static/common/js/vendor')
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone-validation/dist/backbone-validation-min.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
python manage.py lms --settings=aws compile_sass lms
Captured Task Output:
---------------------
---> pavelib.assets.update_assets
---> pavelib.prereqs.install_node_prereqs
xmodule_assets common/static/xmodule
mkdir_p path('common/static/common/js/vendor')
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone-validation/dist/backbone-validation-min.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/moment-timezone/builds/moment-timezone-with-data.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/moment/min/moment-with-locales.js common/static/common/js/vendor
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
python manage.py lms --settings=aws compile_sass lms
Build failed running pavelib.assets.update_assets: Subprocess return code: 1
PLAY RECAP ********************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment